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 SafetyAttributesSafetyAttributes.Builder.build()static SafetyAttributesDeserializes 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.BuilderGenerateImagesResponse.Builder.positivePromptSafetyAttributes(SafetyAttributes positivePromptSafetyAttributes) Setter for positivePromptSafetyAttributes.abstract GeneratedImage.BuilderGeneratedImage.Builder.safetyAttributes(SafetyAttributes safetyAttributes) Setter for safetyAttributes.