Package com.google.container.v1
Interface ClusterOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Cluster
,Cluster.Builder
public interface ClusterOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsResourceLabels(String key)
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.AddonsConfig
getAddonsConfig()
Configurations for the various addons available to run in the cluster.AddonsConfigOrBuilder
getAddonsConfigOrBuilder()
Configurations for the various addons available to run in the cluster.AuthenticatorGroupsConfig
getAuthenticatorGroupsConfig()
Configuration controlling RBAC group membership information.AuthenticatorGroupsConfigOrBuilder
getAuthenticatorGroupsConfigOrBuilder()
Configuration controlling RBAC group membership information.Autopilot
getAutopilot()
Autopilot configuration for the cluster.AutopilotOrBuilder
getAutopilotOrBuilder()
Autopilot configuration for the cluster.ClusterAutoscaling
getAutoscaling()
Cluster-level autoscaling configuration.ClusterAutoscalingOrBuilder
getAutoscalingOrBuilder()
Cluster-level autoscaling configuration.BinaryAuthorization
getBinaryAuthorization()
Configuration for Binary Authorization.BinaryAuthorizationOrBuilder
getBinaryAuthorizationOrBuilder()
Configuration for Binary Authorization.String
getClusterIpv4Cidr()
The IP address range of the container pods in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g.com.google.protobuf.ByteString
getClusterIpv4CidrBytes()
The IP address range of the container pods in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g.StatusCondition
getConditions(int index)
Which conditions caused the current cluster state.int
getConditionsCount()
Which conditions caused the current cluster state.List<StatusCondition>
getConditionsList()
Which conditions caused the current cluster state.StatusConditionOrBuilder
getConditionsOrBuilder(int index)
Which conditions caused the current cluster state.List<? extends StatusConditionOrBuilder>
getConditionsOrBuilderList()
Which conditions caused the current cluster state.ConfidentialNodes
getConfidentialNodes()
Configuration of Confidential Nodes.ConfidentialNodesOrBuilder
getConfidentialNodesOrBuilder()
Configuration of Confidential Nodes.CostManagementConfig
getCostManagementConfig()
Configuration for the fine-grained cost management feature.CostManagementConfigOrBuilder
getCostManagementConfigOrBuilder()
Configuration for the fine-grained cost management feature.String
getCreateTime()
[Output only] The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.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
getCurrentMasterVersion()
[Output only] The current software version of the master endpoint.com.google.protobuf.ByteString
getCurrentMasterVersionBytes()
[Output only] The current software version of the master endpoint.int
getCurrentNodeCount()
Deprecated.google.container.v1.Cluster.current_node_count is deprecated.String
getCurrentNodeVersion()
Deprecated.google.container.v1.Cluster.current_node_version is deprecated.com.google.protobuf.ByteString
getCurrentNodeVersionBytes()
Deprecated.google.container.v1.Cluster.current_node_version is deprecated.DatabaseEncryption
getDatabaseEncryption()
Configuration of etcd encryption.DatabaseEncryptionOrBuilder
getDatabaseEncryptionOrBuilder()
Configuration of etcd encryption.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.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.String
getDescription()
An optional description of this cluster.com.google.protobuf.ByteString
getDescriptionBytes()
An optional description of this cluster.K8sBetaAPIConfig
getEnableK8SBetaApis()
Beta APIs ConfigK8sBetaAPIConfigOrBuilder
getEnableK8SBetaApisOrBuilder()
Beta APIs Configboolean
getEnableKubernetesAlpha()
Kubernetes alpha features are enabled on this cluster.boolean
getEnableTpu()
Enable the ability to use Cloud TPUs in this cluster.String
getEndpoint()
[Output only] The IP address of this cluster's master endpoint.com.google.protobuf.ByteString
getEndpointBytes()
[Output only] The IP address of this cluster's master endpoint.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.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
getExpireTime()
[Output only] The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.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.Fleet
getFleet()
Fleet information for the cluster.FleetOrBuilder
getFleetOrBuilder()
Fleet information for the cluster.String
getId()
Output only.com.google.protobuf.ByteString
getIdBytes()
Output only.IdentityServiceConfig
getIdentityServiceConfig()
Configuration for Identity Service component.IdentityServiceConfigOrBuilder
getIdentityServiceConfigOrBuilder()
Configuration for Identity Service component.String
getInitialClusterVersion()
The initial Kubernetes version for this cluster.com.google.protobuf.ByteString
getInitialClusterVersionBytes()
The initial Kubernetes version for this cluster.int
getInitialNodeCount()
Deprecated.google.container.v1.Cluster.initial_node_count is deprecated.String
getInstanceGroupUrls(int index)
Deprecated.google.container.v1.Cluster.instance_group_urls is deprecated.com.google.protobuf.ByteString
getInstanceGroupUrlsBytes(int index)
Deprecated.google.container.v1.Cluster.instance_group_urls is deprecated.int
getInstanceGroupUrlsCount()
Deprecated.google.container.v1.Cluster.instance_group_urls is deprecated.List<String>
getInstanceGroupUrlsList()
Deprecated.google.container.v1.Cluster.instance_group_urls is deprecated.IPAllocationPolicy
getIpAllocationPolicy()
Configuration for cluster IP allocation.IPAllocationPolicyOrBuilder
getIpAllocationPolicyOrBuilder()
Configuration for cluster IP allocation.String
getLabelFingerprint()
The fingerprint of the set of labels for this cluster.com.google.protobuf.ByteString
getLabelFingerprintBytes()
The fingerprint of the set of labels for this cluster.LegacyAbac
getLegacyAbac()
Configuration for the legacy ABAC authorization mode.LegacyAbacOrBuilder
getLegacyAbacOrBuilder()
Configuration for the legacy ABAC authorization mode.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.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
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.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.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.List<String>
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.LoggingConfig
getLoggingConfig()
Logging configuration for the cluster.LoggingConfigOrBuilder
getLoggingConfigOrBuilder()
Logging configuration for the cluster.String
getLoggingService()
The logging service the cluster should use to write logs.com.google.protobuf.ByteString
getLoggingServiceBytes()
The logging service the cluster should use to write logs.MaintenancePolicy
getMaintenancePolicy()
Configure the maintenance policy for this cluster.MaintenancePolicyOrBuilder
getMaintenancePolicyOrBuilder()
Configure the maintenance policy for this cluster.MasterAuth
getMasterAuth()
The authentication information for accessing the master endpoint.MasterAuthOrBuilder
getMasterAuthOrBuilder()
The authentication information for accessing the master endpoint.MasterAuthorizedNetworksConfig
getMasterAuthorizedNetworksConfig()
The configuration options for master authorized networks feature.MasterAuthorizedNetworksConfigOrBuilder
getMasterAuthorizedNetworksConfigOrBuilder()
The configuration options for master authorized networks feature.MeshCertificates
getMeshCertificates()
Configuration for issuance of mTLS keys and certificates to Kubernetes pods.MeshCertificatesOrBuilder
getMeshCertificatesOrBuilder()
Configuration for issuance of mTLS keys and certificates to Kubernetes pods.MonitoringConfig
getMonitoringConfig()
Monitoring configuration for the cluster.MonitoringConfigOrBuilder
getMonitoringConfigOrBuilder()
Monitoring configuration for the cluster.String
getMonitoringService()
The monitoring service the cluster should use to write metrics.com.google.protobuf.ByteString
getMonitoringServiceBytes()
The monitoring service the cluster should use to write metrics.String
getName()
The name of this cluster.com.google.protobuf.ByteString
getNameBytes()
The name of this cluster.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.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.NetworkConfig
getNetworkConfig()
Configuration for cluster networking.NetworkConfigOrBuilder
getNetworkConfigOrBuilder()
Configuration for cluster networking.NetworkPolicy
getNetworkPolicy()
Configuration options for the NetworkPolicy feature.NetworkPolicyOrBuilder
getNetworkPolicyOrBuilder()
Configuration options for the NetworkPolicy feature.NodeConfig
getNodeConfig()
Deprecated.google.container.v1.Cluster.node_config is deprecated.NodeConfigOrBuilder
getNodeConfigOrBuilder()
Deprecated.int
getNodeIpv4CidrSize()
[Output only] The size of the address space on each node for hosting containers.NodePoolAutoConfig
getNodePoolAutoConfig()
Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.NodePoolAutoConfigOrBuilder
getNodePoolAutoConfigOrBuilder()
Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.NodePoolDefaults
getNodePoolDefaults()
Default NodePool settings for the entire cluster.NodePoolDefaultsOrBuilder
getNodePoolDefaultsOrBuilder()
Default NodePool settings for the entire cluster.NodePool
getNodePools(int index)
The node pools associated with this cluster.int
getNodePoolsCount()
The node pools associated with this cluster.List<NodePool>
getNodePoolsList()
The node pools associated with this cluster.NodePoolOrBuilder
getNodePoolsOrBuilder(int index)
The node pools associated with this cluster.List<? extends NodePoolOrBuilder>
getNodePoolsOrBuilderList()
The node pools associated with this cluster.NotificationConfig
getNotificationConfig()
Notification configuration of the cluster.NotificationConfigOrBuilder
getNotificationConfigOrBuilder()
Notification configuration of the cluster.PrivateClusterConfig
getPrivateClusterConfig()
Configuration for private cluster.PrivateClusterConfigOrBuilder
getPrivateClusterConfigOrBuilder()
Configuration for private cluster.ReleaseChannel
getReleaseChannel()
Release channel configuration.ReleaseChannelOrBuilder
getReleaseChannelOrBuilder()
Release channel configuration.Map<String,String>
getResourceLabels()
Deprecated.int
getResourceLabelsCount()
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.Map<String,String>
getResourceLabelsMap()
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.String
getResourceLabelsOrDefault(String key, String defaultValue)
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.String
getResourceLabelsOrThrow(String key)
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.ResourceUsageExportConfig
getResourceUsageExportConfig()
Configuration for exporting resource usages.ResourceUsageExportConfigOrBuilder
getResourceUsageExportConfigOrBuilder()
Configuration for exporting resource usages.SecurityPostureConfig
getSecurityPostureConfig()
Enable/Disable Security Posture API features for the cluster.SecurityPostureConfigOrBuilder
getSecurityPostureConfigOrBuilder()
Enable/Disable Security Posture API features for the cluster.String
getSelfLink()
[Output only] Server-defined URL for the resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output only] Server-defined URL for the resource.String
getServicesIpv4Cidr()
[Output only] The IP address range of the Kubernetes services in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g.com.google.protobuf.ByteString
getServicesIpv4CidrBytes()
[Output only] The IP address range of the Kubernetes services in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g.ShieldedNodes
getShieldedNodes()
Shielded Nodes configuration.ShieldedNodesOrBuilder
getShieldedNodesOrBuilder()
Shielded Nodes configuration.Cluster.Status
getStatus()
[Output only] The current status of this cluster.String
getStatusMessage()
Deprecated.google.container.v1.Cluster.status_message is deprecated.com.google.protobuf.ByteString
getStatusMessageBytes()
Deprecated.google.container.v1.Cluster.status_message is deprecated.int
getStatusValue()
[Output only] The current status of this cluster.String
getSubnetwork()
The name of the Google Compute Engine [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which the cluster is connected.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
getTpuIpv4CidrBlock()
[Output only] The IP address range of the Cloud TPUs in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g.com.google.protobuf.ByteString
getTpuIpv4CidrBlockBytes()
[Output only] The IP address range of the Cloud TPUs in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g.VerticalPodAutoscaling
getVerticalPodAutoscaling()
Cluster-level Vertical Pod Autoscaling configuration.VerticalPodAutoscalingOrBuilder
getVerticalPodAutoscalingOrBuilder()
Cluster-level Vertical Pod Autoscaling configuration.WorkloadIdentityConfig
getWorkloadIdentityConfig()
Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.WorkloadIdentityConfigOrBuilder
getWorkloadIdentityConfigOrBuilder()
Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.String
getZone()
Deprecated.google.container.v1.Cluster.zone is deprecated.com.google.protobuf.ByteString
getZoneBytes()
Deprecated.google.container.v1.Cluster.zone is deprecated.boolean
hasAddonsConfig()
Configurations for the various addons available to run in the cluster.boolean
hasAuthenticatorGroupsConfig()
Configuration controlling RBAC group membership information.boolean
hasAutopilot()
Autopilot configuration for the cluster.boolean
hasAutoscaling()
Cluster-level autoscaling configuration.boolean
hasBinaryAuthorization()
Configuration for Binary Authorization.boolean
hasConfidentialNodes()
Configuration of Confidential Nodes.boolean
hasCostManagementConfig()
Configuration for the fine-grained cost management feature.boolean
hasDatabaseEncryption()
Configuration of etcd encryption.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.boolean
hasEnableK8SBetaApis()
Beta APIs Configboolean
hasFleet()
Fleet information for the cluster.boolean
hasIdentityServiceConfig()
Configuration for Identity Service component.boolean
hasIpAllocationPolicy()
Configuration for cluster IP allocation.boolean
hasLegacyAbac()
Configuration for the legacy ABAC authorization mode.boolean
hasLoggingConfig()
Logging configuration for the cluster.boolean
hasMaintenancePolicy()
Configure the maintenance policy for this cluster.boolean
hasMasterAuth()
The authentication information for accessing the master endpoint.boolean
hasMasterAuthorizedNetworksConfig()
The configuration options for master authorized networks feature.boolean
hasMeshCertificates()
Configuration for issuance of mTLS keys and certificates to Kubernetes pods.boolean
hasMonitoringConfig()
Monitoring configuration for the cluster.boolean
hasNetworkConfig()
Configuration for cluster networking.boolean
hasNetworkPolicy()
Configuration options for the NetworkPolicy feature.boolean
hasNodeConfig()
Deprecated.google.container.v1.Cluster.node_config is deprecated.boolean
hasNodePoolAutoConfig()
Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.boolean
hasNodePoolDefaults()
Default NodePool settings for the entire cluster.boolean
hasNotificationConfig()
Notification configuration of the cluster.boolean
hasPrivateClusterConfig()
Configuration for private cluster.boolean
hasReleaseChannel()
Release channel configuration.boolean
hasResourceUsageExportConfig()
Configuration for exporting resource usages.boolean
hasSecurityPostureConfig()
Enable/Disable Security Posture API features for the cluster.boolean
hasShieldedNodes()
Shielded Nodes configuration.boolean
hasVerticalPodAutoscaling()
Cluster-level Vertical Pod Autoscaling configuration.boolean
hasWorkloadIdentityConfig()
Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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 int getInitialNodeCount()
Deprecated.google.container.v1.Cluster.initial_node_count is deprecated. See google/container/v1/cluster_service.proto;l=1668The 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 boolean hasNodeConfig()
Deprecated.google.container.v1.Cluster.node_config is deprecated. See google/container/v1/cluster_service.proto;l=1681Parameters 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 NodeConfig getNodeConfig()
Deprecated.google.container.v1.Cluster.node_config is deprecated. See google/container/v1/cluster_service.proto;l=1681Parameters 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 NodeConfigOrBuilder 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](http://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](http://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
List<NodePool> 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
NodePool getNodePools(int index)
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
NodePoolOrBuilder getNodePoolsOrBuilder(int index)
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
List<String> 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
String 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. 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.
-
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
boolean containsResourceLabels(String key)
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 15;
-
getResourceLabels
@Deprecated Map<String,String> getResourceLabels()
Deprecated.UsegetResourceLabelsMap()
instead.
-
getResourceLabelsMap
Map<String,String> getResourceLabelsMap()
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 15;
-
getResourceLabelsOrDefault
String getResourceLabelsOrDefault(String key, String defaultValue)
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
map<string, string> resource_labels = 15;
-
getResourceLabelsOrThrow
String getResourceLabelsOrThrow(String key)
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
boolean hasMasterAuthorizedNetworksConfig()
The configuration options for master authorized networks feature.
.google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22;
- Returns:
- Whether the masterAuthorizedNetworksConfig field is set.
-
getMasterAuthorizedNetworksConfig
MasterAuthorizedNetworksConfig getMasterAuthorizedNetworksConfig()
The configuration options for master authorized networks feature.
.google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22;
- Returns:
- The masterAuthorizedNetworksConfig.
-
getMasterAuthorizedNetworksConfigOrBuilder
MasterAuthorizedNetworksConfigOrBuilder getMasterAuthorizedNetworksConfigOrBuilder()
The configuration options for master authorized networks feature.
.google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22;
-
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 GCP 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 GCP 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 GCP 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;
- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()
[Output only] Server-defined URL for the resource.
string self_link = 100;
- Returns:
- The bytes for selfLink.
-
getZone
@Deprecated String getZone()
Deprecated.google.container.v1.Cluster.zone is deprecated. See google/container/v1/cluster_service.proto;l=1852[Output 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];
- Returns:
- The zone.
-
getZoneBytes
@Deprecated com.google.protobuf.ByteString getZoneBytes()
Deprecated.google.container.v1.Cluster.zone is deprecated. See google/container/v1/cluster_service.proto;l=1852[Output 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];
- 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;
- 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;
- 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;
- Returns:
- The currentMasterVersion.
-
getCurrentMasterVersionBytes
com.google.protobuf.ByteString getCurrentMasterVersionBytes()
[Output only] The current software version of the master endpoint.
string current_master_version = 104;
- Returns:
- The bytes for currentMasterVersion.
-
getCurrentNodeVersion
@Deprecated String getCurrentNodeVersion()
Deprecated.google.container.v1.Cluster.current_node_version is deprecated. See google/container/v1/cluster_service.proto;l=1885[Output 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];
- Returns:
- The currentNodeVersion.
-
getCurrentNodeVersionBytes
@Deprecated com.google.protobuf.ByteString getCurrentNodeVersionBytes()
Deprecated.google.container.v1.Cluster.current_node_version is deprecated. See google/container/v1/cluster_service.proto;l=1885[Output 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];
- 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;
- 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;
- Returns:
- The bytes for createTime.
-
getStatusValue
int getStatusValue()
[Output only] The current status of this cluster.
.google.container.v1.Cluster.Status status = 107;
- 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;
- Returns:
- The status.
-
getStatusMessage
@Deprecated String getStatusMessage()
Deprecated.google.container.v1.Cluster.status_message is deprecated. See google/container/v1/cluster_service.proto;l=1897[Output only] Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available.
string status_message = 108 [deprecated = true];
- Returns:
- The statusMessage.
-
getStatusMessageBytes
@Deprecated com.google.protobuf.ByteString getStatusMessageBytes()
Deprecated.google.container.v1.Cluster.status_message is deprecated. See google/container/v1/cluster_service.proto;l=1897[Output only] Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available.
string status_message = 108 [deprecated = true];
- 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;
- Returns:
- The nodeIpv4CidrSize.
-
getServicesIpv4Cidr
String getServicesIpv4Cidr()
[Output only] The IP address range of the Kubernetes services in this cluster, in [CIDR](http://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;
- Returns:
- The servicesIpv4Cidr.
-
getServicesIpv4CidrBytes
com.google.protobuf.ByteString getServicesIpv4CidrBytes()
[Output only] The IP address range of the Kubernetes services in this cluster, in [CIDR](http://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;
- Returns:
- The bytes for servicesIpv4Cidr.
-
getInstanceGroupUrlsList
@Deprecated List<String> getInstanceGroupUrlsList()
Deprecated.google.container.v1.Cluster.instance_group_urls is deprecated. See google/container/v1/cluster_service.proto;l=1913Deprecated. Use node_pools.instance_group_urls.
repeated string instance_group_urls = 111 [deprecated = true];
- Returns:
- A list containing the instanceGroupUrls.
-
getInstanceGroupUrlsCount
@Deprecated int getInstanceGroupUrlsCount()
Deprecated.google.container.v1.Cluster.instance_group_urls is deprecated. See google/container/v1/cluster_service.proto;l=1913Deprecated. Use node_pools.instance_group_urls.
repeated string instance_group_urls = 111 [deprecated = true];
- Returns:
- The count of instanceGroupUrls.
-
getInstanceGroupUrls
@Deprecated String getInstanceGroupUrls(int index)
Deprecated.google.container.v1.Cluster.instance_group_urls is deprecated. See google/container/v1/cluster_service.proto;l=1913Deprecated. Use node_pools.instance_group_urls.
repeated string instance_group_urls = 111 [deprecated = true];
- Parameters:
index
- The index of the element to return.- Returns:
- The instanceGroupUrls at the given index.
-
getInstanceGroupUrlsBytes
@Deprecated com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index)
Deprecated.google.container.v1.Cluster.instance_group_urls is deprecated. See google/container/v1/cluster_service.proto;l=1913Deprecated. Use node_pools.instance_group_urls.
repeated string instance_group_urls = 111 [deprecated = true];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the instanceGroupUrls at the given index.
-
getCurrentNodeCount
@Deprecated int getCurrentNodeCount()
Deprecated.google.container.v1.Cluster.current_node_count is deprecated. See google/container/v1/cluster_service.proto;l=1917[Output 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];
- 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;
- 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;
- 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;
- 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;
- Returns:
- The bytes for location.
-
getEnableTpu
boolean getEnableTpu()
Enable the ability to use Cloud TPUs in this cluster.
bool enable_tpu = 115;
- Returns:
- The enableTpu.
-
getTpuIpv4CidrBlock
String getTpuIpv4CidrBlock()
[Output only] The IP address range of the Cloud TPUs in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`).
string tpu_ipv4_cidr_block = 116;
- Returns:
- The tpuIpv4CidrBlock.
-
getTpuIpv4CidrBlockBytes
com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes()
[Output only] The IP address range of the Cloud TPUs in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`).
string tpu_ipv4_cidr_block = 116;
- Returns:
- The bytes for tpuIpv4CidrBlock.
-
getConditionsList
List<StatusCondition> getConditionsList()
Which conditions caused the current cluster state.
repeated .google.container.v1.StatusCondition conditions = 118;
-
getConditions
StatusCondition getConditions(int index)
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
StatusConditionOrBuilder getConditionsOrBuilder(int index)
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;
-
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()
Enable/Disable Security Posture API features for the cluster.
.google.container.v1.SecurityPostureConfig security_posture_config = 145;
- Returns:
- Whether the securityPostureConfig field is set.
-
getSecurityPostureConfig
SecurityPostureConfig getSecurityPostureConfig()
Enable/Disable Security Posture API features for the cluster.
.google.container.v1.SecurityPostureConfig security_posture_config = 145;
- Returns:
- The securityPostureConfig.
-
getSecurityPostureConfigOrBuilder
SecurityPostureConfigOrBuilder getSecurityPostureConfigOrBuilder()
Enable/Disable Security Posture API features for the cluster.
.google.container.v1.SecurityPostureConfig security_posture_config = 145;
-
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;
-
-