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 ACTIVEThe replication is active, and it's running or scheduled to run.CUTOVERThe source VM was stopped and replicated.CUTTING_OVERThe source VM is being turned off, and a final replication is currently running.ERRORThe replication process encountered an unrecoverable error and was aborted.FINAL_SYNCA cutover job is active and replication cycle is running the final sync.FINALIZEDThe replication process is done.FINALIZINGThe migrating VM is being finalized and migration resources are being removed.FIRST_SYNCMigration is going through the first sync cycle.PAUSEDThe replication was paused by the user and no cycles are scheduled to run.PENDINGThe VM in the source is being verified.READYThe source VM was verified, and it's ready to start replication.STATE_UNSPECIFIEDThe state was not sampled by the health checks yet.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intACTIVE_VALUEThe replication is active, and it's running or scheduled to run.static intCUTOVER_VALUEThe source VM was stopped and replicated.static intCUTTING_OVER_VALUEThe source VM is being turned off, and a final replication is currently running.static intERROR_VALUEThe replication process encountered an unrecoverable error and was aborted.static intFINAL_SYNC_VALUEA cutover job is active and replication cycle is running the final sync.static intFINALIZED_VALUEThe replication process is done.static intFINALIZING_VALUEThe migrating VM is being finalized and migration resources are being removed.static intFIRST_SYNC_VALUEMigration is going through the first sync cycle.static intPAUSED_VALUEThe replication was paused by the user and no cycles are scheduled to run.static intPENDING_VALUEThe VM in the source is being verified.static intREADY_VALUEThe source VM was verified, and it's ready to start replication.static intSTATE_UNSPECIFIED_VALUEThe 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.StateforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<MigratingVm.State>internalGetValueMap()static MigratingVm.StatevalueOf(int value)Deprecated.static MigratingVm.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static MigratingVm.StatevalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein 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
-
-