public static < M extends Message > ProtobufConverter < M > newInstance ( Class < M > protoClass ) { return new ProtobufConverter < M > ( new TypeRef < M > ( protoClass ) { } ) ; }
Returns a ProtobufConverter for a given Protobuf class .