Interface TextToSpeechSettingsOrBuilder (0.55.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.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;

Parameter
Name Description
key String
Returns
Type Description
boolean

getSynthesizeSpeechConfigs() (deprecated)

public abstract Map<String,SynthesizeSpeechConfig> getSynthesizeSpeechConfigs()
Returns
Type Description
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.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;

Returns
Type Description
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.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;

Returns
Type Description
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.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;

Parameters
Name Description
key String
defaultValue SynthesizeSpeechConfig
Returns
Type Description
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.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;

Parameter
Name Description
key String
Returns
Type Description
SynthesizeSpeechConfig