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. |
OTHER |
Candidates blocked due to other reason. |
OTHER_VALUE |
Candidates blocked due to other reason. |
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() |