Class ImageResponseFormat
java.lang.Object
com.google.genai.gaos.models.interactions.ImageResponseFormat
ImageResponseFormat
Configuration for image output format.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionImageResponseFormat(ImageResponseFormatAspectRatio aspectRatio, ImageResponseFormatDelivery delivery, ImageResponseFormatImageSize imageSize, ImageResponseFormatMimeType mimeType) -
Method Summary
Modifier and TypeMethodDescriptionThe aspect ratio for the image output.static ImageResponseFormat.Builderbuilder()delivery()The delivery mode for the image output.booleaninthashCode()The size of the image output.mimeType()The MIME type of the image output.toString()type()withAspectRatio(ImageResponseFormatAspectRatio aspectRatio) The aspect ratio for the image output.withDelivery(ImageResponseFormatDelivery delivery) The delivery mode for the image output.withImageSize(ImageResponseFormatImageSize imageSize) The size of the image output.withMimeType(ImageResponseFormatMimeType mimeType) The MIME type of the image output.
-
Constructor Details
-
ImageResponseFormat
public ImageResponseFormat(@Nullable ImageResponseFormatAspectRatio aspectRatio, @Nullable ImageResponseFormatDelivery delivery, @Nullable ImageResponseFormatImageSize imageSize, @Nullable ImageResponseFormatMimeType mimeType) -
ImageResponseFormat
public ImageResponseFormat()
-
-
Method Details
-
aspectRatio
The aspect ratio for the image output. -
delivery
The delivery mode for the image output. -
imageSize
The size of the image output. -
mimeType
The MIME type of the image output. -
type
-
builder
-
withAspectRatio
The aspect ratio for the image output. -
withDelivery
The delivery mode for the image output. -
withImageSize
The size of the image output. -
withMimeType
The MIME type of the image output. -
equals
-
hashCode
public int hashCode() -
toString
-