public static final class ClusterControllerGrpc.ClusterControllerStub extends io.grpc.stub.AbstractStub<ClusterControllerGrpc.ClusterControllerStub>
The ClusterControllerService provides methods to manage clusters of Google Compute Engine instances.
Modifier and Type | Method and Description |
---|---|
protected ClusterControllerGrpc.ClusterControllerStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
createCluster(CreateClusterRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Creates a cluster in a project.
|
void |
deleteCluster(DeleteClusterRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Deletes a cluster in a project.
|
void |
diagnoseCluster(DiagnoseClusterRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Gets cluster diagnostic information.
|
void |
getCluster(GetClusterRequest request,
io.grpc.stub.StreamObserver<Cluster> responseObserver)
Gets the resource representation for a cluster in a project.
|
void |
listClusters(ListClustersRequest request,
io.grpc.stub.StreamObserver<ListClustersResponse> responseObserver)
Lists all regions/{region}/clusters in a project.
|
void |
updateCluster(UpdateClusterRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Updates a cluster in a project.
|
protected ClusterControllerGrpc.ClusterControllerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<ClusterControllerGrpc.ClusterControllerStub>
public void createCluster(CreateClusterRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Creates a cluster in a project.
public void updateCluster(UpdateClusterRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Updates a cluster in a project.
public void deleteCluster(DeleteClusterRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Deletes a cluster in a project.
public void getCluster(GetClusterRequest request, io.grpc.stub.StreamObserver<Cluster> responseObserver)
Gets the resource representation for a cluster in a project.
public void listClusters(ListClustersRequest request, io.grpc.stub.StreamObserver<ListClustersResponse> responseObserver)
Lists all regions/{region}/clusters in a project.
public void diagnoseCluster(DiagnoseClusterRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Gets cluster diagnostic information. After the operation completes, the Operation.response field contains `DiagnoseClusterOutputLocation`.