Interface AdvancedVoiceOptions.SafetySettingsOrBuilder (2.92.0)

public static interface AdvancedVoiceOptions.SafetySettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSettings(int index)

public abstract AdvancedVoiceOptions.SafetySetting getSettings(int index)

The safety settings for the request.

repeated .google.cloud.texttospeech.v1.AdvancedVoiceOptions.SafetySetting settings = 1;

Parameter
Name Description
index int
Returns
Type Description
AdvancedVoiceOptions.SafetySetting

getSettingsCount()

public abstract int getSettingsCount()

The safety settings for the request.

repeated .google.cloud.texttospeech.v1.AdvancedVoiceOptions.SafetySetting settings = 1;

Returns
Type Description
int

getSettingsList()

public abstract List<AdvancedVoiceOptions.SafetySetting> getSettingsList()

The safety settings for the request.

repeated .google.cloud.texttospeech.v1.AdvancedVoiceOptions.SafetySetting settings = 1;

Returns
Type Description
List<SafetySetting>

getSettingsOrBuilder(int index)

public abstract AdvancedVoiceOptions.SafetySettingOrBuilder getSettingsOrBuilder(int index)

The safety settings for the request.

repeated .google.cloud.texttospeech.v1.AdvancedVoiceOptions.SafetySetting settings = 1;

Parameter
Name Description
index int
Returns
Type Description
AdvancedVoiceOptions.SafetySettingOrBuilder

getSettingsOrBuilderList()

public abstract List<? extends AdvancedVoiceOptions.SafetySettingOrBuilder> getSettingsOrBuilderList()

The safety settings for the request.

repeated .google.cloud.texttospeech.v1.AdvancedVoiceOptions.SafetySetting settings = 1;

Returns
Type Description
List<? extends com.google.cloud.texttospeech.v1.AdvancedVoiceOptions.SafetySettingOrBuilder>