Package com.google.longrunning.stub
Class OperationsStub
java.lang.Object
com.google.longrunning.stub.OperationsStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
- Direct Known Subclasses:
GrpcOperationsStub
Base stub class for Google Long Running Operations API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionUnaryCallable<CancelOperationRequest,com.google.protobuf.Empty> abstract voidclose()UnaryCallable<DeleteOperationRequest,com.google.protobuf.Empty> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.api.gax.core.BackgroundResource
awaitTermination, isShutdown, isTerminated, shutdown, shutdownNow
-
Constructor Details
-
OperationsStub
public OperationsStub()
-
-
Method Details
-
getOperationCallable
-
listOperationsPagedCallable
public UnaryCallable<ListOperationsRequest,OperationsClient.ListOperationsPagedResponse> listOperationsPagedCallable() -
listOperationsCallable
-
cancelOperationCallable
-
deleteOperationCallable
-
waitOperationCallable
-
close
public abstract void close()- Specified by:
closein interfaceAutoCloseable
-