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.
Type Parameters
Name
Description
RequestT
ResponseT
MetadataT
Static 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.
Methods
getInitialCallSettings()
public
final
UnaryCallSettings<RequestT
,
OperationSnapshot
>
getInitialCallSettings
()
getMetadataTransformer()
public
final
ApiFunction<OperationSnapshot
,
MetadataT
>
getMetadataTransformer
()
getPollingAlgorithm()
public
final
TimedRetryAlgorithm
getPollingAlgorithm
()
getResponseTransformer()
public
final
ApiFunction<OperationSnapshot
,
ResponseT
>
getResponseTransformer
()
toBuilder()
public
final
OperationCallSettings
.
Builder<RequestT
,
ResponseT
,
MetadataT
>
toBuilder
()

