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