Package com.google.openrtb
Class OpenRtb.BidRequest.Content
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.BidRequest.Content>
-
- com.google.openrtb.OpenRtb.BidRequest.Content
-
- All Implemented Interfaces:
OpenRtb.BidRequest.ContentOrBuilder,com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Content>,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- OpenRtb.BidRequest
public static final class OpenRtb.BidRequest.Content extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.BidRequest.Content> implements OpenRtb.BidRequest.ContentOrBuilder
OpenRTB 2.0: This object describes the content in which the impression will appear, which may be syndicated or non-syndicated content. This object may be useful when syndicated content contains impressions and does not necessarily match the publisher's general content. The exchange might or might not have knowledge of the page where the content is running, as a result of the syndication method. For example might be a video impression embedded in an iframe on an unknown web property or device.
Protobuf typecom.google.openrtb.BidRequest.Content- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenRtb.BidRequest.Content.BuilderOpenRTB 2.0: This object describes the content in which the impression will appear, which may be syndicated or non-syndicated content.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWriter
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intALBUM_FIELD_NUMBERstatic intARTIST_FIELD_NUMBERstatic intCAT_FIELD_NUMBERstatic intCONTENTRATING_FIELD_NUMBERstatic intCONTEXT_22_FIELD_NUMBERstatic intCONTEXT_FIELD_NUMBERstatic intDATA_FIELD_NUMBERstatic intEMBEDDABLE_FIELD_NUMBERstatic intEPISODE_FIELD_NUMBERstatic intGENRE_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intISRC_FIELD_NUMBERstatic intKEYWORDS_FIELD_NUMBERstatic intLANGUAGE_FIELD_NUMBERstatic intLEN_FIELD_NUMBERstatic intLIVESTREAM_FIELD_NUMBERstatic com.google.protobuf.Parser<OpenRtb.BidRequest.Content>PARSERDeprecated.static intPRODQ_FIELD_NUMBERstatic intPRODUCER_FIELD_NUMBERstatic intQAGMEDIARATING_FIELD_NUMBERstatic intSEASON_FIELD_NUMBERstatic intSERIES_FIELD_NUMBERstatic intSOURCERELATIONSHIP_FIELD_NUMBERstatic intTITLE_FIELD_NUMBERstatic intURL_FIELD_NUMBERstatic intUSERRATING_FIELD_NUMBERstatic intVIDEOQUALITY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)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.com.google.protobuf.ProtocolStringListgetCatList()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.static OpenRtb.BidRequest.ContentgetDefaultInstance()OpenRtb.BidRequest.ContentgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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).com.google.protobuf.Parser<OpenRtb.BidRequest.Content>getParserForType()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").intgetSerializedSize()StringgetSeries()Content series.com.google.protobuf.ByteStringgetSeriesBytes()Content series.booleangetSourcerelationship()false = indirect, true = direct.StringgetTitle()Content title.com.google.protobuf.ByteStringgetTitleBytes()Content title.com.google.protobuf.UnknownFieldSetgetUnknownFields()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).inthashCode()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OpenRtb.BidRequest.Content.BuildernewBuilder()static OpenRtb.BidRequest.Content.BuildernewBuilder(OpenRtb.BidRequest.Content prototype)OpenRtb.BidRequest.Content.BuildernewBuilderForType()protected OpenRtb.BidRequest.Content.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OpenRtb.BidRequest.ContentparseDelimitedFrom(InputStream input)static OpenRtb.BidRequest.ContentparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.ContentparseFrom(byte[] data)static OpenRtb.BidRequest.ContentparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.ContentparseFrom(com.google.protobuf.ByteString data)static OpenRtb.BidRequest.ContentparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.ContentparseFrom(com.google.protobuf.CodedInputStream input)static OpenRtb.BidRequest.ContentparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.ContentparseFrom(InputStream input)static OpenRtb.BidRequest.ContentparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.ContentparseFrom(ByteBuffer data)static OpenRtb.BidRequest.ContentparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OpenRtb.BidRequest.Content>parser()OpenRtb.BidRequest.Content.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField, parseUnknownFieldProto3
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, isStringEmpty, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EPISODE_FIELD_NUMBER
public static final int EPISODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERIES_FIELD_NUMBER
public static final int SERIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEASON_FIELD_NUMBER
public static final int SEASON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARTIST_FIELD_NUMBER
public static final int ARTIST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GENRE_FIELD_NUMBER
public static final int GENRE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALBUM_FIELD_NUMBER
public static final int ALBUM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ISRC_FIELD_NUMBER
public static final int ISRC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRODUCER_FIELD_NUMBER
public static final int PRODUCER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
URL_FIELD_NUMBER
public static final int URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CAT_FIELD_NUMBER
public static final int CAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRODQ_FIELD_NUMBER
public static final int PRODQ_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTEXT_FIELD_NUMBER
public static final int CONTEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTENTRATING_FIELD_NUMBER
public static final int CONTENTRATING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USERRATING_FIELD_NUMBER
public static final int USERRATING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QAGMEDIARATING_FIELD_NUMBER
public static final int QAGMEDIARATING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KEYWORDS_FIELD_NUMBER
public static final int KEYWORDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIVESTREAM_FIELD_NUMBER
public static final int LIVESTREAM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCERELATIONSHIP_FIELD_NUMBER
public static final int SOURCERELATIONSHIP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LEN_FIELD_NUMBER
public static final int LEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LANGUAGE_FIELD_NUMBER
public static final int LANGUAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EMBEDDABLE_FIELD_NUMBER
public static final int EMBEDDABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VIDEOQUALITY_FIELD_NUMBER
public static final int VIDEOQUALITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTEXT_22_FIELD_NUMBER
public static final int CONTEXT_22_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<OpenRtb.BidRequest.Content> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasId
public boolean hasId()
ID uniquely identifying the content.
optional string id = 1;- Specified by:
hasIdin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the id field is set.
-
getId
public String getId()
ID uniquely identifying the content.
optional string id = 1;- Specified by:
getIdin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
ID uniquely identifying the content.
optional string id = 1;- Specified by:
getIdBytesin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The bytes for id.
-
hasEpisode
public boolean hasEpisode()
Content episode number (typically applies to video content).
optional int32 episode = 2;- Specified by:
hasEpisodein interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the episode field is set.
-
getEpisode
public int getEpisode()
Content episode number (typically applies to video content).
optional int32 episode = 2;- Specified by:
getEpisodein interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The episode.
-
hasTitle
public 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;- Specified by:
hasTitlein interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the title field is set.
-
getTitle
public 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;- Specified by:
getTitlein interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The title.
-
getTitleBytes
public 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;- Specified by:
getTitleBytesin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The bytes for title.
-
hasSeries
public 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;- Specified by:
hasSeriesin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the series field is set.
-
getSeries
public 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;- Specified by:
getSeriesin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The series.
-
getSeriesBytes
public 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;- Specified by:
getSeriesBytesin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The bytes for series.
-
hasSeason
public boolean hasSeason()
Content season; typically for video content (e.g., "Season 3").
optional string season = 5;- Specified by:
hasSeasonin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the season field is set.
-
getSeason
public String getSeason()
Content season; typically for video content (e.g., "Season 3").
optional string season = 5;- Specified by:
getSeasonin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The season.
-
getSeasonBytes
public com.google.protobuf.ByteString getSeasonBytes()
Content season; typically for video content (e.g., "Season 3").
optional string season = 5;- Specified by:
getSeasonBytesin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The bytes for season.
-
hasArtist
public boolean hasArtist()
Artist credited with the content.
optional string artist = 21;- Specified by:
hasArtistin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the artist field is set.
-
getArtist
public String getArtist()
Artist credited with the content.
optional string artist = 21;- Specified by:
getArtistin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The artist.
-
getArtistBytes
public com.google.protobuf.ByteString getArtistBytes()
Artist credited with the content.
optional string artist = 21;- Specified by:
getArtistBytesin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The bytes for artist.
-
hasGenre
public boolean hasGenre()
Genre that best describes the content (e.g., rock, pop, etc).
optional string genre = 22;- Specified by:
hasGenrein interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the genre field is set.
-
getGenre
public String getGenre()
Genre that best describes the content (e.g., rock, pop, etc).
optional string genre = 22;- Specified by:
getGenrein interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The genre.
-
getGenreBytes
public com.google.protobuf.ByteString getGenreBytes()
Genre that best describes the content (e.g., rock, pop, etc).
optional string genre = 22;- Specified by:
getGenreBytesin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The bytes for genre.
-
hasAlbum
public boolean hasAlbum()
Album to which the content belongs; typically for audio.
optional string album = 23;- Specified by:
hasAlbumin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the album field is set.
-
getAlbum
public String getAlbum()
Album to which the content belongs; typically for audio.
optional string album = 23;- Specified by:
getAlbumin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The album.
-
getAlbumBytes
public com.google.protobuf.ByteString getAlbumBytes()
Album to which the content belongs; typically for audio.
optional string album = 23;- Specified by:
getAlbumBytesin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The bytes for album.
-
hasIsrc
public boolean hasIsrc()
International Standard Recording Code conforming to ISO-3901.
optional string isrc = 24;- Specified by:
hasIsrcin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the isrc field is set.
-
getIsrc
public String getIsrc()
International Standard Recording Code conforming to ISO-3901.
optional string isrc = 24;- Specified by:
getIsrcin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The isrc.
-
getIsrcBytes
public com.google.protobuf.ByteString getIsrcBytes()
International Standard Recording Code conforming to ISO-3901.
optional string isrc = 24;- Specified by:
getIsrcBytesin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The bytes for isrc.
-
hasProducer
public boolean hasProducer()
Details about the content Producer (Section 3.2.10).
optional .com.google.openrtb.BidRequest.Producer producer = 15;- Specified by:
hasProducerin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the producer field is set.
-
getProducer
public OpenRtb.BidRequest.Producer getProducer()
Details about the content Producer (Section 3.2.10).
optional .com.google.openrtb.BidRequest.Producer producer = 15;- Specified by:
getProducerin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The producer.
-
getProducerOrBuilder
public OpenRtb.BidRequest.ProducerOrBuilder getProducerOrBuilder()
Details about the content Producer (Section 3.2.10).
optional .com.google.openrtb.BidRequest.Producer producer = 15;- Specified by:
getProducerOrBuilderin interfaceOpenRtb.BidRequest.ContentOrBuilder
-
hasUrl
public boolean hasUrl()
URL of the content, for buy-side contextualization or review.
optional string url = 6;- Specified by:
hasUrlin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the url field is set.
-
getUrl
public String getUrl()
URL of the content, for buy-side contextualization or review.
optional string url = 6;- Specified by:
getUrlin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()
URL of the content, for buy-side contextualization or review.
optional string url = 6;- Specified by:
getUrlBytesin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The bytes for url.
-
getCatList
public com.google.protobuf.ProtocolStringList getCatList()
Array of IAB content categories that describe the content. See enum ContentCategory.
repeated string cat = 7;- Specified by:
getCatListin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- A list containing the cat.
-
getCatCount
public int getCatCount()
Array of IAB content categories that describe the content. See enum ContentCategory.
repeated string cat = 7;- Specified by:
getCatCountin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The count of cat.
-
getCat
public String getCat(int index)
Array of IAB content categories that describe the content. See enum ContentCategory.
repeated string cat = 7;- Specified by:
getCatin interfaceOpenRtb.BidRequest.ContentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The cat at the given index.
-
getCatBytes
public com.google.protobuf.ByteString getCatBytes(int index)
Array of IAB content categories that describe the content. See enum ContentCategory.
repeated string cat = 7;- Specified by:
getCatBytesin interfaceOpenRtb.BidRequest.ContentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the cat at the given index.
-
hasProdq
public boolean hasProdq()
Production quality.
optional .com.google.openrtb.ProductionQuality prodq = 25;- Specified by:
hasProdqin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the prodq field is set.
-
getProdq
public OpenRtb.ProductionQuality getProdq()
Production quality.
optional .com.google.openrtb.ProductionQuality prodq = 25;- Specified by:
getProdqin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The prodq.
-
hasContext
public boolean hasContext()
Type of content (game, video, text, etc.).
optional .com.google.openrtb.ContentContext context = 20;- Specified by:
hasContextin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the context field is set.
-
getContext
public OpenRtb.ContentContext getContext()
Type of content (game, video, text, etc.).
optional .com.google.openrtb.ContentContext context = 20;- Specified by:
getContextin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The context.
-
hasContentrating
public boolean hasContentrating()
Content rating (e.g., MPAA).
optional string contentrating = 10;- Specified by:
hasContentratingin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the contentrating field is set.
-
getContentrating
public String getContentrating()
Content rating (e.g., MPAA).
optional string contentrating = 10;- Specified by:
getContentratingin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The contentrating.
-
getContentratingBytes
public com.google.protobuf.ByteString getContentratingBytes()
Content rating (e.g., MPAA).
optional string contentrating = 10;- Specified by:
getContentratingBytesin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The bytes for contentrating.
-
hasUserrating
public boolean hasUserrating()
User rating of the content (e.g., number of stars, likes, etc.).
optional string userrating = 11;- Specified by:
hasUserratingin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the userrating field is set.
-
getUserrating
public String getUserrating()
User rating of the content (e.g., number of stars, likes, etc.).
optional string userrating = 11;- Specified by:
getUserratingin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The userrating.
-
getUserratingBytes
public com.google.protobuf.ByteString getUserratingBytes()
User rating of the content (e.g., number of stars, likes, etc.).
optional string userrating = 11;- Specified by:
getUserratingBytesin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The bytes for userrating.
-
hasQagmediarating
public boolean hasQagmediarating()
Media rating per QAG guidelines.
optional .com.google.openrtb.QAGMediaRating qagmediarating = 17;- Specified by:
hasQagmediaratingin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the qagmediarating field is set.
-
getQagmediarating
public OpenRtb.QAGMediaRating getQagmediarating()
Media rating per QAG guidelines.
optional .com.google.openrtb.QAGMediaRating qagmediarating = 17;- Specified by:
getQagmediaratingin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The qagmediarating.
-
hasKeywords
public 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;- Specified by:
hasKeywordsin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the keywords field is set.
-
getKeywords
public 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;- Specified by:
getKeywordsin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The keywords.
-
getKeywordsBytes
public 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;- Specified by:
getKeywordsBytesin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The bytes for keywords.
-
hasLivestream
public boolean hasLivestream()
false = not live, true = content is live (e.g., stream, live blog).
optional bool livestream = 13;- Specified by:
hasLivestreamin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the livestream field is set.
-
getLivestream
public boolean getLivestream()
false = not live, true = content is live (e.g., stream, live blog).
optional bool livestream = 13;- Specified by:
getLivestreamin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The livestream.
-
hasSourcerelationship
public boolean hasSourcerelationship()
false = indirect, true = direct.
optional bool sourcerelationship = 14;- Specified by:
hasSourcerelationshipin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the sourcerelationship field is set.
-
getSourcerelationship
public boolean getSourcerelationship()
false = indirect, true = direct.
optional bool sourcerelationship = 14;- Specified by:
getSourcerelationshipin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The sourcerelationship.
-
hasLen
public boolean hasLen()
Length of content in seconds; appropriate for video or audio.
optional int32 len = 16;- Specified by:
hasLenin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the len field is set.
-
getLen
public int getLen()
Length of content in seconds; appropriate for video or audio.
optional int32 len = 16;- Specified by:
getLenin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The len.
-
hasLanguage
public boolean hasLanguage()
Content language using ISO-639-1-alpha-2.
optional string language = 19;- Specified by:
hasLanguagein interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the language field is set.
-
getLanguage
public String getLanguage()
Content language using ISO-639-1-alpha-2.
optional string language = 19;- Specified by:
getLanguagein interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The language.
-
getLanguageBytes
public com.google.protobuf.ByteString getLanguageBytes()
Content language using ISO-639-1-alpha-2.
optional string language = 19;- Specified by:
getLanguageBytesin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The bytes for language.
-
hasEmbeddable
public boolean hasEmbeddable()
Indicator of whether or not the content is embeddable (e.g., an embeddable video player).
optional bool embeddable = 18;- Specified by:
hasEmbeddablein interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the embeddable field is set.
-
getEmbeddable
public boolean getEmbeddable()
Indicator of whether or not the content is embeddable (e.g., an embeddable video player).
optional bool embeddable = 18;- Specified by:
getEmbeddablein interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The embeddable.
-
getDataList
public List<OpenRtb.BidRequest.Data> getDataList()
Additional content data. Each object represents a different data source.
repeated .com.google.openrtb.BidRequest.Data data = 28;- Specified by:
getDataListin interfaceOpenRtb.BidRequest.ContentOrBuilder
-
getDataOrBuilderList
public List<? extends OpenRtb.BidRequest.DataOrBuilder> getDataOrBuilderList()
Additional content data. Each object represents a different data source.
repeated .com.google.openrtb.BidRequest.Data data = 28;- Specified by:
getDataOrBuilderListin interfaceOpenRtb.BidRequest.ContentOrBuilder
-
getDataCount
public int getDataCount()
Additional content data. Each object represents a different data source.
repeated .com.google.openrtb.BidRequest.Data data = 28;- Specified by:
getDataCountin interfaceOpenRtb.BidRequest.ContentOrBuilder
-
getData
public OpenRtb.BidRequest.Data getData(int index)
Additional content data. Each object represents a different data source.
repeated .com.google.openrtb.BidRequest.Data data = 28;- Specified by:
getDatain interfaceOpenRtb.BidRequest.ContentOrBuilder
-
getDataOrBuilder
public OpenRtb.BidRequest.DataOrBuilder getDataOrBuilder(int index)
Additional content data. Each object represents a different data source.
repeated .com.google.openrtb.BidRequest.Data data = 28;- Specified by:
getDataOrBuilderin interfaceOpenRtb.BidRequest.ContentOrBuilder
-
hasVideoquality
@Deprecated public 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];- Specified by:
hasVideoqualityin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the videoquality field is set.
-
getVideoquality
@Deprecated public 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];- Specified by:
getVideoqualityin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The videoquality.
-
hasContext22
@Deprecated public 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];- Specified by:
hasContext22in interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- Whether the context22 field is set.
-
getContext22
@Deprecated public 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];- Specified by:
getContext22in interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The context22.
-
getContext22Bytes
@Deprecated public 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];- Specified by:
getContext22Bytesin interfaceOpenRtb.BidRequest.ContentOrBuilder- Returns:
- The bytes for context22.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.BidRequest.Content>
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OpenRtb.BidRequest.Content parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Content parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Content parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Content parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Content parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Content parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Content parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.BidRequest.Content parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.BidRequest.Content parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.BidRequest.Content parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.BidRequest.Content parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.BidRequest.Content parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OpenRtb.BidRequest.Content.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OpenRtb.BidRequest.Content.Builder newBuilder()
-
newBuilder
public static OpenRtb.BidRequest.Content.Builder newBuilder(OpenRtb.BidRequest.Content prototype)
-
toBuilder
public OpenRtb.BidRequest.Content.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OpenRtb.BidRequest.Content.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OpenRtb.BidRequest.Content getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OpenRtb.BidRequest.Content> parser()
-
getParserForType
public com.google.protobuf.Parser<OpenRtb.BidRequest.Content> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OpenRtb.BidRequest.Content getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Content>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-