Package com.google.openrtb
Interface OpenRtb.NativeResponse.AssetOrBuilder
-
- All Superinterfaces:
com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeResponse.Asset>,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OpenRtb.NativeResponse.Asset,OpenRtb.NativeResponse.Asset.Builder
- Enclosing class:
- OpenRtb.NativeResponse
public static interface OpenRtb.NativeResponse.AssetOrBuilder extends com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeResponse.Asset>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OpenRtb.NativeResponse.Asset.AssetOneofCasegetAssetOneofCase()OpenRtb.NativeResponse.Asset.DatagetData()Data object for ratings, prices etc.OpenRtb.NativeResponse.Asset.DataOrBuildergetDataOrBuilder()Data object for ratings, prices etc.intgetId()Unique asset ID, assigned by exchange, must match one of the asset IDs in request.OpenRtb.NativeResponse.Asset.ImagegetImg()Image object for image assets.OpenRtb.NativeResponse.Asset.ImageOrBuildergetImgOrBuilder()Image object for image assets.OpenRtb.NativeResponse.LinkgetLink()Link object for call to actions.OpenRtb.NativeResponse.LinkOrBuildergetLinkOrBuilder()Link object for call to actions.booleangetRequired()Set to true if asset is required.OpenRtb.NativeResponse.Asset.TitlegetTitle()Title object for title assets.OpenRtb.NativeResponse.Asset.TitleOrBuildergetTitleOrBuilder()Title object for title assets.OpenRtb.NativeResponse.Asset.VideogetVideo()Video object for video assets.OpenRtb.NativeResponse.Asset.VideoOrBuildergetVideoOrBuilder()Video object for video assets.booleanhasData()Data object for ratings, prices etc.booleanhasId()Unique asset ID, assigned by exchange, must match one of the asset IDs in request.booleanhasImg()Image object for image assets.booleanhasLink()Link object for call to actions.booleanhasRequired()Set to true if asset is required.booleanhasTitle()Title object for title assets.booleanhasVideo()Video object for video assets.-
Methods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
getDefaultInstanceForType, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
-
-
-
-
Method Detail
-
hasId
boolean hasId()
Unique asset ID, assigned by exchange, must match one of the asset IDs in request. REQUIRED in 1.0, or in 1.2 if embedded asset is being used.
required int32 id = 1;- Returns:
- Whether the id field is set.
-
getId
int getId()
Unique asset ID, assigned by exchange, must match one of the asset IDs in request. REQUIRED in 1.0, or in 1.2 if embedded asset is being used.
required int32 id = 1;- Returns:
- The id.
-
hasRequired
boolean hasRequired()
Set to true if asset is required. (bidder requires it to be displayed).
optional bool required = 2 [default = false];- Returns:
- Whether the required field is set.
-
getRequired
boolean getRequired()
Set to true if asset is required. (bidder requires it to be displayed).
optional bool required = 2 [default = false];- Returns:
- The required.
-
hasTitle
boolean hasTitle()
Title object for title assets.
.com.google.openrtb.NativeResponse.Asset.Title title = 3;- Returns:
- Whether the title field is set.
-
getTitle
OpenRtb.NativeResponse.Asset.Title getTitle()
Title object for title assets.
.com.google.openrtb.NativeResponse.Asset.Title title = 3;- Returns:
- The title.
-
getTitleOrBuilder
OpenRtb.NativeResponse.Asset.TitleOrBuilder getTitleOrBuilder()
Title object for title assets.
.com.google.openrtb.NativeResponse.Asset.Title title = 3;
-
hasImg
boolean hasImg()
Image object for image assets.
.com.google.openrtb.NativeResponse.Asset.Image img = 4;- Returns:
- Whether the img field is set.
-
getImg
OpenRtb.NativeResponse.Asset.Image getImg()
Image object for image assets.
.com.google.openrtb.NativeResponse.Asset.Image img = 4;- Returns:
- The img.
-
getImgOrBuilder
OpenRtb.NativeResponse.Asset.ImageOrBuilder getImgOrBuilder()
Image object for image assets.
.com.google.openrtb.NativeResponse.Asset.Image img = 4;
-
hasVideo
boolean hasVideo()
Video object for video assets. Note that in-stream video ads are not part of Native. Native ads may contain a video as the ad creative itself.
.com.google.openrtb.NativeResponse.Asset.Video video = 5;- Returns:
- Whether the video field is set.
-
getVideo
OpenRtb.NativeResponse.Asset.Video getVideo()
Video object for video assets. Note that in-stream video ads are not part of Native. Native ads may contain a video as the ad creative itself.
.com.google.openrtb.NativeResponse.Asset.Video video = 5;- Returns:
- The video.
-
getVideoOrBuilder
OpenRtb.NativeResponse.Asset.VideoOrBuilder getVideoOrBuilder()
Video object for video assets. Note that in-stream video ads are not part of Native. Native ads may contain a video as the ad creative itself.
.com.google.openrtb.NativeResponse.Asset.Video video = 5;
-
hasData
boolean hasData()
Data object for ratings, prices etc.
.com.google.openrtb.NativeResponse.Asset.Data data = 6;- Returns:
- Whether the data field is set.
-
getData
OpenRtb.NativeResponse.Asset.Data getData()
Data object for ratings, prices etc.
.com.google.openrtb.NativeResponse.Asset.Data data = 6;- Returns:
- The data.
-
getDataOrBuilder
OpenRtb.NativeResponse.Asset.DataOrBuilder getDataOrBuilder()
Data object for ratings, prices etc.
.com.google.openrtb.NativeResponse.Asset.Data data = 6;
-
hasLink
boolean hasLink()
Link object for call to actions. This link object applies if the asset item is activated (clicked). If there is no link object on the asset, the parent link object on the bid response apply.
optional .com.google.openrtb.NativeResponse.Link link = 7;- Returns:
- Whether the link field is set.
-
getLink
OpenRtb.NativeResponse.Link getLink()
Link object for call to actions. This link object applies if the asset item is activated (clicked). If there is no link object on the asset, the parent link object on the bid response apply.
optional .com.google.openrtb.NativeResponse.Link link = 7;- Returns:
- The link.
-
getLinkOrBuilder
OpenRtb.NativeResponse.LinkOrBuilder getLinkOrBuilder()
Link object for call to actions. This link object applies if the asset item is activated (clicked). If there is no link object on the asset, the parent link object on the bid response apply.
optional .com.google.openrtb.NativeResponse.Link link = 7;
-
getAssetOneofCase
OpenRtb.NativeResponse.Asset.AssetOneofCase getAssetOneofCase()
-
-