Package com.google.cloud.vmmigration.v1
Enum MigratingVm.State
- java.lang.Object
-
- java.lang.Enum<MigratingVm.State>
-
- com.google.cloud.vmmigration.v1.MigratingVm.State
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<MigratingVm.State>
- Enclosing class:
- MigratingVm
public static enum MigratingVm.State extends Enum<MigratingVm.State> implements com.google.protobuf.ProtocolMessageEnum
The possible values of the state/health of source VM.
Protobuf enumgoogle.cloud.vmmigration.v1.MigratingVm.State
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE
The replication is active, and it's running or scheduled to run.CUTOVER
The source VM was stopped and replicated.CUTTING_OVER
The source VM is being turned off, and a final replication is currently running.ERROR
The replication process encountered an unrecoverable error and was aborted.FINAL_SYNC
A cutover job is active and replication cycle is running the final sync.FINALIZED
The replication process is done.FINALIZING
The migrating VM is being finalized and migration resources are being removed.FIRST_SYNC
Migration is going through the first sync cycle.PAUSED
The replication was paused by the user and no cycles are scheduled to run.PENDING
The VM in the source is being verified.READY
The source VM was verified, and it's ready to start replication.STATE_UNSPECIFIED
The state was not sampled by the health checks yet.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
ACTIVE_VALUE
The replication is active, and it's running or scheduled to run.static int
CUTOVER_VALUE
The source VM was stopped and replicated.static int
CUTTING_OVER_VALUE
The source VM is being turned off, and a final replication is currently running.static int
ERROR_VALUE
The replication process encountered an unrecoverable error and was aborted.static int
FINAL_SYNC_VALUE
A cutover job is active and replication cycle is running the final sync.static int
FINALIZED_VALUE
The replication process is done.static int
FINALIZING_VALUE
The migrating VM is being finalized and migration resources are being removed.static int
FIRST_SYNC_VALUE
Migration is going through the first sync cycle.static int
PAUSED_VALUE
The replication was paused by the user and no cycles are scheduled to run.static int
PENDING_VALUE
The VM in the source is being verified.static int
READY_VALUE
The source VM was verified, and it's ready to start replication.static int
STATE_UNSPECIFIED_VALUE
The state was not sampled by the health checks yet.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static MigratingVm.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<MigratingVm.State>
internalGetValueMap()
static MigratingVm.State
valueOf(int value)
Deprecated.static MigratingVm.State
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static MigratingVm.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static MigratingVm.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STATE_UNSPECIFIED
public static final MigratingVm.State STATE_UNSPECIFIED
The state was not sampled by the health checks yet.
STATE_UNSPECIFIED = 0;
-
PENDING
public static final MigratingVm.State PENDING
The VM in the source is being verified.
PENDING = 1;
-
READY
public static final MigratingVm.State READY
The source VM was verified, and it's ready to start replication.
READY = 2;
-
FIRST_SYNC
public static final MigratingVm.State FIRST_SYNC
Migration is going through the first sync cycle.
FIRST_SYNC = 3;
-
ACTIVE
public static final MigratingVm.State ACTIVE
The replication is active, and it's running or scheduled to run.
ACTIVE = 4;
-
CUTTING_OVER
public static final MigratingVm.State CUTTING_OVER
The source VM is being turned off, and a final replication is currently running.
CUTTING_OVER = 7;
-
CUTOVER
public static final MigratingVm.State CUTOVER
The source VM was stopped and replicated. The replication is currently paused.
CUTOVER = 8;
-
FINAL_SYNC
public static final MigratingVm.State FINAL_SYNC
A cutover job is active and replication cycle is running the final sync.
FINAL_SYNC = 9;
-
PAUSED
public static final MigratingVm.State PAUSED
The replication was paused by the user and no cycles are scheduled to run.
PAUSED = 10;
-
FINALIZING
public static final MigratingVm.State FINALIZING
The migrating VM is being finalized and migration resources are being removed.
FINALIZING = 11;
-
FINALIZED
public static final MigratingVm.State FINALIZED
The replication process is done. The migrating VM is finalized and no longer consumes billable resources.
FINALIZED = 12;
-
ERROR
public static final MigratingVm.State ERROR
The replication process encountered an unrecoverable error and was aborted.
ERROR = 13;
-
UNRECOGNIZED
public static final MigratingVm.State UNRECOGNIZED
-
-
Field Detail
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUE
The state was not sampled by the health checks yet.
STATE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
PENDING_VALUE
public static final int PENDING_VALUE
The VM in the source is being verified.
PENDING = 1;
- See Also:
- Constant Field Values
-
READY_VALUE
public static final int READY_VALUE
The source VM was verified, and it's ready to start replication.
READY = 2;
- See Also:
- Constant Field Values
-
FIRST_SYNC_VALUE
public static final int FIRST_SYNC_VALUE
Migration is going through the first sync cycle.
FIRST_SYNC = 3;
- See Also:
- Constant Field Values
-
ACTIVE_VALUE
public static final int ACTIVE_VALUE
The replication is active, and it's running or scheduled to run.
ACTIVE = 4;
- See Also:
- Constant Field Values
-
CUTTING_OVER_VALUE
public static final int CUTTING_OVER_VALUE
The source VM is being turned off, and a final replication is currently running.
CUTTING_OVER = 7;
- See Also:
- Constant Field Values
-
CUTOVER_VALUE
public static final int CUTOVER_VALUE
The source VM was stopped and replicated. The replication is currently paused.
CUTOVER = 8;
- See Also:
- Constant Field Values
-
FINAL_SYNC_VALUE
public static final int FINAL_SYNC_VALUE
A cutover job is active and replication cycle is running the final sync.
FINAL_SYNC = 9;
- See Also:
- Constant Field Values
-
PAUSED_VALUE
public static final int PAUSED_VALUE
The replication was paused by the user and no cycles are scheduled to run.
PAUSED = 10;
- See Also:
- Constant Field Values
-
FINALIZING_VALUE
public static final int FINALIZING_VALUE
The migrating VM is being finalized and migration resources are being removed.
FINALIZING = 11;
- See Also:
- Constant Field Values
-
FINALIZED_VALUE
public static final int FINALIZED_VALUE
The replication process is done. The migrating VM is finalized and no longer consumes billable resources.
FINALIZED = 12;
- See Also:
- Constant Field Values
-
ERROR_VALUE
public static final int ERROR_VALUE
The replication process encountered an unrecoverable error and was aborted.
ERROR = 13;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static MigratingVm.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MigratingVm.State c : MigratingVm.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MigratingVm.State valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static MigratingVm.State valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static MigratingVm.State forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<MigratingVm.State> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static MigratingVm.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-