Enum ActionType

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ActionType>

    public enum ActionType
    extends Enum<ActionType>
    implements com.google.protobuf.ProtocolMessageEnum
    Protobuf enum event.ActionType
    • Enum Constant Detail

      • UNKNOWN_ACTION_TYPE

        public static final ActionType UNKNOWN_ACTION_TYPE
        UNKNOWN_ACTION_TYPE = 0;
      • CUSTOM_ACTION_TYPE

        public static final ActionType CUSTOM_ACTION_TYPE
        CUSTOM_ACTION_TYPE = 1;
      • NAVIGATE

        public static final ActionType NAVIGATE
        NAVIGATE = 2;
      • ADD_TO_CART

        public static final ActionType ADD_TO_CART
        ADD_TO_CART = 4;
      • REMOVE_FROM_CART

        public static final ActionType REMOVE_FROM_CART
        REMOVE_FROM_CART = 10;
      • CHECKOUT

        public static final ActionType CHECKOUT
        CHECKOUT = 8;
      • PURCHASE

        public static final ActionType PURCHASE
        PURCHASE = 3;
      • SHARE

        public static final ActionType SHARE
        SHARE = 5;
      • LIKE

        public static final ActionType LIKE
        LIKE = 6;
      • UNLIKE

        public static final ActionType UNLIKE
        UNLIKE = 9;
      • COMMENT

        public static final ActionType COMMENT
        COMMENT = 7;
      • MAKE_OFFER

        public static final ActionType MAKE_OFFER
        MAKE_OFFER = 11;
      • ASK_QUESTION

        public static final ActionType ASK_QUESTION
        ASK_QUESTION = 12;
      • ANSWER_QUESTION

        public static final ActionType ANSWER_QUESTION
        ANSWER_QUESTION = 13;
      • COMPLETE_SIGN_IN

        public static final ActionType COMPLETE_SIGN_IN
        COMPLETE_SIGN_IN = 14;
      • COMPLETE_SIGN_UP

        public static final ActionType COMPLETE_SIGN_UP
        COMPLETE_SIGN_UP = 15;
      • BOOKMARK

        public static final ActionType BOOKMARK
        BOOKMARK = 16;
      • REMOVE_BOOKMARK

        public static final ActionType REMOVE_BOOKMARK
        REMOVE_BOOKMARK = 17;
      • ADD_TO_LIST

        public static final ActionType ADD_TO_LIST
        ADD_TO_LIST = 18;
      • REMOVE_FROM_LIST

        public static final ActionType REMOVE_FROM_LIST
        REMOVE_FROM_LIST = 19;
      • FOLLOW

        public static final ActionType FOLLOW
        FOLLOW = 20;
      • UNFOLLOW

        public static final ActionType UNFOLLOW
        UNFOLLOW = 21;
      • ONGOING_PURCHASE

        public static final ActionType ONGOING_PURCHASE
        ONGOING_PURCHASE = 22;
      • CANCEL_PURCHASE

        public static final ActionType CANCEL_PURCHASE
        CANCEL_PURCHASE = 23;
      • REFUND_PURCHASE

        public static final ActionType REFUND_PURCHASE
        REFUND_PURCHASE = 24;
      • SELECT_CONTENT

        public static final ActionType SELECT_CONTENT
        SELECT_CONTENT = 25;
      • UNRECOGNIZED

        public static final ActionType UNRECOGNIZED
    • Field Detail

      • UNKNOWN_ACTION_TYPE_VALUE

        public static final int UNKNOWN_ACTION_TYPE_VALUE
        UNKNOWN_ACTION_TYPE = 0;
        See Also:
        Constant Field Values
      • CUSTOM_ACTION_TYPE_VALUE

        public static final int CUSTOM_ACTION_TYPE_VALUE
        CUSTOM_ACTION_TYPE = 1;
        See Also:
        Constant Field Values
      • ADD_TO_CART_VALUE

        public static final int ADD_TO_CART_VALUE
        ADD_TO_CART = 4;
        See Also:
        Constant Field Values
      • REMOVE_FROM_CART_VALUE

        public static final int REMOVE_FROM_CART_VALUE
        REMOVE_FROM_CART = 10;
        See Also:
        Constant Field Values
      • MAKE_OFFER_VALUE

        public static final int MAKE_OFFER_VALUE
        MAKE_OFFER = 11;
        See Also:
        Constant Field Values
      • ASK_QUESTION_VALUE

        public static final int ASK_QUESTION_VALUE
        ASK_QUESTION = 12;
        See Also:
        Constant Field Values
      • ANSWER_QUESTION_VALUE

        public static final int ANSWER_QUESTION_VALUE
        ANSWER_QUESTION = 13;
        See Also:
        Constant Field Values
      • COMPLETE_SIGN_IN_VALUE

        public static final int COMPLETE_SIGN_IN_VALUE
        COMPLETE_SIGN_IN = 14;
        See Also:
        Constant Field Values
      • COMPLETE_SIGN_UP_VALUE

        public static final int COMPLETE_SIGN_UP_VALUE
        COMPLETE_SIGN_UP = 15;
        See Also:
        Constant Field Values
      • REMOVE_BOOKMARK_VALUE

        public static final int REMOVE_BOOKMARK_VALUE
        REMOVE_BOOKMARK = 17;
        See Also:
        Constant Field Values
      • ADD_TO_LIST_VALUE

        public static final int ADD_TO_LIST_VALUE
        ADD_TO_LIST = 18;
        See Also:
        Constant Field Values
      • REMOVE_FROM_LIST_VALUE

        public static final int REMOVE_FROM_LIST_VALUE
        REMOVE_FROM_LIST = 19;
        See Also:
        Constant Field Values
      • ONGOING_PURCHASE_VALUE

        public static final int ONGOING_PURCHASE_VALUE
        ONGOING_PURCHASE = 22;
        See Also:
        Constant Field Values
      • CANCEL_PURCHASE_VALUE

        public static final int CANCEL_PURCHASE_VALUE
        CANCEL_PURCHASE = 23;
        See Also:
        Constant Field Values
      • REFUND_PURCHASE_VALUE

        public static final int REFUND_PURCHASE_VALUE
        REFUND_PURCHASE = 24;
        See Also:
        Constant Field Values
      • SELECT_CONTENT_VALUE

        public static final int SELECT_CONTENT_VALUE
        SELECT_CONTENT = 25;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static ActionType[] 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 (ActionType c : ActionType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ActionType valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static ActionType 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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • forNumber

        public static ActionType forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<ActionType> internalGetValueMap()
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static ActionType valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        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:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null