Class HttpJsonCallSettings.Builder<RequestT,ResponseT> (2.11.0)

public static class HttpJsonCallSettings.Builder<RequestT,ResponseT>

Inheritance

java.lang.Object > HttpJsonCallSettings.Builder<RequestT,ResponseT>

Type Parameters

NameDescription
RequestT
ResponseT

Methods

build()

public HttpJsonCallSettings<RequestT,ResponseT> build()
Returns
TypeDescription
HttpJsonCallSettings<RequestT,ResponseT>

setMethodDescriptor(ApiMethodDescriptor<RequestT,ResponseT> methodDescriptor)

public HttpJsonCallSettings.Builder<RequestT,ResponseT> setMethodDescriptor(ApiMethodDescriptor<RequestT,ResponseT> methodDescriptor)
Parameter
NameDescription
methodDescriptorApiMethodDescriptor<RequestT,ResponseT>
Returns
TypeDescription
Builder<RequestT,ResponseT>

setTypeRegistry(TypeRegistry typeRegistry)

public HttpJsonCallSettings.Builder<RequestT,ResponseT> setTypeRegistry(TypeRegistry typeRegistry)
Parameter
NameDescription
typeRegistrycom.google.protobuf.TypeRegistry
Returns
TypeDescription
Builder<RequestT,ResponseT>