Class OracleSslConfig.Builder (1.54.0)

public static final class OracleSslConfig.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OracleSslConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OracleSslConfig.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public OracleSslConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OracleSslConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public OracleSslConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OracleSslConfig.Builder
Overrides

clone()

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OracleSslConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public OracleSslConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OracleSslConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public OracleSslConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
OracleSslConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final OracleSslConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OracleSslConfig.Builder
Overrides