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 enum
google.cloud.migrationcenter.v1.ImportJob.ImportJobState-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe import job processing has completed.The import job failed to be processed.The import job contains blocking errors.The import job is pending.The validation of the job completed with no blocking errors.The processing of the import job is ongoing.Default value.The import job is being validated. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe import job processing has completed.static final intThe import job contains blocking errors.static final intThe import job failed to be processed.static final intThe import job is pending.static final intThe validation of the job completed with no blocking errors.static final intThe processing of the import job is ongoing.static final intDefault value.static final intThe import job is being validated. -
Method Summary
Modifier and TypeMethodDescriptionstatic ImportJob.ImportJobStateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ImportJob.ImportJobState>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.ImportJobStateReturns 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 Details
-
IMPORT_JOB_STATE_UNSPECIFIED
Default value.
IMPORT_JOB_STATE_UNSPECIFIED = 0; -
IMPORT_JOB_STATE_PENDING
The import job is pending.
IMPORT_JOB_STATE_PENDING = 1; -
IMPORT_JOB_STATE_RUNNING
The processing of the import job is ongoing.
IMPORT_JOB_STATE_RUNNING = 2; -
IMPORT_JOB_STATE_COMPLETED
The import job processing has completed.
IMPORT_JOB_STATE_COMPLETED = 3; -
IMPORT_JOB_STATE_FAILED
The import job failed to be processed.
IMPORT_JOB_STATE_FAILED = 4; -
IMPORT_JOB_STATE_VALIDATING
The import job is being validated.
IMPORT_JOB_STATE_VALIDATING = 5; -
IMPORT_JOB_STATE_FAILED_VALIDATION
The import job contains blocking errors.
IMPORT_JOB_STATE_FAILED_VALIDATION = 6; -
IMPORT_JOB_STATE_READY
The validation of the job completed with no blocking errors.
IMPORT_JOB_STATE_READY = 7; -
UNRECOGNIZED
-
-
Field Details
-
IMPORT_JOB_STATE_UNSPECIFIED_VALUE
public static final int IMPORT_JOB_STATE_UNSPECIFIED_VALUEDefault value.
IMPORT_JOB_STATE_UNSPECIFIED = 0;- See Also:
-
IMPORT_JOB_STATE_PENDING_VALUE
public static final int IMPORT_JOB_STATE_PENDING_VALUEThe import job is pending.
IMPORT_JOB_STATE_PENDING = 1;- See Also:
-
IMPORT_JOB_STATE_RUNNING_VALUE
public static final int IMPORT_JOB_STATE_RUNNING_VALUEThe processing of the import job is ongoing.
IMPORT_JOB_STATE_RUNNING = 2;- See Also:
-
IMPORT_JOB_STATE_COMPLETED_VALUE
public static final int IMPORT_JOB_STATE_COMPLETED_VALUEThe import job processing has completed.
IMPORT_JOB_STATE_COMPLETED = 3;- See Also:
-
IMPORT_JOB_STATE_FAILED_VALUE
public static final int IMPORT_JOB_STATE_FAILED_VALUEThe import job failed to be processed.
IMPORT_JOB_STATE_FAILED = 4;- See Also:
-
IMPORT_JOB_STATE_VALIDATING_VALUE
public static final int IMPORT_JOB_STATE_VALIDATING_VALUEThe import job is being validated.
IMPORT_JOB_STATE_VALIDATING = 5;- See Also:
-
IMPORT_JOB_STATE_FAILED_VALIDATION_VALUE
public static final int IMPORT_JOB_STATE_FAILED_VALIDATION_VALUEThe import job contains blocking errors.
IMPORT_JOB_STATE_FAILED_VALIDATION = 6;- See Also:
-
IMPORT_JOB_STATE_READY_VALUE
public static final int IMPORT_JOB_STATE_READY_VALUEThe validation of the job completed with no blocking errors.
IMPORT_JOB_STATE_READY = 7;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.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
- 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 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
-