Enum SalePrice
- java.lang.Object
-
- java.lang.Enum<SalePrice>
-
- com.streamlayer.interactive.common.SalePrice
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SALE_PRICE_DISABLEDSALE_PRICE_DISABLED = 2;SALE_PRICE_ENABLEDSALE_PRICE_ENABLED = 1;SALE_PRICE_UNSETSALE_PRICE_UNSET = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intSALE_PRICE_DISABLED_VALUESALE_PRICE_DISABLED = 2;static intSALE_PRICE_ENABLED_VALUESALE_PRICE_ENABLED = 1;static intSALE_PRICE_UNSET_VALUESALE_PRICE_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SalePriceforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<SalePrice>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static SalePricevalueOf(int value)Deprecated.static SalePricevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SalePrice[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SALE_PRICE_UNSET
public static final SalePrice SALE_PRICE_UNSET
SALE_PRICE_UNSET = 0;
-
SALE_PRICE_ENABLED
public static final SalePrice SALE_PRICE_ENABLED
SALE_PRICE_ENABLED = 1;
-
SALE_PRICE_DISABLED
public static final SalePrice SALE_PRICE_DISABLED
SALE_PRICE_DISABLED = 2;
-
UNRECOGNIZED
public static final SalePrice UNRECOGNIZED
-
-
Field Detail
-
SALE_PRICE_UNSET_VALUE
public static final int SALE_PRICE_UNSET_VALUE
SALE_PRICE_UNSET = 0;- See Also:
- Constant Field Values
-
SALE_PRICE_ENABLED_VALUE
public static final int SALE_PRICE_ENABLED_VALUE
SALE_PRICE_ENABLED = 1;- See Also:
- Constant Field Values
-
SALE_PRICE_DISABLED_VALUE
public static final int SALE_PRICE_DISABLED_VALUE
SALE_PRICE_DISABLED = 2;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static SalePrice[] 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 (SalePrice c : SalePrice.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SalePrice 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 SalePrice 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 SalePrice forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<SalePrice> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-