public static enum Openrtb.NativeRequest.Asset.Image.ImageAssetType extends Enum<Openrtb.NativeRequest.Asset.Image.ImageAssetType> implements com.google.protobuf.ProtocolMessageEnum
OpenRTB Native 7.4: Common image asset element types of native advertising at the time of writing this spec. This list is non-exhaustive and intended to be extended by the buyers and sellers as the format evolves.Protobuf enum
openrtb.NativeRequest.Asset.Image.ImageAssetType| Enum Constant and Description |
|---|
ICON
Icon image.
|
LOGO
Logo image for the brand/app.
|
MAIN
Large image preview for the ad.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ICON_VALUE
Icon image.
|
static int |
LOGO_VALUE
Logo image for the brand/app.
|
static int |
MAIN_VALUE
Large image preview for the ad.
|
| Modifier and Type | Method and Description |
|---|---|
static Openrtb.NativeRequest.Asset.Image.ImageAssetType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Openrtb.NativeRequest.Asset.Image.ImageAssetType> |
internalGetValueMap() |
static Openrtb.NativeRequest.Asset.Image.ImageAssetType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Openrtb.NativeRequest.Asset.Image.ImageAssetType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Openrtb.NativeRequest.Asset.Image.ImageAssetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Openrtb.NativeRequest.Asset.Image.ImageAssetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Openrtb.NativeRequest.Asset.Image.ImageAssetType ICON
Icon image.
ICON = 1;public static final Openrtb.NativeRequest.Asset.Image.ImageAssetType LOGO
Logo image for the brand/app.
LOGO = 2;public static final Openrtb.NativeRequest.Asset.Image.ImageAssetType MAIN
Large image preview for the ad.
MAIN = 3;public static final int ICON_VALUE
Icon image.
ICON = 1;public static final int LOGO_VALUE
Logo image for the brand/app.
LOGO = 2;public static final int MAIN_VALUE
Large image preview for the ad.
MAIN = 3;public static Openrtb.NativeRequest.Asset.Image.ImageAssetType[] values()
for (Openrtb.NativeRequest.Asset.Image.ImageAssetType c : Openrtb.NativeRequest.Asset.Image.ImageAssetType.values()) System.out.println(c);
public static Openrtb.NativeRequest.Asset.Image.ImageAssetType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Openrtb.NativeRequest.Asset.Image.ImageAssetType valueOf(int value)
forNumber(int) instead.public static Openrtb.NativeRequest.Asset.Image.ImageAssetType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Openrtb.NativeRequest.Asset.Image.ImageAssetType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Openrtb.NativeRequest.Asset.Image.ImageAssetType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2017. All rights reserved.