Enum SqlExternalSyncSettingError.SqlExternalSyncSettingErrorType (0.1.0)

public enum SqlExternalSyncSettingError.SqlExternalSyncSettingErrorType extends Enum<SqlExternalSyncSettingError.SqlExternalSyncSettingErrorType> implements ProtocolMessageEnum

Protobuf enum google.cloud.sql.v1.SqlExternalSyncSettingError.SqlExternalSyncSettingErrorType

Implements

ProtocolMessageEnum

Static Fields

Name Description
BINLOG_NOT_ENABLED

BINLOG_NOT_ENABLED = 2;

BINLOG_NOT_ENABLED_VALUE

BINLOG_NOT_ENABLED = 2;

BINLOG_RETENTION_SETTING

The primary instance's binary log retention setting.

BINLOG_RETENTION_SETTING = 25;

BINLOG_RETENTION_SETTING_VALUE

The primary instance's binary log retention setting.

BINLOG_RETENTION_SETTING = 25;

CONNECTION_FAILURE

CONNECTION_FAILURE = 1;

CONNECTION_FAILURE_VALUE

CONNECTION_FAILURE = 1;

EXISTING_DATA_IN_REPLICA

The replica instance contains existing data.

EXISTING_DATA_IN_REPLICA = 28;

EXISTING_DATA_IN_REPLICA_VALUE

The replica instance contains existing data.

EXISTING_DATA_IN_REPLICA = 28;

EXTENSIONS_NOT_ENABLED_IN_REPLICA

This error message indicates that the specified extensions are not enabled on destination instance. For example, before you can migrate data to the destination instance, you must enable the PGAudit extension on the instance.

EXTENSIONS_NOT_ENABLED_IN_REPLICA = 48;

EXTENSIONS_NOT_ENABLED_IN_REPLICA_VALUE

This error message indicates that the specified extensions are not enabled on destination instance. For example, before you can migrate data to the destination instance, you must enable the PGAudit extension on the instance.

EXTENSIONS_NOT_ENABLED_IN_REPLICA = 48;

EXTENSIONS_NOT_MIGRATED

The warning message indicates the pg_cron extension and settings will not be migrated to the destination.

EXTENSIONS_NOT_MIGRATED = 46;

EXTENSIONS_NOT_MIGRATED_VALUE

The warning message indicates the pg_cron extension and settings will not be migrated to the destination.

EXTENSIONS_NOT_MIGRATED = 46;

INCOMPATIBLE_DATABASE_MINOR_VERSION

The minor version of replica database is incompatible with the source.

INCOMPATIBLE_DATABASE_MINOR_VERSION = 37;

INCOMPATIBLE_DATABASE_MINOR_VERSION_VALUE

The minor version of replica database is incompatible with the source.

INCOMPATIBLE_DATABASE_MINOR_VERSION = 37;

INCOMPATIBLE_DATABASE_VERSION

INCOMPATIBLE_DATABASE_VERSION = 3;

INCOMPATIBLE_DATABASE_VERSION_VALUE

INCOMPATIBLE_DATABASE_VERSION = 3;

INSUFFICIENT_DISK_SIZE

The disk size of the replica instance is smaller than the data size of the source instance.

INSUFFICIENT_DISK_SIZE = 43;

INSUFFICIENT_DISK_SIZE_VALUE

The disk size of the replica instance is smaller than the data size of the source instance.

INSUFFICIENT_DISK_SIZE = 43;

INSUFFICIENT_GCS_PERMISSIONS

The Cloud Storage bucket is missing necessary permissions.

INSUFFICIENT_GCS_PERMISSIONS = 31;

INSUFFICIENT_GCS_PERMISSIONS_VALUE

The Cloud Storage bucket is missing necessary permissions.

INSUFFICIENT_GCS_PERMISSIONS = 31;

INSUFFICIENT_MACHINE_TIER

The data size of the source instance is greater than 1 TB, the number of cores of the replica instance is less than 8, and the memory of the replica is less than 32 GB.

INSUFFICIENT_MACHINE_TIER = 44;

INSUFFICIENT_MACHINE_TIER_VALUE

The data size of the source instance is greater than 1 TB, the number of cores of the replica instance is less than 8, and the memory of the replica is less than 32 GB.

INSUFFICIENT_MACHINE_TIER = 44;

