Class UpdateNodePoolRequest.Builder (2.57.0)

public static final class UpdateNodePoolRequest.Builder extends GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder> implements UpdateNodePoolRequestOrBuilder

UpdateNodePoolRequests update a node pool's image and/or version.

Protobuf type google.container.v1.UpdateNodePoolRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAccelerators(AcceleratorConfig value)

public UpdateNodePoolRequest.Builder addAccelerators(AcceleratorConfig value)

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.v1.AcceleratorConfig accelerators = 35;

Parameter
Name Description
value AcceleratorConfig
Returns
Type Description
UpdateNodePoolRequest.Builder

addAccelerators(AcceleratorConfig.Builder builderForValue)

public UpdateNodePoolRequest.Builder addAccelerators(AcceleratorConfig.Builder builderForValue)

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.v1.AcceleratorConfig accelerators = 35;

Parameter
Name Description
builderForValue AcceleratorConfig.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

addAccelerators(int index, AcceleratorConfig value)

public UpdateNodePoolRequest.Builder addAccelerators(int index, AcceleratorConfig value)

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.v1.AcceleratorConfig accelerators = 35;

Parameters
Name Description
index int
value AcceleratorConfig
Returns
Type Description
UpdateNodePoolRequest.Builder

addAccelerators(int index, AcceleratorConfig.Builder builderForValue)

public UpdateNodePoolRequest.Builder addAccelerators(int index, AcceleratorConfig.Builder builderForValue)

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.v1.AcceleratorConfig accelerators = 35;

Parameters
Name Description
index int
builderForValue AcceleratorConfig.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

addAcceleratorsBuilder()

public AcceleratorConfig.Builder addAcceleratorsBuilder()

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.v1.AcceleratorConfig accelerators = 35;

Returns
Type Description
AcceleratorConfig.Builder

addAcceleratorsBuilder(int index)

public AcceleratorConfig.Builder addAcceleratorsBuilder(int index)

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.v1.AcceleratorConfig accelerators = 35;

Parameter
Name Description
index int
Returns
Type Description
AcceleratorConfig.Builder

addAllAccelerators(Iterable<? extends AcceleratorConfig> values)

public UpdateNodePoolRequest.Builder addAllAccelerators(Iterable<? extends AcceleratorConfig> 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.v1.AcceleratorConfig accelerators = 35;

Parameter
Name Description
values Iterable<? extends com.google.container.v1.AcceleratorConfig>
Returns
Type Description
UpdateNodePoolRequest.Builder

addAllLocations(Iterable<String> values)

public UpdateNodePoolRequest.Builder addAllLocations(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
Name Description
values Iterable<String>

The locations to add.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

addAllStoragePools(Iterable<String> values)

public UpdateNodePoolRequest.Builder addAllStoragePools(Iterable<String> values)

List of Storage Pools where boot disks are provisioned. Existing Storage Pools will be replaced with storage-pools.

repeated string storage_pools = 43;

Parameter
Name Description
values Iterable<String>

The storagePools to add.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

addLocations(String value)

public UpdateNodePoolRequest.Builder addLocations(String value)

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

The locations to add.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

addLocationsBytes(ByteString value)

public UpdateNodePoolRequest.Builder addLocationsBytes(ByteString value)

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

The bytes of the locations to add.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addStoragePools(String value)

public UpdateNodePoolRequest.Builder addStoragePools(String value)

List of Storage Pools where boot disks are provisioned. Existing Storage Pools will be replaced with storage-pools.

repeated string storage_pools = 43;

Parameter
Name Description
value String

The storagePools to add.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

addStoragePoolsBytes(ByteString value)

public UpdateNodePoolRequest.Builder addStoragePoolsBytes(ByteString value)

List of Storage Pools where boot disks are provisioned. Existing Storage Pools will be replaced with storage-pools.

repeated string storage_pools = 43;

Parameter
Name Description
value ByteString

The bytes of the storagePools to add.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

build()

public UpdateNodePoolRequest build()
Returns
Type Description
UpdateNodePoolRequest

buildPartial()

public UpdateNodePoolRequest buildPartial()
Returns
Type Description
UpdateNodePoolRequest

clear()

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

clearAccelerators()

public UpdateNodePoolRequest.Builder clearAccelerators()

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.v1.AcceleratorConfig accelerators = 35;

Returns
Type Description
UpdateNodePoolRequest.Builder

clearClusterId() (deprecated)

public UpdateNodePoolRequest.Builder clearClusterId()

Deprecated. google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=3076

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];

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

clearConfidentialNodes()

public UpdateNodePoolRequest.Builder clearConfidentialNodes()

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

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

Returns
Type Description
UpdateNodePoolRequest.Builder

clearContainerdConfig()

public UpdateNodePoolRequest.Builder clearContainerdConfig()

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

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

Returns
Type Description
UpdateNodePoolRequest.Builder

clearDiskSizeGb()

public UpdateNodePoolRequest.Builder clearDiskSizeGb()

Optional. The desired disk size for nodes in the node pool specified in GB. The smallest allowed disk size is 10GB. 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
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

clearDiskType()

public UpdateNodePoolRequest.Builder clearDiskType()

Optional. The desired disk type (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') 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
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

clearEtag()

public UpdateNodePoolRequest.Builder clearEtag()

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

This builder for chaining.

clearFastSocket()

public UpdateNodePoolRequest.Builder clearFastSocket()

Enable or disable NCCL fast socket for the node pool.

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

Returns
Type Description
UpdateNodePoolRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGcfsConfig()

public UpdateNodePoolRequest.Builder clearGcfsConfig()

GCFS config.

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

Returns
Type Description
UpdateNodePoolRequest.Builder

clearGvnic()

public UpdateNodePoolRequest.Builder clearGvnic()

Enable or disable gvnic on the node pool.

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

Returns
Type Description
UpdateNodePoolRequest.Builder

clearImageType()

public UpdateNodePoolRequest.Builder clearImageType()

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

This builder for chaining.

clearKubeletConfig()

public UpdateNodePoolRequest.Builder clearKubeletConfig()

Node kubelet configs.

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

Returns
Type Description
UpdateNodePoolRequest.Builder

clearLabels()

public UpdateNodePoolRequest.Builder clearLabels()

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.v1.NodeLabels labels = 18;

Returns
Type Description
UpdateNodePoolRequest.Builder

clearLinuxNodeConfig()

public UpdateNodePoolRequest.Builder clearLinuxNodeConfig()

Parameters that can be configured on Linux nodes.

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

Returns
Type Description
UpdateNodePoolRequest.Builder

clearLocations()

public UpdateNodePoolRequest.Builder clearLocations()

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

This builder for chaining.

clearLoggingConfig()

public UpdateNodePoolRequest.Builder clearLoggingConfig()

Logging configuration.

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

Returns
Type Description
UpdateNodePoolRequest.Builder

clearMachineType()

public UpdateNodePoolRequest.Builder clearMachineType()

Optional. The desired Google Compute Engine 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
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

clearName()

public UpdateNodePoolRequest.Builder clearName()

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

This builder for chaining.

clearNodeNetworkConfig()

public UpdateNodePoolRequest.Builder clearNodeNetworkConfig()

Node network config.

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

Returns
Type Description
UpdateNodePoolRequest.Builder

clearNodePoolId() (deprecated)

public UpdateNodePoolRequest.Builder clearNodePoolId()

Deprecated. google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See google/container/v1/cluster_service.proto;l=3080

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];

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

clearNodeVersion()

public UpdateNodePoolRequest.Builder clearNodeVersion()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProjectId() (deprecated)

public UpdateNodePoolRequest.Builder clearProjectId()

Deprecated. google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3066

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];

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

