- 2.57.0 (latest)
- 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 final class UpdateNodePoolRequest extends GeneratedMessageV3 implements UpdateNodePoolRequestOrBuilder
SetNodePoolVersionRequest updates the version of a node pool.
Protobuf type google.container.v1beta1.UpdateNodePoolRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateNodePoolRequestImplements
UpdateNodePoolRequestOrBuilderStatic Fields
CLUSTER_ID_FIELD_NUMBER
public static final int CLUSTER_ID_FIELD_NUMBER
Type | Description |
int |
GCFS_CONFIG_FIELD_NUMBER
public static final int GCFS_CONFIG_FIELD_NUMBER
Type | Description |
int |
GVNIC_FIELD_NUMBER
public static final int GVNIC_FIELD_NUMBER
Type | Description |
int |
IMAGE_TYPE_FIELD_NUMBER
public static final int IMAGE_TYPE_FIELD_NUMBER
Type | Description |
int |
KUBELET_CONFIG_FIELD_NUMBER
public static final int KUBELET_CONFIG_FIELD_NUMBER
Type | Description |
int |
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Type | Description |
int |
LINUX_NODE_CONFIG_FIELD_NUMBER
public static final int LINUX_NODE_CONFIG_FIELD_NUMBER
Type | Description |
int |
LOCATIONS_FIELD_NUMBER
public static final int LOCATIONS_FIELD_NUMBER
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
NODE_POOL_ID_FIELD_NUMBER
public static final int NODE_POOL_ID_FIELD_NUMBER
Type | Description |
int |
NODE_VERSION_FIELD_NUMBER
public static final int NODE_VERSION_FIELD_NUMBER
Type | Description |
int |
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
Type | Description |
int |
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
Type | Description |
int |
TAINTS_FIELD_NUMBER
public static final int TAINTS_FIELD_NUMBER
Type | Description |
int |
UPGRADE_SETTINGS_FIELD_NUMBER
public static final int UPGRADE_SETTINGS_FIELD_NUMBER
Type | Description |
int |
WORKLOAD_METADATA_CONFIG_FIELD_NUMBER
public static final int WORKLOAD_METADATA_CONFIG_FIELD_NUMBER
Type | Description |
int |
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static UpdateNodePoolRequest getDefaultInstance()
Type | Description |
UpdateNodePoolRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static UpdateNodePoolRequest.Builder newBuilder()
Type | Description |
UpdateNodePoolRequest.Builder |
newBuilder(UpdateNodePoolRequest prototype)
public static UpdateNodePoolRequest.Builder newBuilder(UpdateNodePoolRequest prototype)
Name | Description |
prototype | UpdateNodePoolRequest |
Type | Description |
UpdateNodePoolRequest.Builder |
parseDelimitedFrom(InputStream input)
public static UpdateNodePoolRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
UpdateNodePoolRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateNodePoolRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateNodePoolRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static UpdateNodePoolRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
UpdateNodePoolRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateNodePoolRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateNodePoolRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static UpdateNodePoolRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
UpdateNodePoolRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateNodePoolRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateNodePoolRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static UpdateNodePoolRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
UpdateNodePoolRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateNodePoolRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateNodePoolRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static UpdateNodePoolRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
UpdateNodePoolRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateNodePoolRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateNodePoolRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static UpdateNodePoolRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
UpdateNodePoolRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateNodePoolRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateNodePoolRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<UpdateNodePoolRequest> parser()
Type | Description |
Parser<UpdateNodePoolRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getClusterId()
public String getClusterId()
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()
public ByteString getClusterIdBytes()
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. |
getDefaultInstanceForType()
public UpdateNodePoolRequest getDefaultInstanceForType()
Type | Description |
UpdateNodePoolRequest |
getGcfsConfig()
public GcfsConfig getGcfsConfig()
GCFS config.
.google.container.v1beta1.GcfsConfig gcfs_config = 22;
Type | Description |
GcfsConfig | The gcfsConfig. |
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. |
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. |
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. |
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. |
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. |
getNodePoolId()
public String getNodePoolId()
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()
public ByteString getNodePoolIdBytes()
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. |
getParserForType()
public Parser<UpdateNodePoolRequest> getParserForType()
Type | Description |
Parser<UpdateNodePoolRequest> |
getProjectId()
public String getProjectId()
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()
public ByteString getProjectIdBytes()
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. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
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. |
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. |
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 |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
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. |
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. |
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()
public String getZone()
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()
public ByteString getZoneBytes()
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. |
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. |
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. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public UpdateNodePoolRequest.Builder newBuilderForType()
Type | Description |
UpdateNodePoolRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateNodePoolRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
UpdateNodePoolRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public UpdateNodePoolRequest.Builder toBuilder()
Type | Description |
UpdateNodePoolRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |