Send feedback
Class RagVectorDbConfig (3.77.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class RagVectorDbConfig extends GeneratedMessageV3 implements RagVectorDbConfigOrBuilder
Config for the Vector DB to use for RAG.
Protobuf type google.cloud.aiplatform.v1.RagVectorDbConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int API_AUTH_FIELD_NUMBER
Field Value
Type
Description
int
public static final int PINECONE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int RAG_EMBEDDING_MODEL_CONFIG_FIELD_NUMBER
Field Value
Type
Description
int
public static final int RAG_MANAGED_DB_FIELD_NUMBER
Field Value
Type
Description
int
public static final int VERTEX_VECTOR_SEARCH_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static RagVectorDbConfig getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static RagVectorDbConfig . Builder newBuilder ()
public static RagVectorDbConfig . Builder newBuilder ( RagVectorDbConfig prototype )
public static RagVectorDbConfig parseDelimitedFrom ( InputStream input )
public static RagVectorDbConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static RagVectorDbConfig parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static RagVectorDbConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static RagVectorDbConfig parseFrom ( ByteString data )
public static RagVectorDbConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static RagVectorDbConfig parseFrom ( CodedInputStream input )
public static RagVectorDbConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static RagVectorDbConfig parseFrom ( InputStream input )
public static RagVectorDbConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static RagVectorDbConfig parseFrom ( ByteBuffer data )
public static RagVectorDbConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<RagVectorDbConfig> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public ApiAuth getApiAuth ()
Authentication config for the chosen Vector DB.
.google.cloud.aiplatform.v1.ApiAuth api_auth = 5;
Returns
Type
Description
ApiAuth
The apiAuth.
public ApiAuthOrBuilder getApiAuthOrBuilder ()
Authentication config for the chosen Vector DB.
.google.cloud.aiplatform.v1.ApiAuth api_auth = 5;
public RagVectorDbConfig getDefaultInstanceForType ()
public Parser<RagVectorDbConfig> getParserForType ()
Overrides
public RagVectorDbConfig . Pinecone getPinecone ()
The config for the Pinecone.
.google.cloud.aiplatform.v1.RagVectorDbConfig.Pinecone pinecone = 3;
public RagVectorDbConfig . PineconeOrBuilder getPineconeOrBuilder ()
The config for the Pinecone.
.google.cloud.aiplatform.v1.RagVectorDbConfig.Pinecone pinecone = 3;
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];
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];
public RagVectorDbConfig . RagManagedDb getRagManagedDb ()
The config for the RAG-managed Vector DB.
.google.cloud.aiplatform.v1.RagVectorDbConfig.RagManagedDb rag_managed_db = 1;
public RagVectorDbConfig . RagManagedDbOrBuilder getRagManagedDbOrBuilder ()
The config for the RAG-managed Vector DB.
.google.cloud.aiplatform.v1.RagVectorDbConfig.RagManagedDb rag_managed_db = 1;
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public RagVectorDbConfig . VectorDbCase getVectorDbCase ()
public RagVectorDbConfig . VertexVectorSearch getVertexVectorSearch ()
The config for the Vertex Vector Search.
.google.cloud.aiplatform.v1.RagVectorDbConfig.VertexVectorSearch vertex_vector_search = 6;
public RagVectorDbConfig . VertexVectorSearchOrBuilder getVertexVectorSearchOrBuilder ()
The config for the Vertex Vector Search.
.google.cloud.aiplatform.v1.RagVectorDbConfig.VertexVectorSearch vertex_vector_search = 6;
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.
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.
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.
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.
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.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public RagVectorDbConfig . Builder newBuilderForType ()
protected RagVectorDbConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public RagVectorDbConfig . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]