public final class MySqlReplicaConfiguration extends GeneratedMessage implements MySqlReplicaConfigurationOrBuilder
Read-replica configuration specific to MySQL databases.
Protobuf type google.cloud.sql.v1beta4.MySqlReplicaConfiguration
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
CA_CERTIFICATE_FIELD_NUMBER
public static final int CA_CERTIFICATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CLIENT_CERTIFICATE_FIELD_NUMBER
public static final int CLIENT_CERTIFICATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CLIENT_KEY_FIELD_NUMBER
public static final int CLIENT_KEY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CONNECT_RETRY_INTERVAL_FIELD_NUMBER
public static final int CONNECT_RETRY_INTERVAL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DUMP_FILE_PATH_FIELD_NUMBER
public static final int DUMP_FILE_PATH_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MASTER_HEARTBEAT_PERIOD_FIELD_NUMBER
public static final int MASTER_HEARTBEAT_PERIOD_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PASSWORD_FIELD_NUMBER
public static final int PASSWORD_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SSL_CIPHER_FIELD_NUMBER
public static final int SSL_CIPHER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VERIFY_SERVER_CERTIFICATE_FIELD_NUMBER
public static final int VERIFY_SERVER_CERTIFICATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static MySqlReplicaConfiguration getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MySqlReplicaConfiguration.Builder newBuilder()
newBuilder(MySqlReplicaConfiguration prototype)
public static MySqlReplicaConfiguration.Builder newBuilder(MySqlReplicaConfiguration prototype)
public static MySqlReplicaConfiguration parseDelimitedFrom(InputStream input)
public static MySqlReplicaConfiguration parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MySqlReplicaConfiguration parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MySqlReplicaConfiguration parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MySqlReplicaConfiguration parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MySqlReplicaConfiguration parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MySqlReplicaConfiguration parseFrom(CodedInputStream input)
public static MySqlReplicaConfiguration parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MySqlReplicaConfiguration parseFrom(InputStream input)
public static MySqlReplicaConfiguration parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MySqlReplicaConfiguration parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MySqlReplicaConfiguration parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MySqlReplicaConfiguration> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCaCertificate()
public String getCaCertificate()
PEM representation of the trusted CA's x509 certificate.
string ca_certificate = 6;
| Returns |
| Type |
Description |
String |
The caCertificate.
|
getCaCertificateBytes()
public ByteString getCaCertificateBytes()
PEM representation of the trusted CA's x509 certificate.
string ca_certificate = 6;
| Returns |
| Type |
Description |
ByteString |
The bytes for caCertificate.
|
getClientCertificate()
public String getClientCertificate()
PEM representation of the replica's x509 certificate.
string client_certificate = 7;
| Returns |
| Type |
Description |
String |
The clientCertificate.
|
getClientCertificateBytes()
public ByteString getClientCertificateBytes()
PEM representation of the replica's x509 certificate.
string client_certificate = 7;
| Returns |
| Type |
Description |
ByteString |
The bytes for clientCertificate.
|
getClientKey()
public String getClientKey()
PEM representation of the replica's private key. The corresponding public
key is encoded in the client's certificate.
string client_key = 8;
| Returns |
| Type |
Description |
String |
The clientKey.
|
getClientKeyBytes()
public ByteString getClientKeyBytes()
PEM representation of the replica's private key. The corresponding public
key is encoded in the client's certificate.
string client_key = 8;
| Returns |
| Type |
Description |
ByteString |
The bytes for clientKey.
|
getConnectRetryInterval()
public Int32Value getConnectRetryInterval()
Seconds to wait between connect retries. MySQL's default is 60 seconds.
.google.protobuf.Int32Value connect_retry_interval = 4;
| Returns |
| Type |
Description |
Int32Value |
The connectRetryInterval.
|
getConnectRetryIntervalOrBuilder()
public Int32ValueOrBuilder getConnectRetryIntervalOrBuilder()
Seconds to wait between connect retries. MySQL's default is 60 seconds.
.google.protobuf.Int32Value connect_retry_interval = 4;
getDefaultInstanceForType()
public MySqlReplicaConfiguration getDefaultInstanceForType()
getDumpFilePath()
public String getDumpFilePath()
Path to a SQL dump file in Google Cloud Storage from which the replica
instance is to be created. The URI is in the form gs://bucketName/fileName.
Compressed gzip files (.gz) are also supported.
Dumps have the binlog co-ordinates from which replication
begins. This can be accomplished by setting --master-data to 1 when using
mysqldump.
string dump_file_path = 1;
| Returns |
| Type |
Description |
String |
The dumpFilePath.
|
getDumpFilePathBytes()
public ByteString getDumpFilePathBytes()
Path to a SQL dump file in Google Cloud Storage from which the replica
instance is to be created. The URI is in the form gs://bucketName/fileName.
Compressed gzip files (.gz) are also supported.
Dumps have the binlog co-ordinates from which replication
begins. This can be accomplished by setting --master-data to 1 when using
mysqldump.
string dump_file_path = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for dumpFilePath.
|
getKind()
This is always sql#mysqlReplicaConfiguration.
string kind = 11;
| Returns |
| Type |
Description |
String |
The kind.
|
getKindBytes()
public ByteString getKindBytes()
This is always sql#mysqlReplicaConfiguration.
string kind = 11;
| Returns |
| Type |
Description |
ByteString |
The bytes for kind.
|
getMasterHeartbeatPeriod()
public Int64Value getMasterHeartbeatPeriod()
Interval in milliseconds between replication heartbeats.
.google.protobuf.Int64Value master_heartbeat_period = 5;
| Returns |
| Type |
Description |
Int64Value |
The masterHeartbeatPeriod.
|
getMasterHeartbeatPeriodOrBuilder()
public Int64ValueOrBuilder getMasterHeartbeatPeriodOrBuilder()
Interval in milliseconds between replication heartbeats.
.google.protobuf.Int64Value master_heartbeat_period = 5;
getParserForType()
public Parser<MySqlReplicaConfiguration> getParserForType()
Overrides
getPassword()
public String getPassword()
The password for the replication connection.
string password = 3;
| Returns |
| Type |
Description |
String |
The password.
|
getPasswordBytes()
public ByteString getPasswordBytes()
The password for the replication connection.
string password = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for password.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSslCipher()
public String getSslCipher()
A list of permissible ciphers to use for SSL encryption.
string ssl_cipher = 9;
| Returns |
| Type |
Description |
String |
The sslCipher.
|
getSslCipherBytes()
public ByteString getSslCipherBytes()
A list of permissible ciphers to use for SSL encryption.
string ssl_cipher = 9;
| Returns |
| Type |
Description |
ByteString |
The bytes for sslCipher.
|
getUsername()
public String getUsername()
The username for the replication connection.
string username = 2;
| Returns |
| Type |
Description |
String |
The username.
|
getUsernameBytes()
public ByteString getUsernameBytes()
The username for the replication connection.
string username = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for username.
|
getVerifyServerCertificate()
public BoolValue getVerifyServerCertificate()
Whether or not to check the primary instance's Common Name value in the
certificate that it sends during the SSL handshake.
.google.protobuf.BoolValue verify_server_certificate = 10;
| Returns |
| Type |
Description |
BoolValue |
The verifyServerCertificate.
|
getVerifyServerCertificateOrBuilder()
public BoolValueOrBuilder getVerifyServerCertificateOrBuilder()
Whether or not to check the primary instance's Common Name value in the
certificate that it sends during the SSL handshake.
.google.protobuf.BoolValue verify_server_certificate = 10;
hasConnectRetryInterval()
public boolean hasConnectRetryInterval()
Seconds to wait between connect retries. MySQL's default is 60 seconds.
.google.protobuf.Int32Value connect_retry_interval = 4;
| Returns |
| Type |
Description |
boolean |
Whether the connectRetryInterval field is set.
|
hasMasterHeartbeatPeriod()
public boolean hasMasterHeartbeatPeriod()
Interval in milliseconds between replication heartbeats.
.google.protobuf.Int64Value master_heartbeat_period = 5;
| Returns |
| Type |
Description |
boolean |
Whether the masterHeartbeatPeriod field is set.
|
hasVerifyServerCertificate()
public boolean hasVerifyServerCertificate()
Whether or not to check the primary instance's Common Name value in the
certificate that it sends during the SSL handshake.
.google.protobuf.BoolValue verify_server_certificate = 10;
| Returns |
| Type |
Description |
boolean |
Whether the verifyServerCertificate field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MySqlReplicaConfiguration.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected MySqlReplicaConfiguration.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public MySqlReplicaConfiguration.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides