Class OracleSslConfig.Builder (1.82.0)

public static final class OracleSslConfig.Builder extends GeneratedMessage.Builder<OracleSslConfig.Builder> implements OracleSslConfigOrBuilder

Oracle SSL configuration information.

Protobuf type google.cloud.datastream.v1.OracleSslConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public OracleSslConfig build()
Returns
Type Description
OracleSslConfig

buildPartial()

public OracleSslConfig buildPartial()
Returns
Type Description
OracleSslConfig

clear()

public OracleSslConfig.Builder clear()
Returns
Type Description
OracleSslConfig.Builder
Overrides

clearCaCertificate()

public OracleSslConfig.Builder clearCaCertificate()

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

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

Returns
Type Description
OracleSslConfig.Builder

This builder for chaining.

clearCaCertificateSet()

public OracleSslConfig.Builder clearCaCertificateSet()

Output only. Indicates whether the ca_certificate field has been set for this Connection-Profile.

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

Returns
Type Description
OracleSslConfig.Builder

This builder for chaining.

clearServerCertificateDistinguishedName()

public OracleSslConfig.Builder clearServerCertificateDistinguishedName()

Optional. The distinguished name (DN) mentioned in the server certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7 If this field is not provided, the DN matching is not enforced.

string server_certificate_distinguished_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OracleSslConfig.Builder

This builder for chaining.

getCaCertificate()

public String getCaCertificate()

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

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

Returns
Type Description
String

The caCertificate.

getCaCertificateBytes()

public ByteString getCaCertificateBytes()

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

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

Returns
Type Description
ByteString

The bytes for caCertificate.

getCaCertificateSet()

public boolean getCaCertificateSet()

Output only. Indicates whether the ca_certificate field has been set for this Connection-Profile.

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

Returns
Type Description
boolean

The caCertificateSet.

getDefaultInstanceForType()

public OracleSslConfig getDefaultInstanceForType()
Returns
Type Description
OracleSslConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getServerCertificateDistinguishedName()

public String getServerCertificateDistinguishedName()

Optional. The distinguished name (DN) mentioned in the server certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7 If this field is not provided, the DN matching is not enforced.

string server_certificate_distinguished_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The serverCertificateDistinguishedName.

getServerCertificateDistinguishedNameBytes()

public ByteString getServerCertificateDistinguishedNameBytes()

Optional. The distinguished name (DN) mentioned in the server certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7 If this field is not provided, the DN matching is not enforced.

string server_certificate_distinguished_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for serverCertificateDistinguishedName.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OracleSslConfig other)

public OracleSslConfig.Builder mergeFrom(OracleSslConfig other)
Parameter
Name Description
other OracleSslConfig
Returns
Type Description
OracleSslConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OracleSslConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OracleSslConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public OracleSslConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
OracleSslConfig.Builder
Overrides

setCaCertificate(String value)

public OracleSslConfig.Builder setCaCertificate(String value)

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

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

Parameter
Name Description
value String

The caCertificate to set.

Returns
Type Description
OracleSslConfig.Builder

This builder for chaining.

setCaCertificateBytes(ByteString value)

public OracleSslConfig.Builder setCaCertificateBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for caCertificate to set.

Returns
Type Description
OracleSslConfig.Builder

This builder for chaining.

setCaCertificateSet(boolean value)

public OracleSslConfig.Builder setCaCertificateSet(boolean value)

Output only. Indicates whether the ca_certificate field has been set for this Connection-Profile.

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

Parameter
Name Description
value boolean

The caCertificateSet to set.

Returns
Type Description
OracleSslConfig.Builder

This builder for chaining.

setServerCertificateDistinguishedName(String value)

public OracleSslConfig.Builder setServerCertificateDistinguishedName(String value)

Optional. The distinguished name (DN) mentioned in the server certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7 If this field is not provided, the DN matching is not enforced.

string server_certificate_distinguished_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The serverCertificateDistinguishedName to set.

Returns
Type Description
OracleSslConfig.Builder

This builder for chaining.

setServerCertificateDistinguishedNameBytes(ByteString value)

public OracleSslConfig.Builder setServerCertificateDistinguishedNameBytes(ByteString value)

Optional. The distinguished name (DN) mentioned in the server certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7 If this field is not provided, the DN matching is not enforced.

string server_certificate_distinguished_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for serverCertificateDistinguishedName to set.

Returns
Type Description
OracleSslConfig.Builder

This builder for chaining.