Class BatchJobDestination.Builder
- Enclosing class:
- BatchJobDestination
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract BatchJobDestination.BuilderbigqueryUri(String bigqueryUri) Setter for bigqueryUri.abstract BatchJobDestinationbuild()abstract BatchJobDestination.BuilderSetter for fileName.abstract BatchJobDestination.BuilderSetter for format.abstract BatchJobDestination.BuilderSetter for gcsUri.inlinedEmbedContentResponses(InlinedEmbedContentResponse... inlinedEmbedContentResponses) Setter for inlinedEmbedContentResponses.inlinedEmbedContentResponses(InlinedEmbedContentResponse.Builder... inlinedEmbedContentResponsesBuilders) Setter for inlinedEmbedContentResponses builder.abstract BatchJobDestination.BuilderinlinedEmbedContentResponses(List<InlinedEmbedContentResponse> inlinedEmbedContentResponses) Setter for inlinedEmbedContentResponses.inlinedResponses(InlinedResponse... inlinedResponses) Setter for inlinedResponses.inlinedResponses(InlinedResponse.Builder... inlinedResponsesBuilders) Setter for inlinedResponses builder.abstract BatchJobDestination.BuilderinlinedResponses(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.
-
inlinedEmbedContentResponses
public abstract BatchJobDestination.Builder inlinedEmbedContentResponses(List<InlinedEmbedContentResponse> inlinedEmbedContentResponses) Setter for inlinedEmbedContentResponses.inlinedEmbedContentResponses: 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.
-
inlinedEmbedContentResponses
public BatchJobDestination.Builder inlinedEmbedContentResponses(InlinedEmbedContentResponse... inlinedEmbedContentResponses) Setter for inlinedEmbedContentResponses.inlinedEmbedContentResponses: 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.
-
inlinedEmbedContentResponses
public BatchJobDestination.Builder inlinedEmbedContentResponses(InlinedEmbedContentResponse.Builder... inlinedEmbedContentResponsesBuilders) Setter for inlinedEmbedContentResponses builder.inlinedEmbedContentResponses: 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
-