Class SslConfig.Builder (0.14.1)

public static final class SslConfig.Builder extends GeneratedMessageV3.Builder<SslConfig.Builder> implements SslConfigOrBuilder

SSL configuration for an AlloyDB Cluster.

Protobuf type google.events.cloud.alloydb.v1.SslConfig

Implements

SslConfigOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SslConfig build()
Returns
TypeDescription
SslConfig

buildPartial()

public SslConfig buildPartial()
Returns
TypeDescription
SslConfig

clear()

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

clearCaSource()

public SslConfig.Builder clearCaSource()

Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.

.google.events.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2;

Returns
TypeDescription
SslConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSslMode()

public SslConfig.Builder clearSslMode()

Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.

.google.events.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1;

Returns
TypeDescription
SslConfig.Builder

This builder for chaining.

clone()

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

getCaSource()

public SslConfig.CaSource getCaSource()

Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.

.google.events.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2;

Returns
TypeDescription
SslConfig.CaSource

The caSource.

getCaSourceValue()

public int getCaSourceValue()

Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.

.google.events.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for caSource.

getDefaultInstanceForType()

public SslConfig getDefaultInstanceForType()
Returns
TypeDescription
SslConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSslMode()

public SslConfig.SslMode getSslMode()

Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.

.google.events.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1;

Returns
TypeDescription
SslConfig.SslMode

The sslMode.

getSslModeValue()

public int getSslModeValue()

Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.

.google.events.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for sslMode.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SslConfig other)

public SslConfig.Builder mergeFrom(SslConfig other)
Parameter
NameDescription
otherSslConfig
Returns
TypeDescription
SslConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCaSource(SslConfig.CaSource value)

public SslConfig.Builder setCaSource(SslConfig.CaSource value)

Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.

.google.events.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2;

Parameter
NameDescription
valueSslConfig.CaSource

The caSource to set.

Returns
TypeDescription
SslConfig.Builder

This builder for chaining.

setCaSourceValue(int value)

public SslConfig.Builder setCaSourceValue(int value)

Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.

.google.events.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2;

Parameter
NameDescription
valueint

The enum numeric value on the wire for caSource to set.

Returns
TypeDescription
SslConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSslMode(SslConfig.SslMode value)

public SslConfig.Builder setSslMode(SslConfig.SslMode value)

Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.

.google.events.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1;

Parameter
NameDescription
valueSslConfig.SslMode

The sslMode to set.

Returns
TypeDescription
SslConfig.Builder

This builder for chaining.

setSslModeValue(int value)

public SslConfig.Builder setSslModeValue(int value)

Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.

.google.events.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1;

Parameter
NameDescription
valueint

The enum numeric value on the wire for sslMode to set.

Returns
TypeDescription
SslConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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