Interface UpdateNodePoolRequestOrBuilder (2.4.0)

public interface UpdateNodePoolRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClusterId()

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

Returns
TypeDescription
String

The clusterId.

getClusterIdBytes()

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

Returns
TypeDescription
ByteString

The bytes for clusterId.

getGcfsConfig()

public abstract GcfsConfig getGcfsConfig()

GCFS config.

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

Returns
TypeDescription
GcfsConfig

The gcfsConfig.

getGcfsConfigOrBuilder()

public abstract GcfsConfigOrBuilder getGcfsConfigOrBuilder()

GCFS config.

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

Returns
TypeDescription
GcfsConfigOrBuilder

getGvnic()

public abstract VirtualNIC getGvnic()

Enable or disable gvnic on the node pool.

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

Returns
TypeDescription
VirtualNIC

The gvnic.

getGvnicOrBuilder()

public abstract VirtualNICOrBuilder getGvnicOrBuilder()

Enable or disable gvnic on the node pool.

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

Returns
TypeDescription
VirtualNICOrBuilder

getImageType()

public abstract String getImageType()

Required. The desired image type for the node pool.

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

Returns
TypeDescription
String

The imageType.

getImageTypeBytes()

public abstract ByteString getImageTypeBytes()

Required. The desired image type for the node pool.

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

Returns
TypeDescription
ByteString

The bytes for imageType.

getKubeletConfig()

public abstract NodeKubeletConfig getKubeletConfig()

Node kubelet configs.

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

Returns
TypeDescription
NodeKubeletConfig

The kubeletConfig.

getKubeletConfigOrBuilder()

public abstract NodeKubeletConfigOrBuilder getKubeletConfigOrBuilder()

Node kubelet configs.

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

Returns
TypeDescription
NodeKubeletConfigOrBuilder

getLabels()

public abstract 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
TypeDescription
NodeLabels

The labels.

getLabelsOrBuilder()

public abstract 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
TypeDescription
NodeLabelsOrBuilder

getLinuxNodeConfig()

public abstract LinuxNodeConfig getLinuxNodeConfig()

Parameters that can be configured on Linux nodes.

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

Returns
TypeDescription
LinuxNodeConfig

The linuxNodeConfig.

getLinuxNodeConfigOrBuilder()

public abstract LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuilder()

Parameters that can be configured on Linux nodes.

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

Returns
TypeDescription
LinuxNodeConfigOrBuilder

getLocations(int index)

public abstract 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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The locations at the given index.

getLocationsBytes(int index)

public abstract 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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the locations at the given index.

getLocationsCount()

public abstract 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
TypeDescription
int

The count of locations.

getLocationsList()

public abstract List<String> 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
TypeDescription
List<String>

A list containing the locations.

getName()

public abstract 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
TypeDescription
String

The name.

getNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for name.

getNodePoolId()

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

Returns
TypeDescription
String

The nodePoolId.

getNodePoolIdBytes()

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

Returns
TypeDescription
ByteString

The bytes for nodePoolId.

getNodeVersion()

public abstract 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
TypeDescription
String

The nodeVersion.

getNodeVersionBytes()

public abstract 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
TypeDescription
ByteString

The bytes for nodeVersion.

getProjectId()

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

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

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

Returns
TypeDescription
ByteString

The bytes for projectId.

getTags()

public abstract 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;

Returns
TypeDescription
NetworkTags

The tags.

getTagsOrBuilder()

public abstract 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;

Returns
TypeDescription
NetworkTagsOrBuilder

getTaints()

public abstract 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;

Returns
TypeDescription
NodeTaints

The taints.

getTaintsOrBuilder()

public abstract 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;

Returns
TypeDescription
NodeTaintsOrBuilder

getUpgradeSettings()

public abstract NodePool.UpgradeSettings getUpgradeSettings()

Upgrade settings control disruption and speed of the upgrade.

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

Returns
TypeDescription
NodePool.UpgradeSettings

The upgradeSettings.

getUpgradeSettingsOrBuilder()

public abstract NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder()

Upgrade settings control disruption and speed of the upgrade.

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

Returns
TypeDescription
NodePool.UpgradeSettingsOrBuilder

getWorkloadMetadataConfig()

public abstract WorkloadMetadataConfig getWorkloadMetadataConfig()

The desired workload metadata config for the node pool.

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

Returns
TypeDescription
WorkloadMetadataConfig

The workloadMetadataConfig.

getWorkloadMetadataConfigOrBuilder()

public abstract WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder()

The desired workload metadata config for the node pool.

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

Returns
TypeDescription
WorkloadMetadataConfigOrBuilder

getZone()

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

Returns
TypeDescription
String

The zone.

getZoneBytes()

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

Returns
TypeDescription
ByteString

The bytes for zone.

hasGcfsConfig()

public abstract boolean hasGcfsConfig()

GCFS config.

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

Returns
TypeDescription
boolean

Whether the gcfsConfig field is set.

hasGvnic()

public abstract boolean hasGvnic()

Enable or disable gvnic on the node pool.

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

Returns
TypeDescription
boolean

Whether the gvnic field is set.

hasKubeletConfig()

public abstract boolean hasKubeletConfig()

Node kubelet configs.

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

Returns
TypeDescription
boolean

Whether the kubeletConfig field is set.

hasLabels()

public abstract 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;

Returns
TypeDescription
boolean

Whether the labels field is set.

hasLinuxNodeConfig()

public abstract boolean hasLinuxNodeConfig()

Parameters that can be configured on Linux nodes.

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

Returns
TypeDescription
boolean

Whether the linuxNodeConfig field is set.

hasTags()

public abstract 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;

Returns
TypeDescription
boolean

Whether the tags field is set.

hasTaints()

public abstract 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;

Returns
TypeDescription
boolean

Whether the taints field is set.

hasUpgradeSettings()

public abstract boolean hasUpgradeSettings()

Upgrade settings control disruption and speed of the upgrade.

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

Returns
TypeDescription
boolean

Whether the upgradeSettings field is set.

hasWorkloadMetadataConfig()

public abstract boolean hasWorkloadMetadataConfig()

The desired workload metadata config for the node pool.

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

Returns
TypeDescription
boolean

Whether the workloadMetadataConfig field is set.