Package com.google.genai.types
Class EmbedContentParameters.Builder
java.lang.Object
com.google.genai.types.EmbedContentParameters.Builder
- Enclosing class:
- EmbedContentParameters
Builder for EmbedContentParameters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract EmbedContentParametersbuild()abstract EmbedContentParameters.Builderconfig(EmbedContentConfig config) Setter for config.config(EmbedContentConfig.Builder configBuilder) Setter for config builder.Setter for contents.contents(Content.Builder... contentsBuilders) Setter for contents builder.abstract EmbedContentParameters.BuilderSetter for contents.abstract EmbedContentParameters.BuilderSetter for model.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
model
Setter for model.model: ID of the model to use. For a list of models, see `Google models <https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models>`_.
-
contents
Setter for contents.contents: The content to embed. Only the `parts.text` fields will be counted.
-
contents
Setter for contents.contents: The content to embed. Only the `parts.text` fields will be counted.
-
contents
Setter for contents builder.contents: The content to embed. Only the `parts.text` fields will be counted.
-
config
Setter for config.config: Configuration that contains optional parameters.
-
config
Setter for config builder.config: Configuration that contains optional parameters.
-
build
-