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 Details

    • 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 Details

    • IMPORT_JOB_STATE_UNSPECIFIED_VALUE

      public static final int IMPORT_JOB_STATE_UNSPECIFIED_VALUE
       Default value.
       
      IMPORT_JOB_STATE_UNSPECIFIED = 0;
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
  • Method Details

    • values

      public static ImportJob.ImportJobState[] 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

      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.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 name
      NullPointerException - 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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null