INSUFFICIENT_MAX_REPLICATION_SLOTS

The value of parameter max_replication_slots is not sufficient.

INSUFFICIENT_MAX_REPLICATION_SLOTS = 11;

INSUFFICIENT_MAX_REPLICATION_SLOTS_VALUE

The value of parameter max_replication_slots is not sufficient.

INSUFFICIENT_MAX_REPLICATION_SLOTS = 11;

INSUFFICIENT_MAX_WAL_SENDERS

The value of parameter max_wal_senders is not sufficient.

INSUFFICIENT_MAX_WAL_SENDERS = 12;

INSUFFICIENT_MAX_WAL_SENDERS_VALUE

The value of parameter max_wal_senders is not sufficient.

INSUFFICIENT_MAX_WAL_SENDERS = 12;

INSUFFICIENT_MAX_WORKER_PROCESSES

The value of parameter max_worker_processes is not sufficient.

INSUFFICIENT_MAX_WORKER_PROCESSES = 13;

INSUFFICIENT_MAX_WORKER_PROCESSES_VALUE

The value of parameter max_worker_processes is not sufficient.

INSUFFICIENT_MAX_WORKER_PROCESSES = 13;

INSUFFICIENT_PRIVILEGE

The replication user is missing privileges that are required.

INSUFFICIENT_PRIVILEGE = 5;

INSUFFICIENT_PRIVILEGE_VALUE

The replication user is missing privileges that are required.

INSUFFICIENT_PRIVILEGE = 5;

INVALID_DB_PARAM

The primary instance database parameter setup doesn't allow EM sync.

INVALID_DB_PARAM = 17;

INVALID_DB_PARAM_VALUE

The primary instance database parameter setup doesn't allow EM sync.

INVALID_DB_PARAM = 17;

INVALID_FILE_INFO

The Cloud Storage bucket has an error in the file or contains invalid file information.

INVALID_FILE_INFO = 32;

INVALID_FILE_INFO_VALUE

The Cloud Storage bucket has an error in the file or contains invalid file information.

INVALID_FILE_INFO = 32;

INVALID_LOGGING_SETUP

The primary instance logging setup doesn't allow EM sync.

INVALID_LOGGING_SETUP = 16;

INVALID_LOGGING_SETUP_VALUE

The primary instance logging setup doesn't allow EM sync.

INVALID_LOGGING_SETUP = 16;

INVALID_RDS_LOGICAL_REPLICATION

The value of parameter rds.logical_replication is not set to 1.

INVALID_RDS_LOGICAL_REPLICATION = 15;

INVALID_RDS_LOGICAL_REPLICATION_VALUE

The value of parameter rds.logical_replication is not set to 1.

INVALID_RDS_LOGICAL_REPLICATION = 15;

INVALID_SHARED_PRELOAD_LIBRARY

The value of parameter shared_preload_libraries does not include pglogical.

INVALID_SHARED_PRELOAD_LIBRARY = 10;

INVALID_SHARED_PRELOAD_LIBRARY_VALUE

The value of parameter shared_preload_libraries does not include pglogical.

INVALID_SHARED_PRELOAD_LIBRARY = 10;

INVALID_WAL_LEVEL

The value of parameter wal_level is not set to logical.

INVALID_WAL_LEVEL = 9;

INVALID_WAL_LEVEL_VALUE

The value of parameter wal_level is not set to logical.

INVALID_WAL_LEVEL = 9;

LIMITED_SUPPORT_TABLES

Source has tables with limited support eg: PostgreSQL tables without primary keys.

LIMITED_SUPPORT_TABLES = 27;

LIMITED_SUPPORT_TABLES_VALUE

Source has tables with limited support eg: PostgreSQL tables without primary keys.

LIMITED_SUPPORT_TABLES = 27;

LOCAL_INFILE_OFF

The global variable local_infile is off on external server replica.

LOCAL_INFILE_OFF = 35;

LOCAL_INFILE_OFF_VALUE

The global variable local_infile is off on external server replica.

LOCAL_INFILE_OFF = 35;

MISSING_OPTIONAL_PRIVILEGES

The replication user is missing privileges that are optional.

MISSING_OPTIONAL_PRIVILEGES = 29;

MISSING_OPTIONAL_PRIVILEGES_VALUE

The replication user is missing privileges that are optional.

