Send feedback
Class NodePoolAutoscaling.Builder (2.3.8)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.3.8 keyboard_arrow_down
public static final class NodePoolAutoscaling . Builder extends GeneratedMessageV3 . Builder<NodePoolAutoscaling . Builder > implements NodePoolAutoscalingOrBuilder
NodePoolAutoscaling contains information required by cluster autoscaler to
adjust the size of the node pool to the current cluster usage.
Protobuf type google.container.v1beta1.NodePoolAutoscaling
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodePoolAutoscaling . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public NodePoolAutoscaling build ()
Returns
buildPartial()
public NodePoolAutoscaling buildPartial ()
Returns
clear()
public NodePoolAutoscaling . Builder clear ()
Returns
Overrides
clearAutoprovisioned()
public NodePoolAutoscaling . Builder clearAutoprovisioned ()
Can this node pool be deleted automatically.
bool autoprovisioned = 4;
Returns
clearEnabled()
public NodePoolAutoscaling . Builder clearEnabled ()
Is autoscaling enabled for this node pool.
bool enabled = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public NodePoolAutoscaling . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearMaxNodeCount()
public NodePoolAutoscaling . Builder clearMaxNodeCount ()
Maximum number of nodes for one location in the NodePool. Must be >=
min_node_count. There has to be enough quota to scale up the cluster.
int32 max_node_count = 3;
Returns
clearMinNodeCount()
public NodePoolAutoscaling . Builder clearMinNodeCount ()
Minimum number of nodes for one location in the NodePool. Must be >= 1 and
<= max_node_count.
int32 min_node_count = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public NodePoolAutoscaling . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public NodePoolAutoscaling . Builder clone ()
Returns
Overrides
getAutoprovisioned()
public boolean getAutoprovisioned ()
Can this node pool be deleted automatically.
bool autoprovisioned = 4;
Returns
Type Description boolean The autoprovisioned.
getDefaultInstanceForType()
public NodePoolAutoscaling getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getEnabled()
public boolean getEnabled ()
Is autoscaling enabled for this node pool.
bool enabled = 1;
Returns
getMaxNodeCount()
public int getMaxNodeCount ()
Maximum number of nodes for one location in the NodePool. Must be >=
min_node_count. There has to be enough quota to scale up the cluster.
int32 max_node_count = 3;
Returns
Type Description int The maxNodeCount.
getMinNodeCount()
public int getMinNodeCount ()
Minimum number of nodes for one location in the NodePool. Must be >= 1 and
<= max_node_count.
int32 min_node_count = 2;
Returns
Type Description int The minNodeCount.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(NodePoolAutoscaling other)
public NodePoolAutoscaling . Builder mergeFrom ( NodePoolAutoscaling other )
Parameter
Returns
public NodePoolAutoscaling . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NodePoolAutoscaling . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodePoolAutoscaling . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setAutoprovisioned(boolean value)
public NodePoolAutoscaling . Builder setAutoprovisioned ( boolean value )
Can this node pool be deleted automatically.
bool autoprovisioned = 4;
Parameter
Name Description value boolean
The autoprovisioned to set.
Returns
setEnabled(boolean value)
public NodePoolAutoscaling . Builder setEnabled ( boolean value )
Is autoscaling enabled for this node pool.
bool enabled = 1;
Parameter
Name Description value boolean
The enabled to set.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public NodePoolAutoscaling . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setMaxNodeCount(int value)
public NodePoolAutoscaling . Builder setMaxNodeCount ( int value )
Maximum number of nodes for one location in the NodePool. Must be >=
min_node_count. There has to be enough quota to scale up the cluster.
int32 max_node_count = 3;
Parameter
Name Description value int
The maxNodeCount to set.
Returns
setMinNodeCount(int value)
public NodePoolAutoscaling . Builder setMinNodeCount ( int value )
Minimum number of nodes for one location in the NodePool. Must be >= 1 and
<= max_node_count.
int32 min_node_count = 2;
Parameter
Name Description value int
The minNodeCount to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodePoolAutoscaling . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NodePoolAutoscaling . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]