Class RagVectorDbConfig.Builder (3.54.0)

public static final class RagVectorDbConfig.Builder extends GeneratedMessageV3.Builder<RagVectorDbConfig.Builder> implements RagVectorDbConfigOrBuilder

Config for the Vector DB to use for RAG.

Protobuf type google.cloud.aiplatform.v1beta1.RagVectorDbConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RagVectorDbConfig build()
Returns
Type Description
RagVectorDbConfig

buildPartial()

public RagVectorDbConfig buildPartial()
Returns
Type Description
RagVectorDbConfig

clear()

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

clearApiAuth()

public RagVectorDbConfig.Builder clearApiAuth()

Authentication config for the chosen Vector DB.

.google.cloud.aiplatform.v1beta1.ApiAuth api_auth = 5;

Returns
Type Description
RagVectorDbConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPinecone()

public RagVectorDbConfig.Builder clearPinecone()

The config for the Pinecone.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Pinecone pinecone = 3;

Returns
Type Description
RagVectorDbConfig.Builder

clearRagManagedDb()

public RagVectorDbConfig.Builder clearRagManagedDb()

The config for the RAG-managed Vector DB.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.RagManagedDb rag_managed_db = 1;

Returns
Type Description
RagVectorDbConfig.Builder

clearVectorDb()

public RagVectorDbConfig.Builder clearVectorDb()
Returns
Type Description
RagVectorDbConfig.Builder

clearVertexFeatureStore()

public RagVectorDbConfig.Builder clearVertexFeatureStore()

The config for the Vertex Feature Store.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.VertexFeatureStore vertex_feature_store = 4;

Returns
Type Description
RagVectorDbConfig.Builder

clearVertexVectorSearch()

public RagVectorDbConfig.Builder clearVertexVectorSearch()

The config for the Vertex Vector Search.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.VertexVectorSearch vertex_vector_search = 6;

Returns
Type Description
RagVectorDbConfig.Builder

clearWeaviate()

public RagVectorDbConfig.Builder clearWeaviate()

The config for the Weaviate.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Weaviate weaviate = 2;

Returns
Type Description
RagVectorDbConfig.Builder

clone()

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

getApiAuth()

public ApiAuth getApiAuth()

Authentication config for the chosen Vector DB.

.google.cloud.aiplatform.v1beta1.ApiAuth api_auth = 5;

Returns
Type Description
ApiAuth

The apiAuth.

getApiAuthBuilder()

public ApiAuth.Builder getApiAuthBuilder()

Authentication config for the chosen Vector DB.

.google.cloud.aiplatform.v1beta1.ApiAuth api_auth = 5;

Returns
Type Description
ApiAuth.Builder

getApiAuthOrBuilder()

public ApiAuthOrBuilder getApiAuthOrBuilder()

Authentication config for the chosen Vector DB.

.google.cloud.aiplatform.v1beta1.ApiAuth api_auth = 5;

Returns
Type Description
ApiAuthOrBuilder

getDefaultInstanceForType()

public RagVectorDbConfig getDefaultInstanceForType()
Returns
Type Description
RagVectorDbConfig

getDescriptorForType()

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

getPinecone()

public RagVectorDbConfig.Pinecone getPinecone()

The config for the Pinecone.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Pinecone pinecone = 3;

Returns
Type Description
RagVectorDbConfig.Pinecone

The pinecone.

getPineconeBuilder()

public RagVectorDbConfig.Pinecone.Builder getPineconeBuilder()

The config for the Pinecone.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Pinecone pinecone = 3;

Returns
Type Description
RagVectorDbConfig.Pinecone.Builder

getPineconeOrBuilder()

public RagVectorDbConfig.PineconeOrBuilder getPineconeOrBuilder()

The config for the Pinecone.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Pinecone pinecone = 3;

Returns
Type Description
RagVectorDbConfig.PineconeOrBuilder

getRagManagedDb()

public RagVectorDbConfig.RagManagedDb getRagManagedDb()

The config for the RAG-managed Vector DB.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.RagManagedDb rag_managed_db = 1;

Returns
Type Description
RagVectorDbConfig.RagManagedDb

The ragManagedDb.

