Package com.google.container.v1beta1
Class NodePool.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
- com.google.container.v1beta1.NodePool.Builder
-
- All Implemented Interfaces:
NodePoolOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NodePool
public static final class NodePool.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder> 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. These upgrade settings control the level of parallelism and the level of disruption caused by an upgrade. maxUnavailable controls the number of nodes that can be simultaneously unavailable. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). Note: upgrades inevitably introduce some disruption since workloads need to be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the same time. This ensures that there are always at least 4 nodes available.
Protobuf typegoogle.container.v1beta1.NodePool
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description NodePool.BuilderaddAllConditions(Iterable<? extends StatusCondition> values)Which conditions caused the current node pool state.NodePool.BuilderaddAllInstanceGroupUrls(Iterable<String> values)[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.NodePool.BuilderaddAllLocations(Iterable<String> values)The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located.NodePool.BuilderaddConditions(int index, StatusCondition value)Which conditions caused the current node pool state.NodePool.BuilderaddConditions(int index, StatusCondition.Builder builderForValue)Which conditions caused the current node pool state.NodePool.BuilderaddConditions(StatusCondition value)Which conditions caused the current node pool state.NodePool.BuilderaddConditions(StatusCondition.Builder builderForValue)Which conditions caused the current node pool state.StatusCondition.BuilderaddConditionsBuilder()Which conditions caused the current node pool state.StatusCondition.BuilderaddConditionsBuilder(int index)Which conditions caused the current node pool state.NodePool.BuilderaddInstanceGroupUrls(String value)[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.NodePool.BuilderaddInstanceGroupUrlsBytes(com.google.protobuf.ByteString value)[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.NodePool.BuilderaddLocations(String value)The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located.NodePool.BuilderaddLocationsBytes(com.google.protobuf.ByteString value)The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located.NodePool.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NodePoolbuild()NodePoolbuildPartial()NodePool.Builderclear()NodePool.BuilderclearAutoscaling()Autoscaler configuration for this NodePool.NodePool.BuilderclearBestEffortProvisioning()Enable best effort provisioning for nodesNodePool.BuilderclearConditions()Which conditions caused the current node pool state.NodePool.BuilderclearConfig()The node configuration of the pool.NodePool.BuilderclearEtag()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.NodePool.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)NodePool.BuilderclearInitialNodeCount()The initial node count for the pool.NodePool.BuilderclearInstanceGroupUrls()[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.NodePool.BuilderclearLocations()The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located.NodePool.BuilderclearManagement()NodeManagement configuration for this NodePool.NodePool.BuilderclearMaxPodsConstraint()The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.NodePool.BuilderclearName()The name of the node pool.NodePool.BuilderclearNetworkConfig()Networking configuration for this NodePool.NodePool.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)NodePool.BuilderclearPlacementPolicy()Specifies the node placement policy.NodePool.BuilderclearPodIpv4CidrSize()[Output only] The pod CIDR block size per node in this node pool.NodePool.BuilderclearSelfLink()[Output only] Server-defined URL for the resource.NodePool.BuilderclearStatus()[Output only] The status of the nodes in this pool instance.NodePool.BuilderclearStatusMessage()Deprecated.google.container.v1beta1.NodePool.status_message is deprecated.NodePool.BuilderclearUpdateInfo()Output only.NodePool.BuilderclearUpgradeSettings()Upgrade settings control disruption and speed of the upgrade.NodePool.BuilderclearVersion()The version of Kubernetes running on this NodePool's nodes.NodePool.Builderclone()NodePoolAutoscalinggetAutoscaling()Autoscaler configuration for this NodePool.NodePoolAutoscaling.BuildergetAutoscalingBuilder()Autoscaler configuration for this NodePool.NodePoolAutoscalingOrBuildergetAutoscalingOrBuilder()Autoscaler configuration for this NodePool.BestEffortProvisioninggetBestEffortProvisioning()Enable best effort provisioning for nodesBestEffortProvisioning.BuildergetBestEffortProvisioningBuilder()Enable best effort provisioning for nodesBestEffortProvisioningOrBuildergetBestEffortProvisioningOrBuilder()Enable best effort provisioning for nodesStatusConditiongetConditions(int index)Which conditions caused the current node pool state.StatusCondition.BuildergetConditionsBuilder(int index)Which conditions caused the current node pool state.List<StatusCondition.Builder>getConditionsBuilderList()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.NodeConfig.BuildergetConfigBuilder()The node configuration of the pool.NodeConfigOrBuildergetConfigOrBuilder()The node configuration of the pool.NodePoolgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.com.google.protobuf.ProtocolStringListgetInstanceGroupUrlsList()[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.com.google.protobuf.ProtocolStringListgetLocationsList()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.NodeManagement.BuildergetManagementBuilder()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.MaxPodsConstraint.BuildergetMaxPodsConstraintBuilder()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.NodeNetworkConfig.BuildergetNetworkConfigBuilder()Networking configuration for this NodePool.NodeNetworkConfigOrBuildergetNetworkConfigOrBuilder()Networking configuration for this NodePool.NodePool.PlacementPolicygetPlacementPolicy()Specifies the node placement policy.NodePool.PlacementPolicy.BuildergetPlacementPolicyBuilder()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.v1beta1.NodePool.status_message is deprecated.com.google.protobuf.ByteStringgetStatusMessageBytes()Deprecated.google.container.v1beta1.NodePool.status_message is deprecated.intgetStatusValue()[Output only] The status of the nodes in this pool instance.NodePool.UpdateInfogetUpdateInfo()Output only.NodePool.UpdateInfo.BuildergetUpdateInfoBuilder()Output only.NodePool.UpdateInfoOrBuildergetUpdateInfoOrBuilder()Output only.NodePool.UpgradeSettingsgetUpgradeSettings()Upgrade settings control disruption and speed of the upgrade.NodePool.UpgradeSettings.BuildergetUpgradeSettingsBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()NodePool.BuildermergeAutoscaling(NodePoolAutoscaling value)Autoscaler configuration for this NodePool.NodePool.BuildermergeBestEffortProvisioning(BestEffortProvisioning value)Enable best effort provisioning for nodesNodePool.BuildermergeConfig(NodeConfig value)The node configuration of the pool.NodePool.BuildermergeFrom(NodePool other)NodePool.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)NodePool.BuildermergeFrom(com.google.protobuf.Message other)NodePool.BuildermergeManagement(NodeManagement value)NodeManagement configuration for this NodePool.NodePool.BuildermergeMaxPodsConstraint(MaxPodsConstraint value)The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.NodePool.BuildermergeNetworkConfig(NodeNetworkConfig value)Networking configuration for this NodePool.NodePool.BuildermergePlacementPolicy(NodePool.PlacementPolicy value)Specifies the node placement policy.NodePool.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NodePool.BuildermergeUpdateInfo(NodePool.UpdateInfo value)Output only.NodePool.BuildermergeUpgradeSettings(NodePool.UpgradeSettings value)Upgrade settings control disruption and speed of the upgrade.NodePool.BuilderremoveConditions(int index)Which conditions caused the current node pool state.NodePool.BuildersetAutoscaling(NodePoolAutoscaling value)Autoscaler configuration for this NodePool.NodePool.BuildersetAutoscaling(NodePoolAutoscaling.Builder builderForValue)Autoscaler configuration for this NodePool.NodePool.BuildersetBestEffortProvisioning(BestEffortProvisioning value)Enable best effort provisioning for nodesNodePool.BuildersetBestEffortProvisioning(BestEffortProvisioning.Builder builderForValue)Enable best effort provisioning for nodesNodePool.BuildersetConditions(int index, StatusCondition value)Which conditions caused the current node pool state.NodePool.BuildersetConditions(int index, StatusCondition.Builder builderForValue)Which conditions caused the current node pool state.NodePool.BuildersetConfig(NodeConfig value)The node configuration of the pool.NodePool.BuildersetConfig(NodeConfig.Builder builderForValue)The node configuration of the pool.NodePool.BuildersetEtag(String value)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.NodePool.BuildersetEtagBytes(com.google.protobuf.ByteString value)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.NodePool.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NodePool.BuildersetInitialNodeCount(int value)The initial node count for the pool.NodePool.BuildersetInstanceGroupUrls(int index, String value)[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.NodePool.BuildersetLocations(int index, String value)The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located.NodePool.BuildersetManagement(NodeManagement value)NodeManagement configuration for this NodePool.NodePool.BuildersetManagement(NodeManagement.Builder builderForValue)NodeManagement configuration for this NodePool.NodePool.BuildersetMaxPodsConstraint(MaxPodsConstraint value)The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.NodePool.BuildersetMaxPodsConstraint(MaxPodsConstraint.Builder builderForValue)The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.NodePool.BuildersetName(String value)The name of the node pool.NodePool.BuildersetNameBytes(com.google.protobuf.ByteString value)The name of the node pool.NodePool.BuildersetNetworkConfig(NodeNetworkConfig value)Networking configuration for this NodePool.NodePool.BuildersetNetworkConfig(NodeNetworkConfig.Builder builderForValue)Networking configuration for this NodePool.NodePool.BuildersetPlacementPolicy(NodePool.PlacementPolicy value)Specifies the node placement policy.NodePool.BuildersetPlacementPolicy(NodePool.PlacementPolicy.Builder builderForValue)Specifies the node placement policy.NodePool.BuildersetPodIpv4CidrSize(int value)[Output only] The pod CIDR block size per node in this node pool.NodePool.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)NodePool.BuildersetSelfLink(String value)[Output only] Server-defined URL for the resource.NodePool.BuildersetSelfLinkBytes(com.google.protobuf.ByteString value)[Output only] Server-defined URL for the resource.NodePool.BuildersetStatus(NodePool.Status value)[Output only] The status of the nodes in this pool instance.NodePool.BuildersetStatusMessage(String value)Deprecated.google.container.v1beta1.NodePool.status_message is deprecated.NodePool.BuildersetStatusMessageBytes(com.google.protobuf.ByteString value)Deprecated.google.container.v1beta1.NodePool.status_message is deprecated.NodePool.BuildersetStatusValue(int value)[Output only] The status of the nodes in this pool instance.NodePool.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NodePool.BuildersetUpdateInfo(NodePool.UpdateInfo value)Output only.NodePool.BuildersetUpdateInfo(NodePool.UpdateInfo.Builder builderForValue)Output only.NodePool.BuildersetUpgradeSettings(NodePool.UpgradeSettings value)Upgrade settings control disruption and speed of the upgrade.NodePool.BuildersetUpgradeSettings(NodePool.UpgradeSettings.Builder builderForValue)Upgrade settings control disruption and speed of the upgrade.NodePool.BuildersetVersion(String value)The version of Kubernetes running on this NodePool's nodes.NodePool.BuildersetVersionBytes(com.google.protobuf.ByteString value)The version of Kubernetes running on this NodePool's nodes.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
clear
public NodePool.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
getDefaultInstanceForType
public NodePool getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public NodePool build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NodePool buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NodePool.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
setField
public NodePool.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
clearField
public NodePool.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
clearOneof
public NodePool.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
setRepeatedField
public NodePool.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
addRepeatedField
public NodePool.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
mergeFrom
public NodePool.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NodePool.Builder>
-
mergeFrom
public NodePool.Builder mergeFrom(NodePool other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
mergeFrom
public NodePool.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NodePool.Builder>- Throws:
IOException
-
getName
public String 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.
-
setName
public NodePool.Builder setName(String value)
The name of the node pool.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public NodePool.Builder clearName()
The name of the node pool.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public NodePool.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the node pool.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasConfig
public boolean hasConfig()
The node configuration of the pool.
.google.container.v1beta1.NodeConfig config = 2;- Specified by:
hasConfigin interfaceNodePoolOrBuilder- Returns:
- Whether the config field is set.
-
getConfig
public NodeConfig getConfig()
The node configuration of the pool.
.google.container.v1beta1.NodeConfig config = 2;- Specified by:
getConfigin interfaceNodePoolOrBuilder- Returns:
- The config.
-
setConfig
public NodePool.Builder setConfig(NodeConfig value)
The node configuration of the pool.
.google.container.v1beta1.NodeConfig config = 2;
-
setConfig
public NodePool.Builder setConfig(NodeConfig.Builder builderForValue)
The node configuration of the pool.
.google.container.v1beta1.NodeConfig config = 2;
-
mergeConfig
public NodePool.Builder mergeConfig(NodeConfig value)
The node configuration of the pool.
.google.container.v1beta1.NodeConfig config = 2;
-
clearConfig
public NodePool.Builder clearConfig()
The node configuration of the pool.
.google.container.v1beta1.NodeConfig config = 2;
-
getConfigBuilder
public NodeConfig.Builder getConfigBuilder()
The node configuration of the pool.
.google.container.v1beta1.NodeConfig config = 2;
-
getConfigOrBuilder
public NodeConfigOrBuilder getConfigOrBuilder()
The node configuration of the pool.
.google.container.v1beta1.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.
-
setInitialNodeCount
public NodePool.Builder setInitialNodeCount(int value)
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;- Parameters:
value- The initialNodeCount to set.- Returns:
- This builder for chaining.
-
clearInitialNodeCount
public NodePool.Builder clearInitialNodeCount()
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:
- This builder for chaining.
-
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
public 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;- 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.
-
setLocations
public NodePool.Builder setLocations(int index, String value)
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 to set the value at.value- The locations to set.- Returns:
- This builder for chaining.
-
addLocations
public NodePool.Builder addLocations(String value)
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:
value- The locations to add.- Returns:
- This builder for chaining.
-
addAllLocations
public NodePool.Builder addAllLocations(Iterable<String> values)
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:
values- The locations to add.- Returns:
- This builder for chaining.
-
clearLocations
public NodePool.Builder clearLocations()
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:
- This builder for chaining.
-
addLocationsBytes
public NodePool.Builder addLocationsBytes(com.google.protobuf.ByteString value)
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:
value- The bytes of the locations to add.- Returns:
- This builder for chaining.
-
hasNetworkConfig
public boolean hasNetworkConfig()
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1beta1.NodeNetworkConfig network_config = 14;- Specified by:
hasNetworkConfigin interfaceNodePoolOrBuilder- Returns:
- Whether the networkConfig field is set.
-
getNetworkConfig
public NodeNetworkConfig getNetworkConfig()
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1beta1.NodeNetworkConfig network_config = 14;- Specified by:
getNetworkConfigin interfaceNodePoolOrBuilder- Returns:
- The networkConfig.
-
setNetworkConfig
public NodePool.Builder setNetworkConfig(NodeNetworkConfig value)
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1beta1.NodeNetworkConfig network_config = 14;
-
setNetworkConfig
public NodePool.Builder setNetworkConfig(NodeNetworkConfig.Builder builderForValue)
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1beta1.NodeNetworkConfig network_config = 14;
-
mergeNetworkConfig
public NodePool.Builder mergeNetworkConfig(NodeNetworkConfig value)
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1beta1.NodeNetworkConfig network_config = 14;
-
clearNetworkConfig
public NodePool.Builder clearNetworkConfig()
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1beta1.NodeNetworkConfig network_config = 14;
-
getNetworkConfigBuilder
public NodeNetworkConfig.Builder getNetworkConfigBuilder()
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1beta1.NodeNetworkConfig network_config = 14;
-
getNetworkConfigOrBuilder
public NodeNetworkConfigOrBuilder getNetworkConfigOrBuilder()
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
.google.container.v1beta1.NodeNetworkConfig network_config = 14;- Specified by:
getNetworkConfigOrBuilderin interfaceNodePoolOrBuilder
-
getSelfLink
public String getSelfLink()
[Output only] Server-defined URL for the resource.
string self_link = 100;- 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;- Specified by:
getSelfLinkBytesin interfaceNodePoolOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
public NodePool.Builder setSelfLink(String value)
[Output only] Server-defined URL for the resource.
string self_link = 100;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
public NodePool.Builder clearSelfLink()
[Output only] Server-defined URL for the resource.
string self_link = 100;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
public NodePool.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output only] Server-defined URL for the resource.
string self_link = 100;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
getVersion
public 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;- 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.
-
setVersion
public NodePool.Builder setVersion(String value)
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;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public NodePool.Builder clearVersion()
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:
- This builder for chaining.
-
setVersionBytes
public NodePool.Builder setVersionBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-
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;- 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;- Specified by:
getInstanceGroupUrlsCountin interfaceNodePoolOrBuilder- Returns:
- The count of instanceGroupUrls.
-
getInstanceGroupUrls
public 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;- 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;- Specified by:
getInstanceGroupUrlsBytesin interfaceNodePoolOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the instanceGroupUrls at the given index.
-
setInstanceGroupUrls
public NodePool.Builder setInstanceGroupUrls(int index, String value)
[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 to set the value at.value- The instanceGroupUrls to set.- Returns:
- This builder for chaining.
-
addInstanceGroupUrls
public NodePool.Builder addInstanceGroupUrls(String value)
[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:
value- The instanceGroupUrls to add.- Returns:
- This builder for chaining.
-
addAllInstanceGroupUrls
public NodePool.Builder addAllInstanceGroupUrls(Iterable<String> values)
[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:
values- The instanceGroupUrls to add.- Returns:
- This builder for chaining.
-
clearInstanceGroupUrls
public NodePool.Builder clearInstanceGroupUrls()
[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:
- This builder for chaining.
-
addInstanceGroupUrlsBytes
public NodePool.Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value)
[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:
value- The bytes of the instanceGroupUrls to add.- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()
[Output only] The status of the nodes in this pool instance.
.google.container.v1beta1.NodePool.Status status = 103;- Specified by:
getStatusValuein interfaceNodePoolOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public NodePool.Builder setStatusValue(int value)
[Output only] The status of the nodes in this pool instance.
.google.container.v1beta1.NodePool.Status status = 103;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
public NodePool.Status getStatus()
[Output only] The status of the nodes in this pool instance.
.google.container.v1beta1.NodePool.Status status = 103;- Specified by:
getStatusin interfaceNodePoolOrBuilder- Returns:
- The status.
-
setStatus
public NodePool.Builder setStatus(NodePool.Status value)
[Output only] The status of the nodes in this pool instance.
.google.container.v1beta1.NodePool.Status status = 103;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public NodePool.Builder clearStatus()
[Output only] The status of the nodes in this pool instance.
.google.container.v1beta1.NodePool.Status status = 103;- Returns:
- This builder for chaining.
-
getStatusMessage
@Deprecated public String getStatusMessage()
Deprecated.google.container.v1beta1.NodePool.status_message is deprecated. See google/container/v1beta1/cluster_service.proto;l=3904[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];- Specified by:
getStatusMessagein interfaceNodePoolOrBuilder- Returns:
- The statusMessage.
-
getStatusMessageBytes
@Deprecated public com.google.protobuf.ByteString getStatusMessageBytes()
Deprecated.google.container.v1beta1.NodePool.status_message is deprecated. See google/container/v1beta1/cluster_service.proto;l=3904[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];- Specified by:
getStatusMessageBytesin interfaceNodePoolOrBuilder- Returns:
- The bytes for statusMessage.
-
setStatusMessage
@Deprecated public NodePool.Builder setStatusMessage(String value)
Deprecated.google.container.v1beta1.NodePool.status_message is deprecated. See google/container/v1beta1/cluster_service.proto;l=3904[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];- Parameters:
value- The statusMessage to set.- Returns:
- This builder for chaining.
-
clearStatusMessage
@Deprecated public NodePool.Builder clearStatusMessage()
Deprecated.google.container.v1beta1.NodePool.status_message is deprecated. See google/container/v1beta1/cluster_service.proto;l=3904[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:
- This builder for chaining.
-
setStatusMessageBytes
@Deprecated public NodePool.Builder setStatusMessageBytes(com.google.protobuf.ByteString value)
Deprecated.google.container.v1beta1.NodePool.status_message is deprecated. See google/container/v1beta1/cluster_service.proto;l=3904[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];- Parameters:
value- The bytes for statusMessage to set.- Returns:
- This builder for chaining.
-
hasAutoscaling
public boolean hasAutoscaling()
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1beta1.NodePoolAutoscaling autoscaling = 4;- Specified by:
hasAutoscalingin interfaceNodePoolOrBuilder- Returns:
- Whether the autoscaling field is set.
-
getAutoscaling
public NodePoolAutoscaling getAutoscaling()
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1beta1.NodePoolAutoscaling autoscaling = 4;- Specified by:
getAutoscalingin interfaceNodePoolOrBuilder- Returns:
- The autoscaling.
-
setAutoscaling
public NodePool.Builder setAutoscaling(NodePoolAutoscaling value)
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1beta1.NodePoolAutoscaling autoscaling = 4;
-
setAutoscaling
public NodePool.Builder setAutoscaling(NodePoolAutoscaling.Builder builderForValue)
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1beta1.NodePoolAutoscaling autoscaling = 4;
-
mergeAutoscaling
public NodePool.Builder mergeAutoscaling(NodePoolAutoscaling value)
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1beta1.NodePoolAutoscaling autoscaling = 4;
-
clearAutoscaling
public NodePool.Builder clearAutoscaling()
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1beta1.NodePoolAutoscaling autoscaling = 4;
-
getAutoscalingBuilder
public NodePoolAutoscaling.Builder getAutoscalingBuilder()
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1beta1.NodePoolAutoscaling autoscaling = 4;
-
getAutoscalingOrBuilder
public NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder()
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
.google.container.v1beta1.NodePoolAutoscaling autoscaling = 4;- Specified by:
getAutoscalingOrBuilderin interfaceNodePoolOrBuilder
-
hasManagement
public boolean hasManagement()
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 5;- Specified by:
hasManagementin interfaceNodePoolOrBuilder- Returns:
- Whether the management field is set.
-
getManagement
public NodeManagement getManagement()
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 5;- Specified by:
getManagementin interfaceNodePoolOrBuilder- Returns:
- The management.
-
setManagement
public NodePool.Builder setManagement(NodeManagement value)
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 5;
-
setManagement
public NodePool.Builder setManagement(NodeManagement.Builder builderForValue)
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 5;
-
mergeManagement
public NodePool.Builder mergeManagement(NodeManagement value)
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 5;
-
clearManagement
public NodePool.Builder clearManagement()
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 5;
-
getManagementBuilder
public NodeManagement.Builder getManagementBuilder()
NodeManagement configuration for this NodePool.
.google.container.v1beta1.NodeManagement management = 5;
-
getManagementOrBuilder
public NodeManagementOrBuilder getManagementOrBuilder()
NodeManagement configuration for this NodePool.
.google.container.v1beta1.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.v1beta1.MaxPodsConstraint max_pods_constraint = 6;- Specified by:
hasMaxPodsConstraintin interfaceNodePoolOrBuilder- Returns:
- Whether the maxPodsConstraint field is set.
-
getMaxPodsConstraint
public MaxPodsConstraint getMaxPodsConstraint()
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6;- Specified by:
getMaxPodsConstraintin interfaceNodePoolOrBuilder- Returns:
- The maxPodsConstraint.
-
setMaxPodsConstraint
public NodePool.Builder setMaxPodsConstraint(MaxPodsConstraint value)
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6;
-
setMaxPodsConstraint
public NodePool.Builder setMaxPodsConstraint(MaxPodsConstraint.Builder builderForValue)
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6;
-
mergeMaxPodsConstraint
public NodePool.Builder mergeMaxPodsConstraint(MaxPodsConstraint value)
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6;
-
clearMaxPodsConstraint
public NodePool.Builder clearMaxPodsConstraint()
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6;
-
getMaxPodsConstraintBuilder
public MaxPodsConstraint.Builder getMaxPodsConstraintBuilder()
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6;
-
getMaxPodsConstraintOrBuilder
public MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder()
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6;- Specified by:
getMaxPodsConstraintOrBuilderin interfaceNodePoolOrBuilder
-
getConditionsList
public List<StatusCondition> getConditionsList()
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;- Specified by:
getConditionsListin interfaceNodePoolOrBuilder
-
getConditionsCount
public int getConditionsCount()
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;- Specified by:
getConditionsCountin interfaceNodePoolOrBuilder
-
getConditions
public StatusCondition getConditions(int index)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;- Specified by:
getConditionsin interfaceNodePoolOrBuilder
-
setConditions
public NodePool.Builder setConditions(int index, StatusCondition value)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
-
setConditions
public NodePool.Builder setConditions(int index, StatusCondition.Builder builderForValue)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
-
addConditions
public NodePool.Builder addConditions(StatusCondition value)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
-
addConditions
public NodePool.Builder addConditions(int index, StatusCondition value)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
-
addConditions
public NodePool.Builder addConditions(StatusCondition.Builder builderForValue)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
-
addConditions
public NodePool.Builder addConditions(int index, StatusCondition.Builder builderForValue)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
-
addAllConditions
public NodePool.Builder addAllConditions(Iterable<? extends StatusCondition> values)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
-
clearConditions
public NodePool.Builder clearConditions()
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
-
removeConditions
public NodePool.Builder removeConditions(int index)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
-
getConditionsBuilder
public StatusCondition.Builder getConditionsBuilder(int index)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
-
getConditionsOrBuilder
public StatusConditionOrBuilder getConditionsOrBuilder(int index)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;- Specified by:
getConditionsOrBuilderin interfaceNodePoolOrBuilder
-
getConditionsOrBuilderList
public List<? extends StatusConditionOrBuilder> getConditionsOrBuilderList()
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;- Specified by:
getConditionsOrBuilderListin interfaceNodePoolOrBuilder
-
addConditionsBuilder
public StatusCondition.Builder addConditionsBuilder()
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
-
addConditionsBuilder
public StatusCondition.Builder addConditionsBuilder(int index)
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
-
getConditionsBuilderList
public List<StatusCondition.Builder> getConditionsBuilderList()
Which conditions caused the current node pool state.
repeated .google.container.v1beta1.StatusCondition conditions = 105;
-
getPodIpv4CidrSize
public int getPodIpv4CidrSize()
[Output only] The pod CIDR block size per node in this node pool.
int32 pod_ipv4_cidr_size = 7;- Specified by:
getPodIpv4CidrSizein interfaceNodePoolOrBuilder- Returns:
- The podIpv4CidrSize.
-
setPodIpv4CidrSize
public NodePool.Builder setPodIpv4CidrSize(int value)
[Output only] The pod CIDR block size per node in this node pool.
int32 pod_ipv4_cidr_size = 7;- Parameters:
value- The podIpv4CidrSize to set.- Returns:
- This builder for chaining.
-
clearPodIpv4CidrSize
public NodePool.Builder clearPodIpv4CidrSize()
[Output only] The pod CIDR block size per node in this node pool.
int32 pod_ipv4_cidr_size = 7;- Returns:
- This builder for chaining.
-
hasUpgradeSettings
public boolean hasUpgradeSettings()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107;- Specified by:
hasUpgradeSettingsin interfaceNodePoolOrBuilder- Returns:
- Whether the upgradeSettings field is set.
-
getUpgradeSettings
public NodePool.UpgradeSettings getUpgradeSettings()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107;- Specified by:
getUpgradeSettingsin interfaceNodePoolOrBuilder- Returns:
- The upgradeSettings.
-
setUpgradeSettings
public NodePool.Builder setUpgradeSettings(NodePool.UpgradeSettings value)
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107;
-
setUpgradeSettings
public NodePool.Builder setUpgradeSettings(NodePool.UpgradeSettings.Builder builderForValue)
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107;
-
mergeUpgradeSettings
public NodePool.Builder mergeUpgradeSettings(NodePool.UpgradeSettings value)
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107;
-
clearUpgradeSettings
public NodePool.Builder clearUpgradeSettings()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107;
-
getUpgradeSettingsBuilder
public NodePool.UpgradeSettings.Builder getUpgradeSettingsBuilder()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107;
-
getUpgradeSettingsOrBuilder
public NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder()
Upgrade settings control disruption and speed of the upgrade.
.google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107;- Specified by:
getUpgradeSettingsOrBuilderin interfaceNodePoolOrBuilder
-
hasPlacementPolicy
public boolean hasPlacementPolicy()
Specifies the node placement policy.
.google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108;- Specified by:
hasPlacementPolicyin interfaceNodePoolOrBuilder- Returns:
- Whether the placementPolicy field is set.
-
getPlacementPolicy
public NodePool.PlacementPolicy getPlacementPolicy()
Specifies the node placement policy.
.google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108;- Specified by:
getPlacementPolicyin interfaceNodePoolOrBuilder- Returns:
- The placementPolicy.
-
setPlacementPolicy
public NodePool.Builder setPlacementPolicy(NodePool.PlacementPolicy value)
Specifies the node placement policy.
.google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108;
-
setPlacementPolicy
public NodePool.Builder setPlacementPolicy(NodePool.PlacementPolicy.Builder builderForValue)
Specifies the node placement policy.
.google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108;
-
mergePlacementPolicy
public NodePool.Builder mergePlacementPolicy(NodePool.PlacementPolicy value)
Specifies the node placement policy.
.google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108;
-
clearPlacementPolicy
public NodePool.Builder clearPlacementPolicy()
Specifies the node placement policy.
.google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108;
-
getPlacementPolicyBuilder
public NodePool.PlacementPolicy.Builder getPlacementPolicyBuilder()
Specifies the node placement policy.
.google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108;
-
getPlacementPolicyOrBuilder
public NodePool.PlacementPolicyOrBuilder getPlacementPolicyOrBuilder()
Specifies the node placement policy.
.google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108;- Specified by:
getPlacementPolicyOrBuilderin interfaceNodePoolOrBuilder
-
hasUpdateInfo
public boolean hasUpdateInfo()
Output only. [Output only] Update info contains relevant information during a node pool update.
.google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateInfoin interfaceNodePoolOrBuilder- Returns:
- Whether the updateInfo field is set.
-
getUpdateInfo
public NodePool.UpdateInfo getUpdateInfo()
Output only. [Output only] Update info contains relevant information during a node pool update.
.google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateInfoin interfaceNodePoolOrBuilder- Returns:
- The updateInfo.
-
setUpdateInfo
public NodePool.Builder setUpdateInfo(NodePool.UpdateInfo value)
Output only. [Output only] Update info contains relevant information during a node pool update.
.google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateInfo
public NodePool.Builder setUpdateInfo(NodePool.UpdateInfo.Builder builderForValue)
Output only. [Output only] Update info contains relevant information during a node pool update.
.google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateInfo
public NodePool.Builder mergeUpdateInfo(NodePool.UpdateInfo value)
Output only. [Output only] Update info contains relevant information during a node pool update.
.google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateInfo
public NodePool.Builder clearUpdateInfo()
Output only. [Output only] Update info contains relevant information during a node pool update.
.google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateInfoBuilder
public NodePool.UpdateInfo.Builder getUpdateInfoBuilder()
Output only. [Output only] Update info contains relevant information during a node pool update.
.google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateInfoOrBuilder
public NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder()
Output only. [Output only] Update info contains relevant information during a node pool update.
.google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateInfoOrBuilderin interfaceNodePoolOrBuilder
-
getEtag
public 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;- 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.
-
setEtag
public NodePool.Builder setEtag(String value)
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;- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
public NodePool.Builder clearEtag()
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:
- This builder for chaining.
-
setEtagBytes
public NodePool.Builder setEtagBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
hasBestEffortProvisioning
public boolean hasBestEffortProvisioning()
Enable best effort provisioning for nodes
.google.container.v1beta1.BestEffortProvisioning best_effort_provisioning = 113;- Specified by:
hasBestEffortProvisioningin interfaceNodePoolOrBuilder- Returns:
- Whether the bestEffortProvisioning field is set.
-
getBestEffortProvisioning
public BestEffortProvisioning getBestEffortProvisioning()
Enable best effort provisioning for nodes
.google.container.v1beta1.BestEffortProvisioning best_effort_provisioning = 113;- Specified by:
getBestEffortProvisioningin interfaceNodePoolOrBuilder- Returns:
- The bestEffortProvisioning.
-
setBestEffortProvisioning
public NodePool.Builder setBestEffortProvisioning(BestEffortProvisioning value)
Enable best effort provisioning for nodes
.google.container.v1beta1.BestEffortProvisioning best_effort_provisioning = 113;
-
setBestEffortProvisioning
public NodePool.Builder setBestEffortProvisioning(BestEffortProvisioning.Builder builderForValue)
Enable best effort provisioning for nodes
.google.container.v1beta1.BestEffortProvisioning best_effort_provisioning = 113;
-
mergeBestEffortProvisioning
public NodePool.Builder mergeBestEffortProvisioning(BestEffortProvisioning value)
Enable best effort provisioning for nodes
.google.container.v1beta1.BestEffortProvisioning best_effort_provisioning = 113;
-
clearBestEffortProvisioning
public NodePool.Builder clearBestEffortProvisioning()
Enable best effort provisioning for nodes
.google.container.v1beta1.BestEffortProvisioning best_effort_provisioning = 113;
-
getBestEffortProvisioningBuilder
public BestEffortProvisioning.Builder getBestEffortProvisioningBuilder()
Enable best effort provisioning for nodes
.google.container.v1beta1.BestEffortProvisioning best_effort_provisioning = 113;
-
getBestEffortProvisioningOrBuilder
public BestEffortProvisioningOrBuilder getBestEffortProvisioningOrBuilder()
Enable best effort provisioning for nodes
.google.container.v1beta1.BestEffortProvisioning best_effort_provisioning = 113;- Specified by:
getBestEffortProvisioningOrBuilderin interfaceNodePoolOrBuilder
-
setUnknownFields
public final NodePool.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
mergeUnknownFields
public final NodePool.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NodePool.Builder>
-
-