Class GeminiInstanceConfig.Builder (0.43.0)

public static final class GeminiInstanceConfig.Builder extends GeneratedMessageV3.Builder<GeminiInstanceConfig.Builder> implements GeminiInstanceConfigOrBuilder

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

Protobuf type google.cloud.alloydb.v1alpha.GeminiInstanceConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GeminiInstanceConfig build()
Returns
Type Description
GeminiInstanceConfig

buildPartial()

public GeminiInstanceConfig buildPartial()
Returns
Type Description
GeminiInstanceConfig

clear()

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

clearEntitled()

public GeminiInstanceConfig.Builder clearEntitled()

Output only. Whether the Gemini in Databases add-on is enabled for the instance. It will be true only if the add-on has been enabled for the billing account corresponding to the instance. 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
GeminiInstanceConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GeminiInstanceConfig getDefaultInstanceForType()
Returns
Type Description
GeminiInstanceConfig

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 instance. It will be true only if the add-on has been enabled for the billing account corresponding to the instance. 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(GeminiInstanceConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEntitled(boolean value)

public GeminiInstanceConfig.Builder setEntitled(boolean value)

Output only. Whether the Gemini in Databases add-on is enabled for the instance. It will be true only if the add-on has been enabled for the billing account corresponding to the instance. 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
GeminiInstanceConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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