Class BatchJobDestination.Builder
- Enclosing class:
- BatchJobDestination
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract BatchJobDestination.BuilderbigqueryUri(String bigqueryUri) Setter for bigqueryUri.abstract BatchJobDestinationbuild()Clears the value of bigqueryUri field.Clears the value of fileName field.Clears the value of format field.Clears the value of gcsUri field.Clears the value of inlinedEmbedContentResponses field.Clears the value of inlinedResponses field.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'.
-
clearFormat
Clears the value of format field. -
gcsUri
Setter for gcsUri.gcsUri: The Google Cloud Storage URI to the output file.
-
clearGcsUri
Clears the value of gcsUri field. -
bigqueryUri
Setter for bigqueryUri.bigqueryUri: The BigQuery URI to the output table.
-
clearBigqueryUri
Clears the value of bigqueryUri field. -
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.
-
clearFileName
Clears the value of fileName field. -
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
@CanIgnoreReturnValue public BatchJobDestination.Builder inlinedResponses(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
@CanIgnoreReturnValue 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.
-
clearInlinedResponses
Clears the value of inlinedResponses field. -
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
@CanIgnoreReturnValue 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
@CanIgnoreReturnValue 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.
-
clearInlinedEmbedContentResponses
Clears the value of inlinedEmbedContentResponses field. -
build
-