public enum AdvancedVoiceOptions.HarmCategory extends Enum<AdvancedVoiceOptions.HarmCategory> implements ProtocolMessageEnumHarm categories that will block the content.
Protobuf enum google.cloud.texttospeech.v1.AdvancedVoiceOptions.HarmCategory
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
HARM_CATEGORY_DANGEROUS_CONTENT |
Content that promotes, facilitates, or enables dangerous activities. |
HARM_CATEGORY_DANGEROUS_CONTENT_VALUE |
Content that promotes, facilitates, or enables dangerous activities. |
HARM_CATEGORY_HARASSMENT |
Abusive, threatening, or content intended to bully, torment, or ridicule. |
HARM_CATEGORY_HARASSMENT_VALUE |
Abusive, threatening, or content intended to bully, torment, or ridicule. |
HARM_CATEGORY_HATE_SPEECH |
Content that promotes violence or incites hatred against individuals or groups based on certain attributes. |
HARM_CATEGORY_HATE_SPEECH_VALUE |
Content that promotes violence or incites hatred against individuals or groups based on certain attributes. |
HARM_CATEGORY_SEXUALLY_EXPLICIT |
Content that contains sexually explicit material. |
HARM_CATEGORY_SEXUALLY_EXPLICIT_VALUE |
Content that contains sexually explicit material. |
HARM_CATEGORY_UNSPECIFIED |
Default value. This value is unused. |
HARM_CATEGORY_UNSPECIFIED_VALUE |
Default value. This value is unused. |
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() |
|