Class ImageGenPartialImageEvent
- 
                    
                    - All Implemented Interfaces:
 
 public final class ImageGenPartialImageEventEmitted when a partial image is available during image generation streaming. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classImageGenPartialImageEvent.BuilderA builder for ImageGenPartialImageEvent. public final classImageGenPartialImageEvent.BackgroundThe background setting for the requested image. public final classImageGenPartialImageEvent.OutputFormatThe output format for the requested image. public final classImageGenPartialImageEvent.QualityThe quality setting for the requested image. public final classImageGenPartialImageEvent.SizeThe size of the requested image. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Stringb64Json()Base64-encoded partial image data, suitable for rendering as an image. final ImageGenPartialImageEvent.Backgroundbackground()The background setting for the requested image. final LongcreatedAt()The Unix timestamp when the event was created. final ImageGenPartialImageEvent.OutputFormatoutputFormat()The output format for the requested image. final LongpartialImageIndex()0-based index for the partial image (streaming). final ImageGenPartialImageEvent.Qualityquality()The quality setting for the requested image. final ImageGenPartialImageEvent.Sizesize()The size of the requested image. final JsonValue_type()The type of the event. final JsonField<String>_b64Json()Returns the raw JSON value of b64Json. final JsonField<ImageGenPartialImageEvent.Background>_background()Returns the raw JSON value of background. final JsonField<Long>_createdAt()Returns the raw JSON value of createdAt. final JsonField<ImageGenPartialImageEvent.OutputFormat>_outputFormat()Returns the raw JSON value of outputFormat. final JsonField<Long>_partialImageIndex()Returns the raw JSON value of partialImageIndex. final JsonField<ImageGenPartialImageEvent.Quality>_quality()Returns the raw JSON value of quality. final JsonField<ImageGenPartialImageEvent.Size>_size()Returns the raw JSON value of size. final Map<String, JsonValue>_additionalProperties()final ImageGenPartialImageEvent.BuildertoBuilder()final ImageGenPartialImageEventvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ImageGenPartialImageEvent.Builderbuilder()Returns a mutable builder for constructing an instance of ImageGenPartialImageEvent. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        b64Jsonfinal String b64Json() Base64-encoded partial image data, suitable for rendering as an image. 
 - 
                                        backgroundfinal ImageGenPartialImageEvent.Background background() The background setting for the requested image. 
 - 
                                        outputFormatfinal ImageGenPartialImageEvent.OutputFormat outputFormat() The output format for the requested image. 
 - 
                                        partialImageIndexfinal Long partialImageIndex() 0-based index for the partial image (streaming). 
 - 
                                        qualityfinal ImageGenPartialImageEvent.Quality quality() The quality setting for the requested image. 
 - 
                                        sizefinal ImageGenPartialImageEvent.Size size() The size of the requested image. 
 - 
                                        _typefinal JsonValue _type() The type of the event. Always image_generation.partial_image.Expected to always return the following: JsonValue.from("image_generation.partial_image")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        _b64Jsonfinal JsonField<String> _b64Json() Returns the raw JSON value of b64Json. Unlike b64Json, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _backgroundfinal JsonField<ImageGenPartialImageEvent.Background> _background() Returns the raw JSON value of background. Unlike background, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _createdAtfinal JsonField<Long> _createdAt() Returns the raw JSON value of createdAt. Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _outputFormatfinal JsonField<ImageGenPartialImageEvent.OutputFormat> _outputFormat() Returns the raw JSON value of outputFormat. Unlike outputFormat, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _partialImageIndexfinal JsonField<Long> _partialImageIndex() Returns the raw JSON value of partialImageIndex. Unlike partialImageIndex, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _qualityfinal JsonField<ImageGenPartialImageEvent.Quality> _quality() Returns the raw JSON value of quality. Unlike quality, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _sizefinal JsonField<ImageGenPartialImageEvent.Size> _size() Returns the raw JSON value of size. Unlike size, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal ImageGenPartialImageEvent.Builder toBuilder() 
 - 
                                        validatefinal ImageGenPartialImageEvent validate() 
 - 
                                        builderfinal static ImageGenPartialImageEvent.Builder builder() Returns a mutable builder for constructing an instance of ImageGenPartialImageEvent. The following fields are required: .b64Json() .background() .createdAt() .outputFormat() .partialImageIndex() .quality() .size()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-