public enum HarmCategory extends Enum<HarmCategory> implements ProtocolMessageEnum
Harm categories that will block the content.
Protobuf enum google.cloud.vertexai.v1.HarmCategory
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
HARM_CATEGORY_DANGEROUS_CONTENT |
The harm category is dangerous content. |
HARM_CATEGORY_DANGEROUS_CONTENT_VALUE |
The harm category is dangerous content. |
HARM_CATEGORY_HARASSMENT |
The harm category is harassment. |
HARM_CATEGORY_HARASSMENT_VALUE |
The harm category is harassment. |
HARM_CATEGORY_HATE_SPEECH |
The harm category is hate speech. |
HARM_CATEGORY_HATE_SPEECH_VALUE |
The harm category is hate speech. |
HARM_CATEGORY_SEXUALLY_EXPLICIT |
The harm category is sexually explicit content. |
HARM_CATEGORY_SEXUALLY_EXPLICIT_VALUE |
The harm category is sexually explicit content. |
HARM_CATEGORY_UNSPECIFIED |
The harm category is unspecified. |
HARM_CATEGORY_UNSPECIFIED_VALUE |
The harm category is unspecified. |
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() |