Class RagVectorDbConfig.Builder (3.56.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.v1.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.v1.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.v1.RagVectorDbConfig.Pinecone pinecone = 3;

Returns
Type Description
RagVectorDbConfig.Builder

clearRagEmbeddingModelConfig()

public RagVectorDbConfig.Builder clearRagEmbeddingModelConfig()

Optional. Immutable. The embedding model config of the Vector DB.

.google.cloud.aiplatform.v1.RagEmbeddingModelConfig rag_embedding_model_config = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
RagVectorDbConfig.Builder

clearRagManagedDb()

public RagVectorDbConfig.Builder clearRagManagedDb()

The config for the RAG-managed Vector DB.

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

Returns
Type Description
RagVectorDbConfig.Builder

clearVectorDb()

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

clearVertexVectorSearch()

public RagVectorDbConfig.Builder clearVertexVectorSearch()

The config for the Vertex Vector Search.

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

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.v1.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.v1.ApiAuth api_auth = 5;

Returns
Type Description
ApiAuth.Builder

getApiAuthOrBuilder()

public ApiAuthOrBuilder getApiAuthOrBuilder()

Authentication config for the chosen Vector DB.

.google.cloud.aiplatform.v1.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.v1.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.v1.RagVectorDbConfig.Pinecone pinecone = 3;

Returns
Type Description
RagVectorDbConfig.Pinecone.Builder

getPineconeOrBuilder()

public RagVectorDbConfig.PineconeOrBuilder getPineconeOrBuilder()

The config for the Pinecone.

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

Returns
Type Description
RagVectorDbConfig.PineconeOrBuilder

getRagEmbeddingModelConfig()

public RagEmbeddingModelConfig getRagEmbeddingModelConfig()

Optional. Immutable. The embedding model config of the Vector DB.

.google.cloud.aiplatform.v1.RagEmbeddingModelConfig rag_embedding_model_config = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
RagEmbeddingModelConfig

The ragEmbeddingModelConfig.

getRagEmbeddingModelConfigBuilder()

public RagEmbeddingModelConfig.Builder getRagEmbeddingModelConfigBuilder()

Optional. Immutable. The embedding model config of the Vector DB.

.google.cloud.aiplatform.v1.RagEmbeddingModelConfig rag_embedding_model_config = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
RagEmbeddingModelConfig.Builder

getRagEmbeddingModelConfigOrBuilder()

public RagEmbeddingModelConfigOrBuilder getRagEmbeddingModelConfigOrBuilder()

Optional. Immutable. The embedding model config of the Vector DB.

.google.cloud.aiplatform.v1.RagEmbeddingModelConfig rag_embedding_model_config = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
RagEmbeddingModelConfigOrBuilder

getRagManagedDb()

public RagVectorDbConfig.RagManagedDb getRagManagedDb()

The config for the RAG-managed Vector DB.

.google.cloud.aiplatform.v1.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.v1.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.v1.RagVectorDbConfig.RagManagedDb rag_managed_db = 1;

Returns
Type Description
RagVectorDbConfig.RagManagedDbOrBuilder

getVectorDbCase()

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

getVertexVectorSearch()

public RagVectorDbConfig.VertexVectorSearch getVertexVectorSearch()

The config for the Vertex Vector Search.

.google.cloud.aiplatform.v1.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.v1.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.v1.RagVectorDbConfig.VertexVectorSearch vertex_vector_search = 6;

Returns
Type Description
RagVectorDbConfig.VertexVectorSearchOrBuilder

hasApiAuth()

public boolean hasApiAuth()

Authentication config for the chosen Vector DB.

.google.cloud.aiplatform.v1.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.v1.RagVectorDbConfig.Pinecone pinecone = 3;

Returns
Type Description
boolean

Whether the pinecone field is set.

hasRagEmbeddingModelConfig()

public boolean hasRagEmbeddingModelConfig()

Optional. Immutable. The embedding model config of the Vector DB.

.google.cloud.aiplatform.v1.RagEmbeddingModelConfig rag_embedding_model_config = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the ragEmbeddingModelConfig field is set.

hasRagManagedDb()

public boolean hasRagManagedDb()

The config for the RAG-managed Vector DB.

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

Returns
Type Description
boolean

Whether the ragManagedDb field is set.

hasVertexVectorSearch()

public boolean hasVertexVectorSearch()

The config for the Vertex Vector Search.

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

Returns
Type Description
boolean

Whether the vertexVectorSearch 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.v1.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.v1.RagVectorDbConfig.Pinecone pinecone = 3;

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

mergeRagEmbeddingModelConfig(RagEmbeddingModelConfig value)

public RagVectorDbConfig.Builder mergeRagEmbeddingModelConfig(RagEmbeddingModelConfig value)

Optional. Immutable. The embedding model config of the Vector DB.

.google.cloud.aiplatform.v1.RagEmbeddingModelConfig rag_embedding_model_config = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value RagEmbeddingModelConfig
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.v1.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

mergeVertexVectorSearch(RagVectorDbConfig.VertexVectorSearch value)

public RagVectorDbConfig.Builder mergeVertexVectorSearch(RagVectorDbConfig.VertexVectorSearch value)

The config for the Vertex Vector Search.

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

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

setApiAuth(ApiAuth value)

public RagVectorDbConfig.Builder setApiAuth(ApiAuth value)

Authentication config for the chosen Vector DB.

.google.cloud.aiplatform.v1.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.v1.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.v1.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.v1.RagVectorDbConfig.Pinecone pinecone = 3;

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

setRagEmbeddingModelConfig(RagEmbeddingModelConfig value)

public RagVectorDbConfig.Builder setRagEmbeddingModelConfig(RagEmbeddingModelConfig value)

Optional. Immutable. The embedding model config of the Vector DB.

.google.cloud.aiplatform.v1.RagEmbeddingModelConfig rag_embedding_model_config = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value RagEmbeddingModelConfig
Returns
Type Description
RagVectorDbConfig.Builder

setRagEmbeddingModelConfig(RagEmbeddingModelConfig.Builder builderForValue)

public RagVectorDbConfig.Builder setRagEmbeddingModelConfig(RagEmbeddingModelConfig.Builder builderForValue)

Optional. Immutable. The embedding model config of the Vector DB.

.google.cloud.aiplatform.v1.RagEmbeddingModelConfig rag_embedding_model_config = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
builderForValue RagEmbeddingModelConfig.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.v1.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.v1.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

setVertexVectorSearch(RagVectorDbConfig.VertexVectorSearch value)

public RagVectorDbConfig.Builder setVertexVectorSearch(RagVectorDbConfig.VertexVectorSearch value)

The config for the Vertex Vector Search.

.google.cloud.aiplatform.v1.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.v1.RagVectorDbConfig.VertexVectorSearch vertex_vector_search = 6;

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