public static enum MachineDetails.PowerState extends Enum<MachineDetails.PowerState> implements com.google.protobuf.ProtocolMessageEnum
Machine power state.Protobuf enum
google.cloud.migrationcenter.v1.MachineDetails.PowerState| Enum Constant and Description |
|---|
ACTIVE
The machine is active.
|
DELETED
The machine is deleted from the hosting platform.
|
DELETING
The machine is being deleted from the hosting platform.
|
PENDING
The machine is preparing to enter the ACTIVE state.
|
POWER_STATE_UNSPECIFIED
Power state is unknown.
|
SUSPENDED
The machine is off.
|
SUSPENDING
The machine is being turned off.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
The machine is active.
|
static int |
DELETED_VALUE
The machine is deleted from the hosting platform.
|
static int |
DELETING_VALUE
The machine is being deleted from the hosting platform.
|
static int |
PENDING_VALUE
The machine is preparing to enter the ACTIVE state.
|
static int |
POWER_STATE_UNSPECIFIED_VALUE
Power state is unknown.
|
static int |
SUSPENDED_VALUE
The machine is off.
|
static int |
SUSPENDING_VALUE
The machine is being turned off.
|
| Modifier and Type | Method and Description |
|---|---|
static MachineDetails.PowerState |
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<MachineDetails.PowerState> |
internalGetValueMap() |
static MachineDetails.PowerState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MachineDetails.PowerState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MachineDetails.PowerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MachineDetails.PowerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MachineDetails.PowerState POWER_STATE_UNSPECIFIED
Power state is unknown.
POWER_STATE_UNSPECIFIED = 0;public static final MachineDetails.PowerState PENDING
The machine is preparing to enter the ACTIVE state. An instance may enter the PENDING state when it launches for the first time, or when it is started after being in the SUSPENDED state.
PENDING = 1;public static final MachineDetails.PowerState ACTIVE
The machine is active.
ACTIVE = 2;public static final MachineDetails.PowerState SUSPENDING
The machine is being turned off.
SUSPENDING = 3;public static final MachineDetails.PowerState SUSPENDED
The machine is off.
SUSPENDED = 4;public static final MachineDetails.PowerState DELETING
The machine is being deleted from the hosting platform.
DELETING = 5;public static final MachineDetails.PowerState DELETED
The machine is deleted from the hosting platform.
DELETED = 6;public static final MachineDetails.PowerState UNRECOGNIZED
public static final int POWER_STATE_UNSPECIFIED_VALUE
Power state is unknown.
POWER_STATE_UNSPECIFIED = 0;public static final int PENDING_VALUE
The machine is preparing to enter the ACTIVE state. An instance may enter the PENDING state when it launches for the first time, or when it is started after being in the SUSPENDED state.
PENDING = 1;public static final int ACTIVE_VALUE
The machine is active.
ACTIVE = 2;public static final int SUSPENDING_VALUE
The machine is being turned off.
SUSPENDING = 3;public static final int SUSPENDED_VALUE
The machine is off.
SUSPENDED = 4;public static final int DELETING_VALUE
The machine is being deleted from the hosting platform.
DELETING = 5;public static final int DELETED_VALUE
The machine is deleted from the hosting platform.
DELETED = 6;public static MachineDetails.PowerState[] values()
for (MachineDetails.PowerState c : MachineDetails.PowerState.values()) System.out.println(c);
public static MachineDetails.PowerState 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 MachineDetails.PowerState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MachineDetails.PowerState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MachineDetails.PowerState> 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 MachineDetails.PowerState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.