clearQueuedProvisioning()

public UpdateNodePoolRequest.Builder clearQueuedProvisioning()

Specifies the configuration of queued provisioning.

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

Returns
Type Description
UpdateNodePoolRequest.Builder

clearResourceLabels()

public UpdateNodePoolRequest.Builder clearResourceLabels()

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

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

Returns
Type Description
UpdateNodePoolRequest.Builder

clearResourceManagerTags()

public UpdateNodePoolRequest.Builder clearResourceManagerTags()

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.v1.ResourceManagerTags resource_manager_tags = 39;

Returns
Type Description
UpdateNodePoolRequest.Builder

clearStoragePools()

public UpdateNodePoolRequest.Builder clearStoragePools()

List of Storage Pools where boot disks are provisioned. Existing Storage Pools will be replaced with storage-pools.

repeated string storage_pools = 43;

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

clearTags()

public UpdateNodePoolRequest.Builder clearTags()

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.v1.NetworkTags tags = 16;

Returns
Type Description
UpdateNodePoolRequest.Builder

clearTaints()

public UpdateNodePoolRequest.Builder clearTaints()

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.v1.NodeTaints taints = 17;

Returns
Type Description
UpdateNodePoolRequest.Builder

clearUpgradeSettings()

public UpdateNodePoolRequest.Builder clearUpgradeSettings()

Upgrade settings control disruption and speed of the upgrade.

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

Returns
Type Description
UpdateNodePoolRequest.Builder

clearWindowsNodeConfig()

public UpdateNodePoolRequest.Builder clearWindowsNodeConfig()

Parameters that can be configured on Windows nodes.

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

Returns
Type Description
UpdateNodePoolRequest.Builder

clearWorkloadMetadataConfig()

public UpdateNodePoolRequest.Builder clearWorkloadMetadataConfig()

The desired workload metadata config for the node pool.

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

Returns
Type Description
UpdateNodePoolRequest.Builder

clearZone() (deprecated)

public UpdateNodePoolRequest.Builder clearZone()

Deprecated. google.container.v1.UpdateNodePoolRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3072

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];

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

clone()

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

getAccelerators(int index)

public AcceleratorConfig getAccelerators(int index)

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.v1.AcceleratorConfig accelerators = 35;

Parameter
Name Description
index int
Returns
Type Description
AcceleratorConfig

getAcceleratorsBuilder(int index)

public AcceleratorConfig.Builder getAcceleratorsBuilder(int index)

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.v1.AcceleratorConfig accelerators = 35;

Parameter
Name Description
index int
Returns
Type Description
AcceleratorConfig.Builder

getAcceleratorsBuilderList()

public List<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.v1.AcceleratorConfig accelerators = 35;

Returns
Type Description
List<Builder>

getAcceleratorsCount()

public int getAcceleratorsCount()

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.v1.AcceleratorConfig accelerators = 35;

Returns
Type Description
int

getAcceleratorsList()

public List<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.v1.AcceleratorConfig accelerators = 35;

Returns
Type Description
List<AcceleratorConfig>

getAcceleratorsOrBuilder(int index)

public AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index)

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.v1.AcceleratorConfig accelerators = 35;

Parameter
Name Description
index int
Returns
Type Description
AcceleratorConfigOrBuilder

getAcceleratorsOrBuilderList()

public List<? extends AcceleratorConfigOrBuilder> 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.v1.AcceleratorConfig accelerators = 35;

Returns
Type Description
List<? extends com.google.container.v1.AcceleratorConfigOrBuilder>

getClusterId() (deprecated)

public String getClusterId()

Deprecated. google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=3076

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];

Returns
Type Description
String

The clusterId.

getClusterIdBytes() (deprecated)

public ByteString getClusterIdBytes()

Deprecated. google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=3076

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];

Returns
Type Description
ByteString

The bytes for clusterId.

getConfidentialNodes()

public ConfidentialNodes getConfidentialNodes()

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

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

Returns
Type Description
ConfidentialNodes

The confidentialNodes.

getConfidentialNodesBuilder()

public ConfidentialNodes.Builder getConfidentialNodesBuilder()

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

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

Returns
Type Description
ConfidentialNodes.Builder

getConfidentialNodesOrBuilder()

public ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder()

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

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

Returns
Type Description
ConfidentialNodesOrBuilder

getContainerdConfig()

public ContainerdConfig getContainerdConfig()

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

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

Returns
Type Description
ContainerdConfig

The containerdConfig.

getContainerdConfigBuilder()

public ContainerdConfig.Builder getContainerdConfigBuilder()

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

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

Returns
Type Description
ContainerdConfig.Builder

getContainerdConfigOrBuilder()

public ContainerdConfigOrBuilder getContainerdConfigOrBuilder()

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

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

Returns
Type Description
ContainerdConfigOrBuilder

getDefaultInstanceForType()

public UpdateNodePoolRequest getDefaultInstanceForType()
Returns
Type Description
UpdateNodePoolRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDiskSizeGb()

public long getDiskSizeGb()

