Package com.google.api.gax.httpjson
Class HttpJsonLongRunningClient<RequestT,OperationT>
- java.lang.Object
-
- com.google.api.gax.httpjson.HttpJsonLongRunningClient<RequestT,OperationT>
-
- All Implemented Interfaces:
com.google.api.gax.rpc.LongRunningClient
@InternalApi public class HttpJsonLongRunningClient<RequestT,OperationT> extends Object implements com.google.api.gax.rpc.LongRunningClient
Implementation of LongRunningClient based on REST transport.Public for technical reasons. For internal use only.
-
-
Constructor Summary
Constructors Constructor Description HttpJsonLongRunningClient(com.google.api.gax.rpc.UnaryCallable<RequestT,OperationT> operationCallable, OperationSnapshotFactory<RequestT,OperationT> operationSnapshotFactory, PollingRequestFactory<RequestT> pollingRequestFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.UnaryCallable<String,Void>cancelOperationCallable()com.google.api.gax.rpc.UnaryCallable<String,Void>deleteOperationCallable()com.google.api.gax.rpc.UnaryCallable<String,com.google.api.gax.longrunning.OperationSnapshot>getOperationCallable()
-
-
-
Constructor Detail
-
HttpJsonLongRunningClient
public HttpJsonLongRunningClient(com.google.api.gax.rpc.UnaryCallable<RequestT,OperationT> operationCallable, OperationSnapshotFactory<RequestT,OperationT> operationSnapshotFactory, PollingRequestFactory<RequestT> pollingRequestFactory)
-
-
Method Detail
-
getOperationCallable
public com.google.api.gax.rpc.UnaryCallable<String,com.google.api.gax.longrunning.OperationSnapshot> getOperationCallable()
- Specified by:
getOperationCallablein interfacecom.google.api.gax.rpc.LongRunningClient
-
cancelOperationCallable
public com.google.api.gax.rpc.UnaryCallable<String,Void> cancelOperationCallable()
- Specified by:
cancelOperationCallablein interfacecom.google.api.gax.rpc.LongRunningClient
-
-