Class ClusterUpdate.Builder (2.16.0)

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

clearDesiredCostManagementConfig()

public ClusterUpdate.Builder clearDesiredCostManagementConfig()

The desired configuration for the fine-grained cost management feature.

.google.container.v1.CostManagementConfig desired_cost_management_config = 49;

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

clearDesiredEnablePrivateEndpoint()

public ClusterUpdate.Builder clearDesiredEnablePrivateEndpoint()

Enable/Disable private endpoint for the cluster's master.

optional bool desired_enable_private_endpoint = 71;

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

clearDesiredGatewayApiConfig()

public ClusterUpdate.Builder clearDesiredGatewayApiConfig()

The desired config of Gateway API on this cluster.

.google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114;

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

clearDesiredIdentityServiceConfig()

public ClusterUpdate.Builder clearDesiredIdentityServiceConfig()

The desired Identity Service component configuration.

.google.container.v1.IdentityServiceConfig desired_identity_service_config = 66;

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.

clearDesiredNodePoolAutoConfigNetworkTags()

public ClusterUpdate.Builder clearDesiredNodePoolAutoConfigNetworkTags()

The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.

.google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110;

Returns
TypeDescription
ClusterUpdate.Builder

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.

clearDesiredNodePoolLoggingConfig()

public ClusterUpdate.Builder clearDesiredNodePoolLoggingConfig()

The desired node pool logging configuration defaults for the cluster.

.google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116;

Returns
TypeDescription
ClusterUpdate.Builder

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

clearDesiredStackType()

public ClusterUpdate.Builder clearDesiredStackType()

The desired stack type of the cluster. If a stack type is provided and does not match the current stack type of the cluster, update will attempt to change the stack type to the new type.

.google.container.v1.StackType desired_stack_type = 119;

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

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

clearEtag()

public ClusterUpdate.Builder clearEtag()

The current etag of the cluster. If an etag is provided and does not match the current etag of the cluster, update will be blocked and an ABORTED error will be returned.

string etag = 115;

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

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

getDesiredCostManagementConfig()

public CostManagementConfig getDesiredCostManagementConfig()

The desired configuration for the fine-grained cost management feature.

.google.container.v1.CostManagementConfig desired_cost_management_config = 49;

Returns
TypeDescription
CostManagementConfig

The desiredCostManagementConfig.

getDesiredCostManagementConfigBuilder()

public CostManagementConfig.Builder getDesiredCostManagementConfigBuilder()

The desired configuration for the fine-grained cost management feature.

.google.container.v1.CostManagementConfig desired_cost_management_config = 49;

Returns
TypeDescription
CostManagementConfig.Builder

getDesiredCostManagementConfigOrBuilder()

public CostManagementConfigOrBuilder getDesiredCostManagementConfigOrBuilder()

The desired configuration for the fine-grained cost management feature.

.google.container.v1.CostManagementConfig desired_cost_management_config = 49;

Returns
TypeDescription
CostManagementConfigOrBuilder

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

getDesiredEnablePrivateEndpoint()

public boolean getDesiredEnablePrivateEndpoint()

Enable/Disable private endpoint for the cluster's master.

optional bool desired_enable_private_endpoint = 71;

Returns
TypeDescription
boolean

The desiredEnablePrivateEndpoint.

getDesiredGatewayApiConfig()

public GatewayAPIConfig getDesiredGatewayApiConfig()

The desired config of Gateway API on this cluster.

.google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114;

Returns
TypeDescription
GatewayAPIConfig

The desiredGatewayApiConfig.

getDesiredGatewayApiConfigBuilder()

public GatewayAPIConfig.Builder getDesiredGatewayApiConfigBuilder()

The desired config of Gateway API on this cluster.

.google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114;

Returns
TypeDescription
GatewayAPIConfig.Builder

getDesiredGatewayApiConfigOrBuilder()

public GatewayAPIConfigOrBuilder getDesiredGatewayApiConfigOrBuilder()

The desired config of Gateway API on this cluster.

.google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114;

Returns
TypeDescription
GatewayAPIConfigOrBuilder

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

getDesiredIdentityServiceConfig()

public IdentityServiceConfig getDesiredIdentityServiceConfig()

The desired Identity Service component configuration.

.google.container.v1.IdentityServiceConfig desired_identity_service_config = 66;

Returns
TypeDescription
IdentityServiceConfig

The desiredIdentityServiceConfig.

getDesiredIdentityServiceConfigBuilder()

public IdentityServiceConfig.Builder getDesiredIdentityServiceConfigBuilder()

The desired Identity Service component configuration.

.google.container.v1.IdentityServiceConfig desired_identity_service_config = 66;

Returns
TypeDescription
IdentityServiceConfig.Builder

getDesiredIdentityServiceConfigOrBuilder()

public IdentityServiceConfigOrBuilder getDesiredIdentityServiceConfigOrBuilder()

The desired Identity Service component configuration.

.google.container.v1.IdentityServiceConfig desired_identity_service_config = 66;

Returns
TypeDescription
IdentityServiceConfigOrBuilder

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.

getDesiredNodePoolAutoConfigNetworkTags()

public NetworkTags getDesiredNodePoolAutoConfigNetworkTags()

The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.

.google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110;

Returns
TypeDescription
NetworkTags

The desiredNodePoolAutoConfigNetworkTags.

getDesiredNodePoolAutoConfigNetworkTagsBuilder()

public NetworkTags.Builder getDesiredNodePoolAutoConfigNetworkTagsBuilder()

The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.

.google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110;

Returns
TypeDescription
NetworkTags.Builder

getDesiredNodePoolAutoConfigNetworkTagsOrBuilder()

public NetworkTagsOrBuilder getDesiredNodePoolAutoConfigNetworkTagsOrBuilder()

The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.

.google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110;

Returns
TypeDescription
NetworkTagsOrBuilder

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 more than one node pool on the cluster.

string desired_node_pool_id = 7;

Returns
TypeDescription
String

The desiredNodePoolId.

getDesiredNodePoolIdBytes()

public ByteString getDesiredNodePoolIdBytes()

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
ByteString

The bytes for desiredNodePoolId.

getDesiredNodePoolLoggingConfig()

public NodePoolLoggingConfig getDesiredNodePoolLoggingConfig()

The desired node pool logging configuration defaults for the cluster.

