Package com.google.genai.types
Class BatchJobDestination
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.BatchJobDestination
Config for `des` parameter.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for BatchJobDestination. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe BigQuery URI to the output table.static BatchJobDestination.Builder
builder()
Instantiates a builder for BatchJobDestination.fileName()
The Gemini Developer API's file resource name of the output data (e.g.format()
Storage format of the output files.static BatchJobDestination
Deserializes a JSON string to a BatchJobDestination object.gcsUri()
The Google Cloud Storage URI to the output file.abstract Optional<List<InlinedResponse>>
The responses to the requests in the batch.abstract BatchJobDestination.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
BatchJobDestination
public BatchJobDestination()
-
-
Method Details
-
format
Storage format of the output files. Must be one of: 'jsonl', 'bigquery'. -
gcsUri
The Google Cloud Storage URI to the output file. -
bigqueryUri
The BigQuery URI to the output table. -
fileName
The Gemini Developer API's file resource name of the output data (e.g. "files/12345"). The file will be a JSONL file with a single response per line. The responses will be GenerateContentResponse messages formatted as JSON. The responses will be written in the same order as the input requests. -
inlinedResponses
The responses to the requests in the batch. Returned when the batch was built using inlined requests. The responses will be in the same order as the input requests. -
builder
Instantiates a builder for BatchJobDestination. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a BatchJobDestination object.
-