MISSING_OPTIONAL_PRIVILEGES = 29;

MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE

The replication user is missing parallel import specific privileges. (e.g. LOCK TABLES) for MySQL.

MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE = 34;

MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE_VALUE

The replication user is missing parallel import specific privileges. (e.g. LOCK TABLES) for MySQL.

MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE = 34;

NO_PGLOGICAL_INSTALLED

No pglogical extension installed on databases, applicable for postgres.

NO_PGLOGICAL_INSTALLED = 7;

NO_PGLOGICAL_INSTALLED_VALUE

No pglogical extension installed on databases, applicable for postgres.

NO_PGLOGICAL_INSTALLED = 7;

PGLOGICAL_NODE_ALREADY_EXISTS

pglogical node already exists on databases, applicable for postgres.

PGLOGICAL_NODE_ALREADY_EXISTS = 8;

PGLOGICAL_NODE_ALREADY_EXISTS_VALUE

pglogical node already exists on databases, applicable for postgres.

PGLOGICAL_NODE_ALREADY_EXISTS = 8;

PG_CRON_FLAG_ENABLED_IN_REPLICA

The error message indicates that pg_cron flags are enabled on the destination which is not supported during the migration.

PG_CRON_FLAG_ENABLED_IN_REPLICA = 47;

PG_CRON_FLAG_ENABLED_IN_REPLICA_VALUE

The error message indicates that pg_cron flags are enabled on the destination which is not supported during the migration.

PG_CRON_FLAG_ENABLED_IN_REPLICA = 47;

PG_DDL_REPLICATION_INSUFFICIENT_PRIVILEGE

The replication user is missing specific privileges to setup DDL replication. (e.g. CREATE EVENT TRIGGER, CREATE SCHEMA) for PostgreSQL.

PG_DDL_REPLICATION_INSUFFICIENT_PRIVILEGE = 58;

PG_DDL_REPLICATION_INSUFFICIENT_PRIVILEGE_VALUE

The replication user is missing specific privileges to setup DDL replication. (e.g. CREATE EVENT TRIGGER, CREATE SCHEMA) for PostgreSQL.

PG_DDL_REPLICATION_INSUFFICIENT_PRIVILEGE = 58;

PG_SUBSCRIPTION_COUNT

Count of subscriptions needed to sync source data for PostgreSQL database.

PG_SUBSCRIPTION_COUNT = 41;

PG_SUBSCRIPTION_COUNT_VALUE

Count of subscriptions needed to sync source data for PostgreSQL database.

PG_SUBSCRIPTION_COUNT = 41;

PG_SYNC_PARALLEL_LEVEL

Final parallel level that is used to do migration.

PG_SYNC_PARALLEL_LEVEL = 42;

PG_SYNC_PARALLEL_LEVEL_VALUE

Final parallel level that is used to do migration.

PG_SYNC_PARALLEL_LEVEL = 42;

PRIMARY_ALREADY_SETUP

The primary instance has been setup and will fail the setup.

PRIMARY_ALREADY_SETUP = 23;

PRIMARY_ALREADY_SETUP_VALUE

The primary instance has been setup and will fail the setup.

PRIMARY_ALREADY_SETUP = 23;

PROMPT_DELETE_EXISTING

The migration will delete existing data in the replica; set replica_overwrite_enabled in the request to acknowledge this. This is an error. MySQL only.

PROMPT_DELETE_EXISTING = 56;

PROMPT_DELETE_EXISTING_VALUE

The migration will delete existing data in the replica; set replica_overwrite_enabled in the request to acknowledge this. This is an error. MySQL only.

PROMPT_DELETE_EXISTING = 56;

PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI

PSC only destination instance does not have a network attachment URI.

PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI = 54;

PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI_VALUE

PSC only destination instance does not have a network attachment URI.

PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI = 54;

REPLICA_ALREADY_SETUP

REPLICA_ALREADY_SETUP = 4;

REPLICA_ALREADY_SETUP_VALUE

REPLICA_ALREADY_SETUP = 4;

RISKY_BACKUP_ADMIN_PRIVILEGE

Additional BACKUP_ADMIN privilege is granted to the replication user which may lock source MySQL 8 instance for DDLs during initial sync.

RISKY_BACKUP_ADMIN_PRIVILEGE = 30;

RISKY_BACKUP_ADMIN_PRIVILEGE_VALUE

