Enum 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 enum streamlayer.interactive.feed.FeedUpdateType
    • 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;
    • 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 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 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 name
        java.lang.NullPointerException - if the argument is null
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<FeedUpdateType> internalGetValueMap()
      • internalGetVerifier

        public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()