Package com.google.api.gax.rpc
Class OperationCallSettings.Builder<RequestT,ResponseT,MetadataT>
java.lang.Object
com.google.api.gax.rpc.OperationCallSettings.Builder<RequestT,ResponseT,MetadataT>
- Enclosing class:
- OperationCallSettings<RequestT,
ResponseT, MetadataT>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Get the call settings which are used on the call to initiate the operation.Get the polling algorithm of the operation.setInitialCallSettings(UnaryCallSettings<RequestT, OperationSnapshot> initialCallSettings) Set the call settings which are used on the call to initiate the operation.setMetadataTransformer(ApiFunction<OperationSnapshot, MetadataT> metadataTransformer) setPollingAlgorithm(TimedRetryAlgorithm pollingAlgorithm) Set the polling algorithm of the operation.setResponseTransformer(ApiFunction<OperationSnapshot, ResponseT> responseTransformer)
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
setPollingAlgorithm
public OperationCallSettings.Builder<RequestT,ResponseT, setPollingAlgorithmMetadataT> (TimedRetryAlgorithm pollingAlgorithm) Set the polling algorithm of the operation. -
getPollingAlgorithm
Get the polling algorithm of the operation. -
setInitialCallSettings
public OperationCallSettings.Builder<RequestT,ResponseT, setInitialCallSettingsMetadataT> (UnaryCallSettings<RequestT, OperationSnapshot> initialCallSettings) Set the call settings which are used on the call to initiate the operation. -
getInitialCallSettings
Get the call settings which are used on the call to initiate the operation. -
getResponseTransformer
-
setResponseTransformer
public OperationCallSettings.Builder<RequestT,ResponseT, setResponseTransformerMetadataT> (ApiFunction<OperationSnapshot, ResponseT> responseTransformer) -
getMetadataTransformer
-
setMetadataTransformer
public OperationCallSettings.Builder<RequestT,ResponseT, setMetadataTransformerMetadataT> (ApiFunction<OperationSnapshot, MetadataT> metadataTransformer) -
build
-