public static final class Openrtb.NativeRequest.Asset.Image extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<Openrtb.NativeRequest.Asset.Image> implements Openrtb.NativeRequest.Asset.ImageOrBuilder
OpenRTB Native 4.4: The Image object to be used for all image elements of the Native ad such as Icons, Main Image, etc.Protobuf type
openrtb.NativeRequest.Asset.Image| Modifier and Type | Class and Description |
|---|---|
static class |
Openrtb.NativeRequest.Asset.Image.Builder
OpenRTB Native 4.4: The Image object to be used for all image elements of the
Native ad such as Icons, Main Image, etc.
|
static class |
Openrtb.NativeRequest.Asset.Image.ImageAssetType
OpenRTB Native 7.4: Common image asset element types of native advertising at
the time of writing this spec.
|
com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWritercom.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
H_FIELD_NUMBER |
static int |
HMIN_FIELD_NUMBER |
static int |
MIMES_FIELD_NUMBER |
static com.google.protobuf.Parser<Openrtb.NativeRequest.Asset.Image> |
PARSER
Deprecated.
|
static int |
TYPE_FIELD_NUMBER |
static int |
W_FIELD_NUMBER |
static int |
WMIN_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Openrtb.NativeRequest.Asset.Image |
getDefaultInstance() |
Openrtb.NativeRequest.Asset.Image |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getH()
Height of the image in pixels.
|
int |
getHmin()
The minimum requested height of the image in pixels.
|
String |
getMimes(int index)
Whitelist of content MIME types supported.
|
com.google.protobuf.ByteString |
getMimesBytes(int index)
Whitelist of content MIME types supported.
|
int |
getMimesCount()
Whitelist of content MIME types supported.
|
com.google.protobuf.ProtocolStringList |
getMimesList()
Whitelist of content MIME types supported.
|
com.google.protobuf.Parser<Openrtb.NativeRequest.Asset.Image> |
getParserForType() |
int |
getSerializedSize() |
Openrtb.NativeRequest.Asset.Image.ImageAssetType |
getType()
Type ID of the image element supported by the publisher.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getW()
Width of the image in pixels.
|
int |
getWmin()
The minimum requested width of the image in pixels.
|
boolean |
hasH()
Height of the image in pixels.
|
int |
hashCode() |
boolean |
hasHmin()
The minimum requested height of the image in pixels.
|
boolean |
hasType()
Type ID of the image element supported by the publisher.
|
boolean |
hasW()
Width of the image in pixels.
|
boolean |
hasWmin()
The minimum requested width of the image in pixels.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Openrtb.NativeRequest.Asset.Image.Builder |
newBuilder() |
static Openrtb.NativeRequest.Asset.Image.Builder |
newBuilder(Openrtb.NativeRequest.Asset.Image prototype) |
Openrtb.NativeRequest.Asset.Image.Builder |
newBuilderForType() |
protected Openrtb.NativeRequest.Asset.Image.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Openrtb.NativeRequest.Asset.Image |
parseDelimitedFrom(InputStream input) |
static Openrtb.NativeRequest.Asset.Image |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeRequest.Asset.Image |
parseFrom(byte[] data) |
static Openrtb.NativeRequest.Asset.Image |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeRequest.Asset.Image |
parseFrom(com.google.protobuf.ByteString data) |
static Openrtb.NativeRequest.Asset.Image |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeRequest.Asset.Image |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Openrtb.NativeRequest.Asset.Image |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeRequest.Asset.Image |
parseFrom(InputStream input) |
static Openrtb.NativeRequest.Asset.Image |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Openrtb.NativeRequest.Asset.Image> |
parser() |
Openrtb.NativeRequest.Asset.Image.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownFieldcomputeStringSize, computeStringSizeNoTag, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionpublic static final int TYPE_FIELD_NUMBER
public static final int W_FIELD_NUMBER
public static final int H_FIELD_NUMBER
public static final int WMIN_FIELD_NUMBER
public static final int HMIN_FIELD_NUMBER
public static final int MIMES_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Openrtb.NativeRequest.Asset.Image> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasType()
Type ID of the image element supported by the publisher. The publisher can display this information in an appropriate format.
optional .openrtb.NativeRequest.Asset.Image.ImageAssetType type = 1;hasType in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic Openrtb.NativeRequest.Asset.Image.ImageAssetType getType()
Type ID of the image element supported by the publisher. The publisher can display this information in an appropriate format.
optional .openrtb.NativeRequest.Asset.Image.ImageAssetType type = 1;getType in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic boolean hasW()
Width of the image in pixels.
optional int32 w = 2;hasW in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic int getW()
Width of the image in pixels.
optional int32 w = 2;getW in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic boolean hasH()
Height of the image in pixels.
optional int32 h = 3;hasH in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic int getH()
Height of the image in pixels.
optional int32 h = 3;getH in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic boolean hasWmin()
The minimum requested width of the image in pixels. This option should be used for any rescaling of images by the client. Either w or wmin should be transmitted. If only w is included, it should be considered an exact requirement.
optional int32 wmin = 4;hasWmin in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic int getWmin()
The minimum requested width of the image in pixels. This option should be used for any rescaling of images by the client. Either w or wmin should be transmitted. If only w is included, it should be considered an exact requirement.
optional int32 wmin = 4;getWmin in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic boolean hasHmin()
The minimum requested height of the image in pixels. This option should be used for any rescaling of images by the client. Either h or hmin should be transmitted. If only h is included, it should be considered an exact requirement.
optional int32 hmin = 5;hasHmin in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic int getHmin()
The minimum requested height of the image in pixels. This option should be used for any rescaling of images by the client. Either h or hmin should be transmitted. If only h is included, it should be considered an exact requirement.
optional int32 hmin = 5;getHmin in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic com.google.protobuf.ProtocolStringList getMimesList()
Whitelist of content MIME types supported. Popular MIME types include, but are not limited to "image/jpg" and "image/gif". Each implementing Exchange should have their own list of supported types in the integration docs. See Wikipedia's MIME page for more information and links to all IETF RFCs. If blank, assume all types are allowed.
repeated string mimes = 6;getMimesList in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic int getMimesCount()
Whitelist of content MIME types supported. Popular MIME types include, but are not limited to "image/jpg" and "image/gif". Each implementing Exchange should have their own list of supported types in the integration docs. See Wikipedia's MIME page for more information and links to all IETF RFCs. If blank, assume all types are allowed.
repeated string mimes = 6;getMimesCount in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic String getMimes(int index)
Whitelist of content MIME types supported. Popular MIME types include, but are not limited to "image/jpg" and "image/gif". Each implementing Exchange should have their own list of supported types in the integration docs. See Wikipedia's MIME page for more information and links to all IETF RFCs. If blank, assume all types are allowed.
repeated string mimes = 6;getMimes in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic com.google.protobuf.ByteString getMimesBytes(int index)
Whitelist of content MIME types supported. Popular MIME types include, but are not limited to "image/jpg" and "image/gif". Each implementing Exchange should have their own list of supported types in the integration docs. See Wikipedia's MIME page for more information and links to all IETF RFCs. If blank, assume all types are allowed.
repeated string mimes = 6;getMimesBytes in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.ExtendableMessage<Openrtb.NativeRequest.Asset.Image>public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Openrtb.NativeRequest.Asset.Image parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeRequest.Asset.Image parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeRequest.Asset.Image parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeRequest.Asset.Image parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeRequest.Asset.Image parseFrom(InputStream input) throws IOException
IOExceptionpublic static Openrtb.NativeRequest.Asset.Image parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Openrtb.NativeRequest.Asset.Image parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Openrtb.NativeRequest.Asset.Image parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Openrtb.NativeRequest.Asset.Image parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Openrtb.NativeRequest.Asset.Image parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Openrtb.NativeRequest.Asset.Image.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Openrtb.NativeRequest.Asset.Image.Builder newBuilder()
public static Openrtb.NativeRequest.Asset.Image.Builder newBuilder(Openrtb.NativeRequest.Asset.Image prototype)
public Openrtb.NativeRequest.Asset.Image.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Openrtb.NativeRequest.Asset.Image.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Openrtb.NativeRequest.Asset.Image getDefaultInstance()
public static com.google.protobuf.Parser<Openrtb.NativeRequest.Asset.Image> parser()
public com.google.protobuf.Parser<Openrtb.NativeRequest.Asset.Image> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Openrtb.NativeRequest.Asset.Image getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<Openrtb.NativeRequest.Asset.Image>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.