Enum TurnCompleteReason.Known
-
- All Implemented Interfaces:
public enum TurnCompleteReason.KnownEnum representing the known values for TurnCompleteReason.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TURN_COMPLETE_REASON_UNSPECIFIEDDefault value. Reason is unspecified.
MALFORMED_FUNCTION_CALLThe function call generated by the model is invalid.
RESPONSE_REJECTEDThe response is rejected by the model.
NEED_MORE_INPUTNeeds more input from the user.
PROHIBITED_INPUT_CONTENTInput content is prohibited.
IMAGE_PROHIBITED_INPUT_CONTENTInput image contains prohibited content.
INPUT_TEXT_CONTAIN_PROMINENT_PERSON_PROHIBITEDInput text contains prominent person reference.
INPUT_IMAGE_CELEBRITYInput image contains celebrity.
INPUT_IMAGE_PHOTO_REALISTIC_CHILD_PROHIBITEDInput image contains photo realistic child.
INPUT_TEXT_NCII_PROHIBITEDInput text contains NCII content.
INPUT_OTHEROther input safety issue.
INPUT_IP_PROHIBITEDInput contains IP violation.
BLOCKLISTInput matched blocklist.
UNSAFE_PROMPT_FOR_IMAGE_GENERATIONInput is unsafe for image generation.
GENERATED_IMAGE_SAFETYGenerated image failed safety check.
GENERATED_CONTENT_SAFETYGenerated content failed safety check.
GENERATED_AUDIO_SAFETYGenerated audio failed safety check.
GENERATED_VIDEO_SAFETYGenerated video failed safety check.
GENERATED_CONTENT_PROHIBITEDGenerated content is prohibited.
GENERATED_CONTENT_BLOCKLISTGenerated content matched blocklist.
GENERATED_IMAGE_PROHIBITEDGenerated image is prohibited.
GENERATED_IMAGE_CELEBRITYGenerated image contains celebrity.
GENERATED_IMAGE_PROMINENT_PEOPLE_DETECTED_BY_REWRITERGenerated image contains prominent people detected by rewriter.
GENERATED_IMAGE_IDENTIFIABLE_PEOPLEGenerated image contains identifiable people.
GENERATED_IMAGE_MINORSGenerated image contains minors.
OUTPUT_IMAGE_IP_PROHIBITEDGenerated image contains IP violation.
GENERATED_OTHEROther generated content issue.
MAX_REGENERATION_REACHEDMax regeneration attempts reached.
-
Method Summary
Modifier and Type Method Description static Array<TurnCompleteReason.Known>values()Returns an array containing the constants of this enum type, in the order they're declared. static TurnCompleteReason.KnownvalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
values
static Array<TurnCompleteReason.Known> values()
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.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static TurnCompleteReason.Known valueOf(String name)
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:
the enum constant with the specified name
-
-
-
-