Class Instance.ClientConnectionConfig.Builder (0.43.0)

public static final class Instance.ClientConnectionConfig.Builder extends GeneratedMessageV3.Builder<Instance.ClientConnectionConfig.Builder> implements Instance.ClientConnectionConfigOrBuilder

Client connection configuration

Protobuf type google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Instance.ClientConnectionConfig build()
Returns
Type Description
Instance.ClientConnectionConfig

buildPartial()

public Instance.ClientConnectionConfig buildPartial()
Returns
Type Description
Instance.ClientConnectionConfig

clear()

public Instance.ClientConnectionConfig.Builder clear()
Returns
Type Description
Instance.ClientConnectionConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequireConnectors()

public Instance.ClientConnectionConfig.Builder clearRequireConnectors()

Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.

bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Instance.ClientConnectionConfig.Builder

This builder for chaining.

clearSslConfig()

public Instance.ClientConnectionConfig.Builder clearSslConfig()

Optional. SSL configuration option for this instance.

.google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Instance.ClientConnectionConfig.Builder

clone()

public Instance.ClientConnectionConfig.Builder clone()
Returns
Type Description
Instance.ClientConnectionConfig.Builder
Overrides

getDefaultInstanceForType()

public Instance.ClientConnectionConfig getDefaultInstanceForType()
Returns
Type Description
Instance.ClientConnectionConfig

getDescriptorForType()

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

getRequireConnectors()

public boolean getRequireConnectors()

Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.

bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The requireConnectors.

getSslConfig()

public SslConfig getSslConfig()

Optional. SSL configuration option for this instance.

.google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SslConfig

The sslConfig.

getSslConfigBuilder()

public SslConfig.Builder getSslConfigBuilder()

Optional. SSL configuration option for this instance.

.google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SslConfig.Builder

getSslConfigOrBuilder()

public SslConfigOrBuilder getSslConfigOrBuilder()

Optional. SSL configuration option for this instance.

.google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SslConfigOrBuilder

hasSslConfig()

public boolean hasSslConfig()

Optional. SSL configuration option for this instance.

.google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the sslConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Instance.ClientConnectionConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSslConfig(SslConfig value)

public Instance.ClientConnectionConfig.Builder mergeSslConfig(SslConfig value)

Optional. SSL configuration option for this instance.

.google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SslConfig
Returns
Type Description
Instance.ClientConnectionConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Instance.ClientConnectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Instance.ClientConnectionConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRequireConnectors(boolean value)

public Instance.ClientConnectionConfig.Builder setRequireConnectors(boolean value)

Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.

bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The requireConnectors to set.

Returns
Type Description
Instance.ClientConnectionConfig.Builder

This builder for chaining.

setSslConfig(SslConfig value)

public Instance.ClientConnectionConfig.Builder setSslConfig(SslConfig value)

Optional. SSL configuration option for this instance.

.google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SslConfig
Returns
Type Description
Instance.ClientConnectionConfig.Builder

setSslConfig(SslConfig.Builder builderForValue)

public Instance.ClientConnectionConfig.Builder setSslConfig(SslConfig.Builder builderForValue)

Optional. SSL configuration option for this instance.

.google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SslConfig.Builder
Returns
Type Description
Instance.ClientConnectionConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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