Class UpdateNodePoolRequest.Builder (2.63.0)

publicstaticfinalclassUpdateNodePoolRequest.BuilderextendsGeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>implementsUpdateNodePoolRequestOrBuilder

SetNodePoolVersionRequest updates the version of a node pool.

Protobuf type google.container.v1beta1.UpdateNodePoolRequest

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAccelerators(AcceleratorConfig value)

publicUpdateNodePoolRequest.BuilderaddAccelerators(AcceleratorConfigvalue)

A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

repeated .google.container.v1beta1.AcceleratorConfig accelerators = 35;

Parameter
NameDescription
valueAcceleratorConfig
Returns
TypeDescription
UpdateNodePoolRequest.Builder

addAccelerators(AcceleratorConfig.Builder builderForValue)

publicUpdateNodePoolRequest.BuilderaddAccelerators(AcceleratorConfig.BuilderbuilderForValue)

A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

repeated .google.container.v1beta1.AcceleratorConfig accelerators = 35;

Parameter
NameDescription
builderForValueAcceleratorConfig.Builder
Returns
TypeDescription
UpdateNodePoolRequest.Builder

addAccelerators(int index, AcceleratorConfig value)

publicUpdateNodePoolRequest.BuilderaddAccelerators(intindex,AcceleratorConfigvalue)

A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

repeated .google.container.v1beta1.AcceleratorConfig accelerators = 35;

Parameters
NameDescription
indexint
valueAcceleratorConfig
Returns
TypeDescription
UpdateNodePoolRequest.Builder

addAccelerators(int index, AcceleratorConfig.Builder builderForValue)

publicUpdateNodePoolRequest.BuilderaddAccelerators(intindex,AcceleratorConfig.BuilderbuilderForValue)

A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

repeated .google.container.v1beta1.AcceleratorConfig accelerators = 35;

Parameters
NameDescription
indexint
builderForValueAcceleratorConfig.Builder
Returns
TypeDescription
UpdateNodePoolRequest.Builder

addAcceleratorsBuilder()

publicAcceleratorConfig.BuilderaddAcceleratorsBuilder()

A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

repeated .google.container.v1beta1.AcceleratorConfig accelerators = 35;

Returns
TypeDescription
AcceleratorConfig.Builder

addAcceleratorsBuilder(int index)

publicAcceleratorConfig.BuilderaddAcceleratorsBuilder(intindex)

A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

repeated .google.container.v1beta1.AcceleratorConfig accelerators = 35;

Parameter
NameDescription
indexint
Returns
TypeDescription
AcceleratorConfig.Builder

addAllAccelerators(Iterable<? extends AcceleratorConfig> values)

publicUpdateNodePoolRequest.BuilderaddAllAccelerators(Iterable<?extendsAcceleratorConfig>values)

A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

repeated .google.container.v1beta1.AcceleratorConfig accelerators = 35;

Parameter
NameDescription
valuesIterable<? extends com.google.container.v1beta1.AcceleratorConfig>
Returns
TypeDescription
UpdateNodePoolRequest.Builder

addAllLocations(Iterable<String> values)

publicUpdateNodePoolRequest.BuilderaddAllLocations(Iterable<String>values)

The desired list of Google Compute Engine zones in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed.

repeated string locations = 13;

Parameter
NameDescription
valuesIterable<String>

The locations to add.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

addLocations(String value)

publicUpdateNodePoolRequest.BuilderaddLocations(Stringvalue)

The desired list of Google Compute Engine zones in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed.

repeated string locations = 13;

Parameter
NameDescription
valueString

The locations to add.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

addLocationsBytes(ByteString value)

publicUpdateNodePoolRequest.BuilderaddLocationsBytes(ByteStringvalue)

The desired list of Google Compute Engine zones in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed.

repeated string locations = 13;

Parameter
NameDescription
valueByteString

The bytes of the locations to add.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicUpdateNodePoolRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateNodePoolRequest.Builder
Overrides

build()

publicUpdateNodePoolRequestbuild()
Returns
TypeDescription
UpdateNodePoolRequest

buildPartial()

publicUpdateNodePoolRequestbuildPartial()
Returns
TypeDescription
UpdateNodePoolRequest

clear()

publicUpdateNodePoolRequest.Builderclear()
Returns
TypeDescription
UpdateNodePoolRequest.Builder
Overrides

clearAccelerators()

publicUpdateNodePoolRequest.BuilderclearAccelerators()

A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

repeated .google.container.v1beta1.AcceleratorConfig accelerators = 35;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

clearClusterId() (deprecated)

publicUpdateNodePoolRequest.BuilderclearClusterId()

Deprecated.google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3221

Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

clearConfidentialNodes()

publicUpdateNodePoolRequest.BuilderclearConfidentialNodes()

Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.

.google.container.v1beta1.ConfidentialNodes confidential_nodes = 23;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

clearContainerdConfig()

publicUpdateNodePoolRequest.BuilderclearContainerdConfig()

The desired containerd config for nodes in the node pool. Initiates an upgrade operation that recreates the nodes with the new config.

.google.container.v1beta1.ContainerdConfig containerd_config = 40;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

clearDiskSizeGb()

publicUpdateNodePoolRequest.BuilderclearDiskSizeGb()

Optional. The desired disk size for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk size.

int64 disk_size_gb = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

clearDiskType()

publicUpdateNodePoolRequest.BuilderclearDiskType()

Optional. The desired disk type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk type.

string disk_type = 37 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

clearEtag()

publicUpdateNodePoolRequest.BuilderclearEtag()

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

string etag = 30;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

clearFastSocket()

publicUpdateNodePoolRequest.BuilderclearFastSocket()

Enable or disable NCCL fast socket for the node pool.

.google.container.v1beta1.FastSocket fast_socket = 31;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

clearField(Descriptors.FieldDescriptor field)

publicUpdateNodePoolRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateNodePoolRequest.Builder
Overrides

clearGcfsConfig()

publicUpdateNodePoolRequest.BuilderclearGcfsConfig()

GCFS config.

.google.container.v1beta1.GcfsConfig gcfs_config = 22;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

clearGvnic()

publicUpdateNodePoolRequest.BuilderclearGvnic()

Enable or disable gvnic on the node pool.

.google.container.v1beta1.VirtualNIC gvnic = 29;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

clearImageType()

publicUpdateNodePoolRequest.BuilderclearImageType()

Required. The desired image type for the node pool. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.

string image_type = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

clearKubeletConfig()

publicUpdateNodePoolRequest.BuilderclearKubeletConfig()

Node kubelet configs.

.google.container.v1beta1.NodeKubeletConfig kubelet_config = 20;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

clearLabels()

publicUpdateNodePoolRequest.BuilderclearLabels()

The desired node labels to be applied to all nodes in the node pool. If this field is not present, the labels will not be changed. Otherwise, the existing node labels will be replaced with the provided labels.

.google.container.v1beta1.NodeLabels labels = 18;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

clearLinuxNodeConfig()

publicUpdateNodePoolRequest.BuilderclearLinuxNodeConfig()

Parameters that can be configured on Linux nodes.

.google.container.v1beta1.LinuxNodeConfig linux_node_config = 19;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

clearLocations()

publicUpdateNodePoolRequest.BuilderclearLocations()

The desired list of Google Compute Engine zones in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed.

repeated string locations = 13;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

clearLoggingConfig()

publicUpdateNodePoolRequest.BuilderclearLoggingConfig()

Logging configuration.

.google.container.v1beta1.NodePoolLoggingConfig logging_config = 32;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

clearMachineType()

publicUpdateNodePoolRequest.BuilderclearMachineType()

Optional. The desired machine type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified machine type.

string machine_type = 36 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

clearName()

publicUpdateNodePoolRequest.BuilderclearName()

The name (project, location, cluster, node pool) of the node pool to update. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

string name = 8;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

clearNodeNetworkConfig()

publicUpdateNodePoolRequest.BuilderclearNodeNetworkConfig()

Node network config.

