Class BatchingCallSettings<RequestT,ResponseT> (2.48.1)

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

Name Description
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
Name Description
batchingDescriptor BatchingDescriptor<RequestT,ResponseT>
Returns
Type Description
Builder<RequestT,ResponseT>

Methods

getBatchingDescriptor()

public BatchingDescriptor<RequestT,ResponseT> getBatchingDescriptor()
Returns
Type Description
BatchingDescriptor<RequestT,ResponseT>

getBatchingSettings()

public BatchingSettings getBatchingSettings()
Returns
Type Description
BatchingSettings

getFlowController()

public FlowController getFlowController()
Returns
Type Description
FlowController

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides