Class GrpcCallSettings.Builder<RequestT,ResponseT> (2.23.0)

public static class GrpcCallSettings.Builder<RequestT,ResponseT>

Inheritance

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

Type Parameters

NameDescription
RequestT
ResponseT

Methods

build()

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

setMethodDescriptor(MethodDescriptor<RequestT,ResponseT> methodDescriptor)

public GrpcCallSettings.Builder<RequestT,ResponseT> setMethodDescriptor(MethodDescriptor<RequestT,ResponseT> methodDescriptor)
Parameter
NameDescription
methodDescriptorio.grpc.MethodDescriptor<RequestT,ResponseT>
Returns
TypeDescription
Builder<RequestT,ResponseT>

setParamsExtractor(RequestParamsExtractor<RequestT> paramsExtractor)

public GrpcCallSettings.Builder<RequestT,ResponseT> setParamsExtractor(RequestParamsExtractor<RequestT> paramsExtractor)
Parameter
NameDescription
paramsExtractorRequestParamsExtractor<RequestT>
Returns
TypeDescription
Builder<RequestT,ResponseT>

setShouldAwaitTrailers(boolean b)

public GrpcCallSettings.Builder<RequestT,ResponseT> setShouldAwaitTrailers(boolean b)
Parameter
NameDescription
bboolean
Returns
TypeDescription
Builder<RequestT,ResponseT>