Interface SslConfigOrBuilder (2.12.0)

Stay organized with collections Save and categorize content based on your preferences.
public interface SslConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCaCertificate()

public abstract String getCaCertificate()

Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host.

string ca_certificate = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The caCertificate.

getCaCertificateBytes()

public abstract ByteString getCaCertificateBytes()

Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host.

string ca_certificate = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for caCertificate.

getClientCertificate()

public abstract String getClientCertificate()

Input only. The x509 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' field is mandatory.

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

Returns
TypeDescription
String

The clientCertificate.

getClientCertificateBytes()

public abstract ByteString getClientCertificateBytes()

Input only. The x509 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' field is mandatory.

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

Returns
TypeDescription
ByteString

The bytes for clientCertificate.

getClientKey()

public abstract String getClientKey()

Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' field is mandatory.

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

Returns
TypeDescription
String

The clientKey.

getClientKeyBytes()

public abstract ByteString getClientKeyBytes()

Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' field is mandatory.

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

Returns
TypeDescription
ByteString

The bytes for clientKey.

getType()

public abstract SslConfig.SslType getType()

Output only. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'.

.google.cloud.clouddms.v1.SslConfig.SslType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
SslConfig.SslType

The type.

getTypeValue()

public abstract int getTypeValue()

Output only. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'.

.google.cloud.clouddms.v1.SslConfig.SslType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for type.