Class GrpcClusterControllerStub
java.lang.Object
com.google.cloud.dataproc.v1.stub.ClusterControllerStub
com.google.cloud.dataproc.v1.stub.GrpcClusterControllerStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcClusterControllerStub
extends ClusterControllerStub
gRPC stub implementation for the ClusterController service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcClusterControllerStub(ClusterControllerStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcClusterControllerStub, using the given settings.protectedGrpcClusterControllerStub(ClusterControllerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcClusterControllerStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcClusterControllerStubcreate(ClientContext clientContext) static final GrpcClusterControllerStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcClusterControllerStubcreate(ClusterControllerStubSettings settings) OperationCallable<DeleteClusterRequest,com.google.protobuf.Empty, ClusterOperationMetadata> booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.dataproc.v1.stub.ClusterControllerStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcClusterControllerStub
protected GrpcClusterControllerStub(ClusterControllerStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcClusterControllerStub, 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
-
GrpcClusterControllerStub
protected GrpcClusterControllerStub(ClusterControllerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcClusterControllerStub, 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 GrpcClusterControllerStub create(ClusterControllerStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcClusterControllerStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcClusterControllerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classClusterControllerStub
-
createClusterCallable
- Overrides:
createClusterCallablein classClusterControllerStub
-
createClusterOperationCallable
public OperationCallable<CreateClusterRequest,Cluster, createClusterOperationCallable()ClusterOperationMetadata> - Overrides:
createClusterOperationCallablein classClusterControllerStub
-
updateClusterCallable
- Overrides:
updateClusterCallablein classClusterControllerStub
-
updateClusterOperationCallable
public OperationCallable<UpdateClusterRequest,Cluster, updateClusterOperationCallable()ClusterOperationMetadata> - Overrides:
updateClusterOperationCallablein classClusterControllerStub
-
stopClusterCallable
- Overrides:
stopClusterCallablein classClusterControllerStub
-
stopClusterOperationCallable
public OperationCallable<StopClusterRequest,Cluster, stopClusterOperationCallable()ClusterOperationMetadata> - Overrides:
stopClusterOperationCallablein classClusterControllerStub
-
startClusterCallable
- Overrides:
startClusterCallablein classClusterControllerStub
-
startClusterOperationCallable
public OperationCallable<StartClusterRequest,Cluster, startClusterOperationCallable()ClusterOperationMetadata> - Overrides:
startClusterOperationCallablein classClusterControllerStub
-
deleteClusterCallable
- Overrides:
deleteClusterCallablein classClusterControllerStub
-
deleteClusterOperationCallable
public OperationCallable<DeleteClusterRequest,com.google.protobuf.Empty, deleteClusterOperationCallable()ClusterOperationMetadata> - Overrides:
deleteClusterOperationCallablein classClusterControllerStub
-
getClusterCallable
- Overrides:
getClusterCallablein classClusterControllerStub
-
listClustersCallable
- Overrides:
listClustersCallablein classClusterControllerStub
-
listClustersPagedCallable
public UnaryCallable<ListClustersRequest,ClusterControllerClient.ListClustersPagedResponse> listClustersPagedCallable()- Overrides:
listClustersPagedCallablein classClusterControllerStub
-
diagnoseClusterCallable
- Overrides:
diagnoseClusterCallablein classClusterControllerStub
-
diagnoseClusterOperationCallable
public OperationCallable<DiagnoseClusterRequest,DiagnoseClusterResults, diagnoseClusterOperationCallable()ClusterOperationMetadata> - Overrides:
diagnoseClusterOperationCallablein classClusterControllerStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classClusterControllerStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classClusterControllerStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classClusterControllerStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classClusterControllerStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-