Interface TextToSpeechSettingsOrBuilder (0.47.0)

public interface TextToSpeechSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsSynthesizeSpeechConfigs(String key)

public abstract boolean containsSynthesizeSpeechConfigs(String key)

Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/cx/docs/reference/language) to SynthesizeSpeechConfig.

These settings affect:

  • The phone gateway synthesize configuration set via Agent.text_to_speech_settings.

  • How speech is synthesized when invoking session APIs. Agent.text_to_speech_settings only applies if OutputAudioConfig.synthesize_speech_config is not specified.

map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getSynthesizeSpeechConfigs() (deprecated)

public abstract Map<String,SynthesizeSpeechConfig> getSynthesizeSpeechConfigs()
Returns
TypeDescription
Map<String,SynthesizeSpeechConfig>

getSynthesizeSpeechConfigsCount()

public abstract int getSynthesizeSpeechConfigsCount()

Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/cx/docs/reference/language) to SynthesizeSpeechConfig.

These settings affect:

  • The phone gateway synthesize configuration set via Agent.text_to_speech_settings.

  • How speech is synthesized when invoking session APIs. Agent.text_to_speech_settings only applies if OutputAudioConfig.synthesize_speech_config is not specified.

map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;

Returns
TypeDescription
int

getSynthesizeSpeechConfigsMap()

public abstract Map<String,SynthesizeSpeechConfig> getSynthesizeSpeechConfigsMap()

Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/cx/docs/reference/language) to SynthesizeSpeechConfig.

These settings affect:

  • The phone gateway synthesize configuration set via Agent.text_to_speech_settings.

  • How speech is synthesized when invoking session APIs. Agent.text_to_speech_settings only applies if OutputAudioConfig.synthesize_speech_config is not specified.

map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;

Returns
TypeDescription
Map<String,SynthesizeSpeechConfig>

getSynthesizeSpeechConfigsOrDefault(String key, SynthesizeSpeechConfig defaultValue)

public abstract SynthesizeSpeechConfig getSynthesizeSpeechConfigsOrDefault(String key, SynthesizeSpeechConfig defaultValue)

Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/cx/docs/reference/language) to SynthesizeSpeechConfig.

These settings affect:

  • The phone gateway synthesize configuration set via Agent.text_to_speech_settings.

  • How speech is synthesized when invoking session APIs. Agent.text_to_speech_settings only applies if OutputAudioConfig.synthesize_speech_config is not specified.

map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;

Parameters
NameDescription
keyString
defaultValueSynthesizeSpeechConfig
Returns
TypeDescription
SynthesizeSpeechConfig

getSynthesizeSpeechConfigsOrThrow(String key)

public abstract SynthesizeSpeechConfig getSynthesizeSpeechConfigsOrThrow(String key)

Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/cx/docs/reference/language) to SynthesizeSpeechConfig.

These settings affect:

  • The phone gateway synthesize configuration set via Agent.text_to_speech_settings.

  • How speech is synthesized when invoking session APIs. Agent.text_to_speech_settings only applies if OutputAudioConfig.synthesize_speech_config is not specified.

map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
SynthesizeSpeechConfig