Package com.google.genai.types
Class EmbeddingsBatchJobSource
-
- All Implemented Interfaces:
public abstract class EmbeddingsBatchJobSource extends JsonSerializable
None
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classEmbeddingsBatchJobSource.BuilderBuilder for EmbeddingsBatchJobSource.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description EmbeddingsBatchJobSource()
-
Method Summary
Modifier and Type Method Description abstract Optional<String>fileName()The Gemini Developer API's file resource name of the input data (e.g. abstract Optional<EmbedContentBatch>inlinedRequests()The Gemini Developer API's inlined input data to run batch job. static EmbeddingsBatchJobSource.Builderbuilder()Instantiates a builder for EmbeddingsBatchJobSource. abstract EmbeddingsBatchJobSource.BuildertoBuilder()Creates a builder with the same values as this instance. static EmbeddingsBatchJobSourcefromJson(String jsonString)Deserializes a JSON string to a EmbeddingsBatchJobSource object. -
Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
fileName
abstract Optional<String> fileName()
The Gemini Developer API's file resource name of the input data (e.g. "files/12345").
-
inlinedRequests
abstract Optional<EmbedContentBatch> inlinedRequests()
The Gemini Developer API's inlined input data to run batch job.
-
builder
static EmbeddingsBatchJobSource.Builder builder()
Instantiates a builder for EmbeddingsBatchJobSource.
-
toBuilder
abstract EmbeddingsBatchJobSource.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static EmbeddingsBatchJobSource fromJson(String jsonString)
Deserializes a JSON string to a EmbeddingsBatchJobSource object.
-
-
-
-