public static enum NodeGroupAutoscalingPolicy.Mode extends Enum<NodeGroupAutoscalingPolicy.Mode> implements com.google.protobuf.ProtocolMessageEnum
The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.Protobuf enum
google.cloud.compute.v1.NodeGroupAutoscalingPolicy.Mode| Enum Constant and Description |
|---|
MODE_UNSPECIFIED
MODE_UNSPECIFIED = 371348091; |
OFF
Autoscaling is disabled.
|
ON
Autocaling is fully enabled.
|
ONLY_SCALE_OUT
Autoscaling will only scale out and will not remove nodes.
|
UNDEFINED_MODE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
MODE_UNSPECIFIED_VALUE
MODE_UNSPECIFIED = 371348091; |
static int |
OFF_VALUE
Autoscaling is disabled.
|
static int |
ON_VALUE
Autocaling is fully enabled.
|
static int |
ONLY_SCALE_OUT_VALUE
Autoscaling will only scale out and will not remove nodes.
|
static int |
UNDEFINED_MODE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static NodeGroupAutoscalingPolicy.Mode |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<NodeGroupAutoscalingPolicy.Mode> |
internalGetValueMap() |
static NodeGroupAutoscalingPolicy.Mode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NodeGroupAutoscalingPolicy.Mode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NodeGroupAutoscalingPolicy.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeGroupAutoscalingPolicy.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeGroupAutoscalingPolicy.Mode UNDEFINED_MODE
A value indicating that the enum field is not set.
UNDEFINED_MODE = 0;public static final NodeGroupAutoscalingPolicy.Mode MODE_UNSPECIFIED
MODE_UNSPECIFIED = 371348091;public static final NodeGroupAutoscalingPolicy.Mode OFF
Autoscaling is disabled.
OFF = 78159;public static final NodeGroupAutoscalingPolicy.Mode ON
Autocaling is fully enabled.
ON = 2527;public static final NodeGroupAutoscalingPolicy.Mode ONLY_SCALE_OUT
Autoscaling will only scale out and will not remove nodes.
ONLY_SCALE_OUT = 152713670;public static final NodeGroupAutoscalingPolicy.Mode UNRECOGNIZED
public static final int UNDEFINED_MODE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_MODE = 0;public static final int MODE_UNSPECIFIED_VALUE
MODE_UNSPECIFIED = 371348091;public static final int OFF_VALUE
Autoscaling is disabled.
OFF = 78159;public static final int ON_VALUE
Autocaling is fully enabled.
ON = 2527;public static final int ONLY_SCALE_OUT_VALUE
Autoscaling will only scale out and will not remove nodes.
ONLY_SCALE_OUT = 152713670;public static NodeGroupAutoscalingPolicy.Mode[] values()
for (NodeGroupAutoscalingPolicy.Mode c : NodeGroupAutoscalingPolicy.Mode.values()) System.out.println(c);
public static NodeGroupAutoscalingPolicy.Mode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static NodeGroupAutoscalingPolicy.Mode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NodeGroupAutoscalingPolicy.Mode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NodeGroupAutoscalingPolicy.Mode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static NodeGroupAutoscalingPolicy.Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.