.google.container.v1beta1.NodeNetworkConfig node_network_config = 21;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

clearNodePoolId() (deprecated)

publicUpdateNodePoolRequest.BuilderclearNodePoolId()

Deprecated.google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3226

Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.

string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

clearNodeVersion()

publicUpdateNodePoolRequest.BuilderclearNodeVersion()

Required. 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 node_version = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicUpdateNodePoolRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateNodePoolRequest.Builder
Overrides

clearProjectId() (deprecated)

publicUpdateNodePoolRequest.BuilderclearProjectId()

Deprecated.google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3210

Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

clearQueuedProvisioning()

publicUpdateNodePoolRequest.BuilderclearQueuedProvisioning()

Specifies the configuration of queued provisioning.

.google.container.v1beta1.NodePool.QueuedProvisioning queued_provisioning = 42;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

clearResourceLabels()

publicUpdateNodePoolRequest.BuilderclearResourceLabels()

The resource labels for the node pool to use to annotate any related Google Compute Engine resources.

.google.container.v1beta1.ResourceLabels resource_labels = 33;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

clearResourceManagerTags()

publicUpdateNodePoolRequest.BuilderclearResourceManagerTags()

Desired resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Existing tags will be replaced with new values.

.google.container.v1beta1.ResourceManagerTags resource_manager_tags = 39;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

clearTags()

publicUpdateNodePoolRequest.BuilderclearTags()

The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be replaced with the provided tags.

.google.container.v1beta1.NetworkTags tags = 16;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

clearTaints()

publicUpdateNodePoolRequest.BuilderclearTaints()

The desired node taints to be applied to all nodes in the node pool. If this field is not present, the taints will not be changed. Otherwise, the existing node taints will be replaced with the provided taints.

.google.container.v1beta1.NodeTaints taints = 17;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

clearUpgradeSettings()

publicUpdateNodePoolRequest.BuilderclearUpgradeSettings()

Upgrade settings control disruption and speed of the upgrade.

.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

clearWindowsNodeConfig()

publicUpdateNodePoolRequest.BuilderclearWindowsNodeConfig()

Parameters that can be configured on Windows nodes.

.google.container.v1beta1.WindowsNodeConfig windows_node_config = 34;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

clearWorkloadMetadataConfig()

publicUpdateNodePoolRequest.BuilderclearWorkloadMetadataConfig()

The desired workload metadata config for the node pool.

.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;

Returns
TypeDescription
UpdateNodePoolRequest.Builder

clearZone() (deprecated)

publicUpdateNodePoolRequest.BuilderclearZone()

Deprecated.google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3217

Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

clone()

publicUpdateNodePoolRequest.Builderclone()
Returns
TypeDescription
UpdateNodePoolRequest.Builder
Overrides

getAccelerators(int index)

publicAcceleratorConfiggetAccelerators(intindex)

A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

repeated .google.container.v1beta1.AcceleratorConfig accelerators = 35;

Parameter
NameDescription
indexint
Returns
TypeDescription
AcceleratorConfig

getAcceleratorsBuilder(int index)

publicAcceleratorConfig.BuildergetAcceleratorsBuilder(intindex)

A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

repeated .google.container.v1beta1.AcceleratorConfig accelerators = 35;

Parameter
NameDescription
indexint
Returns
TypeDescription
AcceleratorConfig.Builder

getAcceleratorsBuilderList()

publicList<AcceleratorConfig.Builder>getAcceleratorsBuilderList()

A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

repeated .google.container.v1beta1.AcceleratorConfig accelerators = 35;

Returns
TypeDescription
List<Builder>

getAcceleratorsCount()

publicintgetAcceleratorsCount()

A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

repeated .google.container.v1beta1.AcceleratorConfig accelerators = 35;

Returns
TypeDescription
int

getAcceleratorsList()

publicList<AcceleratorConfig>getAcceleratorsList()

A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

repeated .google.container.v1beta1.AcceleratorConfig accelerators = 35;

Returns
TypeDescription
List<AcceleratorConfig>

getAcceleratorsOrBuilder(int index)

publicAcceleratorConfigOrBuildergetAcceleratorsOrBuilder(intindex)

A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

repeated .google.container.v1beta1.AcceleratorConfig accelerators = 35;

Parameter
NameDescription
indexint
Returns
TypeDescription
AcceleratorConfigOrBuilder

getAcceleratorsOrBuilderList()

publicList<?extendsAcceleratorConfigOrBuilder>getAcceleratorsOrBuilderList()

A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

repeated .google.container.v1beta1.AcceleratorConfig accelerators = 35;

Returns
TypeDescription
List<? extends com.google.container.v1beta1.AcceleratorConfigOrBuilder>

getClusterId() (deprecated)

publicStringgetClusterId()

Deprecated.google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3221

Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The clusterId.

getClusterIdBytes() (deprecated)

publicByteStringgetClusterIdBytes()

Deprecated.google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3221

Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for clusterId.

getConfidentialNodes()

publicConfidentialNodesgetConfidentialNodes()

Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.

.google.container.v1beta1.ConfidentialNodes confidential_nodes = 23;

Returns
TypeDescription
ConfidentialNodes

The confidentialNodes.

getConfidentialNodesBuilder()

publicConfidentialNodes.BuildergetConfidentialNodesBuilder()

Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.

.google.container.v1beta1.ConfidentialNodes confidential_nodes = 23;

Returns
TypeDescription
ConfidentialNodes.Builder

getConfidentialNodesOrBuilder()

publicConfidentialNodesOrBuildergetConfidentialNodesOrBuilder()

Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.

.google.container.v1beta1.ConfidentialNodes confidential_nodes = 23;

Returns
TypeDescription
ConfidentialNodesOrBuilder

getContainerdConfig()

publicContainerdConfiggetContainerdConfig()

The desired containerd config for nodes in the node pool. Initiates an upgrade operation that recreates the nodes with the new config.

.google.container.v1beta1.ContainerdConfig containerd_config = 40;

Returns
TypeDescription
ContainerdConfig

The containerdConfig.

getContainerdConfigBuilder()

publicContainerdConfig.BuildergetContainerdConfigBuilder()

The desired containerd config for nodes in the node pool. Initiates an upgrade operation that recreates the nodes with the new config.

.google.container.v1beta1.ContainerdConfig containerd_config = 40;

Returns
TypeDescription
ContainerdConfig.Builder

getContainerdConfigOrBuilder()

publicContainerdConfigOrBuildergetContainerdConfigOrBuilder()

The desired containerd config for nodes in the node pool. Initiates an upgrade operation that recreates the nodes with the new config.

.google.container.v1beta1.ContainerdConfig containerd_config = 40;

Returns
TypeDescription
ContainerdConfigOrBuilder

getDefaultInstanceForType()

publicUpdateNodePoolRequestgetDefaultInstanceForType()
Returns
TypeDescription
UpdateNodePoolRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDiskSizeGb()

publiclonggetDiskSizeGb()

Optional. The desired disk size for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk size.

int64 disk_size_gb = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
long

The diskSizeGb.

getDiskType()

publicStringgetDiskType()

Optional. The desired disk type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk type.

string disk_type = 37 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The diskType.

getDiskTypeBytes()

publicByteStringgetDiskTypeBytes()

Optional. The desired disk type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk type.

string disk_type = 37 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for diskType.

getEtag()

publicStringgetEtag()

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

string etag = 30;

Returns
TypeDescription
String

The etag.

getEtagBytes()

publicByteStringgetEtagBytes()

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

string etag = 30;

Returns
TypeDescription
ByteString

The bytes for etag.

getFastSocket()

publicFastSocketgetFastSocket()

Enable or disable NCCL fast socket for the node pool.

.google.container.v1beta1.FastSocket fast_socket = 31;

Returns
TypeDescription
FastSocket

The fastSocket.

getFastSocketBuilder()

publicFastSocket.BuildergetFastSocketBuilder()

Enable or disable NCCL fast socket for the node pool.

.google.container.v1beta1.FastSocket fast_socket = 31;

