Class SqlInstancesVerifyExternalSyncSettingsRequest.Builder (0.1.0)

public static final class SqlInstancesVerifyExternalSyncSettingsRequest.Builder extends GeneratedMessage.Builder<SqlInstancesVerifyExternalSyncSettingsRequest.Builder> implements SqlInstancesVerifyExternalSyncSettingsRequestOrBuilder

Instance verify external sync settings request.

Protobuf type google.cloud.sql.v1.SqlInstancesVerifyExternalSyncSettingsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllSelectedObjects(Iterable<? extends ExternalSyncSelectedObject> values)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder addAllSelectedObjects(Iterable<? extends ExternalSyncSelectedObject> values)

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

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.sql.v1.ExternalSyncSelectedObject>
Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

addSelectedObjects(ExternalSyncSelectedObject value)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder addSelectedObjects(ExternalSyncSelectedObject value)

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

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

Parameter
Name Description
value ExternalSyncSelectedObject
Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

addSelectedObjects(ExternalSyncSelectedObject.Builder builderForValue)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder addSelectedObjects(ExternalSyncSelectedObject.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue ExternalSyncSelectedObject.Builder
Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

addSelectedObjects(int index, ExternalSyncSelectedObject value)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder addSelectedObjects(int index, ExternalSyncSelectedObject value)

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

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

Parameters
Name Description
index int
value ExternalSyncSelectedObject
Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

addSelectedObjects(int index, ExternalSyncSelectedObject.Builder builderForValue)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder addSelectedObjects(int index, ExternalSyncSelectedObject.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue ExternalSyncSelectedObject.Builder
Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

addSelectedObjectsBuilder()

public ExternalSyncSelectedObject.Builder addSelectedObjectsBuilder()

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

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

Returns
Type Description
ExternalSyncSelectedObject.Builder

addSelectedObjectsBuilder(int index)

public ExternalSyncSelectedObject.Builder addSelectedObjectsBuilder(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.v1.ExternalSyncSelectedObject selected_objects = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ExternalSyncSelectedObject.Builder

build()

public SqlInstancesVerifyExternalSyncSettingsRequest build()
Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest

buildPartial()

public SqlInstancesVerifyExternalSyncSettingsRequest buildPartial()
Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest

clear()

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder clear()
Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder
Overrides

clearInstance()

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder clearInstance()

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

string instance = 1;

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

This builder for chaining.

clearMigrationType()

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder clearMigrationType()

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.v1.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

This builder for chaining.

clearMysqlSyncConfig()

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder clearMysqlSyncConfig()

Optional. MySQL-specific settings for start external sync.

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

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

clearProject()

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder clearProject()

Project ID of the project that contains the instance.

string project = 2;

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

This builder for chaining.

clearSelectedObjects()

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder clearSelectedObjects()

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

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

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

clearSyncConfig()

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder clearSyncConfig()
Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

clearSyncMode()

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder clearSyncMode()

External sync mode

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

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

This builder for chaining.

clearSyncParallelLevel()

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder clearSyncParallelLevel()

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

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

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

This builder for chaining.

clearVerifyConnectionOnly()

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder clearVerifyConnectionOnly()

Flag to enable verifying connection only

bool verify_connection_only = 3;

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

This builder for chaining.

clearVerifyReplicationOnly()

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder clearVerifyReplicationOnly()

Optional. Flag to verify settings required by replication setup only

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

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public SqlInstancesVerifyExternalSyncSettingsRequest getDefaultInstanceForType()
Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInstance()

public String getInstance()

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

string instance = 1;

Returns
Type Description
String

The instance.

getInstanceBytes()

public 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 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.v1.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType

The migrationType.

getMigrationTypeValue()

public 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.v1.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 MySqlSyncConfig getMysqlSyncConfig()

Optional. MySQL-specific settings for start external sync.

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

Returns
Type Description
MySqlSyncConfig

The mysqlSyncConfig.

getMysqlSyncConfigBuilder()

public MySqlSyncConfig.Builder getMysqlSyncConfigBuilder()

Optional. MySQL-specific settings for start external sync.

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

Returns
Type Description
MySqlSyncConfig.Builder

getMysqlSyncConfigOrBuilder()

public MySqlSyncConfigOrBuilder getMysqlSyncConfigOrBuilder()

Optional. MySQL-specific settings for start external sync.

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

Returns
Type Description
MySqlSyncConfigOrBuilder

getProject()

public String getProject()

Project ID of the project that contains the instance.

string project = 2;

Returns
Type Description
String

The project.

getProjectBytes()

public 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 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.v1.ExternalSyncSelectedObject selected_objects = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ExternalSyncSelectedObject

getSelectedObjectsBuilder(int index)

public ExternalSyncSelectedObject.Builder getSelectedObjectsBuilder(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.v1.ExternalSyncSelectedObject selected_objects = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ExternalSyncSelectedObject.Builder

getSelectedObjectsBuilderList()

public List<ExternalSyncSelectedObject.Builder> getSelectedObjectsBuilderList()

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

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

Returns
Type Description
List<Builder>

getSelectedObjectsCount()

public 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.v1.ExternalSyncSelectedObject selected_objects = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getSelectedObjectsList()

public 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.v1.ExternalSyncSelectedObject selected_objects = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ExternalSyncSelectedObject>

getSelectedObjectsOrBuilder(int index)

public 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.v1.ExternalSyncSelectedObject selected_objects = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ExternalSyncSelectedObjectOrBuilder

getSelectedObjectsOrBuilderList()

public 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.v1.ExternalSyncSelectedObject selected_objects = 9 [(.google.api.field_behavior) = OPTIONAL];

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

getSyncConfigCase()

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

getSyncMode()

public SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode getSyncMode()

External sync mode

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

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode

The syncMode.

getSyncModeValue()

public int getSyncModeValue()

External sync mode

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

Returns
Type Description
int

The enum numeric value on the wire for syncMode.

getSyncParallelLevel()

public ExternalSyncParallelLevel getSyncParallelLevel()

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

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

Returns
Type Description
ExternalSyncParallelLevel

The syncParallelLevel.

getSyncParallelLevelValue()

public int getSyncParallelLevelValue()

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

.google.cloud.sql.v1.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 boolean getVerifyConnectionOnly()

Flag to enable verifying connection only

bool verify_connection_only = 3;

Returns
Type Description
boolean

The verifyConnectionOnly.

getVerifyReplicationOnly()

public 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 boolean hasMysqlSyncConfig()

Optional. MySQL-specific settings for start external sync.

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

Returns
Type Description
boolean

Whether the mysqlSyncConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SqlInstancesVerifyExternalSyncSettingsRequest other)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder mergeFrom(SqlInstancesVerifyExternalSyncSettingsRequest other)
Parameter
Name Description
other SqlInstancesVerifyExternalSyncSettingsRequest
Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder
Overrides

mergeMysqlSyncConfig(MySqlSyncConfig value)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder mergeMysqlSyncConfig(MySqlSyncConfig value)

Optional. MySQL-specific settings for start external sync.

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

Parameter
Name Description
value MySqlSyncConfig
Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

removeSelectedObjects(int index)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder removeSelectedObjects(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.v1.ExternalSyncSelectedObject selected_objects = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

setInstance(String value)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder setInstance(String value)

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

string instance = 1;

Parameter
Name Description
value String

The instance to set.

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

This builder for chaining.

setInstanceBytes(ByteString value)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder setInstanceBytes(ByteString value)

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

string instance = 1;

Parameter
Name Description
value ByteString

The bytes for instance to set.

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

This builder for chaining.

setMigrationType(SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType value)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder setMigrationType(SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType value)

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.v1.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType

The migrationType to set.

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

This builder for chaining.

setMigrationTypeValue(int value)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder setMigrationTypeValue(int value)

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.v1.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for migrationType to set.

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

This builder for chaining.

setMysqlSyncConfig(MySqlSyncConfig value)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder setMysqlSyncConfig(MySqlSyncConfig value)

Optional. MySQL-specific settings for start external sync.

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

Parameter
Name Description
value MySqlSyncConfig
Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

setMysqlSyncConfig(MySqlSyncConfig.Builder builderForValue)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder setMysqlSyncConfig(MySqlSyncConfig.Builder builderForValue)

Optional. MySQL-specific settings for start external sync.

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

Parameter
Name Description
builderForValue MySqlSyncConfig.Builder
Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

setProject(String value)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder setProject(String value)

Project ID of the project that contains the instance.

string project = 2;

Parameter
Name Description
value String

The project to set.

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder setProjectBytes(ByteString value)

Project ID of the project that contains the instance.

string project = 2;

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

This builder for chaining.

setSelectedObjects(int index, ExternalSyncSelectedObject value)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder setSelectedObjects(int index, ExternalSyncSelectedObject value)

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

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

Parameters
Name Description
index int
value ExternalSyncSelectedObject
Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

setSelectedObjects(int index, ExternalSyncSelectedObject.Builder builderForValue)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder setSelectedObjects(int index, ExternalSyncSelectedObject.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue ExternalSyncSelectedObject.Builder
Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

setSyncMode(SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode value)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder setSyncMode(SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode value)

External sync mode

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

Parameter
Name Description
value SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode

The syncMode to set.

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

This builder for chaining.

setSyncModeValue(int value)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder setSyncModeValue(int value)

External sync mode

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

Parameter
Name Description
value int

The enum numeric value on the wire for syncMode to set.

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

This builder for chaining.

setSyncParallelLevel(ExternalSyncParallelLevel value)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder setSyncParallelLevel(ExternalSyncParallelLevel value)

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

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

Parameter
Name Description
value ExternalSyncParallelLevel

The syncParallelLevel to set.

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

This builder for chaining.

setSyncParallelLevelValue(int value)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder setSyncParallelLevelValue(int value)

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

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

Parameter
Name Description
value int

The enum numeric value on the wire for syncParallelLevel to set.

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

This builder for chaining.

setVerifyConnectionOnly(boolean value)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder setVerifyConnectionOnly(boolean value)

Flag to enable verifying connection only

bool verify_connection_only = 3;

Parameter
Name Description
value boolean

The verifyConnectionOnly to set.

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

This builder for chaining.

setVerifyReplicationOnly(boolean value)

public SqlInstancesVerifyExternalSyncSettingsRequest.Builder setVerifyReplicationOnly(boolean value)

Optional. Flag to verify settings required by replication setup only

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

Parameter
Name Description
value boolean

The verifyReplicationOnly to set.

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.Builder

This builder for chaining.