public static final class OracleSslConfig.Builder extends GeneratedMessage.Builder<OracleSslConfig.Builder> implements OracleSslConfigOrBuilderOracle SSL configuration information.
Protobuf type google.cloud.datastream.v1.OracleSslConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > OracleSslConfig.BuilderImplements
OracleSslConfigOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public OracleSslConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
OracleSslConfig.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
booleanThe 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 |
StringThe 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 |
ByteStringThe bytes for serverCertificateDistinguishedName to set. |
| Returns | |
|---|---|
| Type | Description |
OracleSslConfig.Builder |
This builder for chaining. |