getRagManagedDbBuilder()

public RagVectorDbConfig.RagManagedDb.Builder getRagManagedDbBuilder()

The config for the RAG-managed Vector DB.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.RagManagedDb rag_managed_db = 1;

Returns
Type Description
RagVectorDbConfig.RagManagedDb.Builder

getRagManagedDbOrBuilder()

public RagVectorDbConfig.RagManagedDbOrBuilder getRagManagedDbOrBuilder()

The config for the RAG-managed Vector DB.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.RagManagedDb rag_managed_db = 1;

Returns
Type Description
RagVectorDbConfig.RagManagedDbOrBuilder

getVectorDbCase()

public RagVectorDbConfig.VectorDbCase getVectorDbCase()
Returns
Type Description
RagVectorDbConfig.VectorDbCase

getVertexFeatureStore()

public RagVectorDbConfig.VertexFeatureStore getVertexFeatureStore()

The config for the Vertex Feature Store.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.VertexFeatureStore vertex_feature_store = 4;

Returns
Type Description
RagVectorDbConfig.VertexFeatureStore

The vertexFeatureStore.

getVertexFeatureStoreBuilder()

public RagVectorDbConfig.VertexFeatureStore.Builder getVertexFeatureStoreBuilder()

The config for the Vertex Feature Store.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.VertexFeatureStore vertex_feature_store = 4;

Returns
Type Description
RagVectorDbConfig.VertexFeatureStore.Builder

getVertexFeatureStoreOrBuilder()

public RagVectorDbConfig.VertexFeatureStoreOrBuilder getVertexFeatureStoreOrBuilder()

The config for the Vertex Feature Store.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.VertexFeatureStore vertex_feature_store = 4;

Returns
Type Description
RagVectorDbConfig.VertexFeatureStoreOrBuilder

getVertexVectorSearch()

public RagVectorDbConfig.VertexVectorSearch getVertexVectorSearch()

The config for the Vertex Vector Search.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.VertexVectorSearch vertex_vector_search = 6;

Returns
Type Description
RagVectorDbConfig.VertexVectorSearch

The vertexVectorSearch.

getVertexVectorSearchBuilder()

public RagVectorDbConfig.VertexVectorSearch.Builder getVertexVectorSearchBuilder()

The config for the Vertex Vector Search.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.VertexVectorSearch vertex_vector_search = 6;

Returns
Type Description
RagVectorDbConfig.VertexVectorSearch.Builder

getVertexVectorSearchOrBuilder()

public RagVectorDbConfig.VertexVectorSearchOrBuilder getVertexVectorSearchOrBuilder()

The config for the Vertex Vector Search.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.VertexVectorSearch vertex_vector_search = 6;

Returns
Type Description
RagVectorDbConfig.VertexVectorSearchOrBuilder

getWeaviate()

public RagVectorDbConfig.Weaviate getWeaviate()

The config for the Weaviate.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Weaviate weaviate = 2;

Returns
Type Description
RagVectorDbConfig.Weaviate

The weaviate.

getWeaviateBuilder()

public RagVectorDbConfig.Weaviate.Builder getWeaviateBuilder()

The config for the Weaviate.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Weaviate weaviate = 2;

Returns
Type Description
RagVectorDbConfig.Weaviate.Builder

getWeaviateOrBuilder()

public RagVectorDbConfig.WeaviateOrBuilder getWeaviateOrBuilder()

The config for the Weaviate.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Weaviate weaviate = 2;

Returns
Type Description
RagVectorDbConfig.WeaviateOrBuilder

hasApiAuth()

public boolean hasApiAuth()

Authentication config for the chosen Vector DB.

.google.cloud.aiplatform.v1beta1.ApiAuth api_auth = 5;

Returns
Type Description
boolean

Whether the apiAuth field is set.

hasPinecone()

public boolean hasPinecone()

The config for the Pinecone.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Pinecone pinecone = 3;

Returns
Type Description
boolean

Whether the pinecone field is set.

hasRagManagedDb()

public boolean hasRagManagedDb()

The config for the RAG-managed Vector DB.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.RagManagedDb rag_managed_db = 1;

