Class ProtoMessageResponseParser.Builder<ResponseT> (2.20.0)

Stay organized with collections Save and categorize content based on your preferences.
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>