Package com.google.cloud.dataproc.v1
Class BatchControllerGrpc.BatchControllerStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<BatchControllerGrpc.BatchControllerStub>
-
- com.google.cloud.dataproc.v1.BatchControllerGrpc.BatchControllerStub
-
- Enclosing class:
- BatchControllerGrpc
public static final class BatchControllerGrpc.BatchControllerStub extends io.grpc.stub.AbstractAsyncStub<BatchControllerGrpc.BatchControllerStub>
A stub to allow clients to do asynchronous 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.BatchControllerStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
createBatch(CreateBatchRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a batch workload that executes asynchronously.void
deleteBatch(DeleteBatchRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the batch workload resource.void
getBatch(GetBatchRequest request, io.grpc.stub.StreamObserver<Batch> responseObserver)
Gets the batch workload resource representation.void
listBatches(ListBatchesRequest request, io.grpc.stub.StreamObserver<ListBatchesResponse> responseObserver)
Lists batch workloads.
-
-
-
Method Detail
-
build
protected BatchControllerGrpc.BatchControllerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<BatchControllerGrpc.BatchControllerStub>
-
createBatch
public void createBatch(CreateBatchRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a batch workload that executes asynchronously.
-
getBatch
public void getBatch(GetBatchRequest request, io.grpc.stub.StreamObserver<Batch> responseObserver)
Gets the batch workload resource representation.
-
listBatches
public void listBatches(ListBatchesRequest request, io.grpc.stub.StreamObserver<ListBatchesResponse> responseObserver)
Lists batch workloads.
-
deleteBatch
public void deleteBatch(DeleteBatchRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the batch workload resource. If the batch is not in terminal state, the delete fails and the response returns `FAILED_PRECONDITION`.
-
-