Class BatchControllerGrpc.BatchControllerStub

  • Enclosing class:
    BatchControllerGrpc

    public static final class BatchControllerGrpc.BatchControllerStub
    extends io.grpc.stub.AbstractAsyncStub<BatchControllerGrpc.BatchControllerStub>
    A stub to allow clients to do asynchronous 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 void createBatch​(CreateBatchRequest request,
                                io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Creates a batch workload that executes asynchronously.
         
      • getBatch

        public void getBatch​(GetBatchRequest request,
                             io.grpc.stub.StreamObserver<Batch> responseObserver)
         Gets the batch workload resource representation.
         
      • deleteBatch

        public void deleteBatch​(DeleteBatchRequest request,
                                io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Deletes the batch workload resource. If the batch is not in terminal state,
         the delete fails and the response returns `FAILED_PRECONDITION`.