Class Cluster.PscConfig.Builder (0.44.0)

public static final class Cluster.PscConfig.Builder extends GeneratedMessageV3.Builder<Cluster.PscConfig.Builder> implements Cluster.PscConfigOrBuilder

PscConfig contains PSC related configuration at a cluster level.

Protobuf type google.cloud.alloydb.v1.Cluster.PscConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Cluster.PscConfig build()
Returns
Type Description
Cluster.PscConfig

buildPartial()

public Cluster.PscConfig buildPartial()
Returns
Type Description
Cluster.PscConfig

clear()

public Cluster.PscConfig.Builder clear()
Returns
Type Description
Cluster.PscConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPscEnabled()

public Cluster.PscConfig.Builder clearPscEnabled()

Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.

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

Returns
Type Description
Cluster.PscConfig.Builder

This builder for chaining.

clone()

public Cluster.PscConfig.Builder clone()
Returns
Type Description
Cluster.PscConfig.Builder
Overrides

getDefaultInstanceForType()

public Cluster.PscConfig getDefaultInstanceForType()
Returns
Type Description
Cluster.PscConfig

getDescriptorForType()

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

getPscEnabled()

public boolean getPscEnabled()

Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.

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

Returns
Type Description
boolean

The pscEnabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Cluster.PscConfig other)

public Cluster.PscConfig.Builder mergeFrom(Cluster.PscConfig other)
Parameter
Name Description
other Cluster.PscConfig
Returns
Type Description
Cluster.PscConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Cluster.PscConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Cluster.PscConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Cluster.PscConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Cluster.PscConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setPscEnabled(boolean value)

public Cluster.PscConfig.Builder setPscEnabled(boolean value)

Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.

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

Parameter
Name Description
value boolean

The pscEnabled to set.

Returns
Type Description
Cluster.PscConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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