Package com.google.cloud.clouddms.v1
Enum MigrationJob.State
- java.lang.Object
-
- java.lang.Enum<MigrationJob.State>
-
- com.google.cloud.clouddms.v1.MigrationJob.State
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<MigrationJob.State>
- Enclosing class:
- MigrationJob
public static enum MigrationJob.State extends Enum<MigrationJob.State> implements com.google.protobuf.ProtocolMessageEnum
The current migration job states.
Protobuf enumgoogle.cloud.clouddms.v1.MigrationJob.State
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETED
The migration job has been completed.CREATING
The migration job is being created.DELETED
The migration job has been deleted.DELETING
The migration job is being deleted.DRAFT
The migration job is in draft mode and no resources are created.FAILED
The migration job failed.MAINTENANCE
The migration job is down for maintenance.NOT_STARTED
The migration job is created and not started.RESTARTING
The migration job is restarting.RESUMING
The migration job is resuming.RUNNING
The migration job is running.STARTING
The migration job is starting.STATE_UNSPECIFIED
The state of the migration job is unknown.STOPPED
The migration job is currently stopped.STOPPING
The migration job is being stopped.UNRECOGNIZED
UPDATING
The migration job is being updated.
-
Field Summary
Fields Modifier and Type Field Description static int
COMPLETED_VALUE
The migration job has been completed.static int
CREATING_VALUE
The migration job is being created.static int
DELETED_VALUE
The migration job has been deleted.static int
DELETING_VALUE
The migration job is being deleted.static int
DRAFT_VALUE
The migration job is in draft mode and no resources are created.static int
FAILED_VALUE
The migration job failed.static int
MAINTENANCE_VALUE
The migration job is down for maintenance.static int
NOT_STARTED_VALUE
The migration job is created and not started.static int
RESTARTING_VALUE
The migration job is restarting.static int
RESUMING_VALUE
The migration job is resuming.static int
RUNNING_VALUE
The migration job is running.static int
STARTING_VALUE
The migration job is starting.static int
STATE_UNSPECIFIED_VALUE
The state of the migration job is unknown.static int
STOPPED_VALUE
The migration job is currently stopped.static int
STOPPING_VALUE
The migration job is being stopped.static int
UPDATING_VALUE
The migration job is being updated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static MigrationJob.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<MigrationJob.State>
internalGetValueMap()
static MigrationJob.State
valueOf(int value)
Deprecated.static MigrationJob.State
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static MigrationJob.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static MigrationJob.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 MigrationJob.State STATE_UNSPECIFIED
The state of the migration job is unknown.
STATE_UNSPECIFIED = 0;
-
MAINTENANCE
public static final MigrationJob.State MAINTENANCE
The migration job is down for maintenance.
MAINTENANCE = 1;
-
DRAFT
public static final MigrationJob.State DRAFT
The migration job is in draft mode and no resources are created.
DRAFT = 2;
-
CREATING
public static final MigrationJob.State CREATING
The migration job is being created.
CREATING = 3;
-
NOT_STARTED
public static final MigrationJob.State NOT_STARTED
The migration job is created and not started.
NOT_STARTED = 4;
-
RUNNING
public static final MigrationJob.State RUNNING
The migration job is running.
RUNNING = 5;
-
FAILED
public static final MigrationJob.State FAILED
The migration job failed.
FAILED = 6;
-
COMPLETED
public static final MigrationJob.State COMPLETED
The migration job has been completed.
COMPLETED = 7;
-
DELETING
public static final MigrationJob.State DELETING
The migration job is being deleted.
DELETING = 8;
-
STOPPING
public static final MigrationJob.State STOPPING
The migration job is being stopped.
STOPPING = 9;
-
STOPPED
public static final MigrationJob.State STOPPED
The migration job is currently stopped.
STOPPED = 10;
-
DELETED
public static final MigrationJob.State DELETED
The migration job has been deleted.
DELETED = 11;
-
UPDATING
public static final MigrationJob.State UPDATING
The migration job is being updated.
UPDATING = 12;
-
STARTING
public static final MigrationJob.State STARTING
The migration job is starting.
STARTING = 13;
-
RESTARTING
public static final MigrationJob.State RESTARTING
The migration job is restarting.
RESTARTING = 14;
-
RESUMING
public static final MigrationJob.State RESUMING
The migration job is resuming.
RESUMING = 15;
-
UNRECOGNIZED
public static final MigrationJob.State UNRECOGNIZED
-
-
Field Detail
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUE
The state of the migration job is unknown.
STATE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
MAINTENANCE_VALUE
public static final int MAINTENANCE_VALUE
The migration job is down for maintenance.
MAINTENANCE = 1;
- See Also:
- Constant Field Values
-
DRAFT_VALUE
public static final int DRAFT_VALUE
The migration job is in draft mode and no resources are created.
DRAFT = 2;
- See Also:
- Constant Field Values
-
CREATING_VALUE
public static final int CREATING_VALUE
The migration job is being created.
CREATING = 3;
- See Also:
- Constant Field Values
-
NOT_STARTED_VALUE
public static final int NOT_STARTED_VALUE
The migration job is created and not started.
NOT_STARTED = 4;
- See Also:
- Constant Field Values
-
RUNNING_VALUE
public static final int RUNNING_VALUE
The migration job is running.
RUNNING = 5;
- See Also:
- Constant Field Values
-
FAILED_VALUE
public static final int FAILED_VALUE
The migration job failed.
FAILED = 6;
- See Also:
- Constant Field Values
-
COMPLETED_VALUE
public static final int COMPLETED_VALUE
The migration job has been completed.
COMPLETED = 7;
- See Also:
- Constant Field Values
-
DELETING_VALUE
public static final int DELETING_VALUE
The migration job is being deleted.
DELETING = 8;
- See Also:
- Constant Field Values
-
STOPPING_VALUE
public static final int STOPPING_VALUE
The migration job is being stopped.
STOPPING = 9;
- See Also:
- Constant Field Values
-
STOPPED_VALUE
public static final int STOPPED_VALUE
The migration job is currently stopped.
STOPPED = 10;
- See Also:
- Constant Field Values
-
DELETED_VALUE
public static final int DELETED_VALUE
The migration job has been deleted.
DELETED = 11;
- See Also:
- Constant Field Values
-
UPDATING_VALUE
public static final int UPDATING_VALUE
The migration job is being updated.
UPDATING = 12;
- See Also:
- Constant Field Values
-
STARTING_VALUE
public static final int STARTING_VALUE
The migration job is starting.
STARTING = 13;
- See Also:
- Constant Field Values
-
RESTARTING_VALUE
public static final int RESTARTING_VALUE
The migration job is restarting.
RESTARTING = 14;
- See Also:
- Constant Field Values
-
RESUMING_VALUE
public static final int RESUMING_VALUE
The migration job is resuming.
RESUMING = 15;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static MigrationJob.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 (MigrationJob.State c : MigrationJob.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 MigrationJob.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 MigrationJob.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 MigrationJob.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<MigrationJob.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 MigrationJob.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
-
-