Enum MigrationError.ErrorCode

    • Enum Constant Detail

      • ERROR_CODE_UNSPECIFIED

        public static final MigrationError.ErrorCode ERROR_CODE_UNSPECIFIED
         Default value. This value is not used.
         
        ERROR_CODE_UNSPECIFIED = 0;
      • UNKNOWN_ERROR

        public static final MigrationError.ErrorCode UNKNOWN_ERROR
         Migrate for Compute encountered an unknown error.
         
        UNKNOWN_ERROR = 1;
      • SOURCE_VALIDATION_ERROR

        public static final MigrationError.ErrorCode SOURCE_VALIDATION_ERROR
         Migrate for Compute encountered an error while validating replication
         source health.
         
        SOURCE_VALIDATION_ERROR = 2;
      • SOURCE_REPLICATION_ERROR

        public static final MigrationError.ErrorCode SOURCE_REPLICATION_ERROR
         Migrate for Compute encountered an error during source data operation.
         
        SOURCE_REPLICATION_ERROR = 3;
      • TARGET_REPLICATION_ERROR

        public static final MigrationError.ErrorCode TARGET_REPLICATION_ERROR
         Migrate for Compute encountered an error during target data operation.
         
        TARGET_REPLICATION_ERROR = 4;
      • OS_ADAPTATION_ERROR

        public static final MigrationError.ErrorCode OS_ADAPTATION_ERROR
         Migrate for Compute encountered an error during OS adaptation.
         
        OS_ADAPTATION_ERROR = 5;
      • CLONE_ERROR

        public static final MigrationError.ErrorCode CLONE_ERROR
         Migrate for Compute encountered an error in clone operation.
         
        CLONE_ERROR = 6;
      • CUTOVER_ERROR

        public static final MigrationError.ErrorCode CUTOVER_ERROR
         Migrate for Compute encountered an error in cutover operation.
         
        CUTOVER_ERROR = 7;
      • UTILIZATION_REPORT_ERROR

        public static final MigrationError.ErrorCode UTILIZATION_REPORT_ERROR
         Migrate for Compute encountered an error during utilization report
         creation.
         
        UTILIZATION_REPORT_ERROR = 8;
      • APPLIANCE_UPGRADE_ERROR

        public static final MigrationError.ErrorCode APPLIANCE_UPGRADE_ERROR
         Migrate for Compute encountered an error during appliance upgrade.
         
        APPLIANCE_UPGRADE_ERROR = 9;
    • Field Detail

      • ERROR_CODE_UNSPECIFIED_VALUE

        public static final int ERROR_CODE_UNSPECIFIED_VALUE
         Default value. This value is not used.
         
        ERROR_CODE_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • UNKNOWN_ERROR_VALUE

        public static final int UNKNOWN_ERROR_VALUE
         Migrate for Compute encountered an unknown error.
         
        UNKNOWN_ERROR = 1;
        See Also:
        Constant Field Values
      • SOURCE_VALIDATION_ERROR_VALUE

        public static final int SOURCE_VALIDATION_ERROR_VALUE
         Migrate for Compute encountered an error while validating replication
         source health.
         
        SOURCE_VALIDATION_ERROR = 2;
        See Also:
        Constant Field Values
      • SOURCE_REPLICATION_ERROR_VALUE

        public static final int SOURCE_REPLICATION_ERROR_VALUE
         Migrate for Compute encountered an error during source data operation.
         
        SOURCE_REPLICATION_ERROR = 3;
        See Also:
        Constant Field Values
      • TARGET_REPLICATION_ERROR_VALUE

        public static final int TARGET_REPLICATION_ERROR_VALUE
         Migrate for Compute encountered an error during target data operation.
         
        TARGET_REPLICATION_ERROR = 4;
        See Also:
        Constant Field Values
      • OS_ADAPTATION_ERROR_VALUE

        public static final int OS_ADAPTATION_ERROR_VALUE
         Migrate for Compute encountered an error during OS adaptation.
         
        OS_ADAPTATION_ERROR = 5;
        See Also:
        Constant Field Values
      • CLONE_ERROR_VALUE

        public static final int CLONE_ERROR_VALUE
         Migrate for Compute encountered an error in clone operation.
         
        CLONE_ERROR = 6;
        See Also:
        Constant Field Values
      • CUTOVER_ERROR_VALUE

        public static final int CUTOVER_ERROR_VALUE
         Migrate for Compute encountered an error in cutover operation.
         
        CUTOVER_ERROR = 7;
        See Also:
        Constant Field Values
      • UTILIZATION_REPORT_ERROR_VALUE

        public static final int UTILIZATION_REPORT_ERROR_VALUE
         Migrate for Compute encountered an error during utilization report
         creation.
         
        UTILIZATION_REPORT_ERROR = 8;
        See Also:
        Constant Field Values
      • APPLIANCE_UPGRADE_ERROR_VALUE

        public static final int APPLIANCE_UPGRADE_ERROR_VALUE
         Migrate for Compute encountered an error during appliance upgrade.
         
        APPLIANCE_UPGRADE_ERROR = 9;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static MigrationError.ErrorCode[] 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 (MigrationError.ErrorCode c : MigrationError.ErrorCode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MigrationError.ErrorCode 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 MigrationError.ErrorCode 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 MigrationError.ErrorCode 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<MigrationError.ErrorCode> 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 MigrationError.ErrorCode 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