Package com.google.api.gax.rpc
Class OperationCallSettings<RequestT,ResponseT,MetadataT>
- java.lang.Object
-
- com.google.api.gax.rpc.OperationCallSettings<RequestT,ResponseT,MetadataT>
-
public final class OperationCallSettings<RequestT,ResponseT,MetadataT> extends java.lang.Object
A settings class to configure anOperationCallable
for calls to initiate, resume, and cancel a long-running operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OperationCallSettings.Builder<RequestT,ResponseT,MetadataT>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UnaryCallSettings<RequestT,OperationSnapshot>
getInitialCallSettings()
com.google.api.core.ApiFunction<OperationSnapshot,MetadataT>
getMetadataTransformer()
TimedRetryAlgorithm
getPollingAlgorithm()
com.google.api.core.ApiFunction<OperationSnapshot,ResponseT>
getResponseTransformer()
static <RequestT,ResponseT,MetadataT>
OperationCallSettings.Builder<RequestT,ResponseT,MetadataT>newBuilder()
Create a new builder which can construct an instance of OperationCallSettings.OperationCallSettings.Builder<RequestT,ResponseT,MetadataT>
toBuilder()
-
-
-
Method Detail
-
getInitialCallSettings
public final UnaryCallSettings<RequestT,OperationSnapshot> getInitialCallSettings()
-
getPollingAlgorithm
public final TimedRetryAlgorithm getPollingAlgorithm()
-
getResponseTransformer
public final com.google.api.core.ApiFunction<OperationSnapshot,ResponseT> getResponseTransformer()
-
getMetadataTransformer
public final com.google.api.core.ApiFunction<OperationSnapshot,MetadataT> getMetadataTransformer()
-
newBuilder
public static <RequestT,ResponseT,MetadataT> OperationCallSettings.Builder<RequestT,ResponseT,MetadataT> newBuilder()
Create a new builder which can construct an instance of OperationCallSettings.
-
toBuilder
public final OperationCallSettings.Builder<RequestT,ResponseT,MetadataT> toBuilder()
-
-