public static final class Openrtb.NativeRequest.Asset.Image.Builder extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<Openrtb.NativeRequest.Asset.Image,Openrtb.NativeRequest.Asset.Image.Builder> 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 | Method and Description |
|---|---|
Openrtb.NativeRequest.Asset.Image.Builder |
addAllMimes(Iterable<String> values)
Whitelist of content MIME types supported.
|
<Type> Openrtb.NativeRequest.Asset.Image.Builder |
addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<Openrtb.NativeRequest.Asset.Image,List<Type>> extension,
Type value) |
Openrtb.NativeRequest.Asset.Image.Builder |
addMimes(String value)
Whitelist of content MIME types supported.
|
Openrtb.NativeRequest.Asset.Image.Builder |
addMimesBytes(com.google.protobuf.ByteString value)
Whitelist of content MIME types supported.
|
Openrtb.NativeRequest.Asset.Image.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Openrtb.NativeRequest.Asset.Image |
build() |
Openrtb.NativeRequest.Asset.Image |
buildPartial() |
Openrtb.NativeRequest.Asset.Image.Builder |
clear() |
<Type> Openrtb.NativeRequest.Asset.Image.Builder |
clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<Openrtb.NativeRequest.Asset.Image,?> extension) |
Openrtb.NativeRequest.Asset.Image.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Openrtb.NativeRequest.Asset.Image.Builder |
clearH()
Height of the image in pixels.
|
Openrtb.NativeRequest.Asset.Image.Builder |
clearHmin()
The minimum requested height of the image in pixels.
|
Openrtb.NativeRequest.Asset.Image.Builder |
clearMimes()
Whitelist of content MIME types supported.
|
Openrtb.NativeRequest.Asset.Image.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Openrtb.NativeRequest.Asset.Image.Builder |
clearType()
Type ID of the image element supported by the publisher.
|
Openrtb.NativeRequest.Asset.Image.Builder |
clearW()
Width of the image in pixels.
|
Openrtb.NativeRequest.Asset.Image.Builder |
clearWmin()
The minimum requested width of the image in pixels.
|
Openrtb.NativeRequest.Asset.Image.Builder |
clone() |
Openrtb.NativeRequest.Asset.Image |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
Openrtb.NativeRequest.Asset.Image.ImageAssetType |
getType()
Type ID of the image element supported by the publisher.
|
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.
|
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() |
Openrtb.NativeRequest.Asset.Image.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Openrtb.NativeRequest.Asset.Image.Builder |
mergeFrom(com.google.protobuf.Message other) |
Openrtb.NativeRequest.Asset.Image.Builder |
mergeFrom(Openrtb.NativeRequest.Asset.Image other) |
Openrtb.NativeRequest.Asset.Image.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
<Type> Openrtb.NativeRequest.Asset.Image.Builder |
setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<Openrtb.NativeRequest.Asset.Image,List<Type>> extension,
int index,
Type value) |
<Type> Openrtb.NativeRequest.Asset.Image.Builder |
setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<Openrtb.NativeRequest.Asset.Image,Type> extension,
Type value) |
Openrtb.NativeRequest.Asset.Image.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Openrtb.NativeRequest.Asset.Image.Builder |
setH(int value)
Height of the image in pixels.
|
Openrtb.NativeRequest.Asset.Image.Builder |
setHmin(int value)
The minimum requested height of the image in pixels.
|
Openrtb.NativeRequest.Asset.Image.Builder |
setMimes(int index,
String value)
Whitelist of content MIME types supported.
|
Openrtb.NativeRequest.Asset.Image.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Openrtb.NativeRequest.Asset.Image.Builder |
setType(Openrtb.NativeRequest.Asset.Image.ImageAssetType value)
Type ID of the image element supported by the publisher.
|
Openrtb.NativeRequest.Asset.Image.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Openrtb.NativeRequest.Asset.Image.Builder |
setW(int value)
Width of the image in pixels.
|
Openrtb.NativeRequest.Asset.Image.Builder |
setWmin(int value)
The minimum requested width of the image in pixels.
|
addExtension, addExtension, clearExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, mergeExtensionFields, parseUnknownField, setExtension, setExtension, setExtension, setExtensiongetFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedFieldBuilder, getUnknownFields, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChangedfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Openrtb.NativeRequest.Asset.Image.Builder>public Openrtb.NativeRequest.Asset.Image.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<Openrtb.NativeRequest.Asset.Image,Openrtb.NativeRequest.Asset.Image.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Openrtb.NativeRequest.Asset.Image.Builder>public 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.MessageOrBuilderpublic Openrtb.NativeRequest.Asset.Image build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Openrtb.NativeRequest.Asset.Image buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Openrtb.NativeRequest.Asset.Image.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<Openrtb.NativeRequest.Asset.Image,Openrtb.NativeRequest.Asset.Image.Builder>public Openrtb.NativeRequest.Asset.Image.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<Openrtb.NativeRequest.Asset.Image,Openrtb.NativeRequest.Asset.Image.Builder>public Openrtb.NativeRequest.Asset.Image.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<Openrtb.NativeRequest.Asset.Image,Openrtb.NativeRequest.Asset.Image.Builder>public Openrtb.NativeRequest.Asset.Image.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Openrtb.NativeRequest.Asset.Image.Builder>public Openrtb.NativeRequest.Asset.Image.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<Openrtb.NativeRequest.Asset.Image,Openrtb.NativeRequest.Asset.Image.Builder>public Openrtb.NativeRequest.Asset.Image.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<Openrtb.NativeRequest.Asset.Image,Openrtb.NativeRequest.Asset.Image.Builder>public <Type> Openrtb.NativeRequest.Asset.Image.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<Openrtb.NativeRequest.Asset.Image,Type> extension, Type value)
setExtension in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<Openrtb.NativeRequest.Asset.Image,Openrtb.NativeRequest.Asset.Image.Builder>public <Type> Openrtb.NativeRequest.Asset.Image.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<Openrtb.NativeRequest.Asset.Image,List<Type>> extension, int index, Type value)
setExtension in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<Openrtb.NativeRequest.Asset.Image,Openrtb.NativeRequest.Asset.Image.Builder>public <Type> Openrtb.NativeRequest.Asset.Image.Builder addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<Openrtb.NativeRequest.Asset.Image,List<Type>> extension, Type value)
addExtension in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<Openrtb.NativeRequest.Asset.Image,Openrtb.NativeRequest.Asset.Image.Builder>public <Type> Openrtb.NativeRequest.Asset.Image.Builder clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<Openrtb.NativeRequest.Asset.Image,?> extension)
clearExtension in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<Openrtb.NativeRequest.Asset.Image,Openrtb.NativeRequest.Asset.Image.Builder>public Openrtb.NativeRequest.Asset.Image.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Openrtb.NativeRequest.Asset.Image.Builder>public Openrtb.NativeRequest.Asset.Image.Builder mergeFrom(Openrtb.NativeRequest.Asset.Image other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<Openrtb.NativeRequest.Asset.Image,Openrtb.NativeRequest.Asset.Image.Builder>public Openrtb.NativeRequest.Asset.Image.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Openrtb.NativeRequest.Asset.Image.Builder>IOExceptionpublic 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 Openrtb.NativeRequest.Asset.Image.Builder setType(Openrtb.NativeRequest.Asset.Image.ImageAssetType value)
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;public Openrtb.NativeRequest.Asset.Image.Builder clearType()
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;public 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 Openrtb.NativeRequest.Asset.Image.Builder setW(int value)
Width of the image in pixels.
optional int32 w = 2;public Openrtb.NativeRequest.Asset.Image.Builder clearW()
Width of the image in pixels.
optional int32 w = 2;public 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 Openrtb.NativeRequest.Asset.Image.Builder setH(int value)
Height of the image in pixels.
optional int32 h = 3;public Openrtb.NativeRequest.Asset.Image.Builder clearH()
Height of the image in pixels.
optional int32 h = 3;public 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 Openrtb.NativeRequest.Asset.Image.Builder setWmin(int value)
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;public Openrtb.NativeRequest.Asset.Image.Builder clearWmin()
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;public 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 Openrtb.NativeRequest.Asset.Image.Builder setHmin(int value)
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;public Openrtb.NativeRequest.Asset.Image.Builder clearHmin()
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;public 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 Openrtb.NativeRequest.Asset.Image.Builder setMimes(int index, String value)
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;public Openrtb.NativeRequest.Asset.Image.Builder addMimes(String value)
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;public Openrtb.NativeRequest.Asset.Image.Builder addAllMimes(Iterable<String> values)
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;public Openrtb.NativeRequest.Asset.Image.Builder clearMimes()
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;public Openrtb.NativeRequest.Asset.Image.Builder addMimesBytes(com.google.protobuf.ByteString value)
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;public final Openrtb.NativeRequest.Asset.Image.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Openrtb.NativeRequest.Asset.Image.Builder>public final Openrtb.NativeRequest.Asset.Image.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Openrtb.NativeRequest.Asset.Image.Builder>Copyright © 2017. All rights reserved.