public static final class Model.ModelFeaturesConfig.LlmEmbeddingConfig.Builder extends GeneratedMessageV3.Builder<Model.ModelFeaturesConfig.LlmEmbeddingConfig.Builder> implements Model.ModelFeaturesConfig.LlmEmbeddingConfigOrBuilder
Config that turns on usage of llm embeddings as features to the model.
Embeddings leverage unstructured text fields like description and title.
Protobuf type
google.cloud.retail.v2alpha.Model.ModelFeaturesConfig.LlmEmbeddingConfig
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Model.ModelFeaturesConfig.LlmEmbeddingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Model.ModelFeaturesConfig.LlmEmbeddingConfig build()
buildPartial()
public Model.ModelFeaturesConfig.LlmEmbeddingConfig buildPartial()
clear()
public Model.ModelFeaturesConfig.LlmEmbeddingConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Model.ModelFeaturesConfig.LlmEmbeddingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLlmEmbeddingVersion()
public Model.ModelFeaturesConfig.LlmEmbeddingConfig.Builder clearLlmEmbeddingVersion()
Optional. The LLM embedding version to use.
Currently only v0
is supported. If not specified, feature will
not be turned on.
string llm_embedding_version = 1 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public Model.ModelFeaturesConfig.LlmEmbeddingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Model.ModelFeaturesConfig.LlmEmbeddingConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public Model.ModelFeaturesConfig.LlmEmbeddingConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLlmEmbeddingVersion()
public String getLlmEmbeddingVersion()
Optional. The LLM embedding version to use.
Currently only v0
is supported. If not specified, feature will
not be turned on.
string llm_embedding_version = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The llmEmbeddingVersion.
|
getLlmEmbeddingVersionBytes()
public ByteString getLlmEmbeddingVersionBytes()
Optional. The LLM embedding version to use.
Currently only v0
is supported. If not specified, feature will
not be turned on.
string llm_embedding_version = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for llmEmbeddingVersion.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Model.ModelFeaturesConfig.LlmEmbeddingConfig other)
public Model.ModelFeaturesConfig.LlmEmbeddingConfig.Builder mergeFrom(Model.ModelFeaturesConfig.LlmEmbeddingConfig other)
public Model.ModelFeaturesConfig.LlmEmbeddingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Model.ModelFeaturesConfig.LlmEmbeddingConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Model.ModelFeaturesConfig.LlmEmbeddingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Model.ModelFeaturesConfig.LlmEmbeddingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setLlmEmbeddingVersion(String value)
public Model.ModelFeaturesConfig.LlmEmbeddingConfig.Builder setLlmEmbeddingVersion(String value)
Optional. The LLM embedding version to use.
Currently only v0
is supported. If not specified, feature will
not be turned on.
string llm_embedding_version = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The llmEmbeddingVersion to set.
|
setLlmEmbeddingVersionBytes(ByteString value)
public Model.ModelFeaturesConfig.LlmEmbeddingConfig.Builder setLlmEmbeddingVersionBytes(ByteString value)
Optional. The LLM embedding version to use.
Currently only v0
is supported. If not specified, feature will
not be turned on.
string llm_embedding_version = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for llmEmbeddingVersion to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Model.ModelFeaturesConfig.LlmEmbeddingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Model.ModelFeaturesConfig.LlmEmbeddingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides