Package com.google.container.v1
Interface NodePoolOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NodePool,NodePool.Builder
public interface NodePoolOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description NodePoolAutoscalinggetAutoscaling()Autoscaler configuration for this NodePool.NodePoolAutoscalingOrBuildergetAutoscalingOrBuilder()Autoscaler configuration for this NodePool.BestEffortProvisioninggetBestEffortProvisioning()Enable best effort provisioning for nodesBestEffortProvisioningOrBuildergetBestEffortProvisioningOrBuilder()Enable best effort provisioning for nodesStatusConditiongetConditions(int index)Which conditions caused the current node pool state.intgetConditionsCount()Which conditions caused the current node pool state.List<StatusCondition>getConditionsList()Which conditions caused the current node pool state.StatusConditionOrBuildergetConditionsOrBuilder(int index)Which conditions caused the current node pool state.List<? extends StatusConditionOrBuilder>getConditionsOrBuilderList()Which conditions caused the current node pool state.NodeConfiggetConfig()The node configuration of the pool.NodeConfigOrBuildergetConfigOrBuilder()The node configuration of the pool.StringgetEtag()This checksum is computed by the server based on the value of node pool fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.com.google.protobuf.ByteStringgetEtagBytes()This checksum is computed by the server based on the value of node pool fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.intgetInitialNodeCount()The initial node count for the pool.StringgetInstanceGroupUrls(int index)[Output only] The resource URLs of the [managed instance groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with this node pool.com.google.protobuf.ByteStringgetInstanceGroupUrlsBytes(int index)[Output only] The resource URLs of the [managed instance groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with this node pool.intgetInstanceGroupUrlsCount()[Output only] The resource URLs of the [managed instance groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with this node pool.List<String>getInstanceGroupUrlsList()[Output only] The resource URLs of the [managed instance groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with this node pool.StringgetLocations(int index)The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located.com.google.protobuf.ByteStringgetLocationsBytes(int index)The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located.intgetLocationsCount()The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located.List<String>getLocationsList()The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located.NodeManagementgetManagement()NodeManagement configuration for this NodePool.NodeManagementOrBuildergetManagementOrBuilder()NodeManagement configuration for this NodePool.MaxPodsConstraintgetMaxPodsConstraint()The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.MaxPodsConstraintOrBuildergetMaxPodsConstraintOrBuilder()The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.StringgetName()The name of the node pool.com.google.protobuf.ByteStringgetNameBytes()The name of the node pool.NodeNetworkConfiggetNetworkConfig()Networking configuration for this NodePool.NodeNetworkConfigOrBuildergetNetworkConfigOrBuilder()Networking configuration for this NodePool.NodePool.PlacementPolicygetPlacementPolicy()Specifies the node placement policy.NodePool.PlacementPolicyOrBuildergetPlacementPolicyOrBuilder()Specifies the node placement policy.intgetPodIpv4CidrSize()[Output only] The pod CIDR block size per node in this node pool.StringgetSelfLink()[Output only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output only] Server-defined URL for the resource.NodePool.StatusgetStatus()[Output only] The status of the nodes in this pool instance.StringgetStatusMessage()Deprecated.google.container.v1.NodePool.status_message is deprecated.com.google.protobuf.ByteStringgetStatusMessageBytes()Deprecated.google.container.v1.NodePool.status_message is deprecated.intgetStatusValue()[Output only] The status of the nodes in this pool instance.NodePool.UpdateInfogetUpdateInfo()Output only.NodePool.UpdateInfoOrBuildergetUpdateInfoOrBuilder()Output only.NodePool.UpgradeSettingsgetUpgradeSettings()Upgrade settings control disruption and speed of the upgrade.NodePool.UpgradeSettingsOrBuildergetUpgradeSettingsOrBuilder()Upgrade settings control disruption and speed of the upgrade.StringgetVersion()The version of Kubernetes running on this NodePool's nodes.com.google.protobuf.ByteStringgetVersionBytes()The version of Kubernetes running on this NodePool's nodes.booleanhasAutoscaling()Autoscaler configuration for this NodePool.booleanhasBestEffortProvisioning()Enable best effort provisioning for nodesbooleanhasConfig()The node configuration of the pool.booleanhasManagement()NodeManagement configuration for this NodePool.booleanhasMaxPodsConstraint()The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.booleanhasNetworkConfig()Networking configuration for this NodePool.booleanhasPlacementPolicy()Specifies the node placement policy.booleanhasUpdateInfo()Output only.booleanhasUpgradeSettings()Upgrade settings control disruption and speed of the upgrade.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The name of the node pool.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name of the node pool.
string name = 1;- Returns:
- The bytes for name.
-
hasConfig
boolean hasConfig()
The node configuration of the pool.
.google.container.v1.NodeConfig config = 2;- Returns:
- Whether the config field is set.
-
getConfig
NodeConfig getConfig()
The node configuration of the pool.
.google.container.v1.NodeConfig config = 2;- Returns:
- The config.
-
getConfigOrBuilder
NodeConfigOrBuilder getConfigOrBuilder()
The node configuration of the pool.
.google.container.v1.NodeConfig config = 2;
-
getInitialNodeCount
int getInitialNodeCount()
The initial node count for the pool. You must ensure that your Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is sufficient for this number of instances. You must also have available firewall and routes quota.
int32 initial_node_count = 3;- Returns:
- The initialNodeCount.
-
getLocationsList
List<String> getLocationsList()
The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located. If this value is unspecified during node pool creation, the [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations) value will be used, instead. Warning: changing node pool locations will result in nodes being added and/or removed.
repeated string locations = 13;- Returns:
- A list containing the locations.
-
getLocationsCount
int getLocationsCount()
The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located. If this value is unspecified during node pool creation, the [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations) value will be used, instead. Warning: changing node pool locations will result in nodes being added and/or removed.
repeated string locations = 13;- Returns:
- The count of locations.
-
getLocations
String getLocations(int index)
The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located. If this value is unspecified during node pool creation, the [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations) value will be used, instead. Warning: changing node pool locations will result in nodes being added and/or removed.
repeated string locations = 13;- Parameters:
index- The index of the element to return.- Returns:
- The locations at the given index.
-
getLocationsBytes
com.google.protobuf.ByteString getLocationsBytes(int index)
The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located. If this value is unspecified during node pool creation, the [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations) value will be used, instead. Warning: changing node pool locations will result in nodes being added and/or removed.
repeated string locations = 13;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the locations at the given index.
-
hasNetworkConfig
boolean hasNetworkConfig()
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1.NodeNetworkConfig network_config = 14;- Returns:
- Whether the networkConfig field is set.
-
getNetworkConfig
NodeNetworkConfig getNetworkConfig()
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1.NodeNetworkConfig network_config = 14;- Returns:
- The networkConfig.
-
getNetworkConfigOrBuilder
NodeNetworkConfigOrBuilder getNetworkConfigOrBuilder()
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1.NodeNetworkConfig network_config = 14;
-
getSelfLink
String getSelfLink()
[Output only] Server-defined URL for the resource.
string self_link = 100;- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()
[Output only] Server-defined URL for the resource.
string self_link = 100;- Returns:
- The bytes for selfLink.
-
getVersion
String getVersion()
The version of Kubernetes running on this NodePool's nodes. If unspecified, it defaults as described [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
string version = 101;- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()
The version of Kubernetes running on this NodePool's nodes. If unspecified, it defaults as described [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
string version = 101;- Returns:
- The bytes for version.
-
getInstanceGroupUrlsList
List<String> getInstanceGroupUrlsList()
[Output only] The resource URLs of the [managed instance groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources.
repeated string instance_group_urls = 102;- Returns:
- A list containing the instanceGroupUrls.
-
getInstanceGroupUrlsCount
int getInstanceGroupUrlsCount()
[Output only] The resource URLs of the [managed instance groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources.
repeated string instance_group_urls = 102;- Returns:
- The count of instanceGroupUrls.
-
getInstanceGroupUrls
String getInstanceGroupUrls(int index)
[Output only] The resource URLs of the [managed instance groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources.
repeated string instance_group_urls = 102;- Parameters:
index- The index of the element to return.- Returns:
- The instanceGroupUrls at the given index.
-
getInstanceGroupUrlsBytes
com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index)
[Output only] The resource URLs of the [managed instance groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources.
repeated string instance_group_urls = 102;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the instanceGroupUrls at the given index.
-
getStatusValue
int getStatusValue()
[Output only] The status of the nodes in this pool instance.
.google.container.v1.NodePool.Status status = 103;- Returns:
- The enum numeric value on the wire for status.
-
getStatus
NodePool.Status getStatus()
[Output only] The status of the nodes in this pool instance.
.google.container.v1.NodePool.Status status = 103;- Returns:
- The status.
-
getStatusMessage
@Deprecated String getStatusMessage()
Deprecated.google.container.v1.NodePool.status_message is deprecated. See google/container/v1/cluster_service.proto;l=3506[Output only] Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.
string status_message = 104 [deprecated = true];- Returns:
- The statusMessage.
-
getStatusMessageBytes
@Deprecated com.google.protobuf.ByteString getStatusMessageBytes()
Deprecated.google.container.v1.NodePool.status_message is deprecated. See google/container/v1/cluster_service.proto;l=3506[Output only] Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.
string status_message = 104 [deprecated = true];- Returns:
- The bytes for statusMessage.
-
hasAutoscaling
boolean hasAutoscaling()
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1.NodePoolAutoscaling autoscaling = 4;- Returns:
- Whether the autoscaling field is set.
-
getAutoscaling
NodePoolAutoscaling getAutoscaling()
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1.NodePoolAutoscaling autoscaling = 4;- Returns:
- The autoscaling.
-
getAutoscalingOrBuilder
NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder()
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1.NodePoolAutoscaling autoscaling = 4;
-
hasManagement
boolean hasManagement()
NodeManagement configuration for this NodePool.
.google.container.v1.NodeManagement management = 5;- Returns:
- Whether the management field is set.
-
getManagement
NodeManagement getManagement()
NodeManagement configuration for this NodePool.
.google.container.v1.NodeManagement management = 5;- Returns:
- The management.
-
getManagementOrBuilder
NodeManagementOrBuilder getManagementOrBuilder()
NodeManagement configuration for this NodePool.
.google.container.v1.NodeManagement management = 5;
-
hasMaxPodsConstraint
boolean hasMaxPodsConstraint()
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.container.v1.MaxPodsConstraint max_pods_constraint = 6;- Returns:
- Whether the maxPodsConstraint field is set.
-
getMaxPodsConstraint
MaxPodsConstraint getMaxPodsConstraint()
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.container.v1.MaxPodsConstraint max_pods_constraint = 6;- Returns:
- The maxPodsConstraint.
-
getMaxPodsConstraintOrBuilder
MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder()
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.container.v1.MaxPodsConstraint max_pods_constraint = 6;
-
getConditionsList
List<StatusCondition> getConditionsList()
Which conditions caused the current node pool state.
repeated .google.container.v1.StatusCondition conditions = 105;
-
getConditions
StatusCondition getConditions(int index)
Which conditions caused the current node pool state.
repeated .google.container.v1.StatusCondition conditions = 105;
-
getConditionsCount
int getConditionsCount()
Which conditions caused the current node pool state.
repeated .google.container.v1.StatusCondition conditions = 105;
-
getConditionsOrBuilderList
List<? extends StatusConditionOrBuilder> getConditionsOrBuilderList()
Which conditions caused the current node pool state.
repeated .google.container.v1.StatusCondition conditions = 105;
-
getConditionsOrBuilder
StatusConditionOrBuilder getConditionsOrBuilder(int index)
Which conditions caused the current node pool state.
repeated .google.container.v1.StatusCondition conditions = 105;
-
getPodIpv4CidrSize
int getPodIpv4CidrSize()
[Output only] The pod CIDR block size per node in this node pool.
int32 pod_ipv4_cidr_size = 7;- Returns:
- The podIpv4CidrSize.
-
hasUpgradeSettings
boolean hasUpgradeSettings()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107;- Returns:
- Whether the upgradeSettings field is set.
-
getUpgradeSettings
NodePool.UpgradeSettings getUpgradeSettings()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107;- Returns:
- The upgradeSettings.
-
getUpgradeSettingsOrBuilder
NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107;
-
hasPlacementPolicy
boolean hasPlacementPolicy()
Specifies the node placement policy.
.google.container.v1.NodePool.PlacementPolicy placement_policy = 108;- Returns:
- Whether the placementPolicy field is set.
-
getPlacementPolicy
NodePool.PlacementPolicy getPlacementPolicy()
Specifies the node placement policy.
.google.container.v1.NodePool.PlacementPolicy placement_policy = 108;- Returns:
- The placementPolicy.
-
getPlacementPolicyOrBuilder
NodePool.PlacementPolicyOrBuilder getPlacementPolicyOrBuilder()
Specifies the node placement policy.
.google.container.v1.NodePool.PlacementPolicy placement_policy = 108;
-
hasUpdateInfo
boolean hasUpdateInfo()
Output only. [Output only] Update info contains relevant information during a node pool update.
.google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateInfo field is set.
-
getUpdateInfo
NodePool.UpdateInfo getUpdateInfo()
Output only. [Output only] Update info contains relevant information during a node pool update.
.google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateInfo.
-
getUpdateInfoOrBuilder
NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder()
Output only. [Output only] Update info contains relevant information during a node pool update.
.google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getEtag
String getEtag()
This checksum is computed by the server based on the value of node pool fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
string etag = 110;- Returns:
- The etag.
-
getEtagBytes
com.google.protobuf.ByteString getEtagBytes()
This checksum is computed by the server based on the value of node pool fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
string etag = 110;- Returns:
- The bytes for etag.
-
hasBestEffortProvisioning
boolean hasBestEffortProvisioning()
Enable best effort provisioning for nodes
.google.container.v1.BestEffortProvisioning best_effort_provisioning = 113;- Returns:
- Whether the bestEffortProvisioning field is set.
-
getBestEffortProvisioning
BestEffortProvisioning getBestEffortProvisioning()
Enable best effort provisioning for nodes
.google.container.v1.BestEffortProvisioning best_effort_provisioning = 113;- Returns:
- The bestEffortProvisioning.
-
getBestEffortProvisioningOrBuilder
BestEffortProvisioningOrBuilder getBestEffortProvisioningOrBuilder()
Enable best effort provisioning for nodes
.google.container.v1.BestEffortProvisioning best_effort_provisioning = 113;
-
-