public enum AdvancedVoiceOptions.HarmBlockThreshold extends Enum<AdvancedVoiceOptions.HarmBlockThreshold> implements ProtocolMessageEnumHarm block thresholds for the safety settings.
Protobuf enum google.cloud.texttospeech.v1.AdvancedVoiceOptions.HarmBlockThreshold
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
BLOCK_LOW_AND_ABOVE |
Block content with a low harm probability or higher. |
BLOCK_LOW_AND_ABOVE_VALUE |
Block content with a low harm probability or higher. |
BLOCK_MEDIUM_AND_ABOVE |
Block content with a medium harm probability or higher. |
BLOCK_MEDIUM_AND_ABOVE_VALUE |
Block content with a medium harm probability or higher. |
BLOCK_NONE |
Do not block any content, regardless of its harm probability. |
BLOCK_NONE_VALUE |
Do not block any content, regardless of its harm probability. |
BLOCK_ONLY_HIGH |
Block content with a high harm probability. |
BLOCK_ONLY_HIGH_VALUE |
Block content with a high harm probability. |
HARM_BLOCK_THRESHOLD_UNSPECIFIED |
The harm block threshold is unspecified. |
HARM_BLOCK_THRESHOLD_UNSPECIFIED_VALUE |
The harm block threshold is unspecified. |
OFF |
Turn off the safety filter entirely. |
OFF_VALUE |
Turn off the safety filter entirely. |
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() |
|