Class BatchJobSource

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

public abstract class BatchJobSource extends JsonSerializable
Config for `src` parameter.
  • Constructor Details

    • BatchJobSource

      public BatchJobSource()
  • Method Details

    • format

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

      public abstract Optional<List<String>> gcsUri()
      The Google Cloud Storage URIs to input files.
    • bigqueryUri

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

      public abstract Optional<String> fileName()
      The Gemini Developer API's file resource name of the input data (e.g. "files/12345").
    • inlinedRequests

      public abstract Optional<List<InlinedRequest>> inlinedRequests()
      The Gemini Developer API's inlined input data to run batch job.
    • builder

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

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

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