Package com.streamlayer.inplay.common
Enum MarketStatus
- java.lang.Object
-
- java.lang.Enum<MarketStatus>
-
- com.streamlayer.inplay.common.MarketStatus
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<MarketStatus>
public enum MarketStatus extends java.lang.Enum<MarketStatus> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.inplay.common.MarketStatus
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MARKET_STATUS_CLOSEDMARKET_STATUS_CLOSED = 2;MARKET_STATUS_OPENMARKET_STATUS_OPEN = 0;MARKET_STATUS_SUSPENDEDMARKET_STATUS_SUSPENDED = 1;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intMARKET_STATUS_CLOSED_VALUEMARKET_STATUS_CLOSED = 2;static intMARKET_STATUS_OPEN_VALUEMARKET_STATUS_OPEN = 0;static intMARKET_STATUS_SUSPENDED_VALUEMARKET_STATUS_SUSPENDED = 1;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static MarketStatusforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<MarketStatus>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static MarketStatusvalueOf(int value)Deprecated.static MarketStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MarketStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MARKET_STATUS_OPEN
public static final MarketStatus MARKET_STATUS_OPEN
MARKET_STATUS_OPEN = 0;
-
MARKET_STATUS_SUSPENDED
public static final MarketStatus MARKET_STATUS_SUSPENDED
MARKET_STATUS_SUSPENDED = 1;
-
MARKET_STATUS_CLOSED
public static final MarketStatus MARKET_STATUS_CLOSED
MARKET_STATUS_CLOSED = 2;
-
UNRECOGNIZED
public static final MarketStatus UNRECOGNIZED
-
-
Field Detail
-
MARKET_STATUS_OPEN_VALUE
public static final int MARKET_STATUS_OPEN_VALUE
MARKET_STATUS_OPEN = 0;- See Also:
- Constant Field Values
-
MARKET_STATUS_SUSPENDED_VALUE
public static final int MARKET_STATUS_SUSPENDED_VALUE
MARKET_STATUS_SUSPENDED = 1;- See Also:
- Constant Field Values
-
MARKET_STATUS_CLOSED_VALUE
public static final int MARKET_STATUS_CLOSED_VALUE
MARKET_STATUS_CLOSED = 2;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static MarketStatus[] 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 (MarketStatus c : MarketStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MarketStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
@Deprecated public static MarketStatus valueOf(int value)
Deprecated.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:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static MarketStatus forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<MarketStatus> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-