Class RagEmbeddingModelConfig.HybridSearchConfig.Builder (3.59.0)

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

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

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RagEmbeddingModelConfig.HybridSearchConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

build()

public RagEmbeddingModelConfig.HybridSearchConfig build()

buildPartial()

public RagEmbeddingModelConfig.HybridSearchConfig buildPartial()

clear()

public RagEmbeddingModelConfig.HybridSearchConfig.Builder clear()
Overrides

clearDenseEmbeddingModelPredictionEndpoint()

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];

clearField(Descriptors.FieldDescriptor field)

public RagEmbeddingModelConfig.HybridSearchConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RagEmbeddingModelConfig.HybridSearchConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Overrides

clearSparseEmbeddingConfig()

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];

clone()

public RagEmbeddingModelConfig.HybridSearchConfig.Builder clone()
Overrides

getDefaultInstanceForType()

public RagEmbeddingModelConfig.HybridSearchConfig getDefaultInstanceForType()

getDenseEmbeddingModelPredictionEndpoint()

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];

Returns
Type Description
RagEmbeddingModelConfig.VertexPredictionEndpoint

The denseEmbeddingModelPredictionEndpoint.

getDenseEmbeddingModelPredictionEndpointBuilder()

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];

getDenseEmbeddingModelPredictionEndpointOrBuilder()

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];

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSparseEmbeddingConfig()

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];

Returns
Type Description
RagEmbeddingModelConfig.SparseEmbeddingConfig

The sparseEmbeddingConfig.

getSparseEmbeddingConfigBuilder()

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];

getSparseEmbeddingConfigOrBuilder()

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];

hasDenseEmbeddingModelPredictionEndpoint()

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.

hasSparseEmbeddingConfig()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDenseEmbeddingModelPredictionEndpoint(RagEmbeddingModelConfig.VertexPredictionEndpoint value)

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];

Parameter
Name Description
value RagEmbeddingModelConfig.VertexPredictionEndpoint

mergeFrom(RagEmbeddingModelConfig.HybridSearchConfig other)

public RagEmbeddingModelConfig.HybridSearchConfig.Builder mergeFrom(RagEmbeddingModelConfig.HybridSearchConfig other)
Parameter
Name Description
other RagEmbeddingModelConfig.HybridSearchConfig

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RagEmbeddingModelConfig.HybridSearchConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RagEmbeddingModelConfig.HybridSearchConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Overrides

mergeSparseEmbeddingConfig(RagEmbeddingModelConfig.SparseEmbeddingConfig value)

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];

Parameter
Name Description
value RagEmbeddingModelConfig.SparseEmbeddingConfig

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RagEmbeddingModelConfig.HybridSearchConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides

setDenseEmbeddingModelPredictionEndpoint(RagEmbeddingModelConfig.VertexPredictionEndpoint value)

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];

Parameter
Name Description
value RagEmbeddingModelConfig.VertexPredictionEndpoint

setDenseEmbeddingModelPredictionEndpoint(RagEmbeddingModelConfig.VertexPredictionEndpoint.Builder builderForValue)

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];

Parameter
Name Description
builderForValue RagEmbeddingModelConfig.VertexPredictionEndpoint.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RagEmbeddingModelConfig.HybridSearchConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RagEmbeddingModelConfig.HybridSearchConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Overrides

setSparseEmbeddingConfig(RagEmbeddingModelConfig.SparseEmbeddingConfig value)

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];

Parameter
Name Description
value RagEmbeddingModelConfig.SparseEmbeddingConfig

setSparseEmbeddingConfig(RagEmbeddingModelConfig.SparseEmbeddingConfig.Builder builderForValue)

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];

Parameter
Name Description
builderForValue RagEmbeddingModelConfig.SparseEmbeddingConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RagEmbeddingModelConfig.HybridSearchConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides