Class ClusterUpdate.Builder (2.4.1)

public static final class ClusterUpdate.Builder extends GeneratedMessageV3.Builder<ClusterUpdate.Builder> implements ClusterUpdateOrBuilder

ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided.

Protobuf type google.container.v1.ClusterUpdate

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllDesiredLocations(Iterable<String> values)

public ClusterUpdate.Builder addAllDesiredLocations(Iterable<String> values)

The desired list of Google Compute Engine zones in which the cluster's nodes should be located. This list must always include the cluster's primary zone. Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed.

repeated string desired_locations = 10;

Parameter
NameDescription
valuesIterable<String>

The desiredLocations to add.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

addDesiredLocations(String value)

public ClusterUpdate.Builder addDesiredLocations(String value)

The desired list of Google Compute Engine zones in which the cluster's nodes should be located. This list must always include the cluster's primary zone. Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed.

repeated string desired_locations = 10;

Parameter
NameDescription
valueString

The desiredLocations to add.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

addDesiredLocationsBytes(ByteString value)

public ClusterUpdate.Builder addDesiredLocationsBytes(ByteString value)

The desired list of Google Compute Engine zones in which the cluster's nodes should be located. This list must always include the cluster's primary zone. Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed.

repeated string desired_locations = 10;

Parameter
NameDescription
valueByteString

The bytes of the desiredLocations to add.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ClusterUpdate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ClusterUpdate.Builder
Overrides

build()

public ClusterUpdate build()
Returns
TypeDescription
ClusterUpdate

buildPartial()

public ClusterUpdate buildPartial()
Returns
TypeDescription
ClusterUpdate

clear()

public ClusterUpdate.Builder clear()
Returns
TypeDescription
ClusterUpdate.Builder
Overrides

clearDesiredAddonsConfig()

public ClusterUpdate.Builder clearDesiredAddonsConfig()

Configurations for the various addons available to run in the cluster.

.google.container.v1.AddonsConfig desired_addons_config = 6;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredAuthenticatorGroupsConfig()

public ClusterUpdate.Builder clearDesiredAuthenticatorGroupsConfig()

The desired authenticator groups config for the cluster.

.google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredBinaryAuthorization()

public ClusterUpdate.Builder clearDesiredBinaryAuthorization()

The desired configuration options for the Binary Authorization feature.

.google.container.v1.BinaryAuthorization desired_binary_authorization = 16;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredClusterAutoscaling()

public ClusterUpdate.Builder clearDesiredClusterAutoscaling()

Cluster-level autoscaling configuration.

.google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredDatabaseEncryption()

public ClusterUpdate.Builder clearDesiredDatabaseEncryption()

Configuration of etcd encryption.

.google.container.v1.DatabaseEncryption desired_database_encryption = 46;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredDatapathProvider()

public ClusterUpdate.Builder clearDesiredDatapathProvider()

The desired datapath provider for the cluster.

.google.container.v1.DatapathProvider desired_datapath_provider = 50;

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

clearDesiredDefaultSnatStatus()

public ClusterUpdate.Builder clearDesiredDefaultSnatStatus()

The desired status of whether to disable default sNAT for this cluster.

.google.container.v1.DefaultSnatStatus desired_default_snat_status = 28;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredDnsConfig()

public ClusterUpdate.Builder clearDesiredDnsConfig()

DNSConfig contains clusterDNS config for this cluster.

.google.container.v1.DNSConfig desired_dns_config = 53;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredGcfsConfig()

public ClusterUpdate.Builder clearDesiredGcfsConfig()

The desired GCFS config for the cluster

.google.container.v1.GcfsConfig desired_gcfs_config = 109;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredImageType()

public ClusterUpdate.Builder clearDesiredImageType()

The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well.

string desired_image_type = 8;

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

clearDesiredIntraNodeVisibilityConfig()

public ClusterUpdate.Builder clearDesiredIntraNodeVisibilityConfig()

The desired config of Intra-node visibility.

.google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredL4IlbSubsettingConfig()

public ClusterUpdate.Builder clearDesiredL4IlbSubsettingConfig()

The desired L4 Internal Load Balancer Subsetting configuration.

.google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredLocations()

public ClusterUpdate.Builder clearDesiredLocations()

The desired list of Google Compute Engine zones in which the cluster's nodes should be located. This list must always include the cluster's primary zone. Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed.

