Package com.google.container.v1
Interface ClusterOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Cluster,Cluster.Builder
@Generated
public interface ClusterOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanThe resource labels for the cluster to use to annotate any related Google Compute Engine resources.Configurations for the various addons available to run in the cluster.Configurations for the various addons available to run in the cluster.getAlphaClusterFeatureGates(int index) The list of user specified Kubernetes feature gates.com.google.protobuf.ByteStringgetAlphaClusterFeatureGatesBytes(int index) The list of user specified Kubernetes feature gates.intThe list of user specified Kubernetes feature gates.The list of user specified Kubernetes feature gates.Configuration for limiting anonymous access to all endpoints except the health checks.Configuration for limiting anonymous access to all endpoints except the health checks.Configuration controlling RBAC group membership information.Configuration controlling RBAC group membership information.Autopilot configuration for the cluster.Autopilot configuration for the cluster.Cluster-level autoscaling configuration.Cluster-level autoscaling configuration.Configuration for Binary Authorization.Configuration for Binary Authorization.The IP address range of the container pods in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`).com.google.protobuf.ByteStringThe IP address range of the container pods in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`).Deprecated.google.container.v1.Cluster.compliance_posture_config is deprecated.Deprecated.getConditions(int index) Which conditions caused the current cluster state.intWhich conditions caused the current cluster state.Which conditions caused the current cluster state.getConditionsOrBuilder(int index) Which conditions caused the current cluster state.List<? extends StatusConditionOrBuilder>Which conditions caused the current cluster state.Configuration of Confidential Nodes.Configuration of Confidential Nodes.Configuration for control plane egress control.Configuration for control plane egress control.Configuration for all cluster's control plane endpoints.Configuration for all cluster's control plane endpoints.Configuration for the fine-grained cost management feature.Configuration for the fine-grained cost management feature.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.intDeprecated.google.container.v1.Cluster.current_node_count is deprecated.Deprecated.google.container.v1.Cluster.current_node_version is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.Cluster.current_node_version is deprecated.Configuration of etcd encryption.Configuration of etcd encryption.The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster.The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster.An optional description of this cluster.com.google.protobuf.ByteStringAn optional description of this cluster.Beta APIs ConfigBeta APIs ConfigbooleanKubernetes alpha features are enabled on this cluster.booleanDeprecated.google.container.v1.Cluster.enable_tpu is deprecated.Output only.com.google.protobuf.ByteStringOutput only.Deprecated.google.container.v1.Cluster.enterprise_config is deprecated.Deprecated.getEtag()This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.com.google.protobuf.ByteStringThis checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.Output only.com.google.protobuf.ByteStringOutput only.getFleet()Fleet information for the cluster.Fleet information for the cluster.Configuration for GKE auto upgrades.Configuration for GKE auto upgrades.getId()Output only.com.google.protobuf.ByteStringOutput only.Configuration for Identity Service component.Configuration for Identity Service component.The initial Kubernetes version for this cluster.com.google.protobuf.ByteStringThe initial Kubernetes version for this cluster.intDeprecated.google.container.v1.Cluster.initial_node_count is deprecated.getInstanceGroupUrls(int index) Deprecated.google.container.v1.Cluster.instance_group_urls is deprecated.com.google.protobuf.ByteStringgetInstanceGroupUrlsBytes(int index) Deprecated.google.container.v1.Cluster.instance_group_urls is deprecated.intDeprecated.google.container.v1.Cluster.instance_group_urls is deprecated.Deprecated.google.container.v1.Cluster.instance_group_urls is deprecated.Configuration for cluster IP allocation.Configuration for cluster IP allocation.The fingerprint of the set of labels for this cluster.com.google.protobuf.ByteStringThe fingerprint of the set of labels for this cluster.Configuration for the legacy ABAC authorization mode.Configuration for the legacy ABAC authorization mode.Output only.com.google.protobuf.ByteStringOutput only.getLocations(int index) The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes should be located.com.google.protobuf.ByteStringgetLocationsBytes(int index) The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes should be located.intThe list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes should be located.The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes should be located.Logging configuration for the cluster.Logging configuration for the cluster.The logging service the cluster should use to write logs.com.google.protobuf.ByteStringThe logging service the cluster should use to write logs.Configure the maintenance policy for this cluster.Configure the maintenance policy for this cluster.Configuration for Managed Machine Learning Diagnostics.Configuration for Managed Machine Learning Diagnostics.Configuration for Managed OpenTelemetry pipeline.Configuration for Managed OpenTelemetry pipeline.The authentication information for accessing the master endpoint.The authentication information for accessing the master endpoint.Deprecated.google.container.v1.Cluster.master_authorized_networks_config is deprecated.Deprecated.Configuration for issuance of mTLS keys and certificates to Kubernetes pods.Configuration for issuance of mTLS keys and certificates to Kubernetes pods.Monitoring configuration for the cluster.Monitoring configuration for the cluster.The monitoring service the cluster should use to write metrics.com.google.protobuf.ByteStringThe monitoring service the cluster should use to write metrics.getName()The name of this cluster.com.google.protobuf.ByteStringThe name of this cluster.The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected.com.google.protobuf.ByteStringThe name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected.Configuration for cluster networking.Configuration for cluster networking.Configuration options for the NetworkPolicy feature.Configuration options for the NetworkPolicy feature.Deprecated.google.container.v1.Cluster.node_config is deprecated.Deprecated.Optional.Optional.intOutput only.Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.Default NodePool settings for the entire cluster.Default NodePool settings for the entire cluster.getNodePools(int index) The node pools associated with this cluster.intThe node pools associated with this cluster.The node pools associated with this cluster.getNodePoolsOrBuilder(int index) The node pools associated with this cluster.List<? extends NodePoolOrBuilder>The node pools associated with this cluster.Notification configuration of the cluster.Notification configuration of the cluster.The config for pod autoscaling.The config for pod autoscaling.Configuration for private cluster.Configuration for private cluster.RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.Release channel configuration.Release channel configuration.Deprecated.intThe resource labels for the cluster to use to annotate any related Google Compute Engine resources.The resource labels for the cluster to use to annotate any related Google Compute Engine resources.getResourceLabelsOrDefault(String key, String defaultValue) The resource labels for the cluster to use to annotate any related Google Compute Engine resources.The resource labels for the cluster to use to annotate any related Google Compute Engine resources.Configuration for exporting resource usages.Configuration for exporting resource usages.booleanOutput only.booleanOutput only.Optional.Optional.Secret CSI driver configuration.Secret CSI driver configuration.Configuration for sync Secret Manager secrets as k8s secrets.Configuration for sync Secret Manager secrets as k8s secrets.Optional.Optional.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Shielded Nodes configuration.Shielded Nodes configuration.Output only.Deprecated.google.container.v1.Cluster.status_message is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.Cluster.status_message is deprecated.intOutput only.The name of the Google Compute Engine [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which the cluster is connected.com.google.protobuf.ByteStringThe name of the Google Compute Engine [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which the cluster is connected.Deprecated.google.container.v1.Cluster.tpu_ipv4_cidr_block is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.Cluster.tpu_ipv4_cidr_block is deprecated.The Custom keys configuration for the cluster.The Custom keys configuration for the cluster.Cluster-level Vertical Pod Autoscaling configuration.Cluster-level Vertical Pod Autoscaling configuration.Configuration for the use of Kubernetes Service Accounts in IAM policies.Configuration for the use of Kubernetes Service Accounts in IAM policies.getZone()Deprecated.google.container.v1.Cluster.zone is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.Cluster.zone is deprecated.booleanConfigurations for the various addons available to run in the cluster.booleanConfiguration for limiting anonymous access to all endpoints except the health checks.booleanConfiguration controlling RBAC group membership information.booleanAutopilot configuration for the cluster.booleanCluster-level autoscaling configuration.booleanConfiguration for Binary Authorization.booleanDeprecated.google.container.v1.Cluster.compliance_posture_config is deprecated.booleanConfiguration of Confidential Nodes.booleanConfiguration for control plane egress control.booleanConfiguration for all cluster's control plane endpoints.booleanConfiguration for the fine-grained cost management feature.booleanConfiguration of etcd encryption.booleanThe default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster.booleanBeta APIs ConfigbooleanDeprecated.google.container.v1.Cluster.enterprise_config is deprecated.booleanhasFleet()Fleet information for the cluster.booleanConfiguration for GKE auto upgrades.booleanConfiguration for Identity Service component.booleanConfiguration for cluster IP allocation.booleanConfiguration for the legacy ABAC authorization mode.booleanLogging configuration for the cluster.booleanConfigure the maintenance policy for this cluster.booleanConfiguration for Managed Machine Learning Diagnostics.booleanConfiguration for Managed OpenTelemetry pipeline.booleanThe authentication information for accessing the master endpoint.booleanDeprecated.google.container.v1.Cluster.master_authorized_networks_config is deprecated.booleanConfiguration for issuance of mTLS keys and certificates to Kubernetes pods.booleanMonitoring configuration for the cluster.booleanConfiguration for cluster networking.booleanConfiguration options for the NetworkPolicy feature.booleanDeprecated.google.container.v1.Cluster.node_config is deprecated.booleanOptional.booleanNode pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.booleanDefault NodePool settings for the entire cluster.booleanNotification configuration of the cluster.booleanThe config for pod autoscaling.booleanConfiguration for private cluster.booleanRBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.booleanRelease channel configuration.booleanConfiguration for exporting resource usages.booleanOutput only.booleanOutput only.booleanOptional.booleanSecret CSI driver configuration.booleanConfiguration for sync Secret Manager secrets as k8s secrets.booleanOptional.booleanShielded Nodes configuration.booleanThe Custom keys configuration for the cluster.booleanCluster-level Vertical Pod Autoscaling configuration.booleanConfiguration for the use of Kubernetes Service Accounts in IAM policies.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
string name = 1;- Returns:
- The bytes for name.
-
getDescription
String getDescription()An optional description of this cluster.
string description = 2;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()An optional description of this cluster.
string description = 2;- Returns:
- The bytes for description.
-
getInitialNodeCount
Deprecated.google.container.v1.Cluster.initial_node_count is deprecated. See google/container/v1/cluster_service.proto;l=2889The number of nodes to create in this cluster. You must ensure that your Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is sufficient for this number of instances. You must also have available firewall and routes quota. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "node_config") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. This field is deprecated, use node_pool.initial_node_count instead.
int32 initial_node_count = 3 [deprecated = true];- Returns:
- The initialNodeCount.
-
hasNodeConfig
Deprecated.google.container.v1.Cluster.node_config is deprecated. See google/container/v1/cluster_service.proto;l=2902Parameters used in creating the cluster's nodes. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "initial_node_count") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. (For configuration of each node pool, see `node_pool.config`) If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead.
.google.container.v1.NodeConfig node_config = 4 [deprecated = true];- Returns:
- Whether the nodeConfig field is set.
-
getNodeConfig
Deprecated.google.container.v1.Cluster.node_config is deprecated. See google/container/v1/cluster_service.proto;l=2902Parameters used in creating the cluster's nodes. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "initial_node_count") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. (For configuration of each node pool, see `node_pool.config`) If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead.
.google.container.v1.NodeConfig node_config = 4 [deprecated = true];- Returns:
- The nodeConfig.
-
getNodeConfigOrBuilder
Deprecated.Parameters used in creating the cluster's nodes. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "initial_node_count") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. (For configuration of each node pool, see `node_pool.config`) If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead.
.google.container.v1.NodeConfig node_config = 4 [deprecated = true]; -
hasMasterAuth
boolean hasMasterAuth()The authentication information for accessing the master endpoint. If unspecified, the defaults are used: For clusters before v1.12, if master_auth is unspecified, `username` will be set to "admin", a random password will be generated, and a client certificate will be issued.
.google.container.v1.MasterAuth master_auth = 5;- Returns:
- Whether the masterAuth field is set.
-
getMasterAuth
MasterAuth getMasterAuth()The authentication information for accessing the master endpoint. If unspecified, the defaults are used: For clusters before v1.12, if master_auth is unspecified, `username` will be set to "admin", a random password will be generated, and a client certificate will be issued.
.google.container.v1.MasterAuth master_auth = 5;- Returns:
- The masterAuth.
-
getMasterAuthOrBuilder
MasterAuthOrBuilder getMasterAuthOrBuilder()The authentication information for accessing the master endpoint. If unspecified, the defaults are used: For clusters before v1.12, if master_auth is unspecified, `username` will be set to "admin", a random password will be generated, and a client certificate will be issued.
.google.container.v1.MasterAuth master_auth = 5; -
getLoggingService
String getLoggingService()The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
string logging_service = 6;- Returns:
- The loggingService.
-
getLoggingServiceBytes
com.google.protobuf.ByteString getLoggingServiceBytes()The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
string logging_service = 6;- Returns:
- The bytes for loggingService.
-
getMonitoringService
String getMonitoringService()The monitoring service the cluster should use to write metrics. Currently available options: * `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
string monitoring_service = 7;- Returns:
- The monitoringService.
-
getMonitoringServiceBytes
com.google.protobuf.ByteString getMonitoringServiceBytes()The monitoring service the cluster should use to write metrics. Currently available options: * `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
string monitoring_service = 7;- Returns:
- The bytes for monitoringService.
-
getNetwork
String getNetwork()The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used.
string network = 8;- Returns:
- The network.
-
getNetworkBytes
com.google.protobuf.ByteString getNetworkBytes()The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used.
string network = 8;- Returns:
- The bytes for network.
-
getClusterIpv4Cidr
String getClusterIpv4Cidr()The IP address range of the container pods in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
string cluster_ipv4_cidr = 9;- Returns:
- The clusterIpv4Cidr.
-
getClusterIpv4CidrBytes
com.google.protobuf.ByteString getClusterIpv4CidrBytes()The IP address range of the container pods in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
string cluster_ipv4_cidr = 9;- Returns:
- The bytes for clusterIpv4Cidr.
-
hasAddonsConfig
boolean hasAddonsConfig()Configurations for the various addons available to run in the cluster.
.google.container.v1.AddonsConfig addons_config = 10;- Returns:
- Whether the addonsConfig field is set.
-
getAddonsConfig
AddonsConfig getAddonsConfig()Configurations for the various addons available to run in the cluster.
.google.container.v1.AddonsConfig addons_config = 10;- Returns:
- The addonsConfig.
-
getAddonsConfigOrBuilder
AddonsConfigOrBuilder getAddonsConfigOrBuilder()Configurations for the various addons available to run in the cluster.
.google.container.v1.AddonsConfig addons_config = 10; -
getSubnetwork
String getSubnetwork()The name of the Google Compute Engine [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which the cluster is connected.
string subnetwork = 11;- Returns:
- The subnetwork.
-
getSubnetworkBytes
com.google.protobuf.ByteString getSubnetworkBytes()The name of the Google Compute Engine [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which the cluster is connected.
string subnetwork = 11;- Returns:
- The bytes for subnetwork.
-
getNodePoolsList
The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
repeated .google.container.v1.NodePool node_pools = 12; -
getNodePools
The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
repeated .google.container.v1.NodePool node_pools = 12; -
getNodePoolsCount
int getNodePoolsCount()The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
repeated .google.container.v1.NodePool node_pools = 12; -
getNodePoolsOrBuilderList
List<? extends NodePoolOrBuilder> getNodePoolsOrBuilderList()The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
repeated .google.container.v1.NodePool node_pools = 12; -
getNodePoolsOrBuilder
The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
repeated .google.container.v1.NodePool node_pools = 12; -
getLocationsList
The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes should be located. This field provides a default value if [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) are not specified during node pool creation. Warning: changing cluster locations will update the [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node pools and will result in nodes being added and/or removed.
repeated string locations = 13;- Returns:
- A list containing the locations.
-
getLocationsCount
int getLocationsCount()The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes should be located. This field provides a default value if [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) are not specified during node pool creation. Warning: changing cluster locations will update the [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node pools and will result in nodes being added and/or removed.
repeated string locations = 13;- Returns:
- The count of locations.
-
getLocations
The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes should be located. This field provides a default value if [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) are not specified during node pool creation. Warning: changing cluster locations will update the [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node pools and will result in nodes being added and/or removed.
repeated string locations = 13;- Parameters:
index- The index of the element to return.- Returns:
- The locations at the given index.
-
getLocationsBytes
com.google.protobuf.ByteString getLocationsBytes(int index) The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes should be located. This field provides a default value if [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) are not specified during node pool creation. Warning: changing cluster locations will update the [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node pools and will result in nodes being added and/or removed.
repeated string locations = 13;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the locations at the given index.
-
getEnableKubernetesAlpha
boolean getEnableKubernetesAlpha()Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1alpha1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.
bool enable_kubernetes_alpha = 14;- Returns:
- The enableKubernetesAlpha.
-
getAlphaClusterFeatureGatesList
The list of user specified Kubernetes feature gates. Each string represents the activation status of a feature gate (e.g. "featureX=true" or "featureX=false")
repeated string alpha_cluster_feature_gates = 160;- Returns:
- A list containing the alphaClusterFeatureGates.
-
getAlphaClusterFeatureGatesCount
int getAlphaClusterFeatureGatesCount()The list of user specified Kubernetes feature gates. Each string represents the activation status of a feature gate (e.g. "featureX=true" or "featureX=false")
repeated string alpha_cluster_feature_gates = 160;- Returns:
- The count of alphaClusterFeatureGates.
-
getAlphaClusterFeatureGates
The list of user specified Kubernetes feature gates. Each string represents the activation status of a feature gate (e.g. "featureX=true" or "featureX=false")
repeated string alpha_cluster_feature_gates = 160;- Parameters:
index- The index of the element to return.- Returns:
- The alphaClusterFeatureGates at the given index.
-
getAlphaClusterFeatureGatesBytes
com.google.protobuf.ByteString getAlphaClusterFeatureGatesBytes(int index) The list of user specified Kubernetes feature gates. Each string represents the activation status of a feature gate (e.g. "featureX=true" or "featureX=false")
repeated string alpha_cluster_feature_gates = 160;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the alphaClusterFeatureGates at the given index.
-
getResourceLabelsCount
int getResourceLabelsCount()The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 15; -
containsResourceLabels
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 15; -
getResourceLabels
Deprecated.UsegetResourceLabelsMap()instead. -
getResourceLabelsMap
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 15; -
getResourceLabelsOrDefault
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 15; -
getResourceLabelsOrThrow
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 15; -
getLabelFingerprint
String getLabelFingerprint()The fingerprint of the set of labels for this cluster.
string label_fingerprint = 16;- Returns:
- The labelFingerprint.
-
getLabelFingerprintBytes
com.google.protobuf.ByteString getLabelFingerprintBytes()The fingerprint of the set of labels for this cluster.
string label_fingerprint = 16;- Returns:
- The bytes for labelFingerprint.
-
hasLegacyAbac
boolean hasLegacyAbac()Configuration for the legacy ABAC authorization mode.
.google.container.v1.LegacyAbac legacy_abac = 18;- Returns:
- Whether the legacyAbac field is set.
-
getLegacyAbac
LegacyAbac getLegacyAbac()Configuration for the legacy ABAC authorization mode.
.google.container.v1.LegacyAbac legacy_abac = 18;- Returns:
- The legacyAbac.
-
getLegacyAbacOrBuilder
LegacyAbacOrBuilder getLegacyAbacOrBuilder()Configuration for the legacy ABAC authorization mode.
.google.container.v1.LegacyAbac legacy_abac = 18; -
hasNetworkPolicy
boolean hasNetworkPolicy()Configuration options for the NetworkPolicy feature.
.google.container.v1.NetworkPolicy network_policy = 19;- Returns:
- Whether the networkPolicy field is set.
-
getNetworkPolicy
NetworkPolicy getNetworkPolicy()Configuration options for the NetworkPolicy feature.
.google.container.v1.NetworkPolicy network_policy = 19;- Returns:
- The networkPolicy.
-
getNetworkPolicyOrBuilder
NetworkPolicyOrBuilder getNetworkPolicyOrBuilder()Configuration options for the NetworkPolicy feature.
.google.container.v1.NetworkPolicy network_policy = 19; -
hasIpAllocationPolicy
boolean hasIpAllocationPolicy()Configuration for cluster IP allocation.
.google.container.v1.IPAllocationPolicy ip_allocation_policy = 20;- Returns:
- Whether the ipAllocationPolicy field is set.
-
getIpAllocationPolicy
IPAllocationPolicy getIpAllocationPolicy()Configuration for cluster IP allocation.
.google.container.v1.IPAllocationPolicy ip_allocation_policy = 20;- Returns:
- The ipAllocationPolicy.
-
getIpAllocationPolicyOrBuilder
IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder()Configuration for cluster IP allocation.
.google.container.v1.IPAllocationPolicy ip_allocation_policy = 20; -
hasMasterAuthorizedNetworksConfig
Deprecated.google.container.v1.Cluster.master_authorized_networks_config is deprecated. See google/container/v1/cluster_service.proto;l=3009The configuration options for master authorized networks feature. Deprecated: Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.authorized_networks_config][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.authorized_networks_config] instead.
.google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22 [deprecated = true];- Returns:
- Whether the masterAuthorizedNetworksConfig field is set.
-
getMasterAuthorizedNetworksConfig
Deprecated.google.container.v1.Cluster.master_authorized_networks_config is deprecated. See google/container/v1/cluster_service.proto;l=3009The configuration options for master authorized networks feature. Deprecated: Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.authorized_networks_config][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.authorized_networks_config] instead.
.google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22 [deprecated = true];- Returns:
- The masterAuthorizedNetworksConfig.
-
getMasterAuthorizedNetworksConfigOrBuilder
Deprecated.The configuration options for master authorized networks feature. Deprecated: Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.authorized_networks_config][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.authorized_networks_config] instead.
.google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22 [deprecated = true]; -
hasMaintenancePolicy
boolean hasMaintenancePolicy()Configure the maintenance policy for this cluster.
.google.container.v1.MaintenancePolicy maintenance_policy = 23;- Returns:
- Whether the maintenancePolicy field is set.
-
getMaintenancePolicy
MaintenancePolicy getMaintenancePolicy()Configure the maintenance policy for this cluster.
.google.container.v1.MaintenancePolicy maintenance_policy = 23;- Returns:
- The maintenancePolicy.
-
getMaintenancePolicyOrBuilder
MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder()Configure the maintenance policy for this cluster.
.google.container.v1.MaintenancePolicy maintenance_policy = 23; -
hasBinaryAuthorization
boolean hasBinaryAuthorization()Configuration for Binary Authorization.
.google.container.v1.BinaryAuthorization binary_authorization = 24;- Returns:
- Whether the binaryAuthorization field is set.
-
getBinaryAuthorization
BinaryAuthorization getBinaryAuthorization()Configuration for Binary Authorization.
.google.container.v1.BinaryAuthorization binary_authorization = 24;- Returns:
- The binaryAuthorization.
-
getBinaryAuthorizationOrBuilder
BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder()Configuration for Binary Authorization.
.google.container.v1.BinaryAuthorization binary_authorization = 24; -
hasAutoscaling
boolean hasAutoscaling()Cluster-level autoscaling configuration.
.google.container.v1.ClusterAutoscaling autoscaling = 26;- Returns:
- Whether the autoscaling field is set.
-
getAutoscaling
ClusterAutoscaling getAutoscaling()Cluster-level autoscaling configuration.
.google.container.v1.ClusterAutoscaling autoscaling = 26;- Returns:
- The autoscaling.
-
getAutoscalingOrBuilder
ClusterAutoscalingOrBuilder getAutoscalingOrBuilder()Cluster-level autoscaling configuration.
.google.container.v1.ClusterAutoscaling autoscaling = 26; -
hasNetworkConfig
boolean hasNetworkConfig()Configuration for cluster networking.
.google.container.v1.NetworkConfig network_config = 27;- Returns:
- Whether the networkConfig field is set.
-
getNetworkConfig
NetworkConfig getNetworkConfig()Configuration for cluster networking.
.google.container.v1.NetworkConfig network_config = 27;- Returns:
- The networkConfig.
-
getNetworkConfigOrBuilder
NetworkConfigOrBuilder getNetworkConfigOrBuilder()Configuration for cluster networking.
.google.container.v1.NetworkConfig network_config = 27; -
hasDefaultMaxPodsConstraint
boolean hasDefaultMaxPodsConstraint()The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster. Only honored if cluster created with IP Alias support.
.google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30;- Returns:
- Whether the defaultMaxPodsConstraint field is set.
-
getDefaultMaxPodsConstraint
MaxPodsConstraint getDefaultMaxPodsConstraint()The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster. Only honored if cluster created with IP Alias support.
.google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30;- Returns:
- The defaultMaxPodsConstraint.
-
getDefaultMaxPodsConstraintOrBuilder
MaxPodsConstraintOrBuilder getDefaultMaxPodsConstraintOrBuilder()The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster. Only honored if cluster created with IP Alias support.
.google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30; -
hasResourceUsageExportConfig
boolean hasResourceUsageExportConfig()Configuration for exporting resource usages. Resource usage export is disabled when this config is unspecified.
.google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33;- Returns:
- Whether the resourceUsageExportConfig field is set.
-
getResourceUsageExportConfig
ResourceUsageExportConfig getResourceUsageExportConfig()Configuration for exporting resource usages. Resource usage export is disabled when this config is unspecified.
.google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33;- Returns:
- The resourceUsageExportConfig.
-
getResourceUsageExportConfigOrBuilder
ResourceUsageExportConfigOrBuilder getResourceUsageExportConfigOrBuilder()Configuration for exporting resource usages. Resource usage export is disabled when this config is unspecified.
.google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; -
hasAuthenticatorGroupsConfig
boolean hasAuthenticatorGroupsConfig()Configuration controlling RBAC group membership information.
.google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34;- Returns:
- Whether the authenticatorGroupsConfig field is set.
-
getAuthenticatorGroupsConfig
AuthenticatorGroupsConfig getAuthenticatorGroupsConfig()Configuration controlling RBAC group membership information.
.google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34;- Returns:
- The authenticatorGroupsConfig.
-
getAuthenticatorGroupsConfigOrBuilder
AuthenticatorGroupsConfigOrBuilder getAuthenticatorGroupsConfigOrBuilder()Configuration controlling RBAC group membership information.
.google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; -
hasPrivateClusterConfig
boolean hasPrivateClusterConfig()Configuration for private cluster.
.google.container.v1.PrivateClusterConfig private_cluster_config = 37;- Returns:
- Whether the privateClusterConfig field is set.
-
getPrivateClusterConfig
PrivateClusterConfig getPrivateClusterConfig()Configuration for private cluster.
.google.container.v1.PrivateClusterConfig private_cluster_config = 37;- Returns:
- The privateClusterConfig.
-
getPrivateClusterConfigOrBuilder
PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder()Configuration for private cluster.
.google.container.v1.PrivateClusterConfig private_cluster_config = 37; -
hasDatabaseEncryption
boolean hasDatabaseEncryption()Configuration of etcd encryption.
.google.container.v1.DatabaseEncryption database_encryption = 38;- Returns:
- Whether the databaseEncryption field is set.
-
getDatabaseEncryption
DatabaseEncryption getDatabaseEncryption()Configuration of etcd encryption.
.google.container.v1.DatabaseEncryption database_encryption = 38;- Returns:
- The databaseEncryption.
-
getDatabaseEncryptionOrBuilder
DatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder()Configuration of etcd encryption.
.google.container.v1.DatabaseEncryption database_encryption = 38; -
hasVerticalPodAutoscaling
boolean hasVerticalPodAutoscaling()Cluster-level Vertical Pod Autoscaling configuration.
.google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39;- Returns:
- Whether the verticalPodAutoscaling field is set.
-
getVerticalPodAutoscaling
VerticalPodAutoscaling getVerticalPodAutoscaling()Cluster-level Vertical Pod Autoscaling configuration.
.google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39;- Returns:
- The verticalPodAutoscaling.
-
getVerticalPodAutoscalingOrBuilder
VerticalPodAutoscalingOrBuilder getVerticalPodAutoscalingOrBuilder()Cluster-level Vertical Pod Autoscaling configuration.
.google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; -
hasShieldedNodes
boolean hasShieldedNodes()Shielded Nodes configuration.
.google.container.v1.ShieldedNodes shielded_nodes = 40;- Returns:
- Whether the shieldedNodes field is set.
-
getShieldedNodes
ShieldedNodes getShieldedNodes()Shielded Nodes configuration.
.google.container.v1.ShieldedNodes shielded_nodes = 40;- Returns:
- The shieldedNodes.
-
getShieldedNodesOrBuilder
ShieldedNodesOrBuilder getShieldedNodesOrBuilder()Shielded Nodes configuration.
.google.container.v1.ShieldedNodes shielded_nodes = 40; -
hasReleaseChannel
boolean hasReleaseChannel()Release channel configuration. If left unspecified on cluster creation and a version is specified, the cluster is enrolled in the most mature release channel where the version is available (first checking STABLE, then REGULAR, and finally RAPID). Otherwise, if no release channel configuration and no version is specified, the cluster is enrolled in the REGULAR channel with its default version.
.google.container.v1.ReleaseChannel release_channel = 41;- Returns:
- Whether the releaseChannel field is set.
-
getReleaseChannel
ReleaseChannel getReleaseChannel()Release channel configuration. If left unspecified on cluster creation and a version is specified, the cluster is enrolled in the most mature release channel where the version is available (first checking STABLE, then REGULAR, and finally RAPID). Otherwise, if no release channel configuration and no version is specified, the cluster is enrolled in the REGULAR channel with its default version.
.google.container.v1.ReleaseChannel release_channel = 41;- Returns:
- The releaseChannel.
-
getReleaseChannelOrBuilder
ReleaseChannelOrBuilder getReleaseChannelOrBuilder()Release channel configuration. If left unspecified on cluster creation and a version is specified, the cluster is enrolled in the most mature release channel where the version is available (first checking STABLE, then REGULAR, and finally RAPID). Otherwise, if no release channel configuration and no version is specified, the cluster is enrolled in the REGULAR channel with its default version.
.google.container.v1.ReleaseChannel release_channel = 41; -
hasWorkloadIdentityConfig
boolean hasWorkloadIdentityConfig()Configuration for the use of Kubernetes Service Accounts in IAM policies.
.google.container.v1.WorkloadIdentityConfig workload_identity_config = 43;- Returns:
- Whether the workloadIdentityConfig field is set.
-
getWorkloadIdentityConfig
WorkloadIdentityConfig getWorkloadIdentityConfig()Configuration for the use of Kubernetes Service Accounts in IAM policies.
.google.container.v1.WorkloadIdentityConfig workload_identity_config = 43;- Returns:
- The workloadIdentityConfig.
-
getWorkloadIdentityConfigOrBuilder
WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder()Configuration for the use of Kubernetes Service Accounts in IAM policies.
.google.container.v1.WorkloadIdentityConfig workload_identity_config = 43; -
hasMeshCertificates
boolean hasMeshCertificates()Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
.google.container.v1.MeshCertificates mesh_certificates = 67;- Returns:
- Whether the meshCertificates field is set.
-
getMeshCertificates
MeshCertificates getMeshCertificates()Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
.google.container.v1.MeshCertificates mesh_certificates = 67;- Returns:
- The meshCertificates.
-
getMeshCertificatesOrBuilder
MeshCertificatesOrBuilder getMeshCertificatesOrBuilder()Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
.google.container.v1.MeshCertificates mesh_certificates = 67; -
hasCostManagementConfig
boolean hasCostManagementConfig()Configuration for the fine-grained cost management feature.
.google.container.v1.CostManagementConfig cost_management_config = 45;- Returns:
- Whether the costManagementConfig field is set.
-
getCostManagementConfig
CostManagementConfig getCostManagementConfig()Configuration for the fine-grained cost management feature.
.google.container.v1.CostManagementConfig cost_management_config = 45;- Returns:
- The costManagementConfig.
-
getCostManagementConfigOrBuilder
CostManagementConfigOrBuilder getCostManagementConfigOrBuilder()Configuration for the fine-grained cost management feature.
.google.container.v1.CostManagementConfig cost_management_config = 45; -
hasNotificationConfig
boolean hasNotificationConfig()Notification configuration of the cluster.
.google.container.v1.NotificationConfig notification_config = 49;- Returns:
- Whether the notificationConfig field is set.
-
getNotificationConfig
NotificationConfig getNotificationConfig()Notification configuration of the cluster.
.google.container.v1.NotificationConfig notification_config = 49;- Returns:
- The notificationConfig.
-
getNotificationConfigOrBuilder
NotificationConfigOrBuilder getNotificationConfigOrBuilder()Notification configuration of the cluster.
.google.container.v1.NotificationConfig notification_config = 49; -
hasConfidentialNodes
boolean hasConfidentialNodes()Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled.
.google.container.v1.ConfidentialNodes confidential_nodes = 50;- Returns:
- Whether the confidentialNodes field is set.
-
getConfidentialNodes
ConfidentialNodes getConfidentialNodes()Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled.
.google.container.v1.ConfidentialNodes confidential_nodes = 50;- Returns:
- The confidentialNodes.
-
getConfidentialNodesOrBuilder
ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder()Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled.
.google.container.v1.ConfidentialNodes confidential_nodes = 50; -
hasIdentityServiceConfig
boolean hasIdentityServiceConfig()Configuration for Identity Service component.
.google.container.v1.IdentityServiceConfig identity_service_config = 54;- Returns:
- Whether the identityServiceConfig field is set.
-
getIdentityServiceConfig
IdentityServiceConfig getIdentityServiceConfig()Configuration for Identity Service component.
.google.container.v1.IdentityServiceConfig identity_service_config = 54;- Returns:
- The identityServiceConfig.
-
getIdentityServiceConfigOrBuilder
IdentityServiceConfigOrBuilder getIdentityServiceConfigOrBuilder()Configuration for Identity Service component.
.google.container.v1.IdentityServiceConfig identity_service_config = 54; -
getSelfLink
String getSelfLink()Output only. Server-defined URL for the resource.
string self_link = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()Output only. Server-defined URL for the resource.
string self_link = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for selfLink.
-
getZone
Deprecated.google.container.v1.Cluster.zone is deprecated. See google/container/v1/cluster_service.proto;l=3083Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use location instead.
string zone = 101 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The zone.
-
getZoneBytes
Deprecated.google.container.v1.Cluster.zone is deprecated. See google/container/v1/cluster_service.proto;l=3083Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use location instead.
string zone = 101 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for zone.
-
getEndpoint
String getEndpoint()Output only. The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.
string endpoint = 102 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The endpoint.
-
getEndpointBytes
com.google.protobuf.ByteString getEndpointBytes()Output only. The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.
string endpoint = 102 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for endpoint.
-
getInitialClusterVersion
String getInitialClusterVersion()The initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "","-": picks the default Kubernetes version
string initial_cluster_version = 103;- Returns:
- The initialClusterVersion.
-
getInitialClusterVersionBytes
com.google.protobuf.ByteString getInitialClusterVersionBytes()The initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "","-": picks the default Kubernetes version
string initial_cluster_version = 103;- Returns:
- The bytes for initialClusterVersion.
-
getCurrentMasterVersion
String getCurrentMasterVersion()Output only. The current software version of the master endpoint.
string current_master_version = 104 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The currentMasterVersion.
-
getCurrentMasterVersionBytes
com.google.protobuf.ByteString getCurrentMasterVersionBytes()Output only. The current software version of the master endpoint.
string current_master_version = 104 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for currentMasterVersion.
-
getCurrentNodeVersion
Deprecated.google.container.v1.Cluster.current_node_version is deprecated. See google/container/v1/cluster_service.proto;l=3118Output only. Deprecated, use [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools) instead. The current version of the node software components. If they are currently at multiple versions because they're in the process of being upgraded, this reflects the minimum version of all nodes.
string current_node_version = 105 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The currentNodeVersion.
-
getCurrentNodeVersionBytes
Deprecated.google.container.v1.Cluster.current_node_version is deprecated. See google/container/v1/cluster_service.proto;l=3118Output only. Deprecated, use [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools) instead. The current version of the node software components. If they are currently at multiple versions because they're in the process of being upgraded, this reflects the minimum version of all nodes.
string current_node_version = 105 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for currentNodeVersion.
-
getCreateTime
String getCreateTime()Output only. The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string create_time = 106 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeBytes
com.google.protobuf.ByteString getCreateTimeBytes()Output only. The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string create_time = 106 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for createTime.
-
getStatusValue
int getStatusValue()Output only. The current status of this cluster.
.google.container.v1.Cluster.Status status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for status.
-
getStatus
Cluster.Status getStatus()Output only. The current status of this cluster.
.google.container.v1.Cluster.Status status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The status.
-
getStatusMessage
Deprecated.google.container.v1.Cluster.status_message is deprecated. See google/container/v1/cluster_service.proto;l=3131Output only. Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available.
string status_message = 108 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The statusMessage.
-
getStatusMessageBytes
Deprecated.google.container.v1.Cluster.status_message is deprecated. See google/container/v1/cluster_service.proto;l=3131Output only. Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available.
string status_message = 108 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for statusMessage.
-
getNodeIpv4CidrSize
int getNodeIpv4CidrSize()Output only. The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range. This field will only be set when cluster is in route-based network mode.
int32 node_ipv4_cidr_size = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The nodeIpv4CidrSize.
-
getServicesIpv4Cidr
String getServicesIpv4Cidr()Output only. The IP address range of the Kubernetes services in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR.
string services_ipv4_cidr = 110 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The servicesIpv4Cidr.
-
getServicesIpv4CidrBytes
com.google.protobuf.ByteString getServicesIpv4CidrBytes()Output only. The IP address range of the Kubernetes services in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR.
string services_ipv4_cidr = 110 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for servicesIpv4Cidr.
-
getInstanceGroupUrlsList
Deprecated.google.container.v1.Cluster.instance_group_urls is deprecated. See google/container/v1/cluster_service.proto;l=3148Output only. Deprecated. Use node_pools.instance_group_urls.
repeated string instance_group_urls = 111 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- A list containing the instanceGroupUrls.
-
getInstanceGroupUrlsCount
Deprecated.google.container.v1.Cluster.instance_group_urls is deprecated. See google/container/v1/cluster_service.proto;l=3148Output only. Deprecated. Use node_pools.instance_group_urls.
repeated string instance_group_urls = 111 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The count of instanceGroupUrls.
-
getInstanceGroupUrls
Deprecated.google.container.v1.Cluster.instance_group_urls is deprecated. See google/container/v1/cluster_service.proto;l=3148Output only. Deprecated. Use node_pools.instance_group_urls.
repeated string instance_group_urls = 111 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index of the element to return.- Returns:
- The instanceGroupUrls at the given index.
-
getInstanceGroupUrlsBytes
Deprecated.google.container.v1.Cluster.instance_group_urls is deprecated. See google/container/v1/cluster_service.proto;l=3148Output only. Deprecated. Use node_pools.instance_group_urls.
repeated string instance_group_urls = 111 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the instanceGroupUrls at the given index.
-
getCurrentNodeCount
Deprecated.google.container.v1.Cluster.current_node_count is deprecated. See google/container/v1/cluster_service.proto;l=3153Output only. The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
int32 current_node_count = 112 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The currentNodeCount.
-
getExpireTime
String getExpireTime()Output only. The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string expire_time = 113 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The expireTime.
-
getExpireTimeBytes
com.google.protobuf.ByteString getExpireTimeBytes()Output only. The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string expire_time = 113 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for expireTime.
-
getLocation
String getLocation()Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
string location = 114 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The location.
-
getLocationBytes
com.google.protobuf.ByteString getLocationBytes()Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
string location = 114 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for location.
-
getEnableTpu
Deprecated.google.container.v1.Cluster.enable_tpu is deprecated. See google/container/v1/cluster_service.proto;l=3170Enable the ability to use Cloud TPUs in this cluster. This field is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25.
bool enable_tpu = 115 [deprecated = true];- Returns:
- The enableTpu.
-
getTpuIpv4CidrBlock
Deprecated.google.container.v1.Cluster.tpu_ipv4_cidr_block is deprecated. See google/container/v1/cluster_service.proto;l=3177Output only. The IP address range of the Cloud TPUs in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). This field is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25.
string tpu_ipv4_cidr_block = 116 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The tpuIpv4CidrBlock.
-
getTpuIpv4CidrBlockBytes
Deprecated.google.container.v1.Cluster.tpu_ipv4_cidr_block is deprecated. See google/container/v1/cluster_service.proto;l=3177Output only. The IP address range of the Cloud TPUs in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). This field is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25.
string tpu_ipv4_cidr_block = 116 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for tpuIpv4CidrBlock.
-
getConditionsList
List<StatusCondition> getConditionsList()Which conditions caused the current cluster state.
repeated .google.container.v1.StatusCondition conditions = 118; -
getConditions
Which conditions caused the current cluster state.
repeated .google.container.v1.StatusCondition conditions = 118; -
getConditionsCount
int getConditionsCount()Which conditions caused the current cluster state.
repeated .google.container.v1.StatusCondition conditions = 118; -
getConditionsOrBuilderList
List<? extends StatusConditionOrBuilder> getConditionsOrBuilderList()Which conditions caused the current cluster state.
repeated .google.container.v1.StatusCondition conditions = 118; -
getConditionsOrBuilder
Which conditions caused the current cluster state.
repeated .google.container.v1.StatusCondition conditions = 118; -
hasAutopilot
boolean hasAutopilot()Autopilot configuration for the cluster.
.google.container.v1.Autopilot autopilot = 128;- Returns:
- Whether the autopilot field is set.
-
getAutopilot
Autopilot getAutopilot()Autopilot configuration for the cluster.
.google.container.v1.Autopilot autopilot = 128;- Returns:
- The autopilot.
-
getAutopilotOrBuilder
AutopilotOrBuilder getAutopilotOrBuilder()Autopilot configuration for the cluster.
.google.container.v1.Autopilot autopilot = 128; -
getId
String getId()Output only. Unique id for the cluster.
string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Output only. Unique id for the cluster.
string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for id.
-
hasNodePoolDefaults
boolean hasNodePoolDefaults()Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131;- Returns:
- Whether the nodePoolDefaults field is set.
-
getNodePoolDefaults
NodePoolDefaults getNodePoolDefaults()Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131;- Returns:
- The nodePoolDefaults.
-
getNodePoolDefaultsOrBuilder
NodePoolDefaultsOrBuilder getNodePoolDefaultsOrBuilder()Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131; -
hasLoggingConfig
boolean hasLoggingConfig()Logging configuration for the cluster.
.google.container.v1.LoggingConfig logging_config = 132;- Returns:
- Whether the loggingConfig field is set.
-
getLoggingConfig
LoggingConfig getLoggingConfig()Logging configuration for the cluster.
.google.container.v1.LoggingConfig logging_config = 132;- Returns:
- The loggingConfig.
-
getLoggingConfigOrBuilder
LoggingConfigOrBuilder getLoggingConfigOrBuilder()Logging configuration for the cluster.
.google.container.v1.LoggingConfig logging_config = 132; -
hasMonitoringConfig
boolean hasMonitoringConfig()Monitoring configuration for the cluster.
.google.container.v1.MonitoringConfig monitoring_config = 133;- Returns:
- Whether the monitoringConfig field is set.
-
getMonitoringConfig
MonitoringConfig getMonitoringConfig()Monitoring configuration for the cluster.
.google.container.v1.MonitoringConfig monitoring_config = 133;- Returns:
- The monitoringConfig.
-
getMonitoringConfigOrBuilder
MonitoringConfigOrBuilder getMonitoringConfigOrBuilder()Monitoring configuration for the cluster.
.google.container.v1.MonitoringConfig monitoring_config = 133; -
hasNodePoolAutoConfig
boolean hasNodePoolAutoConfig()Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
.google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136;- Returns:
- Whether the nodePoolAutoConfig field is set.
-
getNodePoolAutoConfig
NodePoolAutoConfig getNodePoolAutoConfig()Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
.google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136;- Returns:
- The nodePoolAutoConfig.
-
getNodePoolAutoConfigOrBuilder
NodePoolAutoConfigOrBuilder getNodePoolAutoConfigOrBuilder()Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
.google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; -
hasPodAutoscaling
boolean hasPodAutoscaling()The config for pod autoscaling.
.google.container.v1.PodAutoscaling pod_autoscaling = 138;- Returns:
- Whether the podAutoscaling field is set.
-
getPodAutoscaling
PodAutoscaling getPodAutoscaling()The config for pod autoscaling.
.google.container.v1.PodAutoscaling pod_autoscaling = 138;- Returns:
- The podAutoscaling.
-
getPodAutoscalingOrBuilder
PodAutoscalingOrBuilder getPodAutoscalingOrBuilder()The config for pod autoscaling.
.google.container.v1.PodAutoscaling pod_autoscaling = 138; -
getEtag
String getEtag()This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
string etag = 139;- Returns:
- The etag.
-
getEtagBytes
com.google.protobuf.ByteString getEtagBytes()This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
string etag = 139;- Returns:
- The bytes for etag.
-
hasFleet
boolean hasFleet()Fleet information for the cluster.
.google.container.v1.Fleet fleet = 140;- Returns:
- Whether the fleet field is set.
-
getFleet
Fleet getFleet()Fleet information for the cluster.
.google.container.v1.Fleet fleet = 140;- Returns:
- The fleet.
-
getFleetOrBuilder
FleetOrBuilder getFleetOrBuilder()Fleet information for the cluster.
.google.container.v1.Fleet fleet = 140; -
hasSecurityPostureConfig
boolean hasSecurityPostureConfig()Optional. Enable/Disable Security Posture API features for the cluster.
.google.container.v1.SecurityPostureConfig security_posture_config = 145 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the securityPostureConfig field is set.
-
getSecurityPostureConfig
SecurityPostureConfig getSecurityPostureConfig()Optional. Enable/Disable Security Posture API features for the cluster.
.google.container.v1.SecurityPostureConfig security_posture_config = 145 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The securityPostureConfig.
-
getSecurityPostureConfigOrBuilder
SecurityPostureConfigOrBuilder getSecurityPostureConfigOrBuilder()Optional. Enable/Disable Security Posture API features for the cluster.
.google.container.v1.SecurityPostureConfig security_posture_config = 145 [(.google.api.field_behavior) = OPTIONAL]; -
hasControlPlaneEndpointsConfig
boolean hasControlPlaneEndpointsConfig()Configuration for all cluster's control plane endpoints.
.google.container.v1.ControlPlaneEndpointsConfig control_plane_endpoints_config = 146;- Returns:
- Whether the controlPlaneEndpointsConfig field is set.
-
getControlPlaneEndpointsConfig
ControlPlaneEndpointsConfig getControlPlaneEndpointsConfig()Configuration for all cluster's control plane endpoints.
.google.container.v1.ControlPlaneEndpointsConfig control_plane_endpoints_config = 146;- Returns:
- The controlPlaneEndpointsConfig.
-
getControlPlaneEndpointsConfigOrBuilder
ControlPlaneEndpointsConfigOrBuilder getControlPlaneEndpointsConfigOrBuilder()Configuration for all cluster's control plane endpoints.
.google.container.v1.ControlPlaneEndpointsConfig control_plane_endpoints_config = 146; -
hasEnableK8SBetaApis
boolean hasEnableK8SBetaApis()Beta APIs Config
.google.container.v1.K8sBetaAPIConfig enable_k8s_beta_apis = 143;- Returns:
- Whether the enableK8sBetaApis field is set.
-
getEnableK8SBetaApis
K8sBetaAPIConfig getEnableK8SBetaApis()Beta APIs Config
.google.container.v1.K8sBetaAPIConfig enable_k8s_beta_apis = 143;- Returns:
- The enableK8sBetaApis.
-
getEnableK8SBetaApisOrBuilder
K8sBetaAPIConfigOrBuilder getEnableK8SBetaApisOrBuilder()Beta APIs Config
.google.container.v1.K8sBetaAPIConfig enable_k8s_beta_apis = 143; -
hasEnterpriseConfig
Deprecated.google.container.v1.Cluster.enterprise_config is deprecated. See google/container/v1/cluster_service.proto;l=3228GKE Enterprise Configuration. Deprecated: GKE Enterprise features are now available without an Enterprise tier.
.google.container.v1.EnterpriseConfig enterprise_config = 149 [deprecated = true];- Returns:
- Whether the enterpriseConfig field is set.
-
getEnterpriseConfig
Deprecated.google.container.v1.Cluster.enterprise_config is deprecated. See google/container/v1/cluster_service.proto;l=3228GKE Enterprise Configuration. Deprecated: GKE Enterprise features are now available without an Enterprise tier.
.google.container.v1.EnterpriseConfig enterprise_config = 149 [deprecated = true];- Returns:
- The enterpriseConfig.
-
getEnterpriseConfigOrBuilder
Deprecated.GKE Enterprise Configuration. Deprecated: GKE Enterprise features are now available without an Enterprise tier.
.google.container.v1.EnterpriseConfig enterprise_config = 149 [deprecated = true]; -
hasSecretManagerConfig
boolean hasSecretManagerConfig()Secret CSI driver configuration.
.google.container.v1.SecretManagerConfig secret_manager_config = 150;- Returns:
- Whether the secretManagerConfig field is set.
-
getSecretManagerConfig
SecretManagerConfig getSecretManagerConfig()Secret CSI driver configuration.
.google.container.v1.SecretManagerConfig secret_manager_config = 150;- Returns:
- The secretManagerConfig.
-
getSecretManagerConfigOrBuilder
SecretManagerConfigOrBuilder getSecretManagerConfigOrBuilder()Secret CSI driver configuration.
.google.container.v1.SecretManagerConfig secret_manager_config = 150; -
hasCompliancePostureConfig
Deprecated.google.container.v1.Cluster.compliance_posture_config is deprecated. See google/container/v1/cluster_service.proto;l=3238Optional. Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Enable/Disable Compliance Posture features for the cluster.
.google.container.v1.CompliancePostureConfig compliance_posture_config = 151 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the compliancePostureConfig field is set.
-
getCompliancePostureConfig
Deprecated.google.container.v1.Cluster.compliance_posture_config is deprecated. See google/container/v1/cluster_service.proto;l=3238Optional. Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Enable/Disable Compliance Posture features for the cluster.
.google.container.v1.CompliancePostureConfig compliance_posture_config = 151 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Returns:
- The compliancePostureConfig.
-
getCompliancePostureConfigOrBuilder
Deprecated.Optional. Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Enable/Disable Compliance Posture features for the cluster.
.google.container.v1.CompliancePostureConfig compliance_posture_config = 151 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; -
hasSatisfiesPzs
boolean hasSatisfiesPzs()Output only. Reserved for future use.
optional bool satisfies_pzs = 152 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the satisfiesPzs field is set.
-
getSatisfiesPzs
boolean getSatisfiesPzs()Output only. Reserved for future use.
optional bool satisfies_pzs = 152 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The satisfiesPzs.
-
hasSatisfiesPzi
boolean hasSatisfiesPzi()Output only. Reserved for future use.
optional bool satisfies_pzi = 153 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the satisfiesPzi field is set.
-
getSatisfiesPzi
boolean getSatisfiesPzi()Output only. Reserved for future use.
optional bool satisfies_pzi = 153 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The satisfiesPzi.
-
hasUserManagedKeysConfig
boolean hasUserManagedKeysConfig()The Custom keys configuration for the cluster.
optional .google.container.v1.UserManagedKeysConfig user_managed_keys_config = 154;- Returns:
- Whether the userManagedKeysConfig field is set.
-
getUserManagedKeysConfig
UserManagedKeysConfig getUserManagedKeysConfig()The Custom keys configuration for the cluster.
optional .google.container.v1.UserManagedKeysConfig user_managed_keys_config = 154;- Returns:
- The userManagedKeysConfig.
-
getUserManagedKeysConfigOrBuilder
UserManagedKeysConfigOrBuilder getUserManagedKeysConfigOrBuilder()The Custom keys configuration for the cluster.
optional .google.container.v1.UserManagedKeysConfig user_managed_keys_config = 154; -
hasRbacBindingConfig
boolean hasRbacBindingConfig()RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.
optional .google.container.v1.RBACBindingConfig rbac_binding_config = 156;- Returns:
- Whether the rbacBindingConfig field is set.
-
getRbacBindingConfig
RBACBindingConfig getRbacBindingConfig()RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.
optional .google.container.v1.RBACBindingConfig rbac_binding_config = 156;- Returns:
- The rbacBindingConfig.
-
getRbacBindingConfigOrBuilder
RBACBindingConfigOrBuilder getRbacBindingConfigOrBuilder()RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.
optional .google.container.v1.RBACBindingConfig rbac_binding_config = 156; -
hasGkeAutoUpgradeConfig
boolean hasGkeAutoUpgradeConfig()Configuration for GKE auto upgrades.
.google.container.v1.GkeAutoUpgradeConfig gke_auto_upgrade_config = 163;- Returns:
- Whether the gkeAutoUpgradeConfig field is set.
-
getGkeAutoUpgradeConfig
GkeAutoUpgradeConfig getGkeAutoUpgradeConfig()Configuration for GKE auto upgrades.
.google.container.v1.GkeAutoUpgradeConfig gke_auto_upgrade_config = 163;- Returns:
- The gkeAutoUpgradeConfig.
-
getGkeAutoUpgradeConfigOrBuilder
GkeAutoUpgradeConfigOrBuilder getGkeAutoUpgradeConfigOrBuilder()Configuration for GKE auto upgrades.
.google.container.v1.GkeAutoUpgradeConfig gke_auto_upgrade_config = 163; -
hasAnonymousAuthenticationConfig
boolean hasAnonymousAuthenticationConfig()Configuration for limiting anonymous access to all endpoints except the health checks.
.google.container.v1.AnonymousAuthenticationConfig anonymous_authentication_config = 164;- Returns:
- Whether the anonymousAuthenticationConfig field is set.
-
getAnonymousAuthenticationConfig
AnonymousAuthenticationConfig getAnonymousAuthenticationConfig()Configuration for limiting anonymous access to all endpoints except the health checks.
.google.container.v1.AnonymousAuthenticationConfig anonymous_authentication_config = 164;- Returns:
- The anonymousAuthenticationConfig.
-
getAnonymousAuthenticationConfigOrBuilder
AnonymousAuthenticationConfigOrBuilder getAnonymousAuthenticationConfigOrBuilder()Configuration for limiting anonymous access to all endpoints except the health checks.
.google.container.v1.AnonymousAuthenticationConfig anonymous_authentication_config = 164; -
hasScheduleUpgradeConfig
boolean hasScheduleUpgradeConfig()Optional. Configuration for scheduled upgrades.
.google.container.v1.ScheduleUpgradeConfig schedule_upgrade_config = 165 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the scheduleUpgradeConfig field is set.
-
getScheduleUpgradeConfig
ScheduleUpgradeConfig getScheduleUpgradeConfig()Optional. Configuration for scheduled upgrades.
.google.container.v1.ScheduleUpgradeConfig schedule_upgrade_config = 165 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The scheduleUpgradeConfig.
-
getScheduleUpgradeConfigOrBuilder
ScheduleUpgradeConfigOrBuilder getScheduleUpgradeConfigOrBuilder()Optional. Configuration for scheduled upgrades.
.google.container.v1.ScheduleUpgradeConfig schedule_upgrade_config = 165 [(.google.api.field_behavior) = OPTIONAL]; -
hasSecretSyncConfig
boolean hasSecretSyncConfig()Configuration for sync Secret Manager secrets as k8s secrets.
.google.container.v1.SecretSyncConfig secret_sync_config = 166;- Returns:
- Whether the secretSyncConfig field is set.
-
getSecretSyncConfig
SecretSyncConfig getSecretSyncConfig()Configuration for sync Secret Manager secrets as k8s secrets.
.google.container.v1.SecretSyncConfig secret_sync_config = 166;- Returns:
- The secretSyncConfig.
-
getSecretSyncConfigOrBuilder
SecretSyncConfigOrBuilder getSecretSyncConfigOrBuilder()Configuration for sync Secret Manager secrets as k8s secrets.
.google.container.v1.SecretSyncConfig secret_sync_config = 166; -
hasManagedOpentelemetryConfig
boolean hasManagedOpentelemetryConfig()Configuration for Managed OpenTelemetry pipeline.
.google.container.v1.ManagedOpenTelemetryConfig managed_opentelemetry_config = 168;- Returns:
- Whether the managedOpentelemetryConfig field is set.
-
getManagedOpentelemetryConfig
ManagedOpenTelemetryConfig getManagedOpentelemetryConfig()Configuration for Managed OpenTelemetry pipeline.
.google.container.v1.ManagedOpenTelemetryConfig managed_opentelemetry_config = 168;- Returns:
- The managedOpentelemetryConfig.
-
getManagedOpentelemetryConfigOrBuilder
ManagedOpenTelemetryConfigOrBuilder getManagedOpentelemetryConfigOrBuilder()Configuration for Managed OpenTelemetry pipeline.
.google.container.v1.ManagedOpenTelemetryConfig managed_opentelemetry_config = 168; -
hasControlPlaneEgress
boolean hasControlPlaneEgress()Configuration for control plane egress control.
.google.container.v1.ControlPlaneEgress control_plane_egress = 169;- Returns:
- Whether the controlPlaneEgress field is set.
-
getControlPlaneEgress
ControlPlaneEgress getControlPlaneEgress()Configuration for control plane egress control.
.google.container.v1.ControlPlaneEgress control_plane_egress = 169;- Returns:
- The controlPlaneEgress.
-
getControlPlaneEgressOrBuilder
ControlPlaneEgressOrBuilder getControlPlaneEgressOrBuilder()Configuration for control plane egress control.
.google.container.v1.ControlPlaneEgress control_plane_egress = 169; -
hasManagedMachineLearningDiagnosticsConfig
boolean hasManagedMachineLearningDiagnosticsConfig()Configuration for Managed Machine Learning Diagnostics.
.google.container.v1.ManagedMachineLearningDiagnosticsConfig managed_machine_learning_diagnostics_config = 171;- Returns:
- Whether the managedMachineLearningDiagnosticsConfig field is set.
-
getManagedMachineLearningDiagnosticsConfig
ManagedMachineLearningDiagnosticsConfig getManagedMachineLearningDiagnosticsConfig()Configuration for Managed Machine Learning Diagnostics.
.google.container.v1.ManagedMachineLearningDiagnosticsConfig managed_machine_learning_diagnostics_config = 171;- Returns:
- The managedMachineLearningDiagnosticsConfig.
-
getManagedMachineLearningDiagnosticsConfigOrBuilder
ManagedMachineLearningDiagnosticsConfigOrBuilder getManagedMachineLearningDiagnosticsConfigOrBuilder()Configuration for Managed Machine Learning Diagnostics.
.google.container.v1.ManagedMachineLearningDiagnosticsConfig managed_machine_learning_diagnostics_config = 171; -
hasNodeCreationConfig
boolean hasNodeCreationConfig()Optional. Configuration for Node Creation Mode.
.google.container.v1.NodeCreationConfig node_creation_config = 174 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the nodeCreationConfig field is set.
-
getNodeCreationConfig
NodeCreationConfig getNodeCreationConfig()Optional. Configuration for Node Creation Mode.
.google.container.v1.NodeCreationConfig node_creation_config = 174 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The nodeCreationConfig.
-
getNodeCreationConfigOrBuilder
NodeCreationConfigOrBuilder getNodeCreationConfigOrBuilder()Optional. Configuration for Node Creation Mode.
.google.container.v1.NodeCreationConfig node_creation_config = 174 [(.google.api.field_behavior) = OPTIONAL];
-