- 2.58.0 (latest)
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
public static final class UpdateNodePoolRequest.Builder extends GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder> implements UpdateNodePoolRequestOrBuilder
SetNodePoolVersionRequest updates the version of a node pool.
Protobuf type google.container.v1beta1.UpdateNodePoolRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateNodePoolRequest.BuilderImplements
UpdateNodePoolRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
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;
Name | Description |
values | Iterable<String> The locations to add. |
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;
Name | Description |
value | String The locations to add. |
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;
Name | Description |
value | ByteString The bytes of the locations to add. |
Type | Description |
UpdateNodePoolRequest.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateNodePoolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UpdateNodePoolRequest.Builder |
build()
public UpdateNodePoolRequest build()
Type | Description |
UpdateNodePoolRequest |
buildPartial()
public UpdateNodePoolRequest buildPartial()
Type | Description |
UpdateNodePoolRequest |
clear()
public UpdateNodePoolRequest.Builder clear()
Type | Description |
UpdateNodePoolRequest.Builder |
clearClusterId() (deprecated)
public UpdateNodePoolRequest.Builder clearClusterId()
Deprecated. google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=2416
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];
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.v1beta1.ConfidentialNodes confidential_nodes = 23;
Type | Description |
UpdateNodePoolRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpdateNodePoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
UpdateNodePoolRequest.Builder |
clearGcfsConfig()
public UpdateNodePoolRequest.Builder clearGcfsConfig()
GCFS config.
.google.container.v1beta1.GcfsConfig gcfs_config = 22;
Type | Description |
UpdateNodePoolRequest.Builder |
clearGvnic()
public UpdateNodePoolRequest.Builder clearGvnic()
Enable or disable gvnic on the node pool.
.google.container.v1beta1.VirtualNIC gvnic = 29;
Type | Description |
UpdateNodePoolRequest.Builder |
clearImageType()
public UpdateNodePoolRequest.Builder clearImageType()
Required. The desired image type for the node pool.
string image_type = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
UpdateNodePoolRequest.Builder | This builder for chaining. |
clearKubeletConfig()
public UpdateNodePoolRequest.Builder clearKubeletConfig()
Node kubelet configs.
.google.container.v1beta1.NodeKubeletConfig kubelet_config = 20;
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.v1beta1.NodeLabels labels = 18;
Type | Description |
UpdateNodePoolRequest.Builder |
clearLinuxNodeConfig()
public UpdateNodePoolRequest.Builder clearLinuxNodeConfig()
Parameters that can be configured on Linux nodes.
.google.container.v1beta1.LinuxNodeConfig linux_node_config = 19;
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;
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;
Type | Description |
UpdateNodePoolRequest.Builder | This builder for chaining. |
clearNodeNetworkConfig()
public UpdateNodePoolRequest.Builder clearNodeNetworkConfig()
Node network config.
.google.container.v1beta1.NodeNetworkConfig node_network_config = 21;
Type | Description |
UpdateNodePoolRequest.Builder |
clearNodePoolId() (deprecated)
public UpdateNodePoolRequest.Builder clearNodePoolId()
Deprecated. google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=2423
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];
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];
Type | Description |
UpdateNodePoolRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateNodePoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
UpdateNodePoolRequest.Builder |
clearProjectId() (deprecated)
public UpdateNodePoolRequest.Builder clearProjectId()
Deprecated. google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=2400
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];
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.v1beta1.NetworkTags tags = 16;
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.v1beta1.NodeTaints taints = 17;
Type | Description |
UpdateNodePoolRequest.Builder |
clearUpgradeSettings()
public UpdateNodePoolRequest.Builder clearUpgradeSettings()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15;
Type | Description |
UpdateNodePoolRequest.Builder |
clearWorkloadMetadataConfig()
public UpdateNodePoolRequest.Builder clearWorkloadMetadataConfig()
The desired workload metadata config for the node pool.
.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;
Type | Description |
UpdateNodePoolRequest.Builder |
clearZone() (deprecated)
public UpdateNodePoolRequest.Builder clearZone()
Deprecated. google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=2409
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];
Type | Description |
UpdateNodePoolRequest.Builder | This builder for chaining. |
clone()
public UpdateNodePoolRequest.Builder clone()
Type | Description |
UpdateNodePoolRequest.Builder |
getClusterId() (deprecated)
public String getClusterId()
Deprecated. google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=2416
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];
Type | Description |
String | The clusterId. |
getClusterIdBytes() (deprecated)
public ByteString getClusterIdBytes()
Deprecated. google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=2416
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];
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.v1beta1.ConfidentialNodes confidential_nodes = 23;
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.v1beta1.ConfidentialNodes confidential_nodes = 23;
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.v1beta1.ConfidentialNodes confidential_nodes = 23;
Type | Description |
ConfidentialNodesOrBuilder |
getDefaultInstanceForType()
public UpdateNodePoolRequest getDefaultInstanceForType()
Type | Description |
UpdateNodePoolRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getGcfsConfig()
public GcfsConfig getGcfsConfig()
GCFS config.
.google.container.v1beta1.GcfsConfig gcfs_config = 22;
Type | Description |
GcfsConfig | The gcfsConfig. |
getGcfsConfigBuilder()
public GcfsConfig.Builder getGcfsConfigBuilder()
GCFS config.
.google.container.v1beta1.GcfsConfig gcfs_config = 22;
Type | Description |
GcfsConfig.Builder |
getGcfsConfigOrBuilder()
public GcfsConfigOrBuilder getGcfsConfigOrBuilder()
GCFS config.
.google.container.v1beta1.GcfsConfig gcfs_config = 22;
Type | Description |
GcfsConfigOrBuilder |
getGvnic()
public VirtualNIC getGvnic()
Enable or disable gvnic on the node pool.
.google.container.v1beta1.VirtualNIC gvnic = 29;
Type | Description |
VirtualNIC | The gvnic. |
getGvnicBuilder()
public VirtualNIC.Builder getGvnicBuilder()
Enable or disable gvnic on the node pool.
.google.container.v1beta1.VirtualNIC gvnic = 29;
Type | Description |
VirtualNIC.Builder |
getGvnicOrBuilder()
public VirtualNICOrBuilder getGvnicOrBuilder()
Enable or disable gvnic on the node pool.
.google.container.v1beta1.VirtualNIC gvnic = 29;
Type | Description |
VirtualNICOrBuilder |
getImageType()
public String getImageType()
Required. The desired image type for the node pool.
string image_type = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The imageType. |
getImageTypeBytes()
public ByteString getImageTypeBytes()
Required. The desired image type for the node pool.
string image_type = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for imageType. |
getKubeletConfig()
public NodeKubeletConfig getKubeletConfig()
Node kubelet configs.
.google.container.v1beta1.NodeKubeletConfig kubelet_config = 20;
Type | Description |
NodeKubeletConfig | The kubeletConfig. |
getKubeletConfigBuilder()
public NodeKubeletConfig.Builder getKubeletConfigBuilder()
Node kubelet configs.
.google.container.v1beta1.NodeKubeletConfig kubelet_config = 20;
Type | Description |
NodeKubeletConfig.Builder |
getKubeletConfigOrBuilder()
public NodeKubeletConfigOrBuilder getKubeletConfigOrBuilder()
Node kubelet configs.
.google.container.v1beta1.NodeKubeletConfig kubelet_config = 20;
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.v1beta1.NodeLabels labels = 18;
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.v1beta1.NodeLabels labels = 18;
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.v1beta1.NodeLabels labels = 18;
Type | Description |
NodeLabelsOrBuilder |
getLinuxNodeConfig()
public LinuxNodeConfig getLinuxNodeConfig()
Parameters that can be configured on Linux nodes.
.google.container.v1beta1.LinuxNodeConfig linux_node_config = 19;
Type | Description |
LinuxNodeConfig | The linuxNodeConfig. |
getLinuxNodeConfigBuilder()
public LinuxNodeConfig.Builder getLinuxNodeConfigBuilder()
Parameters that can be configured on Linux nodes.
.google.container.v1beta1.LinuxNodeConfig linux_node_config = 19;
Type | Description |
LinuxNodeConfig.Builder |
getLinuxNodeConfigOrBuilder()
public LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuilder()
Parameters that can be configured on Linux nodes.
.google.container.v1beta1.LinuxNodeConfig linux_node_config = 19;
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;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
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;
Type | Description |
ProtocolStringList | A list containing the locations. |
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;
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;
Type | Description |
ByteString | The bytes for name. |
getNodeNetworkConfig()
public NodeNetworkConfig getNodeNetworkConfig()
Node network config.
.google.container.v1beta1.NodeNetworkConfig node_network_config = 21;
Type | Description |
NodeNetworkConfig | The nodeNetworkConfig. |
getNodeNetworkConfigBuilder()
public NodeNetworkConfig.Builder getNodeNetworkConfigBuilder()
Node network config.
.google.container.v1beta1.NodeNetworkConfig node_network_config = 21;
Type | Description |
NodeNetworkConfig.Builder |
getNodeNetworkConfigOrBuilder()
public NodeNetworkConfigOrBuilder getNodeNetworkConfigOrBuilder()
Node network config.
.google.container.v1beta1.NodeNetworkConfig node_network_config = 21;
Type | Description |
NodeNetworkConfigOrBuilder |
getNodePoolId() (deprecated)
public String getNodePoolId()
Deprecated. google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=2423
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];
Type | Description |
String | The nodePoolId. |
getNodePoolIdBytes() (deprecated)
public ByteString getNodePoolIdBytes()
Deprecated. google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=2423
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];
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];
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];
Type | Description |
ByteString | The bytes for nodeVersion. |
getProjectId() (deprecated)
public String getProjectId()
Deprecated. google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=2400
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];
Type | Description |
String | The projectId. |
getProjectIdBytes() (deprecated)
public ByteString getProjectIdBytes()
Deprecated. google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=2400
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];
Type | Description |
ByteString | The bytes for projectId. |
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.v1beta1.NetworkTags tags = 16;
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.v1beta1.NetworkTags tags = 16;
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.v1beta1.NetworkTags tags = 16;
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.v1beta1.NodeTaints taints = 17;
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.v1beta1.NodeTaints taints = 17;
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.v1beta1.NodeTaints taints = 17;
Type | Description |
NodeTaintsOrBuilder |
getUpgradeSettings()
public NodePool.UpgradeSettings getUpgradeSettings()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15;
Type | Description |
NodePool.UpgradeSettings | The upgradeSettings. |
getUpgradeSettingsBuilder()
public NodePool.UpgradeSettings.Builder getUpgradeSettingsBuilder()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15;
Type | Description |
NodePool.UpgradeSettings.Builder |
getUpgradeSettingsOrBuilder()
public NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15;
Type | Description |
NodePool.UpgradeSettingsOrBuilder |
getWorkloadMetadataConfig()
public WorkloadMetadataConfig getWorkloadMetadataConfig()
The desired workload metadata config for the node pool.
.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;
Type | Description |
WorkloadMetadataConfig | The workloadMetadataConfig. |
getWorkloadMetadataConfigBuilder()
public WorkloadMetadataConfig.Builder getWorkloadMetadataConfigBuilder()
The desired workload metadata config for the node pool.
.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;
Type | Description |
WorkloadMetadataConfig.Builder |
getWorkloadMetadataConfigOrBuilder()
public WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder()
The desired workload metadata config for the node pool.
.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;
Type | Description |
WorkloadMetadataConfigOrBuilder |
getZone() (deprecated)
public String getZone()
Deprecated. google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=2409
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];
Type | Description |
String | The zone. |
getZoneBytes() (deprecated)
public ByteString getZoneBytes()
Deprecated. google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=2409
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];
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.v1beta1.ConfidentialNodes confidential_nodes = 23;
Type | Description |
boolean | Whether the confidentialNodes field is set. |
hasGcfsConfig()
public boolean hasGcfsConfig()
GCFS config.
.google.container.v1beta1.GcfsConfig gcfs_config = 22;
Type | Description |
boolean | Whether the gcfsConfig field is set. |
hasGvnic()
public boolean hasGvnic()
Enable or disable gvnic on the node pool.
.google.container.v1beta1.VirtualNIC gvnic = 29;
Type | Description |
boolean | Whether the gvnic field is set. |
hasKubeletConfig()
public boolean hasKubeletConfig()
Node kubelet configs.
.google.container.v1beta1.NodeKubeletConfig kubelet_config = 20;
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.v1beta1.NodeLabels labels = 18;
Type | Description |
boolean | Whether the labels field is set. |
hasLinuxNodeConfig()
public boolean hasLinuxNodeConfig()
Parameters that can be configured on Linux nodes.
.google.container.v1beta1.LinuxNodeConfig linux_node_config = 19;
Type | Description |
boolean | Whether the linuxNodeConfig field is set. |
hasNodeNetworkConfig()
public boolean hasNodeNetworkConfig()
Node network config.
.google.container.v1beta1.NodeNetworkConfig node_network_config = 21;
Type | Description |
boolean | Whether the nodeNetworkConfig 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.v1beta1.NetworkTags tags = 16;
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.v1beta1.NodeTaints taints = 17;
Type | Description |
boolean | Whether the taints field is set. |
hasUpgradeSettings()
public boolean hasUpgradeSettings()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15;
Type | Description |
boolean | Whether the upgradeSettings field is set. |
hasWorkloadMetadataConfig()
public boolean hasWorkloadMetadataConfig()
The desired workload metadata config for the node pool.
.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;
Type | Description |
boolean | Whether the workloadMetadataConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
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.v1beta1.ConfidentialNodes confidential_nodes = 23;
Name | Description |
value | ConfidentialNodes |
Type | Description |
UpdateNodePoolRequest.Builder |
mergeFrom(UpdateNodePoolRequest other)
public UpdateNodePoolRequest.Builder mergeFrom(UpdateNodePoolRequest other)
Name | Description |
other | UpdateNodePoolRequest |
Type | Description |
UpdateNodePoolRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateNodePoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateNodePoolRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public UpdateNodePoolRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
UpdateNodePoolRequest.Builder |
mergeGcfsConfig(GcfsConfig value)
public UpdateNodePoolRequest.Builder mergeGcfsConfig(GcfsConfig value)
GCFS config.
.google.container.v1beta1.GcfsConfig gcfs_config = 22;
Name | Description |
value | GcfsConfig |
Type | Description |
UpdateNodePoolRequest.Builder |
mergeGvnic(VirtualNIC value)
public UpdateNodePoolRequest.Builder mergeGvnic(VirtualNIC value)
Enable or disable gvnic on the node pool.
.google.container.v1beta1.VirtualNIC gvnic = 29;
Name | Description |
value | VirtualNIC |
Type | Description |
UpdateNodePoolRequest.Builder |
mergeKubeletConfig(NodeKubeletConfig value)
public UpdateNodePoolRequest.Builder mergeKubeletConfig(NodeKubeletConfig value)
Node kubelet configs.
.google.container.v1beta1.NodeKubeletConfig kubelet_config = 20;
Name | Description |
value | NodeKubeletConfig |
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.v1beta1.NodeLabels labels = 18;
Name | Description |
value | NodeLabels |
Type | Description |
UpdateNodePoolRequest.Builder |
mergeLinuxNodeConfig(LinuxNodeConfig value)
public UpdateNodePoolRequest.Builder mergeLinuxNodeConfig(LinuxNodeConfig value)
Parameters that can be configured on Linux nodes.
.google.container.v1beta1.LinuxNodeConfig linux_node_config = 19;
Name | Description |
value | LinuxNodeConfig |
Type | Description |
UpdateNodePoolRequest.Builder |
mergeNodeNetworkConfig(NodeNetworkConfig value)
public UpdateNodePoolRequest.Builder mergeNodeNetworkConfig(NodeNetworkConfig value)
Node network config.
.google.container.v1beta1.NodeNetworkConfig node_network_config = 21;
Name | Description |
value | NodeNetworkConfig |
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.v1beta1.NetworkTags tags = 16;
Name | Description |
value | NetworkTags |
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.v1beta1.NodeTaints taints = 17;
Name | Description |
value | NodeTaints |
Type | Description |
UpdateNodePoolRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateNodePoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UpdateNodePoolRequest.Builder |
mergeUpgradeSettings(NodePool.UpgradeSettings value)
public UpdateNodePoolRequest.Builder mergeUpgradeSettings(NodePool.UpgradeSettings value)
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15;
Name | Description |
value | NodePool.UpgradeSettings |
Type | Description |
UpdateNodePoolRequest.Builder |
mergeWorkloadMetadataConfig(WorkloadMetadataConfig value)
public UpdateNodePoolRequest.Builder mergeWorkloadMetadataConfig(WorkloadMetadataConfig value)
The desired workload metadata config for the node pool.
.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;
Name | Description |
value | WorkloadMetadataConfig |
Type | Description |
UpdateNodePoolRequest.Builder |
setClusterId(String value) (deprecated)
public UpdateNodePoolRequest.Builder setClusterId(String value)
Deprecated. google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=2416
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];
Name | Description |
value | String The clusterId to set. |
Type | Description |
UpdateNodePoolRequest.Builder | This builder for chaining. |
setClusterIdBytes(ByteString value) (deprecated)
public UpdateNodePoolRequest.Builder setClusterIdBytes(ByteString value)
Deprecated. google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=2416
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];
Name | Description |
value | ByteString The bytes for clusterId to set. |
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.v1beta1.ConfidentialNodes confidential_nodes = 23;
Name | Description |
value | ConfidentialNodes |
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.v1beta1.ConfidentialNodes confidential_nodes = 23;
Name | Description |
builderForValue | ConfidentialNodes.Builder |
Type | Description |
UpdateNodePoolRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateNodePoolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UpdateNodePoolRequest.Builder |
setGcfsConfig(GcfsConfig value)
public UpdateNodePoolRequest.Builder setGcfsConfig(GcfsConfig value)
GCFS config.
.google.container.v1beta1.GcfsConfig gcfs_config = 22;
Name | Description |
value | GcfsConfig |
Type | Description |
UpdateNodePoolRequest.Builder |
setGcfsConfig(GcfsConfig.Builder builderForValue)
public UpdateNodePoolRequest.Builder setGcfsConfig(GcfsConfig.Builder builderForValue)
GCFS config.
.google.container.v1beta1.GcfsConfig gcfs_config = 22;
Name | Description |
builderForValue | GcfsConfig.Builder |
Type | Description |
UpdateNodePoolRequest.Builder |
setGvnic(VirtualNIC value)
public UpdateNodePoolRequest.Builder setGvnic(VirtualNIC value)
Enable or disable gvnic on the node pool.
.google.container.v1beta1.VirtualNIC gvnic = 29;
Name | Description |
value | VirtualNIC |
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.v1beta1.VirtualNIC gvnic = 29;
Name | Description |
builderForValue | VirtualNIC.Builder |
Type | Description |
UpdateNodePoolRequest.Builder |
setImageType(String value)
public UpdateNodePoolRequest.Builder setImageType(String value)
Required. The desired image type for the node pool.
string image_type = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The imageType to set. |
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.
string image_type = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for imageType to set. |
Type | Description |
UpdateNodePoolRequest.Builder | This builder for chaining. |
setKubeletConfig(NodeKubeletConfig value)
public UpdateNodePoolRequest.Builder setKubeletConfig(NodeKubeletConfig value)
Node kubelet configs.
.google.container.v1beta1.NodeKubeletConfig kubelet_config = 20;
Name | Description |
value | NodeKubeletConfig |
Type | Description |
UpdateNodePoolRequest.Builder |
setKubeletConfig(NodeKubeletConfig.Builder builderForValue)
public UpdateNodePoolRequest.Builder setKubeletConfig(NodeKubeletConfig.Builder builderForValue)
Node kubelet configs.
.google.container.v1beta1.NodeKubeletConfig kubelet_config = 20;
Name | Description |
builderForValue | NodeKubeletConfig.Builder |
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.v1beta1.NodeLabels labels = 18;
Name | Description |
value | NodeLabels |
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.v1beta1.NodeLabels labels = 18;
Name | Description |
builderForValue | NodeLabels.Builder |
Type | Description |
UpdateNodePoolRequest.Builder |
setLinuxNodeConfig(LinuxNodeConfig value)
public UpdateNodePoolRequest.Builder setLinuxNodeConfig(LinuxNodeConfig value)
Parameters that can be configured on Linux nodes.
.google.container.v1beta1.LinuxNodeConfig linux_node_config = 19;
Name | Description |
value | LinuxNodeConfig |
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.v1beta1.LinuxNodeConfig linux_node_config = 19;
Name | Description |
builderForValue | LinuxNodeConfig.Builder |
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;
Name | Description |
index | int The index to set the value at. |
value | String The locations to set. |
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;
Name | Description |
value | String The name to set. |
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;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
UpdateNodePoolRequest.Builder | This builder for chaining. |
setNodeNetworkConfig(NodeNetworkConfig value)
public UpdateNodePoolRequest.Builder setNodeNetworkConfig(NodeNetworkConfig value)
Node network config.
.google.container.v1beta1.NodeNetworkConfig node_network_config = 21;
Name | Description |
value | NodeNetworkConfig |
Type | Description |
UpdateNodePoolRequest.Builder |
setNodeNetworkConfig(NodeNetworkConfig.Builder builderForValue)
public UpdateNodePoolRequest.Builder setNodeNetworkConfig(NodeNetworkConfig.Builder builderForValue)
Node network config.
.google.container.v1beta1.NodeNetworkConfig node_network_config = 21;
Name | Description |
builderForValue | NodeNetworkConfig.Builder |
Type | Description |
UpdateNodePoolRequest.Builder |
setNodePoolId(String value) (deprecated)
public UpdateNodePoolRequest.Builder setNodePoolId(String value)
Deprecated. google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=2423
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];
Name | Description |
value | String The nodePoolId to set. |
Type | Description |
UpdateNodePoolRequest.Builder | This builder for chaining. |
setNodePoolIdBytes(ByteString value) (deprecated)
public UpdateNodePoolRequest.Builder setNodePoolIdBytes(ByteString value)
Deprecated. google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=2423
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];
Name | Description |
value | ByteString The bytes for nodePoolId to set. |
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];
Name | Description |
value | String The nodeVersion to set. |
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];
Name | Description |
value | ByteString The bytes for nodeVersion to set. |
Type | Description |
UpdateNodePoolRequest.Builder | This builder for chaining. |
setProjectId(String value) (deprecated)
public UpdateNodePoolRequest.Builder setProjectId(String value)
Deprecated. google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=2400
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];
Name | Description |
value | String The projectId to set. |
Type | Description |
UpdateNodePoolRequest.Builder | This builder for chaining. |
setProjectIdBytes(ByteString value) (deprecated)
public UpdateNodePoolRequest.Builder setProjectIdBytes(ByteString value)
Deprecated. google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=2400
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];
Name | Description |
value | ByteString The bytes for projectId to set. |
Type | Description |
UpdateNodePoolRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateNodePoolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
UpdateNodePoolRequest.Builder |
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.v1beta1.NetworkTags tags = 16;
Name | Description |
value | NetworkTags |
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.v1beta1.NetworkTags tags = 16;
Name | Description |
builderForValue | NetworkTags.Builder |
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.v1beta1.NodeTaints taints = 17;
Name | Description |
value | NodeTaints |
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.v1beta1.NodeTaints taints = 17;
Name | Description |
builderForValue | NodeTaints.Builder |
Type | Description |
UpdateNodePoolRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateNodePoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UpdateNodePoolRequest.Builder |
setUpgradeSettings(NodePool.UpgradeSettings value)
public UpdateNodePoolRequest.Builder setUpgradeSettings(NodePool.UpgradeSettings value)
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15;
Name | Description |
value | NodePool.UpgradeSettings |
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.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15;
Name | Description |
builderForValue | NodePool.UpgradeSettings.Builder |
Type | Description |
UpdateNodePoolRequest.Builder |
setWorkloadMetadataConfig(WorkloadMetadataConfig value)
public UpdateNodePoolRequest.Builder setWorkloadMetadataConfig(WorkloadMetadataConfig value)
The desired workload metadata config for the node pool.
.google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;
Name | Description |
value | WorkloadMetadataConfig |
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.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14;
Name | Description |
builderForValue | WorkloadMetadataConfig.Builder |
Type | Description |
UpdateNodePoolRequest.Builder |
setZone(String value) (deprecated)
public UpdateNodePoolRequest.Builder setZone(String value)
Deprecated. google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=2409
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];
Name | Description |
value | String The zone to set. |
Type | Description |
UpdateNodePoolRequest.Builder | This builder for chaining. |
setZoneBytes(ByteString value) (deprecated)
public UpdateNodePoolRequest.Builder setZoneBytes(ByteString value)
Deprecated. google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=2409
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];
Name | Description |
value | ByteString The bytes for zone to set. |
Type | Description |
UpdateNodePoolRequest.Builder | This builder for chaining. |