Package com.google.cloud.vmmigration.v1
Enum MigrationError.ErrorCode
- java.lang.Object
-
- java.lang.Enum<MigrationError.ErrorCode>
-
- com.google.cloud.vmmigration.v1.MigrationError.ErrorCode
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<MigrationError.ErrorCode>
- Enclosing class:
- MigrationError
public static enum MigrationError.ErrorCode extends Enum<MigrationError.ErrorCode> implements com.google.protobuf.ProtocolMessageEnum
Represents resource error codes.
Protobuf enumgoogle.cloud.vmmigration.v1.MigrationError.ErrorCode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPLIANCE_UPGRADE_ERROR
Migrate for Compute encountered an error during appliance upgrade.CLONE_ERROR
Migrate for Compute encountered an error in clone operation.CUTOVER_ERROR
Migrate for Compute encountered an error in cutover operation.ERROR_CODE_UNSPECIFIED
Default value.OS_ADAPTATION_ERROR
Migrate for Compute encountered an error during OS adaptation.SOURCE_REPLICATION_ERROR
Migrate for Compute encountered an error during source data operation.SOURCE_VALIDATION_ERROR
Migrate for Compute encountered an error while validating replication source health.TARGET_REPLICATION_ERROR
Migrate for Compute encountered an error during target data operation.UNKNOWN_ERROR
Migrate for Compute encountered an unknown error.UNRECOGNIZED
UTILIZATION_REPORT_ERROR
Migrate for Compute encountered an error during utilization report creation.
-
Field Summary
Fields Modifier and Type Field Description static int
APPLIANCE_UPGRADE_ERROR_VALUE
Migrate for Compute encountered an error during appliance upgrade.static int
CLONE_ERROR_VALUE
Migrate for Compute encountered an error in clone operation.static int
CUTOVER_ERROR_VALUE
Migrate for Compute encountered an error in cutover operation.static int
ERROR_CODE_UNSPECIFIED_VALUE
Default value.static int
OS_ADAPTATION_ERROR_VALUE
Migrate for Compute encountered an error during OS adaptation.static int
SOURCE_REPLICATION_ERROR_VALUE
Migrate for Compute encountered an error during source data operation.static int
SOURCE_VALIDATION_ERROR_VALUE
Migrate for Compute encountered an error while validating replication source health.static int
TARGET_REPLICATION_ERROR_VALUE
Migrate for Compute encountered an error during target data operation.static int
UNKNOWN_ERROR_VALUE
Migrate for Compute encountered an unknown error.static int
UTILIZATION_REPORT_ERROR_VALUE
Migrate for Compute encountered an error during utilization report creation.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static MigrationError.ErrorCode
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<MigrationError.ErrorCode>
internalGetValueMap()
static MigrationError.ErrorCode
valueOf(int value)
Deprecated.static MigrationError.ErrorCode
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static MigrationError.ErrorCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static MigrationError.ErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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;
-
UNRECOGNIZED
public static final MigrationError.ErrorCode UNRECOGNIZED
-
-
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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.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 nameNullPointerException
- 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 interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.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 nameNullPointerException
- if the argument is null
-
-