Package com.google.cloud.dataproc.v1
Class BatchControllerGrpc.BatchControllerFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<BatchControllerGrpc.BatchControllerFutureStub>
-
- com.google.cloud.dataproc.v1.BatchControllerGrpc.BatchControllerFutureStub
-
- Enclosing class:
- BatchControllerGrpc
public static final class BatchControllerGrpc.BatchControllerFutureStub extends io.grpc.stub.AbstractFutureStub<BatchControllerGrpc.BatchControllerFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service BatchController.The BatchController provides methods to manage batch workloads.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BatchControllerGrpc.BatchControllerFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
createBatch(CreateBatchRequest request)
Creates a batch workload that executes asynchronously.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.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.
-
-
-
Method Detail
-
build
protected BatchControllerGrpc.BatchControllerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<BatchControllerGrpc.BatchControllerFutureStub>
-
createBatch
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createBatch(CreateBatchRequest request)
Creates a batch workload that executes asynchronously.
-
getBatch
public com.google.common.util.concurrent.ListenableFuture<Batch> getBatch(GetBatchRequest request)
Gets the batch workload resource representation.
-
listBatches
public com.google.common.util.concurrent.ListenableFuture<ListBatchesResponse> listBatches(ListBatchesRequest request)
Lists batch workloads.
-
deleteBatch
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.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`.
-
-