Known
Enum representing the known values for TurnCompleteReason.
Entries
Default value. Reason is unspecified.
The function call generated by the model is invalid.
The response is rejected by the model.
Needs more input from the user.
Input content is prohibited.
Input image contains prohibited content.
Input text contains prominent person reference.
Input image contains celebrity.
Input image contains photo realistic child.
Input text contains NCII content.
Other input safety issue.
Input contains IP violation.
Input is unsafe for image generation.
Generated image failed safety check.
Generated content failed safety check.
Generated audio failed safety check.
Generated video failed safety check.
Generated content is prohibited.
Generated content matched blocklist.
Generated image is prohibited.
Generated image contains celebrity.
Generated image contains prominent people detected by rewriter.
Generated image contains identifiable people.
Generated image contains minors.
Generated image contains IP violation.
Other generated content issue.
Max regeneration attempts reached.
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.