public static final class RagEmbeddingModelConfig.Builder extends GeneratedMessageV3.Builder<RagEmbeddingModelConfig.Builder> implements RagEmbeddingModelConfigOrBuilder
Config for the embedding model to use for RAG.
Protobuf type google.cloud.aiplatform.v1.RagEmbeddingModelConfig
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.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RagEmbeddingModelConfig build()
public RagEmbeddingModelConfig buildPartial()
public RagEmbeddingModelConfig.Builder clear()
Overrides
public RagEmbeddingModelConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RagEmbeddingModelConfig.Builder clearModelConfig()
public RagEmbeddingModelConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public RagEmbeddingModelConfig.Builder clearVertexPredictionEndpoint()
The Vertex AI Prediction Endpoint that either refers to a publisher model
or an endpoint that is hosting a 1P fine-tuned text embedding model.
Endpoints hosting non-1P fine-tuned text embedding models are
currently not supported.
This is used for dense vector search.
.google.cloud.aiplatform.v1.RagEmbeddingModelConfig.VertexPredictionEndpoint vertex_prediction_endpoint = 1;
public RagEmbeddingModelConfig.Builder clone()
Overrides
public RagEmbeddingModelConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public RagEmbeddingModelConfig.ModelConfigCase getModelConfigCase()
public RagEmbeddingModelConfig.VertexPredictionEndpoint getVertexPredictionEndpoint()
The Vertex AI Prediction Endpoint that either refers to a publisher model
or an endpoint that is hosting a 1P fine-tuned text embedding model.
Endpoints hosting non-1P fine-tuned text embedding models are
currently not supported.
This is used for dense vector search.
.google.cloud.aiplatform.v1.RagEmbeddingModelConfig.VertexPredictionEndpoint vertex_prediction_endpoint = 1;
public RagEmbeddingModelConfig.VertexPredictionEndpoint.Builder getVertexPredictionEndpointBuilder()
The Vertex AI Prediction Endpoint that either refers to a publisher model
or an endpoint that is hosting a 1P fine-tuned text embedding model.
Endpoints hosting non-1P fine-tuned text embedding models are
currently not supported.
This is used for dense vector search.
.google.cloud.aiplatform.v1.RagEmbeddingModelConfig.VertexPredictionEndpoint vertex_prediction_endpoint = 1;
public RagEmbeddingModelConfig.VertexPredictionEndpointOrBuilder getVertexPredictionEndpointOrBuilder()
The Vertex AI Prediction Endpoint that either refers to a publisher model
or an endpoint that is hosting a 1P fine-tuned text embedding model.
Endpoints hosting non-1P fine-tuned text embedding models are
currently not supported.
This is used for dense vector search.
.google.cloud.aiplatform.v1.RagEmbeddingModelConfig.VertexPredictionEndpoint vertex_prediction_endpoint = 1;
public boolean hasVertexPredictionEndpoint()
The Vertex AI Prediction Endpoint that either refers to a publisher model
or an endpoint that is hosting a 1P fine-tuned text embedding model.
Endpoints hosting non-1P fine-tuned text embedding models are
currently not supported.
This is used for dense vector search.
.google.cloud.aiplatform.v1.RagEmbeddingModelConfig.VertexPredictionEndpoint vertex_prediction_endpoint = 1;
Returns |
Type |
Description |
boolean |
Whether the vertexPredictionEndpoint field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RagEmbeddingModelConfig.Builder mergeFrom(RagEmbeddingModelConfig other)
public RagEmbeddingModelConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RagEmbeddingModelConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final RagEmbeddingModelConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public RagEmbeddingModelConfig.Builder mergeVertexPredictionEndpoint(RagEmbeddingModelConfig.VertexPredictionEndpoint value)
The Vertex AI Prediction Endpoint that either refers to a publisher model
or an endpoint that is hosting a 1P fine-tuned text embedding model.
Endpoints hosting non-1P fine-tuned text embedding models are
currently not supported.
This is used for dense vector search.
.google.cloud.aiplatform.v1.RagEmbeddingModelConfig.VertexPredictionEndpoint vertex_prediction_endpoint = 1;
public RagEmbeddingModelConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RagEmbeddingModelConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final RagEmbeddingModelConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public RagEmbeddingModelConfig.Builder setVertexPredictionEndpoint(RagEmbeddingModelConfig.VertexPredictionEndpoint value)
The Vertex AI Prediction Endpoint that either refers to a publisher model
or an endpoint that is hosting a 1P fine-tuned text embedding model.
Endpoints hosting non-1P fine-tuned text embedding models are
currently not supported.
This is used for dense vector search.
.google.cloud.aiplatform.v1.RagEmbeddingModelConfig.VertexPredictionEndpoint vertex_prediction_endpoint = 1;
public RagEmbeddingModelConfig.Builder setVertexPredictionEndpoint(RagEmbeddingModelConfig.VertexPredictionEndpoint.Builder builderForValue)
The Vertex AI Prediction Endpoint that either refers to a publisher model
or an endpoint that is hosting a 1P fine-tuned text embedding model.
Endpoints hosting non-1P fine-tuned text embedding models are
currently not supported.
This is used for dense vector search.
.google.cloud.aiplatform.v1.RagEmbeddingModelConfig.VertexPredictionEndpoint vertex_prediction_endpoint = 1;