Package com.google.openrtb
Interface OpenRtb.NativeResponse.Asset.ImageOrBuilder
-
- All Superinterfaces:
com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeResponse.Asset.Image>,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OpenRtb.NativeResponse.Asset.Image,OpenRtb.NativeResponse.Asset.Image.Builder
- Enclosing class:
- OpenRtb.NativeResponse.Asset
public static interface OpenRtb.NativeResponse.Asset.ImageOrBuilder extends com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeResponse.Asset.Image>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetH()Height of the image in pixels.OpenRtb.ImageAssetTypegetType()The type of image element being submitted from the ImageType enum.StringgetUrl()URL of the image asset.com.google.protobuf.ByteStringgetUrlBytes()URL of the image asset.intgetW()Width of the image in pixels.booleanhasH()Height of the image in pixels.booleanhasType()The type of image element being submitted from the ImageType enum.booleanhasUrl()URL of the image asset.booleanhasW()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()
The type of image element being submitted from the ImageType enum. REQUIRED for assetsurl or dcourl responses, not required to embedded asset responses.
optional .com.google.openrtb.ImageAssetType type = 4;- Returns:
- Whether the type field is set.
-
getType
OpenRtb.ImageAssetType getType()
The type of image element being submitted from the ImageType enum. REQUIRED for assetsurl or dcourl responses, not required to embedded asset responses.
optional .com.google.openrtb.ImageAssetType type = 4;- Returns:
- The type.
-
hasUrl
boolean hasUrl()
URL of the image asset. REQUIRED by the OpenRTB Native specification.
required string url = 1;- Returns:
- Whether the url field is set.
-
getUrl
String getUrl()
URL of the image asset. REQUIRED by the OpenRTB Native specification.
required string url = 1;- Returns:
- The url.
-
getUrlBytes
com.google.protobuf.ByteString getUrlBytes()
URL of the image asset. REQUIRED by the OpenRTB Native specification.
required string url = 1;- Returns:
- The bytes for url.
-
hasW
boolean hasW()
Width of the image in pixels. RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses. REQUIRED in 1.2 for assetsurl or dcourl if multiple assets of the same type submitted.
optional int32 w = 2;- Returns:
- Whether the w field is set.
-
getW
int getW()
Width of the image in pixels. RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses. REQUIRED in 1.2 for assetsurl or dcourl if multiple assets of the same type submitted.
optional int32 w = 2;- Returns:
- The w.
-
hasH
boolean hasH()
Height of the image in pixels. RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses. REQUIRED in 1.2 for assetsurl or dcourl if multiple assets of the same type submitted.
optional int32 h = 3;- Returns:
- Whether the h field is set.
-
getH
int getH()
Height of the image in pixels. RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses. REQUIRED in 1.2 for assetsurl or dcourl if multiple assets of the same type submitted.
optional int32 h = 3;- Returns:
- The h.
-
-