Interface StreamingSynthesizeConfigOrBuilder

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

@Generated public interface StreamingSynthesizeConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasVoice

      boolean hasVoice()
       Required. The desired voice of the synthesized audio.
       
      .google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the voice field is set.
    • getVoice

       Required. The desired voice of the synthesized audio.
       
      .google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The voice.
    • getVoiceOrBuilder

      VoiceSelectionParamsOrBuilder getVoiceOrBuilder()
       Required. The desired voice of the synthesized audio.
       
      .google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];
    • hasStreamingAudioConfig

      boolean hasStreamingAudioConfig()
       Optional. The configuration of the synthesized audio.
       
      .google.cloud.texttospeech.v1.StreamingAudioConfig streaming_audio_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the streamingAudioConfig field is set.
    • getStreamingAudioConfig

      StreamingAudioConfig getStreamingAudioConfig()
       Optional. The configuration of the synthesized audio.
       
      .google.cloud.texttospeech.v1.StreamingAudioConfig streaming_audio_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The streamingAudioConfig.
    • getStreamingAudioConfigOrBuilder

      StreamingAudioConfigOrBuilder getStreamingAudioConfigOrBuilder()
       Optional. The configuration of the synthesized audio.
       
      .google.cloud.texttospeech.v1.StreamingAudioConfig streaming_audio_config = 4 [(.google.api.field_behavior) = OPTIONAL];
    • hasCustomPronunciations

      boolean hasCustomPronunciations()
       Optional. The pronunciation customizations are applied to the input. If
       this is set, the input is synthesized using the given pronunciation
       customizations.
      
       The initial support is for en-us, with plans to expand to other locales in
       the future. Instant Clone voices aren't supported.
      
       In order to customize the pronunciation of a phrase, there must be an exact
       match of the phrase in the input types. If using SSML, the phrase must not
       be inside a phoneme tag.
       
      .google.cloud.texttospeech.v1.CustomPronunciations custom_pronunciations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the customPronunciations field is set.
    • getCustomPronunciations

      CustomPronunciations getCustomPronunciations()
       Optional. The pronunciation customizations are applied to the input. If
       this is set, the input is synthesized using the given pronunciation
       customizations.
      
       The initial support is for en-us, with plans to expand to other locales in
       the future. Instant Clone voices aren't supported.
      
       In order to customize the pronunciation of a phrase, there must be an exact
       match of the phrase in the input types. If using SSML, the phrase must not
       be inside a phoneme tag.
       
      .google.cloud.texttospeech.v1.CustomPronunciations custom_pronunciations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The customPronunciations.
    • getCustomPronunciationsOrBuilder

      CustomPronunciationsOrBuilder getCustomPronunciationsOrBuilder()
       Optional. The pronunciation customizations are applied to the input. If
       this is set, the input is synthesized using the given pronunciation
       customizations.
      
       The initial support is for en-us, with plans to expand to other locales in
       the future. Instant Clone voices aren't supported.
      
       In order to customize the pronunciation of a phrase, there must be an exact
       match of the phrase in the input types. If using SSML, the phrase must not
       be inside a phoneme tag.
       
      .google.cloud.texttospeech.v1.CustomPronunciations custom_pronunciations = 5 [(.google.api.field_behavior) = OPTIONAL];
    • hasAdvancedVoiceOptions

      boolean hasAdvancedVoiceOptions()
       Optional. Advanced voice options.
       
      optional .google.cloud.texttospeech.v1.AdvancedVoiceOptions advanced_voice_options = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the advancedVoiceOptions field is set.
    • getAdvancedVoiceOptions

      AdvancedVoiceOptions getAdvancedVoiceOptions()
       Optional. Advanced voice options.
       
      optional .google.cloud.texttospeech.v1.AdvancedVoiceOptions advanced_voice_options = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The advancedVoiceOptions.
    • getAdvancedVoiceOptionsOrBuilder

      AdvancedVoiceOptionsOrBuilder getAdvancedVoiceOptionsOrBuilder()
       Optional. Advanced voice options.
       
      optional .google.cloud.texttospeech.v1.AdvancedVoiceOptions advanced_voice_options = 7 [(.google.api.field_behavior) = OPTIONAL];