Class BatchingCallSettings<RequestT,ResponseT> (2.18.0)

public final class BatchingCallSettings<RequestT,ResponseT> extends UnaryCallSettings<RequestT,ResponseT>

A settings class to configure a UnaryCallable for calls to an API method that supports batching. The settings are provided using an instance of BatchingSettings.

Inheritance

java.lang.Object > UnaryCallSettings > BatchingCallSettings<RequestT,ResponseT>

Type Parameters

NameDescription
RequestT
ResponseT

Static Methods

<RequestT,ResponseT>newBuilder(BatchingDescriptor<RequestT,ResponseT> batchingDescriptor)

public static BatchingCallSettings.Builder<RequestT,ResponseT> <RequestT,ResponseT>newBuilder(BatchingDescriptor<RequestT,ResponseT> batchingDescriptor)
Parameter
NameDescription
batchingDescriptorBatchingDescriptor<RequestT,ResponseT>
Returns
TypeDescription
Builder<RequestT,ResponseT>

Methods

getBatchingDescriptor()

public BatchingDescriptor<RequestT,ResponseT> getBatchingDescriptor()
Returns
TypeDescription
BatchingDescriptor<RequestT,ResponseT>

getBatchingSettings()

public BatchingSettings getBatchingSettings()
Returns
TypeDescription
BatchingSettings

getFlowController()

public FlowController getFlowController()
Returns
TypeDescription
FlowController

toBuilder()

public final BatchingCallSettings.Builder<RequestT,ResponseT> toBuilder()
Returns
TypeDescription
Builder<RequestT,ResponseT>
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides