Package com.streamlayer.interactive.feed
Enum FeedUpdateType
- java.lang.Object
-
- java.lang.Enum<FeedUpdateType>
-
- com.streamlayer.interactive.feed.FeedUpdateType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<FeedUpdateType>
public enum FeedUpdateType extends java.lang.Enum<FeedUpdateType> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.interactive.feed.FeedUpdateType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description UNRECOGNIZEDUPDATE_TYPE_QUESTION_ACTIVATEUPDATE_TYPE_QUESTION_ACTIVATE = 1;UPDATE_TYPE_QUESTION_RESOLVEactive --> resolvedUPDATE_TYPE_QUESTION_SET_CORRECT_ANSWERUPDATE_TYPE_QUESTION_SET_CORRECT_ANSWER = 2;UPDATE_TYPE_UNSETUPDATE_TYPE_UNSET = 0;
-
Field Summary
Fields Modifier and Type Field Description static intUPDATE_TYPE_QUESTION_ACTIVATE_VALUEUPDATE_TYPE_QUESTION_ACTIVATE = 1;static intUPDATE_TYPE_QUESTION_RESOLVE_VALUEactive --> resolvedstatic intUPDATE_TYPE_QUESTION_SET_CORRECT_ANSWER_VALUEUPDATE_TYPE_QUESTION_SET_CORRECT_ANSWER = 2;static intUPDATE_TYPE_UNSET_VALUEUPDATE_TYPE_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FeedUpdateTypeforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<FeedUpdateType>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static FeedUpdateTypevalueOf(int value)Deprecated.static FeedUpdateTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FeedUpdateType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPDATE_TYPE_UNSET
public static final FeedUpdateType UPDATE_TYPE_UNSET
UPDATE_TYPE_UNSET = 0;
-
UPDATE_TYPE_QUESTION_ACTIVATE
public static final FeedUpdateType UPDATE_TYPE_QUESTION_ACTIVATE
UPDATE_TYPE_QUESTION_ACTIVATE = 1;
-
UPDATE_TYPE_QUESTION_SET_CORRECT_ANSWER
public static final FeedUpdateType UPDATE_TYPE_QUESTION_SET_CORRECT_ANSWER
UPDATE_TYPE_QUESTION_SET_CORRECT_ANSWER = 2;
-
UPDATE_TYPE_QUESTION_RESOLVE
public static final FeedUpdateType UPDATE_TYPE_QUESTION_RESOLVE
active --> resolved
UPDATE_TYPE_QUESTION_RESOLVE = 3;
-
UNRECOGNIZED
public static final FeedUpdateType UNRECOGNIZED
-
-
Field Detail
-
UPDATE_TYPE_UNSET_VALUE
public static final int UPDATE_TYPE_UNSET_VALUE
UPDATE_TYPE_UNSET = 0;- See Also:
- Constant Field Values
-
UPDATE_TYPE_QUESTION_ACTIVATE_VALUE
public static final int UPDATE_TYPE_QUESTION_ACTIVATE_VALUE
UPDATE_TYPE_QUESTION_ACTIVATE = 1;- See Also:
- Constant Field Values
-
UPDATE_TYPE_QUESTION_SET_CORRECT_ANSWER_VALUE
public static final int UPDATE_TYPE_QUESTION_SET_CORRECT_ANSWER_VALUE
UPDATE_TYPE_QUESTION_SET_CORRECT_ANSWER = 2;- See Also:
- Constant Field Values
-
UPDATE_TYPE_QUESTION_RESOLVE_VALUE
public static final int UPDATE_TYPE_QUESTION_RESOLVE_VALUE
active --> resolved
UPDATE_TYPE_QUESTION_RESOLVE = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static FeedUpdateType[] 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 (FeedUpdateType c : FeedUpdateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FeedUpdateType 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 FeedUpdateType 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 FeedUpdateType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<FeedUpdateType> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-