Class BatchControllerGrpc.BatchControllerFutureStub

  • Enclosing class:
    BatchControllerGrpc

    public static final class BatchControllerGrpc.BatchControllerFutureStub
    extends io.grpc.stub.AbstractFutureStub<BatchControllerGrpc.BatchControllerFutureStub>
    A stub to allow clients to do ListenableFuture-style rpc calls to service BatchController.
     The BatchController provides methods to manage batch workloads.
     
    • Nested Class Summary

      • Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub

        io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
    • Method Detail

      • createBatch

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createBatch​(CreateBatchRequest request)
         Creates a batch workload that executes asynchronously.
         
      • getBatch

        public com.google.common.util.concurrent.ListenableFuture<Batch> getBatch​(GetBatchRequest request)
         Gets the batch workload resource representation.
         
      • deleteBatch

        public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteBatch​(DeleteBatchRequest request)
         Deletes the batch workload resource. If the batch is not in terminal state,
         the delete fails and the response returns `FAILED_PRECONDITION`.