Enum PromotionType
- java.lang.Object
-
- java.lang.Enum<PromotionType>
-
- com.streamlayer.interactive.common.PromotionType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<PromotionType>
public enum PromotionType extends java.lang.Enum<PromotionType> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.interactive.PromotionType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PROMOTION_TYPE_INGAME_IAB11PROMOTION_TYPE_INGAME_IAB11 = 2;PROMOTION_TYPE_INGAME_IAB21PROMOTION_TYPE_INGAME_IAB21 = 1;PROMOTION_TYPE_INGAME_IAB61PROMOTION_TYPE_INGAME_IAB61 = 3;PROMOTION_TYPE_UNSETPROMOTION_TYPE_UNSET = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intPROMOTION_TYPE_INGAME_IAB11_VALUEPROMOTION_TYPE_INGAME_IAB11 = 2;static intPROMOTION_TYPE_INGAME_IAB21_VALUEPROMOTION_TYPE_INGAME_IAB21 = 1;static intPROMOTION_TYPE_INGAME_IAB61_VALUEPROMOTION_TYPE_INGAME_IAB61 = 3;static intPROMOTION_TYPE_UNSET_VALUEPROMOTION_TYPE_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PromotionTypeforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<PromotionType>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static PromotionTypevalueOf(int value)Deprecated.static PromotionTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PromotionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROMOTION_TYPE_UNSET
public static final PromotionType PROMOTION_TYPE_UNSET
PROMOTION_TYPE_UNSET = 0;
-
PROMOTION_TYPE_INGAME_IAB21
public static final PromotionType PROMOTION_TYPE_INGAME_IAB21
PROMOTION_TYPE_INGAME_IAB21 = 1;
-
PROMOTION_TYPE_INGAME_IAB11
public static final PromotionType PROMOTION_TYPE_INGAME_IAB11
PROMOTION_TYPE_INGAME_IAB11 = 2;
-
PROMOTION_TYPE_INGAME_IAB61
public static final PromotionType PROMOTION_TYPE_INGAME_IAB61
PROMOTION_TYPE_INGAME_IAB61 = 3;
-
UNRECOGNIZED
public static final PromotionType UNRECOGNIZED
-
-
Field Detail
-
PROMOTION_TYPE_UNSET_VALUE
public static final int PROMOTION_TYPE_UNSET_VALUE
PROMOTION_TYPE_UNSET = 0;- See Also:
- Constant Field Values
-
PROMOTION_TYPE_INGAME_IAB21_VALUE
public static final int PROMOTION_TYPE_INGAME_IAB21_VALUE
PROMOTION_TYPE_INGAME_IAB21 = 1;- See Also:
- Constant Field Values
-
PROMOTION_TYPE_INGAME_IAB11_VALUE
public static final int PROMOTION_TYPE_INGAME_IAB11_VALUE
PROMOTION_TYPE_INGAME_IAB11 = 2;- See Also:
- Constant Field Values
-
PROMOTION_TYPE_INGAME_IAB61_VALUE
public static final int PROMOTION_TYPE_INGAME_IAB61_VALUE
PROMOTION_TYPE_INGAME_IAB61 = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static PromotionType[] 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 (PromotionType c : PromotionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PromotionType 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 PromotionType 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 PromotionType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<PromotionType> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-