public enum StreamMarketUpdateCommodity extends java.lang.Enum<StreamMarketUpdateCommodity>
StreamMarketUpdateCommodity allows selecting kind of market update wanted.Protobuf enum
kaikosdk.StreamMarketUpdateCommodity
Enum Constant and Description |
---|
SMUC_FULL_ORDER_BOOK
FULL_ORDER_BOOK commodity.
|
SMUC_TOP_OF_BOOK
TOP_OF_BOOK commodity.
|
SMUC_TRADE
TRADE commodity.
|
SMUC_UNKNOWN
Unknown commodity.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
SMUC_FULL_ORDER_BOOK_VALUE
FULL_ORDER_BOOK commodity.
|
static int |
SMUC_TOP_OF_BOOK_VALUE
TOP_OF_BOOK commodity.
|
static int |
SMUC_TRADE_VALUE
TRADE commodity.
|
static int |
SMUC_UNKNOWN_VALUE
Unknown commodity.
|
Modifier and Type | Method and Description |
---|---|
static StreamMarketUpdateCommodity |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static <any> |
internalGetValueMap() |
static StreamMarketUpdateCommodity |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static StreamMarketUpdateCommodity |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static StreamMarketUpdateCommodity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StreamMarketUpdateCommodity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamMarketUpdateCommodity SMUC_UNKNOWN
Unknown commodity.
SMUC_UNKNOWN = 0;
public static final StreamMarketUpdateCommodity SMUC_TRADE
TRADE commodity.
SMUC_TRADE = 1;
public static final StreamMarketUpdateCommodity SMUC_TOP_OF_BOOK
TOP_OF_BOOK commodity.
SMUC_TOP_OF_BOOK = 2;
public static final StreamMarketUpdateCommodity SMUC_FULL_ORDER_BOOK
FULL_ORDER_BOOK commodity.
SMUC_FULL_ORDER_BOOK = 3;
public static final StreamMarketUpdateCommodity UNRECOGNIZED
public static final int SMUC_UNKNOWN_VALUE
Unknown commodity.
SMUC_UNKNOWN = 0;
public static final int SMUC_TRADE_VALUE
TRADE commodity.
SMUC_TRADE = 1;
public static final int SMUC_TOP_OF_BOOK_VALUE
TOP_OF_BOOK commodity.
SMUC_TOP_OF_BOOK = 2;
public static final int SMUC_FULL_ORDER_BOOK_VALUE
FULL_ORDER_BOOK commodity.
SMUC_FULL_ORDER_BOOK = 3;
public static StreamMarketUpdateCommodity[] values()
for (StreamMarketUpdateCommodity c : StreamMarketUpdateCommodity.values()) System.out.println(c);
public static StreamMarketUpdateCommodity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
@Deprecated public static StreamMarketUpdateCommodity valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static StreamMarketUpdateCommodity forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static <any> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static StreamMarketUpdateCommodity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)