.google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116;

Returns
TypeDescription
NodePoolLoggingConfig

The desiredNodePoolLoggingConfig.

getDesiredNodePoolLoggingConfigBuilder()

public NodePoolLoggingConfig.Builder getDesiredNodePoolLoggingConfigBuilder()

The desired node pool logging configuration defaults for the cluster.

.google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116;

Returns
TypeDescription
NodePoolLoggingConfig.Builder

getDesiredNodePoolLoggingConfigOrBuilder()

public NodePoolLoggingConfigOrBuilder getDesiredNodePoolLoggingConfigOrBuilder()

The desired node pool logging configuration defaults for the cluster.

.google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116;

Returns
TypeDescription
NodePoolLoggingConfigOrBuilder

getDesiredNodeVersion()

public String getDesiredNodeVersion()

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
String

The desiredNodeVersion.

getDesiredNodeVersionBytes()

public ByteString getDesiredNodeVersionBytes()

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
ByteString

The bytes for desiredNodeVersion.

getDesiredNotificationConfig()

public NotificationConfig getDesiredNotificationConfig()

The desired notification configuration.

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

Returns
TypeDescription
NotificationConfig

The desiredNotificationConfig.

getDesiredNotificationConfigBuilder()

public NotificationConfig.Builder getDesiredNotificationConfigBuilder()

The desired notification configuration.

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

Returns
TypeDescription
NotificationConfig.Builder

getDesiredNotificationConfigOrBuilder()

public NotificationConfigOrBuilder getDesiredNotificationConfigOrBuilder()

The desired notification configuration.

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

Returns
TypeDescription
NotificationConfigOrBuilder

getDesiredPrivateClusterConfig()

public PrivateClusterConfig getDesiredPrivateClusterConfig()

The desired private cluster configuration.

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

Returns
TypeDescription
PrivateClusterConfig

The desiredPrivateClusterConfig.

getDesiredPrivateClusterConfigBuilder()

public PrivateClusterConfig.Builder getDesiredPrivateClusterConfigBuilder()

The desired private cluster configuration.

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

Returns
TypeDescription
PrivateClusterConfig.Builder

getDesiredPrivateClusterConfigOrBuilder()

public PrivateClusterConfigOrBuilder getDesiredPrivateClusterConfigOrBuilder()

The desired private cluster configuration.

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

Returns
TypeDescription
PrivateClusterConfigOrBuilder

getDesiredPrivateIpv6GoogleAccess()

public PrivateIPv6GoogleAccess getDesiredPrivateIpv6GoogleAccess()

The desired state of IPv6 connectivity to Google Services.

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

Returns
TypeDescription
PrivateIPv6GoogleAccess

The desiredPrivateIpv6GoogleAccess.

getDesiredPrivateIpv6GoogleAccessValue()

public int getDesiredPrivateIpv6GoogleAccessValue()

The desired state of IPv6 connectivity to Google Services.

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

Returns
TypeDescription
int

The enum numeric value on the wire for desiredPrivateIpv6GoogleAccess.

getDesiredReleaseChannel()

public ReleaseChannel getDesiredReleaseChannel()

The desired release channel configuration.

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

Returns
TypeDescription
ReleaseChannel

The desiredReleaseChannel.

getDesiredReleaseChannelBuilder()

public ReleaseChannel.Builder getDesiredReleaseChannelBuilder()

The desired release channel configuration.

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

Returns
TypeDescription
ReleaseChannel.Builder

getDesiredReleaseChannelOrBuilder()

public ReleaseChannelOrBuilder getDesiredReleaseChannelOrBuilder()

The desired release channel configuration.

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

Returns
TypeDescription
ReleaseChannelOrBuilder

getDesiredResourceUsageExportConfig()

public ResourceUsageExportConfig getDesiredResourceUsageExportConfig()

The desired configuration for exporting resource usage.

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

Returns
TypeDescription
ResourceUsageExportConfig

The desiredResourceUsageExportConfig.

getDesiredResourceUsageExportConfigBuilder()

public ResourceUsageExportConfig.Builder getDesiredResourceUsageExportConfigBuilder()

The desired configuration for exporting resource usage.

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

Returns
TypeDescription
ResourceUsageExportConfig.Builder

getDesiredResourceUsageExportConfigOrBuilder()

public ResourceUsageExportConfigOrBuilder getDesiredResourceUsageExportConfigOrBuilder()

The desired configuration for exporting resource usage.

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

Returns
TypeDescription
ResourceUsageExportConfigOrBuilder

getDesiredServiceExternalIpsConfig()

public ServiceExternalIPsConfig getDesiredServiceExternalIpsConfig()

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

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

Returns
TypeDescription
ServiceExternalIPsConfig

The desiredServiceExternalIpsConfig.

getDesiredServiceExternalIpsConfigBuilder()

public ServiceExternalIPsConfig.Builder getDesiredServiceExternalIpsConfigBuilder()

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

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

Returns
TypeDescription
ServiceExternalIPsConfig.Builder

getDesiredServiceExternalIpsConfigOrBuilder()

public ServiceExternalIPsConfigOrBuilder getDesiredServiceExternalIpsConfigOrBuilder()

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

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

Returns
TypeDescription
ServiceExternalIPsConfigOrBuilder

getDesiredShieldedNodes()

public ShieldedNodes getDesiredShieldedNodes()

Configuration for Shielded Nodes.

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

Returns
TypeDescription
ShieldedNodes

The desiredShieldedNodes.

getDesiredShieldedNodesBuilder()

public ShieldedNodes.Builder getDesiredShieldedNodesBuilder()

Configuration for Shielded Nodes.

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

Returns
TypeDescription
ShieldedNodes.Builder

getDesiredShieldedNodesOrBuilder()

public ShieldedNodesOrBuilder getDesiredShieldedNodesOrBuilder()

Configuration for Shielded Nodes.

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

Returns
TypeDescription
ShieldedNodesOrBuilder

getDesiredStackType()

public StackType getDesiredStackType()

The desired stack type of the cluster. If a stack type is provided and does not match the current stack type of the cluster, update will attempt to change the stack type to the new type.

.google.container.v1.StackType desired_stack_type = 119;

Returns
TypeDescription
StackType

The desiredStackType.

getDesiredStackTypeValue()

public int getDesiredStackTypeValue()

The desired stack type of the cluster. If a stack type is provided and does not match the current stack type of the cluster, update will attempt to change the stack type to the new type.

.google.container.v1.StackType desired_stack_type = 119;

Returns
TypeDescription
int

The enum numeric value on the wire for desiredStackType.

getDesiredVerticalPodAutoscaling()

public VerticalPodAutoscaling getDesiredVerticalPodAutoscaling()

Cluster-level Vertical Pod Autoscaling configuration.

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

Returns
TypeDescription
VerticalPodAutoscaling

The desiredVerticalPodAutoscaling.

getDesiredVerticalPodAutoscalingBuilder()

public VerticalPodAutoscaling.Builder getDesiredVerticalPodAutoscalingBuilder()

Cluster-level Vertical Pod Autoscaling configuration.

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

Returns
TypeDescription
VerticalPodAutoscaling.Builder

getDesiredVerticalPodAutoscalingOrBuilder()

public VerticalPodAutoscalingOrBuilder getDesiredVerticalPodAutoscalingOrBuilder()

Cluster-level Vertical Pod Autoscaling configuration.

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

Returns
TypeDescription
VerticalPodAutoscalingOrBuilder

getDesiredWorkloadIdentityConfig()

public WorkloadIdentityConfig getDesiredWorkloadIdentityConfig()

Configuration for Workload Identity.

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

Returns
TypeDescription
WorkloadIdentityConfig

The desiredWorkloadIdentityConfig.

getDesiredWorkloadIdentityConfigBuilder()

public WorkloadIdentityConfig.Builder getDesiredWorkloadIdentityConfigBuilder()

Configuration for Workload Identity.

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

Returns
TypeDescription
WorkloadIdentityConfig.Builder

getDesiredWorkloadIdentityConfigOrBuilder()

public WorkloadIdentityConfigOrBuilder getDesiredWorkloadIdentityConfigOrBuilder()

Configuration for Workload Identity.

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

Returns
TypeDescription
WorkloadIdentityConfigOrBuilder

getEtag()

public String getEtag()

The current etag of the cluster. If an etag is provided and does not match the current etag of the cluster, update will be blocked and an ABORTED error will be returned.

string etag = 115;

Returns
TypeDescription
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

The current etag of the cluster. If an etag is provided and does not match the current etag of the cluster, update will be blocked and an ABORTED error will be returned.

string etag = 115;

Returns
TypeDescription
ByteString

The bytes for etag.

hasDesiredAddonsConfig()

public boolean hasDesiredAddonsConfig()

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

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

Returns
TypeDescription
boolean

Whether the desiredAddonsConfig field is set.

hasDesiredAuthenticatorGroupsConfig()

public boolean hasDesiredAuthenticatorGroupsConfig()

The desired authenticator groups config for the cluster.

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

Returns
TypeDescription
boolean

Whether the desiredAuthenticatorGroupsConfig field is set.

hasDesiredBinaryAuthorization()

public boolean hasDesiredBinaryAuthorization()

The desired configuration options for the Binary Authorization feature.

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

Returns
TypeDescription
boolean

Whether the desiredBinaryAuthorization field is set.

hasDesiredClusterAutoscaling()

public boolean hasDesiredClusterAutoscaling()

Cluster-level autoscaling configuration.

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

Returns
TypeDescription
boolean

Whether the desiredClusterAutoscaling field is set.

hasDesiredCostManagementConfig()

public boolean hasDesiredCostManagementConfig()

The desired configuration for the fine-grained cost management feature.

.google.container.v1.CostManagementConfig desired_cost_management_config = 49;

Returns
TypeDescription
boolean

Whether the desiredCostManagementConfig field is set.

hasDesiredDatabaseEncryption()

public boolean hasDesiredDatabaseEncryption()

Configuration of etcd encryption.

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

Returns
TypeDescription
boolean

Whether the desiredDatabaseEncryption field is set.

hasDesiredDefaultSnatStatus()

public boolean hasDesiredDefaultSnatStatus()

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

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

Returns
TypeDescription
boolean

Whether the desiredDefaultSnatStatus field is set.

hasDesiredDnsConfig()

public boolean hasDesiredDnsConfig()

DNSConfig contains clusterDNS config for this cluster.

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

Returns
TypeDescription
boolean

Whether the desiredDnsConfig field is set.

hasDesiredEnablePrivateEndpoint()

public boolean hasDesiredEnablePrivateEndpoint()

Enable/Disable private endpoint for the cluster's master.

optional bool desired_enable_private_endpoint = 71;

Returns
TypeDescription
boolean

Whether the desiredEnablePrivateEndpoint field is set.

hasDesiredGatewayApiConfig()

public boolean hasDesiredGatewayApiConfig()

The desired config of Gateway API on this cluster.

.google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114;

Returns
TypeDescription
boolean

Whether the desiredGatewayApiConfig field is set.

hasDesiredGcfsConfig()

public boolean hasDesiredGcfsConfig()

The desired GCFS config for the cluster

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

Returns
TypeDescription
boolean

Whether the desiredGcfsConfig field is set.

hasDesiredIdentityServiceConfig()

public boolean hasDesiredIdentityServiceConfig()

The desired Identity Service component configuration.

.google.container.v1.IdentityServiceConfig desired_identity_service_config = 66;

Returns
TypeDescription
boolean

Whether the desiredIdentityServiceConfig field is set.

hasDesiredIntraNodeVisibilityConfig()

public boolean hasDesiredIntraNodeVisibilityConfig()

The desired config of Intra-node visibility.

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

Returns
TypeDescription
boolean

Whether the desiredIntraNodeVisibilityConfig field is set.

hasDesiredL4IlbSubsettingConfig()

public boolean hasDesiredL4IlbSubsettingConfig()

The desired L4 Internal Load Balancer Subsetting configuration.

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

Returns
TypeDescription
boolean

Whether the desiredL4ilbSubsettingConfig field is set.

hasDesiredLoggingConfig()

public boolean hasDesiredLoggingConfig()

The desired logging configuration.

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

Returns
TypeDescription
boolean

Whether the desiredLoggingConfig field is set.

hasDesiredMasterAuthorizedNetworksConfig()

public boolean hasDesiredMasterAuthorizedNetworksConfig()

The desired configuration options for master authorized networks feature.

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

Returns
TypeDescription
boolean

