public enum GenerateContentResponse.PromptFeedback.BlockedReason extends Enum<GenerateContentResponse.PromptFeedback.BlockedReason> implements ProtocolMessageEnum
Blocked reason enumeration.
Protobuf enum
google.cloud.vertexai.v1.GenerateContentResponse.PromptFeedback.BlockedReason
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
BLOCKED_REASON_UNSPECIFIED |
Unspecified blocked reason. |
BLOCKED_REASON_UNSPECIFIED_VALUE |
Unspecified blocked reason. |
BLOCKLIST |
Candidates blocked due to the terms which are included from the terminology blocklist. |
BLOCKLIST_VALUE |
Candidates blocked due to the terms which are included from the terminology blocklist. |
OTHER |
Candidates blocked due to other reason. |
OTHER_VALUE |
Candidates blocked due to other reason. |
PROHIBITED_CONTENT |
Candidates blocked due to prohibited content. |
PROHIBITED_CONTENT_VALUE |
Candidates blocked due to prohibited content. |
SAFETY |
Candidates blocked due to safety. |
SAFETY_VALUE |
Candidates blocked due to safety. |
UNRECOGNIZED |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |