public final class RagVectorDbConfig extends GeneratedMessageV3 implements RagVectorDbConfigOrBuilder
Config for the Vector DB to use for RAG.
Protobuf type google.cloud.aiplatform.v1beta1.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_FEATURE_STORE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int VERTEX_VECTOR_SEARCH_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int WEAVIATE_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.v1beta1.ApiAuth api_auth = 5;
Returns |
Type |
Description |
ApiAuth |
The apiAuth.
|
public ApiAuthOrBuilder getApiAuthOrBuilder()
Authentication config for the chosen Vector DB.
.google.cloud.aiplatform.v1beta1.ApiAuth api_auth = 5;
public RagVectorDbConfig getDefaultInstanceForType()
public Parser<RagVectorDbConfig> getParserForType()
Overrides
public RagVectorDbConfig.Pinecone getPinecone()
The config for the Pinecone.
.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Pinecone pinecone = 3;
public RagVectorDbConfig.PineconeOrBuilder getPineconeOrBuilder()
The config for the Pinecone.
.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Pinecone pinecone = 3;
public RagEmbeddingModelConfig getRagEmbeddingModelConfig()
Optional. Immutable. The embedding model config of the Vector DB.
.google.cloud.aiplatform.v1beta1.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.v1beta1.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.v1beta1.RagVectorDbConfig.RagManagedDb rag_managed_db = 1;
public RagVectorDbConfig.RagManagedDbOrBuilder getRagManagedDbOrBuilder()
The config for the RAG-managed Vector DB.
.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.RagManagedDb rag_managed_db = 1;
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public RagVectorDbConfig.VectorDbCase getVectorDbCase()
public RagVectorDbConfig.VertexFeatureStore getVertexFeatureStore()
The config for the Vertex Feature Store.
.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.VertexFeatureStore vertex_feature_store = 4;
public RagVectorDbConfig.VertexFeatureStoreOrBuilder getVertexFeatureStoreOrBuilder()
The config for the Vertex Feature Store.
.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.VertexFeatureStore vertex_feature_store = 4;
public RagVectorDbConfig.VertexVectorSearch getVertexVectorSearch()
The config for the Vertex Vector Search.
.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.VertexVectorSearch vertex_vector_search = 6;
public RagVectorDbConfig.VertexVectorSearchOrBuilder getVertexVectorSearchOrBuilder()
The config for the Vertex Vector Search.
.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.VertexVectorSearch vertex_vector_search = 6;
public RagVectorDbConfig.Weaviate getWeaviate()
The config for the Weaviate.
.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Weaviate weaviate = 2;
public RagVectorDbConfig.WeaviateOrBuilder getWeaviateOrBuilder()
The config for the Weaviate.
.google.cloud.aiplatform.v1beta1.RagVectorDbConfig.Weaviate weaviate = 2;
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.
|
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.
|
public boolean hasRagEmbeddingModelConfig()
Optional. Immutable. The embedding model config of the Vector DB.
.google.cloud.aiplatform.v1beta1.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.v1beta1.RagVectorDbConfig.RagManagedDb rag_managed_db = 1;
Returns |
Type |
Description |
boolean |
Whether the ragManagedDb field is set.
|
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.
|
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.
|
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.
|
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