Optional. The desired disk size for nodes in the node pool specified in GB. The smallest allowed disk size is 10GB. 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
Type Description
long

The diskSizeGb.

getDiskType()

public String getDiskType()

Optional. The desired disk type (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') 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
Type Description
String

The diskType.

getDiskTypeBytes()

public ByteString getDiskTypeBytes()

Optional. The desired disk type (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') 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
Type Description
ByteString

The bytes for diskType.

getEtag()

public String getEtag()

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

The etag.

getEtagBytes()

public ByteString getEtagBytes()

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

The bytes for etag.

getFastSocket()

public FastSocket getFastSocket()

Enable or disable NCCL fast socket for the node pool.

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

Returns
Type Description
FastSocket

The fastSocket.

getFastSocketBuilder()

public FastSocket.Builder getFastSocketBuilder()

Enable or disable NCCL fast socket for the node pool.

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

Returns
Type Description
FastSocket.Builder

getFastSocketOrBuilder()

public FastSocketOrBuilder getFastSocketOrBuilder()

Enable or disable NCCL fast socket for the node pool.

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

Returns
Type Description
FastSocketOrBuilder

getGcfsConfig()

public GcfsConfig getGcfsConfig()

GCFS config.

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

Returns
Type Description
GcfsConfig

The gcfsConfig.

getGcfsConfigBuilder()

public GcfsConfig.Builder getGcfsConfigBuilder()

GCFS config.

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

Returns
Type Description
GcfsConfig.Builder

getGcfsConfigOrBuilder()

public GcfsConfigOrBuilder getGcfsConfigOrBuilder()

GCFS config.

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

Returns
Type Description
GcfsConfigOrBuilder

getGvnic()

public VirtualNIC getGvnic()

Enable or disable gvnic on the node pool.

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

Returns
Type Description
VirtualNIC

The gvnic.

getGvnicBuilder()

public VirtualNIC.Builder getGvnicBuilder()

Enable or disable gvnic on the node pool.

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

Returns
Type Description
VirtualNIC.Builder

getGvnicOrBuilder()

public VirtualNICOrBuilder getGvnicOrBuilder()

Enable or disable gvnic on the node pool.

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

Returns
Type Description
VirtualNICOrBuilder

getImageType()

public String getImageType()

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

The imageType.

getImageTypeBytes()

public ByteString getImageTypeBytes()

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

The bytes for imageType.

getKubeletConfig()

public NodeKubeletConfig getKubeletConfig()

Node kubelet configs.

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

Returns
Type Description
NodeKubeletConfig

The kubeletConfig.

getKubeletConfigBuilder()

public NodeKubeletConfig.Builder getKubeletConfigBuilder()

Node kubelet configs.

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

Returns
Type Description
NodeKubeletConfig.Builder

getKubeletConfigOrBuilder()

public NodeKubeletConfigOrBuilder getKubeletConfigOrBuilder()

Node kubelet configs.

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

Returns
Type Description
NodeKubeletConfigOrBuilder

getLabels()

public NodeLabels getLabels()

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.v1.NodeLabels labels = 18;

Returns
Type Description
NodeLabels

The labels.

getLabelsBuilder()

public NodeLabels.Builder getLabelsBuilder()

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.v1.NodeLabels labels = 18;

Returns
Type Description
NodeLabels.Builder

getLabelsOrBuilder()

public NodeLabelsOrBuilder getLabelsOrBuilder()

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.v1.NodeLabels labels = 18;

Returns
Type Description
NodeLabelsOrBuilder

getLinuxNodeConfig()

public LinuxNodeConfig getLinuxNodeConfig()

Parameters that can be configured on Linux nodes.

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

Returns
Type Description
LinuxNodeConfig

The linuxNodeConfig.

getLinuxNodeConfigBuilder()

public LinuxNodeConfig.Builder getLinuxNodeConfigBuilder()

Parameters that can be configured on Linux nodes.

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

Returns
Type Description
LinuxNodeConfig.Builder

getLinuxNodeConfigOrBuilder()

public LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuilder()

Parameters that can be configured on Linux nodes.

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

Returns
Type Description
LinuxNodeConfigOrBuilder

getLocations(int index)

public String getLocations(int index)

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

The index of the element to return.

Returns
Type Description
String

The locations at the given index.

getLocationsBytes(int index)

public ByteString getLocationsBytes(int index)

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

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the locations at the given index.

getLocationsCount()

public int getLocationsCount()

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

The count of locations.

getLocationsList()

public ProtocolStringList getLocationsList()

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

A list containing the locations.

getLoggingConfig()

public NodePoolLoggingConfig getLoggingConfig()

Logging configuration.

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

Returns
Type Description
NodePoolLoggingConfig

The loggingConfig.

getLoggingConfigBuilder()

public NodePoolLoggingConfig.Builder getLoggingConfigBuilder()

Logging configuration.

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

Returns
Type Description
NodePoolLoggingConfig.Builder

getLoggingConfigOrBuilder()

public NodePoolLoggingConfigOrBuilder getLoggingConfigOrBuilder()

Logging configuration.

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

Returns
Type Description
NodePoolLoggingConfigOrBuilder

getMachineType()

public String getMachineType()

Optional. The desired Google Compute Engine 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
Type Description
String

The machineType.

getMachineTypeBytes()

public ByteString getMachineTypeBytes()

Optional. The desired Google Compute Engine 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
Type Description
ByteString

The bytes for machineType.

getName()

public String getName()

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

The name.

getNameBytes()

public ByteString getNameBytes()

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

The bytes for name.

getNodeNetworkConfig()

public NodeNetworkConfig getNodeNetworkConfig()

Node network config.

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

Returns
Type Description
NodeNetworkConfig

The nodeNetworkConfig.

getNodeNetworkConfigBuilder()

public NodeNetworkConfig.Builder getNodeNetworkConfigBuilder()

Node network config.

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

Returns
Type Description
NodeNetworkConfig.Builder

getNodeNetworkConfigOrBuilder()

public NodeNetworkConfigOrBuilder getNodeNetworkConfigOrBuilder()

Node network config.

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

Returns
Type Description
NodeNetworkConfigOrBuilder

getNodePoolId() (deprecated)

public String getNodePoolId()

Deprecated. google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See google/container/v1/cluster_service.proto;l=3080

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];

Returns
Type Description
String

The nodePoolId.

getNodePoolIdBytes() (deprecated)

public ByteString getNodePoolIdBytes()

Deprecated. google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See google/container/v1/cluster_service.proto;l=3080

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];

