Interface MysqlSslConfigOrBuilder (1.43.0)

public interface MysqlSslConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCaCertificate()

public abstract String getCaCertificate()

Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.

string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
String

The caCertificate.

getCaCertificateBytes()

public abstract ByteString getCaCertificateBytes()

Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.

string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ByteString

The bytes for caCertificate.

getCaCertificateSet()

public abstract boolean getCaCertificateSet()

Output only. Indicates whether the ca_certificate field is set.

bool ca_certificate_set = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The caCertificateSet.

getClientCertificate()

public abstract String getClientCertificate()

Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'client_key' and the 'ca_certificate' fields are mandatory.

string client_certificate = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
String

The clientCertificate.

getClientCertificateBytes()

public abstract ByteString getClientCertificateBytes()

Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'client_key' and the 'ca_certificate' fields are mandatory.

string client_certificate = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ByteString

The bytes for clientCertificate.

getClientCertificateSet()

public abstract boolean getClientCertificateSet()

Output only. Indicates whether the client_certificate field is set.

bool client_certificate_set = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The clientCertificateSet.

getClientKey()

public abstract String getClientKey()

Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory.

string client_key = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
String

The clientKey.

getClientKeyBytes()

public abstract ByteString getClientKeyBytes()

Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory.

string client_key = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ByteString

The bytes for clientKey.

getClientKeySet()

public abstract boolean getClientKeySet()

Output only. Indicates whether the client_key field is set.

bool client_key_set = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The clientKeySet.