public abstract static class BatchControllerGrpc.BatchControllerImplBase extends Object implements BindableService
The BatchController provides methods to manage batch workloads.
Constructor and Description |
---|
BatchControllerImplBase() |
Modifier and Type | Method and Description |
---|---|
ServerServiceDefinition |
bindService() |
void |
createBatch(CreateBatchRequest request,
StreamObserver<Operation> responseObserver)
Creates a batch workload that executes asynchronously.
|
void |
deleteBatch(DeleteBatchRequest request,
StreamObserver<Empty> responseObserver)
Deletes the batch workload resource.
|
void |
getBatch(GetBatchRequest request,
StreamObserver<Batch> responseObserver)
Gets the batch workload resource representation.
|
void |
listBatches(ListBatchesRequest request,
StreamObserver<ListBatchesResponse> responseObserver)
Lists batch workloads.
|
public void createBatch(CreateBatchRequest request, StreamObserver<Operation> responseObserver)
Creates a batch workload that executes asynchronously.
public void getBatch(GetBatchRequest request, StreamObserver<Batch> responseObserver)
Gets the batch workload resource representation.
public void listBatches(ListBatchesRequest request, StreamObserver<ListBatchesResponse> responseObserver)
Lists batch workloads.
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`.
public final ServerServiceDefinition bindService()
bindService
in interface BindableService
Copyright © 2022 Google LLC. All rights reserved.