Returns
Type Description
boolean

Whether the ragManagedDb field is set.

hasVertexFeatureStore()

public boolean hasVertexFeatureStore()

The config for the Vertex Feature Store.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.VertexFeatureStore vertex_feature_store = 4;

Returns
Type Description
boolean

Whether the vertexFeatureStore field is set.

hasVertexVectorSearch()

public boolean hasVertexVectorSearch()

The config for the Vertex Vector Search.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.VertexVectorSearch vertex_vector_search = 6;

Returns
Type Description
boolean

Whether the vertexVectorSearch field is set.

hasWeaviate()

public boolean hasWeaviate()

The config for the Weaviate.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Weaviate weaviate = 2;

Returns
Type Description
boolean

Whether the weaviate field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeApiAuth(ApiAuth value)

public RagVectorDbConfig.Builder mergeApiAuth(ApiAuth value)

Authentication config for the chosen Vector DB.

.google.cloud.aiplatform.v1beta1.ApiAuth api_auth = 5;

Parameter
Name Description
value ApiAuth
Returns
Type Description
RagVectorDbConfig.Builder

mergeFrom(RagVectorDbConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePinecone(RagVectorDbConfig.Pinecone value)

public RagVectorDbConfig.Builder mergePinecone(RagVectorDbConfig.Pinecone value)

The config for the Pinecone.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Pinecone pinecone = 3;

Parameter
Name Description
value RagVectorDbConfig.Pinecone
Returns
Type Description
RagVectorDbConfig.Builder

mergeRagManagedDb(RagVectorDbConfig.RagManagedDb value)

public RagVectorDbConfig.Builder mergeRagManagedDb(RagVectorDbConfig.RagManagedDb value)

The config for the RAG-managed Vector DB.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.RagManagedDb rag_managed_db = 1;

Parameter
Name Description
value RagVectorDbConfig.RagManagedDb
Returns
Type Description
RagVectorDbConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeVertexFeatureStore(RagVectorDbConfig.VertexFeatureStore value)

public RagVectorDbConfig.Builder mergeVertexFeatureStore(RagVectorDbConfig.VertexFeatureStore value)

The config for the Vertex Feature Store.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.VertexFeatureStore vertex_feature_store = 4;

Parameter
Name Description
value RagVectorDbConfig.VertexFeatureStore
Returns
Type Description
RagVectorDbConfig.Builder

mergeVertexVectorSearch(RagVectorDbConfig.VertexVectorSearch value)

public RagVectorDbConfig.Builder mergeVertexVectorSearch(RagVectorDbConfig.VertexVectorSearch value)

The config for the Vertex Vector Search.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.VertexVectorSearch vertex_vector_search = 6;

Parameter
Name Description
value RagVectorDbConfig.VertexVectorSearch
Returns
Type Description
RagVectorDbConfig.Builder

mergeWeaviate(RagVectorDbConfig.Weaviate value)

public RagVectorDbConfig.Builder mergeWeaviate(RagVectorDbConfig.Weaviate value)

The config for the Weaviate.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Weaviate weaviate = 2;

Parameter
Name Description
value RagVectorDbConfig.Weaviate
Returns
Type Description
RagVectorDbConfig.Builder

setApiAuth(ApiAuth value)

public RagVectorDbConfig.Builder setApiAuth(ApiAuth value)

Authentication config for the chosen Vector DB.

.google.cloud.aiplatform.v1beta1.ApiAuth api_auth = 5;

Parameter
Name Description
value ApiAuth
Returns
Type Description
RagVectorDbConfig.Builder

setApiAuth(ApiAuth.Builder builderForValue)

public RagVectorDbConfig.Builder setApiAuth(ApiAuth.Builder builderForValue)

Authentication config for the chosen Vector DB.

.google.cloud.aiplatform.v1beta1.ApiAuth api_auth = 5;

Parameter
Name Description
builderForValue ApiAuth.Builder
Returns
Type Description
RagVectorDbConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPinecone(RagVectorDbConfig.Pinecone value)

public RagVectorDbConfig.Builder setPinecone(RagVectorDbConfig.Pinecone value)

The config for the Pinecone.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Pinecone pinecone = 3;

Parameter
Name Description
value RagVectorDbConfig.Pinecone
Returns
Type Description
RagVectorDbConfig.Builder

setPinecone(RagVectorDbConfig.Pinecone.Builder builderForValue)

public RagVectorDbConfig.Builder setPinecone(RagVectorDbConfig.Pinecone.Builder builderForValue)

The config for the Pinecone.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Pinecone pinecone = 3;

Parameter
Name Description
builderForValue RagVectorDbConfig.Pinecone.Builder
Returns
Type Description
RagVectorDbConfig.Builder

setRagManagedDb(RagVectorDbConfig.RagManagedDb value)

public RagVectorDbConfig.Builder setRagManagedDb(RagVectorDbConfig.RagManagedDb value)

The config for the RAG-managed Vector DB.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.RagManagedDb rag_managed_db = 1;

Parameter
Name Description
value RagVectorDbConfig.RagManagedDb
Returns
Type Description
RagVectorDbConfig.Builder

setRagManagedDb(RagVectorDbConfig.RagManagedDb.Builder builderForValue)

public RagVectorDbConfig.Builder setRagManagedDb(RagVectorDbConfig.RagManagedDb.Builder builderForValue)

The config for the RAG-managed Vector DB.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.RagManagedDb rag_managed_db = 1;

Parameter
Name Description
builderForValue RagVectorDbConfig.RagManagedDb.Builder
Returns
Type Description
RagVectorDbConfig.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVertexFeatureStore(RagVectorDbConfig.VertexFeatureStore value)

public RagVectorDbConfig.Builder setVertexFeatureStore(RagVectorDbConfig.VertexFeatureStore value)

The config for the Vertex Feature Store.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.VertexFeatureStore vertex_feature_store = 4;

Parameter
Name Description
value RagVectorDbConfig.VertexFeatureStore
Returns
Type Description
RagVectorDbConfig.Builder

setVertexFeatureStore(RagVectorDbConfig.VertexFeatureStore.Builder builderForValue)

public RagVectorDbConfig.Builder setVertexFeatureStore(RagVectorDbConfig.VertexFeatureStore.Builder builderForValue)

The config for the Vertex Feature Store.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.VertexFeatureStore vertex_feature_store = 4;

Parameter
Name Description
builderForValue RagVectorDbConfig.VertexFeatureStore.Builder
Returns
Type Description
RagVectorDbConfig.Builder

setVertexVectorSearch(RagVectorDbConfig.VertexVectorSearch value)

public RagVectorDbConfig.Builder setVertexVectorSearch(RagVectorDbConfig.VertexVectorSearch value)

The config for the Vertex Vector Search.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.VertexVectorSearch vertex_vector_search = 6;

Parameter
Name Description
value RagVectorDbConfig.VertexVectorSearch
Returns
Type Description
RagVectorDbConfig.Builder

setVertexVectorSearch(RagVectorDbConfig.VertexVectorSearch.Builder builderForValue)

public RagVectorDbConfig.Builder setVertexVectorSearch(RagVectorDbConfig.VertexVectorSearch.Builder builderForValue)

The config for the Vertex Vector Search.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.VertexVectorSearch vertex_vector_search = 6;

Parameter
Name Description
builderForValue RagVectorDbConfig.VertexVectorSearch.Builder
Returns
Type Description
RagVectorDbConfig.Builder

setWeaviate(RagVectorDbConfig.Weaviate value)

public RagVectorDbConfig.Builder setWeaviate(RagVectorDbConfig.Weaviate value)

The config for the Weaviate.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Weaviate weaviate = 2;

Parameter
Name Description
value RagVectorDbConfig.Weaviate
Returns
Type Description
RagVectorDbConfig.Builder

setWeaviate(RagVectorDbConfig.Weaviate.Builder builderForValue)

public RagVectorDbConfig.Builder setWeaviate(RagVectorDbConfig.Weaviate.Builder builderForValue)

The config for the Weaviate.

.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Weaviate weaviate = 2;

Parameter
Name Description
builderForValue RagVectorDbConfig.Weaviate.Builder
Returns
Type Description
RagVectorDbConfig.Builder