Class GoogleGenAiImageGenerationMetadata

java.lang.Object
org.springframework.ai.google.genai.image.GoogleGenAiImageGenerationMetadata
All Implemented Interfaces:
ImageGenerationMetadata, ResultMetadata

public class GoogleGenAiImageGenerationMetadata extends Object implements ImageGenerationMetadata
Image generation metadata returned by the Google GenAI image API.
Since:
2.0.1
Author:
Olivier Le Quellec
  • Constructor Details

    • GoogleGenAiImageGenerationMetadata

      public GoogleGenAiImageGenerationMetadata(@Nullable String enhancedPrompt, @Nullable String raiFilteredReason, @Nullable String mimeType, @Nullable String gcsUri)
  • Method Details

    • getEnhancedPrompt

      public @Nullable String getEnhancedPrompt()
    • getRaiFilteredReason

      public @Nullable String getRaiFilteredReason()
    • getMimeType

      public @Nullable String getMimeType()
    • getGcsUri

      public @Nullable String getGcsUri()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object