Enum SafetyRating.HarmProbability (3.46.0)

public enum SafetyRating.HarmProbability extends Enum<SafetyRating.HarmProbability> implements ProtocolMessageEnum

Harm probability levels in the content.

Protobuf enum google.cloud.aiplatform.v1beta1.SafetyRating.HarmProbability

Implements

ProtocolMessageEnum

Static Fields

Name Description
HARM_PROBABILITY_UNSPECIFIED

Harm probability unspecified.

HARM_PROBABILITY_UNSPECIFIED = 0;

HARM_PROBABILITY_UNSPECIFIED_VALUE

Harm probability unspecified.

HARM_PROBABILITY_UNSPECIFIED = 0;

HIGH

High level of harm.

HIGH = 4;

HIGH_VALUE

High level of harm.

HIGH = 4;

LOW

Low level of harm.

LOW = 2;

LOW_VALUE

Low level of harm.

LOW = 2;

MEDIUM

Medium level of harm.

MEDIUM = 3;

MEDIUM_VALUE

Medium level of harm.

MEDIUM = 3;

NEGLIGIBLE

Negligible level of harm.

NEGLIGIBLE = 1;

NEGLIGIBLE_VALUE

Negligible level of harm.

NEGLIGIBLE = 1;

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()