Interface ListVoicesRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    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

    • getLanguageCode

      String getLanguageCode()
       Optional. Recommended.
       [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
       If not specified, the API will return all supported voices.
       If specified, the ListVoices call will only return voices that can be used
       to synthesize this language_code. For example, if you specify `"en-NZ"`,
       all `"en-NZ"` voices will be returned. If you specify `"no"`, both
       `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices will be
       returned.
       
      string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      com.google.protobuf.ByteString getLanguageCodeBytes()
       Optional. Recommended.
       [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
       If not specified, the API will return all supported voices.
       If specified, the ListVoices call will only return voices that can be used
       to synthesize this language_code. For example, if you specify `"en-NZ"`,
       all `"en-NZ"` voices will be returned. If you specify `"no"`, both
       `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices will be
       returned.
       
      string language_code = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for languageCode.