Enum PollOpenedFrom

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, java.io.Serializable, java.lang.Comparable<PollOpenedFrom>

    public enum PollOpenedFrom
    extends java.lang.Enum<PollOpenedFrom>
    implements com.google.protobuf.Internal.EnumLite
    Protobuf enum streamlayer.analytics.v1.common.PollOpenedFrom
    • Enum Constant Detail

      • POLL_OPENED_FROM_UNSET

        public static final PollOpenedFrom POLL_OPENED_FROM_UNSET
        POLL_OPENED_FROM_UNSET = 0;
      • POLL_OPENED_FROM_IN_APP

        public static final PollOpenedFrom POLL_OPENED_FROM_IN_APP
        POLL_OPENED_FROM_IN_APP = 1;
      • POLL_OPENED_FROM_HISTORY

        @Deprecated
        public static final PollOpenedFrom POLL_OPENED_FROM_HISTORY
        Deprecated.
        POLL_OPENED_FROM_HISTORY = 2 [deprecated = true];
      • POLL_OPENED_FROM_PICK_HISTORY

        public static final PollOpenedFrom POLL_OPENED_FROM_PICK_HISTORY
        POLL_OPENED_FROM_PICK_HISTORY = 3;
      • POLL_OPENED_FROM_INSIGHT_HISTORY

        public static final PollOpenedFrom POLL_OPENED_FROM_INSIGHT_HISTORY
        POLL_OPENED_FROM_INSIGHT_HISTORY = 4;
      • POLL_OPENED_FROM_TWEETS_HISTORY

        public static final PollOpenedFrom POLL_OPENED_FROM_TWEETS_HISTORY
        POLL_OPENED_FROM_TWEETS_HISTORY = 5;
      • POLL_OPENED_FROM_PROMOTION_HISTORY

        public static final PollOpenedFrom POLL_OPENED_FROM_PROMOTION_HISTORY
        POLL_OPENED_FROM_PROMOTION_HISTORY = 6;
    • Field Detail

      • POLL_OPENED_FROM_UNSET_VALUE

        public static final int POLL_OPENED_FROM_UNSET_VALUE
        POLL_OPENED_FROM_UNSET = 0;
        See Also:
        Constant Field Values
      • POLL_OPENED_FROM_IN_APP_VALUE

        public static final int POLL_OPENED_FROM_IN_APP_VALUE
        POLL_OPENED_FROM_IN_APP = 1;
        See Also:
        Constant Field Values
      • POLL_OPENED_FROM_HISTORY_VALUE

        @Deprecated
        public static final int POLL_OPENED_FROM_HISTORY_VALUE
        Deprecated.
        POLL_OPENED_FROM_HISTORY = 2 [deprecated = true];
        See Also:
        Constant Field Values
      • POLL_OPENED_FROM_PICK_HISTORY_VALUE

        public static final int POLL_OPENED_FROM_PICK_HISTORY_VALUE
        POLL_OPENED_FROM_PICK_HISTORY = 3;
        See Also:
        Constant Field Values
      • POLL_OPENED_FROM_INSIGHT_HISTORY_VALUE

        public static final int POLL_OPENED_FROM_INSIGHT_HISTORY_VALUE
        POLL_OPENED_FROM_INSIGHT_HISTORY = 4;
        See Also:
        Constant Field Values
      • POLL_OPENED_FROM_TWEETS_HISTORY_VALUE

        public static final int POLL_OPENED_FROM_TWEETS_HISTORY_VALUE
        POLL_OPENED_FROM_TWEETS_HISTORY = 5;
        See Also:
        Constant Field Values
      • POLL_OPENED_FROM_PROMOTION_HISTORY_VALUE

        public static final int POLL_OPENED_FROM_PROMOTION_HISTORY_VALUE
        POLL_OPENED_FROM_PROMOTION_HISTORY = 6;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static PollOpenedFrom[] 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 (PollOpenedFrom c : PollOpenedFrom.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PollOpenedFrom 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 PollOpenedFrom 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<PollOpenedFrom> internalGetValueMap()
      • internalGetVerifier

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