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 enum
google.cloud.clouddms.v1.MigrationJobVerificationError.ErrorCode| Enum Constant and 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 occurred
|
ERROR_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.
|
| Modifier and Type | Field and 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 occurred
|
static 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.
|
| Modifier and Type | Method and 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(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MigrationJobVerificationError.ErrorCode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
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.
|
public static final MigrationJobVerificationError.ErrorCode ERROR_CODE_UNSPECIFIED
An unknown error occurred
ERROR_CODE_UNSPECIFIED = 0;public static final MigrationJobVerificationError.ErrorCode CONNECTION_FAILURE
We failed to connect to one of the connection profile.
CONNECTION_FAILURE = 1;public static final MigrationJobVerificationError.ErrorCode AUTHENTICATION_FAILURE
We failed to authenticate to one of the connection profile.
AUTHENTICATION_FAILURE = 2;public static final MigrationJobVerificationError.ErrorCode INVALID_CONNECTION_PROFILE_CONFIG
One of the involved connection profiles has an invalid configuration.
INVALID_CONNECTION_PROFILE_CONFIG = 3;public static final MigrationJobVerificationError.ErrorCode VERSION_INCOMPATIBILITY
The versions of the source and the destination are incompatible.
VERSION_INCOMPATIBILITY = 4;public static final MigrationJobVerificationError.ErrorCode CONNECTION_PROFILE_TYPES_INCOMPATIBILITY
The types of the source and the destination are incompatible.
CONNECTION_PROFILE_TYPES_INCOMPATIBILITY = 5;public static final MigrationJobVerificationError.ErrorCode NO_PGLOGICAL_INSTALLED
No pglogical extension installed on databases, applicable for postgres.
NO_PGLOGICAL_INSTALLED = 7;public static final MigrationJobVerificationError.ErrorCode PGLOGICAL_NODE_ALREADY_EXISTS
pglogical node already exists on databases, applicable for postgres.
PGLOGICAL_NODE_ALREADY_EXISTS = 8;public static final MigrationJobVerificationError.ErrorCode INVALID_WAL_LEVEL
The value of parameter wal_level is not set to logical.
INVALID_WAL_LEVEL = 9;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;public static final MigrationJobVerificationError.ErrorCode INSUFFICIENT_MAX_REPLICATION_SLOTS
The value of parameter max_replication_slots is not sufficient.
INSUFFICIENT_MAX_REPLICATION_SLOTS = 11;public static final MigrationJobVerificationError.ErrorCode INSUFFICIENT_MAX_WAL_SENDERS
The value of parameter max_wal_senders is not sufficient.
INSUFFICIENT_MAX_WAL_SENDERS = 12;public static final MigrationJobVerificationError.ErrorCode INSUFFICIENT_MAX_WORKER_PROCESSES
The value of parameter max_worker_processes is not sufficient.
INSUFFICIENT_MAX_WORKER_PROCESSES = 13;public static final MigrationJobVerificationError.ErrorCode UNSUPPORTED_EXTENSIONS
Extensions installed are either not supported or having unsupported versions.
UNSUPPORTED_EXTENSIONS = 14;public static final MigrationJobVerificationError.ErrorCode UNSUPPORTED_MIGRATION_TYPE
Unsupported migration type.
UNSUPPORTED_MIGRATION_TYPE = 15;public static final MigrationJobVerificationError.ErrorCode INVALID_RDS_LOGICAL_REPLICATION
Invalid RDS logical replication.
INVALID_RDS_LOGICAL_REPLICATION = 16;public static final MigrationJobVerificationError.ErrorCode UNSUPPORTED_GTID_MODE
The gtid_mode is not supported, applicable for MySQL.
UNSUPPORTED_GTID_MODE = 17;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;public static final MigrationJobVerificationError.ErrorCode UNSUPPORTED_DEFINER
The definer is not supported.
UNSUPPORTED_DEFINER = 19;public static final MigrationJobVerificationError.ErrorCode CANT_RESTART_RUNNING_MIGRATION
Migration is already running at the time of restart request.
CANT_RESTART_RUNNING_MIGRATION = 21;public static final MigrationJobVerificationError.ErrorCode SOURCE_ALREADY_SETUP
The source already has a replication setup.
SOURCE_ALREADY_SETUP = 23;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;public static final MigrationJobVerificationError.ErrorCode UNSUPPORTED_DATABASE_LOCALE
The source uses an unsupported locale.
UNSUPPORTED_DATABASE_LOCALE = 25;public static final MigrationJobVerificationError.ErrorCode UNSUPPORTED_DATABASE_FDW_CONFIG
The source uses an unsupported Foreign Data Wrapper configuration.
UNSUPPORTED_DATABASE_FDW_CONFIG = 26;public static final MigrationJobVerificationError.ErrorCode ERROR_RDBMS
There was an underlying RDBMS error.
ERROR_RDBMS = 27;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;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;public static final MigrationJobVerificationError.ErrorCode PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE
Insufficient privilege to enable the parallelism configuration.
PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE = 30;public static final MigrationJobVerificationError.ErrorCode UNRECOGNIZED
public static final int ERROR_CODE_UNSPECIFIED_VALUE
An unknown error occurred
ERROR_CODE_UNSPECIFIED = 0;public static final int CONNECTION_FAILURE_VALUE
We failed to connect to one of the connection profile.
CONNECTION_FAILURE = 1;public static final int AUTHENTICATION_FAILURE_VALUE
We failed to authenticate to one of the connection profile.
AUTHENTICATION_FAILURE = 2;public static final int INVALID_CONNECTION_PROFILE_CONFIG_VALUE
One of the involved connection profiles has an invalid configuration.
INVALID_CONNECTION_PROFILE_CONFIG = 3;public static final int VERSION_INCOMPATIBILITY_VALUE
The versions of the source and the destination are incompatible.
VERSION_INCOMPATIBILITY = 4;public static final int CONNECTION_PROFILE_TYPES_INCOMPATIBILITY_VALUE
The types of the source and the destination are incompatible.
CONNECTION_PROFILE_TYPES_INCOMPATIBILITY = 5;public static final int NO_PGLOGICAL_INSTALLED_VALUE
No pglogical extension installed on databases, applicable for postgres.
NO_PGLOGICAL_INSTALLED = 7;public static final int PGLOGICAL_NODE_ALREADY_EXISTS_VALUE
pglogical node already exists on databases, applicable for postgres.
PGLOGICAL_NODE_ALREADY_EXISTS = 8;public static final int INVALID_WAL_LEVEL_VALUE
The value of parameter wal_level is not set to logical.
INVALID_WAL_LEVEL = 9;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;public static final int INSUFFICIENT_MAX_REPLICATION_SLOTS_VALUE
The value of parameter max_replication_slots is not sufficient.
INSUFFICIENT_MAX_REPLICATION_SLOTS = 11;public static final int INSUFFICIENT_MAX_WAL_SENDERS_VALUE
The value of parameter max_wal_senders is not sufficient.
INSUFFICIENT_MAX_WAL_SENDERS = 12;public static final int INSUFFICIENT_MAX_WORKER_PROCESSES_VALUE
The value of parameter max_worker_processes is not sufficient.
INSUFFICIENT_MAX_WORKER_PROCESSES = 13;public static final int UNSUPPORTED_EXTENSIONS_VALUE
Extensions installed are either not supported or having unsupported versions.
UNSUPPORTED_EXTENSIONS = 14;public static final int UNSUPPORTED_MIGRATION_TYPE_VALUE
Unsupported migration type.
UNSUPPORTED_MIGRATION_TYPE = 15;public static final int INVALID_RDS_LOGICAL_REPLICATION_VALUE
Invalid RDS logical replication.
INVALID_RDS_LOGICAL_REPLICATION = 16;public static final int UNSUPPORTED_GTID_MODE_VALUE
The gtid_mode is not supported, applicable for MySQL.
UNSUPPORTED_GTID_MODE = 17;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;public static final int UNSUPPORTED_DEFINER_VALUE
The definer is not supported.
UNSUPPORTED_DEFINER = 19;public static final int CANT_RESTART_RUNNING_MIGRATION_VALUE
Migration is already running at the time of restart request.
CANT_RESTART_RUNNING_MIGRATION = 21;public static final int SOURCE_ALREADY_SETUP_VALUE
The source already has a replication setup.
SOURCE_ALREADY_SETUP = 23;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;public static final int UNSUPPORTED_DATABASE_LOCALE_VALUE
The source uses an unsupported locale.
UNSUPPORTED_DATABASE_LOCALE = 25;public static final int UNSUPPORTED_DATABASE_FDW_CONFIG_VALUE
The source uses an unsupported Foreign Data Wrapper configuration.
UNSUPPORTED_DATABASE_FDW_CONFIG = 26;public static final int ERROR_RDBMS_VALUE
There was an underlying RDBMS error.
ERROR_RDBMS = 27;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;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;public static final int PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE_VALUE
Insufficient privilege to enable the parallelism configuration.
PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE = 30;public static MigrationJobVerificationError.ErrorCode[] values()
for (MigrationJobVerificationError.ErrorCode c : MigrationJobVerificationError.ErrorCode.values()) System.out.println(c);
public static MigrationJobVerificationError.ErrorCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static MigrationJobVerificationError.ErrorCode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MigrationJobVerificationError.ErrorCode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MigrationJobVerificationError.ErrorCode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static MigrationJobVerificationError.ErrorCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.