Class SqlInstancesStartExternalSyncRequest (0.1.0)

public final class SqlInstancesStartExternalSyncRequest extends GeneratedMessage implements SqlInstancesStartExternalSyncRequestOrBuilder

Instance start external sync request.

Protobuf type google.cloud.sql.v1.SqlInstancesStartExternalSyncRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SqlInstancesStartExternalSyncRequest

Static Fields

INSTANCE_FIELD_NUMBER

public static final int INSTANCE_FIELD_NUMBER
Field Value
Type Description
int

MIGRATION_TYPE_FIELD_NUMBER

public static final int MIGRATION_TYPE_FIELD_NUMBER
Field Value
Type Description
int

MYSQL_SYNC_CONFIG_FIELD_NUMBER

public static final int MYSQL_SYNC_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

PROJECT_FIELD_NUMBER

public static final int PROJECT_FIELD_NUMBER
Field Value
Type Description
int

REPLICA_OVERWRITE_ENABLED_FIELD_NUMBER

public static final int REPLICA_OVERWRITE_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

SKIP_VERIFICATION_FIELD_NUMBER

public static final int SKIP_VERIFICATION_FIELD_NUMBER
Field Value
Type Description
int

SYNC_MODE_FIELD_NUMBER

public static final int SYNC_MODE_FIELD_NUMBER
Field Value
Type Description
int

SYNC_PARALLEL_LEVEL_FIELD_NUMBER

public static final int SYNC_PARALLEL_LEVEL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SqlInstancesStartExternalSyncRequest getDefaultInstance()
Returns
Type Description
SqlInstancesStartExternalSyncRequest

getDescriptor()

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

newBuilder()

public static SqlInstancesStartExternalSyncRequest.Builder newBuilder()
Returns
Type Description
SqlInstancesStartExternalSyncRequest.Builder

newBuilder(SqlInstancesStartExternalSyncRequest prototype)

public static SqlInstancesStartExternalSyncRequest.Builder newBuilder(SqlInstancesStartExternalSyncRequest prototype)
Parameter
Name Description
prototype SqlInstancesStartExternalSyncRequest
Returns
Type Description
SqlInstancesStartExternalSyncRequest.Builder

parseDelimitedFrom(InputStream input)

public static SqlInstancesStartExternalSyncRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SqlInstancesStartExternalSyncRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SqlInstancesStartExternalSyncRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlInstancesStartExternalSyncRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SqlInstancesStartExternalSyncRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SqlInstancesStartExternalSyncRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SqlInstancesStartExternalSyncRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlInstancesStartExternalSyncRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SqlInstancesStartExternalSyncRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SqlInstancesStartExternalSyncRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SqlInstancesStartExternalSyncRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlInstancesStartExternalSyncRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SqlInstancesStartExternalSyncRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SqlInstancesStartExternalSyncRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SqlInstancesStartExternalSyncRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlInstancesStartExternalSyncRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SqlInstancesStartExternalSyncRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SqlInstancesStartExternalSyncRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SqlInstancesStartExternalSyncRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlInstancesStartExternalSyncRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SqlInstancesStartExternalSyncRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SqlInstancesStartExternalSyncRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SqlInstancesStartExternalSyncRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlInstancesStartExternalSyncRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SqlInstancesStartExternalSyncRequest> parser()
Returns
Type Description
Parser<SqlInstancesStartExternalSyncRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SqlInstancesStartExternalSyncRequest getDefaultInstanceForType()
Returns
Type Description
SqlInstancesStartExternalSyncRequest

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 = 8 [(.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 = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for migrationType.

getMysqlSyncConfig()

public MySqlSyncConfig getMysqlSyncConfig()

MySQL-specific settings for start external sync.

.google.cloud.sql.v1.MySqlSyncConfig mysql_sync_config = 6;

Returns
Type Description
MySqlSyncConfig

The mysqlSyncConfig.

getMysqlSyncConfigOrBuilder()

public MySqlSyncConfigOrBuilder getMysqlSyncConfigOrBuilder()

MySQL-specific settings for start external sync.

.google.cloud.sql.v1.MySqlSyncConfig mysql_sync_config = 6;

Returns
Type Description
MySqlSyncConfigOrBuilder

getParserForType()

public Parser<SqlInstancesStartExternalSyncRequest> getParserForType()
Returns
Type Description
Parser<SqlInstancesStartExternalSyncRequest>
Overrides

getProject()

public String getProject()

ID of the project that contains the instance.

string project = 2;

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

ID of the project that contains the instance.

string project = 2;

Returns
Type Description
ByteString

The bytes for project.

getReplicaOverwriteEnabled()

public boolean getReplicaOverwriteEnabled()

Optional. MySQL only. True if end-user has confirmed that this SES call will wipe replica databases overlapping with the proposed selected_objects. If this field is not set and there are both overlapping and additional databases proposed, an error will be returned.

bool replica_overwrite_enabled = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The replicaOverwriteEnabled.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSkipVerification()

public boolean getSkipVerification()

Whether to skip the verification step (VESS).

bool skip_verification = 4;

Returns
Type Description
boolean

The skipVerification.

getSyncConfigCase()

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

getSyncMode()

public SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode getSyncMode()

External sync mode.

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

Returns
Type Description
SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode

The syncMode.

getSyncModeValue()

public int getSyncModeValue()

External sync mode.

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

Returns
Type Description
int

The enum numeric value on the wire for syncMode.

getSyncParallelLevel()

public ExternalSyncParallelLevel getSyncParallelLevel()

Optional. Parallel level for initial data sync. Currently only applicable for MySQL.

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

Returns
Type Description
ExternalSyncParallelLevel

The syncParallelLevel.

getSyncParallelLevelValue()

public int getSyncParallelLevelValue()

Optional. Parallel level for initial data sync. Currently only applicable for MySQL.

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

Returns
Type Description
int

The enum numeric value on the wire for syncParallelLevel.

hasMysqlSyncConfig()

public boolean hasMysqlSyncConfig()

MySQL-specific settings for start external sync.

.google.cloud.sql.v1.MySqlSyncConfig mysql_sync_config = 6;

Returns
Type Description
boolean

Whether the mysqlSyncConfig field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SqlInstancesStartExternalSyncRequest.Builder newBuilderForType()
Returns
Type Description
SqlInstancesStartExternalSyncRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected SqlInstancesStartExternalSyncRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SqlInstancesStartExternalSyncRequest.Builder
Overrides

toBuilder()

public SqlInstancesStartExternalSyncRequest.Builder toBuilder()
Returns
Type Description
SqlInstancesStartExternalSyncRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException