public abstract static class ClusterControllerGrpc.ClusterControllerImplBase extends Object implements BindableService
The ClusterControllerService provides methods to manage clusters of Compute Engine instances.
Constructor and Description |
---|
ClusterControllerImplBase() |
Modifier and Type | Method and Description |
---|---|
ServerServiceDefinition |
bindService() |
void |
createCluster(CreateClusterRequest request,
StreamObserver<Operation> responseObserver)
Creates a cluster in a project.
|
void |
deleteCluster(DeleteClusterRequest request,
StreamObserver<Operation> responseObserver)
Deletes a cluster in a project.
|
void |
diagnoseCluster(DiagnoseClusterRequest request,
StreamObserver<Operation> responseObserver)
Gets cluster diagnostic information.
|
void |
getCluster(GetClusterRequest request,
StreamObserver<Cluster> responseObserver)
Gets the resource representation for a cluster in a project.
|
void |
listClusters(ListClustersRequest request,
StreamObserver<ListClustersResponse> responseObserver)
Lists all regions/{region}/clusters in a project alphabetically.
|
void |
startCluster(StartClusterRequest request,
StreamObserver<Operation> responseObserver)
Starts a cluster in a project.
|
void |
stopCluster(StopClusterRequest request,
StreamObserver<Operation> responseObserver)
Stops a cluster in a project.
|
void |
updateCluster(UpdateClusterRequest request,
StreamObserver<Operation> responseObserver)
Updates a cluster in a project.
|
public void createCluster(CreateClusterRequest request, StreamObserver<Operation> responseObserver)
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 void updateCluster(UpdateClusterRequest request, StreamObserver<Operation> responseObserver)
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 void stopCluster(StopClusterRequest request, StreamObserver<Operation> responseObserver)
Stops a cluster in a project.
public void startCluster(StartClusterRequest request, StreamObserver<Operation> responseObserver)
Starts a cluster in a project.
public void deleteCluster(DeleteClusterRequest request, StreamObserver<Operation> responseObserver)
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 void getCluster(GetClusterRequest request, StreamObserver<Cluster> responseObserver)
Gets the resource representation for a cluster in a project.
public void listClusters(ListClustersRequest request, StreamObserver<ListClustersResponse> responseObserver)
Lists all regions/{region}/clusters in a project alphabetically.
public void diagnoseCluster(DiagnoseClusterRequest request, StreamObserver<Operation> responseObserver)
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).
public final ServerServiceDefinition bindService()
bindService
in interface BindableService
Copyright © 2022 Google LLC. All rights reserved.