程序包 xyz.redtorch.pb
Enum Class CoreEnum.CurrencyEnum
- 所有已实现的接口:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CoreEnum.CurrencyEnum>,Constable
- 封闭类:
- CoreEnum
public static enum CoreEnum.CurrencyEnum
extends Enum<CoreEnum.CurrencyEnum>
implements com.google.protobuf.ProtocolMessageEnum
CurrencyEnum是一个货币类型Protobuf enum
xyz.redtorch.pb.CurrencyEnum-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量枚举常量说明奥地利先令澳大利亚元比利时法郎币安稳定币加拿大元瑞士法郎离岸人民币人民币德国马克西班牙比塞塔欧元芬兰马克法国法郎英镑港币印尼盾爱尔兰镑意大利里拉日元韩国元卢森堡法郎马来西亚林吉特荷兰盾新西兰元菲律宾比索葡萄牙埃斯库多新加坡元俄罗斯卢布泰铢未知美元去中心化稳定币美元稳定币 -
字段概要
字段修饰符和类型字段说明static final int奥地利先令static final int澳大利亚元static final int比利时法郎static final int币安稳定币static final int加拿大元static final int瑞士法郎static final int离岸人民币static final int人民币static final int德国马克static final int西班牙比塞塔static final int欧元static final int芬兰马克static final int法国法郎static final int英镑static final int港币static final int印尼盾static final int爱尔兰镑static final int意大利里拉static final int日元static final int韩国元static final int卢森堡法郎static final int马来西亚林吉特static final int荷兰盾static final int新西兰元static final int菲律宾比索static final int葡萄牙埃斯库多static final int新加坡元static final int俄罗斯卢布static final int泰铢static final int未知static final int美元static final int去中心化稳定币static final int美元稳定币 -
方法概要
修饰符和类型方法说明static CoreEnum.CurrencyEnumforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<CoreEnum.CurrencyEnum>static CoreEnum.CurrencyEnumvalueOf(int value) 已过时。static CoreEnum.CurrencyEnumvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static CoreEnum.CurrencyEnumReturns the enum constant of this class with the specified name.static CoreEnum.CurrencyEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
枚举常量详细资料
-
UnknownCurrency
未知
UnknownCurrency = 0; -
USD
美元
USD = 1; -
CNY
人民币
CNY = 2; -
CNH
离岸人民币
CNH = 3; -
HKD
港币
HKD = 4; -
JPY
日元
JPY = 5; -
EUR
欧元
EUR = 6; -
GBP
英镑
GBP = 7; -
DEM
德国马克
DEM = 8; -
CHF
瑞士法郎
CHF = 9; -
FRF
法国法郎
FRF = 10; -
CAD
加拿大元
CAD = 11; -
AUD
澳大利亚元
AUD = 12; -
ATS
奥地利先令
ATS = 13; -
FIM
芬兰马克
FIM = 14; -
BEF
比利时法郎
BEF = 15; -
THB
泰铢
THB = 16; -
IEP
爱尔兰镑
IEP = 17; -
ITL
意大利里拉
ITL = 18; -
LUF
卢森堡法郎
LUF = 19; -
NLG
荷兰盾
NLG = 20; -
PTE
葡萄牙埃斯库多
PTE = 21; -
ESP
西班牙比塞塔
ESP = 22; -
IDR
印尼盾
IDR = 23; -
MYR
马来西亚林吉特
MYR = 24; -
NZD
新西兰元
NZD = 25; -
PHP
菲律宾比索
PHP = 26; -
SUR
俄罗斯卢布
SUR = 27; -
SGD
新加坡元
SGD = 28; -
KRW
韩国元
KRW = 29; -
USDT
美元稳定币
USDT = 30; -
BUSD
币安稳定币
BUSD = 31; -
USDC
去中心化稳定币
USDC = 32; -
UNRECOGNIZED
-
-
字段详细资料
-
UnknownCurrency_VALUE
public static final int UnknownCurrency_VALUE未知
UnknownCurrency = 0;- 另请参阅:
-
USD_VALUE
public static final int USD_VALUE美元
USD = 1;- 另请参阅:
-
CNY_VALUE
public static final int CNY_VALUE人民币
CNY = 2;- 另请参阅:
-
CNH_VALUE
public static final int CNH_VALUE离岸人民币
CNH = 3;- 另请参阅:
-
HKD_VALUE
public static final int HKD_VALUE港币
HKD = 4;- 另请参阅:
-
JPY_VALUE
public static final int JPY_VALUE日元
JPY = 5;- 另请参阅:
-
EUR_VALUE
public static final int EUR_VALUE欧元
EUR = 6;- 另请参阅:
-
GBP_VALUE
public static final int GBP_VALUE英镑
GBP = 7;- 另请参阅:
-
DEM_VALUE
public static final int DEM_VALUE德国马克
DEM = 8;- 另请参阅:
-
CHF_VALUE
public static final int CHF_VALUE瑞士法郎
CHF = 9;- 另请参阅:
-
FRF_VALUE
public static final int FRF_VALUE法国法郎
FRF = 10;- 另请参阅:
-
CAD_VALUE
public static final int CAD_VALUE加拿大元
CAD = 11;- 另请参阅:
-
AUD_VALUE
public static final int AUD_VALUE澳大利亚元
AUD = 12;- 另请参阅:
-
ATS_VALUE
public static final int ATS_VALUE奥地利先令
ATS = 13;- 另请参阅:
-
FIM_VALUE
public static final int FIM_VALUE芬兰马克
FIM = 14;- 另请参阅:
-
BEF_VALUE
public static final int BEF_VALUE比利时法郎
BEF = 15;- 另请参阅:
-
THB_VALUE
public static final int THB_VALUE泰铢
THB = 16;- 另请参阅:
-
IEP_VALUE
public static final int IEP_VALUE爱尔兰镑
IEP = 17;- 另请参阅:
-
ITL_VALUE
public static final int ITL_VALUE意大利里拉
ITL = 18;- 另请参阅:
-
LUF_VALUE
public static final int LUF_VALUE卢森堡法郎
LUF = 19;- 另请参阅:
-
NLG_VALUE
public static final int NLG_VALUE荷兰盾
NLG = 20;- 另请参阅:
-
PTE_VALUE
public static final int PTE_VALUE葡萄牙埃斯库多
PTE = 21;- 另请参阅:
-
ESP_VALUE
public static final int ESP_VALUE西班牙比塞塔
ESP = 22;- 另请参阅:
-
IDR_VALUE
public static final int IDR_VALUE印尼盾
IDR = 23;- 另请参阅:
-
MYR_VALUE
public static final int MYR_VALUE马来西亚林吉特
MYR = 24;- 另请参阅:
-
NZD_VALUE
public static final int NZD_VALUE新西兰元
NZD = 25;- 另请参阅:
-
PHP_VALUE
public static final int PHP_VALUE菲律宾比索
PHP = 26;- 另请参阅:
-
SUR_VALUE
public static final int SUR_VALUE俄罗斯卢布
SUR = 27;- 另请参阅:
-
SGD_VALUE
public static final int SGD_VALUE新加坡元
SGD = 28;- 另请参阅:
-
KRW_VALUE
public static final int KRW_VALUE韩国元
KRW = 29;- 另请参阅:
-
USDT_VALUE
public static final int USDT_VALUE美元稳定币
USDT = 30;- 另请参阅:
-
BUSD_VALUE
public static final int BUSD_VALUE币安稳定币
BUSD = 31;- 另请参阅:
-
USDC_VALUE
public static final int USDC_VALUE去中心化稳定币
USDC = 32;- 另请参阅:
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
getNumber
public final int getNumber()- 指定者:
getNumber在接口中com.google.protobuf.Internal.EnumLite- 指定者:
getNumber在接口中com.google.protobuf.ProtocolMessageEnum
-
valueOf
已过时。Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
value- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
forNumber
- 参数:
value- The numeric wire value of the corresponding enum entry.- 返回:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- 指定者:
getValueDescriptor在接口中com.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- 指定者:
getDescriptorForType在接口中com.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static CoreEnum.CurrencyEnum valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
desc- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-