Enum AdUnit

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

    public enum AdUnit
    extends java.lang.Enum<AdUnit>
    implements com.google.protobuf.Internal.EnumLite
    Protobuf enum streamlayer.interactive.AdUnit
    • Enum Constant Detail

      • AD_UNIT_UNSET

        public static final AdUnit AD_UNIT_UNSET
        AD_UNIT_UNSET = 0;
      • AD_UNIT_ENABLED

        public static final AdUnit AD_UNIT_ENABLED
        AD_UNIT_ENABLED = 1;
      • AD_UNIT_DISABLED

        public static final AdUnit AD_UNIT_DISABLED
        AD_UNIT_DISABLED = 2;
      • UNRECOGNIZED

        public static final AdUnit UNRECOGNIZED
    • Field Detail

      • AD_UNIT_UNSET_VALUE

        public static final int AD_UNIT_UNSET_VALUE
        AD_UNIT_UNSET = 0;
        See Also:
        Constant Field Values
      • AD_UNIT_ENABLED_VALUE

        public static final int AD_UNIT_ENABLED_VALUE
        AD_UNIT_ENABLED = 1;
        See Also:
        Constant Field Values
      • AD_UNIT_DISABLED_VALUE

        public static final int AD_UNIT_DISABLED_VALUE
        AD_UNIT_DISABLED = 2;
        See Also:
        Constant Field Values
    • Method Detail

      • values

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

        public static AdUnit 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 AdUnit 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 AdUnit forNumber​(int value)
      • internalGetValueMap

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

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