public static final class ClusterControllerGrpc.ClusterControllerBlockingStub extends AbstractBlockingStub<ClusterControllerGrpc.ClusterControllerBlockingStub>
The ClusterControllerService provides methods to manage clusters of Compute Engine instances.
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected ClusterControllerGrpc.ClusterControllerBlockingStub |
build(Channel channel,
CallOptions callOptions) |
Operation |
createCluster(CreateClusterRequest request)
Creates a cluster in a project.
|
Operation |
deleteCluster(DeleteClusterRequest request)
Deletes a cluster in a project.
|
Operation |
diagnoseCluster(DiagnoseClusterRequest request)
Gets cluster diagnostic information.
|
Cluster |
getCluster(GetClusterRequest request)
Gets the resource representation for a cluster in a project.
|
ListClustersResponse |
listClusters(ListClustersRequest request)
Lists all regions/{region}/clusters in a project alphabetically.
|
Operation |
startCluster(StartClusterRequest request)
Starts a cluster in a project.
|
Operation |
stopCluster(StopClusterRequest request)
Stops a cluster in a project.
|
Operation |
updateCluster(UpdateClusterRequest request)
Updates a cluster in a project.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected ClusterControllerGrpc.ClusterControllerBlockingStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<ClusterControllerGrpc.ClusterControllerBlockingStub>
public Operation createCluster(CreateClusterRequest request)
Creates a cluster in a project. The returned [Operation.metadata][google.longrunning.Operation.metadata] will be [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata).
public Operation updateCluster(UpdateClusterRequest request)
Updates a cluster in a project. The returned [Operation.metadata][google.longrunning.Operation.metadata] will be [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata). The cluster must be in a [`RUNNING`][google.cloud.dataproc.v1.ClusterStatus.State] state or an error is returned.
public Operation stopCluster(StopClusterRequest request)
Stops a cluster in a project.
public Operation startCluster(StartClusterRequest request)
Starts a cluster in a project.
public Operation deleteCluster(DeleteClusterRequest request)
Deletes a cluster in a project. The returned [Operation.metadata][google.longrunning.Operation.metadata] will be [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata).
public Cluster getCluster(GetClusterRequest request)
Gets the resource representation for a cluster in a project.
public ListClustersResponse listClusters(ListClustersRequest request)
Lists all regions/{region}/clusters in a project alphabetically.
public Operation diagnoseCluster(DiagnoseClusterRequest request)
Gets cluster diagnostic information. The returned [Operation.metadata][google.longrunning.Operation.metadata] will be [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata). After the operation completes, [Operation.response][google.longrunning.Operation.response] contains [DiagnoseClusterResults](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#diagnoseclusterresults).
Copyright © 2022 Google LLC. All rights reserved.