Class 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 Detail

      • OperationsStub

        public OperationsStub()
    • Method Detail

      • getOperationCallable

        public UnaryCallable<com.google.longrunning.GetOperationRequest,​com.google.longrunning.Operation> getOperationCallable()
      • 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 interface java.lang.AutoCloseable