Class RagManagedDbConfig.Builder (1.43.0)

public static final class RagManagedDbConfig.Builder extends GeneratedMessage.Builder<RagManagedDbConfig.Builder> implements RagManagedDbConfigOrBuilder

Configuration message for RagManagedDb used by RagEngine.

Protobuf type google.cloud.vertexai.v1.RagManagedDbConfig

Static Methods

getDescriptor()

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

Methods

build()

public RagManagedDbConfig build()
Returns
Type Description
RagManagedDbConfig

buildPartial()

public RagManagedDbConfig buildPartial()
Returns
Type Description
RagManagedDbConfig

clear()

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

clearBasic()

public RagManagedDbConfig.Builder clearBasic()

Sets the RagManagedDb to the Basic tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Basic basic = 2;

Returns
Type Description
RagManagedDbConfig.Builder

clearScaled()

public RagManagedDbConfig.Builder clearScaled()

Sets the RagManagedDb to the Scaled tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Scaled scaled = 4;

Returns
Type Description
RagManagedDbConfig.Builder

clearTier()

public RagManagedDbConfig.Builder clearTier()
Returns
Type Description
RagManagedDbConfig.Builder

clearUnprovisioned()

public RagManagedDbConfig.Builder clearUnprovisioned()

Sets the RagManagedDb to the Unprovisioned tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;

Returns
Type Description
RagManagedDbConfig.Builder

getBasic()

public RagManagedDbConfig.Basic getBasic()

Sets the RagManagedDb to the Basic tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Basic basic = 2;

Returns
Type Description
RagManagedDbConfig.Basic

The basic.

getBasicBuilder()

public RagManagedDbConfig.Basic.Builder getBasicBuilder()

Sets the RagManagedDb to the Basic tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Basic basic = 2;

Returns
Type Description
RagManagedDbConfig.Basic.Builder

getBasicOrBuilder()

public RagManagedDbConfig.BasicOrBuilder getBasicOrBuilder()

Sets the RagManagedDb to the Basic tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Basic basic = 2;

Returns
Type Description
RagManagedDbConfig.BasicOrBuilder

getDefaultInstanceForType()

public RagManagedDbConfig getDefaultInstanceForType()
Returns
Type Description
RagManagedDbConfig

getDescriptorForType()

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

getScaled()

public RagManagedDbConfig.Scaled getScaled()

Sets the RagManagedDb to the Scaled tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Scaled scaled = 4;

Returns
Type Description
RagManagedDbConfig.Scaled

The scaled.

getScaledBuilder()

public RagManagedDbConfig.Scaled.Builder getScaledBuilder()

Sets the RagManagedDb to the Scaled tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Scaled scaled = 4;

Returns
Type Description
RagManagedDbConfig.Scaled.Builder

getScaledOrBuilder()

public RagManagedDbConfig.ScaledOrBuilder getScaledOrBuilder()

Sets the RagManagedDb to the Scaled tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Scaled scaled = 4;

Returns
Type Description
RagManagedDbConfig.ScaledOrBuilder

getTierCase()

public RagManagedDbConfig.TierCase getTierCase()
Returns
Type Description
RagManagedDbConfig.TierCase

getUnprovisioned()

public RagManagedDbConfig.Unprovisioned getUnprovisioned()

Sets the RagManagedDb to the Unprovisioned tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;

Returns
Type Description
RagManagedDbConfig.Unprovisioned

The unprovisioned.

getUnprovisionedBuilder()

public RagManagedDbConfig.Unprovisioned.Builder getUnprovisionedBuilder()

Sets the RagManagedDb to the Unprovisioned tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;

Returns
Type Description
RagManagedDbConfig.Unprovisioned.Builder

getUnprovisionedOrBuilder()

public RagManagedDbConfig.UnprovisionedOrBuilder getUnprovisionedOrBuilder()

Sets the RagManagedDb to the Unprovisioned tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;

Returns
Type Description
RagManagedDbConfig.UnprovisionedOrBuilder

hasBasic()

public boolean hasBasic()

Sets the RagManagedDb to the Basic tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Basic basic = 2;

Returns
Type Description
boolean

Whether the basic field is set.

hasScaled()

public boolean hasScaled()

Sets the RagManagedDb to the Scaled tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Scaled scaled = 4;

Returns
Type Description
boolean

Whether the scaled field is set.

hasUnprovisioned()

public boolean hasUnprovisioned()

Sets the RagManagedDb to the Unprovisioned tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;

Returns
Type Description
boolean

Whether the unprovisioned field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBasic(RagManagedDbConfig.Basic value)

public RagManagedDbConfig.Builder mergeBasic(RagManagedDbConfig.Basic value)

Sets the RagManagedDb to the Basic tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Basic basic = 2;

Parameter
Name Description
value RagManagedDbConfig.Basic
Returns
Type Description
RagManagedDbConfig.Builder

mergeFrom(RagManagedDbConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeScaled(RagManagedDbConfig.Scaled value)

public RagManagedDbConfig.Builder mergeScaled(RagManagedDbConfig.Scaled value)

Sets the RagManagedDb to the Scaled tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Scaled scaled = 4;

Parameter
Name Description
value RagManagedDbConfig.Scaled
Returns
Type Description
RagManagedDbConfig.Builder

mergeUnprovisioned(RagManagedDbConfig.Unprovisioned value)

public RagManagedDbConfig.Builder mergeUnprovisioned(RagManagedDbConfig.Unprovisioned value)

Sets the RagManagedDb to the Unprovisioned tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;

Parameter
Name Description
value RagManagedDbConfig.Unprovisioned
Returns
Type Description
RagManagedDbConfig.Builder

setBasic(RagManagedDbConfig.Basic value)

public RagManagedDbConfig.Builder setBasic(RagManagedDbConfig.Basic value)

Sets the RagManagedDb to the Basic tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Basic basic = 2;

Parameter
Name Description
value RagManagedDbConfig.Basic
Returns
Type Description
RagManagedDbConfig.Builder

setBasic(RagManagedDbConfig.Basic.Builder builderForValue)

public RagManagedDbConfig.Builder setBasic(RagManagedDbConfig.Basic.Builder builderForValue)

Sets the RagManagedDb to the Basic tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Basic basic = 2;

Parameter
Name Description
builderForValue RagManagedDbConfig.Basic.Builder
Returns
Type Description
RagManagedDbConfig.Builder

setScaled(RagManagedDbConfig.Scaled value)

public RagManagedDbConfig.Builder setScaled(RagManagedDbConfig.Scaled value)

Sets the RagManagedDb to the Scaled tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Scaled scaled = 4;

Parameter
Name Description
value RagManagedDbConfig.Scaled
Returns
Type Description
RagManagedDbConfig.Builder

setScaled(RagManagedDbConfig.Scaled.Builder builderForValue)

public RagManagedDbConfig.Builder setScaled(RagManagedDbConfig.Scaled.Builder builderForValue)

Sets the RagManagedDb to the Scaled tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Scaled scaled = 4;

Parameter
Name Description
builderForValue RagManagedDbConfig.Scaled.Builder
Returns
Type Description
RagManagedDbConfig.Builder

setUnprovisioned(RagManagedDbConfig.Unprovisioned value)

public RagManagedDbConfig.Builder setUnprovisioned(RagManagedDbConfig.Unprovisioned value)

Sets the RagManagedDb to the Unprovisioned tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;

Parameter
Name Description
value RagManagedDbConfig.Unprovisioned
Returns
Type Description
RagManagedDbConfig.Builder

setUnprovisioned(RagManagedDbConfig.Unprovisioned.Builder builderForValue)

public RagManagedDbConfig.Builder setUnprovisioned(RagManagedDbConfig.Unprovisioned.Builder builderForValue)

Sets the RagManagedDb to the Unprovisioned tier.

.google.cloud.vertexai.v1.RagManagedDbConfig.Unprovisioned unprovisioned = 3;

Parameter
Name Description
builderForValue RagManagedDbConfig.Unprovisioned.Builder
Returns
Type Description
RagManagedDbConfig.Builder