Enum PromotionButtonType
- java.lang.Object
-
- java.lang.Enum<PromotionButtonType>
-
- com.streamlayer.interactive.common.PromotionButtonType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<PromotionButtonType>
public enum PromotionButtonType extends java.lang.Enum<PromotionButtonType> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.interactive.PromotionButtonType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PROMOTION_BUTTON_TYPE_ADD_TO_WALLETPROMOTION_BUTTON_TYPE_ADD_TO_WALLET = 3;PROMOTION_BUTTON_TYPE_BASICPROMOTION_BUTTON_TYPE_BASIC = 1;PROMOTION_BUTTON_TYPE_NO_BUTTONPROMOTION_BUTTON_TYPE_NO_BUTTON = 5;PROMOTION_BUTTON_TYPE_RETURN_TO_VIDEOPROMOTION_BUTTON_TYPE_RETURN_TO_VIDEO = 4;PROMOTION_BUTTON_TYPE_SEND_TO_USERPROMOTION_BUTTON_TYPE_SEND_TO_USER = 6;PROMOTION_BUTTON_TYPE_UNSETPROMOTION_BUTTON_TYPE_UNSET = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intPROMOTION_BUTTON_TYPE_ADD_TO_WALLET_VALUEPROMOTION_BUTTON_TYPE_ADD_TO_WALLET = 3;static intPROMOTION_BUTTON_TYPE_BASIC_VALUEPROMOTION_BUTTON_TYPE_BASIC = 1;static intPROMOTION_BUTTON_TYPE_NO_BUTTON_VALUEPROMOTION_BUTTON_TYPE_NO_BUTTON = 5;static intPROMOTION_BUTTON_TYPE_RETURN_TO_VIDEO_VALUEPROMOTION_BUTTON_TYPE_RETURN_TO_VIDEO = 4;static intPROMOTION_BUTTON_TYPE_SEND_TO_USER_VALUEPROMOTION_BUTTON_TYPE_SEND_TO_USER = 6;static intPROMOTION_BUTTON_TYPE_UNSET_VALUEPROMOTION_BUTTON_TYPE_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PromotionButtonTypeforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<PromotionButtonType>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static PromotionButtonTypevalueOf(int value)Deprecated.static PromotionButtonTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PromotionButtonType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROMOTION_BUTTON_TYPE_UNSET
public static final PromotionButtonType PROMOTION_BUTTON_TYPE_UNSET
PROMOTION_BUTTON_TYPE_UNSET = 0;
-
PROMOTION_BUTTON_TYPE_BASIC
public static final PromotionButtonType PROMOTION_BUTTON_TYPE_BASIC
PROMOTION_BUTTON_TYPE_BASIC = 1;
-
PROMOTION_BUTTON_TYPE_ADD_TO_WALLET
public static final PromotionButtonType PROMOTION_BUTTON_TYPE_ADD_TO_WALLET
PROMOTION_BUTTON_TYPE_ADD_TO_WALLET = 3;
-
PROMOTION_BUTTON_TYPE_RETURN_TO_VIDEO
public static final PromotionButtonType PROMOTION_BUTTON_TYPE_RETURN_TO_VIDEO
PROMOTION_BUTTON_TYPE_RETURN_TO_VIDEO = 4;
-
PROMOTION_BUTTON_TYPE_NO_BUTTON
public static final PromotionButtonType PROMOTION_BUTTON_TYPE_NO_BUTTON
PROMOTION_BUTTON_TYPE_NO_BUTTON = 5;
-
PROMOTION_BUTTON_TYPE_SEND_TO_USER
public static final PromotionButtonType PROMOTION_BUTTON_TYPE_SEND_TO_USER
PROMOTION_BUTTON_TYPE_SEND_TO_USER = 6;
-
UNRECOGNIZED
public static final PromotionButtonType UNRECOGNIZED
-
-
Field Detail
-
PROMOTION_BUTTON_TYPE_UNSET_VALUE
public static final int PROMOTION_BUTTON_TYPE_UNSET_VALUE
PROMOTION_BUTTON_TYPE_UNSET = 0;- See Also:
- Constant Field Values
-
PROMOTION_BUTTON_TYPE_BASIC_VALUE
public static final int PROMOTION_BUTTON_TYPE_BASIC_VALUE
PROMOTION_BUTTON_TYPE_BASIC = 1;- See Also:
- Constant Field Values
-
PROMOTION_BUTTON_TYPE_ADD_TO_WALLET_VALUE
public static final int PROMOTION_BUTTON_TYPE_ADD_TO_WALLET_VALUE
PROMOTION_BUTTON_TYPE_ADD_TO_WALLET = 3;- See Also:
- Constant Field Values
-
PROMOTION_BUTTON_TYPE_RETURN_TO_VIDEO_VALUE
public static final int PROMOTION_BUTTON_TYPE_RETURN_TO_VIDEO_VALUE
PROMOTION_BUTTON_TYPE_RETURN_TO_VIDEO = 4;- See Also:
- Constant Field Values
-
PROMOTION_BUTTON_TYPE_NO_BUTTON_VALUE
public static final int PROMOTION_BUTTON_TYPE_NO_BUTTON_VALUE
PROMOTION_BUTTON_TYPE_NO_BUTTON = 5;- See Also:
- Constant Field Values
-
PROMOTION_BUTTON_TYPE_SEND_TO_USER_VALUE
public static final int PROMOTION_BUTTON_TYPE_SEND_TO_USER_VALUE
PROMOTION_BUTTON_TYPE_SEND_TO_USER = 6;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static PromotionButtonType[] 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 (PromotionButtonType c : PromotionButtonType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PromotionButtonType 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 PromotionButtonType 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 PromotionButtonType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<PromotionButtonType> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-