public static final class Openrtb.NativeRequest.Asset.Image.Builder extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<Openrtb.NativeRequest.Asset.Image,Openrtb.NativeRequest.Asset.Image.Builder> 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 | Method and Description |
|---|---|
Openrtb.NativeRequest.Asset.Image.Builder |
addAllMimes(Iterable<String> values)
repeated string mimes = 6; |
Openrtb.NativeRequest.Asset.Image.Builder |
addMimes(String value)
repeated string mimes = 6; |
Openrtb.NativeRequest.Asset.Image.Builder |
addMimesBytes(com.google.protobuf.ByteString value)
repeated string mimes = 6; |
Openrtb.NativeRequest.Asset.Image |
build() |
Openrtb.NativeRequest.Asset.Image |
buildPartial() |
Openrtb.NativeRequest.Asset.Image.Builder |
clear() |
Openrtb.NativeRequest.Asset.Image.Builder |
clearH()
optional int32 h = 3; |
Openrtb.NativeRequest.Asset.Image.Builder |
clearHmin()
optional int32 hmin = 5; |
Openrtb.NativeRequest.Asset.Image.Builder |
clearMimes()
repeated string mimes = 6; |
Openrtb.NativeRequest.Asset.Image.Builder |
clearType()
optional .openrtb.NativeRequest.Asset.Image.ImageAssetType type = 1; |
Openrtb.NativeRequest.Asset.Image.Builder |
clearW()
optional int32 w = 2; |
Openrtb.NativeRequest.Asset.Image.Builder |
clearWmin()
optional int32 wmin = 4; |
Openrtb.NativeRequest.Asset.Image |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
Openrtb.NativeRequest.Asset.Image.ImageAssetType |
getType()
optional .openrtb.NativeRequest.Asset.Image.ImageAssetType type = 1; |
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() |
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 |
setH(int value)
optional int32 h = 3; |
Openrtb.NativeRequest.Asset.Image.Builder |
setHmin(int value)
optional int32 hmin = 5; |
Openrtb.NativeRequest.Asset.Image.Builder |
setMimes(int index,
String value)
repeated string mimes = 6; |
Openrtb.NativeRequest.Asset.Image.Builder |
setType(Openrtb.NativeRequest.Asset.Image.ImageAssetType value)
optional .openrtb.NativeRequest.Asset.Image.ImageAssetType type = 1; |
Openrtb.NativeRequest.Asset.Image.Builder |
setW(int value)
optional int32 w = 2; |
Openrtb.NativeRequest.Asset.Image.Builder |
setWmin(int value)
optional int32 wmin = 4; |
addExtension, addExtension, addExtension, addRepeatedField, clearExtension, clearExtension, clearExtension, clearField, clone, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, mergeExtensionFields, parseUnknownField, setExtension, setExtension, setExtension, setExtension, setExtension, setExtension, setField, setRepeatedFieldclearOneof, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedFieldBuilder, getUnknownFields, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, setUnknownFieldsfindInitializationErrors, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.Builder<Openrtb.NativeRequest.Asset.Image.Builder>public 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.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 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.GeneratedMessage.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()
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 Openrtb.NativeRequest.Asset.Image.Builder setType(Openrtb.NativeRequest.Asset.Image.ImageAssetType value)
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.
public Openrtb.NativeRequest.Asset.Image.Builder clearType()
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.
public 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 Openrtb.NativeRequest.Asset.Image.Builder setW(int value)
optional int32 w = 2;
Width of the image in pixels.
public Openrtb.NativeRequest.Asset.Image.Builder clearW()
optional int32 w = 2;
Width of the image in pixels.
public 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 Openrtb.NativeRequest.Asset.Image.Builder setH(int value)
optional int32 h = 3;
Height of the image in pixels.
public Openrtb.NativeRequest.Asset.Image.Builder clearH()
optional int32 h = 3;
Height of the image in pixels.
public 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 Openrtb.NativeRequest.Asset.Image.Builder setWmin(int value)
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.
public Openrtb.NativeRequest.Asset.Image.Builder clearWmin()
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.
public 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 Openrtb.NativeRequest.Asset.Image.Builder setHmin(int value)
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.
public Openrtb.NativeRequest.Asset.Image.Builder clearHmin()
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.
public 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 Openrtb.NativeRequest.Asset.Image.Builder setMimes(int index, String value)
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.
public Openrtb.NativeRequest.Asset.Image.Builder addMimes(String value)
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.
public Openrtb.NativeRequest.Asset.Image.Builder addAllMimes(Iterable<String> values)
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.
public Openrtb.NativeRequest.Asset.Image.Builder clearMimes()
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.
public Openrtb.NativeRequest.Asset.Image.Builder addMimesBytes(com.google.protobuf.ByteString value)
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.
Copyright © 2017. All rights reserved.