Returns
Type Description
ByteString

The bytes for nodePoolId.

getNodeVersion()

public String getNodeVersion()

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

The nodeVersion.

getNodeVersionBytes()

public ByteString getNodeVersionBytes()

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

The bytes for nodeVersion.

getProjectId() (deprecated)

public String getProjectId()

Deprecated. google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3066

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];

Returns
Type Description
String

The projectId.

getProjectIdBytes() (deprecated)

public ByteString getProjectIdBytes()

Deprecated. google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3066

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];

Returns
Type Description
ByteString

The bytes for projectId.

getQueuedProvisioning()

public NodePool.QueuedProvisioning getQueuedProvisioning()

Specifies the configuration of queued provisioning.

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

Returns
Type Description
NodePool.QueuedProvisioning

The queuedProvisioning.

getQueuedProvisioningBuilder()

public NodePool.QueuedProvisioning.Builder getQueuedProvisioningBuilder()

Specifies the configuration of queued provisioning.

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

Returns
Type Description
NodePool.QueuedProvisioning.Builder

getQueuedProvisioningOrBuilder()

public NodePool.QueuedProvisioningOrBuilder getQueuedProvisioningOrBuilder()

Specifies the configuration of queued provisioning.

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

Returns
Type Description
NodePool.QueuedProvisioningOrBuilder

getResourceLabels()

public ResourceLabels getResourceLabels()

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

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

Returns
Type Description
ResourceLabels

The resourceLabels.

getResourceLabelsBuilder()

public ResourceLabels.Builder getResourceLabelsBuilder()

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

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

Returns
Type Description
ResourceLabels.Builder

getResourceLabelsOrBuilder()

public ResourceLabelsOrBuilder getResourceLabelsOrBuilder()

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

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

Returns
Type Description
ResourceLabelsOrBuilder

getResourceManagerTags()

public ResourceManagerTags getResourceManagerTags()

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.v1.ResourceManagerTags resource_manager_tags = 39;

Returns
Type Description
ResourceManagerTags

The resourceManagerTags.

getResourceManagerTagsBuilder()

public ResourceManagerTags.Builder getResourceManagerTagsBuilder()

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.v1.ResourceManagerTags resource_manager_tags = 39;

Returns
Type Description
ResourceManagerTags.Builder

getResourceManagerTagsOrBuilder()

public ResourceManagerTagsOrBuilder getResourceManagerTagsOrBuilder()

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.v1.ResourceManagerTags resource_manager_tags = 39;

Returns
Type Description
ResourceManagerTagsOrBuilder

getStoragePools(int index)

public String getStoragePools(int index)

List of Storage Pools where boot disks are provisioned. Existing Storage Pools will be replaced with storage-pools.

repeated string storage_pools = 43;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The storagePools at the given index.

getStoragePoolsBytes(int index)

public ByteString getStoragePoolsBytes(int index)

List of Storage Pools where boot disks are provisioned. Existing Storage Pools will be replaced with storage-pools.

repeated string storage_pools = 43;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the storagePools at the given index.

getStoragePoolsCount()

public int getStoragePoolsCount()

List of Storage Pools where boot disks are provisioned. Existing Storage Pools will be replaced with storage-pools.

repeated string storage_pools = 43;

Returns
Type Description
int

The count of storagePools.

getStoragePoolsList()

public ProtocolStringList getStoragePoolsList()

List of Storage Pools where boot disks are provisioned. Existing Storage Pools will be replaced with storage-pools.

repeated string storage_pools = 43;

Returns
Type Description
ProtocolStringList

A list containing the storagePools.

getTags()

public NetworkTags getTags()

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.v1.NetworkTags tags = 16;

Returns
Type Description
NetworkTags

The tags.

getTagsBuilder()

public NetworkTags.Builder getTagsBuilder()

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.v1.NetworkTags tags = 16;

Returns
Type Description
NetworkTags.Builder

getTagsOrBuilder()

public NetworkTagsOrBuilder getTagsOrBuilder()

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.v1.NetworkTags tags = 16;

Returns
Type Description
NetworkTagsOrBuilder

getTaints()

public NodeTaints getTaints()

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.v1.NodeTaints taints = 17;

Returns
Type Description
NodeTaints

The taints.

getTaintsBuilder()

public NodeTaints.Builder getTaintsBuilder()

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.v1.NodeTaints taints = 17;

Returns
Type Description
NodeTaints.Builder

getTaintsOrBuilder()

public NodeTaintsOrBuilder getTaintsOrBuilder()

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.v1.NodeTaints taints = 17;

Returns
Type Description
NodeTaintsOrBuilder

getUpgradeSettings()

public NodePool.UpgradeSettings getUpgradeSettings()

Upgrade settings control disruption and speed of the upgrade.

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

Returns
Type Description
NodePool.UpgradeSettings

The upgradeSettings.

getUpgradeSettingsBuilder()

public NodePool.UpgradeSettings.Builder getUpgradeSettingsBuilder()

Upgrade settings control disruption and speed of the upgrade.

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

Returns
Type Description
NodePool.UpgradeSettings.Builder

getUpgradeSettingsOrBuilder()

public NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder()

Upgrade settings control disruption and speed of the upgrade.

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

Returns
Type Description
NodePool.UpgradeSettingsOrBuilder

getWindowsNodeConfig()

public WindowsNodeConfig getWindowsNodeConfig()

Parameters that can be configured on Windows nodes.

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

Returns
Type Description
WindowsNodeConfig

The windowsNodeConfig.

getWindowsNodeConfigBuilder()

public WindowsNodeConfig.Builder getWindowsNodeConfigBuilder()

Parameters that can be configured on Windows nodes.

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

Returns
Type Description
WindowsNodeConfig.Builder

getWindowsNodeConfigOrBuilder()

public WindowsNodeConfigOrBuilder getWindowsNodeConfigOrBuilder()

Parameters that can be configured on Windows nodes.

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

Returns
Type Description
WindowsNodeConfigOrBuilder

getWorkloadMetadataConfig()

public WorkloadMetadataConfig getWorkloadMetadataConfig()

The desired workload metadata config for the node pool.

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

Returns
Type Description
WorkloadMetadataConfig

The workloadMetadataConfig.

