Class MysqlSslConfig.Builder (0.14.1)

public static final class MysqlSslConfig.Builder extends GeneratedMessageV3.Builder<MysqlSslConfig.Builder> implements MysqlSslConfigOrBuilder

MySQL SSL configuration information.

Protobuf type google.events.cloud.datastream.v1.MysqlSslConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MysqlSslConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MysqlSslConfig.Builder
Overrides

build()

public MysqlSslConfig build()
Returns
TypeDescription
MysqlSslConfig

buildPartial()

public MysqlSslConfig buildPartial()
Returns
TypeDescription
MysqlSslConfig

clear()

public MysqlSslConfig.Builder clear()
Returns
TypeDescription
MysqlSslConfig.Builder
Overrides

clearCaCertificateSet()

public MysqlSslConfig.Builder clearCaCertificateSet()

Output only. Indicates whether the ca_certificate field is set.

bool ca_certificate_set = 6;

Returns
TypeDescription
MysqlSslConfig.Builder

This builder for chaining.

clearClientCertificateSet()

public MysqlSslConfig.Builder clearClientCertificateSet()

Output only. Indicates whether the client_certificate field is set.

bool client_certificate_set = 4;

Returns
TypeDescription
MysqlSslConfig.Builder

This builder for chaining.

clearClientKeySet()

public MysqlSslConfig.Builder clearClientKeySet()

Output only. Indicates whether the client_key field is set.

bool client_key_set = 2;

Returns
TypeDescription
MysqlSslConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MysqlSslConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MysqlSslConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MysqlSslConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MysqlSslConfig.Builder
Overrides

clone()

public MysqlSslConfig.Builder clone()
Returns
TypeDescription
MysqlSslConfig.Builder
Overrides

getCaCertificateSet()

public boolean getCaCertificateSet()

Output only. Indicates whether the ca_certificate field is set.

bool ca_certificate_set = 6;

Returns
TypeDescription
boolean

The caCertificateSet.

getClientCertificateSet()

public boolean getClientCertificateSet()

Output only. Indicates whether the client_certificate field is set.

bool client_certificate_set = 4;

Returns
TypeDescription
boolean

The clientCertificateSet.

getClientKeySet()

public boolean getClientKeySet()

Output only. Indicates whether the client_key field is set.

bool client_key_set = 2;

Returns
TypeDescription
boolean

The clientKeySet.

getDefaultInstanceForType()

public MysqlSslConfig getDefaultInstanceForType()
Returns
TypeDescription
MysqlSslConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MysqlSslConfig other)

public MysqlSslConfig.Builder mergeFrom(MysqlSslConfig other)
Parameter
NameDescription
otherMysqlSslConfig
Returns
TypeDescription
MysqlSslConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MysqlSslConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlSslConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MysqlSslConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MysqlSslConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MysqlSslConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MysqlSslConfig.Builder
Overrides

setCaCertificateSet(boolean value)

public MysqlSslConfig.Builder setCaCertificateSet(boolean value)

Output only. Indicates whether the ca_certificate field is set.

bool ca_certificate_set = 6;

Parameter
NameDescription
valueboolean

The caCertificateSet to set.

Returns
TypeDescription
MysqlSslConfig.Builder

This builder for chaining.

setClientCertificateSet(boolean value)

public MysqlSslConfig.Builder setClientCertificateSet(boolean value)

Output only. Indicates whether the client_certificate field is set.

bool client_certificate_set = 4;

Parameter
NameDescription
valueboolean

The clientCertificateSet to set.

Returns
TypeDescription
MysqlSslConfig.Builder

This builder for chaining.

setClientKeySet(boolean value)

public MysqlSslConfig.Builder setClientKeySet(boolean value)

Output only. Indicates whether the client_key field is set.

bool client_key_set = 2;

Parameter
NameDescription
valueboolean

The clientKeySet to set.

Returns
TypeDescription
MysqlSslConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MysqlSslConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MysqlSslConfig.Builder
Overrides

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

public MysqlSslConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MysqlSslConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MysqlSslConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MysqlSslConfig.Builder
Overrides