repeated string desired_locations = 10;

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

clearDesiredLoggingConfig()

public ClusterUpdate.Builder clearDesiredLoggingConfig()

The desired logging configuration.

.google.container.v1.LoggingConfig desired_logging_config = 64;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredLoggingService()

public ClusterUpdate.Builder clearDesiredLoggingService()

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 desired_logging_service = 19;

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

clearDesiredMasterAuthorizedNetworksConfig()

public ClusterUpdate.Builder clearDesiredMasterAuthorizedNetworksConfig()

The desired configuration options for master authorized networks feature.

.google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredMasterVersion()

public ClusterUpdate.Builder clearDesiredMasterVersion()

The Kubernetes version to change the master to. 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 desired_master_version = 100;

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

clearDesiredMeshCertificates()

public ClusterUpdate.Builder clearDesiredMeshCertificates()

Configuration for issuance of mTLS keys and certificates to Kubernetes pods.

.google.container.v1.MeshCertificates desired_mesh_certificates = 67;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredMonitoringConfig()

public ClusterUpdate.Builder clearDesiredMonitoringConfig()

The desired monitoring configuration.

.google.container.v1.MonitoringConfig desired_monitoring_config = 65;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredMonitoringService()

public ClusterUpdate.Builder clearDesiredMonitoringService()

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 desired_monitoring_service = 5;

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

clearDesiredNodePoolAutoscaling()

public ClusterUpdate.Builder clearDesiredNodePoolAutoscaling()

Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool.

.google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredNodePoolId()

public ClusterUpdate.Builder clearDesiredNodePoolId()

The node pool to be upgraded. This field is mandatory if "desired_node_version", "desired_image_family" or "desired_node_pool_autoscaling" is specified and there is more than one node pool on the cluster.

string desired_node_pool_id = 7;

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

clearDesiredNodeVersion()

public ClusterUpdate.Builder clearDesiredNodeVersion()

The Kubernetes version to change the nodes to (typically an upgrade). 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 Kubernetes master version

string desired_node_version = 4;

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

clearDesiredNotificationConfig()

public ClusterUpdate.Builder clearDesiredNotificationConfig()

The desired notification configuration.

.google.container.v1.NotificationConfig desired_notification_config = 55;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredPrivateClusterConfig()

public ClusterUpdate.Builder clearDesiredPrivateClusterConfig()

The desired private cluster configuration.

.google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredPrivateIpv6GoogleAccess()

public ClusterUpdate.Builder clearDesiredPrivateIpv6GoogleAccess()

The desired state of IPv6 connectivity to Google Services.

.google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51;

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

clearDesiredReleaseChannel()

public ClusterUpdate.Builder clearDesiredReleaseChannel()

The desired release channel configuration.

.google.container.v1.ReleaseChannel desired_release_channel = 31;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredResourceUsageExportConfig()

public ClusterUpdate.Builder clearDesiredResourceUsageExportConfig()

The desired configuration for exporting resource usage.

.google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredServiceExternalIpsConfig()

public ClusterUpdate.Builder clearDesiredServiceExternalIpsConfig()

ServiceExternalIPsConfig specifies the config for the use of Services with ExternalIPs field.

.google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredShieldedNodes()

public ClusterUpdate.Builder clearDesiredShieldedNodes()

Configuration for Shielded Nodes.

.google.container.v1.ShieldedNodes desired_shielded_nodes = 48;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredVerticalPodAutoscaling()

public ClusterUpdate.Builder clearDesiredVerticalPodAutoscaling()

Cluster-level Vertical Pod Autoscaling configuration.

.google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22;

Returns
TypeDescription
ClusterUpdate.Builder

clearDesiredWorkloadIdentityConfig()

public ClusterUpdate.Builder clearDesiredWorkloadIdentityConfig()

Configuration for Workload Identity.

.google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47;

Returns
TypeDescription
ClusterUpdate.Builder

clearField(Descriptors.FieldDescriptor field)

public ClusterUpdate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ClusterUpdate.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ClusterUpdate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ClusterUpdate.Builder
Overrides

clone()

public ClusterUpdate.Builder clone()
Returns
TypeDescription
ClusterUpdate.Builder
Overrides

getDefaultInstanceForType()

public ClusterUpdate getDefaultInstanceForType()
Returns
TypeDescription
ClusterUpdate

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDesiredAddonsConfig()

public AddonsConfig getDesiredAddonsConfig()

Configurations for the various addons available to run in the cluster.

.google.container.v1.AddonsConfig desired_addons_config = 6;

Returns
TypeDescription
AddonsConfig

The desiredAddonsConfig.

getDesiredAddonsConfigBuilder()

public AddonsConfig.Builder getDesiredAddonsConfigBuilder()

Configurations for the various addons available to run in the cluster.

.google.container.v1.AddonsConfig desired_addons_config = 6;

Returns
TypeDescription
AddonsConfig.Builder

getDesiredAddonsConfigOrBuilder()

public AddonsConfigOrBuilder getDesiredAddonsConfigOrBuilder()

Configurations for the various addons available to run in the cluster.

.google.container.v1.AddonsConfig desired_addons_config = 6;

Returns
TypeDescription
AddonsConfigOrBuilder

getDesiredAuthenticatorGroupsConfig()

public AuthenticatorGroupsConfig getDesiredAuthenticatorGroupsConfig()

The desired authenticator groups config for the cluster.

.google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63;

Returns
TypeDescription
AuthenticatorGroupsConfig

The desiredAuthenticatorGroupsConfig.

getDesiredAuthenticatorGroupsConfigBuilder()

public AuthenticatorGroupsConfig.Builder getDesiredAuthenticatorGroupsConfigBuilder()

The desired authenticator groups config for the cluster.

.google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63;

Returns
TypeDescription
AuthenticatorGroupsConfig.Builder

getDesiredAuthenticatorGroupsConfigOrBuilder()

public AuthenticatorGroupsConfigOrBuilder getDesiredAuthenticatorGroupsConfigOrBuilder()

The desired authenticator groups config for the cluster.

.google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63;

Returns
TypeDescription
AuthenticatorGroupsConfigOrBuilder

getDesiredBinaryAuthorization()

public BinaryAuthorization getDesiredBinaryAuthorization()

The desired configuration options for the Binary Authorization feature.

.google.container.v1.BinaryAuthorization desired_binary_authorization = 16;

Returns
TypeDescription
BinaryAuthorization

The desiredBinaryAuthorization.

getDesiredBinaryAuthorizationBuilder()

public BinaryAuthorization.Builder getDesiredBinaryAuthorizationBuilder()

The desired configuration options for the Binary Authorization feature.

.google.container.v1.BinaryAuthorization desired_binary_authorization = 16;

Returns
TypeDescription
BinaryAuthorization.Builder

getDesiredBinaryAuthorizationOrBuilder()

public BinaryAuthorizationOrBuilder getDesiredBinaryAuthorizationOrBuilder()

The desired configuration options for the Binary Authorization feature.

.google.container.v1.BinaryAuthorization desired_binary_authorization = 16;

Returns
TypeDescription
BinaryAuthorizationOrBuilder

getDesiredClusterAutoscaling()

public ClusterAutoscaling getDesiredClusterAutoscaling()

Cluster-level autoscaling configuration.

.google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15;

Returns
TypeDescription
ClusterAutoscaling

The desiredClusterAutoscaling.

getDesiredClusterAutoscalingBuilder()

public ClusterAutoscaling.Builder getDesiredClusterAutoscalingBuilder()

Cluster-level autoscaling configuration.

.google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15;

Returns
TypeDescription
ClusterAutoscaling.Builder

getDesiredClusterAutoscalingOrBuilder()

public ClusterAutoscalingOrBuilder getDesiredClusterAutoscalingOrBuilder()

Cluster-level autoscaling configuration.

.google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15;

Returns
TypeDescription
ClusterAutoscalingOrBuilder

getDesiredDatabaseEncryption()

public DatabaseEncryption getDesiredDatabaseEncryption()

Configuration of etcd encryption.

.google.container.v1.DatabaseEncryption desired_database_encryption = 46;

Returns
TypeDescription
DatabaseEncryption

The desiredDatabaseEncryption.

getDesiredDatabaseEncryptionBuilder()

public DatabaseEncryption.Builder getDesiredDatabaseEncryptionBuilder()

Configuration of etcd encryption.

.google.container.v1.DatabaseEncryption desired_database_encryption = 46;

Returns
TypeDescription
DatabaseEncryption.Builder

getDesiredDatabaseEncryptionOrBuilder()

public DatabaseEncryptionOrBuilder getDesiredDatabaseEncryptionOrBuilder()

Configuration of etcd encryption.

.google.container.v1.DatabaseEncryption desired_database_encryption = 46;

Returns
TypeDescription
DatabaseEncryptionOrBuilder

getDesiredDatapathProvider()

public DatapathProvider getDesiredDatapathProvider()

The desired datapath provider for the cluster.

.google.container.v1.DatapathProvider desired_datapath_provider = 50;

Returns
TypeDescription
DatapathProvider

The desiredDatapathProvider.

getDesiredDatapathProviderValue()

public int getDesiredDatapathProviderValue()

The desired datapath provider for the cluster.

.google.container.v1.DatapathProvider desired_datapath_provider = 50;

Returns
TypeDescription
int

The enum numeric value on the wire for desiredDatapathProvider.

getDesiredDefaultSnatStatus()

public DefaultSnatStatus getDesiredDefaultSnatStatus()

The desired status of whether to disable default sNAT for this cluster.

.google.container.v1.DefaultSnatStatus desired_default_snat_status = 28;

Returns
TypeDescription
DefaultSnatStatus

The desiredDefaultSnatStatus.

getDesiredDefaultSnatStatusBuilder()

public DefaultSnatStatus.Builder getDesiredDefaultSnatStatusBuilder()

The desired status of whether to disable default sNAT for this cluster.

.google.container.v1.DefaultSnatStatus desired_default_snat_status = 28;

Returns
TypeDescription
DefaultSnatStatus.Builder

getDesiredDefaultSnatStatusOrBuilder()

public DefaultSnatStatusOrBuilder getDesiredDefaultSnatStatusOrBuilder()

The desired status of whether to disable default sNAT for this cluster.

.google.container.v1.DefaultSnatStatus desired_default_snat_status = 28;

Returns
TypeDescription
DefaultSnatStatusOrBuilder

getDesiredDnsConfig()

public DNSConfig getDesiredDnsConfig()

DNSConfig contains clusterDNS config for this cluster.

.google.container.v1.DNSConfig desired_dns_config = 53;

Returns
TypeDescription
DNSConfig

The desiredDnsConfig.

getDesiredDnsConfigBuilder()

public DNSConfig.Builder getDesiredDnsConfigBuilder()

DNSConfig contains clusterDNS config for this cluster.

.google.container.v1.DNSConfig desired_dns_config = 53;

Returns
TypeDescription
DNSConfig.Builder

getDesiredDnsConfigOrBuilder()

public DNSConfigOrBuilder getDesiredDnsConfigOrBuilder()

DNSConfig contains clusterDNS config for this cluster.

.google.container.v1.DNSConfig desired_dns_config = 53;

Returns
TypeDescription
DNSConfigOrBuilder

getDesiredGcfsConfig()

public GcfsConfig getDesiredGcfsConfig()

The desired GCFS config for the cluster

.google.container.v1.GcfsConfig desired_gcfs_config = 109;

Returns
TypeDescription
GcfsConfig

The desiredGcfsConfig.

getDesiredGcfsConfigBuilder()

public GcfsConfig.Builder getDesiredGcfsConfigBuilder()

The desired GCFS config for the cluster

.google.container.v1.GcfsConfig desired_gcfs_config = 109;

Returns
TypeDescription
GcfsConfig.Builder

getDesiredGcfsConfigOrBuilder()

public GcfsConfigOrBuilder getDesiredGcfsConfigOrBuilder()

The desired GCFS config for the cluster

.google.container.v1.GcfsConfig desired_gcfs_config = 109;

Returns
TypeDescription
GcfsConfigOrBuilder

getDesiredImageType()

public String getDesiredImageType()

The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well.

string desired_image_type = 8;

Returns
TypeDescription
String

The desiredImageType.

getDesiredImageTypeBytes()

public ByteString getDesiredImageTypeBytes()

The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well.

string desired_image_type = 8;

Returns
TypeDescription
ByteString

The bytes for desiredImageType.

getDesiredIntraNodeVisibilityConfig()

public IntraNodeVisibilityConfig getDesiredIntraNodeVisibilityConfig()

The desired config of Intra-node visibility.

.google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26;

Returns
TypeDescription
IntraNodeVisibilityConfig

The desiredIntraNodeVisibilityConfig.

getDesiredIntraNodeVisibilityConfigBuilder()

public IntraNodeVisibilityConfig.Builder getDesiredIntraNodeVisibilityConfigBuilder()

The desired config of Intra-node visibility.

.google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26;

Returns
TypeDescription
IntraNodeVisibilityConfig.Builder

getDesiredIntraNodeVisibilityConfigOrBuilder()

public IntraNodeVisibilityConfigOrBuilder getDesiredIntraNodeVisibilityConfigOrBuilder()

The desired config of Intra-node visibility.

.google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26;

Returns
TypeDescription
IntraNodeVisibilityConfigOrBuilder

getDesiredL4IlbSubsettingConfig()

public ILBSubsettingConfig getDesiredL4IlbSubsettingConfig()

The desired L4 Internal Load Balancer Subsetting configuration.

.google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39;

Returns
TypeDescription
ILBSubsettingConfig

The desiredL4ilbSubsettingConfig.

getDesiredL4IlbSubsettingConfigBuilder()

public ILBSubsettingConfig.Builder getDesiredL4IlbSubsettingConfigBuilder()

The desired L4 Internal Load Balancer Subsetting configuration.

.google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39;

Returns
TypeDescription
ILBSubsettingConfig.Builder

getDesiredL4IlbSubsettingConfigOrBuilder()

public ILBSubsettingConfigOrBuilder getDesiredL4IlbSubsettingConfigOrBuilder()

The desired L4 Internal Load Balancer Subsetting configuration.

.google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39;

Returns
TypeDescription
ILBSubsettingConfigOrBuilder

getDesiredLocations(int index)

public String getDesiredLocations(int index)

The desired list of Google Compute Engine zones in which the cluster's nodes should be located. This list must always include the cluster's primary zone. Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed.

repeated string desired_locations = 10;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The desiredLocations at the given index.

getDesiredLocationsBytes(int index)

public ByteString getDesiredLocationsBytes(int index)

The desired list of Google Compute Engine zones in which the cluster's nodes should be located. This list must always include the cluster's primary zone. Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed.

repeated string desired_locations = 10;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the desiredLocations at the given index.

getDesiredLocationsCount()

public int getDesiredLocationsCount()

The desired list of Google Compute Engine zones in which the cluster's nodes should be located. This list must always include the cluster's primary zone. Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed.

repeated string desired_locations = 10;

Returns
TypeDescription
int

The count of desiredLocations.

getDesiredLocationsList()

public ProtocolStringList getDesiredLocationsList()

The desired list of Google Compute Engine zones in which the cluster's nodes should be located. This list must always include the cluster's primary zone. Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed.

repeated string desired_locations = 10;

Returns
TypeDescription
ProtocolStringList

A list containing the desiredLocations.

getDesiredLoggingConfig()

public LoggingConfig getDesiredLoggingConfig()

The desired logging configuration.

.google.container.v1.LoggingConfig desired_logging_config = 64;

Returns
TypeDescription
LoggingConfig

The desiredLoggingConfig.

getDesiredLoggingConfigBuilder()

public LoggingConfig.Builder getDesiredLoggingConfigBuilder()

The desired logging configuration.

.google.container.v1.LoggingConfig desired_logging_config = 64;

Returns
TypeDescription
LoggingConfig.Builder

getDesiredLoggingConfigOrBuilder()

public LoggingConfigOrBuilder getDesiredLoggingConfigOrBuilder()

The desired logging configuration.

.google.container.v1.LoggingConfig desired_logging_config = 64;

Returns
TypeDescription
LoggingConfigOrBuilder

getDesiredLoggingService()

public String getDesiredLoggingService()

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 desired_logging_service = 19;

Returns
TypeDescription
String

The desiredLoggingService.

getDesiredLoggingServiceBytes()

public ByteString getDesiredLoggingServiceBytes()

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 desired_logging_service = 19;

Returns
TypeDescription
ByteString

The bytes for desiredLoggingService.

getDesiredMasterAuthorizedNetworksConfig()

public MasterAuthorizedNetworksConfig getDesiredMasterAuthorizedNetworksConfig()

The desired configuration options for master authorized networks feature.

.google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12;

Returns
TypeDescription
MasterAuthorizedNetworksConfig

The desiredMasterAuthorizedNetworksConfig.

getDesiredMasterAuthorizedNetworksConfigBuilder()

public MasterAuthorizedNetworksConfig.Builder getDesiredMasterAuthorizedNetworksConfigBuilder()

The desired configuration options for master authorized networks feature.

.google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12;

Returns
TypeDescription
MasterAuthorizedNetworksConfig.Builder

getDesiredMasterAuthorizedNetworksConfigOrBuilder()

public MasterAuthorizedNetworksConfigOrBuilder getDesiredMasterAuthorizedNetworksConfigOrBuilder()

The desired configuration options for master authorized networks feature.

.google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12;

Returns
TypeDescription
MasterAuthorizedNetworksConfigOrBuilder

getDesiredMasterVersion()

public String getDesiredMasterVersion()

The Kubernetes version to change the master to. 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 desired_master_version = 100;

Returns
TypeDescription
String

The desiredMasterVersion.

getDesiredMasterVersionBytes()

public ByteString getDesiredMasterVersionBytes()

The Kubernetes version to change the master to. 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 desired_master_version = 100;

Returns
TypeDescription
ByteString

The bytes for desiredMasterVersion.

getDesiredMeshCertificates()

public MeshCertificates getDesiredMeshCertificates()

Configuration for issuance of mTLS keys and certificates to Kubernetes pods.

.google.container.v1.MeshCertificates desired_mesh_certificates = 67;

Returns
TypeDescription
MeshCertificates

The desiredMeshCertificates.

getDesiredMeshCertificatesBuilder()

public MeshCertificates.Builder getDesiredMeshCertificatesBuilder()

Configuration for issuance of mTLS keys and certificates to Kubernetes pods.

.google.container.v1.MeshCertificates desired_mesh_certificates = 67;

Returns
TypeDescription
MeshCertificates.Builder

getDesiredMeshCertificatesOrBuilder()

public MeshCertificatesOrBuilder getDesiredMeshCertificatesOrBuilder()

Configuration for issuance of mTLS keys and certificates to Kubernetes pods.

.google.container.v1.MeshCertificates desired_mesh_certificates = 67;

Returns
TypeDescription
MeshCertificatesOrBuilder

getDesiredMonitoringConfig()

public MonitoringConfig getDesiredMonitoringConfig()

The desired monitoring configuration.

.google.container.v1.MonitoringConfig desired_monitoring_config = 65;

Returns
TypeDescription
MonitoringConfig

The desiredMonitoringConfig.

getDesiredMonitoringConfigBuilder()

public MonitoringConfig.Builder getDesiredMonitoringConfigBuilder()

The desired monitoring configuration.

.google.container.v1.MonitoringConfig desired_monitoring_config = 65;

Returns
TypeDescription
MonitoringConfig.Builder

getDesiredMonitoringConfigOrBuilder()

public MonitoringConfigOrBuilder getDesiredMonitoringConfigOrBuilder()

The desired monitoring configuration.

.google.container.v1.MonitoringConfig desired_monitoring_config = 65;

Returns
TypeDescription
MonitoringConfigOrBuilder

getDesiredMonitoringService()

public String getDesiredMonitoringService()

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 desired_monitoring_service = 5;

Returns
TypeDescription
String

The desiredMonitoringService.

getDesiredMonitoringServiceBytes()

public ByteString getDesiredMonitoringServiceBytes()

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 desired_monitoring_service = 5;

Returns
TypeDescription
ByteString

The bytes for desiredMonitoringService.

getDesiredNodePoolAutoscaling()

public NodePoolAutoscaling getDesiredNodePoolAutoscaling()

Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool.

.google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;

Returns
TypeDescription
NodePoolAutoscaling

The desiredNodePoolAutoscaling.

getDesiredNodePoolAutoscalingBuilder()

public NodePoolAutoscaling.Builder getDesiredNodePoolAutoscalingBuilder()

Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool.

.google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;

Returns
TypeDescription
NodePoolAutoscaling.Builder

getDesiredNodePoolAutoscalingOrBuilder()

public NodePoolAutoscalingOrBuilder getDesiredNodePoolAutoscalingOrBuilder()

Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool.

.google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;

Returns
TypeDescription
NodePoolAutoscalingOrBuilder

getDesiredNodePoolId()

public String getDesiredNodePoolId()

The node pool to be upgraded. This field is mandatory if "desired_node_version", "desired_image_family" or "desired_node_pool_autoscaling" is specified and there is m