Package com.oracle.bmc.aispeech.model
Enum VoiceSummary.LanguageCode
- java.lang.Object
-
- java.lang.Enum<VoiceSummary.LanguageCode>
-
- com.oracle.bmc.aispeech.model.VoiceSummary.LanguageCode
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<VoiceSummary.LanguageCode>
- Enclosing class:
- VoiceSummary
public static enum VoiceSummary.LanguageCode extends Enum<VoiceSummary.LanguageCode> implements BmcEnum
An abbreviated notation of region to which the language and accent of the speaker belongs to.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EnUs
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VoiceSummary.LanguageCode
create(String key)
String
getValue()
static VoiceSummary.LanguageCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static VoiceSummary.LanguageCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EnUs
public static final VoiceSummary.LanguageCode EnUs
-
UnknownEnumValue
public static final VoiceSummary.LanguageCode UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static VoiceSummary.LanguageCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VoiceSummary.LanguageCode c : VoiceSummary.LanguageCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VoiceSummary.LanguageCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static VoiceSummary.LanguageCode create(String key)
-
-