Whether the desiredMasterAuthorizedNetworksConfig field is set.

hasDesiredMeshCertificates()

public boolean hasDesiredMeshCertificates()

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

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

Returns
TypeDescription
boolean

Whether the desiredMeshCertificates field is set.

hasDesiredMonitoringConfig()

public boolean hasDesiredMonitoringConfig()

The desired monitoring configuration.

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

Returns
TypeDescription
boolean

Whether the desiredMonitoringConfig field is set.

hasDesiredNodePoolAutoConfigNetworkTags()

public boolean hasDesiredNodePoolAutoConfigNetworkTags()

The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.

.google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110;

Returns
TypeDescription
boolean

Whether the desiredNodePoolAutoConfigNetworkTags field is set.

hasDesiredNodePoolAutoscaling()

public boolean hasDesiredNodePoolAutoscaling()

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
boolean

Whether the desiredNodePoolAutoscaling field is set.

hasDesiredNodePoolLoggingConfig()

public boolean hasDesiredNodePoolLoggingConfig()

The desired node pool logging configuration defaults for the cluster.

.google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116;

Returns
TypeDescription
boolean

Whether the desiredNodePoolLoggingConfig field is set.

hasDesiredNotificationConfig()

public boolean hasDesiredNotificationConfig()

The desired notification configuration.

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

Returns
TypeDescription
boolean

Whether the desiredNotificationConfig field is set.

hasDesiredPrivateClusterConfig()

public boolean hasDesiredPrivateClusterConfig()

The desired private cluster configuration.

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

Returns
TypeDescription
boolean

Whether the desiredPrivateClusterConfig field is set.

hasDesiredReleaseChannel()

public boolean hasDesiredReleaseChannel()

The desired release channel configuration.

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

Returns
TypeDescription
boolean

Whether the desiredReleaseChannel field is set.

hasDesiredResourceUsageExportConfig()

public boolean hasDesiredResourceUsageExportConfig()

The desired configuration for exporting resource usage.

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

Returns
TypeDescription
boolean

Whether the desiredResourceUsageExportConfig field is set.

hasDesiredServiceExternalIpsConfig()

public boolean hasDesiredServiceExternalIpsConfig()

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

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

Returns
TypeDescription
boolean

Whether the desiredServiceExternalIpsConfig field is set.

hasDesiredShieldedNodes()

public boolean hasDesiredShieldedNodes()

Configuration for Shielded Nodes.

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

Returns
TypeDescription
boolean

Whether the desiredShieldedNodes field is set.

hasDesiredVerticalPodAutoscaling()

public boolean hasDesiredVerticalPodAutoscaling()

Cluster-level Vertical Pod Autoscaling configuration.

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

Returns
TypeDescription
boolean

Whether the desiredVerticalPodAutoscaling field is set.

hasDesiredWorkloadIdentityConfig()

public boolean hasDesiredWorkloadIdentityConfig()

Configuration for Workload Identity.

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

Returns
TypeDescription
boolean

Whether the desiredWorkloadIdentityConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDesiredAddonsConfig(AddonsConfig value)

public ClusterUpdate.Builder mergeDesiredAddonsConfig(AddonsConfig value)

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

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

Parameter
NameDescription
valueAddonsConfig
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredAuthenticatorGroupsConfig(AuthenticatorGroupsConfig value)

public ClusterUpdate.Builder mergeDesiredAuthenticatorGroupsConfig(AuthenticatorGroupsConfig value)

The desired authenticator groups config for the cluster.

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

Parameter
NameDescription
valueAuthenticatorGroupsConfig
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredBinaryAuthorization(BinaryAuthorization value)

public ClusterUpdate.Builder mergeDesiredBinaryAuthorization(BinaryAuthorization value)

The desired configuration options for the Binary Authorization feature.

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

Parameter
NameDescription
valueBinaryAuthorization
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredClusterAutoscaling(ClusterAutoscaling value)

public ClusterUpdate.Builder mergeDesiredClusterAutoscaling(ClusterAutoscaling value)

Cluster-level autoscaling configuration.

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

Parameter
NameDescription
valueClusterAutoscaling
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredCostManagementConfig(CostManagementConfig value)

public ClusterUpdate.Builder mergeDesiredCostManagementConfig(CostManagementConfig value)

The desired configuration for the fine-grained cost management feature.

.google.container.v1.CostManagementConfig desired_cost_management_config = 49;

Parameter
NameDescription
valueCostManagementConfig
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredDatabaseEncryption(DatabaseEncryption value)

public ClusterUpdate.Builder mergeDesiredDatabaseEncryption(DatabaseEncryption value)

Configuration of etcd encryption.

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

Parameter
NameDescription
valueDatabaseEncryption
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredDefaultSnatStatus(DefaultSnatStatus value)

public ClusterUpdate.Builder mergeDesiredDefaultSnatStatus(DefaultSnatStatus value)

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

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

Parameter
NameDescription
valueDefaultSnatStatus
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredDnsConfig(DNSConfig value)

public ClusterUpdate.Builder mergeDesiredDnsConfig(DNSConfig value)

DNSConfig contains clusterDNS config for this cluster.

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

Parameter
NameDescription
valueDNSConfig
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredGatewayApiConfig(GatewayAPIConfig value)

public ClusterUpdate.Builder mergeDesiredGatewayApiConfig(GatewayAPIConfig value)

The desired config of Gateway API on this cluster.

.google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114;

Parameter
NameDescription
valueGatewayAPIConfig
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredGcfsConfig(GcfsConfig value)

public ClusterUpdate.Builder mergeDesiredGcfsConfig(GcfsConfig value)

The desired GCFS config for the cluster

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

Parameter
NameDescription
valueGcfsConfig
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredIdentityServiceConfig(IdentityServiceConfig value)

public ClusterUpdate.Builder mergeDesiredIdentityServiceConfig(IdentityServiceConfig value)

The desired Identity Service component configuration.

.google.container.v1.IdentityServiceConfig desired_identity_service_config = 66;

Parameter
NameDescription
valueIdentityServiceConfig
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredIntraNodeVisibilityConfig(IntraNodeVisibilityConfig value)

public ClusterUpdate.Builder mergeDesiredIntraNodeVisibilityConfig(IntraNodeVisibilityConfig value)

The desired config of Intra-node visibility.

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

Parameter
NameDescription
valueIntraNodeVisibilityConfig
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredL4IlbSubsettingConfig(ILBSubsettingConfig value)

public ClusterUpdate.Builder mergeDesiredL4IlbSubsettingConfig(ILBSubsettingConfig value)

The desired L4 Internal Load Balancer Subsetting configuration.

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

Parameter
NameDescription
valueILBSubsettingConfig
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredLoggingConfig(LoggingConfig value)

public ClusterUpdate.Builder mergeDesiredLoggingConfig(LoggingConfig value)

The desired logging configuration.

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

Parameter
NameDescription
valueLoggingConfig
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig value)

public ClusterUpdate.Builder mergeDesiredMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig value)

The desired configuration options for master authorized networks feature.

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

Parameter
NameDescription
valueMasterAuthorizedNetworksConfig
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredMeshCertificates(MeshCertificates value)

public ClusterUpdate.Builder mergeDesiredMeshCertificates(MeshCertificates value)

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

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

Parameter
NameDescription
valueMeshCertificates
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredMonitoringConfig(MonitoringConfig value)

public ClusterUpdate.Builder mergeDesiredMonitoringConfig(MonitoringConfig value)

The desired monitoring configuration.

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

Parameter
NameDescription
valueMonitoringConfig
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredNodePoolAutoConfigNetworkTags(NetworkTags value)

public ClusterUpdate.Builder mergeDesiredNodePoolAutoConfigNetworkTags(NetworkTags value)

The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.

.google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110;

Parameter
NameDescription
valueNetworkTags
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredNodePoolAutoscaling(NodePoolAutoscaling value)

public ClusterUpdate.Builder mergeDesiredNodePoolAutoscaling(NodePoolAutoscaling value)

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;

Parameter
NameDescription
valueNodePoolAutoscaling
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredNodePoolLoggingConfig(NodePoolLoggingConfig value)

public ClusterUpdate.Builder mergeDesiredNodePoolLoggingConfig(NodePoolLoggingConfig value)

The desired node pool logging configuration defaults for the cluster.

.google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116;

Parameter
NameDescription
valueNodePoolLoggingConfig
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredNotificationConfig(NotificationConfig value)

public ClusterUpdate.Builder mergeDesiredNotificationConfig(NotificationConfig value)

The desired notification configuration.

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

Parameter
NameDescription
valueNotificationConfig
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredPrivateClusterConfig(PrivateClusterConfig value)

public ClusterUpdate.Builder mergeDesiredPrivateClusterConfig(PrivateClusterConfig value)

The desired private cluster configuration.

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

Parameter
NameDescription
valuePrivateClusterConfig
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredReleaseChannel(ReleaseChannel value)

public ClusterUpdate.Builder mergeDesiredReleaseChannel(ReleaseChannel value)

The desired release channel configuration.

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

Parameter
NameDescription
valueReleaseChannel
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredResourceUsageExportConfig(ResourceUsageExportConfig value)

public ClusterUpdate.Builder mergeDesiredResourceUsageExportConfig(ResourceUsageExportConfig value)

The desired configuration for exporting resource usage.

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

Parameter
NameDescription
valueResourceUsageExportConfig
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredServiceExternalIpsConfig(ServiceExternalIPsConfig value)

public ClusterUpdate.Builder mergeDesiredServiceExternalIpsConfig(ServiceExternalIPsConfig value)

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

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

Parameter
NameDescription
valueServiceExternalIPsConfig
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredShieldedNodes(ShieldedNodes value)

public ClusterUpdate.Builder mergeDesiredShieldedNodes(ShieldedNodes value)

Configuration for Shielded Nodes.

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

Parameter
NameDescription
valueShieldedNodes
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredVerticalPodAutoscaling(VerticalPodAutoscaling value)

public ClusterUpdate.Builder mergeDesiredVerticalPodAutoscaling(VerticalPodAutoscaling value)

Cluster-level Vertical Pod Autoscaling configuration.

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

Parameter
NameDescription
valueVerticalPodAutoscaling
Returns
TypeDescription
ClusterUpdate.Builder

mergeDesiredWorkloadIdentityConfig(WorkloadIdentityConfig value)

public ClusterUpdate.Builder mergeDesiredWorkloadIdentityConfig(WorkloadIdentityConfig value)

Configuration for Workload Identity.

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

Parameter
NameDescription
valueWorkloadIdentityConfig
Returns
TypeDescription
ClusterUpdate.Builder

mergeFrom(ClusterUpdate other)

public ClusterUpdate.Builder mergeFrom(ClusterUpdate other)
Parameter
NameDescription
otherClusterUpdate
Returns
TypeDescription
ClusterUpdate.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ClusterUpdate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClusterUpdate.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ClusterUpdate.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ClusterUpdate.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ClusterUpdate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ClusterUpdate.Builder
Overrides

setDesiredAddonsConfig(AddonsConfig value)

public ClusterUpdate.Builder setDesiredAddonsConfig(AddonsConfig value)

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

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

