Interface MultispeakerPrebuiltVoiceOrBuilder

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

@Generated public interface MultispeakerPrebuiltVoiceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getSpeakerAlias

      String getSpeakerAlias()
       Required. The speaker alias of the voice. This is the user-chosen speaker
       name that is used in the multispeaker text input, such as "Speaker1".
       
      string speaker_alias = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The speakerAlias.
    • getSpeakerAliasBytes

      com.google.protobuf.ByteString getSpeakerAliasBytes()
       Required. The speaker alias of the voice. This is the user-chosen speaker
       name that is used in the multispeaker text input, such as "Speaker1".
       
      string speaker_alias = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for speakerAlias.
    • getSpeakerId

      String getSpeakerId()
       Required. The speaker ID of the voice. See
       https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options
       for available values.
       
      string speaker_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The speakerId.
    • getSpeakerIdBytes

      com.google.protobuf.ByteString getSpeakerIdBytes()
       Required. The speaker ID of the voice. See
       https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options
       for available values.
       
      string speaker_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for speakerId.