Enum EntityType
- java.lang.Object
-
- java.lang.Enum<EntityType>
-
- com.streamlayer.analytics.common.v1.EntityType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<EntityType>
public enum EntityType extends java.lang.Enum<EntityType> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.analytics.v1.common.EntityType
-
-
Field Summary
Fields Modifier and Type Field Description static intDEVICE_VALUEDEVICE = 3;static intEVENT_VALUEEVENT = 1;static intQUESTION_VALUEQUESTION = 4;static intUNSET_VALUEUNSET = 0;static intUSER_VALUEUSER = 2;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static EntityTypeforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<EntityType>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static EntityTypevalueOf(int value)Deprecated.static EntityTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EntityType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSET
public static final EntityType UNSET
UNSET = 0;
-
EVENT
public static final EntityType EVENT
EVENT = 1;
-
USER
public static final EntityType USER
USER = 2;
-
DEVICE
public static final EntityType DEVICE
DEVICE = 3;
-
QUESTION
public static final EntityType QUESTION
QUESTION = 4;
-
UNRECOGNIZED
public static final EntityType UNRECOGNIZED
-
-
Field Detail
-
UNSET_VALUE
public static final int UNSET_VALUE
UNSET = 0;- See Also:
- Constant Field Values
-
EVENT_VALUE
public static final int EVENT_VALUE
EVENT = 1;- See Also:
- Constant Field Values
-
USER_VALUE
public static final int USER_VALUE
USER = 2;- See Also:
- Constant Field Values
-
DEVICE_VALUE
public static final int DEVICE_VALUE
DEVICE = 3;- See Also:
- Constant Field Values
-
QUESTION_VALUE
public static final int QUESTION_VALUE
QUESTION = 4;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static EntityType[] 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 (EntityType c : EntityType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntityType 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 EntityType 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 EntityType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<EntityType> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-