Returns
TypeDescription
FastSocket.Builder

getFastSocketOrBuilder()

publicFastSocketOrBuildergetFastSocketOrBuilder()

Enable or disable NCCL fast socket for the node pool.

.google.container.v1beta1.FastSocket fast_socket = 31;

Returns
TypeDescription
FastSocketOrBuilder

getGcfsConfig()

publicGcfsConfiggetGcfsConfig()

GCFS config.

.google.container.v1beta1.GcfsConfig gcfs_config = 22;

Returns
TypeDescription
GcfsConfig

The gcfsConfig.

getGcfsConfigBuilder()

publicGcfsConfig.BuildergetGcfsConfigBuilder()

GCFS config.

.google.container.v1beta1.GcfsConfig gcfs_config = 22;

Returns
TypeDescription
GcfsConfig.Builder

getGcfsConfigOrBuilder()

publicGcfsConfigOrBuildergetGcfsConfigOrBuilder()

GCFS config.

.google.container.v1beta1.GcfsConfig gcfs_config = 22;

Returns
TypeDescription
GcfsConfigOrBuilder

getGvnic()

publicVirtualNICgetGvnic()

Enable or disable gvnic on the node pool.

.google.container.v1beta1.VirtualNIC gvnic = 29;

Returns
TypeDescription
VirtualNIC

The gvnic.

getGvnicBuilder()

publicVirtualNIC.BuildergetGvnicBuilder()

Enable or disable gvnic on the node pool.

.google.container.v1beta1.VirtualNIC gvnic = 29;

Returns
TypeDescription
VirtualNIC.Builder

getGvnicOrBuilder()

publicVirtualNICOrBuildergetGvnicOrBuilder()

Enable or disable gvnic on the node pool.

.google.container.v1beta1.VirtualNIC gvnic = 29;

Returns
TypeDescription
VirtualNICOrBuilder

getImageType()

publicStringgetImageType()

Required. The desired image type for the node pool. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.

string image_type = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The imageType.

getImageTypeBytes()

publicByteStringgetImageTypeBytes()

Required. The desired image type for the node pool. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.

string image_type = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for imageType.

getKubeletConfig()

publicNodeKubeletConfiggetKubeletConfig()

Node kubelet configs.

.google.container.v1beta1.NodeKubeletConfig kubelet_config = 20;

Returns
TypeDescription
NodeKubeletConfig

The kubeletConfig.

getKubeletConfigBuilder()

publicNodeKubeletConfig.BuildergetKubeletConfigBuilder()

Node kubelet configs.

.google.container.v1beta1.NodeKubeletConfig kubelet_config = 20;

Returns
TypeDescription
NodeKubeletConfig.Builder

getKubeletConfigOrBuilder()

publicNodeKubeletConfigOrBuildergetKubeletConfigOrBuilder()

Node kubelet configs.

.google.container.v1beta1.NodeKubeletConfig kubelet_config = 20;

Returns
TypeDescription
NodeKubeletConfigOrBuilder

getLabels()

publicNodeLabelsgetLabels()

The desired node labels to be applied to all nodes in the node pool. If this field is not present, the labels will not be changed. Otherwise, the existing node labels will be replaced with the provided labels.

.google.container.v1beta1.NodeLabels labels = 18;

Returns
TypeDescription
NodeLabels

The labels.

getLabelsBuilder()

publicNodeLabels.BuildergetLabelsBuilder()

The desired node labels to be applied to all nodes in the node pool. If this field is not present, the labels will not be changed. Otherwise, the existing node labels will be replaced with the provided labels.

.google.container.v1beta1.NodeLabels labels = 18;

Returns
TypeDescription
NodeLabels.Builder

getLabelsOrBuilder()

publicNodeLabelsOrBuildergetLabelsOrBuilder()

The desired node labels to be applied to all nodes in the node pool. If this field is not present, the labels will not be changed. Otherwise, the existing node labels will be replaced with the provided labels.

.google.container.v1beta1.NodeLabels labels = 18;

Returns
TypeDescription
NodeLabelsOrBuilder

getLinuxNodeConfig()

publicLinuxNodeConfiggetLinuxNodeConfig()

Parameters that can be configured on Linux nodes.

.google.container.v1beta1.LinuxNodeConfig linux_node_config = 19;

Returns
TypeDescription
LinuxNodeConfig

The linuxNodeConfig.

getLinuxNodeConfigBuilder()

publicLinuxNodeConfig.BuildergetLinuxNodeConfigBuilder()

Parameters that can be configured on Linux nodes.

.google.container.v1beta1.LinuxNodeConfig linux_node_config = 19;

Returns
TypeDescription
LinuxNodeConfig.Builder

getLinuxNodeConfigOrBuilder()

publicLinuxNodeConfigOrBuildergetLinuxNodeConfigOrBuilder()

Parameters that can be configured on Linux nodes.

.google.container.v1beta1.LinuxNodeConfig linux_node_config = 19;

Returns
TypeDescription
LinuxNodeConfigOrBuilder

getLocations(int index)

publicStringgetLocations(intindex)

The desired list of Google Compute Engine zones in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed.

repeated string locations = 13;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The locations at the given index.

getLocationsBytes(int index)

publicByteStringgetLocationsBytes(intindex)

The desired list of Google Compute Engine zones in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed.

repeated string locations = 13;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the locations at the given index.

getLocationsCount()

publicintgetLocationsCount()

The desired list of Google Compute Engine zones in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed.

repeated string locations = 13;

Returns
TypeDescription
int

The count of locations.

getLocationsList()

publicProtocolStringListgetLocationsList()

The desired list of Google Compute Engine zones in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed.

repeated string locations = 13;

Returns
TypeDescription
ProtocolStringList

A list containing the locations.

getLoggingConfig()

publicNodePoolLoggingConfiggetLoggingConfig()

Logging configuration.

.google.container.v1beta1.NodePoolLoggingConfig logging_config = 32;

Returns
TypeDescription
NodePoolLoggingConfig

The loggingConfig.

getLoggingConfigBuilder()

publicNodePoolLoggingConfig.BuildergetLoggingConfigBuilder()

Logging configuration.

.google.container.v1beta1.NodePoolLoggingConfig logging_config = 32;

Returns
TypeDescription
NodePoolLoggingConfig.Builder

getLoggingConfigOrBuilder()

publicNodePoolLoggingConfigOrBuildergetLoggingConfigOrBuilder()

Logging configuration.

.google.container.v1beta1.NodePoolLoggingConfig logging_config = 32;

Returns
TypeDescription
NodePoolLoggingConfigOrBuilder

getMachineType()

publicStringgetMachineType()

Optional. The desired machine type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified machine type.

string machine_type = 36 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The machineType.

getMachineTypeBytes()

publicByteStringgetMachineTypeBytes()

Optional. The desired machine type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified machine type.

string machine_type = 36 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for machineType.

getName()

publicStringgetName()

The name (project, location, cluster, node pool) of the node pool to update. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

string name = 8;

Returns
TypeDescription
String

The name.

getNameBytes()

publicByteStringgetNameBytes()

The name (project, location, cluster, node pool) of the node pool to update. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

string name = 8;

Returns
TypeDescription
ByteString

The bytes for name.

getNodeNetworkConfig()

publicNodeNetworkConfiggetNodeNetworkConfig()

Node network config.

.google.container.v1beta1.NodeNetworkConfig node_network_config = 21;

Returns
TypeDescription
NodeNetworkConfig

The nodeNetworkConfig.

getNodeNetworkConfigBuilder()

publicNodeNetworkConfig.BuildergetNodeNetworkConfigBuilder()

Node network config.

.google.container.v1beta1.NodeNetworkConfig node_network_config = 21;

Returns
TypeDescription
NodeNetworkConfig.Builder

getNodeNetworkConfigOrBuilder()

publicNodeNetworkConfigOrBuildergetNodeNetworkConfigOrBuilder()

Node network config.