Additional BACKUP_ADMIN privilege is granted to the replication user which may lock source MySQL 8 instance for DDLs during initial sync.

RISKY_BACKUP_ADMIN_PRIVILEGE = 30;

SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE

The selected objects don't exist on the source instance.

SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE = 53;

SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE_VALUE

The selected objects don't exist on the source instance.

SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE = 53;

SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTS

Selected objects reference unselected objects. Based on their object type (foreign key constraint or view), selected objects will fail during migration.

SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTS = 55;

SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTS_VALUE

Selected objects reference unselected objects. Based on their object type (foreign key constraint or view), selected objects will fail during migration.

SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTS = 55;

SOURCE_MAX_SUBSCRIPTIONS

This warning message indicates that Cloud SQL uses the maximum number of subscriptions to migrate data from the source to the destination.

SOURCE_MAX_SUBSCRIPTIONS = 38;

SOURCE_MAX_SUBSCRIPTIONS_VALUE

This warning message indicates that Cloud SQL uses the maximum number of subscriptions to migrate data from the source to the destination.

SOURCE_MAX_SUBSCRIPTIONS = 38;

SQLSERVER_AGENT_NOT_RUNNING

SQL Server Agent is not running.

SQLSERVER_AGENT_NOT_RUNNING = 19;

SQLSERVER_AGENT_NOT_RUNNING_VALUE

SQL Server Agent is not running.

SQLSERVER_AGENT_NOT_RUNNING = 19;

SQLSERVER_SERVERNAME_MISMATCH

SQL Server @@SERVERNAME does not match actual host name.

SQLSERVER_SERVERNAME_MISMATCH = 22;

SQLSERVER_SERVERNAME_MISMATCH_VALUE

SQL Server @@SERVERNAME does not match actual host name.

SQLSERVER_SERVERNAME_MISMATCH = 22;

SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED

SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED = 0;

SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED_VALUE

SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED = 0;

SUBSCRIPTION_CALCULATION_STATUS

If a time out occurs while the subscription counts are calculated, then this value is set to 1. Otherwise, this value is set to 2.

SUBSCRIPTION_CALCULATION_STATUS = 40;

SUBSCRIPTION_CALCULATION_STATUS_VALUE

If a time out occurs while the subscription counts are calculated, then this value is set to 1. Otherwise, this value is set to 2.

SUBSCRIPTION_CALCULATION_STATUS = 40;

TURN_ON_PITR_AFTER_PROMOTE

This code instructs customers to turn on point-in-time recovery manually for the instance after promoting the Cloud SQL for PostgreSQL instance.

TURN_ON_PITR_AFTER_PROMOTE = 36;

TURN_ON_PITR_AFTER_PROMOTE_VALUE

This code instructs customers to turn on point-in-time recovery manually for the instance after promoting the Cloud SQL for PostgreSQL instance.

TURN_ON_PITR_AFTER_PROMOTE = 36;

UNABLE_TO_VERIFY_DEFINERS

Unable to verify definers on the source for MySQL.

UNABLE_TO_VERIFY_DEFINERS = 39;

UNABLE_TO_VERIFY_DEFINERS_VALUE

Unable to verify definers on the source for MySQL.

UNABLE_TO_VERIFY_DEFINERS = 39;

UNRECOGNIZED
UNSUPPORTED_BINLOG_FORMAT

The primary instance has unsupported binary log format.

UNSUPPORTED_BINLOG_FORMAT = 24;

UNSUPPORTED_BINLOG_FORMAT_VALUE

The primary instance has unsupported binary log format.

UNSUPPORTED_BINLOG_FORMAT = 24;

UNSUPPORTED_COLUMNS

The source database has generated columns that can't be migrated. Please change them to regular columns before migration.

UNSUPPORTED_COLUMNS = 49;

UNSUPPORTED_COLUMNS_VALUE

The source database has generated columns that can't be migrated. Please change them to regular columns before migration.

UNSUPPORTED_COLUMNS = 49;

UNSUPPORTED_DATABASE_SETTINGS

The source instance has unsupported database settings for migration.

UNSUPPORTED_DATABASE_SETTINGS = 33;

UNSUPPORTED_DATABASE_SETTINGS_VALUE

The source instance has unsupported database settings for migration.

UNSUPPORTED_DATABASE_SETTINGS = 33;

UNSUPPORTED_DEFINER

The customer has a definer that will break EM setup.

UNSUPPORTED_DEFINER = 21;

UNSUPPORTED_DEFINER_VALUE

The customer has a definer that will break EM setup.

UNSUPPORTED_DEFINER = 21;

UNSUPPORTED_EXTENSIONS

Extensions installed are either not supported or having unsupported versions.

UNSUPPORTED_EXTENSIONS = 14;

UNSUPPORTED_EXTENSIONS_NOT_MIGRATED

The warning message indicates the unsupported extensions will not be migrated to the destination.

UNSUPPORTED_EXTENSIONS_NOT_MIGRATED = 45;

UNSUPPORTED_EXTENSIONS_NOT_MIGRATED_VALUE

The warning message indicates the unsupported extensions will not be migrated to the destination.

UNSUPPORTED_EXTENSIONS_NOT_MIGRATED = 45;

UNSUPPORTED_EXTENSIONS_VALUE

Extensions installed are either not supported or having unsupported versions.

UNSUPPORTED_EXTENSIONS = 14;

UNSUPPORTED_GTID_MODE

The gtid_mode is not supported, applicable for MySQL.

UNSUPPORTED_GTID_MODE = 18;

UNSUPPORTED_GTID_MODE_VALUE

The gtid_mode is not supported, applicable for MySQL.

UNSUPPORTED_GTID_MODE = 18;

UNSUPPORTED_MIGRATION_TYPE

Unsupported migration type.

UNSUPPORTED_MIGRATION_TYPE = 6;

UNSUPPORTED_MIGRATION_TYPE_VALUE

Unsupported migration type.

UNSUPPORTED_MIGRATION_TYPE = 6;

UNSUPPORTED_STORAGE_ENGINE

The primary instance has tables with unsupported storage engine.

UNSUPPORTED_STORAGE_ENGINE = 26;

UNSUPPORTED_STORAGE_ENGINE_VALUE

The primary instance has tables with unsupported storage engine.

UNSUPPORTED_STORAGE_ENGINE = 26;

UNSUPPORTED_SYSTEM_OBJECTS

The selected objects include system objects that aren't supported for migration.

UNSUPPORTED_SYSTEM_OBJECTS = 51;

UNSUPPORTED_SYSTEM_OBJECTS_VALUE

The selected objects include system objects that aren't supported for migration.

UNSUPPORTED_SYSTEM_OBJECTS = 51;

UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY

The source database has tables with the FULL or NOTHING replica identity. Before starting your migration, either remove the identity or change it to DEFAULT. Note that this is an error and will block the migration.

UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY = 52;

UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY_VALUE

The source database has tables with the FULL or NOTHING replica identity. Before starting your migration, either remove the identity or change it to DEFAULT. Note that this is an error and will block the migration.

UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY = 52;

UNSUPPORTED_TABLE_DEFINITION

The table definition is not support due to missing primary key or replica identity, applicable for postgres. Note that this is a warning and won't block the migration.

UNSUPPORTED_TABLE_DEFINITION = 20;

UNSUPPORTED_TABLE_DEFINITION_VALUE

The table definition is not support due to missing primary key or replica identity, applicable for postgres. Note that this is a warning and won't block the migration.

UNSUPPORTED_TABLE_DEFINITION = 20;

USERS_NOT_CREATED_IN_REPLICA

The source database has users that aren't created in the replica. First, create all users, which are in the pg_user_mappings table of the source database, in the destination instance. Then, perform the migration.

USERS_NOT_CREATED_IN_REPLICA = 50;

USERS_NOT_CREATED_IN_REPLICA_VALUE

The source database has users that aren't created in the replica. First, create all users, which are in the pg_user_mappings table of the source database, in the destination instance. Then, perform the migration.

USERS_NOT_CREATED_IN_REPLICA = 50;

WILL_DELETE_EXISTING

The migration will delete existing data in the replica; replica_overwrite_enabled was set in the request acknowledging this. This is a warning rather than an error. MySQL only.

WILL_DELETE_EXISTING = 57;

WILL_DELETE_EXISTING_VALUE

The migration will delete existing data in the replica; replica_overwrite_enabled was set in the request acknowledging this. This is a warning rather than an error. MySQL only.

WILL_DELETE_EXISTING = 57;

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()