Package com.google.openrtb
Interface OpenRtb.BidRequest.ContentOrBuilder
-
- All Superinterfaces:
com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Content>,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OpenRtb.BidRequest.Content,OpenRtb.BidRequest.Content.Builder
- Enclosing class:
- OpenRtb.BidRequest
public static interface OpenRtb.BidRequest.ContentOrBuilder extends com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Content>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringgetAlbum()Album to which the content belongs; typically for audio.com.google.protobuf.ByteStringgetAlbumBytes()Album to which the content belongs; typically for audio.StringgetArtist()Artist credited with the content.com.google.protobuf.ByteStringgetArtistBytes()Artist credited with the content.StringgetCat(int index)Array of IAB content categories that describe the content.com.google.protobuf.ByteStringgetCatBytes(int index)Array of IAB content categories that describe the content.intgetCatCount()Array of IAB content categories that describe the content.List<String>getCatList()Array of IAB content categories that describe the content.StringgetContentrating()Content rating (e.g., MPAA).com.google.protobuf.ByteStringgetContentratingBytes()Content rating (e.g., MPAA).OpenRtb.ContentContextgetContext()Type of content (game, video, text, etc.).StringgetContext22()Deprecated.com.google.openrtb.BidRequest.Content.context_22 is deprecated.com.google.protobuf.ByteStringgetContext22Bytes()Deprecated.com.google.openrtb.BidRequest.Content.context_22 is deprecated.OpenRtb.BidRequest.DatagetData(int index)Additional content data.intgetDataCount()Additional content data.List<OpenRtb.BidRequest.Data>getDataList()Additional content data.OpenRtb.BidRequest.DataOrBuildergetDataOrBuilder(int index)Additional content data.List<? extends OpenRtb.BidRequest.DataOrBuilder>getDataOrBuilderList()Additional content data.booleangetEmbeddable()Indicator of whether or not the content is embeddable (e.g., an embeddable video player).intgetEpisode()Content episode number (typically applies to video content).StringgetGenre()Genre that best describes the content (e.g., rock, pop, etc).com.google.protobuf.ByteStringgetGenreBytes()Genre that best describes the content (e.g., rock, pop, etc).StringgetId()ID uniquely identifying the content.com.google.protobuf.ByteStringgetIdBytes()ID uniquely identifying the content.StringgetIsrc()International Standard Recording Code conforming to ISO-3901.com.google.protobuf.ByteStringgetIsrcBytes()International Standard Recording Code conforming to ISO-3901.StringgetKeywords()Comma separated list of keywords describing the content.com.google.protobuf.ByteStringgetKeywordsBytes()Comma separated list of keywords describing the content.StringgetLanguage()Content language using ISO-639-1-alpha-2.com.google.protobuf.ByteStringgetLanguageBytes()Content language using ISO-639-1-alpha-2.intgetLen()Length of content in seconds; appropriate for video or audio.booleangetLivestream()false = not live, true = content is live (e.g., stream, live blog).OpenRtb.ProductionQualitygetProdq()Production quality.OpenRtb.BidRequest.ProducergetProducer()Details about the content Producer (Section 3.2.10).OpenRtb.BidRequest.ProducerOrBuildergetProducerOrBuilder()Details about the content Producer (Section 3.2.10).OpenRtb.QAGMediaRatinggetQagmediarating()Media rating per QAG guidelines.StringgetSeason()Content season; typically for video content (e.g., "Season 3").com.google.protobuf.ByteStringgetSeasonBytes()Content season; typically for video content (e.g., "Season 3").StringgetSeries()Content series.com.google.protobuf.ByteStringgetSeriesBytes()Content series.booleangetSourcerelationship()false = indirect, true = direct.StringgetTitle()Content title.com.google.protobuf.ByteStringgetTitleBytes()Content title.StringgetUrl()URL of the content, for buy-side contextualization or review.com.google.protobuf.ByteStringgetUrlBytes()URL of the content, for buy-side contextualization or review.StringgetUserrating()User rating of the content (e.g., number of stars, likes, etc.).com.google.protobuf.ByteStringgetUserratingBytes()User rating of the content (e.g., number of stars, likes, etc.).OpenRtb.ProductionQualitygetVideoquality()Deprecated.com.google.openrtb.BidRequest.Content.videoquality is deprecated.booleanhasAlbum()Album to which the content belongs; typically for audio.booleanhasArtist()Artist credited with the content.booleanhasContentrating()Content rating (e.g., MPAA).booleanhasContext()Type of content (game, video, text, etc.).booleanhasContext22()Deprecated.com.google.openrtb.BidRequest.Content.context_22 is deprecated.booleanhasEmbeddable()Indicator of whether or not the content is embeddable (e.g., an embeddable video player).booleanhasEpisode()Content episode number (typically applies to video content).booleanhasGenre()Genre that best describes the content (e.g., rock, pop, etc).booleanhasId()ID uniquely identifying the content.booleanhasIsrc()International Standard Recording Code conforming to ISO-3901.booleanhasKeywords()Comma separated list of keywords describing the content.booleanhasLanguage()Content language using ISO-639-1-alpha-2.booleanhasLen()Length of content in seconds; appropriate for video or audio.booleanhasLivestream()false = not live, true = content is live (e.g., stream, live blog).booleanhasProdq()Production quality.booleanhasProducer()Details about the content Producer (Section 3.2.10).booleanhasQagmediarating()Media rating per QAG guidelines.booleanhasSeason()Content season; typically for video content (e.g., "Season 3").booleanhasSeries()Content series.booleanhasSourcerelationship()false = indirect, true = direct.booleanhasTitle()Content title.booleanhasUrl()URL of the content, for buy-side contextualization or review.booleanhasUserrating()User rating of the content (e.g., number of stars, likes, etc.).booleanhasVideoquality()Deprecated.com.google.openrtb.BidRequest.Content.videoquality is deprecated.-
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()
ID uniquely identifying the content.
optional string id = 1;- Returns:
- Whether the id field is set.
-
getId
String getId()
ID uniquely identifying the content.
optional string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
ID uniquely identifying the content.
optional string id = 1;- Returns:
- The bytes for id.
-
hasEpisode
boolean hasEpisode()
Content episode number (typically applies to video content).
optional int32 episode = 2;- Returns:
- Whether the episode field is set.
-
getEpisode
int getEpisode()
Content episode number (typically applies to video content).
optional int32 episode = 2;- Returns:
- The episode.
-
hasTitle
boolean hasTitle()
Content title. Video Examples: "Search Committee" (television), "A New Hope" (movie), or "Endgame" (made for web). Non-Video Example: "Why an Antarctic Glacier Is Melting So Quickly" (Time magazine article).
optional string title = 3;- Returns:
- Whether the title field is set.
-
getTitle
String getTitle()
Content title. Video Examples: "Search Committee" (television), "A New Hope" (movie), or "Endgame" (made for web). Non-Video Example: "Why an Antarctic Glacier Is Melting So Quickly" (Time magazine article).
optional string title = 3;- Returns:
- The title.
-
getTitleBytes
com.google.protobuf.ByteString getTitleBytes()
Content title. Video Examples: "Search Committee" (television), "A New Hope" (movie), or "Endgame" (made for web). Non-Video Example: "Why an Antarctic Glacier Is Melting So Quickly" (Time magazine article).
optional string title = 3;- Returns:
- The bytes for title.
-
hasSeries
boolean hasSeries()
Content series. Video Examples: "The Office" (television), "Star Wars" (movie), or "Arby 'N' The Chief" (made for web). Non-Video Example: "Ecocentric" (Time Magazine blog).
optional string series = 4;- Returns:
- Whether the series field is set.
-
getSeries
String getSeries()
Content series. Video Examples: "The Office" (television), "Star Wars" (movie), or "Arby 'N' The Chief" (made for web). Non-Video Example: "Ecocentric" (Time Magazine blog).
optional string series = 4;- Returns:
- The series.
-
getSeriesBytes
com.google.protobuf.ByteString getSeriesBytes()
Content series. Video Examples: "The Office" (television), "Star Wars" (movie), or "Arby 'N' The Chief" (made for web). Non-Video Example: "Ecocentric" (Time Magazine blog).
optional string series = 4;- Returns:
- The bytes for series.
-
hasSeason
boolean hasSeason()
Content season; typically for video content (e.g., "Season 3").
optional string season = 5;- Returns:
- Whether the season field is set.
-
getSeason
String getSeason()
Content season; typically for video content (e.g., "Season 3").
optional string season = 5;- Returns:
- The season.
-
getSeasonBytes
com.google.protobuf.ByteString getSeasonBytes()
Content season; typically for video content (e.g., "Season 3").
optional string season = 5;- Returns:
- The bytes for season.
-
hasArtist
boolean hasArtist()
Artist credited with the content.
optional string artist = 21;- Returns:
- Whether the artist field is set.
-
getArtist
String getArtist()
Artist credited with the content.
optional string artist = 21;- Returns:
- The artist.
-
getArtistBytes
com.google.protobuf.ByteString getArtistBytes()
Artist credited with the content.
optional string artist = 21;- Returns:
- The bytes for artist.
-
hasGenre
boolean hasGenre()
Genre that best describes the content (e.g., rock, pop, etc).
optional string genre = 22;- Returns:
- Whether the genre field is set.
-
getGenre
String getGenre()
Genre that best describes the content (e.g., rock, pop, etc).
optional string genre = 22;- Returns:
- The genre.
-
getGenreBytes
com.google.protobuf.ByteString getGenreBytes()
Genre that best describes the content (e.g., rock, pop, etc).
optional string genre = 22;- Returns:
- The bytes for genre.
-
hasAlbum
boolean hasAlbum()
Album to which the content belongs; typically for audio.
optional string album = 23;- Returns:
- Whether the album field is set.
-
getAlbum
String getAlbum()
Album to which the content belongs; typically for audio.
optional string album = 23;- Returns:
- The album.
-
getAlbumBytes
com.google.protobuf.ByteString getAlbumBytes()
Album to which the content belongs; typically for audio.
optional string album = 23;- Returns:
- The bytes for album.
-
hasIsrc
boolean hasIsrc()
International Standard Recording Code conforming to ISO-3901.
optional string isrc = 24;- Returns:
- Whether the isrc field is set.
-
getIsrc
String getIsrc()
International Standard Recording Code conforming to ISO-3901.
optional string isrc = 24;- Returns:
- The isrc.
-
getIsrcBytes
com.google.protobuf.ByteString getIsrcBytes()
International Standard Recording Code conforming to ISO-3901.
optional string isrc = 24;- Returns:
- The bytes for isrc.
-
hasProducer
boolean hasProducer()
Details about the content Producer (Section 3.2.10).
optional .com.google.openrtb.BidRequest.Producer producer = 15;- Returns:
- Whether the producer field is set.
-
getProducer
OpenRtb.BidRequest.Producer getProducer()
Details about the content Producer (Section 3.2.10).
optional .com.google.openrtb.BidRequest.Producer producer = 15;- Returns:
- The producer.
-
getProducerOrBuilder
OpenRtb.BidRequest.ProducerOrBuilder getProducerOrBuilder()
Details about the content Producer (Section 3.2.10).
optional .com.google.openrtb.BidRequest.Producer producer = 15;
-
hasUrl
boolean hasUrl()
URL of the content, for buy-side contextualization or review.
optional string url = 6;- Returns:
- Whether the url field is set.
-
getUrl
String getUrl()
URL of the content, for buy-side contextualization or review.
optional string url = 6;- Returns:
- The url.
-
getUrlBytes
com.google.protobuf.ByteString getUrlBytes()
URL of the content, for buy-side contextualization or review.
optional string url = 6;- Returns:
- The bytes for url.
-
getCatList
List<String> getCatList()
Array of IAB content categories that describe the content. See enum ContentCategory.
repeated string cat = 7;- Returns:
- A list containing the cat.
-
getCatCount
int getCatCount()
Array of IAB content categories that describe the content. See enum ContentCategory.
repeated string cat = 7;- Returns:
- The count of cat.
-
getCat
String getCat(int index)
Array of IAB content categories that describe the content. See enum ContentCategory.
repeated string cat = 7;- Parameters:
index- The index of the element to return.- Returns:
- The cat at the given index.
-
getCatBytes
com.google.protobuf.ByteString getCatBytes(int index)
Array of IAB content categories that describe the content. See enum ContentCategory.
repeated string cat = 7;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the cat at the given index.
-
hasProdq
boolean hasProdq()
Production quality.
optional .com.google.openrtb.ProductionQuality prodq = 25;- Returns:
- Whether the prodq field is set.
-
getProdq
OpenRtb.ProductionQuality getProdq()
Production quality.
optional .com.google.openrtb.ProductionQuality prodq = 25;- Returns:
- The prodq.
-
hasContext
boolean hasContext()
Type of content (game, video, text, etc.).
optional .com.google.openrtb.ContentContext context = 20;- Returns:
- Whether the context field is set.
-
getContext
OpenRtb.ContentContext getContext()
Type of content (game, video, text, etc.).
optional .com.google.openrtb.ContentContext context = 20;- Returns:
- The context.
-
hasContentrating
boolean hasContentrating()
Content rating (e.g., MPAA).
optional string contentrating = 10;- Returns:
- Whether the contentrating field is set.
-
getContentrating
String getContentrating()
Content rating (e.g., MPAA).
optional string contentrating = 10;- Returns:
- The contentrating.
-
getContentratingBytes
com.google.protobuf.ByteString getContentratingBytes()
Content rating (e.g., MPAA).
optional string contentrating = 10;- Returns:
- The bytes for contentrating.
-
hasUserrating
boolean hasUserrating()
User rating of the content (e.g., number of stars, likes, etc.).
optional string userrating = 11;- Returns:
- Whether the userrating field is set.
-
getUserrating
String getUserrating()
User rating of the content (e.g., number of stars, likes, etc.).
optional string userrating = 11;- Returns:
- The userrating.
-
getUserratingBytes
com.google.protobuf.ByteString getUserratingBytes()
User rating of the content (e.g., number of stars, likes, etc.).
optional string userrating = 11;- Returns:
- The bytes for userrating.
-
hasQagmediarating
boolean hasQagmediarating()
Media rating per QAG guidelines.
optional .com.google.openrtb.QAGMediaRating qagmediarating = 17;- Returns:
- Whether the qagmediarating field is set.
-
getQagmediarating
OpenRtb.QAGMediaRating getQagmediarating()
Media rating per QAG guidelines.
optional .com.google.openrtb.QAGMediaRating qagmediarating = 17;- Returns:
- The qagmediarating.
-
hasKeywords
boolean hasKeywords()
Comma separated list of keywords describing the content. Note: OpenRTB 2.2 allowed an array-of-strings as alternate implementation but this was fixed in 2.3+ where it's definitely a single string with CSV content again. Compatibility with some OpenRTB 2.2 exchanges that adopted the alternate representation may require custom handling of the JSON.
optional string keywords = 9;- Returns:
- Whether the keywords field is set.
-
getKeywords
String getKeywords()
Comma separated list of keywords describing the content. Note: OpenRTB 2.2 allowed an array-of-strings as alternate implementation but this was fixed in 2.3+ where it's definitely a single string with CSV content again. Compatibility with some OpenRTB 2.2 exchanges that adopted the alternate representation may require custom handling of the JSON.
optional string keywords = 9;- Returns:
- The keywords.
-
getKeywordsBytes
com.google.protobuf.ByteString getKeywordsBytes()
Comma separated list of keywords describing the content. Note: OpenRTB 2.2 allowed an array-of-strings as alternate implementation but this was fixed in 2.3+ where it's definitely a single string with CSV content again. Compatibility with some OpenRTB 2.2 exchanges that adopted the alternate representation may require custom handling of the JSON.
optional string keywords = 9;- Returns:
- The bytes for keywords.
-
hasLivestream
boolean hasLivestream()
false = not live, true = content is live (e.g., stream, live blog).
optional bool livestream = 13;- Returns:
- Whether the livestream field is set.
-
getLivestream
boolean getLivestream()
false = not live, true = content is live (e.g., stream, live blog).
optional bool livestream = 13;- Returns:
- The livestream.
-
hasSourcerelationship
boolean hasSourcerelationship()
false = indirect, true = direct.
optional bool sourcerelationship = 14;- Returns:
- Whether the sourcerelationship field is set.
-
getSourcerelationship
boolean getSourcerelationship()
false = indirect, true = direct.
optional bool sourcerelationship = 14;- Returns:
- The sourcerelationship.
-
hasLen
boolean hasLen()
Length of content in seconds; appropriate for video or audio.
optional int32 len = 16;- Returns:
- Whether the len field is set.
-
getLen
int getLen()
Length of content in seconds; appropriate for video or audio.
optional int32 len = 16;- Returns:
- The len.
-
hasLanguage
boolean hasLanguage()
Content language using ISO-639-1-alpha-2.
optional string language = 19;- Returns:
- Whether the language field is set.
-
getLanguage
String getLanguage()
Content language using ISO-639-1-alpha-2.
optional string language = 19;- Returns:
- The language.
-
getLanguageBytes
com.google.protobuf.ByteString getLanguageBytes()
Content language using ISO-639-1-alpha-2.
optional string language = 19;- Returns:
- The bytes for language.
-
hasEmbeddable
boolean hasEmbeddable()
Indicator of whether or not the content is embeddable (e.g., an embeddable video player).
optional bool embeddable = 18;- Returns:
- Whether the embeddable field is set.
-
getEmbeddable
boolean getEmbeddable()
Indicator of whether or not the content is embeddable (e.g., an embeddable video player).
optional bool embeddable = 18;- Returns:
- The embeddable.
-
getDataList
List<OpenRtb.BidRequest.Data> getDataList()
Additional content data. Each object represents a different data source.
repeated .com.google.openrtb.BidRequest.Data data = 28;
-
getData
OpenRtb.BidRequest.Data getData(int index)
Additional content data. Each object represents a different data source.
repeated .com.google.openrtb.BidRequest.Data data = 28;
-
getDataCount
int getDataCount()
Additional content data. Each object represents a different data source.
repeated .com.google.openrtb.BidRequest.Data data = 28;
-
getDataOrBuilderList
List<? extends OpenRtb.BidRequest.DataOrBuilder> getDataOrBuilderList()
Additional content data. Each object represents a different data source.
repeated .com.google.openrtb.BidRequest.Data data = 28;
-
getDataOrBuilder
OpenRtb.BidRequest.DataOrBuilder getDataOrBuilder(int index)
Additional content data. Each object represents a different data source.
repeated .com.google.openrtb.BidRequest.Data data = 28;
-
hasVideoquality
@Deprecated boolean hasVideoquality()
Deprecated.com.google.openrtb.BidRequest.Content.videoquality is deprecated. See openrtb.proto;l=947DEPRECATED in OpenRTB 2.4+. Prefer the field <code>prodq</code>. Video quality per IAB's classification.
optional .com.google.openrtb.ProductionQuality videoquality = 8 [deprecated = true];- Returns:
- Whether the videoquality field is set.
-
getVideoquality
@Deprecated OpenRtb.ProductionQuality getVideoquality()
Deprecated.com.google.openrtb.BidRequest.Content.videoquality is deprecated. See openrtb.proto;l=947DEPRECATED in OpenRTB 2.4+. Prefer the field <code>prodq</code>. Video quality per IAB's classification.
optional .com.google.openrtb.ProductionQuality videoquality = 8 [deprecated = true];- Returns:
- The videoquality.
-
hasContext22
@Deprecated boolean hasContext22()
Deprecated.com.google.openrtb.BidRequest.Content.context_22 is deprecated. See openrtb.proto;l=950REMOVED in OpenRTB 2.3+. Prefer the field <code>context</code>.
optional string context_22 = 12 [deprecated = true];- Returns:
- Whether the context22 field is set.
-
getContext22
@Deprecated String getContext22()
Deprecated.com.google.openrtb.BidRequest.Content.context_22 is deprecated. See openrtb.proto;l=950REMOVED in OpenRTB 2.3+. Prefer the field <code>context</code>.
optional string context_22 = 12 [deprecated = true];- Returns:
- The context22.
-
getContext22Bytes
@Deprecated com.google.protobuf.ByteString getContext22Bytes()
Deprecated.com.google.openrtb.BidRequest.Content.context_22 is deprecated. See openrtb.proto;l=950REMOVED in OpenRTB 2.3+. Prefer the field <code>context</code>.
optional string context_22 = 12 [deprecated = true];- Returns:
- The bytes for context22.
-
-