Enum ImportJob.ImportJobState
- java.lang.Object
-
- java.lang.Enum<ImportJob.ImportJobState>
-
- com.google.cloud.migrationcenter.v1.ImportJob.ImportJobState
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ImportJob.ImportJobState>
- Enclosing class:
- ImportJob
public static enum ImportJob.ImportJobState extends Enum<ImportJob.ImportJobState> implements com.google.protobuf.ProtocolMessageEnum
Enumerates possible states of an import job.
Protobuf enumgoogle.cloud.migrationcenter.v1.ImportJob.ImportJobState
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IMPORT_JOB_STATE_COMPLETEDThe import job processing has completed.IMPORT_JOB_STATE_FAILEDThe import job failed to be processed.IMPORT_JOB_STATE_FAILED_VALIDATIONThe import job contains blocking errors.IMPORT_JOB_STATE_PENDINGThe import job is pending.IMPORT_JOB_STATE_READYThe validation of the job completed with no blocking errors.IMPORT_JOB_STATE_RUNNINGThe processing of the import job is ongoing.IMPORT_JOB_STATE_UNSPECIFIEDDefault value.IMPORT_JOB_STATE_VALIDATINGThe import job is being validated.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intIMPORT_JOB_STATE_COMPLETED_VALUEThe import job processing has completed.static intIMPORT_JOB_STATE_FAILED_VALIDATION_VALUEThe import job contains blocking errors.static intIMPORT_JOB_STATE_FAILED_VALUEThe import job failed to be processed.static intIMPORT_JOB_STATE_PENDING_VALUEThe import job is pending.static intIMPORT_JOB_STATE_READY_VALUEThe validation of the job completed with no blocking errors.static intIMPORT_JOB_STATE_RUNNING_VALUEThe processing of the import job is ongoing.static intIMPORT_JOB_STATE_UNSPECIFIED_VALUEDefault value.static intIMPORT_JOB_STATE_VALIDATING_VALUEThe import job is being validated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ImportJob.ImportJobStateforNumber(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<ImportJob.ImportJobState>internalGetValueMap()static ImportJob.ImportJobStatevalueOf(int value)Deprecated.static ImportJob.ImportJobStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ImportJob.ImportJobStatevalueOf(String name)Returns the enum constant of this type with the specified name.static ImportJob.ImportJobState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IMPORT_JOB_STATE_UNSPECIFIED
public static final ImportJob.ImportJobState IMPORT_JOB_STATE_UNSPECIFIED
Default value.
IMPORT_JOB_STATE_UNSPECIFIED = 0;
-
IMPORT_JOB_STATE_PENDING
public static final ImportJob.ImportJobState IMPORT_JOB_STATE_PENDING
The import job is pending.
IMPORT_JOB_STATE_PENDING = 1;
-
IMPORT_JOB_STATE_RUNNING
public static final ImportJob.ImportJobState IMPORT_JOB_STATE_RUNNING
The processing of the import job is ongoing.
IMPORT_JOB_STATE_RUNNING = 2;
-
IMPORT_JOB_STATE_COMPLETED
public static final ImportJob.ImportJobState IMPORT_JOB_STATE_COMPLETED
The import job processing has completed.
IMPORT_JOB_STATE_COMPLETED = 3;
-
IMPORT_JOB_STATE_FAILED
public static final ImportJob.ImportJobState IMPORT_JOB_STATE_FAILED
The import job failed to be processed.
IMPORT_JOB_STATE_FAILED = 4;
-
IMPORT_JOB_STATE_VALIDATING
public static final ImportJob.ImportJobState IMPORT_JOB_STATE_VALIDATING
The import job is being validated.
IMPORT_JOB_STATE_VALIDATING = 5;
-
IMPORT_JOB_STATE_FAILED_VALIDATION
public static final ImportJob.ImportJobState IMPORT_JOB_STATE_FAILED_VALIDATION
The import job contains blocking errors.
IMPORT_JOB_STATE_FAILED_VALIDATION = 6;
-
IMPORT_JOB_STATE_READY
public static final ImportJob.ImportJobState IMPORT_JOB_STATE_READY
The validation of the job completed with no blocking errors.
IMPORT_JOB_STATE_READY = 7;
-
UNRECOGNIZED
public static final ImportJob.ImportJobState UNRECOGNIZED
-
-
Field Detail
-
IMPORT_JOB_STATE_UNSPECIFIED_VALUE
public static final int IMPORT_JOB_STATE_UNSPECIFIED_VALUE
Default value.
IMPORT_JOB_STATE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
IMPORT_JOB_STATE_PENDING_VALUE
public static final int IMPORT_JOB_STATE_PENDING_VALUE
The import job is pending.
IMPORT_JOB_STATE_PENDING = 1;- See Also:
- Constant Field Values
-
IMPORT_JOB_STATE_RUNNING_VALUE
public static final int IMPORT_JOB_STATE_RUNNING_VALUE
The processing of the import job is ongoing.
IMPORT_JOB_STATE_RUNNING = 2;- See Also:
- Constant Field Values
-
IMPORT_JOB_STATE_COMPLETED_VALUE
public static final int IMPORT_JOB_STATE_COMPLETED_VALUE
The import job processing has completed.
IMPORT_JOB_STATE_COMPLETED = 3;- See Also:
- Constant Field Values
-
IMPORT_JOB_STATE_FAILED_VALUE
public static final int IMPORT_JOB_STATE_FAILED_VALUE
The import job failed to be processed.
IMPORT_JOB_STATE_FAILED = 4;- See Also:
- Constant Field Values
-
IMPORT_JOB_STATE_VALIDATING_VALUE
public static final int IMPORT_JOB_STATE_VALIDATING_VALUE
The import job is being validated.
IMPORT_JOB_STATE_VALIDATING = 5;- See Also:
- Constant Field Values
-
IMPORT_JOB_STATE_FAILED_VALIDATION_VALUE
public static final int IMPORT_JOB_STATE_FAILED_VALIDATION_VALUE
The import job contains blocking errors.
IMPORT_JOB_STATE_FAILED_VALIDATION = 6;- See Also:
- Constant Field Values
-
IMPORT_JOB_STATE_READY_VALUE
public static final int IMPORT_JOB_STATE_READY_VALUE
The validation of the job completed with no blocking errors.
IMPORT_JOB_STATE_READY = 7;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ImportJob.ImportJobState[] 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 (ImportJob.ImportJobState c : ImportJob.ImportJobState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImportJob.ImportJobState 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 ImportJob.ImportJobState 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 ImportJob.ImportJobState 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<ImportJob.ImportJobState> 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 ImportJob.ImportJobState 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
-
-