Package ai.promoted.proto.event
Enum ActionType
- java.lang.Object
-
- java.lang.Enum<ActionType>
-
- ai.promoted.proto.event.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 enumevent.ActionType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_TO_CARTADD_TO_CART = 4;ADD_TO_LISTADD_TO_LIST = 18;ANSWER_QUESTIONANSWER_QUESTION = 13;ASK_QUESTIONASK_QUESTION = 12;BOOKMARKBOOKMARK = 16;CANCEL_PURCHASECANCEL_PURCHASE = 23;CHECKOUTCHECKOUT = 8;COMMENTCOMMENT = 7;COMPLETE_SIGN_INCOMPLETE_SIGN_IN = 14;COMPLETE_SIGN_UPCOMPLETE_SIGN_UP = 15;CUSTOM_ACTION_TYPECUSTOM_ACTION_TYPE = 1;FOLLOWFOLLOW = 20;LIKELIKE = 6;MAKE_OFFERMAKE_OFFER = 11;NAVIGATENAVIGATE = 2;ONGOING_PURCHASEONGOING_PURCHASE = 22;PURCHASEPURCHASE = 3;REFUND_PURCHASEREFUND_PURCHASE = 24;REMOVE_BOOKMARKREMOVE_BOOKMARK = 17;REMOVE_FROM_CARTREMOVE_FROM_CART = 10;REMOVE_FROM_LISTREMOVE_FROM_LIST = 19;SELECT_CONTENTSELECT_CONTENT = 25;SHARESHARE = 5;UNFOLLOWUNFOLLOW = 21;UNKNOWN_ACTION_TYPEUNKNOWN_ACTION_TYPE = 0;UNLIKEUNLIKE = 9;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intADD_TO_CART_VALUEADD_TO_CART = 4;static intADD_TO_LIST_VALUEADD_TO_LIST = 18;static intANSWER_QUESTION_VALUEANSWER_QUESTION = 13;static intASK_QUESTION_VALUEASK_QUESTION = 12;static intBOOKMARK_VALUEBOOKMARK = 16;static intCANCEL_PURCHASE_VALUECANCEL_PURCHASE = 23;static intCHECKOUT_VALUECHECKOUT = 8;static intCOMMENT_VALUECOMMENT = 7;static intCOMPLETE_SIGN_IN_VALUECOMPLETE_SIGN_IN = 14;static intCOMPLETE_SIGN_UP_VALUECOMPLETE_SIGN_UP = 15;static intCUSTOM_ACTION_TYPE_VALUECUSTOM_ACTION_TYPE = 1;static intFOLLOW_VALUEFOLLOW = 20;static intLIKE_VALUELIKE = 6;static intMAKE_OFFER_VALUEMAKE_OFFER = 11;static intNAVIGATE_VALUENAVIGATE = 2;static intONGOING_PURCHASE_VALUEONGOING_PURCHASE = 22;static intPURCHASE_VALUEPURCHASE = 3;static intREFUND_PURCHASE_VALUEREFUND_PURCHASE = 24;static intREMOVE_BOOKMARK_VALUEREMOVE_BOOKMARK = 17;static intREMOVE_FROM_CART_VALUEREMOVE_FROM_CART = 10;static intREMOVE_FROM_LIST_VALUEREMOVE_FROM_LIST = 19;static intSELECT_CONTENT_VALUESELECT_CONTENT = 25;static intSHARE_VALUESHARE = 5;static intUNFOLLOW_VALUEUNFOLLOW = 21;static intUNKNOWN_ACTION_TYPE_VALUEUNKNOWN_ACTION_TYPE = 0;static intUNLIKE_VALUEUNLIKE = 9;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ActionTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ActionType>internalGetValueMap()static ActionTypevalueOf(int value)Deprecated.static ActionTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ActionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ActionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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
-
NAVIGATE_VALUE
public static final int NAVIGATE_VALUE
NAVIGATE = 2;- 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
-
CHECKOUT_VALUE
public static final int CHECKOUT_VALUE
CHECKOUT = 8;- See Also:
- Constant Field Values
-
PURCHASE_VALUE
public static final int PURCHASE_VALUE
PURCHASE = 3;- See Also:
- Constant Field Values
-
SHARE_VALUE
public static final int SHARE_VALUE
SHARE = 5;- See Also:
- Constant Field Values
-
LIKE_VALUE
public static final int LIKE_VALUE
LIKE = 6;- See Also:
- Constant Field Values
-
UNLIKE_VALUE
public static final int UNLIKE_VALUE
UNLIKE = 9;- See Also:
- Constant Field Values
-
COMMENT_VALUE
public static final int COMMENT_VALUE
COMMENT = 7;- 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
-
BOOKMARK_VALUE
public static final int BOOKMARK_VALUE
BOOKMARK = 16;- 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
-
FOLLOW_VALUE
public static final int FOLLOW_VALUE
FOLLOW = 20;- See Also:
- Constant Field Values
-
UNFOLLOW_VALUE
public static final int UNFOLLOW_VALUE
UNFOLLOW = 21;- 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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.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 nameNullPointerException- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.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 nameNullPointerException- if the argument is null
-
-