Enum OpenRtb.CreativeAttribute

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<OpenRtb.CreativeAttribute>
    Enclosing class:
    OpenRtb

    public static enum OpenRtb.CreativeAttribute
    extends Enum<OpenRtb.CreativeAttribute>
    implements com.google.protobuf.ProtocolMessageEnum
     OpenRTB 2.0: The following table specifies a standard list of creative
     attributes that can describe an ad being served or serve as restrictions
     of thereof.
     
    Protobuf enum com.google.openrtb.CreativeAttribute
    • Field Detail

      • AUDIO_AUTO_PLAY_VALUE

        public static final int AUDIO_AUTO_PLAY_VALUE
        AUDIO_AUTO_PLAY = 1;
        See Also:
        Constant Field Values
      • AUDIO_USER_INITIATED_VALUE

        public static final int AUDIO_USER_INITIATED_VALUE
        AUDIO_USER_INITIATED = 2;
        See Also:
        Constant Field Values
      • EXPANDABLE_AUTOMATIC_VALUE

        public static final int EXPANDABLE_AUTOMATIC_VALUE
        EXPANDABLE_AUTOMATIC = 3;
        See Also:
        Constant Field Values
      • EXPANDABLE_CLICK_INITIATED_VALUE

        public static final int EXPANDABLE_CLICK_INITIATED_VALUE
        EXPANDABLE_CLICK_INITIATED = 4;
        See Also:
        Constant Field Values
      • EXPANDABLE_ROLLOVER_INITIATED_VALUE

        public static final int EXPANDABLE_ROLLOVER_INITIATED_VALUE
        EXPANDABLE_ROLLOVER_INITIATED = 5;
        See Also:
        Constant Field Values
      • VIDEO_IN_BANNER_AUTO_PLAY_VALUE

        public static final int VIDEO_IN_BANNER_AUTO_PLAY_VALUE
        VIDEO_IN_BANNER_AUTO_PLAY = 6;
        See Also:
        Constant Field Values
      • VIDEO_IN_BANNER_USER_INITIATED_VALUE

        public static final int VIDEO_IN_BANNER_USER_INITIATED_VALUE
        VIDEO_IN_BANNER_USER_INITIATED = 7;
        See Also:
        Constant Field Values
      • POP_VALUE

        public static final int POP_VALUE
         Pop (e.g., Over, Under, or upon Exit).
         
        POP = 8;
        See Also:
        Constant Field Values
      • PROVOCATIVE_OR_SUGGESTIVE_VALUE

        public static final int PROVOCATIVE_OR_SUGGESTIVE_VALUE
        PROVOCATIVE_OR_SUGGESTIVE = 9;
        See Also:
        Constant Field Values
      • ANNOYING_VALUE

        public static final int ANNOYING_VALUE
         Defined as "Shaky, Flashing, Flickering, Extreme Animation, Smileys".
         
        ANNOYING = 10;
        See Also:
        Constant Field Values
      • TEXT_ONLY_VALUE

        public static final int TEXT_ONLY_VALUE
        TEXT_ONLY = 12;
        See Also:
        Constant Field Values
      • USER_INTERACTIVE_VALUE

        public static final int USER_INTERACTIVE_VALUE
         Eg, embedded games.
         
        USER_INTERACTIVE = 13;
        See Also:
        Constant Field Values
      • WINDOWS_DIALOG_OR_ALERT_STYLE_VALUE

        public static final int WINDOWS_DIALOG_OR_ALERT_STYLE_VALUE
        WINDOWS_DIALOG_OR_ALERT_STYLE = 14;
        See Also:
        Constant Field Values
      • HAS_AUDIO_ON_OFF_BUTTON_VALUE

        public static final int HAS_AUDIO_ON_OFF_BUTTON_VALUE
        HAS_AUDIO_ON_OFF_BUTTON = 15;
        See Also:
        Constant Field Values
      • AD_CAN_BE_SKIPPED_VALUE

        public static final int AD_CAN_BE_SKIPPED_VALUE
        AD_CAN_BE_SKIPPED = 16;
        See Also:
        Constant Field Values
    • Method Detail

      • values

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

        public static OpenRtb.CreativeAttribute valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static OpenRtb.CreativeAttribute 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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • forNumber

        public static OpenRtb.CreativeAttribute forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<OpenRtb.CreativeAttribute> internalGetValueMap()
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static OpenRtb.CreativeAttribute valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        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:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null