Package ai.promoted.proto.delivery
Enum UseCase
- java.lang.Object
-
- java.lang.Enum<UseCase>
-
- ai.promoted.proto.delivery.UseCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<UseCase>
public enum UseCase extends Enum<UseCase> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumdelivery.UseCase
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CATEGORY_CONTENTCATEGORY_CONTENT = 7;CLOSE_UPCLOSE_UP = 6;CUSTOMCUSTOM = 1;DISCOVERDISCOVER = 11;FEEDFEED = 4;MY_CONTENTMY_CONTENT = 8;MY_SAVED_CONTENTMY_SAVED_CONTENT = 9;RELATED_CONTENTRELATED_CONTENT = 5;SEARCHSEARCH = 2;SEARCH_SUGGESTIONSSEARCH_SUGGESTIONS = 3;SELLER_CONTENTSELLER_CONTENT = 10;UNKNOWN_USE_CASEUNKNOWN_USE_CASE = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intCATEGORY_CONTENT_VALUECATEGORY_CONTENT = 7;static intCLOSE_UP_VALUECLOSE_UP = 6;static intCUSTOM_VALUECUSTOM = 1;static intDISCOVER_VALUEDISCOVER = 11;static intFEED_VALUEFEED = 4;static intMY_CONTENT_VALUEMY_CONTENT = 8;static intMY_SAVED_CONTENT_VALUEMY_SAVED_CONTENT = 9;static intRELATED_CONTENT_VALUERELATED_CONTENT = 5;static intSEARCH_SUGGESTIONS_VALUESEARCH_SUGGESTIONS = 3;static intSEARCH_VALUESEARCH = 2;static intSELLER_CONTENT_VALUESELLER_CONTENT = 10;static intUNKNOWN_USE_CASE_VALUEUNKNOWN_USE_CASE = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static UseCaseforNumber(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<UseCase>internalGetValueMap()static UseCasevalueOf(int value)Deprecated.static UseCasevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static UseCasevalueOf(String name)Returns the enum constant of this type with the specified name.static UseCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN_USE_CASE
public static final UseCase UNKNOWN_USE_CASE
UNKNOWN_USE_CASE = 0;
-
CUSTOM
public static final UseCase CUSTOM
CUSTOM = 1;
-
SEARCH
public static final UseCase SEARCH
SEARCH = 2;
-
SEARCH_SUGGESTIONS
public static final UseCase SEARCH_SUGGESTIONS
SEARCH_SUGGESTIONS = 3;
-
FEED
public static final UseCase FEED
FEED = 4;
-
RELATED_CONTENT
public static final UseCase RELATED_CONTENT
RELATED_CONTENT = 5;
-
CLOSE_UP
public static final UseCase CLOSE_UP
CLOSE_UP = 6;
-
CATEGORY_CONTENT
public static final UseCase CATEGORY_CONTENT
CATEGORY_CONTENT = 7;
-
MY_CONTENT
public static final UseCase MY_CONTENT
MY_CONTENT = 8;
-
MY_SAVED_CONTENT
public static final UseCase MY_SAVED_CONTENT
MY_SAVED_CONTENT = 9;
-
SELLER_CONTENT
public static final UseCase SELLER_CONTENT
SELLER_CONTENT = 10;
-
DISCOVER
public static final UseCase DISCOVER
DISCOVER = 11;
-
UNRECOGNIZED
public static final UseCase UNRECOGNIZED
-
-
Field Detail
-
UNKNOWN_USE_CASE_VALUE
public static final int UNKNOWN_USE_CASE_VALUE
UNKNOWN_USE_CASE = 0;- See Also:
- Constant Field Values
-
CUSTOM_VALUE
public static final int CUSTOM_VALUE
CUSTOM = 1;- See Also:
- Constant Field Values
-
SEARCH_VALUE
public static final int SEARCH_VALUE
SEARCH = 2;- See Also:
- Constant Field Values
-
SEARCH_SUGGESTIONS_VALUE
public static final int SEARCH_SUGGESTIONS_VALUE
SEARCH_SUGGESTIONS = 3;- See Also:
- Constant Field Values
-
FEED_VALUE
public static final int FEED_VALUE
FEED = 4;- See Also:
- Constant Field Values
-
RELATED_CONTENT_VALUE
public static final int RELATED_CONTENT_VALUE
RELATED_CONTENT = 5;- See Also:
- Constant Field Values
-
CLOSE_UP_VALUE
public static final int CLOSE_UP_VALUE
CLOSE_UP = 6;- See Also:
- Constant Field Values
-
CATEGORY_CONTENT_VALUE
public static final int CATEGORY_CONTENT_VALUE
CATEGORY_CONTENT = 7;- See Also:
- Constant Field Values
-
MY_CONTENT_VALUE
public static final int MY_CONTENT_VALUE
MY_CONTENT = 8;- See Also:
- Constant Field Values
-
MY_SAVED_CONTENT_VALUE
public static final int MY_SAVED_CONTENT_VALUE
MY_SAVED_CONTENT = 9;- See Also:
- Constant Field Values
-
SELLER_CONTENT_VALUE
public static final int SELLER_CONTENT_VALUE
SELLER_CONTENT = 10;- See Also:
- Constant Field Values
-
DISCOVER_VALUE
public static final int DISCOVER_VALUE
DISCOVER = 11;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static UseCase[] 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 (UseCase c : UseCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UseCase 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 UseCase 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 UseCase 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<UseCase> 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 UseCase 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
-
-