public static final class Openrtb.NativeRequest.Asset.Image extends com.google.protobuf.GeneratedMessage.ExtendableMessage<Openrtb.NativeRequest.Asset.Image> implements Openrtb.NativeRequest.Asset.ImageOrBuilder
openrtb.NativeRequest.Asset.Image
OpenRTB Native 4.4: The Image object to be used for all image elements of the Native ad such as Icons, Main Image, etc.
| Modifier and Type | Class and Description |
|---|---|
static class |
Openrtb.NativeRequest.Asset.Image.Builder
Protobuf type
openrtb.NativeRequest.Asset.Image |
static class |
Openrtb.NativeRequest.Asset.Image.ImageAssetType
Protobuf enum
openrtb.NativeRequest.Asset.Image.ImageAssetType |
com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWritercom.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| 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 |
|---|---|
static Openrtb.NativeRequest.Asset.Image |
getDefaultInstance() |
Openrtb.NativeRequest.Asset.Image |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getH()
optional int32 h = 3; |
int |
getHmin()
optional int32 hmin = 5; |
String |
getMimes(int index)
repeated string mimes = 6; |
com.google.protobuf.ByteString |
getMimesBytes(int index)
repeated string mimes = 6; |
int |
getMimesCount()
repeated string mimes = 6; |
com.google.protobuf.ProtocolStringList |
getMimesList()
repeated string mimes = 6; |
com.google.protobuf.Parser<Openrtb.NativeRequest.Asset.Image> |
getParserForType() |
int |
getSerializedSize() |
Openrtb.NativeRequest.Asset.Image.ImageAssetType |
getType()
optional .openrtb.NativeRequest.Asset.Image.ImageAssetType type = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getW()
optional int32 w = 2; |
int |
getWmin()
optional int32 wmin = 4; |
boolean |
hasH()
optional int32 h = 3; |
boolean |
hasHmin()
optional int32 hmin = 5; |
boolean |
hasType()
optional .openrtb.NativeRequest.Asset.Image.ImageAssetType type = 1; |
boolean |
hasW()
optional int32 w = 2; |
boolean |
hasWmin()
optional int32 wmin = 4; |
protected com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeReplace, writeString, writeStringNoTagequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, 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.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic boolean hasType()
optional .openrtb.NativeRequest.Asset.Image.ImageAssetType type = 1;
Type ID of the image element supported by the publisher. The publisher can display this information in an appropriate format.
hasType in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic Openrtb.NativeRequest.Asset.Image.ImageAssetType getType()
optional .openrtb.NativeRequest.Asset.Image.ImageAssetType type = 1;
Type ID of the image element supported by the publisher. The publisher can display this information in an appropriate format.
getType in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic boolean hasW()
optional int32 w = 2;
Width of the image in pixels.
hasW in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic int getW()
optional int32 w = 2;
Width of the image in pixels.
getW in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic boolean hasH()
optional int32 h = 3;
Height of the image in pixels.
hasH in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic int getH()
optional int32 h = 3;
Height of the image in pixels.
getH in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic boolean hasWmin()
optional int32 wmin = 4;
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.
hasWmin in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic int getWmin()
optional int32 wmin = 4;
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.
getWmin in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic boolean hasHmin()
optional int32 hmin = 5;
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.
hasHmin in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic int getHmin()
optional int32 hmin = 5;
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.
getHmin in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic com.google.protobuf.ProtocolStringList getMimesList()
repeated string mimes = 6;
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.
getMimesList in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic int getMimesCount()
repeated string mimes = 6;
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.
getMimesCount in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic String getMimes(int index)
repeated string mimes = 6;
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.
getMimes in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic com.google.protobuf.ByteString getMimesBytes(int index)
repeated string mimes = 6;
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.
getMimesBytes in interface Openrtb.NativeRequest.Asset.ImageOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.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.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic 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.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessagepublic 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.GeneratedMessagepublic Openrtb.NativeRequest.Asset.Image getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<Openrtb.NativeRequest.Asset.Image>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.