Class ClusterUpdate.Builder (2.47.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
Type Description
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
Name Description
values Iterable<String>

The desiredLocations to add.

Returns
Type Description
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
Name Description
value String

The desiredLocations to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the desiredLocations to add.

Returns
Type Description
ClusterUpdate.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ClusterUpdate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ClusterUpdate.Builder
Overrides

build()

public ClusterUpdate build()
Returns
Type Description
ClusterUpdate

buildPartial()

public ClusterUpdate buildPartial()
Returns
Type Description
ClusterUpdate

clear()

public ClusterUpdate.Builder clear()
Returns
Type Description
ClusterUpdate.Builder
Overrides

clearAdditionalPodRangesConfig()

public ClusterUpdate.Builder clearAdditionalPodRangesConfig()

The additional pod ranges to be added to the cluster. These pod ranges can be used by node pools to allocate pod IPs.

.google.container.v1.AdditionalPodRangesConfig additional_pod_ranges_config = 120;

Returns
Type Description
ClusterUpdate.Builder

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
Type Description
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
Type Description
ClusterUpdate.Builder

clearDesiredAutopilotWorkloadPolicyConfig()

public ClusterUpdate.Builder clearDesiredAutopilotWorkloadPolicyConfig()

The desired workload policy configuration for the autopilot cluster.

.google.container.v1.WorkloadPolicyConfig desired_autopilot_workload_policy_config = 128;

Returns
Type Description
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
Type Description
ClusterUpdate.Builder

clearDesiredClusterAutoscaling()

public ClusterUpdate.Builder clearDesiredClusterAutoscaling()

Cluster-level autoscaling configuration.

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

Returns
Type Description
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
Type Description
ClusterUpdate.Builder

clearDesiredDatabaseEncryption()

public ClusterUpdate.Builder clearDesiredDatabaseEncryption()

Configuration of etcd encryption.

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

Returns
Type Description
ClusterUpdate.Builder

clearDesiredDatapathProvider()

public ClusterUpdate.Builder clearDesiredDatapathProvider()

The desired datapath provider for the cluster.

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

Returns
Type Description
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
Type Description
ClusterUpdate.Builder

clearDesiredDnsConfig()

public ClusterUpdate.Builder clearDesiredDnsConfig()

DNSConfig contains clusterDNS config for this cluster.

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

Returns
Type Description
ClusterUpdate.Builder

clearDesiredEnableCiliumClusterwideNetworkPolicy()

public ClusterUpdate.Builder clearDesiredEnableCiliumClusterwideNetworkPolicy()

Enable/Disable Cilium Clusterwide Network Policy for the cluster.

optional bool desired_enable_cilium_clusterwide_network_policy = 138;

Returns
Type Description
ClusterUpdate.Builder

This builder for chaining.

clearDesiredEnableFqdnNetworkPolicy()

public ClusterUpdate.Builder clearDesiredEnableFqdnNetworkPolicy()

Enable/Disable FQDN Network Policy for the cluster.

optional bool desired_enable_fqdn_network_policy = 126;

Returns
Type Description
ClusterUpdate.Builder

This builder for chaining.

clearDesiredEnableMultiNetworking()

public ClusterUpdate.Builder clearDesiredEnableMultiNetworking()

Enable/Disable Multi-Networking for the cluster

optional bool desired_enable_multi_networking = 135;

Returns
Type Description
ClusterUpdate.Builder

This builder for chaining.

clearDesiredEnablePrivateEndpoint()

public ClusterUpdate.Builder clearDesiredEnablePrivateEndpoint()

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

optional bool desired_enable_private_endpoint = 71;

Returns
Type Description
ClusterUpdate.Builder

This builder for chaining.

clearDesiredFleet()

public ClusterUpdate.Builder clearDesiredFleet()

The desired fleet configuration for the cluster.

.google.container.v1.Fleet desired_fleet = 117;

Returns
Type Description
ClusterUpdate.Builder

clearDesiredGatewayApiConfig()

public ClusterUpdate.Builder clearDesiredGatewayApiConfig()

The desired config of Gateway API on this cluster.

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

Returns
Type Description
ClusterUpdate.Builder

clearDesiredGcfsConfig()

public ClusterUpdate.Builder clearDesiredGcfsConfig()

The desired GCFS config for the cluster

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

Returns
Type Description
ClusterUpdate.Builder

clearDesiredIdentityServiceConfig()

public ClusterUpdate.Builder clearDesiredIdentityServiceConfig()

The desired Identity Service component configuration.

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

Returns
Type Description
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
Type Description
ClusterUpdate.Builder

This builder for chaining.

clearDesiredInTransitEncryptionConfig()

public ClusterUpdate.Builder clearDesiredInTransitEncryptionConfig()

Specify the details of in-transit encryption.

optional .google.container.v1.InTransitEncryptionConfig desired_in_transit_encryption_config = 137;

Returns
Type Description
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
Type Description
ClusterUpdate.Builder

clearDesiredK8SBetaApis()

public ClusterUpdate.Builder clearDesiredK8SBetaApis()

Desired Beta APIs to be enabled for cluster.

.google.container.v1.K8sBetaAPIConfig desired_k8s_beta_apis = 131;

Returns
Type Description
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
Type Description
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
Type Description
ClusterUpdate.Builder

This builder for chaining.

clearDesiredLoggingConfig()

public ClusterUpdate.Builder clearDesiredLoggingConfig()

The desired logging configuration.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ClusterUpdate.Builder

clearDesiredMonitoringConfig()

public ClusterUpdate.Builder clearDesiredMonitoringConfig()

The desired monitoring configuration.

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

Returns
Type Description
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
Type Description
ClusterUpdate.Builder

This builder for chaining.

clearDesiredNetworkPerformanceConfig()

public ClusterUpdate.Builder clearDesiredNetworkPerformanceConfig()

The desired network performance config.

.google.container.v1.NetworkConfig.ClusterNetworkPerformanceConfig desired_network_performance_config = 125;

Returns
Type Description
ClusterUpdate.Builder

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
Type Description
ClusterUpdate.Builder

clearDesiredNodePoolAutoConfigResourceManagerTags()

public ClusterUpdate.Builder clearDesiredNodePoolAutoConfigResourceManagerTags()

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

.google.container.v1.ResourceManagerTags desired_node_pool_auto_config_resource_manager_tags = 136;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ClusterUpdate.Builder

This builder for chaining.

clearDesiredNotificationConfig()

public ClusterUpdate.Builder clearDesiredNotificationConfig()

The desired notification configuration.

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

Returns
Type Description
ClusterUpdate.Builder

clearDesiredPrivateClusterConfig()

public ClusterUpdate.Builder clearDesiredPrivateClusterConfig()

The desired private cluster configuration.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ClusterUpdate.Builder

clearDesiredSecurityPostureConfig()

public ClusterUpdate.Builder clearDesiredSecurityPostureConfig()

Enable/Disable Security Posture API features for the cluster.

.google.container.v1.SecurityPostureConfig desired_security_posture_config = 124;

Returns
Type Description
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
Type Description
ClusterUpdate.Builder

clearDesiredShieldedNodes()

public ClusterUpdate.Builder clearDesiredShieldedNodes()

Configuration for Shielded Nodes.

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

Returns
Type Description
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
Type Description
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
Type Description
ClusterUpdate.Builder

clearDesiredWorkloadIdentityConfig()

public ClusterUpdate.Builder clearDesiredWorkloadIdentityConfig()

Configuration for Workload Identity.

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

Returns
Type Description
ClusterUpdate.Builder

clearEnableK8SBetaApis()

public ClusterUpdate.Builder clearEnableK8SBetaApis()

Kubernetes open source beta apis enabled on the cluster. Only beta apis

.google.container.v1.K8sBetaAPIConfig enable_k8s_beta_apis = 122;

Returns
Type Description
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
Type Description
ClusterUpdate.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ClusterUpdate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ClusterUpdate.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ClusterUpdate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ClusterUpdate.Builder
Overrides

clearRemovedAdditionalPodRangesConfig()

public ClusterUpdate.Builder clearRemovedAdditionalPodRangesConfig()

The additional pod ranges that are to be removed from the cluster. The pod ranges specified here must have been specified earlier in the 'additional_pod_ranges_config' argument.

.google.container.v1.AdditionalPodRangesConfig removed_additional_pod_ranges_config = 121;

Returns
Type Description
ClusterUpdate.Builder

clone()

public ClusterUpdate.Builder clone()
Returns
Type Description
ClusterUpdate.Builder
Overrides

getAdditionalPodRangesConfig()

public AdditionalPodRangesConfig getAdditionalPodRangesConfig()

The additional pod ranges to be added to the cluster. These pod ranges can be used by node pools to allocate pod IPs.

.google.container.v1.AdditionalPodRangesConfig additional_pod_ranges_config = 120;

Returns
Type Description
AdditionalPodRangesConfig

The additionalPodRangesConfig.

getAdditionalPodRangesConfigBuilder()

public AdditionalPodRangesConfig.Builder getAdditionalPodRangesConfigBuilder()

The additional pod ranges to be added to the cluster. These pod ranges can be used by node pools to allocate pod IPs.

.google.container.v1.AdditionalPodRangesConfig additional_pod_ranges_config = 120;

Returns
Type Description
AdditionalPodRangesConfig.Builder

getAdditionalPodRangesConfigOrBuilder()

public AdditionalPodRangesConfigOrBuilder getAdditionalPodRangesConfigOrBuilder()

The additional pod ranges to be added to the cluster. These pod ranges can be used by node pools to allocate pod IPs.

.google.container.v1.AdditionalPodRangesConfig additional_pod_ranges_config = 120;

Returns
Type Description
AdditionalPodRangesConfigOrBuilder

getDefaultInstanceForType()

public ClusterUpdate getDefaultInstanceForType()
Returns
Type Description
ClusterUpdate

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
AddonsConfigOrBuilder

getDesiredAuthenticatorGroupsConfig()

public AuthenticatorGroupsConfig getDesiredAuthenticatorGroupsConfig()

The desired authenticator groups config for the cluster.

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

Returns
Type Description
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
Type Description
AuthenticatorGroupsConfig.Builder

getDesiredAuthenticatorGroupsConfigOrBuilder()

public AuthenticatorGroupsConfigOrBuilder getDesiredAuthenticatorGroupsConfigOrBuilder()

The desired authenticator groups config for the cluster.

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

Returns
Type Description
AuthenticatorGroupsConfigOrBuilder

getDesiredAutopilotWorkloadPolicyConfig()

public WorkloadPolicyConfig getDesiredAutopilotWorkloadPolicyConfig()

The desired workload policy configuration for the autopilot cluster.

.google.container.v1.WorkloadPolicyConfig desired_autopilot_workload_policy_config = 128;

Returns
Type Description
WorkloadPolicyConfig

The desiredAutopilotWorkloadPolicyConfig.

getDesiredAutopilotWorkloadPolicyConfigBuilder()

public WorkloadPolicyConfig.Builder getDesiredAutopilotWorkloadPolicyConfigBuilder()

The desired workload policy configuration for the autopilot cluster.

.google.container.v1.WorkloadPolicyConfig desired_autopilot_workload_policy_config = 128;

Returns
Type Description
WorkloadPolicyConfig.Builder

getDesiredAutopilotWorkloadPolicyConfigOrBuilder()

public WorkloadPolicyConfigOrBuilder getDesiredAutopilotWorkloadPolicyConfigOrBuilder()

The desired workload policy configuration for the autopilot cluster.

.google.container.v1.WorkloadPolicyConfig desired_autopilot_workload_policy_config = 128;

Returns
Type Description
WorkloadPolicyConfigOrBuilder

getDesiredBinaryAuthorization()

public BinaryAuthorization getDesiredBinaryAuthorization()

The desired configuration options for the Binary Authorization feature.

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

Returns
Type Description
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
Type Description
BinaryAuthorization.Builder

getDesiredBinaryAuthorizationOrBuilder()

public BinaryAuthorizationOrBuilder getDesiredBinaryAuthorizationOrBuilder()

The desired configuration options for the Binary Authorization feature.

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

Returns
Type Description
BinaryAuthorizationOrBuilder

getDesiredClusterAutoscaling()

public ClusterAutoscaling getDesiredClusterAutoscaling()

Cluster-level autoscaling configuration.

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

Returns
Type Description
ClusterAutoscaling

The desiredClusterAutoscaling.

getDesiredClusterAutoscalingBuilder()

public ClusterAutoscaling.Builder getDesiredClusterAutoscalingBuilder()

Cluster-level autoscaling configuration.

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

Returns
Type Description
ClusterAutoscaling.Builder

getDesiredClusterAutoscalingOrBuilder()

public ClusterAutoscalingOrBuilder getDesiredClusterAutoscalingOrBuilder()

Cluster-level autoscaling configuration.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
CostManagementConfigOrBuilder

getDesiredDatabaseEncryption()

public DatabaseEncryption getDesiredDatabaseEncryption()

Configuration of etcd encryption.

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

Returns
Type Description
DatabaseEncryption

The desiredDatabaseEncryption.

getDesiredDatabaseEncryptionBuilder()

public DatabaseEncryption.Builder getDesiredDatabaseEncryptionBuilder()

Configuration of etcd encryption.

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

Returns
Type Description
DatabaseEncryption.Builder

getDesiredDatabaseEncryptionOrBuilder()

public DatabaseEncryptionOrBuilder getDesiredDatabaseEncryptionOrBuilder()

Configuration of etcd encryption.

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

Returns
Type Description
DatabaseEncryptionOrBuilder

getDesiredDatapathProvider()

public DatapathProvider getDesiredDatapathProvider()

The desired datapath provider for the cluster.

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

Returns
Type Description
DatapathProvider

The desiredDatapathProvider.

getDesiredDatapathProviderValue()

public int getDesiredDatapathProviderValue()

The desired datapath provider for the cluster.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
DefaultSnatStatusOrBuilder

getDesiredDnsConfig()

public DNSConfig getDesiredDnsConfig()

DNSConfig contains clusterDNS config for this cluster.

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

Returns
Type Description
DNSConfig

The desiredDnsConfig.

getDesiredDnsConfigBuilder()

public DNSConfig.Builder getDesiredDnsConfigBuilder()

DNSConfig contains clusterDNS config for this cluster.

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

Returns
Type Description
DNSConfig.Builder

getDesiredDnsConfigOrBuilder()

public DNSConfigOrBuilder getDesiredDnsConfigOrBuilder()

DNSConfig contains clusterDNS config for this cluster.

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

Returns
Type Description
DNSConfigOrBuilder

getDesiredEnableCiliumClusterwideNetworkPolicy()

public boolean getDesiredEnableCiliumClusterwideNetworkPolicy()

Enable/Disable Cilium Clusterwide Network Policy for the cluster.

optional bool desired_enable_cilium_clusterwide_network_policy = 138;

Returns
Type Description
boolean

The desiredEnableCiliumClusterwideNetworkPolicy.

getDesiredEnableFqdnNetworkPolicy()

public boolean getDesiredEnableFqdnNetworkPolicy()

Enable/Disable FQDN Network Policy for the cluster.

optional bool desired_enable_fqdn_network_policy = 126;

Returns
Type Description
boolean

The desiredEnableFqdnNetworkPolicy.

getDesiredEnableMultiNetworking()

public boolean getDesiredEnableMultiNetworking()

Enable/Disable Multi-Networking for the cluster

optional bool desired_enable_multi_networking = 135;

Returns
Type Description
boolean

The desiredEnableMultiNetworking.

getDesiredEnablePrivateEndpoint()

public boolean getDesiredEnablePrivateEndpoint()

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

optional bool desired_enable_private_endpoint = 71;

Returns
Type Description
boolean

The desiredEnablePrivateEndpoint.

getDesiredFleet()

public Fleet getDesiredFleet()

The desired fleet configuration for the cluster.

.google.container.v1.Fleet desired_fleet = 117;

Returns
Type Description
Fleet

The desiredFleet.

getDesiredFleetBuilder()

public Fleet.Builder getDesiredFleetBuilder()

The desired fleet configuration for the cluster.

.google.container.v1.Fleet desired_fleet = 117;

Returns
Type Description
Fleet.Builder

getDesiredFleetOrBuilder()

public FleetOrBuilder getDesiredFleetOrBuilder()

The desired fleet configuration for the cluster.

.google.container.v1.Fleet desired_fleet = 117;

Returns
Type Description
FleetOrBuilder

getDesiredGatewayApiConfig()

public GatewayAPIConfig getDesiredGatewayApiConfig()

The desired config of Gateway API on this cluster.

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

Returns
Type Description
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
Type Description
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
Type Description
GatewayAPIConfigOrBuilder

getDesiredGcfsConfig()

public GcfsConfig getDesiredGcfsConfig()

The desired GCFS config for the cluster

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

Returns
Type Description
GcfsConfig

The desiredGcfsConfig.

getDesiredGcfsConfigBuilder()

public GcfsConfig.Builder getDesiredGcfsConfigBuilder()

The desired GCFS config for the cluster

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

Returns
Type Description
GcfsConfig.Builder

getDesiredGcfsConfigOrBuilder()

public GcfsConfigOrBuilder getDesiredGcfsConfigOrBuilder()

The desired GCFS config for the cluster

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

Returns
Type Description
GcfsConfigOrBuilder

getDesiredIdentityServiceConfig()

public IdentityServiceConfig getDesiredIdentityServiceConfig()

The desired Identity Service component configuration.

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

Returns
Type Description
IdentityServiceConfig

The desiredIdentityServiceConfig.

getDesiredIdentityServiceConfigBuilder()

public IdentityServiceConfig.Builder getDesiredIdentityServiceConfigBuilder()

The desired Identity Service component configuration.

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

Returns
Type Description
IdentityServiceConfig.Builder

getDesiredIdentityServiceConfigOrBuilder()

public IdentityServiceConfigOrBuilder getDesiredIdentityServiceConfigOrBuilder()

The desired Identity Service component configuration.

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

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for desiredImageType.

getDesiredInTransitEncryptionConfig()

public InTransitEncryptionConfig getDesiredInTransitEncryptionConfig()

Specify the details of in-transit encryption.

optional .google.container.v1.InTransitEncryptionConfig desired_in_transit_encryption_config = 137;

Returns
Type Description
InTransitEncryptionConfig

The desiredInTransitEncryptionConfig.

getDesiredInTransitEncryptionConfigValue()

public int getDesiredInTransitEncryptionConfigValue()

Specify the details of in-transit encryption.

optional .google.container.v1.InTransitEncryptionConfig desired_in_transit_encryption_config = 137;

Returns
Type Description
int

The enum numeric value on the wire for desiredInTransitEncryptionConfig.

getDesiredIntraNodeVisibilityConfig()

public IntraNodeVisibilityConfig getDesiredIntraNodeVisibilityConfig()

The desired config of Intra-node visibility.

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

Returns
Type Description
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
Type Description
IntraNodeVisibilityConfig.Builder

getDesiredIntraNodeVisibilityConfigOrBuilder()

public IntraNodeVisibilityConfigOrBuilder getDesiredIntraNodeVisibilityConfigOrBuilder()

The desired config of Intra-node visibility.

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

Returns
Type Description
IntraNodeVisibilityConfigOrBuilder

getDesiredK8SBetaApis()

public K8sBetaAPIConfig getDesiredK8SBetaApis()

Desired Beta APIs to be enabled for cluster.

.google.container.v1.K8sBetaAPIConfig desired_k8s_beta_apis = 131;

Returns
Type Description
K8sBetaAPIConfig

The desiredK8sBetaApis.

getDesiredK8SBetaApisBuilder()

public K8sBetaAPIConfig.Builder getDesiredK8SBetaApisBuilder()

Desired Beta APIs to be enabled for cluster.

.google.container.v1.K8sBetaAPIConfig desired_k8s_beta_apis = 131;

Returns
Type Description
K8sBetaAPIConfig.Builder

getDesiredK8SBetaApisOrBuilder()

public K8sBetaAPIConfigOrBuilder getDesiredK8SBetaApisOrBuilder()

Desired Beta APIs to be enabled for cluster.

.google.container.v1.K8sBetaAPIConfig desired_k8s_beta_apis = 131;

Returns
Type Description
K8sBetaAPIConfigOrBuilder

getDesiredL4IlbSubsettingConfig()

public ILBSubsettingConfig getDesiredL4IlbSubsettingConfig()

The desired L4 Internal Load Balancer Subsetting configuration.

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

Returns
Type Description
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
Type Description
ILBSubsettingConfig.Builder

getDesiredL4IlbSubsettingConfigOrBuilder()

public ILBSubsettingConfigOrBuilder getDesiredL4IlbSubsettingConfigOrBuilder()

The desired L4 Internal Load Balancer Subsetting configuration.

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

Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
ProtocolStringList

A list containing the desiredLocations.

getDesiredLoggingConfig()

public LoggingConfig getDesiredLoggingConfig()

The desired logging configuration.

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

Returns
Type Description
LoggingConfig

The desiredLoggingConfig.

getDesiredLoggingConfigBuilder()

public LoggingConfig.Builder getDesiredLoggingConfigBuilder()

The desired logging configuration.

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

Returns
Type Description
LoggingConfig.Builder

getDesiredLoggingConfigOrBuilder()

public LoggingConfigOrBuilder getDesiredLoggingConfigOrBuilder()

The desired logging configuration.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
MeshCertificatesOrBuilder

getDesiredMonitoringConfig()

public MonitoringConfig getDesiredMonitoringConfig()

The desired monitoring configuration.

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

Returns
Type Description
MonitoringConfig

The desiredMonitoringConfig.

getDesiredMonitoringConfigBuilder()

public MonitoringConfig.Builder getDesiredMonitoringConfigBuilder()

The desired monitoring configuration.

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

Returns
Type Description
MonitoringConfig.Builder

getDesiredMonitoringConfigOrBuilder()

public MonitoringConfigOrBuilder getDesiredMonitoringConfigOrBuilder()

The desired monitoring configuration.

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

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for desiredMonitoringService.

getDesiredNetworkPerformanceConfig()

public NetworkConfig.ClusterNetworkPerformanceConfig getDesiredNetworkPerformanceConfig()

The desired network performance config.

.google.container.v1.NetworkConfig.ClusterNetworkPerformanceConfig desired_network_performance_config = 125;

Returns
Type Description
NetworkConfig.ClusterNetworkPerformanceConfig

The desiredNetworkPerformanceConfig.

getDesiredNetworkPerformanceConfigBuilder()

public NetworkConfig.ClusterNetworkPerformanceConfig.Builder getDesiredNetworkPerformanceConfigBuilder()

The desired network performance config.

.google.container.v1.NetworkConfig.ClusterNetworkPerformanceConfig desired_network_performance_config = 125;

Returns
Type Description
NetworkConfig.ClusterNetworkPerformanceConfig.Builder

getDesiredNetworkPerformanceConfigOrBuilder()

public NetworkConfig.ClusterNetworkPerformanceConfigOrBuilder getDesiredNetworkPerformanceConfigOrBuilder()

The desired network performance config.

.google.container.v1.NetworkConfig.ClusterNetworkPerformanceConfig desired_network_performance_config = 125;

Returns
Type Description
NetworkConfig.ClusterNetworkPerformanceConfigOrBuilder

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
Type Description
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
Type Description
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
Type Description
NetworkTagsOrBuilder

getDesiredNodePoolAutoConfigResourceManagerTags()

public ResourceManagerTags getDesiredNodePoolAutoConfigResourceManagerTags()

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

.google.container.v1.ResourceManagerTags desired_node_pool_auto_config_resource_manager_tags = 136;

Returns
Type Description
ResourceManagerTags

The desiredNodePoolAutoConfigResourceManagerTags.

getDesiredNodePoolAutoConfigResourceManagerTagsBuilder()

public ResourceManagerTags.Builder getDesiredNodePoolAutoConfigResourceManagerTagsBuilder()

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

.google.container.v1.ResourceManagerTags desired_node_pool_auto_config_resource_manager_tags = 136;

Returns
Type Description
ResourceManagerTags.Builder

getDesiredNodePoolAutoConfigResourceManagerTagsOrBuilder()

public ResourceManagerTagsOrBuilder getDesiredNodePoolAutoConfigResourceManagerTagsOrBuilder()

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

.google.container.v1.ResourceManagerTags desired_node_pool_auto_config_resource_manager_tags = 136;

Returns
Type Description
ResourceManagerTagsOrBuilder

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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for desiredNodeVersion.

getDesiredNotificationConfig()

public NotificationConfig getDesiredNotificationConfig()

The desired notification configuration.

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

Returns
Type Description
NotificationConfig

The desiredNotificationConfig.

getDesiredNotificationConfigBuilder()

public NotificationConfig.Builder getDesiredNotificationConfigBuilder()

The desired notification configuration.

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

Returns
Type Description
NotificationConfig.Builder

getDesiredNotificationConfigOrBuilder()

public NotificationConfigOrBuilder getDesiredNotificationConfigOrBuilder()

The desired notification configuration.

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

Returns
Type Description
NotificationConfigOrBuilder

getDesiredPrivateClusterConfig()

public PrivateClusterConfig getDesiredPrivateClusterConfig()

The desired private cluster configuration.

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

Returns
Type Description
PrivateClusterConfig

The desiredPrivateClusterConfig.

getDesiredPrivateClusterConfigBuilder()

public PrivateClusterConfig.Builder getDesiredPrivateClusterConfigBuilder()

The desired private cluster configuration.

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

Returns
Type Description
PrivateClusterConfig.Builder

getDesiredPrivateClusterConfigOrBuilder()

public PrivateClusterConfigOrBuilder getDesiredPrivateClusterConfigOrBuilder()

The desired private cluster configuration.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ReleaseChannel

The desiredReleaseChannel.

getDesiredReleaseChannelBuilder()

public ReleaseChannel.Builder getDesiredReleaseChannelBuilder()

The desired release channel configuration.

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

Returns
Type Description
ReleaseChannel.Builder

getDesiredReleaseChannelOrBuilder()

public ReleaseChannelOrBuilder getDesiredReleaseChannelOrBuilder()

The desired release channel configuration.

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

Returns
Type Description
ReleaseChannelOrBuilder

getDesiredResourceUsageExportConfig()

public ResourceUsageExportConfig getDesiredResourceUsageExportConfig()

The desired configuration for exporting resource usage.

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

Returns
Type Description
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
Type Description
ResourceUsageExportConfig.Builder

getDesiredResourceUsageExportConfigOrBuilder()

public ResourceUsageExportConfigOrBuilder getDesiredResourceUsageExportConfigOrBuilder()

The desired configuration for exporting resource usage.

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

Returns
Type Description
ResourceUsageExportConfigOrBuilder

getDesiredSecurityPostureConfig()

public SecurityPostureConfig getDesiredSecurityPostureConfig()

Enable/Disable Security Posture API features for the cluster.

.google.container.v1.SecurityPostureConfig desired_security_posture_config = 124;

Returns
Type Description
SecurityPostureConfig

The desiredSecurityPostureConfig.

getDesiredSecurityPostureConfigBuilder()

public SecurityPostureConfig.Builder getDesiredSecurityPostureConfigBuilder()

Enable/Disable Security Posture API features for the cluster.

.google.container.v1.SecurityPostureConfig desired_security_posture_config = 124;

Returns
Type Description
SecurityPostureConfig.Builder

getDesiredSecurityPostureConfigOrBuilder()

public SecurityPostureConfigOrBuilder getDesiredSecurityPostureConfigOrBuilder()

Enable/Disable Security Posture API features for the cluster.

.google.container.v1.SecurityPostureConfig desired_security_posture_config = 124;

Returns
Type Description
SecurityPostureConfigOrBuilder

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
Type Description
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
Type Description
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
Type Description
ServiceExternalIPsConfigOrBuilder

getDesiredShieldedNodes()

public ShieldedNodes getDesiredShieldedNodes()

Configuration for Shielded Nodes.

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

Returns
Type Description
ShieldedNodes

The desiredShieldedNodes.

getDesiredShieldedNodesBuilder()

public ShieldedNodes.Builder getDesiredShieldedNodesBuilder()

Configuration for Shielded Nodes.

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

Returns
Type Description
ShieldedNodes.Builder

getDesiredShieldedNodesOrBuilder()

public ShieldedNodesOrBuilder getDesiredShieldedNodesOrBuilder()

Configuration for Shielded Nodes.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
VerticalPodAutoscaling

The desiredVerticalPodAutoscaling.

getDesiredVerticalPodAutoscalingBuilder()

public VerticalPodAutoscaling.Builder getDesiredVerticalPodAutoscalingBuilder()

Cluster-level Vertical Pod Autoscaling configuration.

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

Returns
Type Description
VerticalPodAutoscaling.Builder

getDesiredVerticalPodAutoscalingOrBuilder()

public VerticalPodAutoscalingOrBuilder getDesiredVerticalPodAutoscalingOrBuilder()

Cluster-level Vertical Pod Autoscaling configuration.

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

Returns
Type Description
VerticalPodAutoscalingOrBuilder

getDesiredWorkloadIdentityConfig()

public WorkloadIdentityConfig getDesiredWorkloadIdentityConfig()

Configuration for Workload Identity.

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

Returns
Type Description
WorkloadIdentityConfig

The desiredWorkloadIdentityConfig.

getDesiredWorkloadIdentityConfigBuilder()

public WorkloadIdentityConfig.Builder getDesiredWorkloadIdentityConfigBuilder()

Configuration for Workload Identity.

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

Returns
Type Description
WorkloadIdentityConfig.Builder

getDesiredWorkloadIdentityConfigOrBuilder()

public WorkloadIdentityConfigOrBuilder getDesiredWorkloadIdentityConfigOrBuilder()

Configuration for Workload Identity.

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

Returns
Type Description
WorkloadIdentityConfigOrBuilder

getEnableK8SBetaApis()

public K8sBetaAPIConfig getEnableK8SBetaApis()

Kubernetes open source beta apis enabled on the cluster. Only beta apis

.google.container.v1.K8sBetaAPIConfig enable_k8s_beta_apis = 122;

Returns
Type Description
K8sBetaAPIConfig

The enableK8sBetaApis.

getEnableK8SBetaApisBuilder()

public K8sBetaAPIConfig.Builder getEnableK8SBetaApisBuilder()

Kubernetes open source beta apis enabled on the cluster. Only beta apis

.google.container.v1.K8sBetaAPIConfig enable_k8s_beta_apis = 122;

Returns
Type Description
K8sBetaAPIConfig.Builder

getEnableK8SBetaApisOrBuilder()

public K8sBetaAPIConfigOrBuilder getEnableK8SBetaApisOrBuilder()

Kubernetes open source beta apis enabled on the cluster. Only beta apis

.google.container.v1.K8sBetaAPIConfig enable_k8s_beta_apis = 122;

Returns
Type Description
K8sBetaAPIConfigOrBuilder

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
Type Description
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
Type Description
ByteString

The bytes for etag.

getRemovedAdditionalPodRangesConfig()

public AdditionalPodRangesConfig getRemovedAdditionalPodRangesConfig()

The additional pod ranges that are to be removed from the cluster. The pod ranges specified here must have been specified earlier in the 'additional_pod_ranges_config' argument.

.google.container.v1.AdditionalPodRangesConfig removed_additional_pod_ranges_config = 121;

Returns
Type Description
AdditionalPodRangesConfig

The removedAdditionalPodRangesConfig.

getRemovedAdditionalPodRangesConfigBuilder()

public AdditionalPodRangesConfig.Builder getRemovedAdditionalPodRangesConfigBuilder()

The additional pod ranges that are to be removed from the cluster. The pod ranges specified here must have been specified earlier in the 'additional_pod_ranges_config' argument.

.google.container.v1.AdditionalPodRangesConfig removed_additional_pod_ranges_config = 121;

Returns
Type Description
AdditionalPodRangesConfig.Builder

getRemovedAdditionalPodRangesConfigOrBuilder()

public AdditionalPodRangesConfigOrBuilder getRemovedAdditionalPodRangesConfigOrBuilder()

The additional pod ranges that are to be removed from the cluster. The pod ranges specified here must have been specified earlier in the 'additional_pod_ranges_config' argument.

.google.container.v1.AdditionalPodRangesConfig removed_additional_pod_ranges_config = 121;

Returns
Type Description
AdditionalPodRangesConfigOrBuilder

hasAdditionalPodRangesConfig()

public boolean hasAdditionalPodRangesConfig()

The additional pod ranges to be added to the cluster. These pod ranges can be used by node pools to allocate pod IPs.

.google.container.v1.AdditionalPodRangesConfig additional_pod_ranges_config = 120;

Returns
Type Description
boolean

Whether the additionalPodRangesConfig field is set.

hasDesiredAddonsConfig()

public boolean hasDesiredAddonsConfig()

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

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

Returns
Type Description
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
Type Description
boolean

Whether the desiredAuthenticatorGroupsConfig field is set.

hasDesiredAutopilotWorkloadPolicyConfig()

public boolean hasDesiredAutopilotWorkloadPolicyConfig()

The desired workload policy configuration for the autopilot cluster.

.google.container.v1.WorkloadPolicyConfig desired_autopilot_workload_policy_config = 128;

Returns
Type Description
boolean

Whether the desiredAutopilotWorkloadPolicyConfig 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
Type Description
boolean

Whether the desiredBinaryAuthorization field is set.

hasDesiredClusterAutoscaling()

public boolean hasDesiredClusterAutoscaling()

Cluster-level autoscaling configuration.

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

Returns
Type Description
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
Type Description
boolean

Whether the desiredCostManagementConfig field is set.

hasDesiredDatabaseEncryption()

public boolean hasDesiredDatabaseEncryption()

Configuration of etcd encryption.

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

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the desiredDnsConfig field is set.

hasDesiredEnableCiliumClusterwideNetworkPolicy()

public boolean hasDesiredEnableCiliumClusterwideNetworkPolicy()

Enable/Disable Cilium Clusterwide Network Policy for the cluster.

optional bool desired_enable_cilium_clusterwide_network_policy = 138;

Returns
Type Description
boolean

Whether the desiredEnableCiliumClusterwideNetworkPolicy field is set.

hasDesiredEnableFqdnNetworkPolicy()

public boolean hasDesiredEnableFqdnNetworkPolicy()

Enable/Disable FQDN Network Policy for the cluster.

optional bool desired_enable_fqdn_network_policy = 126;

Returns
Type Description
boolean

Whether the desiredEnableFqdnNetworkPolicy field is set.

hasDesiredEnableMultiNetworking()

public boolean hasDesiredEnableMultiNetworking()

Enable/Disable Multi-Networking for the cluster

optional bool desired_enable_multi_networking = 135;

Returns
Type Description
boolean

Whether the desiredEnableMultiNetworking field is set.

hasDesiredEnablePrivateEndpoint()

public boolean hasDesiredEnablePrivateEndpoint()

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

optional bool desired_enable_private_endpoint = 71;

Returns
Type Description
boolean

Whether the desiredEnablePrivateEndpoint field is set.

hasDesiredFleet()

public boolean hasDesiredFleet()

The desired fleet configuration for the cluster.

.google.container.v1.Fleet desired_fleet = 117;

Returns
Type Description
boolean

Whether the desiredFleet 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
Type Description
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
Type Description
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
Type Description
boolean

Whether the desiredIdentityServiceConfig field is set.

hasDesiredInTransitEncryptionConfig()

public boolean hasDesiredInTransitEncryptionConfig()

Specify the details of in-transit encryption.

optional .google.container.v1.InTransitEncryptionConfig desired_in_transit_encryption_config = 137;

Returns
Type Description
boolean

Whether the desiredInTransitEncryptionConfig 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
Type Description
boolean

Whether the desiredIntraNodeVisibilityConfig field is set.

hasDesiredK8SBetaApis()

public boolean hasDesiredK8SBetaApis()

Desired Beta APIs to be enabled for cluster.

.google.container.v1.K8sBetaAPIConfig desired_k8s_beta_apis = 131;

Returns
Type Description
boolean

Whether the desiredK8sBetaApis 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
Type Description
boolean

Whether the desiredL4ilbSubsettingConfig field is set.

hasDesiredLoggingConfig()

public boolean hasDesiredLoggingConfig()

The desired logging configuration.

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

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the desiredMeshCertificates field is set.

hasDesiredMonitoringConfig()

public boolean hasDesiredMonitoringConfig()

The desired monitoring configuration.

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

Returns
Type Description
boolean

Whether the desiredMonitoringConfig field is set.

hasDesiredNetworkPerformanceConfig()

public boolean hasDesiredNetworkPerformanceConfig()

The desired network performance config.

.google.container.v1.NetworkConfig.ClusterNetworkPerformanceConfig desired_network_performance_config = 125;

Returns
Type Description
boolean

Whether the desiredNetworkPerformanceConfig 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
Type Description
boolean

Whether the desiredNodePoolAutoConfigNetworkTags field is set.

hasDesiredNodePoolAutoConfigResourceManagerTags()

public boolean hasDesiredNodePoolAutoConfigResourceManagerTags()

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

.google.container.v1.ResourceManagerTags desired_node_pool_auto_config_resource_manager_tags = 136;

Returns
Type Description
boolean

Whether the desiredNodePoolAutoConfigResourceManagerTags 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
Type Description
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
Type Description
boolean

Whether the desiredNodePoolLoggingConfig field is set.

hasDesiredNotificationConfig()

public boolean hasDesiredNotificationConfig()

The desired notification configuration.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the desiredResourceUsageExportConfig field is set.

hasDesiredSecurityPostureConfig()

public boolean hasDesiredSecurityPostureConfig()

Enable/Disable Security Posture API features for the cluster.

.google.container.v1.SecurityPostureConfig desired_security_posture_config = 124;

Returns
Type Description
boolean

Whether the desiredSecurityPostureConfig 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
Type Description
boolean

Whether the desiredServiceExternalIpsConfig field is set.

hasDesiredShieldedNodes()

public boolean hasDesiredShieldedNodes()

Configuration for Shielded Nodes.

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

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the desiredWorkloadIdentityConfig field is set.

hasEnableK8SBetaApis()

public boolean hasEnableK8SBetaApis()

Kubernetes open source beta apis enabled on the cluster. Only beta apis

.google.container.v1.K8sBetaAPIConfig enable_k8s_beta_apis = 122;

Returns
Type Description
boolean

Whether the enableK8sBetaApis field is set.

hasRemovedAdditionalPodRangesConfig()

public boolean hasRemovedAdditionalPodRangesConfig()

The additional pod ranges that are to be removed from the cluster. The pod ranges specified here must have been specified earlier in the 'additional_pod_ranges_config' argument.

.google.container.v1.AdditionalPodRangesConfig removed_additional_pod_ranges_config = 121;

Returns
Type Description
boolean

Whether the removedAdditionalPodRangesConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAdditionalPodRangesConfig(AdditionalPodRangesConfig value)

public ClusterUpdate.Builder mergeAdditionalPodRangesConfig(AdditionalPodRangesConfig value)

The additional pod ranges to be added to the cluster. These pod ranges can be used by node pools to allocate pod IPs.

.google.container.v1.AdditionalPodRangesConfig additional_pod_ranges_config = 120;

Parameter
Name Description
value AdditionalPodRangesConfig
Returns
Type Description
ClusterUpdate.Builder

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
Name Description
value AddonsConfig
Returns
Type Description
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
Name Description
value AuthenticatorGroupsConfig
Returns
Type Description
ClusterUpdate.Builder

mergeDesiredAutopilotWorkloadPolicyConfig(WorkloadPolicyConfig value)

public ClusterUpdate.Builder mergeDesiredAutopilotWorkloadPolicyConfig(WorkloadPolicyConfig value)

The desired workload policy configuration for the autopilot cluster.

.google.container.v1.WorkloadPolicyConfig desired_autopilot_workload_policy_config = 128;

Parameter
Name Description
value WorkloadPolicyConfig
Returns
Type Description
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
Name Description
value BinaryAuthorization
Returns
Type Description
ClusterUpdate.Builder

mergeDesiredClusterAutoscaling(ClusterAutoscaling value)

public ClusterUpdate.Builder mergeDesiredClusterAutoscaling(ClusterAutoscaling value)

Cluster-level autoscaling configuration.

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

Parameter
Name Description
value ClusterAutoscaling
Returns
Type Description
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
Name Description
value CostManagementConfig
Returns
Type Description
ClusterUpdate.Builder

mergeDesiredDatabaseEncryption(DatabaseEncryption value)

public ClusterUpdate.Builder mergeDesiredDatabaseEncryption(DatabaseEncryption value)

Configuration of etcd encryption.

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

Parameter
Name Description
value DatabaseEncryption
Returns
Type Description
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
Name Description
value DefaultSnatStatus
Returns
Type Description
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
Name Description
value DNSConfig
Returns
Type Description
ClusterUpdate.Builder

mergeDesiredFleet(Fleet value)

public ClusterUpdate.Builder mergeDesiredFleet(Fleet value)

The desired fleet configuration for the cluster.

.google.container.v1.Fleet desired_fleet = 117;

Parameter
Name Description
value Fleet
Returns
Type Description
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
Name Description
value GatewayAPIConfig
Returns
Type Description
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
Name Description
value GcfsConfig
Returns
Type Description
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
Name Description
value IdentityServiceConfig
Returns
Type Description
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
Name Description
value IntraNodeVisibilityConfig
Returns
Type Description
ClusterUpdate.Builder

mergeDesiredK8SBetaApis(K8sBetaAPIConfig value)

public ClusterUpdate.Builder mergeDesiredK8SBetaApis(K8sBetaAPIConfig value)

Desired Beta APIs to be enabled for cluster.

.google.container.v1.K8sBetaAPIConfig desired_k8s_beta_apis = 131;

Parameter
Name Description
value K8sBetaAPIConfig
Returns
Type Description
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
Name Description
value ILBSubsettingConfig
Returns
Type Description
ClusterUpdate.Builder

mergeDesiredLoggingConfig(LoggingConfig value)

public ClusterUpdate.Builder mergeDesiredLoggingConfig(LoggingConfig value)

The desired logging configuration.

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

Parameter
Name Description
value LoggingConfig
Returns
Type Description
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
Name Description
value MasterAuthorizedNetworksConfig
Returns
Type Description
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
Name Description
value MeshCertificates
Returns
Type Description
ClusterUpdate.Builder

mergeDesiredMonitoringConfig(MonitoringConfig value)

public ClusterUpdate.Builder mergeDesiredMonitoringConfig(MonitoringConfig value)

The desired monitoring configuration.

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

Parameter
Name Description
value MonitoringConfig
Returns
Type Description
ClusterUpdate.Builder

mergeDesiredNetworkPerformanceConfig(NetworkConfig.ClusterNetworkPerformanceConfig value)

public ClusterUpdate.Builder mergeDesiredNetworkPerformanceConfig(NetworkConfig.ClusterNetworkPerformanceConfig value)

The desired network performance config.

.google.container.v1.NetworkConfig.ClusterNetworkPerformanceConfig desired_network_performance_config = 125;

Parameter
Name Description
value NetworkConfig.ClusterNetworkPerformanceConfig
Returns
Type Description
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
Name Description
value NetworkTags
Returns
Type Description
ClusterUpdate.Builder

mergeDesiredNodePoolAutoConfigResourceManagerTags(ResourceManagerTags value)

public ClusterUpdate.Builder mergeDesiredNodePoolAutoConfigResourceManagerTags(ResourceManagerTags value)

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

.google.container.v1.ResourceManagerTags desired_node_pool_auto_config_resource_manager_tags = 136;

Parameter
Name Description
value ResourceManagerTags
Returns
Type Description
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
Name Description
value NodePoolAutoscaling
Returns
Type Description
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
Name Description
value NodePoolLoggingConfig
Returns
Type Description
ClusterUpdate.Builder

mergeDesiredNotificationConfig(NotificationConfig value)

public ClusterUpdate.Builder mergeDesiredNotificationConfig(NotificationConfig value)

The desired notification configuration.

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

Parameter
Name Description
value NotificationConfig
Returns
Type Description
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
Name Description
value PrivateClusterConfig
Returns
Type Description
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
Name Description
value ReleaseChannel
Returns
Type Description
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
Name Description
value ResourceUsageExportConfig
Returns
Type Description
ClusterUpdate.Builder

mergeDesiredSecurityPostureConfig(SecurityPostureConfig value)

public ClusterUpdate.Builder mergeDesiredSecurityPostureConfig(SecurityPostureConfig value)

Enable/Disable Security Posture API features for the cluster.

.google.container.v1.SecurityPostureConfig desired_security_posture_config = 124;

Parameter
Name Description
value SecurityPostureConfig
Returns
Type Description
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
Name Description
value ServiceExternalIPsConfig
Returns
Type Description
ClusterUpdate.Builder

mergeDesiredShieldedNodes(ShieldedNodes value)

public ClusterUpdate.Builder mergeDesiredShieldedNodes(ShieldedNodes value)

Configuration for Shielded Nodes.

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

Parameter
Name Description
value ShieldedNodes
Returns
Type Description
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
Name Description
value VerticalPodAutoscaling
Returns
Type Description
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
Name Description
value WorkloadIdentityConfig
Returns
Type Description
ClusterUpdate.Builder

mergeEnableK8SBetaApis(K8sBetaAPIConfig value)

public ClusterUpdate.Builder mergeEnableK8SBetaApis(K8sBetaAPIConfig value)

Kubernetes open source beta apis enabled on the cluster. Only beta apis

.google.container.v1.K8sBetaAPIConfig enable_k8s_beta_apis = 122;

Parameter
Name Description
value K8sBetaAPIConfig
Returns
Type Description
ClusterUpdate.Builder

mergeFrom(ClusterUpdate other)

public ClusterUpdate.Builder mergeFrom(ClusterUpdate other)
Parameter
Name Description
other ClusterUpdate
Returns
Type Description
ClusterUpdate.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ClusterUpdate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClusterUpdate.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ClusterUpdate.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ClusterUpdate.Builder
Overrides

mergeRemovedAdditionalPodRangesConfig(AdditionalPodRangesConfig value)

public ClusterUpdate.Builder mergeRemovedAdditionalPodRangesConfig(AdditionalPodRangesConfig value)

The additional pod ranges that are to be removed from the cluster. The pod ranges specified here must have been specified earlier in the 'additional_pod_ranges_config' argument.

.google.container.v1.AdditionalPodRangesConfig removed_additional_pod_ranges_config = 121;

Parameter
Name Description
value AdditionalPodRangesConfig
Returns
Type Description
ClusterUpdate.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ClusterUpdate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ClusterUpdate.Builder
Overrides

setAdditionalPodRangesConfig(AdditionalPodRangesConfig value)

public ClusterUpdate.Builder setAdditionalPodRangesConfig(AdditionalPodRangesConfig value)

The additional pod ranges to be added to the cluster. These pod ranges can be used by node pools to allocate pod IPs.

.google.container.v1.AdditionalPodRangesConfig additional_pod_ranges_config = 120;

Parameter
Name Description
value AdditionalPodRangesConfig
Returns
Type Description
ClusterUpdate.Builder

setAdditionalPodRangesConfig(AdditionalPodRangesConfig.Builder builderForValue)

public ClusterUpdate.Builder setAdditionalPodRangesConfig(AdditionalPodRangesConfig.Builder builderForValue)

The additional pod ranges to be added to the cluster. These pod ranges can be used by node pools to allocate pod IPs.

.google.container.v1.AdditionalPodRangesConfig additional_pod_ranges_config = 120;

Parameter
Name Description
builderForValue AdditionalPodRangesConfig.Builder
Returns
Type Description
ClusterUpdate.Builder

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
Name Description
value AddonsConfig
Returns
Type Description
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
Name Description
builderForValue AddonsConfig.Builder
Returns
Type Description
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
Name Description
value AuthenticatorGroupsConfig
Returns
Type Description
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
Name Description
builderForValue AuthenticatorGroupsConfig.Builder
Returns
Type Description
ClusterUpdate.Builder

setDesiredAutopilotWorkloadPolicyConfig(WorkloadPolicyConfig value)

public ClusterUpdate.Builder setDesiredAutopilotWorkloadPolicyConfig(WorkloadPolicyConfig value)

The desired workload policy configuration for the autopilot cluster.

.google.container.v1.WorkloadPolicyConfig desired_autopilot_workload_policy_config = 128;

Parameter
Name Description
value WorkloadPolicyConfig
Returns
Type Description
ClusterUpdate.Builder

setDesiredAutopilotWorkloadPolicyConfig(WorkloadPolicyConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredAutopilotWorkloadPolicyConfig(WorkloadPolicyConfig.Builder builderForValue)

The desired workload policy configuration for the autopilot cluster.

.google.container.v1.WorkloadPolicyConfig desired_autopilot_workload_policy_config = 128;

Parameter
Name Description
builderForValue WorkloadPolicyConfig.Builder
Returns
Type Description
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
Name Description
value BinaryAuthorization
Returns
Type Description
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
Name Description
builderForValue BinaryAuthorization.Builder
Returns
Type Description
ClusterUpdate.Builder

setDesiredClusterAutoscaling(ClusterAutoscaling value)

public ClusterUpdate.Builder setDesiredClusterAutoscaling(ClusterAutoscaling value)

Cluster-level autoscaling configuration.

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

Parameter
Name Description
value ClusterAutoscaling
Returns
Type Description
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
Name Description
builderForValue ClusterAutoscaling.Builder
Returns
Type Description
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
Name Description
value CostManagementConfig
Returns
Type Description
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
Name Description
builderForValue CostManagementConfig.Builder
Returns
Type Description
ClusterUpdate.Builder

setDesiredDatabaseEncryption(DatabaseEncryption value)

public ClusterUpdate.Builder setDesiredDatabaseEncryption(DatabaseEncryption value)

Configuration of etcd encryption.

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

Parameter
Name Description
value DatabaseEncryption
Returns
Type Description
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
Name Description
builderForValue DatabaseEncryption.Builder
Returns
Type Description
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
Name Description
value DatapathProvider

The desiredDatapathProvider to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
value DefaultSnatStatus
Returns
Type Description
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
Name Description
builderForValue DefaultSnatStatus.Builder
Returns
Type Description
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
Name Description
value DNSConfig
Returns
Type Description
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
Name Description
builderForValue DNSConfig.Builder
Returns
Type Description
ClusterUpdate.Builder

setDesiredEnableCiliumClusterwideNetworkPolicy(boolean value)

public ClusterUpdate.Builder setDesiredEnableCiliumClusterwideNetworkPolicy(boolean value)

Enable/Disable Cilium Clusterwide Network Policy for the cluster.

optional bool desired_enable_cilium_clusterwide_network_policy = 138;

Parameter
Name Description
value boolean

The desiredEnableCiliumClusterwideNetworkPolicy to set.

Returns
Type Description
ClusterUpdate.Builder

This builder for chaining.

setDesiredEnableFqdnNetworkPolicy(boolean value)

public ClusterUpdate.Builder setDesiredEnableFqdnNetworkPolicy(boolean value)

Enable/Disable FQDN Network Policy for the cluster.

optional bool desired_enable_fqdn_network_policy = 126;

Parameter
Name Description
value boolean

The desiredEnableFqdnNetworkPolicy to set.

Returns
Type Description
ClusterUpdate.Builder

This builder for chaining.

setDesiredEnableMultiNetworking(boolean value)

public ClusterUpdate.Builder setDesiredEnableMultiNetworking(boolean value)

Enable/Disable Multi-Networking for the cluster

optional bool desired_enable_multi_networking = 135;

Parameter
Name Description
value boolean

The desiredEnableMultiNetworking to set.

Returns
Type Description
ClusterUpdate.Builder

This builder for chaining.

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
Name Description
value boolean

The desiredEnablePrivateEndpoint to set.

Returns
Type Description
ClusterUpdate.Builder

This builder for chaining.

setDesiredFleet(Fleet value)

public ClusterUpdate.Builder setDesiredFleet(Fleet value)

The desired fleet configuration for the cluster.

.google.container.v1.Fleet desired_fleet = 117;

Parameter
Name Description
value Fleet
Returns
Type Description
ClusterUpdate.Builder

setDesiredFleet(Fleet.Builder builderForValue)

public ClusterUpdate.Builder setDesiredFleet(Fleet.Builder builderForValue)

The desired fleet configuration for the cluster.

.google.container.v1.Fleet desired_fleet = 117;

Parameter
Name Description
builderForValue Fleet.Builder
Returns
Type Description
ClusterUpdate.Builder

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
Name Description
value GatewayAPIConfig
Returns
Type Description
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
Name Description
builderForValue GatewayAPIConfig.Builder
Returns
Type Description
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
Name Description
value GcfsConfig
Returns
Type Description
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
Name Description
builderForValue GcfsConfig.Builder
Returns
Type Description
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
Name Description
value IdentityServiceConfig
Returns
Type Description
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
Name Description
builderForValue IdentityServiceConfig.Builder
Returns
Type Description
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
Name Description
value String

The desiredImageType to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for desiredImageType to set.

Returns
Type Description
ClusterUpdate.Builder

This builder for chaining.

setDesiredInTransitEncryptionConfig(InTransitEncryptionConfig value)

public ClusterUpdate.Builder setDesiredInTransitEncryptionConfig(InTransitEncryptionConfig value)

Specify the details of in-transit encryption.

optional .google.container.v1.InTransitEncryptionConfig desired_in_transit_encryption_config = 137;

Parameter
Name Description
value InTransitEncryptionConfig

The desiredInTransitEncryptionConfig to set.

Returns
Type Description
ClusterUpdate.Builder

This builder for chaining.

setDesiredInTransitEncryptionConfigValue(int value)

public ClusterUpdate.Builder setDesiredInTransitEncryptionConfigValue(int value)

Specify the details of in-transit encryption.

optional .google.container.v1.InTransitEncryptionConfig desired_in_transit_encryption_config = 137;

Parameter
Name Description
value int

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

Returns
Type Description
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
Name Description
value IntraNodeVisibilityConfig
Returns
Type Description
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
Name Description
builderForValue IntraNodeVisibilityConfig.Builder
Returns
Type Description
ClusterUpdate.Builder

setDesiredK8SBetaApis(K8sBetaAPIConfig value)

public ClusterUpdate.Builder setDesiredK8SBetaApis(K8sBetaAPIConfig value)

Desired Beta APIs to be enabled for cluster.

.google.container.v1.K8sBetaAPIConfig desired_k8s_beta_apis = 131;

Parameter
Name Description
value K8sBetaAPIConfig
Returns
Type Description
ClusterUpdate.Builder

setDesiredK8SBetaApis(K8sBetaAPIConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredK8SBetaApis(K8sBetaAPIConfig.Builder builderForValue)

Desired Beta APIs to be enabled for cluster.

.google.container.v1.K8sBetaAPIConfig desired_k8s_beta_apis = 131;

Parameter
Name Description
builderForValue K8sBetaAPIConfig.Builder
Returns
Type Description
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
Name Description
value ILBSubsettingConfig
Returns
Type Description
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
Name Description
builderForValue ILBSubsettingConfig.Builder
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The desiredLocations to set.

Returns
Type Description
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
Name Description
value LoggingConfig
Returns
Type Description
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
Name Description
builderForValue LoggingConfig.Builder
Returns
Type Description
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
Name Description
value String

The desiredLoggingService to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for desiredLoggingService to set.

Returns
Type Description
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
Name Description
value MasterAuthorizedNetworksConfig
Returns
Type Description
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
Name Description
builderForValue MasterAuthorizedNetworksConfig.Builder
Returns
Type Description
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
Name Description
value String

The desiredMasterVersion to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for desiredMasterVersion to set.

Returns
Type Description
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
Name Description
value MeshCertificates
Returns
Type Description
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
Name Description
builderForValue MeshCertificates.Builder
Returns
Type Description
ClusterUpdate.Builder

setDesiredMonitoringConfig(MonitoringConfig value)

public ClusterUpdate.Builder setDesiredMonitoringConfig(MonitoringConfig value)

The desired monitoring configuration.

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

Parameter
Name Description
value MonitoringConfig
Returns
Type Description
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
Name Description
builderForValue MonitoringConfig.Builder
Returns
Type Description
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
Name Description
value String

The desiredMonitoringService to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for desiredMonitoringService to set.

Returns
Type Description
ClusterUpdate.Builder

This builder for chaining.

setDesiredNetworkPerformanceConfig(NetworkConfig.ClusterNetworkPerformanceConfig value)

public ClusterUpdate.Builder setDesiredNetworkPerformanceConfig(NetworkConfig.ClusterNetworkPerformanceConfig value)

The desired network performance config.

.google.container.v1.NetworkConfig.ClusterNetworkPerformanceConfig desired_network_performance_config = 125;

Parameter
Name Description
value NetworkConfig.ClusterNetworkPerformanceConfig
Returns
Type Description
ClusterUpdate.Builder

setDesiredNetworkPerformanceConfig(NetworkConfig.ClusterNetworkPerformanceConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredNetworkPerformanceConfig(NetworkConfig.ClusterNetworkPerformanceConfig.Builder builderForValue)

The desired network performance config.

.google.container.v1.NetworkConfig.ClusterNetworkPerformanceConfig desired_network_performance_config = 125;

Parameter
Name Description
builderForValue NetworkConfig.ClusterNetworkPerformanceConfig.Builder
Returns
Type Description
ClusterUpdate.Builder

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
Name Description
value NetworkTags
Returns
Type Description
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
Name Description
builderForValue NetworkTags.Builder
Returns
Type Description
ClusterUpdate.Builder

setDesiredNodePoolAutoConfigResourceManagerTags(ResourceManagerTags value)

public ClusterUpdate.Builder setDesiredNodePoolAutoConfigResourceManagerTags(ResourceManagerTags value)

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

.google.container.v1.ResourceManagerTags desired_node_pool_auto_config_resource_manager_tags = 136;

Parameter
Name Description
value ResourceManagerTags
Returns
Type Description
ClusterUpdate.Builder

setDesiredNodePoolAutoConfigResourceManagerTags(ResourceManagerTags.Builder builderForValue)

public ClusterUpdate.Builder setDesiredNodePoolAutoConfigResourceManagerTags(ResourceManagerTags.Builder builderForValue)

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

.google.container.v1.ResourceManagerTags desired_node_pool_auto_config_resource_manager_tags = 136;

Parameter
Name Description
builderForValue ResourceManagerTags.Builder
Returns
Type Description
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
Name Description
value NodePoolAutoscaling
Returns
Type Description
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
Name Description
builderForValue NodePoolAutoscaling.Builder
Returns
Type Description
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
Name Description
value String

The desiredNodePoolId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for desiredNodePoolId to set.

Returns
Type Description
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
Name Description
value NodePoolLoggingConfig
Returns
Type Description
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
Name Description
builderForValue NodePoolLoggingConfig.Builder
Returns
Type Description
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
Name Description
value String

The desiredNodeVersion to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for desiredNodeVersion to set.

Returns
Type Description
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
Name Description
value NotificationConfig
Returns
Type Description
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
Name Description
builderForValue NotificationConfig.Builder
Returns
Type Description
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
Name Description
value PrivateClusterConfig
Returns
Type Description
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
Name Description
builderForValue PrivateClusterConfig.Builder
Returns
Type Description
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
Name Description
value PrivateIPv6GoogleAccess

The desiredPrivateIpv6GoogleAccess to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
value ReleaseChannel
Returns
Type Description
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
Name Description
builderForValue ReleaseChannel.Builder
Returns
Type Description
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
Name Description
value ResourceUsageExportConfig
Returns
Type Description
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
Name Description
builderForValue ResourceUsageExportConfig.Builder
Returns
Type Description
ClusterUpdate.Builder

setDesiredSecurityPostureConfig(SecurityPostureConfig value)

public ClusterUpdate.Builder setDesiredSecurityPostureConfig(SecurityPostureConfig value)

Enable/Disable Security Posture API features for the cluster.

.google.container.v1.SecurityPostureConfig desired_security_posture_config = 124;

Parameter
Name Description
value SecurityPostureConfig
Returns
Type Description
ClusterUpdate.Builder

setDesiredSecurityPostureConfig(SecurityPostureConfig.Builder builderForValue)

public ClusterUpdate.Builder setDesiredSecurityPostureConfig(SecurityPostureConfig.Builder builderForValue)

Enable/Disable Security Posture API features for the cluster.

.google.container.v1.SecurityPostureConfig desired_security_posture_config = 124;

Parameter
Name Description
builderForValue SecurityPostureConfig.Builder
Returns
Type Description
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
Name Description
value ServiceExternalIPsConfig
Returns
Type Description
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
Name Description
builderForValue ServiceExternalIPsConfig.Builder
Returns
Type Description
ClusterUpdate.Builder

setDesiredShieldedNodes(ShieldedNodes value)

public ClusterUpdate.Builder setDesiredShieldedNodes(ShieldedNodes value)

Configuration for Shielded Nodes.

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

Parameter
Name Description
value ShieldedNodes
Returns
Type Description
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
Name Description
builderForValue ShieldedNodes.Builder
Returns
Type Description
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
Name Description
value StackType

The desiredStackType to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
value VerticalPodAutoscaling
Returns
Type Description
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
Name Description
builderForValue VerticalPodAutoscaling.Builder
Returns
Type Description
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
Name Description
value WorkloadIdentityConfig
Returns
Type Description
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
Name Description
builderForValue WorkloadIdentityConfig.Builder
Returns
Type Description
ClusterUpdate.Builder

setEnableK8SBetaApis(K8sBetaAPIConfig value)

public ClusterUpdate.Builder setEnableK8SBetaApis(K8sBetaAPIConfig value)

Kubernetes open source beta apis enabled on the cluster. Only beta apis

.google.container.v1.K8sBetaAPIConfig enable_k8s_beta_apis = 122;

Parameter
Name Description
value K8sBetaAPIConfig
Returns
Type Description
ClusterUpdate.Builder

setEnableK8SBetaApis(K8sBetaAPIConfig.Builder builderForValue)

public ClusterUpdate.Builder setEnableK8SBetaApis(K8sBetaAPIConfig.Builder builderForValue)

Kubernetes open source beta apis enabled on the cluster. Only beta apis

.google.container.v1.K8sBetaAPIConfig enable_k8s_beta_apis = 122;

Parameter
Name Description
builderForValue K8sBetaAPIConfig.Builder
Returns
Type Description
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
Name Description
value String

The etag to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
ClusterUpdate.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ClusterUpdate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ClusterUpdate.Builder
Overrides

setRemovedAdditionalPodRangesConfig(AdditionalPodRangesConfig value)

public ClusterUpdate.Builder setRemovedAdditionalPodRangesConfig(AdditionalPodRangesConfig value)

The additional pod ranges that are to be removed from the cluster. The pod ranges specified here must have been specified earlier in the 'additional_pod_ranges_config' argument.

.google.container.v1.AdditionalPodRangesConfig removed_additional_pod_ranges_config = 121;

Parameter
Name Description
value AdditionalPodRangesConfig
Returns
Type Description
ClusterUpdate.Builder

setRemovedAdditionalPodRangesConfig(AdditionalPodRangesConfig.Builder builderForValue)

public ClusterUpdate.Builder setRemovedAdditionalPodRangesConfig(AdditionalPodRangesConfig.Builder builderForValue)

The additional pod ranges that are to be removed from the cluster. The pod ranges specified here must have been specified earlier in the 'additional_pod_ranges_config' argument.

.google.container.v1.AdditionalPodRangesConfig removed_additional_pod_ranges_config = 121;

Parameter
Name Description
builderForValue AdditionalPodRangesConfig.Builder
Returns
Type Description
ClusterUpdate.Builder

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

public ClusterUpdate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ClusterUpdate.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ClusterUpdate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ClusterUpdate.Builder
Overrides