public static enum ScalingScheduleStatus.State extends Enum<ScalingScheduleStatus.State> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] The current state of a scaling schedule.Protobuf enum
google.cloud.compute.v1.ScalingScheduleStatus.State| Enum Constant and Description |
|---|
ACTIVE
The current autoscaling recommendation is influenced by this scaling schedule.
|
DISABLED
This scaling schedule has been disabled by the user.
|
OBSOLETE
This scaling schedule will never become active again.
|
READY
The current autoscaling recommendation is not influenced by this scaling schedule.
|
UNDEFINED_STATE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
The current autoscaling recommendation is influenced by this scaling schedule.
|
static int |
DISABLED_VALUE
This scaling schedule has been disabled by the user.
|
static int |
OBSOLETE_VALUE
This scaling schedule will never become active again.
|
static int |
READY_VALUE
The current autoscaling recommendation is not influenced by this scaling schedule.
|
static int |
UNDEFINED_STATE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static ScalingScheduleStatus.State |
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<ScalingScheduleStatus.State> |
internalGetValueMap() |
static ScalingScheduleStatus.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ScalingScheduleStatus.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ScalingScheduleStatus.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScalingScheduleStatus.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScalingScheduleStatus.State UNDEFINED_STATE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0;public static final ScalingScheduleStatus.State ACTIVE
The current autoscaling recommendation is influenced by this scaling schedule.
ACTIVE = 314733318;public static final ScalingScheduleStatus.State DISABLED
This scaling schedule has been disabled by the user.
DISABLED = 516696700;public static final ScalingScheduleStatus.State OBSOLETE
This scaling schedule will never become active again.
OBSOLETE = 66532761;public static final ScalingScheduleStatus.State READY
The current autoscaling recommendation is not influenced by this scaling schedule.
READY = 77848963;public static final ScalingScheduleStatus.State UNRECOGNIZED
public static final int UNDEFINED_STATE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0;public static final int ACTIVE_VALUE
The current autoscaling recommendation is influenced by this scaling schedule.
ACTIVE = 314733318;public static final int DISABLED_VALUE
This scaling schedule has been disabled by the user.
DISABLED = 516696700;public static final int OBSOLETE_VALUE
This scaling schedule will never become active again.
OBSOLETE = 66532761;public static final int READY_VALUE
The current autoscaling recommendation is not influenced by this scaling schedule.
READY = 77848963;public static ScalingScheduleStatus.State[] values()
for (ScalingScheduleStatus.State c : ScalingScheduleStatus.State.values()) System.out.println(c);
public static ScalingScheduleStatus.State 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 ScalingScheduleStatus.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ScalingScheduleStatus.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ScalingScheduleStatus.State> 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 ScalingScheduleStatus.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.