Package com.google.longrunning.stub
Class OperationsStub
- java.lang.Object
-
- com.google.longrunning.stub.OperationsStub
-
- All Implemented Interfaces:
BackgroundResource
,java.lang.AutoCloseable
- Direct Known Subclasses:
GrpcOperationsStub
public abstract class OperationsStub extends java.lang.Object implements BackgroundResource
Base stub class for Google Long Running Operations 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<com.google.longrunning.CancelOperationRequest,com.google.protobuf.Empty>
cancelOperationCallable()
abstract void
close()
UnaryCallable<com.google.longrunning.DeleteOperationRequest,com.google.protobuf.Empty>
deleteOperationCallable()
UnaryCallable<com.google.longrunning.GetOperationRequest,com.google.longrunning.Operation>
getOperationCallable()
UnaryCallable<com.google.longrunning.ListOperationsRequest,com.google.longrunning.ListOperationsResponse>
listOperationsCallable()
UnaryCallable<com.google.longrunning.ListOperationsRequest,OperationsClient.ListOperationsPagedResponse>
listOperationsPagedCallable()
UnaryCallable<com.google.longrunning.WaitOperationRequest,com.google.longrunning.Operation>
waitOperationCallable()
-
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
-
getOperationCallable
public UnaryCallable<com.google.longrunning.GetOperationRequest,com.google.longrunning.Operation> getOperationCallable()
-
listOperationsPagedCallable
public UnaryCallable<com.google.longrunning.ListOperationsRequest,OperationsClient.ListOperationsPagedResponse> listOperationsPagedCallable()
-
listOperationsCallable
public UnaryCallable<com.google.longrunning.ListOperationsRequest,com.google.longrunning.ListOperationsResponse> listOperationsCallable()
-
cancelOperationCallable
public UnaryCallable<com.google.longrunning.CancelOperationRequest,com.google.protobuf.Empty> cancelOperationCallable()
-
deleteOperationCallable
public UnaryCallable<com.google.longrunning.DeleteOperationRequest,com.google.protobuf.Empty> deleteOperationCallable()
-
waitOperationCallable
public UnaryCallable<com.google.longrunning.WaitOperationRequest,com.google.longrunning.Operation> waitOperationCallable()
-
close
public abstract void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
-