Class CustomOutput

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

public abstract class CustomOutput extends JsonSerializable
Spec for custom output. This data type is not supported in Gemini API.
  • Constructor Details

    • CustomOutput

      public CustomOutput()
  • Method Details

    • rawOutputs

      public abstract Optional<RawOutput> rawOutputs()
      Output only. List of raw output strings.
    • builder

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

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

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