Enum 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 enum google.cloud.clouddms.v1.MigrationJob.State
    • 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;
    • 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 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 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 name
        NullPointerException - 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 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 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 name
        NullPointerException - if the argument is null