Class ProtoMessageResponseParser.Builder<ResponseT> (2.9.0)

public static class ProtoMessageResponseParser.Builder<ResponseT>

Inheritance

java.lang.Object > ProtoMessageResponseParser.Builder<ResponseT>

Type Parameter

NameDescription
ResponseT

Constructors

Builder()

public Builder()

Methods

build()

public ProtoMessageResponseParser<ResponseT> build()
Returns
TypeDescription
ProtoMessageResponseParser<ResponseT>

setDefaultInstance(ResponseT defaultInstance)

public ProtoMessageResponseParser.Builder<ResponseT> setDefaultInstance(ResponseT defaultInstance)
Parameter
NameDescription
defaultInstanceResponseT
Returns
TypeDescription
Builder<ResponseT>

setDefaultTypeRegistry(TypeRegistry defaultRegistry)

public ProtoMessageResponseParser.Builder<ResponseT> setDefaultTypeRegistry(TypeRegistry defaultRegistry)
Parameter
NameDescription
defaultRegistrycom.google.protobuf.TypeRegistry
Returns
TypeDescription
Builder<ResponseT>