Class BatchJobDestination.Builder
- Enclosing class:
- BatchJobDestination
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract BatchJobDestination.Builder
bigqueryUri
(String bigqueryUri) Setter for bigqueryUri.abstract BatchJobDestination
build()
abstract BatchJobDestination.Builder
Setter for fileName.abstract BatchJobDestination.Builder
Setter for format.abstract BatchJobDestination.Builder
Setter for gcsUri.inlinedResponses
(InlinedResponse... inlinedResponses) Setter for inlinedResponses.inlinedResponses
(InlinedResponse.Builder... inlinedResponsesBuilders) Setter for inlinedResponses builder.abstract BatchJobDestination.Builder
inlinedResponses
(List<InlinedResponse> inlinedResponses) Setter for inlinedResponses.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
format
Setter for format.format: Storage format of the output files. Must be one of: 'jsonl', 'bigquery'.
-
gcsUri
Setter for gcsUri.gcsUri: The Google Cloud Storage URI to the output file.
-
bigqueryUri
Setter for bigqueryUri.bigqueryUri: The BigQuery URI to the output table.
-
fileName
Setter for fileName.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
public abstract BatchJobDestination.Builder inlinedResponses(List<InlinedResponse> inlinedResponses) Setter for inlinedResponses.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.
-
inlinedResponses
Setter for inlinedResponses.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.
-
inlinedResponses
public BatchJobDestination.Builder inlinedResponses(InlinedResponse.Builder... inlinedResponsesBuilders) Setter for inlinedResponses builder.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.
-
build
-