Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class NodeGroupAutoscalingPolicy (1.24.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 1.24.0keyboard_arrow_down
public final class NodeGroupAutoscalingPolicy extends GeneratedMessageV3 implements NodeGroupAutoscalingPolicyOrBuilder
Protobuf type google.cloud.compute.v1.NodeGroupAutoscalingPolicy
Static Fields
MAX_NODES_FIELD_NUMBER
public static final int MAX_NODES_FIELD_NUMBER
Field Value
Type
Description
int
MIN_NODES_FIELD_NUMBER
public static final int MIN_NODES_FIELD_NUMBER
Field Value
Type
Description
int
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static NodeGroupAutoscalingPolicy getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static NodeGroupAutoscalingPolicy . Builder newBuilder ()
newBuilder(NodeGroupAutoscalingPolicy prototype)
public static NodeGroupAutoscalingPolicy . Builder newBuilder ( NodeGroupAutoscalingPolicy prototype )
public static NodeGroupAutoscalingPolicy parseDelimitedFrom ( InputStream input )
public static NodeGroupAutoscalingPolicy parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static NodeGroupAutoscalingPolicy parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NodeGroupAutoscalingPolicy parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static NodeGroupAutoscalingPolicy parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NodeGroupAutoscalingPolicy parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static NodeGroupAutoscalingPolicy parseFrom ( CodedInputStream input )
public static NodeGroupAutoscalingPolicy parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static NodeGroupAutoscalingPolicy parseFrom ( InputStream input )
public static NodeGroupAutoscalingPolicy parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static NodeGroupAutoscalingPolicy parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NodeGroupAutoscalingPolicy parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<NodeGroupAutoscalingPolicy> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public NodeGroupAutoscalingPolicy getDefaultInstanceForType ()
getMaxNodes()
The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
optional int32 max_nodes = 297762838;
Returns
Type
Description
int
The maxNodes.
getMinNodes()
The minimum number of nodes that the group should have.
optional int32 min_nodes = 533370500;
Returns
Type
Description
int
The minNodes.
getMode()
The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
Check the Mode enum for the list of possible values.
optional string mode = 3357091;
Returns
Type
Description
String
The mode.
getModeBytes()
public ByteString getModeBytes ()
The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
Check the Mode enum for the list of possible values.
optional string mode = 3357091;
Returns
Type
Description
ByteString
The bytes for mode.
getParserForType()
public Parser<NodeGroupAutoscalingPolicy> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
hasMaxNodes()
public boolean hasMaxNodes ()
The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.
optional int32 max_nodes = 297762838;
Returns
Type
Description
boolean
Whether the maxNodes field is set.
hasMinNodes()
public boolean hasMinNodes ()
The minimum number of nodes that the group should have.
optional int32 min_nodes = 533370500;
Returns
Type
Description
boolean
Whether the minNodes field is set.
hasMode()
The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
Check the Mode enum for the list of possible values.
optional string mode = 3357091;
Returns
Type
Description
boolean
Whether the mode field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public NodeGroupAutoscalingPolicy . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NodeGroupAutoscalingPolicy . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public NodeGroupAutoscalingPolicy . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
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-08-01 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-01 UTC."],[],[]]