.google.container.v1beta1.NodeNetworkConfig node_network_config = 21;

Returns
TypeDescription
NodeNetworkConfigOrBuilder

getNodePoolId() (deprecated)

publicStringgetNodePoolId()

Deprecated.google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3226

Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.

string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The nodePoolId.

getNodePoolIdBytes() (deprecated)

publicByteStringgetNodePoolIdBytes()

Deprecated.google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3226

Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.

string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for nodePoolId.

getNodeVersion()

publicStringgetNodeVersion()

Required. 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 node_version = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The nodeVersion.

getNodeVersionBytes()

publicByteStringgetNodeVersionBytes()

Required. 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 node_version = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for nodeVersion.

getProjectId() (deprecated)

publicStringgetProjectId()

Deprecated.google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3210

Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The projectId.

getProjectIdBytes() (deprecated)

publicByteStringgetProjectIdBytes()

Deprecated.google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3210

Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for projectId.

getQueuedProvisioning()

publicNodePool.QueuedProvisioninggetQueuedProvisioning()

Specifies the configuration of queued provisioning.

.google.container.v1beta1.NodePool.QueuedProvisioning queued_provisioning = 42;

Returns
TypeDescription
NodePool.QueuedProvisioning

The queuedProvisioning.

getQueuedProvisioningBuilder()

publicNodePool.QueuedProvisioning.BuildergetQueuedProvisioningBuilder()

Specifies the configuration of queued provisioning.

.google.container.v1beta1.NodePool.QueuedProvisioning queued_provisioning = 42;

Returns
TypeDescription
NodePool.QueuedProvisioning.Builder

getQueuedProvisioningOrBuilder()

publicNodePool.QueuedProvisioningOrBuildergetQueuedProvisioningOrBuilder()

Specifies the configuration of queued provisioning.

.google.container.v1beta1.NodePool.QueuedProvisioning queued_provisioning = 42;

Returns
TypeDescription
NodePool.QueuedProvisioningOrBuilder

getResourceLabels()

publicResourceLabelsgetResourceLabels()

The resource labels for the node pool to use to annotate any related Google Compute Engine resources.

.google.container.v1beta1.ResourceLabels resource_labels = 33;

Returns
TypeDescription
ResourceLabels

The resourceLabels.

getResourceLabelsBuilder()

publicResourceLabels.BuildergetResourceLabelsBuilder()

The resource labels for the node pool to use to annotate any related Google Compute Engine resources.

.google.container.v1beta1.ResourceLabels resource_labels = 33;

Returns
TypeDescription
ResourceLabels.Builder

getResourceLabelsOrBuilder()

publicResourceLabelsOrBuildergetResourceLabelsOrBuilder()

The resource labels for the node pool to use to annotate any related Google Compute Engine resources.

.google.container.v1beta1.ResourceLabels resource_labels = 33;

Returns
TypeDescription
ResourceLabelsOrBuilder

getResourceManagerTags()

publicResourceManagerTagsgetResourceManagerTags()

Desired resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Existing tags will be replaced with new values.

.google.container.v1beta1.ResourceManagerTags resource_manager_tags = 39;

Returns
TypeDescription
ResourceManagerTags

The resourceManagerTags.

getResourceManagerTagsBuilder()

publicResourceManagerTags.BuildergetResourceManagerTagsBuilder()

Desired resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Existing tags will be replaced with new values.

.google.container.v1beta1.ResourceManagerTags resource_manager_tags = 39;

Returns
TypeDescription
ResourceManagerTags.Builder

getResourceManagerTagsOrBuilder()

publicResourceManagerTagsOrBuildergetResourceManagerTagsOrBuilder()

Desired resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Existing tags will be replaced with new values.

.google.container.v1beta1.ResourceManagerTags resource_manager_tags = 39;

Returns
TypeDescription
ResourceManagerTagsOrBuilder

getTags()

publicNetworkTagsgetTags()

The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be replaced with the provided tags.

.google.container.v1beta1.NetworkTags tags = 16;

Returns
TypeDescription
NetworkTags

The tags.

getTagsBuilder()

publicNetworkTags.BuildergetTagsBuilder()

The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be replaced with the provided tags.

.google.container.v1beta1.NetworkTags tags = 16;

Returns
TypeDescription
NetworkTags.Builder

getTagsOrBuilder()

publicNetworkTagsOrBuildergetTagsOrBuilder()

The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be replaced with the provided tags.

.google.container.v1beta1.NetworkTags tags = 16;

Returns
TypeDescription
NetworkTagsOrBuilder

getTaints()

publicNodeTaintsgetTaints()

The desired node taints to be applied to all nodes in the node pool. If this field is not present, the taints will not be changed. Otherwise, the existing node taints will be replaced with the provided taints.

.google.container.v1beta1.NodeTaints taints = 17;

Returns
TypeDescription
NodeTaints

The taints.

getTaintsBuilder()

publicNodeTaints.BuildergetTaintsBuilder()

The desired node taints to be applied to all nodes in the node pool. If this field is not present, the taints will not be changed. Otherwise, the existing node taints will be replaced with the provided taints.

.google.container.v1beta1.NodeTaints taints = 17;

Returns
TypeDescription
NodeTaints.Builder

getTaintsOrBuilder()

publicNodeTaintsOrBuildergetTaintsOrBuilder()

The desired node taints to be applied to all nodes in the node pool. If this field is not present, the taints will not be changed. Otherwise, the existing node taints will be replaced with the provided taints.

.google.container.v1beta1.NodeTaints taints = 17;

Returns
TypeDescription
NodeTaintsOrBuilder

getUpgradeSettings()

publicNodePool.UpgradeSettingsgetUpgradeSettings()

Upgrade settings control disruption and speed of the upgrade.

.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15;

Returns
TypeDescription
NodePool.UpgradeSettings

The upgradeSettings.

getUpgradeSettingsBuilder()

publicNodePool.UpgradeSettings.BuildergetUpgradeSettingsBuilder()

Upgrade settings control disruption and speed of the upgrade.

.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15;

Returns
TypeDescription
NodePool.UpgradeSettings.Builder

getUpgradeSettingsOrBuilder()

publicNodePool.UpgradeSettingsOrBuildergetUpgradeSettingsOrBuilder()

Upgrade settings control disruption and speed of the upgrade.

.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15;

Returns
TypeDescription
NodePool.UpgradeSettingsOrBuilder

getWindowsNodeConfig()

publicWindowsNodeConfiggetWindowsNodeConfig()

Parameters that can be configured on Windows nodes.

.google.container.v1beta1.WindowsNodeConfig windows_node_config = 34;

Returns
TypeDescription
WindowsNodeConfig

The windowsNodeConfig.

getWindowsNodeConfigBuilder()

publicWindowsNodeConfig.BuildergetWindowsNodeConfigBuilder()

Parameters that can be configured on Windows nodes.

.google.container.v1beta1.WindowsNodeConfig windows_node_config = 34;

Returns
TypeDescription
WindowsNodeConfig.Builder

getWindowsNodeConfigOrBuilder()

publicWindowsNodeConfigOrBuildergetWindowsNodeConfigOrBuilder()

Parameters that can be configured on Windows nodes.

.google.container.v1beta1.WindowsNodeConfig windows_node_config = 34;

Returns
TypeDescription
WindowsNodeConfigOrBuilder

getWorkloadMetadataConfig()

publicWorkloadMetadataConfiggetWorkloadMetadataConfig()

The desired workload metadata config for the node pool.

.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;

Returns
TypeDescription
WorkloadMetadataConfig

The workloadMetadataConfig.

getWorkloadMetadataConfigBuilder()

publicWorkloadMetadataConfig.BuildergetWorkloadMetadataConfigBuilder()

The desired workload metadata config for the node pool.

.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;

Returns
TypeDescription
WorkloadMetadataConfig.Builder

getWorkloadMetadataConfigOrBuilder()

publicWorkloadMetadataConfigOrBuildergetWorkloadMetadataConfigOrBuilder()

