Enum MigrationJob.Phase

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<MigrationJob.Phase>
    Enclosing class:
    MigrationJob

    public static enum MigrationJob.Phase
    extends Enum<MigrationJob.Phase>
    implements com.google.protobuf.ProtocolMessageEnum
     The current migration job phase.
     
    Protobuf enum google.cloud.clouddms.v1.MigrationJob.Phase
    • Enum Constant Detail

      • PHASE_UNSPECIFIED

        public static final MigrationJob.Phase PHASE_UNSPECIFIED
         The phase of the migration job is unknown.
         
        PHASE_UNSPECIFIED = 0;
      • FULL_DUMP

        public static final MigrationJob.Phase FULL_DUMP
         The migration job is in the full dump phase.
         
        FULL_DUMP = 1;
      • CDC

        public static final MigrationJob.Phase CDC
         The migration job is CDC phase.
         
        CDC = 2;
      • PROMOTE_IN_PROGRESS

        public static final MigrationJob.Phase PROMOTE_IN_PROGRESS
         The migration job is running the promote phase.
         
        PROMOTE_IN_PROGRESS = 3;
      • WAITING_FOR_SOURCE_WRITES_TO_STOP

        public static final MigrationJob.Phase WAITING_FOR_SOURCE_WRITES_TO_STOP
         Only RDS flow - waiting for source writes to stop
         
        WAITING_FOR_SOURCE_WRITES_TO_STOP = 4;
      • PREPARING_THE_DUMP

        public static final MigrationJob.Phase PREPARING_THE_DUMP
         Only RDS flow - the sources writes stopped, waiting for dump to begin
         
        PREPARING_THE_DUMP = 5;
    • Field Detail

      • PHASE_UNSPECIFIED_VALUE

        public static final int PHASE_UNSPECIFIED_VALUE
         The phase of the migration job is unknown.
         
        PHASE_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • FULL_DUMP_VALUE

        public static final int FULL_DUMP_VALUE
         The migration job is in the full dump phase.
         
        FULL_DUMP = 1;
        See Also:
        Constant Field Values
      • CDC_VALUE

        public static final int CDC_VALUE
         The migration job is CDC phase.
         
        CDC = 2;
        See Also:
        Constant Field Values
      • PROMOTE_IN_PROGRESS_VALUE

        public static final int PROMOTE_IN_PROGRESS_VALUE
         The migration job is running the promote phase.
         
        PROMOTE_IN_PROGRESS = 3;
        See Also:
        Constant Field Values
      • WAITING_FOR_SOURCE_WRITES_TO_STOP_VALUE

        public static final int WAITING_FOR_SOURCE_WRITES_TO_STOP_VALUE
         Only RDS flow - waiting for source writes to stop
         
        WAITING_FOR_SOURCE_WRITES_TO_STOP = 4;
        See Also:
        Constant Field Values
      • PREPARING_THE_DUMP_VALUE

        public static final int PREPARING_THE_DUMP_VALUE
         Only RDS flow - the sources writes stopped, waiting for dump to begin
         
        PREPARING_THE_DUMP = 5;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static MigrationJob.Phase[] 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.Phase c : MigrationJob.Phase.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.Phase 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.Phase 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.Phase 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.Phase> 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.Phase 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