Class GrpcBatchControllerStub
java.lang.Object
com.google.cloud.dataproc.v1.stub.BatchControllerStub
com.google.cloud.dataproc.v1.stub.GrpcBatchControllerStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcBatchControllerStub
extends BatchControllerStub
gRPC stub implementation for the BatchController service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcBatchControllerStub(BatchControllerStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcBatchControllerStub, using the given settings.protectedGrpcBatchControllerStub(BatchControllerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcBatchControllerStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcBatchControllerStubcreate(ClientContext clientContext) static final GrpcBatchControllerStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcBatchControllerStubcreate(BatchControllerStubSettings settings) UnaryCallable<DeleteBatchRequest,com.google.protobuf.Empty> booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.dataproc.v1.stub.BatchControllerStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcBatchControllerStub
protected GrpcBatchControllerStub(BatchControllerStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcBatchControllerStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
GrpcBatchControllerStub
protected GrpcBatchControllerStub(BatchControllerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcBatchControllerStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcBatchControllerStub create(BatchControllerStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcBatchControllerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classBatchControllerStub
-
createBatchCallable
- Overrides:
createBatchCallablein classBatchControllerStub
-
createBatchOperationCallable
public OperationCallable<CreateBatchRequest,Batch, createBatchOperationCallable()BatchOperationMetadata> - Overrides:
createBatchOperationCallablein classBatchControllerStub
-
getBatchCallable
- Overrides:
getBatchCallablein classBatchControllerStub
-
listBatchesCallable
- Overrides:
listBatchesCallablein classBatchControllerStub
-
listBatchesPagedCallable
public UnaryCallable<ListBatchesRequest,BatchControllerClient.ListBatchesPagedResponse> listBatchesPagedCallable()- Overrides:
listBatchesPagedCallablein classBatchControllerStub
-
deleteBatchCallable
- Overrides:
deleteBatchCallablein classBatchControllerStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classBatchControllerStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classBatchControllerStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classBatchControllerStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classBatchControllerStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-