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