Package com.google.genai.types
Class TextResponseFormat.Builder
java.lang.Object
com.google.genai.types.TextResponseFormat.Builder
- Enclosing class:
- TextResponseFormat
Builder for TextResponseFormat.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract TextResponseFormatbuild()Clears the value of mimeType field.Clears the value of schema field.abstract TextResponseFormat.BuilderSetter for mimeType.abstract TextResponseFormat.BuilderSetter for schema.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mimeType
Setter for mimeType.mimeType: Optional. The IANA standard MIME type of the response.
-
clearMimeType
Clears the value of mimeType field. -
schema
Setter for schema.schema: Optional. The JSON schema that the output should conform to. Only applicable when mime_type is APPLICATION_JSON.
-
clearSchema
Clears the value of schema field. -
build
-