Package com.google.cloud.clouddms.v1
Enum MigrationJobVerificationError.ErrorCode
- java.lang.Object
-
- java.lang.Enum<MigrationJobVerificationError.ErrorCode>
-
- com.google.cloud.clouddms.v1.MigrationJobVerificationError.ErrorCode
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<MigrationJobVerificationError.ErrorCode>
- Enclosing class:
- MigrationJobVerificationError
public static enum MigrationJobVerificationError.ErrorCode extends Enum<MigrationJobVerificationError.ErrorCode> implements com.google.protobuf.ProtocolMessageEnum
A general error code describing the type of error that occurred.
Protobuf enumgoogle.cloud.clouddms.v1.MigrationJobVerificationError.ErrorCode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHENTICATION_FAILURE
We failed to authenticate to one of the connection profile.CANT_RESTART_RUNNING_MIGRATION
Migration is already running at the time of restart request.CONNECTION_FAILURE
We failed to connect to one of the connection profile.CONNECTION_PROFILE_TYPES_INCOMPATIBILITY
The types of the source and the destination are incompatible.ERROR_CODE_UNSPECIFIED
An unknown error occurredERROR_RDBMS
There was an underlying RDBMS error.EXISTING_CONFLICTING_DATABASES
The destination DB contains existing databases that are conflicting with those in the source DB.INSUFFICIENT_MAX_REPLICATION_SLOTS
The value of parameter max_replication_slots is not sufficient.INSUFFICIENT_MAX_WAL_SENDERS
The value of parameter max_wal_senders is not sufficient.INSUFFICIENT_MAX_WORKER_PROCESSES
The value of parameter max_worker_processes is not sufficient.INVALID_CONNECTION_PROFILE_CONFIG
One of the involved connection profiles has an invalid configuration.INVALID_RDS_LOGICAL_REPLICATION
Invalid RDS logical replication.INVALID_SHARED_PRELOAD_LIBRARY
The value of parameter shared_preload_libraries does not include pglogical.INVALID_WAL_LEVEL
The value of parameter wal_level is not set to logical.NO_PGLOGICAL_INSTALLED
No pglogical extension installed on databases, applicable for postgres.PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE
Insufficient privilege to enable the parallelism configuration.PGLOGICAL_NODE_ALREADY_EXISTS
pglogical node already exists on databases, applicable for postgres.SOURCE_ALREADY_SETUP
The source already has a replication setup.SOURCE_SIZE_EXCEEDS_THRESHOLD
The source DB size in Bytes exceeds a certain threshold.TABLES_WITH_LIMITED_SUPPORT
The source has tables with limited support.UNRECOGNIZED
UNSUPPORTED_DATABASE_FDW_CONFIG
The source uses an unsupported Foreign Data Wrapper configuration.UNSUPPORTED_DATABASE_LOCALE
The source uses an unsupported locale.UNSUPPORTED_DEFINER
The definer is not supported.UNSUPPORTED_EXTENSIONS
Extensions installed are either not supported or having unsupported versions.UNSUPPORTED_GTID_MODE
The gtid_mode is not supported, applicable for MySQL.UNSUPPORTED_MIGRATION_TYPE
Unsupported migration type.UNSUPPORTED_TABLE_DEFINITION
The table definition is not support due to missing primary key or replica identity.VERSION_INCOMPATIBILITY
The versions of the source and the destination are incompatible.
-
Field Summary
Fields Modifier and Type Field Description static int
AUTHENTICATION_FAILURE_VALUE
We failed to authenticate to one of the connection profile.static int
CANT_RESTART_RUNNING_MIGRATION_VALUE
Migration is already running at the time of restart request.static int
CONNECTION_FAILURE_VALUE
We failed to connect to one of the connection profile.static int
CONNECTION_PROFILE_TYPES_INCOMPATIBILITY_VALUE
The types of the source and the destination are incompatible.static int
ERROR_CODE_UNSPECIFIED_VALUE
An unknown error occurredstatic int
ERROR_RDBMS_VALUE
There was an underlying RDBMS error.static int
EXISTING_CONFLICTING_DATABASES_VALUE
The destination DB contains existing databases that are conflicting with those in the source DB.static int
INSUFFICIENT_MAX_REPLICATION_SLOTS_VALUE
The value of parameter max_replication_slots is not sufficient.static int
INSUFFICIENT_MAX_WAL_SENDERS_VALUE
The value of parameter max_wal_senders is not sufficient.static int
INSUFFICIENT_MAX_WORKER_PROCESSES_VALUE
The value of parameter max_worker_processes is not sufficient.static int
INVALID_CONNECTION_PROFILE_CONFIG_VALUE
One of the involved connection profiles has an invalid configuration.static int
INVALID_RDS_LOGICAL_REPLICATION_VALUE
Invalid RDS logical replication.static int
INVALID_SHARED_PRELOAD_LIBRARY_VALUE
The value of parameter shared_preload_libraries does not include pglogical.static int
INVALID_WAL_LEVEL_VALUE
The value of parameter wal_level is not set to logical.static int
NO_PGLOGICAL_INSTALLED_VALUE
No pglogical extension installed on databases, applicable for postgres.static int
PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE_VALUE
Insufficient privilege to enable the parallelism configuration.static int
PGLOGICAL_NODE_ALREADY_EXISTS_VALUE
pglogical node already exists on databases, applicable for postgres.static int
SOURCE_ALREADY_SETUP_VALUE
The source already has a replication setup.static int
SOURCE_SIZE_EXCEEDS_THRESHOLD_VALUE
The source DB size in Bytes exceeds a certain threshold.static int
TABLES_WITH_LIMITED_SUPPORT_VALUE
The source has tables with limited support.static int
UNSUPPORTED_DATABASE_FDW_CONFIG_VALUE
The source uses an unsupported Foreign Data Wrapper configuration.static int
UNSUPPORTED_DATABASE_LOCALE_VALUE
The source uses an unsupported locale.static int
UNSUPPORTED_DEFINER_VALUE
The definer is not supported.static int
UNSUPPORTED_EXTENSIONS_VALUE
Extensions installed are either not supported or having unsupported versions.static int
UNSUPPORTED_GTID_MODE_VALUE
The gtid_mode is not supported, applicable for MySQL.static int
UNSUPPORTED_MIGRATION_TYPE_VALUE
Unsupported migration type.static int
UNSUPPORTED_TABLE_DEFINITION_VALUE
The table definition is not support due to missing primary key or replica identity.static int
VERSION_INCOMPATIBILITY_VALUE
The versions of the source and the destination are incompatible.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static MigrationJobVerificationError.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<MigrationJobVerificationError.ErrorCode>
internalGetValueMap()
static MigrationJobVerificationError.ErrorCode
valueOf(int value)
Deprecated.static MigrationJobVerificationError.ErrorCode
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static MigrationJobVerificationError.ErrorCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static MigrationJobVerificationError.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 MigrationJobVerificationError.ErrorCode ERROR_CODE_UNSPECIFIED
An unknown error occurred
ERROR_CODE_UNSPECIFIED = 0;
-
CONNECTION_FAILURE
public static final MigrationJobVerificationError.ErrorCode CONNECTION_FAILURE
We failed to connect to one of the connection profile.
CONNECTION_FAILURE = 1;
-
AUTHENTICATION_FAILURE
public static final MigrationJobVerificationError.ErrorCode AUTHENTICATION_FAILURE
We failed to authenticate to one of the connection profile.
AUTHENTICATION_FAILURE = 2;
-
INVALID_CONNECTION_PROFILE_CONFIG
public static final MigrationJobVerificationError.ErrorCode INVALID_CONNECTION_PROFILE_CONFIG
One of the involved connection profiles has an invalid configuration.
INVALID_CONNECTION_PROFILE_CONFIG = 3;
-
VERSION_INCOMPATIBILITY
public static final MigrationJobVerificationError.ErrorCode VERSION_INCOMPATIBILITY
The versions of the source and the destination are incompatible.
VERSION_INCOMPATIBILITY = 4;
-
CONNECTION_PROFILE_TYPES_INCOMPATIBILITY
public static final MigrationJobVerificationError.ErrorCode CONNECTION_PROFILE_TYPES_INCOMPATIBILITY
The types of the source and the destination are incompatible.
CONNECTION_PROFILE_TYPES_INCOMPATIBILITY = 5;
-
NO_PGLOGICAL_INSTALLED
public static final MigrationJobVerificationError.ErrorCode NO_PGLOGICAL_INSTALLED
No pglogical extension installed on databases, applicable for postgres.
NO_PGLOGICAL_INSTALLED = 7;
-
PGLOGICAL_NODE_ALREADY_EXISTS
public static final MigrationJobVerificationError.ErrorCode PGLOGICAL_NODE_ALREADY_EXISTS
pglogical node already exists on databases, applicable for postgres.
PGLOGICAL_NODE_ALREADY_EXISTS = 8;
-
INVALID_WAL_LEVEL
public static final MigrationJobVerificationError.ErrorCode INVALID_WAL_LEVEL
The value of parameter wal_level is not set to logical.
INVALID_WAL_LEVEL = 9;
-
INVALID_SHARED_PRELOAD_LIBRARY
public static final MigrationJobVerificationError.ErrorCode INVALID_SHARED_PRELOAD_LIBRARY
The value of parameter shared_preload_libraries does not include pglogical.
INVALID_SHARED_PRELOAD_LIBRARY = 10;
-
INSUFFICIENT_MAX_REPLICATION_SLOTS
public static final MigrationJobVerificationError.ErrorCode INSUFFICIENT_MAX_REPLICATION_SLOTS
The value of parameter max_replication_slots is not sufficient.
INSUFFICIENT_MAX_REPLICATION_SLOTS = 11;
-
INSUFFICIENT_MAX_WAL_SENDERS
public static final MigrationJobVerificationError.ErrorCode INSUFFICIENT_MAX_WAL_SENDERS
The value of parameter max_wal_senders is not sufficient.
INSUFFICIENT_MAX_WAL_SENDERS = 12;
-
INSUFFICIENT_MAX_WORKER_PROCESSES
public static final MigrationJobVerificationError.ErrorCode INSUFFICIENT_MAX_WORKER_PROCESSES
The value of parameter max_worker_processes is not sufficient.
INSUFFICIENT_MAX_WORKER_PROCESSES = 13;
-
UNSUPPORTED_EXTENSIONS
public static final MigrationJobVerificationError.ErrorCode UNSUPPORTED_EXTENSIONS
Extensions installed are either not supported or having unsupported versions.
UNSUPPORTED_EXTENSIONS = 14;
-
UNSUPPORTED_MIGRATION_TYPE
public static final MigrationJobVerificationError.ErrorCode UNSUPPORTED_MIGRATION_TYPE
Unsupported migration type.
UNSUPPORTED_MIGRATION_TYPE = 15;
-
INVALID_RDS_LOGICAL_REPLICATION
public static final MigrationJobVerificationError.ErrorCode INVALID_RDS_LOGICAL_REPLICATION
Invalid RDS logical replication.
INVALID_RDS_LOGICAL_REPLICATION = 16;
-
UNSUPPORTED_GTID_MODE
public static final MigrationJobVerificationError.ErrorCode UNSUPPORTED_GTID_MODE
The gtid_mode is not supported, applicable for MySQL.
UNSUPPORTED_GTID_MODE = 17;
-
UNSUPPORTED_TABLE_DEFINITION
public static final MigrationJobVerificationError.ErrorCode UNSUPPORTED_TABLE_DEFINITION
The table definition is not support due to missing primary key or replica identity.
UNSUPPORTED_TABLE_DEFINITION = 18;
-
UNSUPPORTED_DEFINER
public static final MigrationJobVerificationError.ErrorCode UNSUPPORTED_DEFINER
The definer is not supported.
UNSUPPORTED_DEFINER = 19;
-
CANT_RESTART_RUNNING_MIGRATION
public static final MigrationJobVerificationError.ErrorCode CANT_RESTART_RUNNING_MIGRATION
Migration is already running at the time of restart request.
CANT_RESTART_RUNNING_MIGRATION = 21;
-
SOURCE_ALREADY_SETUP
public static final MigrationJobVerificationError.ErrorCode SOURCE_ALREADY_SETUP
The source already has a replication setup.
SOURCE_ALREADY_SETUP = 23;
-
TABLES_WITH_LIMITED_SUPPORT
public static final MigrationJobVerificationError.ErrorCode TABLES_WITH_LIMITED_SUPPORT
The source has tables with limited support. E.g. PostgreSQL tables without primary keys.
TABLES_WITH_LIMITED_SUPPORT = 24;
-
UNSUPPORTED_DATABASE_LOCALE
public static final MigrationJobVerificationError.ErrorCode UNSUPPORTED_DATABASE_LOCALE
The source uses an unsupported locale.
UNSUPPORTED_DATABASE_LOCALE = 25;
-
UNSUPPORTED_DATABASE_FDW_CONFIG
public static final MigrationJobVerificationError.ErrorCode UNSUPPORTED_DATABASE_FDW_CONFIG
The source uses an unsupported Foreign Data Wrapper configuration.
UNSUPPORTED_DATABASE_FDW_CONFIG = 26;
-
ERROR_RDBMS
public static final MigrationJobVerificationError.ErrorCode ERROR_RDBMS
There was an underlying RDBMS error.
ERROR_RDBMS = 27;
-
SOURCE_SIZE_EXCEEDS_THRESHOLD
public static final MigrationJobVerificationError.ErrorCode SOURCE_SIZE_EXCEEDS_THRESHOLD
The source DB size in Bytes exceeds a certain threshold. The migration might require an increase of quota, or might not be supported.
SOURCE_SIZE_EXCEEDS_THRESHOLD = 28;
-
EXISTING_CONFLICTING_DATABASES
public static final MigrationJobVerificationError.ErrorCode EXISTING_CONFLICTING_DATABASES
The destination DB contains existing databases that are conflicting with those in the source DB.
EXISTING_CONFLICTING_DATABASES = 29;
-
PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE
public static final MigrationJobVerificationError.ErrorCode PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE
Insufficient privilege to enable the parallelism configuration.
PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE = 30;
-
UNRECOGNIZED
public static final MigrationJobVerificationError.ErrorCode UNRECOGNIZED
-
-
Field Detail
-
ERROR_CODE_UNSPECIFIED_VALUE
public static final int ERROR_CODE_UNSPECIFIED_VALUE
An unknown error occurred
ERROR_CODE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
CONNECTION_FAILURE_VALUE
public static final int CONNECTION_FAILURE_VALUE
We failed to connect to one of the connection profile.
CONNECTION_FAILURE = 1;
- See Also:
- Constant Field Values
-
AUTHENTICATION_FAILURE_VALUE
public static final int AUTHENTICATION_FAILURE_VALUE
We failed to authenticate to one of the connection profile.
AUTHENTICATION_FAILURE = 2;
- See Also:
- Constant Field Values
-
INVALID_CONNECTION_PROFILE_CONFIG_VALUE
public static final int INVALID_CONNECTION_PROFILE_CONFIG_VALUE
One of the involved connection profiles has an invalid configuration.
INVALID_CONNECTION_PROFILE_CONFIG = 3;
- See Also:
- Constant Field Values
-
VERSION_INCOMPATIBILITY_VALUE
public static final int VERSION_INCOMPATIBILITY_VALUE
The versions of the source and the destination are incompatible.
VERSION_INCOMPATIBILITY = 4;
- See Also:
- Constant Field Values
-
CONNECTION_PROFILE_TYPES_INCOMPATIBILITY_VALUE
public static final int CONNECTION_PROFILE_TYPES_INCOMPATIBILITY_VALUE
The types of the source and the destination are incompatible.
CONNECTION_PROFILE_TYPES_INCOMPATIBILITY = 5;
- See Also:
- Constant Field Values
-
NO_PGLOGICAL_INSTALLED_VALUE
public static final int NO_PGLOGICAL_INSTALLED_VALUE
No pglogical extension installed on databases, applicable for postgres.
NO_PGLOGICAL_INSTALLED = 7;
- See Also:
- Constant Field Values
-
PGLOGICAL_NODE_ALREADY_EXISTS_VALUE
public static final int PGLOGICAL_NODE_ALREADY_EXISTS_VALUE
pglogical node already exists on databases, applicable for postgres.
PGLOGICAL_NODE_ALREADY_EXISTS = 8;
- See Also:
- Constant Field Values
-
INVALID_WAL_LEVEL_VALUE
public static final int INVALID_WAL_LEVEL_VALUE
The value of parameter wal_level is not set to logical.
INVALID_WAL_LEVEL = 9;
- See Also:
- Constant Field Values
-
INVALID_SHARED_PRELOAD_LIBRARY_VALUE
public static final int INVALID_SHARED_PRELOAD_LIBRARY_VALUE
The value of parameter shared_preload_libraries does not include pglogical.
INVALID_SHARED_PRELOAD_LIBRARY = 10;
- See Also:
- Constant Field Values
-
INSUFFICIENT_MAX_REPLICATION_SLOTS_VALUE
public static final int INSUFFICIENT_MAX_REPLICATION_SLOTS_VALUE
The value of parameter max_replication_slots is not sufficient.
INSUFFICIENT_MAX_REPLICATION_SLOTS = 11;
- See Also:
- Constant Field Values
-
INSUFFICIENT_MAX_WAL_SENDERS_VALUE
public static final int INSUFFICIENT_MAX_WAL_SENDERS_VALUE
The value of parameter max_wal_senders is not sufficient.
INSUFFICIENT_MAX_WAL_SENDERS = 12;
- See Also:
- Constant Field Values
-
INSUFFICIENT_MAX_WORKER_PROCESSES_VALUE
public static final int INSUFFICIENT_MAX_WORKER_PROCESSES_VALUE
The value of parameter max_worker_processes is not sufficient.
INSUFFICIENT_MAX_WORKER_PROCESSES = 13;
- See Also:
- Constant Field Values
-
UNSUPPORTED_EXTENSIONS_VALUE
public static final int UNSUPPORTED_EXTENSIONS_VALUE
Extensions installed are either not supported or having unsupported versions.
UNSUPPORTED_EXTENSIONS = 14;
- See Also:
- Constant Field Values
-
UNSUPPORTED_MIGRATION_TYPE_VALUE
public static final int UNSUPPORTED_MIGRATION_TYPE_VALUE
Unsupported migration type.
UNSUPPORTED_MIGRATION_TYPE = 15;
- See Also:
- Constant Field Values
-
INVALID_RDS_LOGICAL_REPLICATION_VALUE
public static final int INVALID_RDS_LOGICAL_REPLICATION_VALUE
Invalid RDS logical replication.
INVALID_RDS_LOGICAL_REPLICATION = 16;
- See Also:
- Constant Field Values
-
UNSUPPORTED_GTID_MODE_VALUE
public static final int UNSUPPORTED_GTID_MODE_VALUE
The gtid_mode is not supported, applicable for MySQL.
UNSUPPORTED_GTID_MODE = 17;
- See Also:
- Constant Field Values
-
UNSUPPORTED_TABLE_DEFINITION_VALUE
public static final int UNSUPPORTED_TABLE_DEFINITION_VALUE
The table definition is not support due to missing primary key or replica identity.
UNSUPPORTED_TABLE_DEFINITION = 18;
- See Also:
- Constant Field Values
-
UNSUPPORTED_DEFINER_VALUE
public static final int UNSUPPORTED_DEFINER_VALUE
The definer is not supported.
UNSUPPORTED_DEFINER = 19;
- See Also:
- Constant Field Values
-
CANT_RESTART_RUNNING_MIGRATION_VALUE
public static final int CANT_RESTART_RUNNING_MIGRATION_VALUE
Migration is already running at the time of restart request.
CANT_RESTART_RUNNING_MIGRATION = 21;
- See Also:
- Constant Field Values
-
SOURCE_ALREADY_SETUP_VALUE
public static final int SOURCE_ALREADY_SETUP_VALUE
The source already has a replication setup.
SOURCE_ALREADY_SETUP = 23;
- See Also:
- Constant Field Values
-
TABLES_WITH_LIMITED_SUPPORT_VALUE
public static final int TABLES_WITH_LIMITED_SUPPORT_VALUE
The source has tables with limited support. E.g. PostgreSQL tables without primary keys.
TABLES_WITH_LIMITED_SUPPORT = 24;
- See Also:
- Constant Field Values
-
UNSUPPORTED_DATABASE_LOCALE_VALUE
public static final int UNSUPPORTED_DATABASE_LOCALE_VALUE
The source uses an unsupported locale.
UNSUPPORTED_DATABASE_LOCALE = 25;
- See Also:
- Constant Field Values
-
UNSUPPORTED_DATABASE_FDW_CONFIG_VALUE
public static final int UNSUPPORTED_DATABASE_FDW_CONFIG_VALUE
The source uses an unsupported Foreign Data Wrapper configuration.
UNSUPPORTED_DATABASE_FDW_CONFIG = 26;
- See Also:
- Constant Field Values
-
ERROR_RDBMS_VALUE
public static final int ERROR_RDBMS_VALUE
There was an underlying RDBMS error.
ERROR_RDBMS = 27;
- See Also:
- Constant Field Values
-
SOURCE_SIZE_EXCEEDS_THRESHOLD_VALUE
public static final int SOURCE_SIZE_EXCEEDS_THRESHOLD_VALUE
The source DB size in Bytes exceeds a certain threshold. The migration might require an increase of quota, or might not be supported.
SOURCE_SIZE_EXCEEDS_THRESHOLD = 28;
- See Also:
- Constant Field Values
-
EXISTING_CONFLICTING_DATABASES_VALUE
public static final int EXISTING_CONFLICTING_DATABASES_VALUE
The destination DB contains existing databases that are conflicting with those in the source DB.
EXISTING_CONFLICTING_DATABASES = 29;
- See Also:
- Constant Field Values
-
PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE_VALUE
public static final int PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE_VALUE
Insufficient privilege to enable the parallelism configuration.
PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE = 30;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static MigrationJobVerificationError.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 (MigrationJobVerificationError.ErrorCode c : MigrationJobVerificationError.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 MigrationJobVerificationError.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 MigrationJobVerificationError.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 MigrationJobVerificationError.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<MigrationJobVerificationError.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 MigrationJobVerificationError.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
-
-