Enum SafetyRating.HarmSeverity (3.41.0)

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

Harm severity levels.

Protobuf enum google.cloud.aiplatform.v1.SafetyRating.HarmSeverity

Implements

ProtocolMessageEnum

Static Fields

NameDescription
HARM_SEVERITY_HIGH

High level of harm severity.

HARM_SEVERITY_HIGH = 4;

HARM_SEVERITY_HIGH_VALUE

High level of harm severity.

HARM_SEVERITY_HIGH = 4;

HARM_SEVERITY_LOW

Low level of harm severity.

HARM_SEVERITY_LOW = 2;

HARM_SEVERITY_LOW_VALUE

Low level of harm severity.

HARM_SEVERITY_LOW = 2;

HARM_SEVERITY_MEDIUM

Medium level of harm severity.

HARM_SEVERITY_MEDIUM = 3;

HARM_SEVERITY_MEDIUM_VALUE

Medium level of harm severity.

HARM_SEVERITY_MEDIUM = 3;

HARM_SEVERITY_NEGLIGIBLE

Negligible level of harm severity.

HARM_SEVERITY_NEGLIGIBLE = 1;

HARM_SEVERITY_NEGLIGIBLE_VALUE

Negligible level of harm severity.

HARM_SEVERITY_NEGLIGIBLE = 1;

HARM_SEVERITY_UNSPECIFIED

Harm severity unspecified.

HARM_SEVERITY_UNSPECIFIED = 0;

HARM_SEVERITY_UNSPECIFIED_VALUE

Harm severity unspecified.

HARM_SEVERITY_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()