Interface VoiceSelectionParamsOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Optional.
    int
    Optional.

    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

    • getName

      String getName()
       Optional. The name of the voice. If not set, the service will choose a
       voice based on the other parameters such as language_code and
       [ssml_gender][google.cloud.dialogflow.v2beta1.VoiceSelectionParams.ssml_gender].
      
       For the list of available voices, please refer to [Supported voices and
       languages](https://cloud.google.com/text-to-speech/docs/voices).
       
      string name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Optional. The name of the voice. If not set, the service will choose a
       voice based on the other parameters such as language_code and
       [ssml_gender][google.cloud.dialogflow.v2beta1.VoiceSelectionParams.ssml_gender].
      
       For the list of available voices, please refer to [Supported voices and
       languages](https://cloud.google.com/text-to-speech/docs/voices).
       
      string name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for name.
    • getSsmlGenderValue

      int getSsmlGenderValue()
       Optional. The preferred gender of the voice. If not set, the service will
       choose a voice based on the other parameters such as language_code and
       [name][google.cloud.dialogflow.v2beta1.VoiceSelectionParams.name]. Note
       that this is only a preference, not requirement. If a voice of the
       appropriate gender is not available, the synthesizer should substitute a
       voice with a different gender rather than failing the request.
       
      .google.cloud.dialogflow.v2beta1.SsmlVoiceGender ssml_gender = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for ssmlGender.
    • getSsmlGender

      SsmlVoiceGender getSsmlGender()
       Optional. The preferred gender of the voice. If not set, the service will
       choose a voice based on the other parameters such as language_code and
       [name][google.cloud.dialogflow.v2beta1.VoiceSelectionParams.name]. Note
       that this is only a preference, not requirement. If a voice of the
       appropriate gender is not available, the synthesizer should substitute a
       voice with a different gender rather than failing the request.
       
      .google.cloud.dialogflow.v2beta1.SsmlVoiceGender ssml_gender = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The ssmlGender.