public static enum StreamTradesResponseV1.TradeSide extends java.lang.Enum<StreamTradesResponseV1.TradeSide>
SideProtobuf enum
kaikosdk.StreamTradesResponseV1.TradeSide
Enum Constant and Description |
---|
BUY
Buy side.
|
SELL
Sell side.
|
UNKNOWN
Unknown side (not specified).
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
BUY_VALUE
Buy side.
|
static int |
SELL_VALUE
Sell side.
|
static int |
UNKNOWN_VALUE
Unknown side (not specified).
|
Modifier and Type | Method and Description |
---|---|
static StreamTradesResponseV1.TradeSide |
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 StreamTradesResponseV1.TradeSide |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static StreamTradesResponseV1.TradeSide |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static StreamTradesResponseV1.TradeSide |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StreamTradesResponseV1.TradeSide[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamTradesResponseV1.TradeSide UNKNOWN
Unknown side (not specified).
UNKNOWN = 0;
public static final StreamTradesResponseV1.TradeSide BUY
Buy side.
BUY = 1;
public static final StreamTradesResponseV1.TradeSide SELL
Sell side.
SELL = 2;
public static final StreamTradesResponseV1.TradeSide UNRECOGNIZED
public static final int UNKNOWN_VALUE
Unknown side (not specified).
UNKNOWN = 0;
public static final int BUY_VALUE
Buy side.
BUY = 1;
public static final int SELL_VALUE
Sell side.
SELL = 2;
public static StreamTradesResponseV1.TradeSide[] values()
for (StreamTradesResponseV1.TradeSide c : StreamTradesResponseV1.TradeSide.values()) System.out.println(c);
public static StreamTradesResponseV1.TradeSide 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 StreamTradesResponseV1.TradeSide valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static StreamTradesResponseV1.TradeSide 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 StreamTradesResponseV1.TradeSide valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)