Interface SpeechConfigOrBuilder

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

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

    • hasVoiceConfig

      boolean hasVoiceConfig()
       The configuration for the voice to use.
       
      .google.cloud.aiplatform.v1.VoiceConfig voice_config = 1;
      Returns:
      Whether the voiceConfig field is set.
    • getVoiceConfig

      VoiceConfig getVoiceConfig()
       The configuration for the voice to use.
       
      .google.cloud.aiplatform.v1.VoiceConfig voice_config = 1;
      Returns:
      The voiceConfig.
    • getVoiceConfigOrBuilder

      VoiceConfigOrBuilder getVoiceConfigOrBuilder()
       The configuration for the voice to use.
       
      .google.cloud.aiplatform.v1.VoiceConfig voice_config = 1;
    • getLanguageCode

      String getLanguageCode()
       Optional. The language code (ISO 639-1) for the speech synthesis.
       
      string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      com.google.protobuf.ByteString getLanguageCodeBytes()
       Optional. The language code (ISO 639-1) for the speech synthesis.
       
      string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for languageCode.
    • hasMultiSpeakerVoiceConfig

      boolean hasMultiSpeakerVoiceConfig()
       The configuration for a multi-speaker text-to-speech request.
       This field is mutually exclusive with `voice_config`.
       
      .google.cloud.aiplatform.v1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 3;
      Returns:
      Whether the multiSpeakerVoiceConfig field is set.
    • getMultiSpeakerVoiceConfig

      MultiSpeakerVoiceConfig getMultiSpeakerVoiceConfig()
       The configuration for a multi-speaker text-to-speech request.
       This field is mutually exclusive with `voice_config`.
       
      .google.cloud.aiplatform.v1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 3;
      Returns:
      The multiSpeakerVoiceConfig.
    • getMultiSpeakerVoiceConfigOrBuilder

      MultiSpeakerVoiceConfigOrBuilder getMultiSpeakerVoiceConfigOrBuilder()
       The configuration for a multi-speaker text-to-speech request.
       This field is mutually exclusive with `voice_config`.
       
      .google.cloud.aiplatform.v1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 3;