public final class SqlInstancesStartExternalSyncRequest extends GeneratedMessage implements SqlInstancesStartExternalSyncRequestOrBuilder
Protobuf type google.cloud.sql.v1beta4.SqlInstancesStartExternalSyncRequest
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SqlInstancesStartExternalSyncRequest.Builder newBuilder()
newBuilder(SqlInstancesStartExternalSyncRequest prototype)
public static SqlInstancesStartExternalSyncRequest.Builder newBuilder(SqlInstancesStartExternalSyncRequest prototype)
parseDelimitedFrom(InputStream input)
public static SqlInstancesStartExternalSyncRequest parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SqlInstancesStartExternalSyncRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SqlInstancesStartExternalSyncRequest parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SqlInstancesStartExternalSyncRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SqlInstancesStartExternalSyncRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SqlInstancesStartExternalSyncRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static SqlInstancesStartExternalSyncRequest parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SqlInstancesStartExternalSyncRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static SqlInstancesStartExternalSyncRequest parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SqlInstancesStartExternalSyncRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SqlInstancesStartExternalSyncRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SqlInstancesStartExternalSyncRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SqlInstancesStartExternalSyncRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public SqlInstancesStartExternalSyncRequest getDefaultInstanceForType()
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.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest.MigrationType migration_type = 8 [(.google.api.field_behavior) = OPTIONAL];
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.v1beta4.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.v1beta4.MySqlSyncConfig mysql_sync_config = 6;
getMysqlSyncConfigOrBuilder()
public MySqlSyncConfigOrBuilder getMysqlSyncConfigOrBuilder()
MySQL-specific settings for start external sync.
.google.cloud.sql.v1beta4.MySqlSyncConfig mysql_sync_config = 6;
getParserForType()
public Parser<SqlInstancesStartExternalSyncRequest> getParserForType()
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()
getSyncMode()
public SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode getSyncMode()
External sync mode.
.google.cloud.sql.v1beta4.SqlInstancesVerifyExternalSyncSettingsRequest.ExternalSyncMode sync_mode = 3;
getSyncModeValue()
public int getSyncModeValue()
External sync mode.
.google.cloud.sql.v1beta4.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.v1beta4.ExternalSyncParallelLevel sync_parallel_level = 7 [(.google.api.field_behavior) = OPTIONAL];
getSyncParallelLevelValue()
public int getSyncParallelLevelValue()
Optional. Parallel level for initial data sync. Currently only applicable
for MySQL.
.google.cloud.sql.v1beta4.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.v1beta4.MySqlSyncConfig mysql_sync_config = 6;
| Returns |
| Type |
Description |
boolean |
Whether the mysqlSyncConfig field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SqlInstancesStartExternalSyncRequest.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SqlInstancesStartExternalSyncRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public SqlInstancesStartExternalSyncRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides