Companion
Types
Stub ProtoAdapter for Wire types which are typeliased to java.time types on the JVM such as Duration and Instant. This proto adapter is used when the corresponding java.time type is missing from the JVM classpath.
Properties
Like INT64, but negative longs are interpreted as large positive values, and encoded that way in JSON.
Like INT64, but negative longs are interpreted as large positive values, and encoded that way in JSON.
Like INT64, but negative longs are interpreted as large positive values, and encoded that way in JSON.
Functions
Returns the adapter for the type of Message.
Returns the adapter for type.
Returns the adapter for a given adapterString. adapterString is specified on a proto message field's WireField annotation in the form com.squareup.wire.protos.person.Person#ADAPTER.
Returns the adapter for a given adapterString, using classLoader. adapterString is specified on a proto message field's WireField annotation in the form com.squareup.wire.protos.person.Person#ADAPTER.
Creates a new proto adapter for type.
Creates a new proto adapter for a map using keyAdapter and valueAdapter.
Creates a new proto adapter for a map using keyAdapter and valueAdapter.
Creates a new proto adapter for a map using keyAdapter and valueAdapter.
Creates a new proto adapter for type.