public enum SafetyRating.HarmProbability extends Enum<SafetyRating.HarmProbability> implements ProtocolMessageEnum
Harm probability levels in the content.
Protobuf enum google.cloud.vertexai.v1.SafetyRating.HarmProbability
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
HARM_PROBABILITY_UNSPECIFIED |
Harm probability unspecified. |
HARM_PROBABILITY_UNSPECIFIED_VALUE |
Harm probability unspecified. |
HIGH |
High level of harm. |
HIGH_VALUE |
High level of harm. |
LOW |
Low level of harm. |
LOW_VALUE |
Low level of harm. |
MEDIUM |
Medium level of harm. |
MEDIUM_VALUE |
Medium level of harm. |
NEGLIGIBLE |
Negligible level of harm. |
NEGLIGIBLE_VALUE |
Negligible level of harm. |
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() |