getWorkloadMetadataConfigBuilder()

public WorkloadMetadataConfig.Builder getWorkloadMetadataConfigBuilder()

The desired workload metadata config for the node pool.

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

Returns
Type Description
WorkloadMetadataConfig.Builder

getWorkloadMetadataConfigOrBuilder()

public WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder()

The desired workload metadata config for the node pool.

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

Returns
Type Description
WorkloadMetadataConfigOrBuilder

getZone() (deprecated)

public String getZone()

Deprecated. google.container.v1.UpdateNodePoolRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3072

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];

Returns
Type Description
String

The zone.

getZoneBytes() (deprecated)

public ByteString getZoneBytes()

Deprecated. google.container.v1.UpdateNodePoolRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3072

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];

Returns
Type Description
ByteString

The bytes for zone.

hasConfidentialNodes()

public boolean hasConfidentialNodes()

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

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

Returns
Type Description
boolean

Whether the confidentialNodes field is set.

hasContainerdConfig()

public boolean hasContainerdConfig()

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

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

Returns
Type Description
boolean

Whether the containerdConfig field is set.

hasFastSocket()

public boolean hasFastSocket()

Enable or disable NCCL fast socket for the node pool.

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

Returns
Type Description
boolean

Whether the fastSocket field is set.

hasGcfsConfig()

public boolean hasGcfsConfig()

GCFS config.

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

Returns
Type Description
boolean

Whether the gcfsConfig field is set.

hasGvnic()

public boolean hasGvnic()

Enable or disable gvnic on the node pool.

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

Returns
Type Description
boolean

Whether the gvnic field is set.

hasKubeletConfig()

public boolean hasKubeletConfig()

Node kubelet configs.

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

Returns
Type Description
boolean

Whether the kubeletConfig field is set.

hasLabels()

public boolean hasLabels()

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.v1.NodeLabels labels = 18;

Returns
Type Description
boolean

Whether the labels field is set.

hasLinuxNodeConfig()

public boolean hasLinuxNodeConfig()

Parameters that can be configured on Linux nodes.

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

Returns
Type Description
boolean

Whether the linuxNodeConfig field is set.

hasLoggingConfig()

public boolean hasLoggingConfig()

Logging configuration.

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

Returns
Type Description
boolean

Whether the loggingConfig field is set.

hasNodeNetworkConfig()

public boolean hasNodeNetworkConfig()

Node network config.

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

Returns
Type Description
boolean

Whether the nodeNetworkConfig field is set.

hasQueuedProvisioning()

public boolean hasQueuedProvisioning()

Specifies the configuration of queued provisioning.

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

Returns
Type Description
boolean

Whether the queuedProvisioning field is set.

hasResourceLabels()

public boolean hasResourceLabels()

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

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

Returns
Type Description
boolean

Whether the resourceLabels field is set.

hasResourceManagerTags()

public boolean hasResourceManagerTags()

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.v1.ResourceManagerTags resource_manager_tags = 39;

Returns
Type Description
boolean

Whether the resourceManagerTags field is set.

hasTags()

public boolean hasTags()

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.v1.NetworkTags tags = 16;

Returns
Type Description
boolean

Whether the tags field is set.

hasTaints()

public boolean hasTaints()

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.v1.NodeTaints taints = 17;

Returns
Type Description
boolean

Whether the taints field is set.

hasUpgradeSettings()

public boolean hasUpgradeSettings()

Upgrade settings control disruption and speed of the upgrade.

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

Returns
Type Description
boolean

Whether the upgradeSettings field is set.

hasWindowsNodeConfig()

public boolean hasWindowsNodeConfig()

Parameters that can be configured on Windows nodes.

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

Returns
Type Description
boolean

Whether the windowsNodeConfig field is set.

hasWorkloadMetadataConfig()

public boolean hasWorkloadMetadataConfig()

The desired workload metadata config for the node pool.

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

Returns
Type Description
boolean

Whether the workloadMetadataConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConfidentialNodes(ConfidentialNodes value)

public UpdateNodePoolRequest.Builder mergeConfidentialNodes(ConfidentialNodes value)

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

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

Parameter
Name Description
value ConfidentialNodes
Returns
Type Description
UpdateNodePoolRequest.Builder

mergeContainerdConfig(ContainerdConfig value)

public UpdateNodePoolRequest.Builder mergeContainerdConfig(ContainerdConfig value)

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

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

Parameter
Name Description
value ContainerdConfig
Returns
Type Description
UpdateNodePoolRequest.Builder

mergeFastSocket(FastSocket value)

public UpdateNodePoolRequest.Builder mergeFastSocket(FastSocket value)

Enable or disable NCCL fast socket for the node pool.

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

Parameter
Name Description
value FastSocket
Returns
Type Description
UpdateNodePoolRequest.Builder

