ProtoAdapter < Object > function ( String arg0 , boolean arg1 ) { Type loc0 = getType ( arg0 ) ; if ( loc0 == null ) throw new IllegalArgumentException ( "srini_string" + arg0 ) ; return new SchemaProtoAdapterFactory ( this , arg1 ) . get ( loc0 . loc0 ( ) ) ; }
returns a wire adapter for the message or enum type named typename . the returned type adapter does n't have model classes to encode and decode from , so instead it uses scalar types @linkplain string , @linkplain okio.bytestring bytestring , @linkplain integer , etc. , @linkplain map maps , and @linkplain java.util.list lists . it can both encode and decode these objects . map keys are field names . concode_field_sep ImmutableMap<String,Service> servicesIndex concode_elem_sep Ordering<ProtoFile> PATH_ORDER concode_elem_sep ImmutableMap<String,Type> typesIndex concode_elem_sep ImmutableList<ProtoFile> protoFiles concode_field_sep ImmutableMap<String,Service> buildServicesIndex concode_elem_sep int compare concode_elem_sep Schema prune concode_elem_sep Type getType concode_elem_sep Type getType concode_elem_sep ImmutableMap<String,Type> buildTypesIndex concode_elem_sep Field getField concode_elem_sep void index concode_elem_sep ImmutableList<ProtoFile> protoFiles concode_elem_sep ProtoFile protoFile concode_elem_sep Service getService concode_elem_sep Service getService