The desired workload metadata config for the node pool.

.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;

Returns
TypeDescription
WorkloadMetadataConfigOrBuilder

getZone() (deprecated)

publicStringgetZone()

Deprecated.google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3217

Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The zone.

getZoneBytes() (deprecated)

publicByteStringgetZoneBytes()

Deprecated.google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3217

Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for zone.

hasConfidentialNodes()

publicbooleanhasConfidentialNodes()

Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.

.google.container.v1beta1.ConfidentialNodes confidential_nodes = 23;

Returns
TypeDescription
boolean

Whether the confidentialNodes field is set.

hasContainerdConfig()

publicbooleanhasContainerdConfig()

The desired containerd config for nodes in the node pool. Initiates an upgrade operation that recreates the nodes with the new config.

.google.container.v1beta1.ContainerdConfig containerd_config = 40;

Returns
TypeDescription
boolean

Whether the containerdConfig field is set.

hasFastSocket()

publicbooleanhasFastSocket()

Enable or disable NCCL fast socket for the node pool.

.google.container.v1beta1.FastSocket fast_socket = 31;

Returns
TypeDescription
boolean

Whether the fastSocket field is set.

hasGcfsConfig()

publicbooleanhasGcfsConfig()

GCFS config.

.google.container.v1beta1.GcfsConfig gcfs_config = 22;

Returns
TypeDescription
boolean

Whether the gcfsConfig field is set.

hasGvnic()

publicbooleanhasGvnic()

Enable or disable gvnic on the node pool.

.google.container.v1beta1.VirtualNIC gvnic = 29;

Returns
TypeDescription
boolean

Whether the gvnic field is set.

hasKubeletConfig()

publicbooleanhasKubeletConfig()

Node kubelet configs.

.google.container.v1beta1.NodeKubeletConfig kubelet_config = 20;

Returns
TypeDescription
boolean

Whether the kubeletConfig field is set.

hasLabels()

publicbooleanhasLabels()

The desired node labels to be applied to all nodes in the node pool. If this field is not present, the labels will not be changed. Otherwise, the existing node labels will be replaced with the provided labels.

.google.container.v1beta1.NodeLabels labels = 18;

Returns
TypeDescription
boolean

Whether the labels field is set.

hasLinuxNodeConfig()

publicbooleanhasLinuxNodeConfig()

Parameters that can be configured on Linux nodes.

.google.container.v1beta1.LinuxNodeConfig linux_node_config = 19;

Returns
TypeDescription
boolean

Whether the linuxNodeConfig field is set.

hasLoggingConfig()

publicbooleanhasLoggingConfig()

Logging configuration.

.google.container.v1beta1.NodePoolLoggingConfig logging_config = 32;

Returns
TypeDescription
boolean

Whether the loggingConfig field is set.

hasNodeNetworkConfig()

publicbooleanhasNodeNetworkConfig()

Node network config.

.google.container.v1beta1.NodeNetworkConfig node_network_config = 21;

Returns
TypeDescription
boolean

Whether the nodeNetworkConfig field is set.

hasQueuedProvisioning()

publicbooleanhasQueuedProvisioning()

Specifies the configuration of queued provisioning.

.google.container.v1beta1.NodePool.QueuedProvisioning queued_provisioning = 42;

Returns
TypeDescription
boolean

Whether the queuedProvisioning field is set.

hasResourceLabels()

publicbooleanhasResourceLabels()

The resource labels for the node pool to use to annotate any related Google Compute Engine resources.

.google.container.v1beta1.ResourceLabels resource_labels = 33;

Returns
TypeDescription
boolean

Whether the resourceLabels field is set.

hasResourceManagerTags()

publicbooleanhasResourceManagerTags()

Desired resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Existing tags will be replaced with new values.

.google.container.v1beta1.ResourceManagerTags resource_manager_tags = 39;

Returns
TypeDescription
boolean

Whether the resourceManagerTags field is set.

hasTags()

publicbooleanhasTags()

The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be replaced with the provided tags.

.google.container.v1beta1.NetworkTags tags = 16;

Returns
TypeDescription
boolean

Whether the tags field is set.

hasTaints()

publicbooleanhasTaints()

The desired node taints to be applied to all nodes in the node pool. If this field is not present, the taints will not be changed. Otherwise, the existing node taints will be replaced with the provided taints.

.google.container.v1beta1.NodeTaints taints = 17;

Returns
TypeDescription
boolean

Whether the taints field is set.

hasUpgradeSettings()

publicbooleanhasUpgradeSettings()

Upgrade settings control disruption and speed of the upgrade.

.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15;

Returns
TypeDescription
boolean

Whether the upgradeSettings field is set.

hasWindowsNodeConfig()

publicbooleanhasWindowsNodeConfig()

Parameters that can be configured on Windows nodes.

.google.container.v1beta1.WindowsNodeConfig windows_node_config = 34;

Returns
TypeDescription
boolean

Whether the windowsNodeConfig field is set.

hasWorkloadMetadataConfig()

publicbooleanhasWorkloadMetadataConfig()

The desired workload metadata config for the node pool.

.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;

Returns
TypeDescription
boolean

Whether the workloadMetadataConfig field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
TypeDescription
boolean
Overrides

mergeConfidentialNodes(ConfidentialNodes value)

publicUpdateNodePoolRequest.BuildermergeConfidentialNodes(ConfidentialNodesvalue)

Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.

.google.container.v1beta1.ConfidentialNodes confidential_nodes = 23;

Parameter
NameDescription
valueConfidentialNodes
Returns
TypeDescription
UpdateNodePoolRequest.Builder

mergeContainerdConfig(ContainerdConfig value)

publicUpdateNodePoolRequest.BuildermergeContainerdConfig(ContainerdConfigvalue)

The desired containerd config for nodes in the node pool. Initiates an upgrade operation that recreates the nodes with the new config.

.google.container.v1beta1.ContainerdConfig containerd_config = 40;

Parameter
NameDescription
valueContainerdConfig
Returns
TypeDescription
UpdateNodePoolRequest.Builder

mergeFastSocket(FastSocket value)

publicUpdateNodePoolRequest.BuildermergeFastSocket(FastSocketvalue)

Enable or disable NCCL fast socket for the node pool.

.google.container.v1beta1.FastSocket fast_socket = 31;

Parameter
NameDescription
valueFastSocket
Returns
TypeDescription
UpdateNodePoolRequest.Builder

mergeFrom(UpdateNodePoolRequest other)

publicUpdateNodePoolRequest.BuildermergeFrom(UpdateNodePoolRequestother)
Parameter
NameDescription
otherUpdateNodePoolRequest
Returns
TypeDescription
UpdateNodePoolRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicUpdateNodePoolRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateNodePoolRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

publicUpdateNodePoolRequest.BuildermergeFrom(Messageother)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateNodePoolRequest.Builder
Overrides

mergeGcfsConfig(GcfsConfig value)

publicUpdateNodePoolRequest.BuildermergeGcfsConfig(GcfsConfigvalue)

GCFS config.

.google.container.v1beta1.GcfsConfig gcfs_config = 22;

Parameter
NameDescription
valueGcfsConfig
Returns
TypeDescription
UpdateNodePoolRequest.Builder

mergeGvnic(VirtualNIC value)

publicUpdateNodePoolRequest.BuildermergeGvnic(VirtualNICvalue)

Enable or disable gvnic on the node pool.

.google.container.v1beta1.VirtualNIC gvnic = 29;

Parameter
NameDescription
valueVirtualNIC
Returns
TypeDescription
UpdateNodePoolRequest.Builder

mergeKubeletConfig(NodeKubeletConfig value)

publicUpdateNodePoolRequest.BuildermergeKubeletConfig(NodeKubeletConfigvalue)

Node kubelet configs.

.google.container.v1beta1.NodeKubeletConfig kubelet_config = 20;

Parameter
NameDescription
valueNodeKubeletConfig
Returns
TypeDescription
UpdateNodePoolRequest.Builder

mergeLabels(NodeLabels value)

publicUpdateNodePoolRequest.BuildermergeLabels(NodeLabelsvalue)

The desired node labels to be applied to all nodes in the node pool. If this field is not present, the labels will not be changed. Otherwise, the existing node labels will be replaced with the provided labels.

.google.container.v1beta1.NodeLabels labels = 18;

Parameter
NameDescription
valueNodeLabels
Returns
TypeDescription
UpdateNodePoolRequest.Builder

mergeLinuxNodeConfig(LinuxNodeConfig value)

publicUpdateNodePoolRequest.BuildermergeLinuxNodeConfig(LinuxNodeConfigvalue)

Parameters that can be configured on Linux nodes.

.google.container.v1beta1.LinuxNodeConfig linux_node_config = 19;

Parameter
NameDescription
valueLinuxNodeConfig
Returns
TypeDescription
UpdateNodePoolRequest.Builder

mergeLoggingConfig(NodePoolLoggingConfig value)

publicUpdateNodePoolRequest.BuildermergeLoggingConfig(NodePoolLoggingConfigvalue)

Logging configuration.

.google.container.v1beta1.NodePoolLoggingConfig logging_config = 32;

Parameter
NameDescription
valueNodePoolLoggingConfig
Returns
TypeDescription
UpdateNodePoolRequest.Builder

mergeNodeNetworkConfig(NodeNetworkConfig value)

publicUpdateNodePoolRequest.BuildermergeNodeNetworkConfig(NodeNetworkConfigvalue)

Node network config.

.google.container.v1beta1.NodeNetworkConfig node_network_config = 21;

Parameter
NameDescription
valueNodeNetworkConfig
Returns
TypeDescription
UpdateNodePoolRequest.Builder

mergeQueuedProvisioning(NodePool.QueuedProvisioning value)

publicUpdateNodePoolRequest.BuildermergeQueuedProvisioning(NodePool.QueuedProvisioningvalue)

Specifies the configuration of queued provisioning.

.google.container.v1beta1.NodePool.QueuedProvisioning queued_provisioning = 42;

Parameter
NameDescription
valueNodePool.QueuedProvisioning
Returns
TypeDescription
UpdateNodePoolRequest.Builder

mergeResourceLabels(ResourceLabels value)

publicUpdateNodePoolRequest.BuildermergeResourceLabels(ResourceLabelsvalue)

The resource labels for the node pool to use to annotate any related Google Compute Engine resources.

.google.container.v1beta1.ResourceLabels resource_labels = 33;

Parameter
NameDescription
valueResourceLabels
Returns
TypeDescription
UpdateNodePoolRequest.Builder

mergeResourceManagerTags(ResourceManagerTags value)

publicUpdateNodePoolRequest.BuildermergeResourceManagerTags(ResourceManagerTagsvalue)

Desired resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Existing tags will be replaced with new values.

.google.container.v1beta1.ResourceManagerTags resource_manager_tags = 39;

Parameter
NameDescription
valueResourceManagerTags
Returns
TypeDescription
UpdateNodePoolRequest.Builder

mergeTags(NetworkTags value)

publicUpdateNodePoolRequest.BuildermergeTags(NetworkTagsvalue)

The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be replaced with the provided tags.

.google.container.v1beta1.NetworkTags tags = 16;

Parameter
NameDescription
valueNetworkTags
Returns
TypeDescription
UpdateNodePoolRequest.Builder

mergeTaints(NodeTaints value)

publicUpdateNodePoolRequest.BuildermergeTaints(NodeTaintsvalue)

The desired node taints to be applied to all nodes in the node pool. If this field is not present, the taints will not be changed. Otherwise, the existing node taints will be replaced with the provided taints.

.google.container.v1beta1.NodeTaints taints = 17;

Parameter
NameDescription
valueNodeTaints
Returns
TypeDescription
UpdateNodePoolRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalUpdateNodePoolRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateNodePoolRequest.Builder
Overrides

mergeUpgradeSettings(NodePool.UpgradeSettings value)

publicUpdateNodePoolRequest.BuildermergeUpgradeSettings(NodePool.UpgradeSettingsvalue)

Upgrade settings control disruption and speed of the upgrade.

.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15;

Parameter
NameDescription
valueNodePool.UpgradeSettings
Returns
TypeDescription
UpdateNodePoolRequest.Builder

mergeWindowsNodeConfig(WindowsNodeConfig value)

publicUpdateNodePoolRequest.BuildermergeWindowsNodeConfig(WindowsNodeConfigvalue)

Parameters that can be configured on Windows nodes.

.google.container.v1beta1.WindowsNodeConfig windows_node_config = 34;

Parameter
NameDescription
valueWindowsNodeConfig
Returns
TypeDescription
UpdateNodePoolRequest.Builder

mergeWorkloadMetadataConfig(WorkloadMetadataConfig value)

publicUpdateNodePoolRequest.BuildermergeWorkloadMetadataConfig(WorkloadMetadataConfigvalue)

The desired workload metadata config for the node pool.

.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;

Parameter
NameDescription
valueWorkloadMetadataConfig
Returns
TypeDescription
UpdateNodePoolRequest.Builder

removeAccelerators(int index)

publicUpdateNodePoolRequest.BuilderremoveAccelerators(intindex)

A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

repeated .google.container.v1beta1.AcceleratorConfig accelerators = 35;

Parameter
NameDescription
indexint
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setAccelerators(int index, AcceleratorConfig value)

publicUpdateNodePoolRequest.BuildersetAccelerators(intindex,AcceleratorConfigvalue)

A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

repeated .google.container.v1beta1.AcceleratorConfig accelerators = 35;

Parameters
NameDescription
indexint
valueAcceleratorConfig
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setAccelerators(int index, AcceleratorConfig.Builder builderForValue)

publicUpdateNodePoolRequest.BuildersetAccelerators(intindex,AcceleratorConfig.BuilderbuilderForValue)

A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

repeated .google.container.v1beta1.AcceleratorConfig accelerators = 35;

Parameters
NameDescription
indexint
builderForValueAcceleratorConfig.Builder
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setClusterId(String value) (deprecated)

publicUpdateNodePoolRequest.BuildersetClusterId(Stringvalue)

Deprecated.google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3221

Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The clusterId to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setClusterIdBytes(ByteString value) (deprecated)

publicUpdateNodePoolRequest.BuildersetClusterIdBytes(ByteStringvalue)

Deprecated.google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3221

Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for clusterId to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setConfidentialNodes(ConfidentialNodes value)

publicUpdateNodePoolRequest.BuildersetConfidentialNodes(ConfidentialNodesvalue)

Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.

.google.container.v1beta1.ConfidentialNodes confidential_nodes = 23;

Parameter
NameDescription
valueConfidentialNodes
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setConfidentialNodes(ConfidentialNodes.Builder builderForValue)

publicUpdateNodePoolRequest.BuildersetConfidentialNodes(ConfidentialNodes.BuilderbuilderForValue)

Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.

.google.container.v1beta1.ConfidentialNodes confidential_nodes = 23;

Parameter
NameDescription
builderForValueConfidentialNodes.Builder
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setContainerdConfig(ContainerdConfig value)

publicUpdateNodePoolRequest.BuildersetContainerdConfig(ContainerdConfigvalue)

The desired containerd config for nodes in the node pool. Initiates an upgrade operation that recreates the nodes with the new config.

.google.container.v1beta1.ContainerdConfig containerd_config = 40;

Parameter
NameDescription
valueContainerdConfig
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setContainerdConfig(ContainerdConfig.Builder builderForValue)

publicUpdateNodePoolRequest.BuildersetContainerdConfig(ContainerdConfig.BuilderbuilderForValue)

The desired containerd config for nodes in the node pool. Initiates an upgrade operation that recreates the nodes with the new config.

.google.container.v1beta1.ContainerdConfig containerd_config = 40;

Parameter
NameDescription
builderForValueContainerdConfig.Builder
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setDiskSizeGb(long value)

publicUpdateNodePoolRequest.BuildersetDiskSizeGb(longvalue)

Optional. The desired disk size for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk size.

int64 disk_size_gb = 38 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuelong

The diskSizeGb to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setDiskType(String value)

publicUpdateNodePoolRequest.BuildersetDiskType(Stringvalue)

Optional. The desired disk type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk type.

string disk_type = 37 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The diskType to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setDiskTypeBytes(ByteString value)

publicUpdateNodePoolRequest.BuildersetDiskTypeBytes(ByteStringvalue)

Optional. The desired disk type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk type.

string disk_type = 37 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for diskType to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setEtag(String value)

publicUpdateNodePoolRequest.BuildersetEtag(Stringvalue)

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

string etag = 30;

Parameter
NameDescription
valueString

The etag to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setEtagBytes(ByteString value)

publicUpdateNodePoolRequest.BuildersetEtagBytes(ByteStringvalue)

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

string etag = 30;

Parameter
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setFastSocket(FastSocket value)

publicUpdateNodePoolRequest.BuildersetFastSocket(FastSocketvalue)

Enable or disable NCCL fast socket for the node pool.

.google.container.v1beta1.FastSocket fast_socket = 31;

Parameter
NameDescription
valueFastSocket
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setFastSocket(FastSocket.Builder builderForValue)

publicUpdateNodePoolRequest.BuildersetFastSocket(FastSocket.BuilderbuilderForValue)

Enable or disable NCCL fast socket for the node pool.

.google.container.v1beta1.FastSocket fast_socket = 31;

Parameter
NameDescription
builderForValueFastSocket.Builder
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicUpdateNodePoolRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateNodePoolRequest.Builder
Overrides

setGcfsConfig(GcfsConfig value)

publicUpdateNodePoolRequest.BuildersetGcfsConfig(GcfsConfigvalue)

GCFS config.

.google.container.v1beta1.GcfsConfig gcfs_config = 22;

Parameter
NameDescription
valueGcfsConfig
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setGcfsConfig(GcfsConfig.Builder builderForValue)

publicUpdateNodePoolRequest.BuildersetGcfsConfig(GcfsConfig.BuilderbuilderForValue)

GCFS config.

.google.container.v1beta1.GcfsConfig gcfs_config = 22;

Parameter
NameDescription
builderForValueGcfsConfig.Builder
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setGvnic(VirtualNIC value)

publicUpdateNodePoolRequest.BuildersetGvnic(VirtualNICvalue)

Enable or disable gvnic on the node pool.

.google.container.v1beta1.VirtualNIC gvnic = 29;

Parameter
NameDescription
valueVirtualNIC
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setGvnic(VirtualNIC.Builder builderForValue)

publicUpdateNodePoolRequest.BuildersetGvnic(VirtualNIC.BuilderbuilderForValue)

Enable or disable gvnic on the node pool.

.google.container.v1beta1.VirtualNIC gvnic = 29;

Parameter
NameDescription
builderForValueVirtualNIC.Builder
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setImageType(String value)

publicUpdateNodePoolRequest.BuildersetImageType(Stringvalue)

Required. The desired image type for the node pool. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.

string image_type = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The imageType to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setImageTypeBytes(ByteString value)

publicUpdateNodePoolRequest.BuildersetImageTypeBytes(ByteStringvalue)

Required. The desired image type for the node pool. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.

string image_type = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for imageType to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setKubeletConfig(NodeKubeletConfig value)

publicUpdateNodePoolRequest.BuildersetKubeletConfig(NodeKubeletConfigvalue)

Node kubelet configs.

.google.container.v1beta1.NodeKubeletConfig kubelet_config = 20;

Parameter
NameDescription
valueNodeKubeletConfig
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setKubeletConfig(NodeKubeletConfig.Builder builderForValue)

publicUpdateNodePoolRequest.BuildersetKubeletConfig(NodeKubeletConfig.BuilderbuilderForValue)

Node kubelet configs.

.google.container.v1beta1.NodeKubeletConfig kubelet_config = 20;

Parameter
NameDescription
builderForValueNodeKubeletConfig.Builder
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setLabels(NodeLabels value)

publicUpdateNodePoolRequest.BuildersetLabels(NodeLabelsvalue)

The desired node labels to be applied to all nodes in the node pool. If this field is not present, the labels will not be changed. Otherwise, the existing node labels will be replaced with the provided labels.

.google.container.v1beta1.NodeLabels labels = 18;

Parameter
NameDescription
valueNodeLabels
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setLabels(NodeLabels.Builder builderForValue)

publicUpdateNodePoolRequest.BuildersetLabels(NodeLabels.BuilderbuilderForValue)

The desired node labels to be applied to all nodes in the node pool. If this field is not present, the labels will not be changed. Otherwise, the existing node labels will be replaced with the provided labels.

.google.container.v1beta1.NodeLabels labels = 18;

Parameter
NameDescription
builderForValueNodeLabels.Builder
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setLinuxNodeConfig(LinuxNodeConfig value)

publicUpdateNodePoolRequest.BuildersetLinuxNodeConfig(LinuxNodeConfigvalue)

Parameters that can be configured on Linux nodes.

.google.container.v1beta1.LinuxNodeConfig linux_node_config = 19;

Parameter
NameDescription
valueLinuxNodeConfig
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setLinuxNodeConfig(LinuxNodeConfig.Builder builderForValue)

publicUpdateNodePoolRequest.BuildersetLinuxNodeConfig(LinuxNodeConfig.BuilderbuilderForValue)

Parameters that can be configured on Linux nodes.

.google.container.v1beta1.LinuxNodeConfig linux_node_config = 19;

Parameter
NameDescription
builderForValueLinuxNodeConfig.Builder
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setLocations(int index, String value)

publicUpdateNodePoolRequest.BuildersetLocations(intindex,Stringvalue)

The desired list of Google Compute Engine zones in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed.

repeated string locations = 13;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The locations to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setLoggingConfig(NodePoolLoggingConfig value)

publicUpdateNodePoolRequest.BuildersetLoggingConfig(NodePoolLoggingConfigvalue)

Logging configuration.

.google.container.v1beta1.NodePoolLoggingConfig logging_config = 32;

Parameter
NameDescription
valueNodePoolLoggingConfig
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setLoggingConfig(NodePoolLoggingConfig.Builder builderForValue)

publicUpdateNodePoolRequest.BuildersetLoggingConfig(NodePoolLoggingConfig.BuilderbuilderForValue)

Logging configuration.

.google.container.v1beta1.NodePoolLoggingConfig logging_config = 32;

Parameter
NameDescription
builderForValueNodePoolLoggingConfig.Builder
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setMachineType(String value)

publicUpdateNodePoolRequest.BuildersetMachineType(Stringvalue)

Optional. The desired machine type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified machine type.

string machine_type = 36 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The machineType to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setMachineTypeBytes(ByteString value)

publicUpdateNodePoolRequest.BuildersetMachineTypeBytes(ByteStringvalue)

Optional. The desired machine type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified machine type.

string machine_type = 36 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for machineType to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setName(String value)

publicUpdateNodePoolRequest.BuildersetName(Stringvalue)

The name (project, location, cluster, node pool) of the node pool to update. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

string name = 8;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

publicUpdateNodePoolRequest.BuildersetNameBytes(ByteStringvalue)

The name (project, location, cluster, node pool) of the node pool to update. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

string name = 8;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setNodeNetworkConfig(NodeNetworkConfig value)

publicUpdateNodePoolRequest.BuildersetNodeNetworkConfig(NodeNetworkConfigvalue)

Node network config.

.google.container.v1beta1.NodeNetworkConfig node_network_config = 21;

Parameter
NameDescription
valueNodeNetworkConfig
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setNodeNetworkConfig(NodeNetworkConfig.Builder builderForValue)

publicUpdateNodePoolRequest.BuildersetNodeNetworkConfig(NodeNetworkConfig.BuilderbuilderForValue)

Node network config.

