public class Voice extends GenericModel
TextToSpeech voice.| Modifier and Type | Field and Description | 
|---|---|
static List<Voice> | 
ALL
The List of all predefined Voices. 
 | 
static Voice | 
DE_BIRGIT
The Constant DE_BIRGIT (value is "de-DE_BirgitVoice"). 
 | 
static Voice | 
DE_DIETER
The Constant DE_DIETER (value is "de-DE_DieterVoice"). 
 | 
static Voice | 
DE_GIRGIT
Deprecated.  
 | 
static Voice | 
EN_ALLISON
The Constant EN_ALLISON (value is "en-US_AllisonVoice"). 
 | 
static Voice | 
EN_LISA
The Constant EN_LISA (value is "en-US_LisaVoice"). 
 | 
static Voice | 
EN_MICHAEL
The Constant EN_MICHAEL (value is "en-US_MichaelVoice"). 
 | 
static Voice | 
ES_ENRIQUE
The Constant ES_ENRIQUE (value is "es-ES_EnriqueVoice"). 
 | 
static Voice | 
ES_LAURA
The Constant ES_LAURA (value is "es-ES_LauraVoice"). 
 | 
static Voice | 
ES_SOFIA
The Constant ES_SOFIA (value is "es-US_SofiaVoice"). 
 | 
static Voice | 
FR_RENEE
The Constant FR_RENEE (value is "fr-FR_ReneeVoice"). 
 | 
static Voice | 
GB_KATE
The Constant GB_KATE (value is "en-GB_KateVoice"). 
 | 
static Voice | 
IT_FRANCESCA
The Constant IT_FRANCESCA (value is "it-IT_FrancescaVoice"). 
 | 
static Voice | 
JA_EMI
The Constant JA_EMI (value is "ja-JP_EmiVoice"). 
 | 
static Voice | 
PT_ISABELA
The 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. 
 | 
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 | 
setUrl(String url)
Sets the url. 
 | 
equals, hashCode, toStringpublic static final Voice DE_DIETER
public static final Voice DE_BIRGIT
@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 PT_ISABELA
public String getDescription()
public String getGender()
public String getLanguage()
public String getName()
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 setUrl(String url)
url - the new urlCopyright © 2015–2016 IBM Watson. All rights reserved.