open static fun <M : Message<Message<*, *>, Builder<*, *>>> get(message: M): ProtoAdapter<M>
Returns the adapter for the type of Message.
open static fun <M : Any> get(type: Class<M>): ProtoAdapter<M>
Returns the adapter for type.
open static fun get(adapterString: String): ProtoAdapter<*>
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.