Package com.google.genai.types
Class BatchJobSource
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.BatchJobSource
Config for `src` parameter.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe BigQuery URI to input table.static BatchJobSource.Builder
builder()
Instantiates a builder for BatchJobSource.fileName()
The Gemini Developer API's file resource name of the input data (e.g.format()
Storage format of the input files.static BatchJobSource
Deserializes a JSON string to a BatchJobSource object.gcsUri()
The Google Cloud Storage URIs to input files.abstract Optional<List<InlinedRequest>>
The Gemini Developer API's inlined input data to run batch job.abstract BatchJobSource.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
BatchJobSource
public BatchJobSource()
-
-
Method Details
-
format
Storage format of the input files. Must be one of: 'jsonl', 'bigquery'. -
gcsUri
The Google Cloud Storage URIs to input files. -
bigqueryUri
The BigQuery URI to input table. -
fileName
The Gemini Developer API's file resource name of the input data (e.g. "files/12345"). -
inlinedRequests
The Gemini Developer API's inlined input data to run batch job. -
builder
Instantiates a builder for BatchJobSource. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a BatchJobSource object.
-