Interface TextToSpeechSettingsOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    TextToSpeechSettings, TextToSpeechSettings.Builder

    public interface TextToSpeechSettingsOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getSynthesizeSpeechConfigsCount

        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](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway)
            synthesize configuration set via
            [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings].
        
          - How speech is synthesized when invoking
          [session][google.cloud.dialogflow.cx.v3.Sessions] APIs.
            [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings]
            only applies if
            [OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3.OutputAudioConfig.synthesize_speech_config]
            is not specified.
         
        map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
      • containsSynthesizeSpeechConfigs

        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](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway)
            synthesize configuration set via
            [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings].
        
          - How speech is synthesized when invoking
          [session][google.cloud.dialogflow.cx.v3.Sessions] APIs.
            [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings]
            only applies if
            [OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3.OutputAudioConfig.synthesize_speech_config]
            is not specified.
         
        map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
      • getSynthesizeSpeechConfigsMap

        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](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway)
            synthesize configuration set via
            [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings].
        
          - How speech is synthesized when invoking
          [session][google.cloud.dialogflow.cx.v3.Sessions] APIs.
            [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings]
            only applies if
            [OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3.OutputAudioConfig.synthesize_speech_config]
            is not specified.
         
        map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
      • getSynthesizeSpeechConfigsOrDefault

        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](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway)
            synthesize configuration set via
            [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings].
        
          - How speech is synthesized when invoking
          [session][google.cloud.dialogflow.cx.v3.Sessions] APIs.
            [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings]
            only applies if
            [OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3.OutputAudioConfig.synthesize_speech_config]
            is not specified.
         
        map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
      • getSynthesizeSpeechConfigsOrThrow

        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](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway)
            synthesize configuration set via
            [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings].
        
          - How speech is synthesized when invoking
          [session][google.cloud.dialogflow.cx.v3.Sessions] APIs.
            [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings]
            only applies if
            [OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3.OutputAudioConfig.synthesize_speech_config]
            is not specified.
         
        map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;