Enum AdvancedVoiceOptions.HarmCategory (2.92.0)

public enum AdvancedVoiceOptions.HarmCategory extends Enum<AdvancedVoiceOptions.HarmCategory> implements ProtocolMessageEnum

Harm categories that will block the content.

Protobuf enum google.cloud.texttospeech.v1.AdvancedVoiceOptions.HarmCategory

Implements

ProtocolMessageEnum

Static Fields

Name Description
HARM_CATEGORY_DANGEROUS_CONTENT

Content that promotes, facilitates, or enables dangerous activities.

HARM_CATEGORY_DANGEROUS_CONTENT = 2;

HARM_CATEGORY_DANGEROUS_CONTENT_VALUE

Content that promotes, facilitates, or enables dangerous activities.

HARM_CATEGORY_DANGEROUS_CONTENT = 2;

HARM_CATEGORY_HARASSMENT

Abusive, threatening, or content intended to bully, torment, or ridicule.

HARM_CATEGORY_HARASSMENT = 3;

HARM_CATEGORY_HARASSMENT_VALUE

Abusive, threatening, or content intended to bully, torment, or ridicule.

HARM_CATEGORY_HARASSMENT = 3;

HARM_CATEGORY_HATE_SPEECH

Content that promotes violence or incites hatred against individuals or groups based on certain attributes.

HARM_CATEGORY_HATE_SPEECH = 1;

HARM_CATEGORY_HATE_SPEECH_VALUE

Content that promotes violence or incites hatred against individuals or groups based on certain attributes.

HARM_CATEGORY_HATE_SPEECH = 1;

HARM_CATEGORY_SEXUALLY_EXPLICIT

Content that contains sexually explicit material.

HARM_CATEGORY_SEXUALLY_EXPLICIT = 4;

HARM_CATEGORY_SEXUALLY_EXPLICIT_VALUE

Content that contains sexually explicit material.

HARM_CATEGORY_SEXUALLY_EXPLICIT = 4;

HARM_CATEGORY_UNSPECIFIED

Default value. This value is unused.

HARM_CATEGORY_UNSPECIFIED = 0;

HARM_CATEGORY_UNSPECIFIED_VALUE

Default value. This value is unused.

HARM_CATEGORY_UNSPECIFIED = 0;

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