Interface SqlInstancesVerifyExternalSyncSettingsRequestOrBuilder (0.1.0)

public interface SqlInstancesVerifyExternalSyncSettingsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstance()

public abstract String getInstance()

Cloud SQL instance ID. This does not include the project ID.

string instance = 1;

Returns
Type Description
String

The instance.

getInstanceBytes()

public abstract ByteString getInstanceBytes()

Cloud SQL instance ID. This does not include the project ID.

string instance = 1;

Returns
Type Description
ByteString

The bytes for instance.

getMigrationType()

public abstract SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType getMigrationType()

Optional. MigrationType configures the migration to use physical files or logical dump files. If not set, then the logical dump file configuration is used. Valid values are LOGICAL or PHYSICAL. Only applicable to MySQL.

.google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType

The migrationType.

getMigrationTypeValue()

public abstract int getMigrationTypeValue()

Optional. MigrationType configures the migration to use physical files or logical dump files. If not set, then the logical dump file configuration is used. Valid values are LOGICAL or PHYSICAL. Only applicable to MySQL.

.google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for migrationType.

getMysqlSyncConfig()

public abstract MySqlSyncConfig getMysqlSyncConfig()

Optional. MySQL-specific settings for start external sync.

.google.cloud.sql.v1beta4.MySqlSyncConfig mysql_sync_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MySqlSyncConfig

The mysqlSyncConfig.

getMysqlSyncConfigOrBuilder()

public abstract MySqlSyncConfigOrBuilder getMysqlSyncConfigOrBuilder()

Optional. MySQL-specific settings for start external sync.

.google.cloud.sql.v1beta4.MySqlSyncConfig mysql_sync_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MySqlSyncConfigOrBuilder

getProject()

public abstract String getProject()

Project ID of the project that contains the instance.

string project = 2;

Returns
Type Description
String

The project.

getProjectBytes()

public abstract ByteString getProjectBytes()

Project ID of the project that contains the instance.

string project = 2;

Returns
Type Description
ByteString

The bytes for project.

getSelectedObjects(int index)

public abstract ExternalSyncSelectedObject getSelectedObjects(int index)

Optional. Migrate only the specified objects from the source instance. If this field is empty, then migrate all objects.

repeated .google.cloud.sql.v1beta4.ExternalSyncSelectedObject selected_objects = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ExternalSyncSelectedObject

getSelectedObjectsCount()

public abstract int getSelectedObjectsCount()

Optional. Migrate only the specified objects from the source instance. If this field is empty, then migrate all objects.

repeated .google.cloud.sql.v1beta4.ExternalSyncSelectedObject selected_objects = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getSelectedObjectsList()

public abstract List<ExternalSyncSelectedObject> getSelectedObjectsList()

Optional. Migrate only the specified objects from the source instance. If this field is empty, then migrate all objects.

repeated .google.cloud.sql.v1beta4.ExternalSyncSelectedObject selected_objects = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ExternalSyncSelectedObject>

getSelectedObjectsOrBuilder(int index)

public abstract ExternalSyncSelectedObjectOrBuilder getSelectedObjectsOrBuilder(int index)

Optional. Migrate only the specified objects from the source instance. If this field is empty, then migrate all objects.

repeated .google.cloud.sql.v1beta4.ExternalSyncSelectedObject selected_objects = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ExternalSyncSelectedObjectOrBuilder

getSelectedObjectsOrBuilderList()

public abstract List<? extends ExternalSyncSelectedObjectOrBuilder> getSelectedObjectsOrBuilderList()

Optional. Migrate only the specified objects from the source instance. If this field is empty, then migrate all objects.

repeated .google.cloud.sql.v1beta4.ExternalSyncSelectedObject selected_objects = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.sql.v1beta4.ExternalSyncSelectedObjectOrBuilder>

getSyncConfigCase()

public abstract SqlInstancesVerifyExternalSyncSettingsRequest.SyncConfigCase getSyncConfigCase()
Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.SyncConfigCase

getSyncMode()

public abstract SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode getSyncMode()

External sync mode

.google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode sync_mode = 4;

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode

The syncMode.

getSyncModeValue()

public abstract int getSyncModeValue()

External sync mode

.google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode sync_mode = 4;

Returns
Type Description
int

The enum numeric value on the wire for syncMode.

getSyncParallelLevel()

public abstract ExternalSyncParallelLevel getSyncParallelLevel()

Optional. Parallel level for initial data sync. Only applicable for PostgreSQL.

.google.cloud.sql.v1beta4.ExternalSyncParallelLevel sync_parallel_level = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExternalSyncParallelLevel

The syncParallelLevel.

getSyncParallelLevelValue()

public abstract int getSyncParallelLevelValue()

Optional. Parallel level for initial data sync. Only applicable for PostgreSQL.

.google.cloud.sql.v1beta4.ExternalSyncParallelLevel sync_parallel_level = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for syncParallelLevel.

getVerifyConnectionOnly()

public abstract boolean getVerifyConnectionOnly()

Flag to enable verifying connection only

bool verify_connection_only = 3;

Returns
Type Description
boolean

The verifyConnectionOnly.

getVerifyReplicationOnly()

public abstract boolean getVerifyReplicationOnly()

Optional. Flag to verify settings required by replication setup only

bool verify_replication_only = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The verifyReplicationOnly.

hasMysqlSyncConfig()

public abstract boolean hasMysqlSyncConfig()

Optional. MySQL-specific settings for start external sync.

.google.cloud.sql.v1beta4.MySqlSyncConfig mysql_sync_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the mysqlSyncConfig field is set.