Class BatchControllerGrpc.BatchControllerImplBase (4.2.0)

public abstract static class BatchControllerGrpc.BatchControllerImplBase implements BindableService

The BatchController provides methods to manage batch workloads.

Inheritance

java.lang.Object > BatchControllerGrpc.BatchControllerImplBase

Implements

io.grpc.BindableService

Constructors

BatchControllerImplBase()

public BatchControllerImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

createBatch(CreateBatchRequest request, StreamObserver<Operation> responseObserver)

public void createBatch(CreateBatchRequest request, StreamObserver<Operation> responseObserver)

Creates a batch workload that executes asynchronously.

Parameters
NameDescription
requestCreateBatchRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteBatch(DeleteBatchRequest request, StreamObserver<Empty> responseObserver)

public void deleteBatch(DeleteBatchRequest request, StreamObserver<Empty> responseObserver)

Deletes the batch workload resource. If the batch is not in terminal state, the delete fails and the response returns FAILED_PRECONDITION.

Parameters
NameDescription
requestDeleteBatchRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getBatch(GetBatchRequest request, StreamObserver<Batch> responseObserver)

public void getBatch(GetBatchRequest request, StreamObserver<Batch> responseObserver)

Gets the batch workload resource representation.

Parameters
NameDescription
requestGetBatchRequest
responseObserverio.grpc.stub.StreamObserver<Batch>

listBatches(ListBatchesRequest request, StreamObserver<ListBatchesResponse> responseObserver)

public void listBatches(ListBatchesRequest request, StreamObserver<ListBatchesResponse> responseObserver)

Lists batch workloads.

Parameters
NameDescription
requestListBatchesRequest
responseObserverio.grpc.stub.StreamObserver<ListBatchesResponse>