public static final class BatchControllerGrpc.BatchControllerBlockingStub extends AbstractBlockingStub<BatchControllerGrpc.BatchControllerBlockingStub>
The BatchController provides methods to manage batch workloads.
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected BatchControllerGrpc.BatchControllerBlockingStub |
build(Channel channel,
CallOptions callOptions) |
Operation |
createBatch(CreateBatchRequest request)
Creates a batch workload that executes asynchronously.
|
Empty |
deleteBatch(DeleteBatchRequest request)
Deletes the batch workload resource.
|
Batch |
getBatch(GetBatchRequest request)
Gets the batch workload resource representation.
|
ListBatchesResponse |
listBatches(ListBatchesRequest request)
Lists batch workloads.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected BatchControllerGrpc.BatchControllerBlockingStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<BatchControllerGrpc.BatchControllerBlockingStub>
public Operation createBatch(CreateBatchRequest request)
Creates a batch workload that executes asynchronously.
public Batch getBatch(GetBatchRequest request)
Gets the batch workload resource representation.
public ListBatchesResponse listBatches(ListBatchesRequest request)
Lists batch workloads.
public 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`.
Copyright © 2022 Google LLC. All rights reserved.