Package com.google.genai.types
Class ProductImage
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.ProductImage
An image of the product.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ProductImage.Builderbuilder()Instantiates a builder for ProductImage.static ProductImageDeserializes a JSON string to a ProductImage object.An image of the product to be recontextualized.abstract ProductImage.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
ProductImage
public ProductImage()
-
-
Method Details
-
productImage
An image of the product to be recontextualized. -
builder
Instantiates a builder for ProductImage. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a ProductImage object.
-