public static final class BatchControllerGrpc.BatchControllerStub extends AbstractAsyncStub<BatchControllerGrpc.BatchControllerStub>
The BatchController provides methods to manage batch workloads.
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected BatchControllerGrpc.BatchControllerStub |
build(Channel channel,
CallOptions callOptions) |
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.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected BatchControllerGrpc.BatchControllerStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<BatchControllerGrpc.BatchControllerStub>
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`.
Copyright © 2022 Google LLC. All rights reserved.