Class OperationsStub
- java.lang.Object
-
- com.google.api.gax.httpjson.longrunning.stub.OperationsStub
-
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
- Direct Known Subclasses:
HttpJsonOperationsStub
public abstract class OperationsStub extends Object implements BackgroundResource
Base stub class for the Operations service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Constructor Description OperationsStub()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description UnaryCallable<CancelOperationRequest,com.google.protobuf.Empty>cancelOperationCallable()abstract voidclose()UnaryCallable<DeleteOperationRequest,com.google.protobuf.Empty>deleteOperationCallable()UnaryCallable<GetOperationRequest,Operation>getOperationCallable()UnaryCallable<ListOperationsRequest,ListOperationsResponse>listOperationsCallable()UnaryCallable<ListOperationsRequest,OperationsClient.ListOperationsPagedResponse>listOperationsPagedCallable()LongRunningClientlongRunningClient()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.google.api.gax.core.BackgroundResource
awaitTermination, isShutdown, isTerminated, shutdown, shutdownNow
-
-
-
-
Method Detail
-
listOperationsPagedCallable
public UnaryCallable<ListOperationsRequest,OperationsClient.ListOperationsPagedResponse> listOperationsPagedCallable()
-
listOperationsCallable
public UnaryCallable<ListOperationsRequest,ListOperationsResponse> listOperationsCallable()
-
getOperationCallable
public UnaryCallable<GetOperationRequest,Operation> getOperationCallable()
-
deleteOperationCallable
public UnaryCallable<DeleteOperationRequest,com.google.protobuf.Empty> deleteOperationCallable()
-
cancelOperationCallable
public UnaryCallable<CancelOperationRequest,com.google.protobuf.Empty> cancelOperationCallable()
-
longRunningClient
public LongRunningClient longRunningClient()
-
close
public abstract void close()
- Specified by:
closein interfaceAutoCloseable
-
-