Class OpenRtb.BidRequest.Content.Builder

  • All Implemented Interfaces:
    OpenRtb.BidRequest.ContentOrBuilder, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Content>, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    OpenRtb.BidRequest.Content

    public static final class OpenRtb.BidRequest.Content.Builder
    extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest.Content,​OpenRtb.BidRequest.Content.Builder>
    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 type com.google.openrtb.BidRequest.Content
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidRequest.Content.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidRequest.Content.Builder>
      • getDefaultInstanceForType

        public OpenRtb.BidRequest.Content getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Content>
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public OpenRtb.BidRequest.Content build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public OpenRtb.BidRequest.Content buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • mergeFrom

        public OpenRtb.BidRequest.Content.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OpenRtb.BidRequest.Content.Builder>
        Throws:
        IOException
      • hasId

        public boolean hasId()
         ID uniquely identifying the content.
         
        optional string id = 1;
        Specified by:
        hasId in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        Whether the id field is set.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         ID uniquely identifying the content.
         
        optional string id = 1;
        Specified by:
        getIdBytes in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        The bytes for id.
      • setId

        public OpenRtb.BidRequest.Content.Builder setId​(String value)
         ID uniquely identifying the content.
         
        optional string id = 1;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • setIdBytes

        public OpenRtb.BidRequest.Content.Builder setIdBytes​(com.google.protobuf.ByteString value)
         ID uniquely identifying the content.
         
        optional string id = 1;
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • hasEpisode

        public boolean hasEpisode()
         Content episode number (typically applies to video content).
         
        optional int32 episode = 2;
        Specified by:
        hasEpisode in interface OpenRtb.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:
        getEpisode in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        The episode.
      • setEpisode

        public OpenRtb.BidRequest.Content.Builder setEpisode​(int value)
         Content episode number (typically applies to video content).
         
        optional int32 episode = 2;
        Parameters:
        value - The episode to set.
        Returns:
        This builder for chaining.
      • clearEpisode

        public OpenRtb.BidRequest.Content.Builder clearEpisode()
         Content episode number (typically applies to video content).
         
        optional int32 episode = 2;
        Returns:
        This builder for chaining.
      • 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:
        hasTitle in interface OpenRtb.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:
        getTitle in interface OpenRtb.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:
        getTitleBytes in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        The bytes for title.
      • setTitle

        public OpenRtb.BidRequest.Content.Builder setTitle​(String value)
         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;
        Parameters:
        value - The title to set.
        Returns:
        This builder for chaining.
      • clearTitle

        public OpenRtb.BidRequest.Content.Builder clearTitle()
         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:
        This builder for chaining.
      • setTitleBytes

        public OpenRtb.BidRequest.Content.Builder setTitleBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for title to set.
        Returns:
        This builder for chaining.
      • 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:
        hasSeries in interface OpenRtb.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:
        getSeries in interface OpenRtb.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:
        getSeriesBytes in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        The bytes for series.
      • setSeries

        public OpenRtb.BidRequest.Content.Builder setSeries​(String value)
         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;
        Parameters:
        value - The series to set.
        Returns:
        This builder for chaining.
      • clearSeries

        public OpenRtb.BidRequest.Content.Builder clearSeries()
         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:
        This builder for chaining.
      • setSeriesBytes

        public OpenRtb.BidRequest.Content.Builder setSeriesBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for series to set.
        Returns:
        This builder for chaining.
      • hasSeason

        public boolean hasSeason()
         Content season; typically for video content (e.g., "Season 3").
         
        optional string season = 5;
        Specified by:
        hasSeason in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        Whether the season field is set.
      • getSeasonBytes

        public com.google.protobuf.ByteString getSeasonBytes()
         Content season; typically for video content (e.g., "Season 3").
         
        optional string season = 5;
        Specified by:
        getSeasonBytes in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        The bytes for season.
      • setSeason

        public OpenRtb.BidRequest.Content.Builder setSeason​(String value)
         Content season; typically for video content (e.g., "Season 3").
         
        optional string season = 5;
        Parameters:
        value - The season to set.
        Returns:
        This builder for chaining.
      • clearSeason

        public OpenRtb.BidRequest.Content.Builder clearSeason()
         Content season; typically for video content (e.g., "Season 3").
         
        optional string season = 5;
        Returns:
        This builder for chaining.
      • setSeasonBytes

        public OpenRtb.BidRequest.Content.Builder setSeasonBytes​(com.google.protobuf.ByteString value)
         Content season; typically for video content (e.g., "Season 3").
         
        optional string season = 5;
        Parameters:
        value - The bytes for season to set.
        Returns:
        This builder for chaining.
      • hasArtist

        public boolean hasArtist()
         Artist credited with the content.
         
        optional string artist = 21;
        Specified by:
        hasArtist in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        Whether the artist field is set.
      • getArtistBytes

        public com.google.protobuf.ByteString getArtistBytes()
         Artist credited with the content.
         
        optional string artist = 21;
        Specified by:
        getArtistBytes in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        The bytes for artist.
      • setArtist

        public OpenRtb.BidRequest.Content.Builder setArtist​(String value)
         Artist credited with the content.
         
        optional string artist = 21;
        Parameters:
        value - The artist to set.
        Returns:
        This builder for chaining.
      • clearArtist

        public OpenRtb.BidRequest.Content.Builder clearArtist()
         Artist credited with the content.
         
        optional string artist = 21;
        Returns:
        This builder for chaining.
      • setArtistBytes

        public OpenRtb.BidRequest.Content.Builder setArtistBytes​(com.google.protobuf.ByteString value)
         Artist credited with the content.
         
        optional string artist = 21;
        Parameters:
        value - The bytes for artist to set.
        Returns:
        This builder for chaining.
      • hasGenre

        public boolean hasGenre()
         Genre that best describes the content (e.g., rock, pop, etc).
         
        optional string genre = 22;
        Specified by:
        hasGenre in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        Whether the genre field is set.
      • getGenreBytes

        public com.google.protobuf.ByteString getGenreBytes()
         Genre that best describes the content (e.g., rock, pop, etc).
         
        optional string genre = 22;
        Specified by:
        getGenreBytes in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        The bytes for genre.
      • setGenre

        public OpenRtb.BidRequest.Content.Builder setGenre​(String value)
         Genre that best describes the content (e.g., rock, pop, etc).
         
        optional string genre = 22;
        Parameters:
        value - The genre to set.
        Returns:
        This builder for chaining.
      • clearGenre

        public OpenRtb.BidRequest.Content.Builder clearGenre()
         Genre that best describes the content (e.g., rock, pop, etc).
         
        optional string genre = 22;
        Returns:
        This builder for chaining.
      • setGenreBytes

        public OpenRtb.BidRequest.Content.Builder setGenreBytes​(com.google.protobuf.ByteString value)
         Genre that best describes the content (e.g., rock, pop, etc).
         
        optional string genre = 22;
        Parameters:
        value - The bytes for genre to set.
        Returns:
        This builder for chaining.
      • hasAlbum

        public boolean hasAlbum()
         Album to which the content belongs; typically for audio.
         
        optional string album = 23;
        Specified by:
        hasAlbum in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        Whether the album field is set.
      • getAlbumBytes

        public com.google.protobuf.ByteString getAlbumBytes()
         Album to which the content belongs; typically for audio.
         
        optional string album = 23;
        Specified by:
        getAlbumBytes in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        The bytes for album.
      • setAlbum

        public OpenRtb.BidRequest.Content.Builder setAlbum​(String value)
         Album to which the content belongs; typically for audio.
         
        optional string album = 23;
        Parameters:
        value - The album to set.
        Returns:
        This builder for chaining.
      • clearAlbum

        public OpenRtb.BidRequest.Content.Builder clearAlbum()
         Album to which the content belongs; typically for audio.
         
        optional string album = 23;
        Returns:
        This builder for chaining.
      • setAlbumBytes

        public OpenRtb.BidRequest.Content.Builder setAlbumBytes​(com.google.protobuf.ByteString value)
         Album to which the content belongs; typically for audio.
         
        optional string album = 23;
        Parameters:
        value - The bytes for album to set.
        Returns:
        This builder for chaining.
      • hasIsrc

        public boolean hasIsrc()
         International Standard Recording Code conforming to ISO-3901.
         
        optional string isrc = 24;
        Specified by:
        hasIsrc in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        Whether the isrc field is set.
      • getIsrcBytes

        public com.google.protobuf.ByteString getIsrcBytes()
         International Standard Recording Code conforming to ISO-3901.
         
        optional string isrc = 24;
        Specified by:
        getIsrcBytes in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        The bytes for isrc.
      • setIsrc

        public OpenRtb.BidRequest.Content.Builder setIsrc​(String value)
         International Standard Recording Code conforming to ISO-3901.
         
        optional string isrc = 24;
        Parameters:
        value - The isrc to set.
        Returns:
        This builder for chaining.
      • clearIsrc

        public OpenRtb.BidRequest.Content.Builder clearIsrc()
         International Standard Recording Code conforming to ISO-3901.
         
        optional string isrc = 24;
        Returns:
        This builder for chaining.
      • setIsrcBytes

        public OpenRtb.BidRequest.Content.Builder setIsrcBytes​(com.google.protobuf.ByteString value)
         International Standard Recording Code conforming to ISO-3901.
         
        optional string isrc = 24;
        Parameters:
        value - The bytes for isrc to set.
        Returns:
        This builder for chaining.
      • hasProducer

        public boolean hasProducer()
         Details about the content Producer (Section 3.2.10).
         
        optional .com.google.openrtb.BidRequest.Producer producer = 15;
        Specified by:
        hasProducer in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        Whether the producer field is set.
      • clearProducer

        public OpenRtb.BidRequest.Content.Builder clearProducer()
         Details about the content Producer (Section 3.2.10).
         
        optional .com.google.openrtb.BidRequest.Producer producer = 15;
      • getProducerBuilder

        public OpenRtb.BidRequest.Producer.Builder getProducerBuilder()
         Details about the content Producer (Section 3.2.10).
         
        optional .com.google.openrtb.BidRequest.Producer producer = 15;
      • hasUrl

        public boolean hasUrl()
         URL of the content, for buy-side contextualization or review.
         
        optional string url = 6;
        Specified by:
        hasUrl in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        Whether the url field is set.
      • getUrlBytes

        public com.google.protobuf.ByteString getUrlBytes()
         URL of the content, for buy-side contextualization or review.
         
        optional string url = 6;
        Specified by:
        getUrlBytes in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        The bytes for url.
      • setUrl

        public OpenRtb.BidRequest.Content.Builder setUrl​(String value)
         URL of the content, for buy-side contextualization or review.
         
        optional string url = 6;
        Parameters:
        value - The url to set.
        Returns:
        This builder for chaining.
      • clearUrl

        public OpenRtb.BidRequest.Content.Builder clearUrl()
         URL of the content, for buy-side contextualization or review.
         
        optional string url = 6;
        Returns:
        This builder for chaining.
      • setUrlBytes

        public OpenRtb.BidRequest.Content.Builder setUrlBytes​(com.google.protobuf.ByteString value)
         URL of the content, for buy-side contextualization or review.
         
        optional string url = 6;
        Parameters:
        value - The bytes for url to set.
        Returns:
        This builder for chaining.
      • 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:
        getCatList in interface OpenRtb.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:
        getCatCount in interface OpenRtb.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:
        getCat in interface OpenRtb.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:
        getCatBytes in interface OpenRtb.BidRequest.ContentOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the cat at the given index.
      • setCat

        public OpenRtb.BidRequest.Content.Builder setCat​(int index,
                                                         String value)
         Array of IAB content categories that describe the content.
         See enum ContentCategory.
         
        repeated string cat = 7;
        Parameters:
        index - The index to set the value at.
        value - The cat to set.
        Returns:
        This builder for chaining.
      • addCat

        public OpenRtb.BidRequest.Content.Builder addCat​(String value)
         Array of IAB content categories that describe the content.
         See enum ContentCategory.
         
        repeated string cat = 7;
        Parameters:
        value - The cat to add.
        Returns:
        This builder for chaining.
      • addAllCat

        public OpenRtb.BidRequest.Content.Builder addAllCat​(Iterable<String> values)
         Array of IAB content categories that describe the content.
         See enum ContentCategory.
         
        repeated string cat = 7;
        Parameters:
        values - The cat to add.
        Returns:
        This builder for chaining.
      • clearCat

        public OpenRtb.BidRequest.Content.Builder clearCat()
         Array of IAB content categories that describe the content.
         See enum ContentCategory.
         
        repeated string cat = 7;
        Returns:
        This builder for chaining.
      • addCatBytes

        public OpenRtb.BidRequest.Content.Builder addCatBytes​(com.google.protobuf.ByteString value)
         Array of IAB content categories that describe the content.
         See enum ContentCategory.
         
        repeated string cat = 7;
        Parameters:
        value - The bytes of the cat to add.
        Returns:
        This builder for chaining.
      • hasProdq

        public boolean hasProdq()
         Production quality.
         
        optional .com.google.openrtb.ProductionQuality prodq = 25;
        Specified by:
        hasProdq in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        Whether the prodq field is set.
      • clearProdq

        public OpenRtb.BidRequest.Content.Builder clearProdq()
         Production quality.
         
        optional .com.google.openrtb.ProductionQuality prodq = 25;
        Returns:
        This builder for chaining.
      • hasContext

        public boolean hasContext()
         Type of content (game, video, text, etc.).
         
        optional .com.google.openrtb.ContentContext context = 20;
        Specified by:
        hasContext in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        Whether the context field is set.
      • clearContext

        public OpenRtb.BidRequest.Content.Builder clearContext()
         Type of content (game, video, text, etc.).
         
        optional .com.google.openrtb.ContentContext context = 20;
        Returns:
        This builder for chaining.
      • setContentrating

        public OpenRtb.BidRequest.Content.Builder setContentrating​(String value)
         Content rating (e.g., MPAA).
         
        optional string contentrating = 10;
        Parameters:
        value - The contentrating to set.
        Returns:
        This builder for chaining.
      • clearContentrating

        public OpenRtb.BidRequest.Content.Builder clearContentrating()
         Content rating (e.g., MPAA).
         
        optional string contentrating = 10;
        Returns:
        This builder for chaining.
      • setContentratingBytes

        public OpenRtb.BidRequest.Content.Builder setContentratingBytes​(com.google.protobuf.ByteString value)
         Content rating (e.g., MPAA).
         
        optional string contentrating = 10;
        Parameters:
        value - The bytes for contentrating to set.
        Returns:
        This builder for chaining.
      • hasUserrating

        public boolean hasUserrating()
         User rating of the content (e.g., number of stars, likes, etc.).
         
        optional string userrating = 11;
        Specified by:
        hasUserrating in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        Whether the userrating field is set.
      • 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:
        getUserratingBytes in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        The bytes for userrating.
      • setUserrating

        public OpenRtb.BidRequest.Content.Builder setUserrating​(String value)
         User rating of the content (e.g., number of stars, likes, etc.).
         
        optional string userrating = 11;
        Parameters:
        value - The userrating to set.
        Returns:
        This builder for chaining.
      • clearUserrating

        public OpenRtb.BidRequest.Content.Builder clearUserrating()
         User rating of the content (e.g., number of stars, likes, etc.).
         
        optional string userrating = 11;
        Returns:
        This builder for chaining.
      • setUserratingBytes

        public OpenRtb.BidRequest.Content.Builder setUserratingBytes​(com.google.protobuf.ByteString value)
         User rating of the content (e.g., number of stars, likes, etc.).
         
        optional string userrating = 11;
        Parameters:
        value - The bytes for userrating to set.
        Returns:
        This builder for chaining.
      • hasQagmediarating

        public boolean hasQagmediarating()
         Media rating per QAG guidelines.
         
        optional .com.google.openrtb.QAGMediaRating qagmediarating = 17;
        Specified by:
        hasQagmediarating in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        Whether the qagmediarating field is set.
      • setQagmediarating

        public OpenRtb.BidRequest.Content.Builder setQagmediarating​(OpenRtb.QAGMediaRating value)
         Media rating per QAG guidelines.
         
        optional .com.google.openrtb.QAGMediaRating qagmediarating = 17;
        Parameters:
        value - The qagmediarating to set.
        Returns:
        This builder for chaining.
      • clearQagmediarating

        public OpenRtb.BidRequest.Content.Builder clearQagmediarating()
         Media rating per QAG guidelines.
         
        optional .com.google.openrtb.QAGMediaRating qagmediarating = 17;
        Returns:
        This builder for chaining.
      • 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:
        hasKeywords in interface OpenRtb.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:
        getKeywords in interface OpenRtb.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:
        getKeywordsBytes in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        The bytes for keywords.
      • setKeywords

        public OpenRtb.BidRequest.Content.Builder setKeywords​(String value)
         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;
        Parameters:
        value - The keywords to set.
        Returns:
        This builder for chaining.
      • clearKeywords

        public OpenRtb.BidRequest.Content.Builder clearKeywords()
         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:
        This builder for chaining.
      • setKeywordsBytes

        public OpenRtb.BidRequest.Content.Builder setKeywordsBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for keywords to set.
        Returns:
        This builder for chaining.
      • hasLivestream

        public boolean hasLivestream()
         false = not live, true = content is live (e.g., stream, live blog).
         
        optional bool livestream = 13;
        Specified by:
        hasLivestream in interface OpenRtb.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:
        getLivestream in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        The livestream.
      • setLivestream

        public OpenRtb.BidRequest.Content.Builder setLivestream​(boolean value)
         false = not live, true = content is live (e.g., stream, live blog).
         
        optional bool livestream = 13;
        Parameters:
        value - The livestream to set.
        Returns:
        This builder for chaining.
      • clearLivestream

        public OpenRtb.BidRequest.Content.Builder clearLivestream()
         false = not live, true = content is live (e.g., stream, live blog).
         
        optional bool livestream = 13;
        Returns:
        This builder for chaining.
      • setSourcerelationship

        public OpenRtb.BidRequest.Content.Builder setSourcerelationship​(boolean value)
         false = indirect, true = direct.
         
        optional bool sourcerelationship = 14;
        Parameters:
        value - The sourcerelationship to set.
        Returns:
        This builder for chaining.
      • clearSourcerelationship

        public OpenRtb.BidRequest.Content.Builder clearSourcerelationship()
         false = indirect, true = direct.
         
        optional bool sourcerelationship = 14;
        Returns:
        This builder for chaining.
      • hasLen

        public boolean hasLen()
         Length of content in seconds; appropriate for video or audio.
         
        optional int32 len = 16;
        Specified by:
        hasLen in interface OpenRtb.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:
        getLen in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        The len.
      • setLen

        public OpenRtb.BidRequest.Content.Builder setLen​(int value)
         Length of content in seconds; appropriate for video or audio.
         
        optional int32 len = 16;
        Parameters:
        value - The len to set.
        Returns:
        This builder for chaining.
      • clearLen

        public OpenRtb.BidRequest.Content.Builder clearLen()
         Length of content in seconds; appropriate for video or audio.
         
        optional int32 len = 16;
        Returns:
        This builder for chaining.
      • hasLanguage

        public boolean hasLanguage()
         Content language using ISO-639-1-alpha-2.
         
        optional string language = 19;
        Specified by:
        hasLanguage in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        Whether the language field is set.
      • getLanguageBytes

        public com.google.protobuf.ByteString getLanguageBytes()
         Content language using ISO-639-1-alpha-2.
         
        optional string language = 19;
        Specified by:
        getLanguageBytes in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        The bytes for language.
      • setLanguage

        public OpenRtb.BidRequest.Content.Builder setLanguage​(String value)
         Content language using ISO-639-1-alpha-2.
         
        optional string language = 19;
        Parameters:
        value - The language to set.
        Returns:
        This builder for chaining.
      • clearLanguage

        public OpenRtb.BidRequest.Content.Builder clearLanguage()
         Content language using ISO-639-1-alpha-2.
         
        optional string language = 19;
        Returns:
        This builder for chaining.
      • setLanguageBytes

        public OpenRtb.BidRequest.Content.Builder setLanguageBytes​(com.google.protobuf.ByteString value)
         Content language using ISO-639-1-alpha-2.
         
        optional string language = 19;
        Parameters:
        value - The bytes for language to set.
        Returns:
        This builder for chaining.
      • 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:
        hasEmbeddable in interface OpenRtb.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:
        getEmbeddable in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        The embeddable.
      • setEmbeddable

        public OpenRtb.BidRequest.Content.Builder setEmbeddable​(boolean value)
         Indicator of whether or not the content is embeddable (e.g., an
         embeddable video player).
         
        optional bool embeddable = 18;
        Parameters:
        value - The embeddable to set.
        Returns:
        This builder for chaining.
      • clearEmbeddable

        public OpenRtb.BidRequest.Content.Builder clearEmbeddable()
         Indicator of whether or not the content is embeddable (e.g., an
         embeddable video player).
         
        optional bool embeddable = 18;
        Returns:
        This builder for chaining.
      • getDataCount

        public int getDataCount()
         Additional content data. Each object represents a different data source.
         
        repeated .com.google.openrtb.BidRequest.Data data = 28;
        Specified by:
        getDataCount in interface OpenRtb.BidRequest.ContentOrBuilder
      • clearData

        public OpenRtb.BidRequest.Content.Builder clearData()
         Additional content data. Each object represents a different data source.
         
        repeated .com.google.openrtb.BidRequest.Data data = 28;
      • removeData

        public OpenRtb.BidRequest.Content.Builder removeData​(int index)
         Additional content data. Each object represents a different data source.
         
        repeated .com.google.openrtb.BidRequest.Data data = 28;
      • getDataBuilder

        public OpenRtb.BidRequest.Data.Builder getDataBuilder​(int index)
         Additional content data. Each object represents a different data source.
         
        repeated .com.google.openrtb.BidRequest.Data data = 28;
      • addDataBuilder

        public OpenRtb.BidRequest.Data.Builder addDataBuilder()
         Additional content data. Each object represents a different data source.
         
        repeated .com.google.openrtb.BidRequest.Data data = 28;
      • addDataBuilder

        public OpenRtb.BidRequest.Data.Builder addDataBuilder​(int index)
         Additional content data. Each object represents a different data source.
         
        repeated .com.google.openrtb.BidRequest.Data data = 28;
      • getDataBuilderList

        public List<OpenRtb.BidRequest.Data.Builder> getDataBuilderList()
         Additional content data. Each object represents a different data source.
         
        repeated .com.google.openrtb.BidRequest.Data data = 28;
      • hasVideoquality

        @Deprecated
        public boolean hasVideoquality()
        Deprecated.
        com.google.openrtb.BidRequest.Content.videoquality is deprecated. See openrtb.proto;l=947
         DEPRECATED 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:
        hasVideoquality in interface OpenRtb.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=947
         DEPRECATED 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:
        getVideoquality in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        The videoquality.
      • setVideoquality

        @Deprecated
        public OpenRtb.BidRequest.Content.Builder setVideoquality​(OpenRtb.ProductionQuality value)
        Deprecated.
        com.google.openrtb.BidRequest.Content.videoquality is deprecated. See openrtb.proto;l=947
         DEPRECATED 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];
        Parameters:
        value - The videoquality to set.
        Returns:
        This builder for chaining.
      • clearVideoquality

        @Deprecated
        public OpenRtb.BidRequest.Content.Builder clearVideoquality()
        Deprecated.
        com.google.openrtb.BidRequest.Content.videoquality is deprecated. See openrtb.proto;l=947
         DEPRECATED 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:
        This builder for chaining.
      • hasContext22

        @Deprecated
        public boolean hasContext22()
        Deprecated.
        com.google.openrtb.BidRequest.Content.context_22 is deprecated. See openrtb.proto;l=950
         REMOVED in OpenRTB 2.3+. Prefer the field <code>context</code>.
         
        optional string context_22 = 12 [deprecated = true];
        Specified by:
        hasContext22 in interface OpenRtb.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=950
         REMOVED in OpenRTB 2.3+. Prefer the field <code>context</code>.
         
        optional string context_22 = 12 [deprecated = true];
        Specified by:
        getContext22 in interface OpenRtb.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=950
         REMOVED in OpenRTB 2.3+. Prefer the field <code>context</code>.
         
        optional string context_22 = 12 [deprecated = true];
        Specified by:
        getContext22Bytes in interface OpenRtb.BidRequest.ContentOrBuilder
        Returns:
        The bytes for context22.
      • setContext22

        @Deprecated
        public OpenRtb.BidRequest.Content.Builder setContext22​(String value)
        Deprecated.
        com.google.openrtb.BidRequest.Content.context_22 is deprecated. See openrtb.proto;l=950
         REMOVED in OpenRTB 2.3+. Prefer the field <code>context</code>.
         
        optional string context_22 = 12 [deprecated = true];
        Parameters:
        value - The context22 to set.
        Returns:
        This builder for chaining.
      • clearContext22

        @Deprecated
        public OpenRtb.BidRequest.Content.Builder clearContext22()
        Deprecated.
        com.google.openrtb.BidRequest.Content.context_22 is deprecated. See openrtb.proto;l=950
         REMOVED in OpenRTB 2.3+. Prefer the field <code>context</code>.
         
        optional string context_22 = 12 [deprecated = true];
        Returns:
        This builder for chaining.
      • setContext22Bytes

        @Deprecated
        public OpenRtb.BidRequest.Content.Builder setContext22Bytes​(com.google.protobuf.ByteString value)
        Deprecated.
        com.google.openrtb.BidRequest.Content.context_22 is deprecated. See openrtb.proto;l=950
         REMOVED in OpenRTB 2.3+. Prefer the field <code>context</code>.
         
        optional string context_22 = 12 [deprecated = true];
        Parameters:
        value - The bytes for context22 to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final OpenRtb.BidRequest.Content.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidRequest.Content.Builder>
      • mergeUnknownFields

        public final OpenRtb.BidRequest.Content.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidRequest.Content.Builder>