Interface PostgresqlSslConfig.ServerVerificationOrBuilder (1.71.0)

public static interface PostgresqlSslConfig.ServerVerificationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCaCertificate()

public abstract String getCaCertificate()

Required. Input only. PEM-encoded server root CA certificate.

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

Returns
Type Description
String

The caCertificate.

getCaCertificateBytes()

public abstract ByteString getCaCertificateBytes()

Required. Input only. PEM-encoded server root CA certificate.

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

Returns
Type Description
ByteString

The bytes for caCertificate.

getServerCertificateHostname()

public abstract String getServerCertificateHostname()

Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. If this field is not provided, the hostname in the server certificate is not validated.

string server_certificate_hostname = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The serverCertificateHostname.

getServerCertificateHostnameBytes()

public abstract ByteString getServerCertificateHostnameBytes()

Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. If this field is not provided, the hostname in the server certificate is not validated.

string server_certificate_hostname = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for serverCertificateHostname.