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

public static class GrpcCallSettings.Builder<RequestT,ResponseT>

Inheritance

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

Type Parameters

Name Description
RequestT
ResponseT

Methods

build()

public GrpcCallSettings<RequestT,ResponseT> build()
Returns
Type Description
GrpcCallSettings<RequestT,ResponseT>

setMethodDescriptor(MethodDescriptor<RequestT,ResponseT> methodDescriptor)

public GrpcCallSettings.Builder<RequestT,ResponseT> setMethodDescriptor(MethodDescriptor<RequestT,ResponseT> methodDescriptor)
Parameter
Name Description
methodDescriptor io.grpc.MethodDescriptor<RequestT,ResponseT>
Returns
Type Description
Builder<RequestT,ResponseT>

setParamsExtractor(RequestParamsExtractor<RequestT> paramsExtractor)

public GrpcCallSettings.Builder<RequestT,ResponseT> setParamsExtractor(RequestParamsExtractor<RequestT> paramsExtractor)
Parameter
Name Description
paramsExtractor RequestParamsExtractor<RequestT>
Returns
Type Description
Builder<RequestT,ResponseT>

setRequestMutator(RequestMutator<RequestT> requestMutator)

public GrpcCallSettings.Builder<RequestT,ResponseT> setRequestMutator(RequestMutator<RequestT> requestMutator)
Parameter
Name Description
requestMutator RequestMutator<RequestT>
Returns
Type Description
Builder<RequestT,ResponseT>

setShouldAwaitTrailers(boolean b)

public GrpcCallSettings.Builder<RequestT,ResponseT> setShouldAwaitTrailers(boolean b)
Parameter
Name Description
b boolean
Returns
Type Description
Builder<RequestT,ResponseT>