public static final class ClusterControllerGrpc.ClusterControllerFutureStub extends AbstractFutureStub<ClusterControllerGrpc.ClusterControllerFutureStub>
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.ClusterControllerFutureStub |
build(Channel channel,
CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<Operation> |
createCluster(CreateClusterRequest request)
Creates a cluster in a project.
|
com.google.common.util.concurrent.ListenableFuture<Operation> |
deleteCluster(DeleteClusterRequest request)
Deletes a cluster in a project.
|
com.google.common.util.concurrent.ListenableFuture<Operation> |
diagnoseCluster(DiagnoseClusterRequest request)
Gets cluster diagnostic information.
|
com.google.common.util.concurrent.ListenableFuture<Cluster> |
getCluster(GetClusterRequest request)
Gets the resource representation for a cluster in a project.
|
com.google.common.util.concurrent.ListenableFuture<ListClustersResponse> |
listClusters(ListClustersRequest request)
Lists all regions/{region}/clusters in a project alphabetically.
|
com.google.common.util.concurrent.ListenableFuture<Operation> |
startCluster(StartClusterRequest request)
Starts a cluster in a project.
|
com.google.common.util.concurrent.ListenableFuture<Operation> |
stopCluster(StopClusterRequest request)
Stops a cluster in a project.
|
com.google.common.util.concurrent.ListenableFuture<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.ClusterControllerFutureStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<ClusterControllerGrpc.ClusterControllerFutureStub>
public com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<Operation> stopCluster(StopClusterRequest request)
Stops a cluster in a project.
public com.google.common.util.concurrent.ListenableFuture<Operation> startCluster(StartClusterRequest request)
Starts a cluster in a project.
public com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<Cluster> getCluster(GetClusterRequest request)
Gets the resource representation for a cluster in a project.
public com.google.common.util.concurrent.ListenableFuture<ListClustersResponse> listClusters(ListClustersRequest request)
Lists all regions/{region}/clusters in a project alphabetically.
public com.google.common.util.concurrent.ListenableFuture<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.