Enum 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 enum streamlayer.interactive.QuestionType
    • 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 name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.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 name
        java.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()