Enum SafetyRating.HarmProbability (1.40.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicenumSafetyRating.HarmProbabilityextendsEnum<SafetyRating.HarmProbability>implementsProtocolMessageEnumHarm probability levels in the content.
Protobuf enum google.cloud.vertexai.v1.SafetyRating.HarmProbability
Implements
ProtocolMessageEnumInherited Members
Static 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() |
|