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

  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

Name Description
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
Type Description
Builder < RequestT , ResponseT , MetadataT >

getInitialCallSettings()

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

getMetadataTransformer()

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

getPollingAlgorithm()

  public 
  
 final 
  
 TimedRetryAlgorithm 
  
 getPollingAlgorithm 
 () 
 
Returns
Type Description
TimedRetryAlgorithm

getResponseTransformer()

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

toBuilder()

  public 
  
 final 
  
 OperationCallSettings 
 . 
 Builder<RequestT 
 , 
 ResponseT 
 , 
 MetadataT 
>  
 toBuilder 
 () 
 
Returns
Type Description
Builder < RequestT , ResponseT , MetadataT >
Create a Mobile Website
View Site in Mobile | Classic
Share by: