Class RagManagedDbConfig (3.84.0)

public final class RagManagedDbConfig extends GeneratedMessage implements RagManagedDbConfigOrBuilder

Configuration message for RagManagedDb used by RagEngine.

Protobuf type google.cloud.aiplatform.v1beta1.RagManagedDbConfig

Static Fields

BASIC_FIELD_NUMBER

public static final int BASIC_FIELD_NUMBER
Field Value
Type Description
int

ENTERPRISE_FIELD_NUMBER

public static final int ENTERPRISE_FIELD_NUMBER
Field Value
Type Description
int

SCALED_FIELD_NUMBER

public static final int SCALED_FIELD_NUMBER
Field Value
Type Description
int

SERVERLESS_FIELD_NUMBER

public static final int SERVERLESS_FIELD_NUMBER
Field Value
Type Description
int

SPANNER_FIELD_NUMBER

public static final int SPANNER_FIELD_NUMBER
Field Value
Type Description
int

UNPROVISIONED_FIELD_NUMBER

public static final int UNPROVISIONED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RagManagedDbConfig getDefaultInstance()
Returns
Type Description
RagManagedDbConfig

getDescriptor()

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

newBuilder()

public static RagManagedDbConfig.Builder newBuilder()
Returns
Type Description
RagManagedDbConfig.Builder

newBuilder(RagManagedDbConfig prototype)

public static RagManagedDbConfig.Builder newBuilder(RagManagedDbConfig prototype)
Parameter
Name Description
prototype RagManagedDbConfig
Returns
Type Description
RagManagedDbConfig.Builder

parseDelimitedFrom(InputStream input)

public static RagManagedDbConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RagManagedDbConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RagManagedDbConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RagManagedDbConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RagManagedDbConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RagManagedDbConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RagManagedDbConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RagManagedDbConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RagManagedDbConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RagManagedDbConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RagManagedDbConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RagManagedDbConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RagManagedDbConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RagManagedDbConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RagManagedDbConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RagManagedDbConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RagManagedDbConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RagManagedDbConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RagManagedDbConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RagManagedDbConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RagManagedDbConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RagManagedDbConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RagManagedDbConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RagManagedDbConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RagManagedDbConfig> parser()
Returns
Type Description
Parser<RagManagedDbConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBasic() (deprecated)

public RagManagedDbConfig.Basic getBasic()

Deprecated. google.cloud.aiplatform.v1beta1.RagManagedDbConfig.basic is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=841

Deprecated: Use mode instead to set the tier under Spanner. Sets the RagManagedDb to the Basic tier.

.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2 [deprecated = true];

Returns
Type Description
RagManagedDbConfig.Basic

The basic.

getBasicOrBuilder() (deprecated)

public RagManagedDbConfig.BasicOrBuilder getBasicOrBuilder()

Deprecated: Use mode instead to set the tier under Spanner. Sets the RagManagedDb to the Basic tier.

.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2 [deprecated = true];

Returns
Type Description
RagManagedDbConfig.BasicOrBuilder

getDefaultInstanceForType()

public RagManagedDbConfig getDefaultInstanceForType()
Returns
Type Description
RagManagedDbConfig

getEnterprise() (deprecated)

public RagManagedDbConfig.Enterprise getEnterprise()

Deprecated. google.cloud.aiplatform.v1beta1.RagManagedDbConfig.enterprise is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=833

Sets the RagManagedDb to the Enterprise tier.

.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];

Returns
Type Description
RagManagedDbConfig.Enterprise

The enterprise.

getEnterpriseOrBuilder() (deprecated)

public RagManagedDbConfig.EnterpriseOrBuilder getEnterpriseOrBuilder()

Sets the RagManagedDb to the Enterprise tier.

.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];

Returns
Type Description
RagManagedDbConfig.EnterpriseOrBuilder

getModeCase()

public RagManagedDbConfig.ModeCase getModeCase()
Returns
Type Description
RagManagedDbConfig.ModeCase

getParserForType()

public Parser<RagManagedDbConfig> getParserForType()
Returns
Type Description
Parser<RagManagedDbConfig>
Overrides

getScaled() (deprecated)

public RagManagedDbConfig.Scaled getScaled()

Deprecated. google.cloud.aiplatform.v1beta1.RagManagedDbConfig.scaled is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=837

Deprecated: Use mode instead to set the tier under Spanner. Sets the RagManagedDb to the Scaled tier.

.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4 [deprecated = true];

Returns
Type Description
RagManagedDbConfig.Scaled

The scaled.

getScaledOrBuilder() (deprecated)

public RagManagedDbConfig.ScaledOrBuilder getScaledOrBuilder()

Deprecated: Use mode instead to set the tier under Spanner. Sets the RagManagedDb to the Scaled tier.

.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4 [deprecated = true];

Returns
Type Description
RagManagedDbConfig.ScaledOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServerless()

public RagManagedDbConfig.Serverless getServerless()

Sets the backend to be the serverless mode offered by RAG Engine.

.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless serverless = 5;

Returns
Type Description
RagManagedDbConfig.Serverless

The serverless.

getServerlessOrBuilder()

public RagManagedDbConfig.ServerlessOrBuilder getServerlessOrBuilder()

Sets the backend to be the serverless mode offered by RAG Engine.

.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless serverless = 5;

Returns
Type Description
RagManagedDbConfig.ServerlessOrBuilder

getSpanner()

public RagManagedDbConfig.Spanner getSpanner()

Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner.

NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen.

.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner spanner = 6;

Returns
Type Description
RagManagedDbConfig.Spanner

The spanner.

getSpannerOrBuilder()

public RagManagedDbConfig.SpannerOrBuilder getSpannerOrBuilder()

Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner.

NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen.

.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner spanner = 6;

Returns
Type Description
RagManagedDbConfig.SpannerOrBuilder

getTierCase()

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

getUnprovisioned() (deprecated)

public RagManagedDbConfig.Unprovisioned getUnprovisioned()

Deprecated. google.cloud.aiplatform.v1beta1.RagManagedDbConfig.unprovisioned is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=845

Deprecated: Use mode instead to set the tier under Spanner. Sets the RagManagedDb to the Unprovisioned tier.

.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3 [deprecated = true];

Returns
Type Description
RagManagedDbConfig.Unprovisioned

The unprovisioned.

getUnprovisionedOrBuilder() (deprecated)

public RagManagedDbConfig.UnprovisionedOrBuilder getUnprovisionedOrBuilder()

Deprecated: Use mode instead to set the tier under Spanner. Sets the RagManagedDb to the Unprovisioned tier.

.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3 [deprecated = true];

Returns
Type Description
RagManagedDbConfig.UnprovisionedOrBuilder

hasBasic() (deprecated)

public boolean hasBasic()

Deprecated. google.cloud.aiplatform.v1beta1.RagManagedDbConfig.basic is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=841

Deprecated: Use mode instead to set the tier under Spanner. Sets the RagManagedDb to the Basic tier.

.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Basic basic = 2 [deprecated = true];

Returns
Type Description
boolean

Whether the basic field is set.

hasEnterprise() (deprecated)

public boolean hasEnterprise()

Deprecated. google.cloud.aiplatform.v1beta1.RagManagedDbConfig.enterprise is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=833

Sets the RagManagedDb to the Enterprise tier.

.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Enterprise enterprise = 1 [deprecated = true];

Returns
Type Description
boolean

Whether the enterprise field is set.

hasScaled() (deprecated)

public boolean hasScaled()

Deprecated. google.cloud.aiplatform.v1beta1.RagManagedDbConfig.scaled is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=837

Deprecated: Use mode instead to set the tier under Spanner. Sets the RagManagedDb to the Scaled tier.

.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Scaled scaled = 4 [deprecated = true];

Returns
Type Description
boolean

Whether the scaled field is set.

hasServerless()

public boolean hasServerless()

Sets the backend to be the serverless mode offered by RAG Engine.

.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Serverless serverless = 5;

Returns
Type Description
boolean

Whether the serverless field is set.

hasSpanner()

public boolean hasSpanner()

Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner.

NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen.

.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Spanner spanner = 6;

Returns
Type Description
boolean

Whether the spanner field is set.

hasUnprovisioned() (deprecated)

public boolean hasUnprovisioned()

Deprecated. google.cloud.aiplatform.v1beta1.RagManagedDbConfig.unprovisioned is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=845

Deprecated: Use mode instead to set the tier under Spanner. Sets the RagManagedDb to the Unprovisioned tier.

.google.cloud.aiplatform.v1beta1.RagManagedDbConfig.Unprovisioned unprovisioned = 3 [deprecated = true];

Returns
Type Description
boolean

Whether the unprovisioned field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected RagManagedDbConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RagManagedDbConfig.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException