Package com.openai.models.images
        Interface ImageGenStreamEvent.Visitor
- 
                    
                    - All Implemented Interfaces:
 
 public interface ImageGenStreamEvent.Visitor<T extends Object>An interface that defines how to map each variant of ImageGenStreamEvent to a value of type T. 
- 
                
                    
                    - 
                                
                            
                                Method SummaryModifier and Type Method Description abstract TvisitGenerationPartialImage(ImageGenPartialImageEvent generationPartialImage)Emitted when a partial image is available during image generation streaming. abstract TvisitGenerationCompleted(ImageGenCompletedEvent generationCompleted)Emitted when image generation has completed and the final image is available. Tunknown(JsonValue json)Maps an unknown variant of ImageGenStreamEvent to a value of type T. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        visitGenerationPartialImageabstract T visitGenerationPartialImage(ImageGenPartialImageEvent generationPartialImage) Emitted when a partial image is available during image generation streaming. 
 - 
                                        visitGenerationCompletedabstract T visitGenerationCompleted(ImageGenCompletedEvent generationCompleted) Emitted when image generation has completed and the final image is available. 
 - 
                                        unknownT unknown(JsonValue json) Maps an unknown variant of ImageGenStreamEvent to a value of type T. An instance of ImageGenStreamEvent can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-