public class Voice extends GenericModel
TextToSpeech voice.| Modifier and Type | Class and Description | 
|---|---|
| class  | Voice.SupportedFeaturesDescribes the additional service features supported with the voice. | 
| Modifier and Type | Field and Description | 
|---|---|
| static List<Voice> | ALLThe List of all predefined Voices. | 
| static Voice | DE_BIRGITThe Constant DE_BIRGIT (value is "de-DE_BirgitVoice"). | 
| static Voice | DE_DIETERThe Constant DE_DIETER (value is "de-DE_DieterVoice"). | 
| static Voice | DE_GIRGITDeprecated.  | 
| static Voice | EN_ALLISONThe Constant EN_ALLISON (value is "en-US_AllisonVoice"). | 
| static Voice | EN_LISAThe Constant EN_LISA (value is "en-US_LisaVoice"). | 
| static Voice | EN_MICHAELThe Constant EN_MICHAEL (value is "en-US_MichaelVoice"). | 
| static Voice | ES_ENRIQUEThe Constant ES_ENRIQUE (value is "es-ES_EnriqueVoice"). | 
| static Voice | ES_LAURAThe Constant ES_LAURA (value is "es-ES_LauraVoice"). | 
| static Voice | ES_SOFIAThe Constant ES_SOFIA (value is "es-US_SofiaVoice"). | 
| static Voice | FR_RENEEThe Constant FR_RENEE (value is "fr-FR_ReneeVoice"). | 
| static Voice | GB_KATEThe Constant GB_KATE (value is "en-GB_KateVoice"). | 
| static Voice | IT_FRANCESCAThe Constant IT_FRANCESCA (value is "it-IT_FrancescaVoice"). | 
| static Voice | JA_EMIThe Constant JA_EMI (value is "ja-JP_EmiVoice"). | 
| static Voice | LA_SOFIAThe Constant LA_SOFIA (value is "es-LA_SofiaVoice"). | 
| static Voice | PT_ISABELAThe Constant PT_ISABELA (value is "pt-BR_IsabelaVoice"). | 
| Constructor and Description | 
|---|
| Voice()Instantiates a new voice. | 
| Voice(String name,
     String gender,
     String language)Instantiates a new voice. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Voice | getByName(String name)Gets the Voice by its name (e.g. | 
| String | getDescription()Gets the description. | 
| String | getGender()Gets the gender. | 
| String | getLanguage()Gets the language. | 
| String | getName()Gets the name. | 
| Voice.SupportedFeatures | getSupportedFeatures()Gets the supported features. | 
| String | getUrl()Gets the url. | 
| void | setDescription(String description)Sets the description. | 
| void | setGender(String gender)Sets the gender. | 
| void | setLanguage(String language)Sets the language. | 
| void | setName(String name)Sets the name. | 
| void | setSupportedFeatures(Voice.SupportedFeatures supportedFeatures)Sets the supported features. | 
| void | setUrl(String url)Sets the url. | 
equals, hashCode, toStringpublic static final Voice DE_BIRGIT
public static final Voice DE_DIETER
@Deprecated public static final Voice DE_GIRGIT
public static final Voice EN_ALLISON
public static final Voice EN_LISA
public static final Voice EN_MICHAEL
public static final Voice ES_ENRIQUE
public static final Voice ES_LAURA
public static final Voice ES_SOFIA
public static final Voice FR_RENEE
public static final Voice GB_KATE
public static final Voice IT_FRANCESCA
public static final Voice JA_EMI
public static final Voice LA_SOFIA
public static final Voice PT_ISABELA
public static Voice getByName(String name)
name - the Voice namepublic String getDescription()
public String getGender()
public String getLanguage()
public String getName()
public Voice.SupportedFeatures getSupportedFeatures()
public String getUrl()
public void setDescription(String description)
description - the new descriptionpublic void setGender(String gender)
gender - the new genderpublic void setLanguage(String language)
language - the new languagepublic void setName(String name)
name - the new namepublic void setSupportedFeatures(Voice.SupportedFeatures supportedFeatures)
supportedFeatures - the new supported featurespublic void setUrl(String url)
url - the new urlCopyright © 2015–2016 IBM Watson. All rights reserved.