Uses of Class
com.google.genai.types.SafetyAttributes
Packages that use SafetyAttributes
-
Uses of SafetyAttributes in com.google.genai.types
Methods in com.google.genai.types that return SafetyAttributesModifier and TypeMethodDescriptionabstract SafetyAttributes
SafetyAttributes.Builder.build()
static SafetyAttributes
Deserializes a JSON string to a SafetyAttributes object.Methods in com.google.genai.types that return types with arguments of type SafetyAttributesModifier and TypeMethodDescriptionabstract Optional<SafetyAttributes>
GenerateImagesResponse.positivePromptSafetyAttributes()
Safety attributes of the positive prompt.abstract Optional<SafetyAttributes>
GeneratedImage.safetyAttributes()
Safety attributes of the image.Methods in com.google.genai.types with parameters of type SafetyAttributesModifier and TypeMethodDescriptionabstract GenerateImagesResponse.Builder
GenerateImagesResponse.Builder.positivePromptSafetyAttributes
(SafetyAttributes positivePromptSafetyAttributes) Setter for positivePromptSafetyAttributes.abstract GeneratedImage.Builder
GeneratedImage.Builder.safetyAttributes
(SafetyAttributes safetyAttributes) Setter for safetyAttributes.