Send feedback
Class RagEmbeddingModelConfig.HybridSearchConfig.Builder (3.55.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.55.0 keyboard_arrow_down
public static final class RagEmbeddingModelConfig . HybridSearchConfig . Builder extends GeneratedMessageV3 . Builder<RagEmbeddingModelConfig . HybridSearchConfig . Builder > implements RagEmbeddingModelConfig . HybridSearchConfigOrBuilder
Config for hybrid search.
Protobuf type
google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.HybridSearchConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public RagEmbeddingModelConfig . HybridSearchConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public RagEmbeddingModelConfig . HybridSearchConfig build ()
public RagEmbeddingModelConfig . HybridSearchConfig buildPartial ()
public RagEmbeddingModelConfig . HybridSearchConfig . Builder clear ()
Overrides
public RagEmbeddingModelConfig . HybridSearchConfig . Builder clearDenseEmbeddingModelPredictionEndpoint ()
Required. The Vertex AI Prediction Endpoint that hosts the embedding
model for dense embedding generations.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.VertexPredictionEndpoint dense_embedding_model_prediction_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
public RagEmbeddingModelConfig . HybridSearchConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public RagEmbeddingModelConfig . HybridSearchConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public RagEmbeddingModelConfig . HybridSearchConfig . Builder clearSparseEmbeddingConfig ()
Optional. The configuration for sparse embedding generation. This field
is optional the default behavior depends on the vector database choice on
the RagCorpus.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.SparseEmbeddingConfig sparse_embedding_config = 1 [(.google.api.field_behavior) = OPTIONAL];
public RagEmbeddingModelConfig . HybridSearchConfig . Builder clone ()
Overrides
public RagEmbeddingModelConfig . HybridSearchConfig getDefaultInstanceForType ()
public RagEmbeddingModelConfig . VertexPredictionEndpoint getDenseEmbeddingModelPredictionEndpoint ()
Required. The Vertex AI Prediction Endpoint that hosts the embedding
model for dense embedding generations.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.VertexPredictionEndpoint dense_embedding_model_prediction_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
public RagEmbeddingModelConfig . VertexPredictionEndpoint . Builder getDenseEmbeddingModelPredictionEndpointBuilder ()
Required. The Vertex AI Prediction Endpoint that hosts the embedding
model for dense embedding generations.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.VertexPredictionEndpoint dense_embedding_model_prediction_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
public RagEmbeddingModelConfig . VertexPredictionEndpointOrBuilder getDenseEmbeddingModelPredictionEndpointOrBuilder ()
Required. The Vertex AI Prediction Endpoint that hosts the embedding
model for dense embedding generations.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.VertexPredictionEndpoint dense_embedding_model_prediction_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public RagEmbeddingModelConfig . SparseEmbeddingConfig getSparseEmbeddingConfig ()
Optional. The configuration for sparse embedding generation. This field
is optional the default behavior depends on the vector database choice on
the RagCorpus.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.SparseEmbeddingConfig sparse_embedding_config = 1 [(.google.api.field_behavior) = OPTIONAL];
public RagEmbeddingModelConfig . SparseEmbeddingConfig . Builder getSparseEmbeddingConfigBuilder ()
Optional. The configuration for sparse embedding generation. This field
is optional the default behavior depends on the vector database choice on
the RagCorpus.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.SparseEmbeddingConfig sparse_embedding_config = 1 [(.google.api.field_behavior) = OPTIONAL];
public RagEmbeddingModelConfig . SparseEmbeddingConfigOrBuilder getSparseEmbeddingConfigOrBuilder ()
Optional. The configuration for sparse embedding generation. This field
is optional the default behavior depends on the vector database choice on
the RagCorpus.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.SparseEmbeddingConfig sparse_embedding_config = 1 [(.google.api.field_behavior) = OPTIONAL];
public boolean hasDenseEmbeddingModelPredictionEndpoint ()
Required. The Vertex AI Prediction Endpoint that hosts the embedding
model for dense embedding generations.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.VertexPredictionEndpoint dense_embedding_model_prediction_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the denseEmbeddingModelPredictionEndpoint field is set.
public boolean hasSparseEmbeddingConfig ()
Optional. The configuration for sparse embedding generation. This field
is optional the default behavior depends on the vector database choice on
the RagCorpus.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.SparseEmbeddingConfig sparse_embedding_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the sparseEmbeddingConfig field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public RagEmbeddingModelConfig . HybridSearchConfig . Builder mergeDenseEmbeddingModelPredictionEndpoint ( RagEmbeddingModelConfig . VertexPredictionEndpoint value )
Required. The Vertex AI Prediction Endpoint that hosts the embedding
model for dense embedding generations.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.VertexPredictionEndpoint dense_embedding_model_prediction_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
public RagEmbeddingModelConfig . HybridSearchConfig . Builder mergeFrom ( RagEmbeddingModelConfig . HybridSearchConfig other )
public RagEmbeddingModelConfig . HybridSearchConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public RagEmbeddingModelConfig . HybridSearchConfig . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public RagEmbeddingModelConfig . HybridSearchConfig . Builder mergeSparseEmbeddingConfig ( RagEmbeddingModelConfig . SparseEmbeddingConfig value )
Optional. The configuration for sparse embedding generation. This field
is optional the default behavior depends on the vector database choice on
the RagCorpus.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.SparseEmbeddingConfig sparse_embedding_config = 1 [(.google.api.field_behavior) = OPTIONAL];
public final RagEmbeddingModelConfig . HybridSearchConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public RagEmbeddingModelConfig . HybridSearchConfig . Builder setDenseEmbeddingModelPredictionEndpoint ( RagEmbeddingModelConfig . VertexPredictionEndpoint value )
Required. The Vertex AI Prediction Endpoint that hosts the embedding
model for dense embedding generations.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.VertexPredictionEndpoint dense_embedding_model_prediction_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
public RagEmbeddingModelConfig . HybridSearchConfig . Builder setDenseEmbeddingModelPredictionEndpoint ( RagEmbeddingModelConfig . VertexPredictionEndpoint . Builder builderForValue )
Required. The Vertex AI Prediction Endpoint that hosts the embedding
model for dense embedding generations.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.VertexPredictionEndpoint dense_embedding_model_prediction_endpoint = 2 [(.google.api.field_behavior) = REQUIRED];
public RagEmbeddingModelConfig . HybridSearchConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public RagEmbeddingModelConfig . HybridSearchConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public RagEmbeddingModelConfig . HybridSearchConfig . Builder setSparseEmbeddingConfig ( RagEmbeddingModelConfig . SparseEmbeddingConfig value )
Optional. The configuration for sparse embedding generation. This field
is optional the default behavior depends on the vector database choice on
the RagCorpus.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.SparseEmbeddingConfig sparse_embedding_config = 1 [(.google.api.field_behavior) = OPTIONAL];
public RagEmbeddingModelConfig . HybridSearchConfig . Builder setSparseEmbeddingConfig ( RagEmbeddingModelConfig . SparseEmbeddingConfig . Builder builderForValue )
Optional. The configuration for sparse embedding generation. This field
is optional the default behavior depends on the vector database choice on
the RagCorpus.
.google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.SparseEmbeddingConfig sparse_embedding_config = 1 [(.google.api.field_behavior) = OPTIONAL];
public final RagEmbeddingModelConfig . HybridSearchConfig . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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-03-03 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-03-03 UTC."],[],[]]