public final class UpdateNodePoolRequest extends GeneratedMessageV3 implements UpdateNodePoolRequestOrBuilder
SetNodePoolVersionRequest updates the version of a node pool.
Protobuf type google.container.v1beta1.UpdateNodePoolRequest
Static Fields
CLUSTER_ID_FIELD_NUMBER
public static final int CLUSTER_ID_FIELD_NUMBER
Field Value
CONFIDENTIAL_NODES_FIELD_NUMBER
public static final int CONFIDENTIAL_NODES_FIELD_NUMBER
Field Value
FAST_SOCKET_FIELD_NUMBER
public static final int FAST_SOCKET_FIELD_NUMBER
Field Value
GCFS_CONFIG_FIELD_NUMBER
public static final int GCFS_CONFIG_FIELD_NUMBER
Field Value
GVNIC_FIELD_NUMBER
public static final int GVNIC_FIELD_NUMBER
Field Value
IMAGE_TYPE_FIELD_NUMBER
public static final int IMAGE_TYPE_FIELD_NUMBER
Field Value
KUBELET_CONFIG_FIELD_NUMBER
public static final int KUBELET_CONFIG_FIELD_NUMBER
Field Value
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value
LINUX_NODE_CONFIG_FIELD_NUMBER
public static final int LINUX_NODE_CONFIG_FIELD_NUMBER
Field Value
LOCATIONS_FIELD_NUMBER
public static final int LOCATIONS_FIELD_NUMBER
Field Value
LOGGING_CONFIG_FIELD_NUMBER
public static final int LOGGING_CONFIG_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
NODE_NETWORK_CONFIG_FIELD_NUMBER
public static final int NODE_NETWORK_CONFIG_FIELD_NUMBER
Field Value
NODE_POOL_ID_FIELD_NUMBER
public static final int NODE_POOL_ID_FIELD_NUMBER
Field Value
NODE_VERSION_FIELD_NUMBER
public static final int NODE_VERSION_FIELD_NUMBER
Field Value
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
Field Value
RESOURCE_LABELS_FIELD_NUMBER
public static final int RESOURCE_LABELS_FIELD_NUMBER
Field Value
public static final int TAGS_FIELD_NUMBER
Field Value
TAINTS_FIELD_NUMBER
public static final int TAINTS_FIELD_NUMBER
Field Value
UPGRADE_SETTINGS_FIELD_NUMBER
public static final int UPGRADE_SETTINGS_FIELD_NUMBER
Field Value
public static final int WORKLOAD_METADATA_CONFIG_FIELD_NUMBER
Field Value
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UpdateNodePoolRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UpdateNodePoolRequest.Builder newBuilder()
Returns
newBuilder(UpdateNodePoolRequest prototype)
public static UpdateNodePoolRequest.Builder newBuilder(UpdateNodePoolRequest prototype)
Parameter
Returns
public static UpdateNodePoolRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateNodePoolRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UpdateNodePoolRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateNodePoolRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UpdateNodePoolRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateNodePoolRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateNodePoolRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpdateNodePoolRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateNodePoolRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateNodePoolRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UpdateNodePoolRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateNodePoolRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UpdateNodePoolRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getClusterId() (deprecated)
public String getClusterId()
Deprecated. google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See
google/container/v1beta1/cluster_service.proto;l=2472
Required. Deprecated. The name of the cluster to upgrade.
This field has been deprecated and replaced by the name field.
string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
Returns
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=2472
Required. Deprecated. The name of the cluster to upgrade.
This field has been deprecated and replaced by the name field.
string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
Returns
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;
Returns
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;
Returns
getDefaultInstanceForType()
public UpdateNodePoolRequest getDefaultInstanceForType()
Returns
getFastSocket()
public FastSocket getFastSocket()
Enable or disable NCCL fast socket for the node pool.
.google.container.v1beta1.FastSocket fast_socket = 31;
Returns
getFastSocketOrBuilder()
public FastSocketOrBuilder getFastSocketOrBuilder()
Enable or disable NCCL fast socket for the node pool.
.google.container.v1beta1.FastSocket fast_socket = 31;
Returns
getGcfsConfig()
public GcfsConfig getGcfsConfig()
GCFS config.
.google.container.v1beta1.GcfsConfig gcfs_config = 22;
Returns
getGcfsConfigOrBuilder()
public GcfsConfigOrBuilder getGcfsConfigOrBuilder()
GCFS config.
.google.container.v1beta1.GcfsConfig gcfs_config = 22;
Returns
getGvnic()
public VirtualNIC getGvnic()
Enable or disable gvnic on the node pool.
.google.container.v1beta1.VirtualNIC gvnic = 29;
Returns
getGvnicOrBuilder()
public VirtualNICOrBuilder getGvnicOrBuilder()
Enable or disable gvnic on the node pool.
.google.container.v1beta1.VirtualNIC gvnic = 29;
Returns
getImageType()
public String getImageType()
Required. The desired image type for the node pool.
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.
string image_type = 6 [(.google.api.field_behavior) = REQUIRED];
Returns
getKubeletConfig()
public NodeKubeletConfig getKubeletConfig()
Node kubelet configs.
.google.container.v1beta1.NodeKubeletConfig kubelet_config = 20;
Returns
getKubeletConfigOrBuilder()
public NodeKubeletConfigOrBuilder getKubeletConfigOrBuilder()
Node kubelet configs.
.google.container.v1beta1.NodeKubeletConfig kubelet_config = 20;
Returns
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;
Returns
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;
Returns
getLinuxNodeConfig()
public LinuxNodeConfig getLinuxNodeConfig()
Parameters that can be configured on Linux nodes.
.google.container.v1beta1.LinuxNodeConfig linux_node_config = 19;
Returns
getLinuxNodeConfigOrBuilder()
public LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuilder()
Parameters that can be configured on Linux nodes.
.google.container.v1beta1.LinuxNodeConfig linux_node_config = 19;
Returns
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