Class GeminiClusterConfig.Builder (0.44.0)

public static final class GeminiClusterConfig.Builder extends GeneratedMessageV3.Builder<GeminiClusterConfig.Builder> implements GeminiClusterConfigOrBuilder

Cluster level configuration parameters related to the Gemini in Databases add-on.

Protobuf type google.cloud.alloydb.v1alpha.GeminiClusterConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GeminiClusterConfig build()
Returns
Type Description
GeminiClusterConfig

buildPartial()

public GeminiClusterConfig buildPartial()
Returns
Type Description
GeminiClusterConfig

clear()

public GeminiClusterConfig.Builder clear()
Returns
Type Description
GeminiClusterConfig.Builder
Overrides

clearEntitled()

public GeminiClusterConfig.Builder clearEntitled()

Output only. Whether the Gemini in Databases add-on is enabled for the cluster. It will be true only if the add-on has been enabled for the billing account corresponding to the cluster. Its status is toggled from the Admin Control Center (ACC) and cannot be toggled using AlloyDB's APIs.

bool entitled = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GeminiClusterConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public GeminiClusterConfig.Builder clone()
Returns
Type Description
GeminiClusterConfig.Builder
Overrides

getDefaultInstanceForType()

public GeminiClusterConfig getDefaultInstanceForType()
Returns
Type Description
GeminiClusterConfig

getDescriptorForType()

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

getEntitled()

public boolean getEntitled()

Output only. Whether the Gemini in Databases add-on is enabled for the cluster. It will be true only if the add-on has been enabled for the billing account corresponding to the cluster. Its status is toggled from the Admin Control Center (ACC) and cannot be toggled using AlloyDB's APIs.

bool entitled = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The entitled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GeminiClusterConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEntitled(boolean value)

public GeminiClusterConfig.Builder setEntitled(boolean value)

Output only. Whether the Gemini in Databases add-on is enabled for the cluster. It will be true only if the add-on has been enabled for the billing account corresponding to the cluster. Its status is toggled from the Admin Control Center (ACC) and cannot be toggled using AlloyDB's APIs.

bool entitled = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The entitled to set.

Returns
Type Description
GeminiClusterConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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