Package com.google.container.v1
Class ClusterManagerGrpc.ClusterManagerStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<ClusterManagerGrpc.ClusterManagerStub>
-
- com.google.container.v1.ClusterManagerGrpc.ClusterManagerStub
-
- Enclosing class:
- ClusterManagerGrpc
public static final class ClusterManagerGrpc.ClusterManagerStub extends io.grpc.stub.AbstractAsyncStub<ClusterManagerGrpc.ClusterManagerStub>
A stub to allow clients to do asynchronous rpc calls to service ClusterManager.Google Kubernetes Engine Cluster Manager v1
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected ClusterManagerGrpc.ClusterManagerStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
cancelOperation(CancelOperationRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Cancels the specified operation.void
checkAutopilotCompatibility(CheckAutopilotCompatibilityRequest request, io.grpc.stub.StreamObserver<CheckAutopilotCompatibilityResponse> responseObserver)
Checks the cluster compatibility with Autopilot mode, and returns a list of compatibility issues.void
completeIPRotation(CompleteIPRotationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Completes master IP rotation.void
completeNodePoolUpgrade(CompleteNodePoolUpgradeRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.void
createCluster(CreateClusterRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Creates a cluster, consisting of the specified number and type of Google Compute Engine instances.void
createNodePool(CreateNodePoolRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Creates a node pool for a cluster.void
deleteCluster(DeleteClusterRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Deletes the cluster, including the Kubernetes endpoint and all worker nodes.void
deleteNodePool(DeleteNodePoolRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Deletes a node pool from a cluster.void
getCluster(GetClusterRequest request, io.grpc.stub.StreamObserver<Cluster> responseObserver)
Gets the details of a specific cluster.void
getJSONWebKeys(GetJSONWebKeysRequest request, io.grpc.stub.StreamObserver<GetJSONWebKeysResponse> responseObserver)
Gets the public component of the cluster signing keys in JSON Web Key format.void
getNodePool(GetNodePoolRequest request, io.grpc.stub.StreamObserver<NodePool> responseObserver)
Retrieves the requested node pool.void
getOperation(GetOperationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Gets the specified operation.void
getServerConfig(GetServerConfigRequest request, io.grpc.stub.StreamObserver<ServerConfig> responseObserver)
Returns configuration info about the Google Kubernetes Engine service.void
listClusters(ListClustersRequest request, io.grpc.stub.StreamObserver<ListClustersResponse> responseObserver)
Lists all clusters owned by a project in either the specified zone or all zones.void
listNodePools(ListNodePoolsRequest request, io.grpc.stub.StreamObserver<ListNodePoolsResponse> responseObserver)
Lists the node pools for a cluster.void
listOperations(ListOperationsRequest request, io.grpc.stub.StreamObserver<ListOperationsResponse> responseObserver)
Lists all operations in a project in a specific zone or all zones.void
listUsableSubnetworks(ListUsableSubnetworksRequest request, io.grpc.stub.StreamObserver<ListUsableSubnetworksResponse> responseObserver)
Lists subnetworks that are usable for creating clusters in a project.void
rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Rolls back a previously Aborted or Failed NodePool upgrade.void
setAddonsConfig(SetAddonsConfigRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the addons for a specific cluster.void
setLabels(SetLabelsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets labels on a cluster.void
setLegacyAbac(SetLegacyAbacRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Enables or disables the ABAC authorization mechanism on a cluster.void
setLocations(SetLocationsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Deprecated.void
setLoggingService(SetLoggingServiceRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the logging service for a specific cluster.void
setMaintenancePolicy(SetMaintenancePolicyRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the maintenance policy for a cluster.void
setMasterAuth(SetMasterAuthRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets master auth materials.void
setMonitoringService(SetMonitoringServiceRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the monitoring service for a specific cluster.void
setNetworkPolicy(SetNetworkPolicyRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Enables or disables Network Policy for a cluster.void
setNodePoolAutoscaling(SetNodePoolAutoscalingRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the autoscaling settings for the specified node pool.void
setNodePoolManagement(SetNodePoolManagementRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the NodeManagement options for a node pool.void
setNodePoolSize(SetNodePoolSizeRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the size for a specific node pool.void
startIPRotation(StartIPRotationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Starts master IP rotation.void
updateCluster(UpdateClusterRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Updates the settings of a specific cluster.void
updateMaster(UpdateMasterRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Updates the master for a specific cluster.void
updateNodePool(UpdateNodePoolRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Updates the version and/or image type for the specified node pool.
-
-
-
Method Detail
-
build
protected ClusterManagerGrpc.ClusterManagerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<ClusterManagerGrpc.ClusterManagerStub>
-
listClusters
public void listClusters(ListClustersRequest request, io.grpc.stub.StreamObserver<ListClustersResponse> responseObserver)
Lists all clusters owned by a project in either the specified zone or all zones.
-
getCluster
public void getCluster(GetClusterRequest request, io.grpc.stub.StreamObserver<Cluster> responseObserver)
Gets the details of a specific cluster.
-
createCluster
public void createCluster(CreateClusterRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project's [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.
-
updateCluster
public void updateCluster(UpdateClusterRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Updates the settings of a specific cluster.
-
updateNodePool
public void updateNodePool(UpdateNodePoolRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Updates the version and/or image type for the specified node pool.
-
setNodePoolAutoscaling
public void setNodePoolAutoscaling(SetNodePoolAutoscalingRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the autoscaling settings for the specified node pool.
-
setLoggingService
public void setLoggingService(SetLoggingServiceRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the logging service for a specific cluster.
-
setMonitoringService
public void setMonitoringService(SetMonitoringServiceRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the monitoring service for a specific cluster.
-
setAddonsConfig
public void setAddonsConfig(SetAddonsConfigRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the addons for a specific cluster.
-
setLocations
@Deprecated public void setLocations(SetLocationsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Deprecated.Sets the locations for a specific cluster. Deprecated. Use [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update) instead.
-
updateMaster
public void updateMaster(UpdateMasterRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Updates the master for a specific cluster.
-
setMasterAuth
public void setMasterAuth(SetMasterAuthRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password.
-
deleteCluster
public void deleteCluster(DeleteClusterRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted. Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.
-
listOperations
public void listOperations(ListOperationsRequest request, io.grpc.stub.StreamObserver<ListOperationsResponse> responseObserver)
Lists all operations in a project in a specific zone or all zones.
-
getOperation
public void getOperation(GetOperationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Gets the specified operation.
-
cancelOperation
public void cancelOperation(CancelOperationRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Cancels the specified operation.
-
getServerConfig
public void getServerConfig(GetServerConfigRequest request, io.grpc.stub.StreamObserver<ServerConfig> responseObserver)
Returns configuration info about the Google Kubernetes Engine service.
-
getJSONWebKeys
public void getJSONWebKeys(GetJSONWebKeysRequest request, io.grpc.stub.StreamObserver<GetJSONWebKeysResponse> responseObserver)
Gets the public component of the cluster signing keys in JSON Web Key format. This API is not yet intended for general use, and is not available for all clusters.
-
listNodePools
public void listNodePools(ListNodePoolsRequest request, io.grpc.stub.StreamObserver<ListNodePoolsResponse> responseObserver)
Lists the node pools for a cluster.
-
getNodePool
public void getNodePool(GetNodePoolRequest request, io.grpc.stub.StreamObserver<NodePool> responseObserver)
Retrieves the requested node pool.
-
createNodePool
public void createNodePool(CreateNodePoolRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Creates a node pool for a cluster.
-
deleteNodePool
public void deleteNodePool(DeleteNodePoolRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Deletes a node pool from a cluster.
-
completeNodePoolUpgrade
public void completeNodePoolUpgrade(CompleteNodePoolUpgradeRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.
-
rollbackNodePoolUpgrade
public void rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.
-
setNodePoolManagement
public void setNodePoolManagement(SetNodePoolManagementRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the NodeManagement options for a node pool.
-
setLabels
public void setLabels(SetLabelsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets labels on a cluster.
-
setLegacyAbac
public void setLegacyAbac(SetLegacyAbacRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Enables or disables the ABAC authorization mechanism on a cluster.
-
startIPRotation
public void startIPRotation(StartIPRotationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Starts master IP rotation.
-
completeIPRotation
public void completeIPRotation(CompleteIPRotationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Completes master IP rotation.
-
setNodePoolSize
public void setNodePoolSize(SetNodePoolSizeRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the size for a specific node pool. The new size will be used for all replicas, including future replicas created by modifying [NodePool.locations][google.container.v1.NodePool.locations].
-
setNetworkPolicy
public void setNetworkPolicy(SetNetworkPolicyRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Enables or disables Network Policy for a cluster.
-
setMaintenancePolicy
public void setMaintenancePolicy(SetMaintenancePolicyRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the maintenance policy for a cluster.
-
listUsableSubnetworks
public void listUsableSubnetworks(ListUsableSubnetworksRequest request, io.grpc.stub.StreamObserver<ListUsableSubnetworksResponse> responseObserver)
Lists subnetworks that are usable for creating clusters in a project.
-
checkAutopilotCompatibility
public void checkAutopilotCompatibility(CheckAutopilotCompatibilityRequest request, io.grpc.stub.StreamObserver<CheckAutopilotCompatibilityResponse> responseObserver)
Checks the cluster compatibility with Autopilot mode, and returns a list of compatibility issues.
-
-