Enum 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 enum streamlayer.interactive.PromotionButtonType
    • 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;
    • 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 name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.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 name
        java.lang.NullPointerException - if the argument is null
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<PromotionButtonType> internalGetValueMap()
      • internalGetVerifier

        public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()