Enum PromotionFormat
- java.lang.Object
-
- java.lang.Enum<PromotionFormat>
-
- com.streamlayer.interactive.common.PromotionFormat
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<PromotionFormat>
public enum PromotionFormat extends java.lang.Enum<PromotionFormat> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.interactive.PromotionFormat
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PROMOTION_FORMAT_LBARPROMOTION_FORMAT_LBAR = 1;PROMOTION_FORMAT_OVERLAYPROMOTION_FORMAT_OVERLAY = 2;PROMOTION_FORMAT_SIDEBARPROMOTION_FORMAT_SIDEBAR = 3;PROMOTION_FORMAT_UNSETPROMOTION_FORMAT_UNSET = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intPROMOTION_FORMAT_LBAR_VALUEPROMOTION_FORMAT_LBAR = 1;static intPROMOTION_FORMAT_OVERLAY_VALUEPROMOTION_FORMAT_OVERLAY = 2;static intPROMOTION_FORMAT_SIDEBAR_VALUEPROMOTION_FORMAT_SIDEBAR = 3;static intPROMOTION_FORMAT_UNSET_VALUEPROMOTION_FORMAT_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PromotionFormatforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<PromotionFormat>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static PromotionFormatvalueOf(int value)Deprecated.static PromotionFormatvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PromotionFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROMOTION_FORMAT_UNSET
public static final PromotionFormat PROMOTION_FORMAT_UNSET
PROMOTION_FORMAT_UNSET = 0;
-
PROMOTION_FORMAT_LBAR
public static final PromotionFormat PROMOTION_FORMAT_LBAR
PROMOTION_FORMAT_LBAR = 1;
-
PROMOTION_FORMAT_OVERLAY
public static final PromotionFormat PROMOTION_FORMAT_OVERLAY
PROMOTION_FORMAT_OVERLAY = 2;
-
PROMOTION_FORMAT_SIDEBAR
public static final PromotionFormat PROMOTION_FORMAT_SIDEBAR
PROMOTION_FORMAT_SIDEBAR = 3;
-
UNRECOGNIZED
public static final PromotionFormat UNRECOGNIZED
-
-
Field Detail
-
PROMOTION_FORMAT_UNSET_VALUE
public static final int PROMOTION_FORMAT_UNSET_VALUE
PROMOTION_FORMAT_UNSET = 0;- See Also:
- Constant Field Values
-
PROMOTION_FORMAT_LBAR_VALUE
public static final int PROMOTION_FORMAT_LBAR_VALUE
PROMOTION_FORMAT_LBAR = 1;- See Also:
- Constant Field Values
-
PROMOTION_FORMAT_OVERLAY_VALUE
public static final int PROMOTION_FORMAT_OVERLAY_VALUE
PROMOTION_FORMAT_OVERLAY = 2;- See Also:
- Constant Field Values
-
PROMOTION_FORMAT_SIDEBAR_VALUE
public static final int PROMOTION_FORMAT_SIDEBAR_VALUE
PROMOTION_FORMAT_SIDEBAR = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static PromotionFormat[] 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 (PromotionFormat c : PromotionFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PromotionFormat 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 PromotionFormat 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 PromotionFormat forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<PromotionFormat> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-