Package com.google.container.v1
Interface NodePoolOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NodePool,NodePool.Builder
@Generated
public interface NodePoolOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAutoscaler configuration for this NodePool.Autoscaler configuration for this NodePool.Enable best effort provisioning for nodesEnable best effort provisioning for nodesgetConditions(int index) Which conditions caused the current node pool state.intWhich conditions caused the current node pool state.Which conditions caused the current node pool state.getConditionsOrBuilder(int index) Which conditions caused the current node pool state.List<? extends StatusConditionOrBuilder>Which conditions caused the current node pool state.The node configuration of the pool.The node configuration of the pool.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.com.google.protobuf.ByteStringThis 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.intThe initial node count for the pool.getInstanceGroupUrls(int index) Output only.com.google.protobuf.ByteStringgetInstanceGroupUrlsBytes(int index) Output only.intOutput only.Output only.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.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.intThe list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located.The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located.Optional.Optional.NodeManagement configuration for this NodePool.NodeManagement configuration for this NodePool.The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.getName()The name of the node pool.com.google.protobuf.ByteStringThe name of the node pool.Networking configuration for this NodePool.Networking configuration for this NodePool.Specifies the node drain configuration for this node pool.Specifies the node drain configuration for this node pool.Specifies the node placement policy.Specifies the node placement policy.intOutput only.Specifies the configuration of queued provisioning.Specifies the configuration of queued provisioning.Output only.com.google.protobuf.ByteStringOutput only.Output only.Deprecated.google.container.v1.NodePool.status_message is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.NodePool.status_message is deprecated.intOutput only.Output only.Output only.Upgrade settings control disruption and speed of the upgrade.Upgrade settings control disruption and speed of the upgrade.The version of Kubernetes running on this NodePool's nodes.com.google.protobuf.ByteStringThe version of Kubernetes running on this NodePool's nodes.booleanAutoscaler configuration for this NodePool.booleanEnable best effort provisioning for nodesbooleanThe node configuration of the pool.booleanOptional.booleanNodeManagement configuration for this NodePool.booleanThe constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.booleanNetworking configuration for this NodePool.booleanSpecifies the node drain configuration for this node pool.booleanSpecifies the node placement policy.booleanSpecifies the configuration of queued provisioning.booleanOutput only.booleanUpgrade settings control disruption and speed of the upgrade.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()Output only. Server-defined URL for the resource.
string self_link = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];- 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
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 [(.google.api.field_behavior) = OUTPUT_ONLY];- 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 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The count of instanceGroupUrls.
-
getInstanceGroupUrls
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 [(.google.api.field_behavior) = OUTPUT_ONLY];- 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 [(.google.api.field_behavior) = OUTPUT_ONLY];- 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 [(.google.api.field_behavior) = OUTPUT_ONLY];- 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 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The status.
-
getStatusMessage
Deprecated.google.container.v1.NodePool.status_message is deprecated. See google/container/v1/cluster_service.proto;l=5361Output only. Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.
string status_message = 104 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The statusMessage.
-
getStatusMessageBytes
Deprecated.google.container.v1.NodePool.status_message is deprecated. See google/container/v1/cluster_service.proto;l=5361Output only. Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.
string status_message = 104 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- 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
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
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 [(.google.api.field_behavior) = OUTPUT_ONLY];- 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. 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. 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. 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.
-
hasQueuedProvisioning
boolean hasQueuedProvisioning()Specifies the configuration of queued provisioning.
.google.container.v1.NodePool.QueuedProvisioning queued_provisioning = 112;- Returns:
- Whether the queuedProvisioning field is set.
-
getQueuedProvisioning
NodePool.QueuedProvisioning getQueuedProvisioning()Specifies the configuration of queued provisioning.
.google.container.v1.NodePool.QueuedProvisioning queued_provisioning = 112;- Returns:
- The queuedProvisioning.
-
getQueuedProvisioningOrBuilder
NodePool.QueuedProvisioningOrBuilder getQueuedProvisioningOrBuilder()Specifies the configuration of queued provisioning.
.google.container.v1.NodePool.QueuedProvisioning queued_provisioning = 112; -
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; -
hasNodeDrainConfig
boolean hasNodeDrainConfig()Specifies the node drain configuration for this node pool.
.google.container.v1.NodePool.NodeDrainConfig node_drain_config = 116;- Returns:
- Whether the nodeDrainConfig field is set.
-
getNodeDrainConfig
NodePool.NodeDrainConfig getNodeDrainConfig()Specifies the node drain configuration for this node pool.
.google.container.v1.NodePool.NodeDrainConfig node_drain_config = 116;- Returns:
- The nodeDrainConfig.
-
getNodeDrainConfigOrBuilder
NodePool.NodeDrainConfigOrBuilder getNodeDrainConfigOrBuilder()Specifies the node drain configuration for this node pool.
.google.container.v1.NodePool.NodeDrainConfig node_drain_config = 116; -
hasMaintenancePolicy
boolean hasMaintenancePolicy()Optional. Specifies the maintenance policy for the node pool.
.google.container.v1.NodePool.NodePoolMaintenancePolicy maintenance_policy = 118 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the maintenancePolicy field is set.
-
getMaintenancePolicy
NodePool.NodePoolMaintenancePolicy getMaintenancePolicy()Optional. Specifies the maintenance policy for the node pool.
.google.container.v1.NodePool.NodePoolMaintenancePolicy maintenance_policy = 118 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The maintenancePolicy.
-
getMaintenancePolicyOrBuilder
NodePool.NodePoolMaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder()Optional. Specifies the maintenance policy for the node pool.
.google.container.v1.NodePool.NodePoolMaintenancePolicy maintenance_policy = 118 [(.google.api.field_behavior) = OPTIONAL];
-