Package com.google.genai.types
Class EmbedContentBatch.Builder
java.lang.Object
com.google.genai.types.EmbedContentBatch.Builder
- Enclosing class:
- EmbedContentBatch
Builder for EmbedContentBatch.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract EmbedContentBatch
build()
abstract EmbedContentBatch.Builder
config
(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 EmbedContentBatch.Builder
Setter for contents.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
-