Class BatchJobDestination

java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.BatchJobDestination

public abstract class BatchJobDestination extends JsonSerializable
Config for `des` parameter.
  • Constructor Details

    • BatchJobDestination

      public BatchJobDestination()
  • Method Details

    • format

      public abstract Optional<String> format()
      Storage format of the output files. Must be one of: 'jsonl', 'bigquery'.
    • gcsUri

      public abstract Optional<String> gcsUri()
      The Google Cloud Storage URI to the output file.
    • bigqueryUri

      public abstract Optional<String> bigqueryUri()
      The BigQuery URI to the output table.
    • fileName

      public abstract Optional<String> 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 Optional<List<InlinedResponse>> 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

      public static BatchJobDestination.Builder builder()
      Instantiates a builder for BatchJobDestination.
    • toBuilder

      public abstract BatchJobDestination.Builder toBuilder()
      Creates a builder with the same values as this instance.
    • fromJson

      public static BatchJobDestination fromJson(String jsonString)
      Deserializes a JSON string to a BatchJobDestination object.