public static enum RpcClient.InstrumentType extends Enum<RpcClient.InstrumentType> implements com.google.protobuf.ProtocolMessageEnum
InstrumentType| Enum Constant and Description |
|---|
CURRENCY
CURRENCY = 3; |
EQUITY
EQUITY = 0; |
FUTURE
FUTURE = 2; |
OPTION
OPTION = 1; |
| Modifier and Type | Field and Description |
|---|---|
static int |
CURRENCY_VALUE
CURRENCY = 3; |
static int |
EQUITY_VALUE
EQUITY = 0; |
static int |
FUTURE_VALUE
FUTURE = 2; |
static int |
OPTION_VALUE
OPTION = 1; |
| Modifier and Type | Method and Description |
|---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<RpcClient.InstrumentType> |
internalGetValueMap() |
static RpcClient.InstrumentType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RpcClient.InstrumentType |
valueOf(int value) |
static RpcClient.InstrumentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RpcClient.InstrumentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RpcClient.InstrumentType EQUITY
EQUITY = 0;public static final RpcClient.InstrumentType OPTION
OPTION = 1;public static final RpcClient.InstrumentType FUTURE
FUTURE = 2;public static final RpcClient.InstrumentType CURRENCY
CURRENCY = 3;public static final int EQUITY_VALUE
EQUITY = 0;public static final int OPTION_VALUE
OPTION = 1;public static final int FUTURE_VALUE
FUTURE = 2;public static final int CURRENCY_VALUE
CURRENCY = 3;public static RpcClient.InstrumentType[] values()
for (RpcClient.InstrumentType c : RpcClient.InstrumentType.values()) System.out.println(c);
public static RpcClient.InstrumentType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static RpcClient.InstrumentType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<RpcClient.InstrumentType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RpcClient.InstrumentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2015. All Rights Reserved.