Package com.google.openrtb
Interface OpenRtb.NativeRequest.AssetOrBuilder
-
- All Superinterfaces:
com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeRequest.Asset>,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OpenRtb.NativeRequest.Asset,OpenRtb.NativeRequest.Asset.Builder
- Enclosing class:
- OpenRtb.NativeRequest
public static interface OpenRtb.NativeRequest.AssetOrBuilder extends com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeRequest.Asset>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OpenRtb.NativeRequest.Asset.AssetOneofCasegetAssetOneofCase()OpenRtb.NativeRequest.Asset.DatagetData()Data object for brand name, description, ratings, prices etc.OpenRtb.NativeRequest.Asset.DataOrBuildergetDataOrBuilder()Data object for brand name, description, ratings, prices etc.intgetId()Unique asset ID, assigned by exchange.OpenRtb.NativeRequest.Asset.ImagegetImg()Image object for image assets.OpenRtb.NativeRequest.Asset.ImageOrBuildergetImgOrBuilder()Image object for image assets.booleangetRequired()Set to true if asset is required (exchange will not accept a bid without it).OpenRtb.NativeRequest.Asset.TitlegetTitle()Title object for title assets.OpenRtb.NativeRequest.Asset.TitleOrBuildergetTitleOrBuilder()Title object for title assets.OpenRtb.BidRequest.Imp.VideogetVideo()Video object for video assets.OpenRtb.BidRequest.Imp.VideoOrBuildergetVideoOrBuilder()Video object for video assets.booleanhasData()Data object for brand name, description, ratings, prices etc.booleanhasId()Unique asset ID, assigned by exchange.booleanhasImg()Image object for image assets.booleanhasRequired()Set to true if asset is required (exchange will not accept a bid without it).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. Typically a counter for the array. REQUIRED by the OpenRTB Native specification.
required int32 id = 1;- Returns:
- Whether the id field is set.
-
getId
int getId()
Unique asset ID, assigned by exchange. Typically a counter for the array. REQUIRED by the OpenRTB Native specification.
required int32 id = 1;- Returns:
- The id.
-
hasRequired
boolean hasRequired()
Set to true if asset is required (exchange will not accept a bid without it).
optional bool required = 2 [default = false];- Returns:
- Whether the required field is set.
-
getRequired
boolean getRequired()
Set to true if asset is required (exchange will not accept a bid without it).
optional bool required = 2 [default = false];- Returns:
- The required.
-
hasTitle
boolean hasTitle()
Title object for title assets.
.com.google.openrtb.NativeRequest.Asset.Title title = 3;- Returns:
- Whether the title field is set.
-
getTitle
OpenRtb.NativeRequest.Asset.Title getTitle()
Title object for title assets.
.com.google.openrtb.NativeRequest.Asset.Title title = 3;- Returns:
- The title.
-
getTitleOrBuilder
OpenRtb.NativeRequest.Asset.TitleOrBuilder getTitleOrBuilder()
Title object for title assets.
.com.google.openrtb.NativeRequest.Asset.Title title = 3;
-
hasImg
boolean hasImg()
Image object for image assets.
.com.google.openrtb.NativeRequest.Asset.Image img = 4;- Returns:
- Whether the img field is set.
-
getImg
OpenRtb.NativeRequest.Asset.Image getImg()
Image object for image assets.
.com.google.openrtb.NativeRequest.Asset.Image img = 4;- Returns:
- The img.
-
getImgOrBuilder
OpenRtb.NativeRequest.Asset.ImageOrBuilder getImgOrBuilder()
Image object for image assets.
.com.google.openrtb.NativeRequest.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.BidRequest.Imp.Video video = 5;- Returns:
- Whether the video field is set.
-
getVideo
OpenRtb.BidRequest.Imp.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.BidRequest.Imp.Video video = 5;- Returns:
- The video.
-
getVideoOrBuilder
OpenRtb.BidRequest.Imp.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.BidRequest.Imp.Video video = 5;
-
hasData
boolean hasData()
Data object for brand name, description, ratings, prices etc.
.com.google.openrtb.NativeRequest.Asset.Data data = 6;- Returns:
- Whether the data field is set.
-
getData
OpenRtb.NativeRequest.Asset.Data getData()
Data object for brand name, description, ratings, prices etc.
.com.google.openrtb.NativeRequest.Asset.Data data = 6;- Returns:
- The data.
-
getDataOrBuilder
OpenRtb.NativeRequest.Asset.DataOrBuilder getDataOrBuilder()
Data object for brand name, description, ratings, prices etc.
.com.google.openrtb.NativeRequest.Asset.Data data = 6;
-
getAssetOneofCase
OpenRtb.NativeRequest.Asset.AssetOneofCase getAssetOneofCase()
-
-