    public interface MySqlReplicaConfigurationOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getCaCertificate()

    public abstract String getCaCertificate()

PEM representation of the trusted CA's x509 certificate.

`string ca_certificate = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The caCertificate. |

### getCaCertificateBytes()

    public abstract ByteString getCaCertificateBytes()

PEM representation of the trusted CA's x509 certificate.

`string ca_certificate = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for caCertificate. |

### getClientCertificate()

    public abstract String getClientCertificate()

PEM representation of the replica's x509 certificate.

`string client_certificate = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The clientCertificate. |

### getClientCertificateBytes()

    public abstract ByteString getClientCertificateBytes()

PEM representation of the replica's x509 certificate.

`string client_certificate = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for clientCertificate. |

### getClientKey()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The clientKey. |

### getClientKeyBytes()

    public abstract 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for clientKey. |

### getConnectRetryInterval()

    public abstract Int32Value getConnectRetryInterval()

Seconds to wait between connect retries. MySQL's default is 60 seconds.

`.google.protobuf.Int32Value connect_retry_interval = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Int32Value.html` | The connectRetryInterval. |

### getConnectRetryIntervalOrBuilder()

    public abstract Int32ValueOrBuilder getConnectRetryIntervalOrBuilder()

Seconds to wait between connect retries. MySQL's default is 60 seconds.

`.google.protobuf.Int32Value connect_retry_interval = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Int32ValueOrBuilder.html` |   |

### getDumpFilePath()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The dumpFilePath. |

### getDumpFilePathBytes()

    public abstract 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for dumpFilePath. |

### getKind()

    public abstract String getKind()

This is always `sql#mysqlReplicaConfiguration`.

`string kind = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The kind. |

### getKindBytes()

    public abstract ByteString getKindBytes()

This is always `sql#mysqlReplicaConfiguration`.

`string kind = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for kind. |

### getMasterHeartbeatPeriod()

    public abstract Int64Value getMasterHeartbeatPeriod()

Interval in milliseconds between replication heartbeats.

`.google.protobuf.Int64Value master_heartbeat_period = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Int64Value.html` | The masterHeartbeatPeriod. |

### getMasterHeartbeatPeriodOrBuilder()

    public abstract Int64ValueOrBuilder getMasterHeartbeatPeriodOrBuilder()

Interval in milliseconds between replication heartbeats.

`.google.protobuf.Int64Value master_heartbeat_period = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Int64ValueOrBuilder.html` |   |

### getPassword()

    public abstract String getPassword()

The password for the replication connection.

`string password = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The password. |

### getPasswordBytes()

    public abstract ByteString getPasswordBytes()

The password for the replication connection.

`string password = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for password. |

### getSslCipher()

    public abstract String getSslCipher()

A list of permissible ciphers to use for SSL encryption.

`string ssl_cipher = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The sslCipher. |

### getSslCipherBytes()

    public abstract ByteString getSslCipherBytes()

A list of permissible ciphers to use for SSL encryption.

`string ssl_cipher = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for sslCipher. |

### getUsername()

    public abstract String getUsername()

The username for the replication connection.

`string username = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The username. |

### getUsernameBytes()

    public abstract ByteString getUsernameBytes()

The username for the replication connection.

`string username = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for username. |

### getVerifyServerCertificate()

    public abstract 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.BoolValue.html` | The verifyServerCertificate. |

### getVerifyServerCertificateOrBuilder()

    public abstract 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;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.BoolValueOrBuilder.html` |   |

### hasConnectRetryInterval()

    public abstract boolean hasConnectRetryInterval()

Seconds to wait between connect retries. MySQL's default is 60 seconds.

`.google.protobuf.Int32Value connect_retry_interval = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the connectRetryInterval field is set. |

### hasMasterHeartbeatPeriod()

    public abstract boolean hasMasterHeartbeatPeriod()

Interval in milliseconds between replication heartbeats.

`.google.protobuf.Int64Value master_heartbeat_period = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the masterHeartbeatPeriod field is set. |

### hasVerifyServerCertificate()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the verifyServerCertificate field is set. |