mergeFrom(UpdateNodePoolRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcfsConfig(GcfsConfig value)

public UpdateNodePoolRequest.Builder mergeGcfsConfig(GcfsConfig value)

GCFS config.

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

Parameter
Name Description
value GcfsConfig
Returns
Type Description
UpdateNodePoolRequest.Builder

mergeGvnic(VirtualNIC value)

public UpdateNodePoolRequest.Builder mergeGvnic(VirtualNIC value)

Enable or disable gvnic on the node pool.

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

Parameter
Name Description
value VirtualNIC
Returns
Type Description
UpdateNodePoolRequest.Builder

mergeKubeletConfig(NodeKubeletConfig value)

public UpdateNodePoolRequest.Builder mergeKubeletConfig(NodeKubeletConfig value)

Node kubelet configs.

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

Parameter
Name Description
value NodeKubeletConfig
Returns
Type Description
UpdateNodePoolRequest.Builder

mergeLabels(NodeLabels value)

public UpdateNodePoolRequest.Builder mergeLabels(NodeLabels value)

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.v1.NodeLabels labels = 18;

Parameter
Name Description
value NodeLabels
Returns
Type Description
UpdateNodePoolRequest.Builder

mergeLinuxNodeConfig(LinuxNodeConfig value)

public UpdateNodePoolRequest.Builder mergeLinuxNodeConfig(LinuxNodeConfig value)

Parameters that can be configured on Linux nodes.

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

Parameter
Name Description
value LinuxNodeConfig
Returns
Type Description
UpdateNodePoolRequest.Builder

mergeLoggingConfig(NodePoolLoggingConfig value)

public UpdateNodePoolRequest.Builder mergeLoggingConfig(NodePoolLoggingConfig value)

Logging configuration.

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

Parameter
Name Description
value NodePoolLoggingConfig
Returns
Type Description
UpdateNodePoolRequest.Builder

mergeNodeNetworkConfig(NodeNetworkConfig value)

public UpdateNodePoolRequest.Builder mergeNodeNetworkConfig(NodeNetworkConfig value)

Node network config.

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

Parameter
Name Description
value NodeNetworkConfig
Returns
Type Description
UpdateNodePoolRequest.Builder

mergeQueuedProvisioning(NodePool.QueuedProvisioning value)

public UpdateNodePoolRequest.Builder mergeQueuedProvisioning(NodePool.QueuedProvisioning value)

Specifies the configuration of queued provisioning.

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

Parameter
Name Description
value NodePool.QueuedProvisioning
Returns
Type Description
UpdateNodePoolRequest.Builder

mergeResourceLabels(ResourceLabels value)

public UpdateNodePoolRequest.Builder mergeResourceLabels(ResourceLabels value)

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

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

Parameter
Name Description
value ResourceLabels
Returns
Type Description
UpdateNodePoolRequest.Builder

mergeResourceManagerTags(ResourceManagerTags value)

public UpdateNodePoolRequest.Builder mergeResourceManagerTags(ResourceManagerTags value)

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.v1.ResourceManagerTags resource_manager_tags = 39;

Parameter
Name Description
value ResourceManagerTags
Returns
Type Description
UpdateNodePoolRequest.Builder

mergeTags(NetworkTags value)

public UpdateNodePoolRequest.Builder mergeTags(NetworkTags value)

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.v1.NetworkTags tags = 16;

Parameter
Name Description
value NetworkTags
Returns
Type Description
UpdateNodePoolRequest.Builder

mergeTaints(NodeTaints value)

public UpdateNodePoolRequest.Builder mergeTaints(NodeTaints value)

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.v1.NodeTaints taints = 17;

Parameter
Name Description
value NodeTaints
Returns
Type Description
UpdateNodePoolRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpgradeSettings(NodePool.UpgradeSettings value)

public UpdateNodePoolRequest.Builder mergeUpgradeSettings(NodePool.UpgradeSettings value)

Upgrade settings control disruption and speed of the upgrade.

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

Parameter
Name Description
value NodePool.UpgradeSettings
Returns
Type Description
UpdateNodePoolRequest.Builder

mergeWindowsNodeConfig(WindowsNodeConfig value)

public UpdateNodePoolRequest.Builder mergeWindowsNodeConfig(WindowsNodeConfig value)

Parameters that can be configured on Windows nodes.

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

Parameter
Name Description
value WindowsNodeConfig
Returns
Type Description
UpdateNodePoolRequest.Builder

mergeWorkloadMetadataConfig(WorkloadMetadataConfig value)

public UpdateNodePoolRequest.Builder mergeWorkloadMetadataConfig(WorkloadMetadataConfig value)

The desired workload metadata config for the node pool.

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

Parameter
Name Description
value WorkloadMetadataConfig
Returns
Type Description
UpdateNodePoolRequest.Builder

removeAccelerators(int index)

public UpdateNodePoolRequest.Builder removeAccelerators(int index)

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.v1.AcceleratorConfig accelerators = 35;

Parameter
Name Description
index int
Returns
Type Description
UpdateNodePoolRequest.Builder

setAccelerators(int index, AcceleratorConfig value)

public UpdateNodePoolRequest.Builder setAccelerators(int index, AcceleratorConfig value)

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.v1.AcceleratorConfig accelerators = 35;

Parameters
Name Description
index int
value AcceleratorConfig
Returns
Type Description
UpdateNodePoolRequest.Builder

setAccelerators(int index, AcceleratorConfig.Builder builderForValue)

public UpdateNodePoolRequest.Builder setAccelerators(int index, AcceleratorConfig.Builder builderForValue)

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.v1.AcceleratorConfig accelerators = 35;

Parameters
Name Description
index int
builderForValue AcceleratorConfig.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

setClusterId(String value) (deprecated)

public UpdateNodePoolRequest.Builder setClusterId(String value)

Deprecated. google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=3076

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];

Parameter
Name Description
value String

The clusterId to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setClusterIdBytes(ByteString value) (deprecated)

public UpdateNodePoolRequest.Builder setClusterIdBytes(ByteString value)

Deprecated. google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=3076

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];

Parameter
Name Description
value ByteString

The bytes for clusterId to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setConfidentialNodes(ConfidentialNodes value)

public UpdateNodePoolRequest.Builder setConfidentialNodes(ConfidentialNodes value)

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

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

Parameter
Name Description
value ConfidentialNodes
Returns
Type Description
UpdateNodePoolRequest.Builder

setConfidentialNodes(ConfidentialNodes.Builder builderForValue)

public UpdateNodePoolRequest.Builder setConfidentialNodes(ConfidentialNodes.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue ConfidentialNodes.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

setContainerdConfig(ContainerdConfig value)

public UpdateNodePoolRequest.Builder setContainerdConfig(ContainerdConfig value)

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

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

Parameter
Name Description
value ContainerdConfig
Returns
Type Description
UpdateNodePoolRequest.Builder

setContainerdConfig(ContainerdConfig.Builder builderForValue)

public UpdateNodePoolRequest.Builder setContainerdConfig(ContainerdConfig.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue ContainerdConfig.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

setDiskSizeGb(long value)

public UpdateNodePoolRequest.Builder setDiskSizeGb(long value)

Optional. The desired disk size for nodes in the node pool specified in GB. The smallest allowed disk size is 10GB. 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
Name Description
value long

The diskSizeGb to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setDiskType(String value)

public UpdateNodePoolRequest.Builder setDiskType(String value)

Optional. The desired disk type (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') 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
Name Description
value String

The diskType to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setDiskTypeBytes(ByteString value)

public UpdateNodePoolRequest.Builder setDiskTypeBytes(ByteString value)

Optional. The desired disk type (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') 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
Name Description
value ByteString

The bytes for diskType to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setEtag(String value)

public UpdateNodePoolRequest.Builder setEtag(String value)

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

The etag to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public UpdateNodePoolRequest.Builder setEtagBytes(ByteString value)

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

The bytes for etag to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setFastSocket(FastSocket value)

public UpdateNodePoolRequest.Builder setFastSocket(FastSocket value)

Enable or disable NCCL fast socket for the node pool.

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

Parameter
Name Description
value FastSocket
Returns
Type Description
UpdateNodePoolRequest.Builder

setFastSocket(FastSocket.Builder builderForValue)

public UpdateNodePoolRequest.Builder setFastSocket(FastSocket.Builder builderForValue)

Enable or disable NCCL fast socket for the node pool.

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

Parameter
Name Description
builderForValue FastSocket.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcfsConfig(GcfsConfig value)

public UpdateNodePoolRequest.Builder setGcfsConfig(GcfsConfig value)

GCFS config.

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

Parameter
Name Description
value GcfsConfig
Returns
Type Description
UpdateNodePoolRequest.Builder

setGcfsConfig(GcfsConfig.Builder builderForValue)

public UpdateNodePoolRequest.Builder setGcfsConfig(GcfsConfig.Builder builderForValue)

GCFS config.

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

Parameter
Name Description
builderForValue GcfsConfig.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

setGvnic(VirtualNIC value)

public UpdateNodePoolRequest.Builder setGvnic(VirtualNIC value)

Enable or disable gvnic on the node pool.

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

Parameter
Name Description
value VirtualNIC
Returns
Type Description
UpdateNodePoolRequest.Builder

setGvnic(VirtualNIC.Builder builderForValue)

public UpdateNodePoolRequest.Builder setGvnic(VirtualNIC.Builder builderForValue)

Enable or disable gvnic on the node pool.

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

Parameter
Name Description
builderForValue VirtualNIC.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

setImageType(String value)

public UpdateNodePoolRequest.Builder setImageType(String value)

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

The imageType to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setImageTypeBytes(ByteString value)

public UpdateNodePoolRequest.Builder setImageTypeBytes(ByteString value)

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

The bytes for imageType to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setKubeletConfig(NodeKubeletConfig value)

public UpdateNodePoolRequest.Builder setKubeletConfig(NodeKubeletConfig value)

Node kubelet configs.

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

Parameter
Name Description
value NodeKubeletConfig
Returns
Type Description
UpdateNodePoolRequest.Builder

setKubeletConfig(NodeKubeletConfig.Builder builderForValue)

public UpdateNodePoolRequest.Builder setKubeletConfig(NodeKubeletConfig.Builder builderForValue)

Node kubelet configs.

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

Parameter
Name Description
builderForValue NodeKubeletConfig.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

setLabels(NodeLabels value)

public UpdateNodePoolRequest.Builder setLabels(NodeLabels value)

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.v1.NodeLabels labels = 18;

Parameter
Name Description
value NodeLabels
Returns
Type Description
UpdateNodePoolRequest.Builder

setLabels(NodeLabels.Builder builderForValue)

public UpdateNodePoolRequest.Builder setLabels(NodeLabels.Builder builderForValue)

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.v1.NodeLabels labels = 18;

Parameter
Name Description
builderForValue NodeLabels.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

setLinuxNodeConfig(LinuxNodeConfig value)

public UpdateNodePoolRequest.Builder setLinuxNodeConfig(LinuxNodeConfig value)

Parameters that can be configured on Linux nodes.

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

Parameter
Name Description
value LinuxNodeConfig
Returns
Type Description
UpdateNodePoolRequest.Builder

setLinuxNodeConfig(LinuxNodeConfig.Builder builderForValue)

public UpdateNodePoolRequest.Builder setLinuxNodeConfig(LinuxNodeConfig.Builder builderForValue)

Parameters that can be configured on Linux nodes.

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

Parameter
Name Description
builderForValue LinuxNodeConfig.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

setLocations(int index, String value)

public UpdateNodePoolRequest.Builder setLocations(int index, String value)

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

The index to set the value at.

value String

The locations to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setLoggingConfig(NodePoolLoggingConfig value)

public UpdateNodePoolRequest.Builder setLoggingConfig(NodePoolLoggingConfig value)

Logging configuration.

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

Parameter
Name Description
value NodePoolLoggingConfig
Returns
Type Description
UpdateNodePoolRequest.Builder

setLoggingConfig(NodePoolLoggingConfig.Builder builderForValue)

public UpdateNodePoolRequest.Builder setLoggingConfig(NodePoolLoggingConfig.Builder builderForValue)

Logging configuration.

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

Parameter
Name Description
builderForValue NodePoolLoggingConfig.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

setMachineType(String value)

public UpdateNodePoolRequest.Builder setMachineType(String value)

Optional. The desired Google Compute Engine 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
Name Description
value String

The machineType to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setMachineTypeBytes(ByteString value)

public UpdateNodePoolRequest.Builder setMachineTypeBytes(ByteString value)

Optional. The desired Google Compute Engine 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
Name Description
value ByteString

The bytes for machineType to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setName(String value)

public UpdateNodePoolRequest.Builder setName(String value)

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

The name to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UpdateNodePoolRequest.Builder setNameBytes(ByteString value)

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

The bytes for name to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setNodeNetworkConfig(NodeNetworkConfig value)

public UpdateNodePoolRequest.Builder setNodeNetworkConfig(NodeNetworkConfig value)

Node network config.

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

Parameter
Name Description
value NodeNetworkConfig
Returns
Type Description
UpdateNodePoolRequest.Builder

setNodeNetworkConfig(NodeNetworkConfig.Builder builderForValue)

public UpdateNodePoolRequest.Builder setNodeNetworkConfig(NodeNetworkConfig.Builder builderForValue)

Node network config.

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

Parameter
Name Description
builderForValue NodeNetworkConfig.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

setNodePoolId(String value) (deprecated)

public UpdateNodePoolRequest.Builder setNodePoolId(String value)

Deprecated. google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See google/container/v1/cluster_service.proto;l=3080

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];

Parameter
Name Description
value String

The nodePoolId to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setNodePoolIdBytes(ByteString value) (deprecated)

public UpdateNodePoolRequest.Builder setNodePoolIdBytes(ByteString value)

Deprecated. google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See google/container/v1/cluster_service.proto;l=3080

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];

Parameter
Name Description
value ByteString

The bytes for nodePoolId to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setNodeVersion(String value)

public UpdateNodePoolRequest.Builder setNodeVersion(String value)

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

The nodeVersion to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setNodeVersionBytes(ByteString value)

public UpdateNodePoolRequest.Builder setNodeVersionBytes(ByteString value)

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

The bytes for nodeVersion to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setProjectId(String value) (deprecated)

public UpdateNodePoolRequest.Builder setProjectId(String value)

Deprecated. google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3066

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];

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setProjectIdBytes(ByteString value) (deprecated)

public UpdateNodePoolRequest.Builder setProjectIdBytes(ByteString value)

Deprecated. google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3066

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];

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setQueuedProvisioning(NodePool.QueuedProvisioning value)

public UpdateNodePoolRequest.Builder setQueuedProvisioning(NodePool.QueuedProvisioning value)

Specifies the configuration of queued provisioning.

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

Parameter
Name Description
value NodePool.QueuedProvisioning
Returns
Type Description
UpdateNodePoolRequest.Builder

setQueuedProvisioning(NodePool.QueuedProvisioning.Builder builderForValue)

public UpdateNodePoolRequest.Builder setQueuedProvisioning(NodePool.QueuedProvisioning.Builder builderForValue)

Specifies the configuration of queued provisioning.

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

Parameter
Name Description
builderForValue NodePool.QueuedProvisioning.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

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

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

setResourceLabels(ResourceLabels value)

public UpdateNodePoolRequest.Builder setResourceLabels(ResourceLabels value)

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

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

Parameter
Name Description
value ResourceLabels
Returns
Type Description
UpdateNodePoolRequest.Builder

setResourceLabels(ResourceLabels.Builder builderForValue)

public UpdateNodePoolRequest.Builder setResourceLabels(ResourceLabels.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue ResourceLabels.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

setResourceManagerTags(ResourceManagerTags value)

public UpdateNodePoolRequest.Builder setResourceManagerTags(ResourceManagerTags value)

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.v1.ResourceManagerTags resource_manager_tags = 39;

Parameter
Name Description
value ResourceManagerTags
Returns
Type Description
UpdateNodePoolRequest.Builder

setResourceManagerTags(ResourceManagerTags.Builder builderForValue)

public UpdateNodePoolRequest.Builder setResourceManagerTags(ResourceManagerTags.Builder builderForValue)

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.v1.ResourceManagerTags resource_manager_tags = 39;

Parameter
Name Description
builderForValue ResourceManagerTags.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

setStoragePools(int index, String value)

public UpdateNodePoolRequest.Builder setStoragePools(int index, String value)

List of Storage Pools where boot disks are provisioned. Existing Storage Pools will be replaced with storage-pools.

repeated string storage_pools = 43;

Parameters
Name Description
index int

The index to set the value at.

value String

The storagePools to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setTags(NetworkTags value)

public UpdateNodePoolRequest.Builder setTags(NetworkTags value)

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.v1.NetworkTags tags = 16;

Parameter
Name Description
value NetworkTags
Returns
Type Description
UpdateNodePoolRequest.Builder

setTags(NetworkTags.Builder builderForValue)

public UpdateNodePoolRequest.Builder setTags(NetworkTags.Builder builderForValue)

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.v1.NetworkTags tags = 16;

Parameter
Name Description
builderForValue NetworkTags.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

setTaints(NodeTaints value)

public UpdateNodePoolRequest.Builder setTaints(NodeTaints value)

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.v1.NodeTaints taints = 17;

Parameter
Name Description
value NodeTaints
Returns
Type Description
UpdateNodePoolRequest.Builder

setTaints(NodeTaints.Builder builderForValue)

public UpdateNodePoolRequest.Builder setTaints(NodeTaints.Builder builderForValue)

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.v1.NodeTaints taints = 17;

Parameter
Name Description
builderForValue NodeTaints.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpgradeSettings(NodePool.UpgradeSettings value)

public UpdateNodePoolRequest.Builder setUpgradeSettings(NodePool.UpgradeSettings value)

Upgrade settings control disruption and speed of the upgrade.

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

Parameter
Name Description
value NodePool.UpgradeSettings
Returns
Type Description
UpdateNodePoolRequest.Builder

setUpgradeSettings(NodePool.UpgradeSettings.Builder builderForValue)

public UpdateNodePoolRequest.Builder setUpgradeSettings(NodePool.UpgradeSettings.Builder builderForValue)

Upgrade settings control disruption and speed of the upgrade.

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

Parameter
Name Description
builderForValue NodePool.UpgradeSettings.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

setWindowsNodeConfig(WindowsNodeConfig value)

public UpdateNodePoolRequest.Builder setWindowsNodeConfig(WindowsNodeConfig value)

Parameters that can be configured on Windows nodes.

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

Parameter
Name Description
value WindowsNodeConfig
Returns
Type Description
UpdateNodePoolRequest.Builder

setWindowsNodeConfig(WindowsNodeConfig.Builder builderForValue)

public UpdateNodePoolRequest.Builder setWindowsNodeConfig(WindowsNodeConfig.Builder builderForValue)

Parameters that can be configured on Windows nodes.

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

Parameter
Name Description
builderForValue WindowsNodeConfig.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

setWorkloadMetadataConfig(WorkloadMetadataConfig value)

public UpdateNodePoolRequest.Builder setWorkloadMetadataConfig(WorkloadMetadataConfig value)

The desired workload metadata config for the node pool.

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

Parameter
Name Description
value WorkloadMetadataConfig
Returns
Type Description
UpdateNodePoolRequest.Builder

setWorkloadMetadataConfig(WorkloadMetadataConfig.Builder builderForValue)

public UpdateNodePoolRequest.Builder setWorkloadMetadataConfig(WorkloadMetadataConfig.Builder builderForValue)

The desired workload metadata config for the node pool.

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

Parameter
Name Description
builderForValue WorkloadMetadataConfig.Builder
Returns
Type Description
UpdateNodePoolRequest.Builder

setZone(String value) (deprecated)

public UpdateNodePoolRequest.Builder setZone(String value)

Deprecated. google.container.v1.UpdateNodePoolRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3072

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];

Parameter
Name Description
value String

The zone to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.

setZoneBytes(ByteString value) (deprecated)

public UpdateNodePoolRequest.Builder setZoneBytes(ByteString value)

Deprecated. google.container.v1.UpdateNodePoolRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3072

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];

Parameter
Name Description
value ByteString

The bytes for zone to set.

Returns
Type Description
UpdateNodePoolRequest.Builder

This builder for chaining.