Enum MigrationJobVerificationError.ErrorCode

    • Enum Constant Detail

      • 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_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;
      • INVALID_RDS_LOGICAL_REPLICATION

        public static final MigrationJobVerificationError.ErrorCode INVALID_RDS_LOGICAL_REPLICATION
         Invalid RDS logical replication.
         
        INVALID_RDS_LOGICAL_REPLICATION = 16;
      • 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;
      • 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;
      • 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_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;
      • 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;
    • 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 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 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 name
        NullPointerException - 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.
      • 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 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 name
        NullPointerException - if the argument is null