Package com.google.genai.types
Class CustomOutput
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.CustomOutput
Spec for custom output. This data type is not supported in Gemini API.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CustomOutput.Builderbuilder()Instantiates a builder for CustomOutput.static CustomOutputDeserializes a JSON string to a CustomOutput object.Output only.abstract CustomOutput.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
CustomOutput
public CustomOutput()
-
-
Method Details
-
rawOutputs
Output only. List of raw output strings. -
builder
Instantiates a builder for CustomOutput. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a CustomOutput object.
-