Class OperationCallSettings<RequestT,ResponseT,MetadataT> (2.9.0)

public final class OperationCallSettings<RequestT,ResponseT,MetadataT>

A settings class to configure an OperationCallable for calls to initiate, resume, and cancel a long-running operation.

Inheritance

java.lang.Object > OperationCallSettings<RequestT,ResponseT,MetadataT>

Type Parameters

NameDescription
RequestT
ResponseT
MetadataT

Methods

<RequestT,ResponseT,MetadataT>newBuilder()

public static OperationCallSettings.Builder<RequestT,ResponseT,MetadataT> <RequestT,ResponseT,MetadataT>newBuilder()

Create a new builder which can construct an instance of OperationCallSettings.

Returns
TypeDescription
Builder<RequestT,ResponseT,MetadataT>

getInitialCallSettings()

public final UnaryCallSettings<RequestT,OperationSnapshot> getInitialCallSettings()
Returns
TypeDescription
UnaryCallSettings<RequestT,OperationSnapshot>

getMetadataTransformer()

public final ApiFunction<OperationSnapshot,MetadataT> getMetadataTransformer()
Returns
TypeDescription
com.google.api.core.ApiFunction<OperationSnapshot,MetadataT>

getPollingAlgorithm()

public final TimedRetryAlgorithm getPollingAlgorithm()
Returns
TypeDescription
TimedRetryAlgorithm

getResponseTransformer()

public final ApiFunction<OperationSnapshot,ResponseT> getResponseTransformer()
Returns
TypeDescription
com.google.api.core.ApiFunction<OperationSnapshot,ResponseT>

toBuilder()

public final OperationCallSettings.Builder<RequestT,ResponseT,MetadataT> toBuilder()
Returns
TypeDescription
Builder<RequestT,ResponseT,MetadataT>