.google.container.v1beta1.NodeNetworkConfig node_network_config = 21;

Parameter
NameDescription
builderForValueNodeNetworkConfig.Builder
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setNodePoolId(String value) (deprecated)

publicUpdateNodePoolRequest.BuildersetNodePoolId(Stringvalue)

Deprecated.google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3226

Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.

string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The nodePoolId to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setNodePoolIdBytes(ByteString value) (deprecated)

publicUpdateNodePoolRequest.BuildersetNodePoolIdBytes(ByteStringvalue)

Deprecated.google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3226

Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.

string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for nodePoolId to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setNodeVersion(String value)

publicUpdateNodePoolRequest.BuildersetNodeVersion(Stringvalue)

Required. 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 node_version = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The nodeVersion to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setNodeVersionBytes(ByteString value)

publicUpdateNodePoolRequest.BuildersetNodeVersionBytes(ByteStringvalue)

Required. 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 node_version = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for nodeVersion to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setProjectId(String value) (deprecated)

publicUpdateNodePoolRequest.BuildersetProjectId(Stringvalue)

Deprecated.google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3210

Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The projectId to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setProjectIdBytes(ByteString value) (deprecated)

publicUpdateNodePoolRequest.BuildersetProjectIdBytes(ByteStringvalue)

Deprecated.google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3210

Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for projectId to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setQueuedProvisioning(NodePool.QueuedProvisioning value)

publicUpdateNodePoolRequest.BuildersetQueuedProvisioning(NodePool.QueuedProvisioningvalue)

Specifies the configuration of queued provisioning.

.google.container.v1beta1.NodePool.QueuedProvisioning queued_provisioning = 42;

Parameter
NameDescription
valueNodePool.QueuedProvisioning
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setQueuedProvisioning(NodePool.QueuedProvisioning.Builder builderForValue)

publicUpdateNodePoolRequest.BuildersetQueuedProvisioning(NodePool.QueuedProvisioning.BuilderbuilderForValue)

Specifies the configuration of queued provisioning.

.google.container.v1beta1.NodePool.QueuedProvisioning queued_provisioning = 42;

Parameter
NameDescription
builderForValueNodePool.QueuedProvisioning.Builder
Returns
TypeDescription
UpdateNodePoolRequest.Builder

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

publicUpdateNodePoolRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateNodePoolRequest.Builder
Overrides

setResourceLabels(ResourceLabels value)

publicUpdateNodePoolRequest.BuildersetResourceLabels(ResourceLabelsvalue)

The resource labels for the node pool to use to annotate any related Google Compute Engine resources.

.google.container.v1beta1.ResourceLabels resource_labels = 33;

Parameter
NameDescription
valueResourceLabels
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setResourceLabels(ResourceLabels.Builder builderForValue)

publicUpdateNodePoolRequest.BuildersetResourceLabels(ResourceLabels.BuilderbuilderForValue)

The resource labels for the node pool to use to annotate any related Google Compute Engine resources.

.google.container.v1beta1.ResourceLabels resource_labels = 33;

Parameter
NameDescription
builderForValueResourceLabels.Builder
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setResourceManagerTags(ResourceManagerTags value)

publicUpdateNodePoolRequest.BuildersetResourceManagerTags(ResourceManagerTagsvalue)

Desired resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Existing tags will be replaced with new values.

.google.container.v1beta1.ResourceManagerTags resource_manager_tags = 39;

Parameter
NameDescription
valueResourceManagerTags
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setResourceManagerTags(ResourceManagerTags.Builder builderForValue)

publicUpdateNodePoolRequest.BuildersetResourceManagerTags(ResourceManagerTags.BuilderbuilderForValue)

Desired resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Existing tags will be replaced with new values.

.google.container.v1beta1.ResourceManagerTags resource_manager_tags = 39;

Parameter
NameDescription
builderForValueResourceManagerTags.Builder
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setTags(NetworkTags value)

publicUpdateNodePoolRequest.BuildersetTags(NetworkTagsvalue)

The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be replaced with the provided tags.

.google.container.v1beta1.NetworkTags tags = 16;

Parameter
NameDescription
valueNetworkTags
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setTags(NetworkTags.Builder builderForValue)

publicUpdateNodePoolRequest.BuildersetTags(NetworkTags.BuilderbuilderForValue)

The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be replaced with the provided tags.

.google.container.v1beta1.NetworkTags tags = 16;

Parameter
NameDescription
builderForValueNetworkTags.Builder
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setTaints(NodeTaints value)

publicUpdateNodePoolRequest.BuildersetTaints(NodeTaintsvalue)

The desired node taints to be applied to all nodes in the node pool. If this field is not present, the taints will not be changed. Otherwise, the existing node taints will be replaced with the provided taints.

.google.container.v1beta1.NodeTaints taints = 17;

Parameter
NameDescription
valueNodeTaints
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setTaints(NodeTaints.Builder builderForValue)

publicUpdateNodePoolRequest.BuildersetTaints(NodeTaints.BuilderbuilderForValue)

The desired node taints to be applied to all nodes in the node pool. If this field is not present, the taints will not be changed. Otherwise, the existing node taints will be replaced with the provided taints.

.google.container.v1beta1.NodeTaints taints = 17;

Parameter
NameDescription
builderForValueNodeTaints.Builder
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalUpdateNodePoolRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateNodePoolRequest.Builder
Overrides

setUpgradeSettings(NodePool.UpgradeSettings value)

publicUpdateNodePoolRequest.BuildersetUpgradeSettings(NodePool.UpgradeSettingsvalue)

Upgrade settings control disruption and speed of the upgrade.

.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15;

Parameter
NameDescription
valueNodePool.UpgradeSettings
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setUpgradeSettings(NodePool.UpgradeSettings.Builder builderForValue)

publicUpdateNodePoolRequest.BuildersetUpgradeSettings(NodePool.UpgradeSettings.BuilderbuilderForValue)

Upgrade settings control disruption and speed of the upgrade.

.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15;

Parameter
NameDescription
builderForValueNodePool.UpgradeSettings.Builder
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setWindowsNodeConfig(WindowsNodeConfig value)

publicUpdateNodePoolRequest.BuildersetWindowsNodeConfig(WindowsNodeConfigvalue)

Parameters that can be configured on Windows nodes.

.google.container.v1beta1.WindowsNodeConfig windows_node_config = 34;

Parameter
NameDescription
valueWindowsNodeConfig
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setWindowsNodeConfig(WindowsNodeConfig.Builder builderForValue)

publicUpdateNodePoolRequest.BuildersetWindowsNodeConfig(WindowsNodeConfig.BuilderbuilderForValue)

Parameters that can be configured on Windows nodes.

.google.container.v1beta1.WindowsNodeConfig windows_node_config = 34;

Parameter
NameDescription
builderForValueWindowsNodeConfig.Builder
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setWorkloadMetadataConfig(WorkloadMetadataConfig value)

publicUpdateNodePoolRequest.BuildersetWorkloadMetadataConfig(WorkloadMetadataConfigvalue)

The desired workload metadata config for the node pool.

.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;

Parameter
NameDescription
valueWorkloadMetadataConfig
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setWorkloadMetadataConfig(WorkloadMetadataConfig.Builder builderForValue)

publicUpdateNodePoolRequest.BuildersetWorkloadMetadataConfig(WorkloadMetadataConfig.BuilderbuilderForValue)

The desired workload metadata config for the node pool.

.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;

Parameter
NameDescription
builderForValueWorkloadMetadataConfig.Builder
Returns
TypeDescription
UpdateNodePoolRequest.Builder

setZone(String value) (deprecated)

publicUpdateNodePoolRequest.BuildersetZone(Stringvalue)

Deprecated.google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3217

Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The zone to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.

setZoneBytes(ByteString value) (deprecated)

publicUpdateNodePoolRequest.BuildersetZoneBytes(ByteStringvalue)

Deprecated.google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3217

Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for zone to set.

Returns
TypeDescription
UpdateNodePoolRequest.Builder

This builder for chaining.