public interface VoiceOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLanguageCodes(int index)
The languages that this voice supports, expressed as
[BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g.
|
ByteString |
getLanguageCodesBytes(int index)
The languages that this voice supports, expressed as
[BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g.
|
int |
getLanguageCodesCount()
The languages that this voice supports, expressed as
[BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g.
|
java.util.List<java.lang.String> |
getLanguageCodesList()
The languages that this voice supports, expressed as
[BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g.
|
java.lang.String |
getName()
The name of this voice.
|
ByteString |
getNameBytes()
The name of this voice.
|
int |
getNaturalSampleRateHertz()
The natural sample rate (in hertz) for this voice.
|
SsmlVoiceGender |
getSsmlGender()
The gender of this voice.
|
int |
getSsmlGenderValue()
The gender of this voice.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.util.List<java.lang.String> getLanguageCodesList()
The languages that this voice supports, expressed as [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g. "en-US", "es-419", "cmn-tw").
repeated string language_codes = 1;
int getLanguageCodesCount()
The languages that this voice supports, expressed as [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g. "en-US", "es-419", "cmn-tw").
repeated string language_codes = 1;
java.lang.String getLanguageCodes(int index)
The languages that this voice supports, expressed as [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g. "en-US", "es-419", "cmn-tw").
repeated string language_codes = 1;
ByteString getLanguageCodesBytes(int index)
The languages that this voice supports, expressed as [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g. "en-US", "es-419", "cmn-tw").
repeated string language_codes = 1;
java.lang.String getName()
The name of this voice. Each distinct voice has a unique name.
string name = 2;
ByteString getNameBytes()
The name of this voice. Each distinct voice has a unique name.
string name = 2;
int getSsmlGenderValue()
The gender of this voice.
.google.cloud.texttospeech.v1beta1.SsmlVoiceGender ssml_gender = 3;
SsmlVoiceGender getSsmlGender()
The gender of this voice.
.google.cloud.texttospeech.v1beta1.SsmlVoiceGender ssml_gender = 3;
int getNaturalSampleRateHertz()
The natural sample rate (in hertz) for this voice.
int32 natural_sample_rate_hertz = 4;