Enum QuestionType
- java.lang.Object
-
- java.lang.Enum<QuestionType>
-
- com.streamlayer.interactive.common.QuestionType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<QuestionType>
public enum QuestionType extends java.lang.Enum<QuestionType> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.interactive.QuestionType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description QUESTION_TYPE_FACTOIDQUESTION_TYPE_FACTOID = 4;QUESTION_TYPE_POLLQUESTION_TYPE_POLL = 1;QUESTION_TYPE_PREDICTIONQUESTION_TYPE_PREDICTION = 3;QUESTION_TYPE_PROMOTIONQUESTION_TYPE_PROMOTION = 6;QUESTION_TYPE_TRIVIAQUESTION_TYPE_TRIVIA = 2;QUESTION_TYPE_TWEETQUESTION_TYPE_TWEET = 5;QUESTION_TYPE_UNSETQUESTION_TYPE_UNSET = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intQUESTION_TYPE_FACTOID_VALUEQUESTION_TYPE_FACTOID = 4;static intQUESTION_TYPE_POLL_VALUEQUESTION_TYPE_POLL = 1;static intQUESTION_TYPE_PREDICTION_VALUEQUESTION_TYPE_PREDICTION = 3;static intQUESTION_TYPE_PROMOTION_VALUEQUESTION_TYPE_PROMOTION = 6;static intQUESTION_TYPE_TRIVIA_VALUEQUESTION_TYPE_TRIVIA = 2;static intQUESTION_TYPE_TWEET_VALUEQUESTION_TYPE_TWEET = 5;static intQUESTION_TYPE_UNSET_VALUEQUESTION_TYPE_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static QuestionTypeforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<QuestionType>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static QuestionTypevalueOf(int value)Deprecated.static QuestionTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static QuestionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUESTION_TYPE_UNSET
public static final QuestionType QUESTION_TYPE_UNSET
QUESTION_TYPE_UNSET = 0;
-
QUESTION_TYPE_POLL
public static final QuestionType QUESTION_TYPE_POLL
QUESTION_TYPE_POLL = 1;
-
QUESTION_TYPE_TRIVIA
public static final QuestionType QUESTION_TYPE_TRIVIA
QUESTION_TYPE_TRIVIA = 2;
-
QUESTION_TYPE_PREDICTION
public static final QuestionType QUESTION_TYPE_PREDICTION
QUESTION_TYPE_PREDICTION = 3;
-
QUESTION_TYPE_FACTOID
public static final QuestionType QUESTION_TYPE_FACTOID
QUESTION_TYPE_FACTOID = 4;
-
QUESTION_TYPE_TWEET
public static final QuestionType QUESTION_TYPE_TWEET
QUESTION_TYPE_TWEET = 5;
-
QUESTION_TYPE_PROMOTION
public static final QuestionType QUESTION_TYPE_PROMOTION
QUESTION_TYPE_PROMOTION = 6;
-
UNRECOGNIZED
public static final QuestionType UNRECOGNIZED
-
-
Field Detail
-
QUESTION_TYPE_UNSET_VALUE
public static final int QUESTION_TYPE_UNSET_VALUE
QUESTION_TYPE_UNSET = 0;- See Also:
- Constant Field Values
-
QUESTION_TYPE_POLL_VALUE
public static final int QUESTION_TYPE_POLL_VALUE
QUESTION_TYPE_POLL = 1;- See Also:
- Constant Field Values
-
QUESTION_TYPE_TRIVIA_VALUE
public static final int QUESTION_TYPE_TRIVIA_VALUE
QUESTION_TYPE_TRIVIA = 2;- See Also:
- Constant Field Values
-
QUESTION_TYPE_PREDICTION_VALUE
public static final int QUESTION_TYPE_PREDICTION_VALUE
QUESTION_TYPE_PREDICTION = 3;- See Also:
- Constant Field Values
-
QUESTION_TYPE_FACTOID_VALUE
public static final int QUESTION_TYPE_FACTOID_VALUE
QUESTION_TYPE_FACTOID = 4;- See Also:
- Constant Field Values
-
QUESTION_TYPE_TWEET_VALUE
public static final int QUESTION_TYPE_TWEET_VALUE
QUESTION_TYPE_TWEET = 5;- See Also:
- Constant Field Values
-
QUESTION_TYPE_PROMOTION_VALUE
public static final int QUESTION_TYPE_PROMOTION_VALUE
QUESTION_TYPE_PROMOTION = 6;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static QuestionType[] 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 (QuestionType c : QuestionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QuestionType 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 QuestionType 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 QuestionType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<QuestionType> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-