Package com.google.openrtb
Interface OpenRtb.NativeRequest.Asset.ImageOrBuilder
-
- All Superinterfaces:
com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeRequest.Asset.Image>,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OpenRtb.NativeRequest.Asset.Image,OpenRtb.NativeRequest.Asset.Image.Builder
- Enclosing class:
- OpenRtb.NativeRequest.Asset
public static interface OpenRtb.NativeRequest.Asset.ImageOrBuilder extends com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeRequest.Asset.Image>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetH()Height of the image in pixels.intgetHmin()The minimum requested height of the image in pixels.StringgetMimes(int index)Allowlist of content MIME types supported.com.google.protobuf.ByteStringgetMimesBytes(int index)Allowlist of content MIME types supported.intgetMimesCount()Allowlist of content MIME types supported.List<String>getMimesList()Allowlist of content MIME types supported.OpenRtb.ImageAssetTypegetType()Type ID of the image element supported by the publisher.intgetW()Width of the image in pixels.intgetWmin()The minimum requested width of the image in pixels.booleanhasH()Height of the image in pixels.booleanhasHmin()The minimum requested height of the image in pixels.booleanhasType()Type ID of the image element supported by the publisher.booleanhasW()Width of the image in pixels.booleanhasWmin()The minimum requested width of the image in pixels.-
Methods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
getDefaultInstanceForType, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
-
-
-
-
Method Detail
-
hasType
boolean hasType()
Type ID of the image element supported by the publisher. The publisher can display this information in an appropriate format.
optional .com.google.openrtb.ImageAssetType type = 1;- Returns:
- Whether the type field is set.
-
getType
OpenRtb.ImageAssetType getType()
Type ID of the image element supported by the publisher. The publisher can display this information in an appropriate format.
optional .com.google.openrtb.ImageAssetType type = 1;- Returns:
- The type.
-
hasW
boolean hasW()
Width of the image in pixels.
optional int32 w = 2;- Returns:
- Whether the w field is set.
-
getW
int getW()
Width of the image in pixels.
optional int32 w = 2;- Returns:
- The w.
-
hasH
boolean hasH()
Height of the image in pixels.
optional int32 h = 3;- Returns:
- Whether the h field is set.
-
getH
int getH()
Height of the image in pixels.
optional int32 h = 3;- Returns:
- The h.
-
hasWmin
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. RECOMMENDED by the OpenRTB Native specification.
optional int32 wmin = 4;- Returns:
- Whether the wmin field is set.
-
getWmin
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. RECOMMENDED by the OpenRTB Native specification.
optional int32 wmin = 4;- Returns:
- The wmin.
-
hasHmin
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. RECOMMENDED by the OpenRTB Native specification.
optional int32 hmin = 5;- Returns:
- Whether the hmin field is set.
-
getHmin
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. RECOMMENDED by the OpenRTB Native specification.
optional int32 hmin = 5;- Returns:
- The hmin.
-
getMimesList
List<String> getMimesList()
Allowlist 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;- Returns:
- A list containing the mimes.
-
getMimesCount
int getMimesCount()
Allowlist 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;- Returns:
- The count of mimes.
-
getMimes
String getMimes(int index)
Allowlist 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;- Parameters:
index- The index of the element to return.- Returns:
- The mimes at the given index.
-
getMimesBytes
com.google.protobuf.ByteString getMimesBytes(int index)
Allowlist 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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the mimes at the given index.
-
-