public static interface AdvancedVoiceOptions.SafetySettingOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCategory()
public abstract AdvancedVoiceOptions.HarmCategory getCategory()The harm category to apply the safety setting to.
.google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.HarmCategory category = 1;
| Returns | |
|---|---|
| Type | Description |
AdvancedVoiceOptions.HarmCategory |
The category. |
getCategoryValue()
public abstract int getCategoryValue()The harm category to apply the safety setting to.
.google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.HarmCategory category = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for category. |
getThreshold()
public abstract AdvancedVoiceOptions.HarmBlockThreshold getThreshold()The harm block threshold for the safety setting.
.google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.HarmBlockThreshold threshold = 2;
| Returns | |
|---|---|
| Type | Description |
AdvancedVoiceOptions.HarmBlockThreshold |
The threshold. |
getThresholdValue()
public abstract int getThresholdValue()The harm block threshold for the safety setting.
.google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.HarmBlockThreshold threshold = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for threshold. |