Class Instance.ClientConnectionConfig.Builder (0.30.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.v1.Instance.ClientConnectionConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Instance.ClientConnectionConfig build()
Returns
TypeDescription
Instance.ClientConnectionConfig

buildPartial()

public Instance.ClientConnectionConfig buildPartial()
Returns
TypeDescription
Instance.ClientConnectionConfig

clear()

public Instance.ClientConnectionConfig.Builder clear()
Returns
TypeDescription
Instance.ClientConnectionConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Instance.ClientConnectionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Instance.ClientConnectionConfig.Builder

This builder for chaining.

clearSslConfig()

public Instance.ClientConnectionConfig.Builder clearSslConfig()

Optional. SSL config option for this instance.

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

Returns
TypeDescription
Instance.ClientConnectionConfig.Builder

clone()

public Instance.ClientConnectionConfig.Builder clone()
Returns
TypeDescription
Instance.ClientConnectionConfig.Builder
Overrides

getDefaultInstanceForType()

public Instance.ClientConnectionConfig getDefaultInstanceForType()
Returns
TypeDescription
Instance.ClientConnectionConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

The requireConnectors.

getSslConfig()

public SslConfig getSslConfig()

Optional. SSL config option for this instance.

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

Returns
TypeDescription
SslConfig

The sslConfig.

getSslConfigBuilder()

public SslConfig.Builder getSslConfigBuilder()

Optional. SSL config option for this instance.

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

Returns
TypeDescription
SslConfig.Builder

getSslConfigOrBuilder()

public SslConfigOrBuilder getSslConfigOrBuilder()

Optional. SSL config option for this instance.

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

Returns
TypeDescription
SslConfigOrBuilder

hasSslConfig()

public boolean hasSslConfig()

Optional. SSL config option for this instance.

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

Returns
TypeDescription
boolean

Whether the sslConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Instance.ClientConnectionConfig other)

public Instance.ClientConnectionConfig.Builder mergeFrom(Instance.ClientConnectionConfig other)
Parameter
NameDescription
otherInstance.ClientConnectionConfig
Returns
TypeDescription
Instance.ClientConnectionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSslConfig(SslConfig value)

public Instance.ClientConnectionConfig.Builder mergeSslConfig(SslConfig value)

Optional. SSL config option for this instance.

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

Parameter
NameDescription
valueSslConfig
Returns
TypeDescription
Instance.ClientConnectionConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public Instance.ClientConnectionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The requireConnectors to set.

Returns
TypeDescription
Instance.ClientConnectionConfig.Builder

This builder for chaining.

setSslConfig(SslConfig value)

public Instance.ClientConnectionConfig.Builder setSslConfig(SslConfig value)

Optional. SSL config option for this instance.

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

Parameter
NameDescription
valueSslConfig
Returns
TypeDescription
Instance.ClientConnectionConfig.Builder

setSslConfig(SslConfig.Builder builderForValue)

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

Optional. SSL config option for this instance.

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

Parameter
NameDescription
builderForValueSslConfig.Builder
Returns
TypeDescription
Instance.ClientConnectionConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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