Package com.google.container.v1
Class NodePool
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.container.v1.NodePool
- All Implemented Interfaces:
NodePoolOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class NodePool
extends com.google.protobuf.GeneratedMessage
implements NodePoolOrBuilder
NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.Protobuf type
google.container.v1.NodePool- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classNodePool contains the name and configuration for a cluster's node pool.static final classDefines the maintenance exclusion for the node pool.static interfacestatic final classNodeDrainConfig contains the node drain related configurations for this node pool.static interfacestatic final classDefines the maintenance policy for the node pool.static interfacestatic final classPlacementPolicy defines the placement policy used by the node pool.static interfacestatic final classQueuedProvisioning defines the queued provisioning used by the node pool.static interfacestatic enumThe current status of the node pool instance.static final classUpdateInfo contains resource (instance groups, etc), status and other intermediate information relevant to a node pool upgrade.static interfacestatic final classThese upgrade settings control the level of parallelism and the level of disruption caused by an upgrade.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanAutoscaler 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.static NodePoolstatic final com.google.protobuf.Descriptors.DescriptorgetEtag()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.com.google.protobuf.ProtocolStringListOutput 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.com.google.protobuf.ProtocolStringListThe 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.com.google.protobuf.Parser<NodePool>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.intOutput 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.inthashCode()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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic NodePool.Builderstatic NodePool.BuildernewBuilder(NodePool prototype) protected NodePool.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static NodePoolparseDelimitedFrom(InputStream input) static NodePoolparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodePoolparseFrom(byte[] data) static NodePoolparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodePoolparseFrom(com.google.protobuf.ByteString data) static NodePoolparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodePoolparseFrom(com.google.protobuf.CodedInputStream input) static NodePoolparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodePoolparseFrom(InputStream input) static NodePoolparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodePoolparseFrom(ByteBuffer data) static NodePoolparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<NodePool>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER- See Also:
-
INITIAL_NODE_COUNT_FIELD_NUMBER
public static final int INITIAL_NODE_COUNT_FIELD_NUMBER- See Also:
-
LOCATIONS_FIELD_NUMBER
public static final int LOCATIONS_FIELD_NUMBER- See Also:
-
NETWORK_CONFIG_FIELD_NUMBER
public static final int NETWORK_CONFIG_FIELD_NUMBER- See Also:
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
INSTANCE_GROUP_URLS_FIELD_NUMBER
public static final int INSTANCE_GROUP_URLS_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
STATUS_MESSAGE_FIELD_NUMBER
public static final int STATUS_MESSAGE_FIELD_NUMBER- See Also:
-
AUTOSCALING_FIELD_NUMBER
public static final int AUTOSCALING_FIELD_NUMBER- See Also:
-
MANAGEMENT_FIELD_NUMBER
public static final int MANAGEMENT_FIELD_NUMBER- See Also:
-
MAX_PODS_CONSTRAINT_FIELD_NUMBER
public static final int MAX_PODS_CONSTRAINT_FIELD_NUMBER- See Also:
-
CONDITIONS_FIELD_NUMBER
public static final int CONDITIONS_FIELD_NUMBER- See Also:
-
POD_IPV4_CIDR_SIZE_FIELD_NUMBER
public static final int POD_IPV4_CIDR_SIZE_FIELD_NUMBER- See Also:
-
UPGRADE_SETTINGS_FIELD_NUMBER
public static final int UPGRADE_SETTINGS_FIELD_NUMBER- See Also:
-
PLACEMENT_POLICY_FIELD_NUMBER
public static final int PLACEMENT_POLICY_FIELD_NUMBER- See Also:
-
UPDATE_INFO_FIELD_NUMBER
public static final int UPDATE_INFO_FIELD_NUMBER- See Also:
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER- See Also:
-
QUEUED_PROVISIONING_FIELD_NUMBER
public static final int QUEUED_PROVISIONING_FIELD_NUMBER- See Also:
-
BEST_EFFORT_PROVISIONING_FIELD_NUMBER
public static final int BEST_EFFORT_PROVISIONING_FIELD_NUMBER- See Also:
-
NODE_DRAIN_CONFIG_FIELD_NUMBER
public static final int NODE_DRAIN_CONFIG_FIELD_NUMBER- See Also:
-
MAINTENANCE_POLICY_FIELD_NUMBER
public static final int MAINTENANCE_POLICY_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
The name of the node pool.
string name = 1;- Specified by:
getNamein interfaceNodePoolOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the node pool.
string name = 1;- Specified by:
getNameBytesin interfaceNodePoolOrBuilder- Returns:
- The bytes for name.
-
hasConfig
public boolean hasConfig()The node configuration of the pool.
.google.container.v1.NodeConfig config = 2;- Specified by:
hasConfigin interfaceNodePoolOrBuilder- Returns:
- Whether the config field is set.
-
getConfig
The node configuration of the pool.
.google.container.v1.NodeConfig config = 2;- Specified by:
getConfigin interfaceNodePoolOrBuilder- Returns:
- The config.
-
getConfigOrBuilder
The node configuration of the pool.
.google.container.v1.NodeConfig config = 2;- Specified by:
getConfigOrBuilderin interfaceNodePoolOrBuilder
-
getInitialNodeCount
public 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;- Specified by:
getInitialNodeCountin interfaceNodePoolOrBuilder- Returns:
- The initialNodeCount.
-
getLocationsList
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getLocationsListin interfaceNodePoolOrBuilder- Returns:
- A list containing the locations.
-
getLocationsCount
public 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;- Specified by:
getLocationsCountin interfaceNodePoolOrBuilder- 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;- Specified by:
getLocationsin interfaceNodePoolOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The locations at the given index.
-
getLocationsBytes
public 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;- Specified by:
getLocationsBytesin interfaceNodePoolOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the locations at the given index.
-
hasNetworkConfig
public boolean hasNetworkConfig()Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1.NodeNetworkConfig network_config = 14;- Specified by:
hasNetworkConfigin interfaceNodePoolOrBuilder- Returns:
- Whether the networkConfig field is set.
-
getNetworkConfig
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1.NodeNetworkConfig network_config = 14;- Specified by:
getNetworkConfigin interfaceNodePoolOrBuilder- Returns:
- The networkConfig.
-
getNetworkConfigOrBuilder
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1.NodeNetworkConfig network_config = 14;- Specified by:
getNetworkConfigOrBuilderin interfaceNodePoolOrBuilder
-
getSelfLink
Output only. Server-defined URL for the resource.
string self_link = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSelfLinkin interfaceNodePoolOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()Output only. Server-defined URL for the resource.
string self_link = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSelfLinkBytesin interfaceNodePoolOrBuilder- Returns:
- The bytes for selfLink.
-
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;- Specified by:
getVersionin interfaceNodePoolOrBuilder- Returns:
- The version.
-
getVersionBytes
public 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;- Specified by:
getVersionBytesin interfaceNodePoolOrBuilder- Returns:
- The bytes for version.
-
getInstanceGroupUrlsList
public com.google.protobuf.ProtocolStringList 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];- Specified by:
getInstanceGroupUrlsListin interfaceNodePoolOrBuilder- Returns:
- A list containing the instanceGroupUrls.
-
getInstanceGroupUrlsCount
public 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];- Specified by:
getInstanceGroupUrlsCountin interfaceNodePoolOrBuilder- 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];- Specified by:
getInstanceGroupUrlsin interfaceNodePoolOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The instanceGroupUrls at the given index.
-
getInstanceGroupUrlsBytes
public 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];- Specified by:
getInstanceGroupUrlsBytesin interfaceNodePoolOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the instanceGroupUrls at the given index.
-
getStatusValue
public 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];- Specified by:
getStatusValuein interfaceNodePoolOrBuilder- Returns:
- The enum numeric value on the wire for 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];- Specified by:
getStatusin interfaceNodePoolOrBuilder- 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];- Specified by:
getStatusMessagein interfaceNodePoolOrBuilder- 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];- Specified by:
getStatusMessageBytesin interfaceNodePoolOrBuilder- Returns:
- The bytes for statusMessage.
-
hasAutoscaling
public boolean hasAutoscaling()Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1.NodePoolAutoscaling autoscaling = 4;- Specified by:
hasAutoscalingin interfaceNodePoolOrBuilder- Returns:
- Whether the autoscaling field is set.
-
getAutoscaling
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1.NodePoolAutoscaling autoscaling = 4;- Specified by:
getAutoscalingin interfaceNodePoolOrBuilder- Returns:
- The autoscaling.
-
getAutoscalingOrBuilder
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1.NodePoolAutoscaling autoscaling = 4;- Specified by:
getAutoscalingOrBuilderin interfaceNodePoolOrBuilder
-
hasManagement
public boolean hasManagement()NodeManagement configuration for this NodePool.
.google.container.v1.NodeManagement management = 5;- Specified by:
hasManagementin interfaceNodePoolOrBuilder- Returns:
- Whether the management field is set.
-
getManagement
NodeManagement configuration for this NodePool.
.google.container.v1.NodeManagement management = 5;- Specified by:
getManagementin interfaceNodePoolOrBuilder- Returns:
- The management.
-
getManagementOrBuilder
NodeManagement configuration for this NodePool.
.google.container.v1.NodeManagement management = 5;- Specified by:
getManagementOrBuilderin interfaceNodePoolOrBuilder
-
hasMaxPodsConstraint
public 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;- Specified by:
hasMaxPodsConstraintin interfaceNodePoolOrBuilder- Returns:
- Whether the maxPodsConstraint field is set.
-
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;- Specified by:
getMaxPodsConstraintin interfaceNodePoolOrBuilder- Returns:
- The maxPodsConstraint.
-
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;- Specified by:
getMaxPodsConstraintOrBuilderin interfaceNodePoolOrBuilder
-
getConditionsList
Which conditions caused the current node pool state.
repeated .google.container.v1.StatusCondition conditions = 105;- Specified by:
getConditionsListin interfaceNodePoolOrBuilder
-
getConditionsOrBuilderList
Which conditions caused the current node pool state.
repeated .google.container.v1.StatusCondition conditions = 105;- Specified by:
getConditionsOrBuilderListin interfaceNodePoolOrBuilder
-
getConditionsCount
public int getConditionsCount()Which conditions caused the current node pool state.
repeated .google.container.v1.StatusCondition conditions = 105;- Specified by:
getConditionsCountin interfaceNodePoolOrBuilder
-
getConditions
Which conditions caused the current node pool state.
repeated .google.container.v1.StatusCondition conditions = 105;- Specified by:
getConditionsin interfaceNodePoolOrBuilder
-
getConditionsOrBuilder
Which conditions caused the current node pool state.
repeated .google.container.v1.StatusCondition conditions = 105;- Specified by:
getConditionsOrBuilderin interfaceNodePoolOrBuilder
-
getPodIpv4CidrSize
public 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];- Specified by:
getPodIpv4CidrSizein interfaceNodePoolOrBuilder- Returns:
- The podIpv4CidrSize.
-
hasUpgradeSettings
public boolean hasUpgradeSettings()Upgrade settings control disruption and speed of the upgrade.
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107;- Specified by:
hasUpgradeSettingsin interfaceNodePoolOrBuilder- Returns:
- Whether the upgradeSettings field is set.
-
getUpgradeSettings
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107;- Specified by:
getUpgradeSettingsin interfaceNodePoolOrBuilder- Returns:
- The upgradeSettings.
-
getUpgradeSettingsOrBuilder
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107;- Specified by:
getUpgradeSettingsOrBuilderin interfaceNodePoolOrBuilder
-
hasPlacementPolicy
public boolean hasPlacementPolicy()Specifies the node placement policy.
.google.container.v1.NodePool.PlacementPolicy placement_policy = 108;- Specified by:
hasPlacementPolicyin interfaceNodePoolOrBuilder- Returns:
- Whether the placementPolicy field is set.
-
getPlacementPolicy
Specifies the node placement policy.
.google.container.v1.NodePool.PlacementPolicy placement_policy = 108;- Specified by:
getPlacementPolicyin interfaceNodePoolOrBuilder- Returns:
- The placementPolicy.
-
getPlacementPolicyOrBuilder
Specifies the node placement policy.
.google.container.v1.NodePool.PlacementPolicy placement_policy = 108;- Specified by:
getPlacementPolicyOrBuilderin interfaceNodePoolOrBuilder
-
hasUpdateInfo
public 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];- Specified by:
hasUpdateInfoin interfaceNodePoolOrBuilder- Returns:
- Whether the updateInfo field is set.
-
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];- Specified by:
getUpdateInfoin interfaceNodePoolOrBuilder- Returns:
- The updateInfo.
-
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];- Specified by:
getUpdateInfoOrBuilderin interfaceNodePoolOrBuilder
-
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;- Specified by:
getEtagin interfaceNodePoolOrBuilder- Returns:
- The etag.
-
getEtagBytes
public 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;- Specified by:
getEtagBytesin interfaceNodePoolOrBuilder- Returns:
- The bytes for etag.
-
hasQueuedProvisioning
public boolean hasQueuedProvisioning()Specifies the configuration of queued provisioning.
.google.container.v1.NodePool.QueuedProvisioning queued_provisioning = 112;- Specified by:
hasQueuedProvisioningin interfaceNodePoolOrBuilder- Returns:
- Whether the queuedProvisioning field is set.
-
getQueuedProvisioning
Specifies the configuration of queued provisioning.
.google.container.v1.NodePool.QueuedProvisioning queued_provisioning = 112;- Specified by:
getQueuedProvisioningin interfaceNodePoolOrBuilder- Returns:
- The queuedProvisioning.
-
getQueuedProvisioningOrBuilder
Specifies the configuration of queued provisioning.
.google.container.v1.NodePool.QueuedProvisioning queued_provisioning = 112;- Specified by:
getQueuedProvisioningOrBuilderin interfaceNodePoolOrBuilder
-
hasBestEffortProvisioning
public boolean hasBestEffortProvisioning()Enable best effort provisioning for nodes
.google.container.v1.BestEffortProvisioning best_effort_provisioning = 113;- Specified by:
hasBestEffortProvisioningin interfaceNodePoolOrBuilder- Returns:
- Whether the bestEffortProvisioning field is set.
-
getBestEffortProvisioning
Enable best effort provisioning for nodes
.google.container.v1.BestEffortProvisioning best_effort_provisioning = 113;- Specified by:
getBestEffortProvisioningin interfaceNodePoolOrBuilder- Returns:
- The bestEffortProvisioning.
-
getBestEffortProvisioningOrBuilder
Enable best effort provisioning for nodes
.google.container.v1.BestEffortProvisioning best_effort_provisioning = 113;- Specified by:
getBestEffortProvisioningOrBuilderin interfaceNodePoolOrBuilder
-
hasNodeDrainConfig
public boolean hasNodeDrainConfig()Specifies the node drain configuration for this node pool.
.google.container.v1.NodePool.NodeDrainConfig node_drain_config = 116;- Specified by:
hasNodeDrainConfigin interfaceNodePoolOrBuilder- Returns:
- Whether the nodeDrainConfig field is set.
-
getNodeDrainConfig
Specifies the node drain configuration for this node pool.
.google.container.v1.NodePool.NodeDrainConfig node_drain_config = 116;- Specified by:
getNodeDrainConfigin interfaceNodePoolOrBuilder- Returns:
- The nodeDrainConfig.
-
getNodeDrainConfigOrBuilder
Specifies the node drain configuration for this node pool.
.google.container.v1.NodePool.NodeDrainConfig node_drain_config = 116;- Specified by:
getNodeDrainConfigOrBuilderin interfaceNodePoolOrBuilder
-
hasMaintenancePolicy
public boolean hasMaintenancePolicy()Optional. Specifies the maintenance policy for the node pool.
.google.container.v1.NodePool.NodePoolMaintenancePolicy maintenance_policy = 118 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasMaintenancePolicyin interfaceNodePoolOrBuilder- Returns:
- Whether the maintenancePolicy field is set.
-
getMaintenancePolicy
Optional. Specifies the maintenance policy for the node pool.
.google.container.v1.NodePool.NodePoolMaintenancePolicy maintenance_policy = 118 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMaintenancePolicyin interfaceNodePoolOrBuilder- Returns:
- The maintenancePolicy.
-
getMaintenancePolicyOrBuilder
Optional. Specifies the maintenance policy for the node pool.
.google.container.v1.NodePool.NodePoolMaintenancePolicy maintenance_policy = 118 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMaintenancePolicyOrBuilderin interfaceNodePoolOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static NodePool parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodePool parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodePool parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodePool parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodePool parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodePool parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static NodePool parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static NodePool parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static NodePool parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NodePool.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-