Parameter
NameDescription
valueAddonsConfig
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredAddonsConfig(AddonsConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredAddonsConfig(AddonsConfig.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueAddonsConfig.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredAuthenticatorGroupsConfig(AuthenticatorGroupsConfig value)

public ClusterUpdate.Builder setDesiredAuthenticatorGroupsConfig(AuthenticatorGroupsConfig value)

The desired authenticator groups config for the cluster.

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

Parameter
NameDescription
valueAuthenticatorGroupsConfig
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredAuthenticatorGroupsConfig(AuthenticatorGroupsConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredAuthenticatorGroupsConfig(AuthenticatorGroupsConfig.Builder builderForValue)

The desired authenticator groups config for the cluster.

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

Parameter
NameDescription
builderForValueAuthenticatorGroupsConfig.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredBinaryAuthorization(BinaryAuthorization value)

public ClusterUpdate.Builder setDesiredBinaryAuthorization(BinaryAuthorization value)

The desired configuration options for the Binary Authorization feature.

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

Parameter
NameDescription
valueBinaryAuthorization
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredBinaryAuthorization(BinaryAuthorization.Builder builderForValue)

public ClusterUpdate.Builder setDesiredBinaryAuthorization(BinaryAuthorization.Builder builderForValue)

The desired configuration options for the Binary Authorization feature.

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

Parameter
NameDescription
builderForValueBinaryAuthorization.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredClusterAutoscaling(ClusterAutoscaling value)

public ClusterUpdate.Builder setDesiredClusterAutoscaling(ClusterAutoscaling value)

Cluster-level autoscaling configuration.

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

Parameter
NameDescription
valueClusterAutoscaling
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredClusterAutoscaling(ClusterAutoscaling.Builder builderForValue)

public ClusterUpdate.Builder setDesiredClusterAutoscaling(ClusterAutoscaling.Builder builderForValue)

Cluster-level autoscaling configuration.

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

Parameter
NameDescription
builderForValueClusterAutoscaling.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredCostManagementConfig(CostManagementConfig value)

public ClusterUpdate.Builder setDesiredCostManagementConfig(CostManagementConfig value)

The desired configuration for the fine-grained cost management feature.

.google.container.v1.CostManagementConfig desired_cost_management_config = 49;

Parameter
NameDescription
valueCostManagementConfig
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredCostManagementConfig(CostManagementConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredCostManagementConfig(CostManagementConfig.Builder builderForValue)

The desired configuration for the fine-grained cost management feature.

.google.container.v1.CostManagementConfig desired_cost_management_config = 49;

Parameter
NameDescription
builderForValueCostManagementConfig.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredDatabaseEncryption(DatabaseEncryption value)

public ClusterUpdate.Builder setDesiredDatabaseEncryption(DatabaseEncryption value)

Configuration of etcd encryption.

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

Parameter
NameDescription
valueDatabaseEncryption
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredDatabaseEncryption(DatabaseEncryption.Builder builderForValue)

public ClusterUpdate.Builder setDesiredDatabaseEncryption(DatabaseEncryption.Builder builderForValue)

Configuration of etcd encryption.

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

Parameter
NameDescription
builderForValueDatabaseEncryption.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredDatapathProvider(DatapathProvider value)

public ClusterUpdate.Builder setDesiredDatapathProvider(DatapathProvider value)

The desired datapath provider for the cluster.

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

Parameter
NameDescription
valueDatapathProvider

The desiredDatapathProvider to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setDesiredDatapathProviderValue(int value)

public ClusterUpdate.Builder setDesiredDatapathProviderValue(int value)

The desired datapath provider for the cluster.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for desiredDatapathProvider to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setDesiredDefaultSnatStatus(DefaultSnatStatus value)

public ClusterUpdate.Builder setDesiredDefaultSnatStatus(DefaultSnatStatus value)

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

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

Parameter
NameDescription
valueDefaultSnatStatus
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredDefaultSnatStatus(DefaultSnatStatus.Builder builderForValue)

public ClusterUpdate.Builder setDesiredDefaultSnatStatus(DefaultSnatStatus.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueDefaultSnatStatus.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredDnsConfig(DNSConfig value)

public ClusterUpdate.Builder setDesiredDnsConfig(DNSConfig value)

DNSConfig contains clusterDNS config for this cluster.

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

Parameter
NameDescription
valueDNSConfig
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredDnsConfig(DNSConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredDnsConfig(DNSConfig.Builder builderForValue)

DNSConfig contains clusterDNS config for this cluster.

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

Parameter
NameDescription
builderForValueDNSConfig.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredEnablePrivateEndpoint(boolean value)

public ClusterUpdate.Builder setDesiredEnablePrivateEndpoint(boolean value)

Enable/Disable private endpoint for the cluster's master.

optional bool desired_enable_private_endpoint = 71;

Parameter
NameDescription
valueboolean

The desiredEnablePrivateEndpoint to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setDesiredGatewayApiConfig(GatewayAPIConfig value)

public ClusterUpdate.Builder setDesiredGatewayApiConfig(GatewayAPIConfig value)

The desired config of Gateway API on this cluster.

.google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114;

Parameter
NameDescription
valueGatewayAPIConfig
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredGatewayApiConfig(GatewayAPIConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredGatewayApiConfig(GatewayAPIConfig.Builder builderForValue)

The desired config of Gateway API on this cluster.

.google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114;

Parameter
NameDescription
builderForValueGatewayAPIConfig.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredGcfsConfig(GcfsConfig value)

public ClusterUpdate.Builder setDesiredGcfsConfig(GcfsConfig value)

The desired GCFS config for the cluster

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

Parameter
NameDescription
valueGcfsConfig
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredGcfsConfig(GcfsConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredGcfsConfig(GcfsConfig.Builder builderForValue)

The desired GCFS config for the cluster

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

Parameter
NameDescription
builderForValueGcfsConfig.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredIdentityServiceConfig(IdentityServiceConfig value)

public ClusterUpdate.Builder setDesiredIdentityServiceConfig(IdentityServiceConfig value)

The desired Identity Service component configuration.

.google.container.v1.IdentityServiceConfig desired_identity_service_config = 66;

Parameter
NameDescription
valueIdentityServiceConfig
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredIdentityServiceConfig(IdentityServiceConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredIdentityServiceConfig(IdentityServiceConfig.Builder builderForValue)

The desired Identity Service component configuration.

.google.container.v1.IdentityServiceConfig desired_identity_service_config = 66;

Parameter
NameDescription
builderForValueIdentityServiceConfig.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredImageType(String value)

public ClusterUpdate.Builder setDesiredImageType(String value)

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

string desired_image_type = 8;

Parameter
NameDescription
valueString

The desiredImageType to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setDesiredImageTypeBytes(ByteString value)

public ClusterUpdate.Builder setDesiredImageTypeBytes(ByteString value)

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

string desired_image_type = 8;

Parameter
NameDescription
valueByteString

The bytes for desiredImageType to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setDesiredIntraNodeVisibilityConfig(IntraNodeVisibilityConfig value)

public ClusterUpdate.Builder setDesiredIntraNodeVisibilityConfig(IntraNodeVisibilityConfig value)

The desired config of Intra-node visibility.

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

Parameter
NameDescription
valueIntraNodeVisibilityConfig
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredIntraNodeVisibilityConfig(IntraNodeVisibilityConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredIntraNodeVisibilityConfig(IntraNodeVisibilityConfig.Builder builderForValue)

The desired config of Intra-node visibility.

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

Parameter
NameDescription
builderForValueIntraNodeVisibilityConfig.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredL4IlbSubsettingConfig(ILBSubsettingConfig value)

public ClusterUpdate.Builder setDesiredL4IlbSubsettingConfig(ILBSubsettingConfig value)

The desired L4 Internal Load Balancer Subsetting configuration.

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

Parameter
NameDescription
valueILBSubsettingConfig
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredL4IlbSubsettingConfig(ILBSubsettingConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredL4IlbSubsettingConfig(ILBSubsettingConfig.Builder builderForValue)

The desired L4 Internal Load Balancer Subsetting configuration.

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

Parameter
NameDescription
builderForValueILBSubsettingConfig.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredLocations(int index, String value)

public ClusterUpdate.Builder setDesiredLocations(int index, 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;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The desiredLocations to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setDesiredLoggingConfig(LoggingConfig value)

public ClusterUpdate.Builder setDesiredLoggingConfig(LoggingConfig value)

The desired logging configuration.

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

Parameter
NameDescription
valueLoggingConfig
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredLoggingConfig(LoggingConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredLoggingConfig(LoggingConfig.Builder builderForValue)

The desired logging configuration.

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

Parameter
NameDescription
builderForValueLoggingConfig.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredLoggingService(String value)

public ClusterUpdate.Builder setDesiredLoggingService(String value)

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;

Parameter
NameDescription
valueString

The desiredLoggingService to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setDesiredLoggingServiceBytes(ByteString value)

public ClusterUpdate.Builder setDesiredLoggingServiceBytes(ByteString value)

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;

Parameter
NameDescription
valueByteString

The bytes for desiredLoggingService to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setDesiredMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig value)

public ClusterUpdate.Builder setDesiredMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig value)

The desired configuration options for master authorized networks feature.

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

Parameter
NameDescription
valueMasterAuthorizedNetworksConfig
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig.Builder builderForValue)

The desired configuration options for master authorized networks feature.

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

Parameter
NameDescription
builderForValueMasterAuthorizedNetworksConfig.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredMasterVersion(String value)

public ClusterUpdate.Builder setDesiredMasterVersion(String value)

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;

Parameter
NameDescription
valueString

The desiredMasterVersion to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setDesiredMasterVersionBytes(ByteString value)

public ClusterUpdate.Builder setDesiredMasterVersionBytes(ByteString value)

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;

Parameter
NameDescription
valueByteString

The bytes for desiredMasterVersion to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setDesiredMeshCertificates(MeshCertificates value)

public ClusterUpdate.Builder setDesiredMeshCertificates(MeshCertificates value)

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

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

Parameter
NameDescription
valueMeshCertificates
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredMeshCertificates(MeshCertificates.Builder builderForValue)

public ClusterUpdate.Builder setDesiredMeshCertificates(MeshCertificates.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueMeshCertificates.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredMonitoringConfig(MonitoringConfig value)

public ClusterUpdate.Builder setDesiredMonitoringConfig(MonitoringConfig value)

The desired monitoring configuration.

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

Parameter
NameDescription
valueMonitoringConfig
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredMonitoringConfig(MonitoringConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredMonitoringConfig(MonitoringConfig.Builder builderForValue)

The desired monitoring configuration.

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

Parameter
NameDescription
builderForValueMonitoringConfig.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredMonitoringService(String value)

public ClusterUpdate.Builder setDesiredMonitoringService(String value)

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;

Parameter
NameDescription
valueString

The desiredMonitoringService to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setDesiredMonitoringServiceBytes(ByteString value)

public ClusterUpdate.Builder setDesiredMonitoringServiceBytes(ByteString value)

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;

Parameter
NameDescription
valueByteString

The bytes for desiredMonitoringService to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setDesiredNodePoolAutoConfigNetworkTags(NetworkTags value)

public ClusterUpdate.Builder setDesiredNodePoolAutoConfigNetworkTags(NetworkTags value)

The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.

.google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110;

Parameter
NameDescription
valueNetworkTags
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredNodePoolAutoConfigNetworkTags(NetworkTags.Builder builderForValue)

public ClusterUpdate.Builder setDesiredNodePoolAutoConfigNetworkTags(NetworkTags.Builder builderForValue)

The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.

.google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110;

Parameter
NameDescription
builderForValueNetworkTags.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredNodePoolAutoscaling(NodePoolAutoscaling value)

public ClusterUpdate.Builder setDesiredNodePoolAutoscaling(NodePoolAutoscaling value)

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;

Parameter
NameDescription
valueNodePoolAutoscaling
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredNodePoolAutoscaling(NodePoolAutoscaling.Builder builderForValue)

public ClusterUpdate.Builder setDesiredNodePoolAutoscaling(NodePoolAutoscaling.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueNodePoolAutoscaling.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredNodePoolId(String value)

public ClusterUpdate.Builder setDesiredNodePoolId(String value)

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;

Parameter
NameDescription
valueString

The desiredNodePoolId to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setDesiredNodePoolIdBytes(ByteString value)

public ClusterUpdate.Builder setDesiredNodePoolIdBytes(ByteString value)

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;

Parameter
NameDescription
valueByteString

The bytes for desiredNodePoolId to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setDesiredNodePoolLoggingConfig(NodePoolLoggingConfig value)

public ClusterUpdate.Builder setDesiredNodePoolLoggingConfig(NodePoolLoggingConfig value)

The desired node pool logging configuration defaults for the cluster.

.google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116;

Parameter
NameDescription
valueNodePoolLoggingConfig
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredNodePoolLoggingConfig(NodePoolLoggingConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredNodePoolLoggingConfig(NodePoolLoggingConfig.Builder builderForValue)

The desired node pool logging configuration defaults for the cluster.

.google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116;

Parameter
NameDescription
builderForValueNodePoolLoggingConfig.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredNodeVersion(String value)

public ClusterUpdate.Builder setDesiredNodeVersion(String value)

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;

Parameter
NameDescription
valueString

The desiredNodeVersion to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setDesiredNodeVersionBytes(ByteString value)

public ClusterUpdate.Builder setDesiredNodeVersionBytes(ByteString value)

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;

Parameter
NameDescription
valueByteString

The bytes for desiredNodeVersion to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setDesiredNotificationConfig(NotificationConfig value)

public ClusterUpdate.Builder setDesiredNotificationConfig(NotificationConfig value)

The desired notification configuration.

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

Parameter
NameDescription
valueNotificationConfig
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredNotificationConfig(NotificationConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredNotificationConfig(NotificationConfig.Builder builderForValue)

The desired notification configuration.

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

Parameter
NameDescription
builderForValueNotificationConfig.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredPrivateClusterConfig(PrivateClusterConfig value)

public ClusterUpdate.Builder setDesiredPrivateClusterConfig(PrivateClusterConfig value)

The desired private cluster configuration.

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

Parameter
NameDescription
valuePrivateClusterConfig
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredPrivateClusterConfig(PrivateClusterConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredPrivateClusterConfig(PrivateClusterConfig.Builder builderForValue)

The desired private cluster configuration.

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

Parameter
NameDescription
builderForValuePrivateClusterConfig.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredPrivateIpv6GoogleAccess(PrivateIPv6GoogleAccess value)

public ClusterUpdate.Builder setDesiredPrivateIpv6GoogleAccess(PrivateIPv6GoogleAccess value)

The desired state of IPv6 connectivity to Google Services.

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

Parameter
NameDescription
valuePrivateIPv6GoogleAccess

The desiredPrivateIpv6GoogleAccess to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setDesiredPrivateIpv6GoogleAccessValue(int value)

public ClusterUpdate.Builder setDesiredPrivateIpv6GoogleAccessValue(int value)

The desired state of IPv6 connectivity to Google Services.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for desiredPrivateIpv6GoogleAccess to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setDesiredReleaseChannel(ReleaseChannel value)

public ClusterUpdate.Builder setDesiredReleaseChannel(ReleaseChannel value)

The desired release channel configuration.

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

Parameter
NameDescription
valueReleaseChannel
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredReleaseChannel(ReleaseChannel.Builder builderForValue)

public ClusterUpdate.Builder setDesiredReleaseChannel(ReleaseChannel.Builder builderForValue)

The desired release channel configuration.

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

Parameter
NameDescription
builderForValueReleaseChannel.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredResourceUsageExportConfig(ResourceUsageExportConfig value)

public ClusterUpdate.Builder setDesiredResourceUsageExportConfig(ResourceUsageExportConfig value)

The desired configuration for exporting resource usage.

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

Parameter
NameDescription
valueResourceUsageExportConfig
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredResourceUsageExportConfig(ResourceUsageExportConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredResourceUsageExportConfig(ResourceUsageExportConfig.Builder builderForValue)

The desired configuration for exporting resource usage.

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

Parameter
NameDescription
builderForValueResourceUsageExportConfig.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredServiceExternalIpsConfig(ServiceExternalIPsConfig value)

public ClusterUpdate.Builder setDesiredServiceExternalIpsConfig(ServiceExternalIPsConfig value)

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

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

Parameter
NameDescription
valueServiceExternalIPsConfig
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredServiceExternalIpsConfig(ServiceExternalIPsConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredServiceExternalIpsConfig(ServiceExternalIPsConfig.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueServiceExternalIPsConfig.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredShieldedNodes(ShieldedNodes value)

public ClusterUpdate.Builder setDesiredShieldedNodes(ShieldedNodes value)

Configuration for Shielded Nodes.

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

Parameter
NameDescription
valueShieldedNodes
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredShieldedNodes(ShieldedNodes.Builder builderForValue)

public ClusterUpdate.Builder setDesiredShieldedNodes(ShieldedNodes.Builder builderForValue)

Configuration for Shielded Nodes.

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

Parameter
NameDescription
builderForValueShieldedNodes.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredStackType(StackType value)

public ClusterUpdate.Builder setDesiredStackType(StackType value)

The desired stack type of the cluster. If a stack type is provided and does not match the current stack type of the cluster, update will attempt to change the stack type to the new type.

.google.container.v1.StackType desired_stack_type = 119;

Parameter
NameDescription
valueStackType

The desiredStackType to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setDesiredStackTypeValue(int value)

public ClusterUpdate.Builder setDesiredStackTypeValue(int value)

The desired stack type of the cluster. If a stack type is provided and does not match the current stack type of the cluster, update will attempt to change the stack type to the new type.

.google.container.v1.StackType desired_stack_type = 119;

Parameter
NameDescription
valueint

The enum numeric value on the wire for desiredStackType to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setDesiredVerticalPodAutoscaling(VerticalPodAutoscaling value)

public ClusterUpdate.Builder setDesiredVerticalPodAutoscaling(VerticalPodAutoscaling value)

Cluster-level Vertical Pod Autoscaling configuration.

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

Parameter
NameDescription
valueVerticalPodAutoscaling
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredVerticalPodAutoscaling(VerticalPodAutoscaling.Builder builderForValue)

public ClusterUpdate.Builder setDesiredVerticalPodAutoscaling(VerticalPodAutoscaling.Builder builderForValue)

Cluster-level Vertical Pod Autoscaling configuration.

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

Parameter
NameDescription
builderForValueVerticalPodAutoscaling.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredWorkloadIdentityConfig(WorkloadIdentityConfig value)

public ClusterUpdate.Builder setDesiredWorkloadIdentityConfig(WorkloadIdentityConfig value)

Configuration for Workload Identity.

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

Parameter
NameDescription
valueWorkloadIdentityConfig
Returns
TypeDescription
ClusterUpdate.Builder

setDesiredWorkloadIdentityConfig(WorkloadIdentityConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredWorkloadIdentityConfig(WorkloadIdentityConfig.Builder builderForValue)

Configuration for Workload Identity.

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

Parameter
NameDescription
builderForValueWorkloadIdentityConfig.Builder
Returns
TypeDescription
ClusterUpdate.Builder

setEtag(String value)

public ClusterUpdate.Builder setEtag(String value)

The current etag of the cluster. If an etag is provided and does not match the current etag of the cluster, update will be blocked and an ABORTED error will be returned.

string etag = 115;

Parameter
NameDescription
valueString

The etag to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public ClusterUpdate.Builder setEtagBytes(ByteString value)

The current etag of the cluster. If an etag is provided and does not match the current etag of the cluster, update will be blocked and an ABORTED error will be returned.

string etag = 115;

Parameter
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
ClusterUpdate.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ClusterUpdate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ClusterUpdate.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ClusterUpdate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ClusterUpdate.Builder
Overrides