- 1.82.0 (latest)
- 1.81.0
- 1.80.0
- 1.79.0
- 1.77.0
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.69.0
- 1.67.0
- 1.66.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.1.1
- 1.0.0
- 0.4.2
public static final class PostgresqlSslConfig.ServerVerification.Builder extends GeneratedMessage.Builder<PostgresqlSslConfig.ServerVerification.Builder> implements PostgresqlSslConfig.ServerVerificationOrBuilderMessage represents the option where Datastream will enforce the encryption and authenticate the server identity. ca_certificate must be set if user selects this option.
Protobuf type google.cloud.datastream.v1.PostgresqlSslConfig.ServerVerification
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PostgresqlSslConfig.ServerVerification.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PostgresqlSslConfig.ServerVerification build()| Returns | |
|---|---|
| Type | Description |
PostgresqlSslConfig.ServerVerification |
|
buildPartial()
public PostgresqlSslConfig.ServerVerification buildPartial()| Returns | |
|---|---|
| Type | Description |
PostgresqlSslConfig.ServerVerification |
|
clear()
public PostgresqlSslConfig.ServerVerification.Builder clear()| Returns | |
|---|---|
| Type | Description |
PostgresqlSslConfig.ServerVerification.Builder |
|
clearCaCertificate()
public PostgresqlSslConfig.ServerVerification.Builder clearCaCertificate()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 |
PostgresqlSslConfig.ServerVerification.Builder |
This builder for chaining. |
clearServerCertificateHostname()
public PostgresqlSslConfig.ServerVerification.Builder clearServerCertificateHostname()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 |
PostgresqlSslConfig.ServerVerification.Builder |
This builder for chaining. |
getCaCertificate()
public 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 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. |
getDefaultInstanceForType()
public PostgresqlSslConfig.ServerVerification getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PostgresqlSslConfig.ServerVerification |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getServerCertificateHostname()
public 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PostgresqlSslConfig.ServerVerification other)
public PostgresqlSslConfig.ServerVerification.Builder mergeFrom(PostgresqlSslConfig.ServerVerification other)| Parameter | |
|---|---|
| Name | Description |
other |
PostgresqlSslConfig.ServerVerification |
| Returns | |
|---|---|
| Type | Description |
PostgresqlSslConfig.ServerVerification.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PostgresqlSslConfig.ServerVerification.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PostgresqlSslConfig.ServerVerification.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PostgresqlSslConfig.ServerVerification.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PostgresqlSslConfig.ServerVerification.Builder |
|
setCaCertificate(String value)
public PostgresqlSslConfig.ServerVerification.Builder setCaCertificate(String value)Required. Input only. PEM-encoded server root CA certificate.
string ca_certificate = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe caCertificate to set. |
| Returns | |
|---|---|
| Type | Description |
PostgresqlSslConfig.ServerVerification.Builder |
This builder for chaining. |
setCaCertificateBytes(ByteString value)
public PostgresqlSslConfig.ServerVerification.Builder setCaCertificateBytes(ByteString value)Required. Input only. PEM-encoded server root CA certificate.
string ca_certificate = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for caCertificate to set. |
| Returns | |
|---|---|
| Type | Description |
PostgresqlSslConfig.ServerVerification.Builder |
This builder for chaining. |
setServerCertificateHostname(String value)
public PostgresqlSslConfig.ServerVerification.Builder setServerCertificateHostname(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe serverCertificateHostname to set. |
| Returns | |
|---|---|
| Type | Description |
PostgresqlSslConfig.ServerVerification.Builder |
This builder for chaining. |
setServerCertificateHostnameBytes(ByteString value)
public PostgresqlSslConfig.ServerVerification.Builder setServerCertificateHostnameBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for serverCertificateHostname to set. |
| Returns | |
|---|---|
| Type | Description |
PostgresqlSslConfig.ServerVerification.Builder |
This builder for chaining. |