Class OpenRtb.BidRequest.Site.Builder

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

    public static final class OpenRtb.BidRequest.Site.Builder
    extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest.Site,​OpenRtb.BidRequest.Site.Builder>
    implements OpenRtb.BidRequest.SiteOrBuilder
     OpenRTB 2.0: This object should be included if the ad supported content
     is a website as opposed to a non-browser application. A bid request must
     not contain both a Site and an App object. At a minimum, it is useful to
     provide a site ID or page URL, but this is not strictly required.
     
    Protobuf type com.google.openrtb.BidRequest.Site
    • 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.Site.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.Site.Builder>
      • getDefaultInstanceForType

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

        public OpenRtb.BidRequest.Site 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.Site buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public OpenRtb.BidRequest.Site.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidRequest.Site.Builder>
      • clearOneof

        public OpenRtb.BidRequest.Site.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidRequest.Site.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest.Site,​OpenRtb.BidRequest.Site.Builder>
      • mergeFrom

        public OpenRtb.BidRequest.Site.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.Site.Builder>
        Throws:
        IOException
      • hasId

        public boolean hasId()
         Site ID on the exchange.
         RECOMMENDED by the OpenRTB specification.
         
        optional string id = 1;
        Specified by:
        hasId in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        Whether the id field is set.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         Site ID on the exchange.
         RECOMMENDED by the OpenRTB specification.
         
        optional string id = 1;
        Specified by:
        getIdBytes in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        The bytes for id.
      • setId

        public OpenRtb.BidRequest.Site.Builder setId​(String value)
         Site ID on the exchange.
         RECOMMENDED by the OpenRTB specification.
         
        optional string id = 1;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public OpenRtb.BidRequest.Site.Builder clearId()
         Site ID on the exchange.
         RECOMMENDED by the OpenRTB specification.
         
        optional string id = 1;
        Returns:
        This builder for chaining.
      • setIdBytes

        public OpenRtb.BidRequest.Site.Builder setIdBytes​(com.google.protobuf.ByteString value)
         Site ID on the exchange.
         RECOMMENDED by the OpenRTB specification.
         
        optional string id = 1;
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • hasName

        public boolean hasName()
         Site name (may be masked at publisher's request).
         
        optional string name = 2;
        Specified by:
        hasName in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        Whether the name field is set.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Site name (may be masked at publisher's request).
         
        optional string name = 2;
        Specified by:
        getNameBytes in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        The bytes for name.
      • setName

        public OpenRtb.BidRequest.Site.Builder setName​(String value)
         Site name (may be masked at publisher's request).
         
        optional string name = 2;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public OpenRtb.BidRequest.Site.Builder clearName()
         Site name (may be masked at publisher's request).
         
        optional string name = 2;
        Returns:
        This builder for chaining.
      • setNameBytes

        public OpenRtb.BidRequest.Site.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Site name (may be masked at publisher's request).
         
        optional string name = 2;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasDomain

        public boolean hasDomain()
         Domain of the site, used for advertiser side blocking.
         For example, "foo.com".
         
        optional string domain = 3;
        Specified by:
        hasDomain in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        Whether the domain field is set.
      • getDomain

        public String getDomain()
         Domain of the site, used for advertiser side blocking.
         For example, "foo.com".
         
        optional string domain = 3;
        Specified by:
        getDomain in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        The domain.
      • getDomainBytes

        public com.google.protobuf.ByteString getDomainBytes()
         Domain of the site, used for advertiser side blocking.
         For example, "foo.com".
         
        optional string domain = 3;
        Specified by:
        getDomainBytes in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        The bytes for domain.
      • setDomain

        public OpenRtb.BidRequest.Site.Builder setDomain​(String value)
         Domain of the site, used for advertiser side blocking.
         For example, "foo.com".
         
        optional string domain = 3;
        Parameters:
        value - The domain to set.
        Returns:
        This builder for chaining.
      • clearDomain

        public OpenRtb.BidRequest.Site.Builder clearDomain()
         Domain of the site, used for advertiser side blocking.
         For example, "foo.com".
         
        optional string domain = 3;
        Returns:
        This builder for chaining.
      • setDomainBytes

        public OpenRtb.BidRequest.Site.Builder setDomainBytes​(com.google.protobuf.ByteString value)
         Domain of the site, used for advertiser side blocking.
         For example, "foo.com".
         
        optional string domain = 3;
        Parameters:
        value - The bytes for domain to set.
        Returns:
        This builder for chaining.
      • getCatList

        public com.google.protobuf.ProtocolStringList getCatList()
         Array of IAB content categories of the site.
         See enum ContentCategory.
         
        repeated string cat = 4;
        Specified by:
        getCatList in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        A list containing the cat.
      • getCatCount

        public int getCatCount()
         Array of IAB content categories of the site.
         See enum ContentCategory.
         
        repeated string cat = 4;
        Specified by:
        getCatCount in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        The count of cat.
      • getCat

        public String getCat​(int index)
         Array of IAB content categories of the site.
         See enum ContentCategory.
         
        repeated string cat = 4;
        Specified by:
        getCat in interface OpenRtb.BidRequest.SiteOrBuilder
        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 of the site.
         See enum ContentCategory.
         
        repeated string cat = 4;
        Specified by:
        getCatBytes in interface OpenRtb.BidRequest.SiteOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the cat at the given index.
      • setCat

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

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

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

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

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

        public com.google.protobuf.ProtocolStringList getSectioncatList()
         Array of IAB content categories that describe the current section
         of the site.
         See enum ContentCategory.
         
        repeated string sectioncat = 5;
        Specified by:
        getSectioncatList in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        A list containing the sectioncat.
      • getSectioncatCount

        public int getSectioncatCount()
         Array of IAB content categories that describe the current section
         of the site.
         See enum ContentCategory.
         
        repeated string sectioncat = 5;
        Specified by:
        getSectioncatCount in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        The count of sectioncat.
      • getSectioncat

        public String getSectioncat​(int index)
         Array of IAB content categories that describe the current section
         of the site.
         See enum ContentCategory.
         
        repeated string sectioncat = 5;
        Specified by:
        getSectioncat in interface OpenRtb.BidRequest.SiteOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The sectioncat at the given index.
      • getSectioncatBytes

        public com.google.protobuf.ByteString getSectioncatBytes​(int index)
         Array of IAB content categories that describe the current section
         of the site.
         See enum ContentCategory.
         
        repeated string sectioncat = 5;
        Specified by:
        getSectioncatBytes in interface OpenRtb.BidRequest.SiteOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the sectioncat at the given index.
      • setSectioncat

        public OpenRtb.BidRequest.Site.Builder setSectioncat​(int index,
                                                             String value)
         Array of IAB content categories that describe the current section
         of the site.
         See enum ContentCategory.
         
        repeated string sectioncat = 5;
        Parameters:
        index - The index to set the value at.
        value - The sectioncat to set.
        Returns:
        This builder for chaining.
      • addSectioncat

        public OpenRtb.BidRequest.Site.Builder addSectioncat​(String value)
         Array of IAB content categories that describe the current section
         of the site.
         See enum ContentCategory.
         
        repeated string sectioncat = 5;
        Parameters:
        value - The sectioncat to add.
        Returns:
        This builder for chaining.
      • addAllSectioncat

        public OpenRtb.BidRequest.Site.Builder addAllSectioncat​(Iterable<String> values)
         Array of IAB content categories that describe the current section
         of the site.
         See enum ContentCategory.
         
        repeated string sectioncat = 5;
        Parameters:
        values - The sectioncat to add.
        Returns:
        This builder for chaining.
      • clearSectioncat

        public OpenRtb.BidRequest.Site.Builder clearSectioncat()
         Array of IAB content categories that describe the current section
         of the site.
         See enum ContentCategory.
         
        repeated string sectioncat = 5;
        Returns:
        This builder for chaining.
      • addSectioncatBytes

        public OpenRtb.BidRequest.Site.Builder addSectioncatBytes​(com.google.protobuf.ByteString value)
         Array of IAB content categories that describe the current section
         of the site.
         See enum ContentCategory.
         
        repeated string sectioncat = 5;
        Parameters:
        value - The bytes of the sectioncat to add.
        Returns:
        This builder for chaining.
      • getPagecatList

        public com.google.protobuf.ProtocolStringList getPagecatList()
         Array of IAB content categories that describe the current page or view
         of the site.
         See enum ContentCategory.
         
        repeated string pagecat = 6;
        Specified by:
        getPagecatList in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        A list containing the pagecat.
      • getPagecatCount

        public int getPagecatCount()
         Array of IAB content categories that describe the current page or view
         of the site.
         See enum ContentCategory.
         
        repeated string pagecat = 6;
        Specified by:
        getPagecatCount in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        The count of pagecat.
      • getPagecat

        public String getPagecat​(int index)
         Array of IAB content categories that describe the current page or view
         of the site.
         See enum ContentCategory.
         
        repeated string pagecat = 6;
        Specified by:
        getPagecat in interface OpenRtb.BidRequest.SiteOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The pagecat at the given index.
      • getPagecatBytes

        public com.google.protobuf.ByteString getPagecatBytes​(int index)
         Array of IAB content categories that describe the current page or view
         of the site.
         See enum ContentCategory.
         
        repeated string pagecat = 6;
        Specified by:
        getPagecatBytes in interface OpenRtb.BidRequest.SiteOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the pagecat at the given index.
      • setPagecat

        public OpenRtb.BidRequest.Site.Builder setPagecat​(int index,
                                                          String value)
         Array of IAB content categories that describe the current page or view
         of the site.
         See enum ContentCategory.
         
        repeated string pagecat = 6;
        Parameters:
        index - The index to set the value at.
        value - The pagecat to set.
        Returns:
        This builder for chaining.
      • addPagecat

        public OpenRtb.BidRequest.Site.Builder addPagecat​(String value)
         Array of IAB content categories that describe the current page or view
         of the site.
         See enum ContentCategory.
         
        repeated string pagecat = 6;
        Parameters:
        value - The pagecat to add.
        Returns:
        This builder for chaining.
      • addAllPagecat

        public OpenRtb.BidRequest.Site.Builder addAllPagecat​(Iterable<String> values)
         Array of IAB content categories that describe the current page or view
         of the site.
         See enum ContentCategory.
         
        repeated string pagecat = 6;
        Parameters:
        values - The pagecat to add.
        Returns:
        This builder for chaining.
      • clearPagecat

        public OpenRtb.BidRequest.Site.Builder clearPagecat()
         Array of IAB content categories that describe the current page or view
         of the site.
         See enum ContentCategory.
         
        repeated string pagecat = 6;
        Returns:
        This builder for chaining.
      • addPagecatBytes

        public OpenRtb.BidRequest.Site.Builder addPagecatBytes​(com.google.protobuf.ByteString value)
         Array of IAB content categories that describe the current page or view
         of the site.
         See enum ContentCategory.
         
        repeated string pagecat = 6;
        Parameters:
        value - The bytes of the pagecat to add.
        Returns:
        This builder for chaining.
      • hasPage

        public boolean hasPage()
         URL of the page where the impression will be shown.
         
        optional string page = 7;
        Specified by:
        hasPage in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        Whether the page field is set.
      • getPageBytes

        public com.google.protobuf.ByteString getPageBytes()
         URL of the page where the impression will be shown.
         
        optional string page = 7;
        Specified by:
        getPageBytes in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        The bytes for page.
      • setPage

        public OpenRtb.BidRequest.Site.Builder setPage​(String value)
         URL of the page where the impression will be shown.
         
        optional string page = 7;
        Parameters:
        value - The page to set.
        Returns:
        This builder for chaining.
      • clearPage

        public OpenRtb.BidRequest.Site.Builder clearPage()
         URL of the page where the impression will be shown.
         
        optional string page = 7;
        Returns:
        This builder for chaining.
      • setPageBytes

        public OpenRtb.BidRequest.Site.Builder setPageBytes​(com.google.protobuf.ByteString value)
         URL of the page where the impression will be shown.
         
        optional string page = 7;
        Parameters:
        value - The bytes for page to set.
        Returns:
        This builder for chaining.
      • hasPrivacypolicy

        public boolean hasPrivacypolicy()
         Indicates if the site has a privacy policy.
         
        optional bool privacypolicy = 8;
        Specified by:
        hasPrivacypolicy in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        Whether the privacypolicy field is set.
      • setPrivacypolicy

        public OpenRtb.BidRequest.Site.Builder setPrivacypolicy​(boolean value)
         Indicates if the site has a privacy policy.
         
        optional bool privacypolicy = 8;
        Parameters:
        value - The privacypolicy to set.
        Returns:
        This builder for chaining.
      • clearPrivacypolicy

        public OpenRtb.BidRequest.Site.Builder clearPrivacypolicy()
         Indicates if the site has a privacy policy.
         
        optional bool privacypolicy = 8;
        Returns:
        This builder for chaining.
      • hasRef

        public boolean hasRef()
         Referrer URL that caused navigation to the current page.
         
        optional string ref = 9;
        Specified by:
        hasRef in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        Whether the ref field is set.
      • getRefBytes

        public com.google.protobuf.ByteString getRefBytes()
         Referrer URL that caused navigation to the current page.
         
        optional string ref = 9;
        Specified by:
        getRefBytes in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        The bytes for ref.
      • setRef

        public OpenRtb.BidRequest.Site.Builder setRef​(String value)
         Referrer URL that caused navigation to the current page.
         
        optional string ref = 9;
        Parameters:
        value - The ref to set.
        Returns:
        This builder for chaining.
      • clearRef

        public OpenRtb.BidRequest.Site.Builder clearRef()
         Referrer URL that caused navigation to the current page.
         
        optional string ref = 9;
        Returns:
        This builder for chaining.
      • setRefBytes

        public OpenRtb.BidRequest.Site.Builder setRefBytes​(com.google.protobuf.ByteString value)
         Referrer URL that caused navigation to the current page.
         
        optional string ref = 9;
        Parameters:
        value - The bytes for ref to set.
        Returns:
        This builder for chaining.
      • hasSearch

        public boolean hasSearch()
         Search string that caused navigation to the current page.
         
        optional string search = 10;
        Specified by:
        hasSearch in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        Whether the search field is set.
      • getSearchBytes

        public com.google.protobuf.ByteString getSearchBytes()
         Search string that caused navigation to the current page.
         
        optional string search = 10;
        Specified by:
        getSearchBytes in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        The bytes for search.
      • setSearch

        public OpenRtb.BidRequest.Site.Builder setSearch​(String value)
         Search string that caused navigation to the current page.
         
        optional string search = 10;
        Parameters:
        value - The search to set.
        Returns:
        This builder for chaining.
      • clearSearch

        public OpenRtb.BidRequest.Site.Builder clearSearch()
         Search string that caused navigation to the current page.
         
        optional string search = 10;
        Returns:
        This builder for chaining.
      • setSearchBytes

        public OpenRtb.BidRequest.Site.Builder setSearchBytes​(com.google.protobuf.ByteString value)
         Search string that caused navigation to the current page.
         
        optional string search = 10;
        Parameters:
        value - The bytes for search to set.
        Returns:
        This builder for chaining.
      • hasPublisher

        public boolean hasPublisher()
         Details about the Publisher (Section 3.2.8) of the site.
         
        optional .com.google.openrtb.BidRequest.Publisher publisher = 11;
        Specified by:
        hasPublisher in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        Whether the publisher field is set.
      • clearPublisher

        public OpenRtb.BidRequest.Site.Builder clearPublisher()
         Details about the Publisher (Section 3.2.8) of the site.
         
        optional .com.google.openrtb.BidRequest.Publisher publisher = 11;
      • getPublisherBuilder

        public OpenRtb.BidRequest.Publisher.Builder getPublisherBuilder()
         Details about the Publisher (Section 3.2.8) of the site.
         
        optional .com.google.openrtb.BidRequest.Publisher publisher = 11;
      • hasContent

        public boolean hasContent()
         Details about the Content (Section 3.2.9) within the site.
         
        optional .com.google.openrtb.BidRequest.Content content = 12;
        Specified by:
        hasContent in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        Whether the content field is set.
      • clearContent

        public OpenRtb.BidRequest.Site.Builder clearContent()
         Details about the Content (Section 3.2.9) within the site.
         
        optional .com.google.openrtb.BidRequest.Content content = 12;
      • getContentBuilder

        public OpenRtb.BidRequest.Content.Builder getContentBuilder()
         Details about the Content (Section 3.2.9) within the site.
         
        optional .com.google.openrtb.BidRequest.Content content = 12;
      • hasKeywords

        public boolean hasKeywords()
         Comma separated list of keywords about this site.
         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 = 13;
        Specified by:
        hasKeywords in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        Whether the keywords field is set.
      • getKeywords

        public String getKeywords()
         Comma separated list of keywords about this site.
         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 = 13;
        Specified by:
        getKeywords in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        The keywords.
      • getKeywordsBytes

        public com.google.protobuf.ByteString getKeywordsBytes()
         Comma separated list of keywords about this site.
         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 = 13;
        Specified by:
        getKeywordsBytes in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        The bytes for keywords.
      • setKeywords

        public OpenRtb.BidRequest.Site.Builder setKeywords​(String value)
         Comma separated list of keywords about this site.
         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 = 13;
        Parameters:
        value - The keywords to set.
        Returns:
        This builder for chaining.
      • clearKeywords

        public OpenRtb.BidRequest.Site.Builder clearKeywords()
         Comma separated list of keywords about this site.
         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 = 13;
        Returns:
        This builder for chaining.
      • setKeywordsBytes

        public OpenRtb.BidRequest.Site.Builder setKeywordsBytes​(com.google.protobuf.ByteString value)
         Comma separated list of keywords about this site.
         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 = 13;
        Parameters:
        value - The bytes for keywords to set.
        Returns:
        This builder for chaining.
      • hasMobile

        public boolean hasMobile()
         Indicates if the site has been programmed to optimize layout
         when viewed on mobile devices.
         
        optional bool mobile = 15;
        Specified by:
        hasMobile in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        Whether the mobile field is set.
      • getMobile

        public boolean getMobile()
         Indicates if the site has been programmed to optimize layout
         when viewed on mobile devices.
         
        optional bool mobile = 15;
        Specified by:
        getMobile in interface OpenRtb.BidRequest.SiteOrBuilder
        Returns:
        The mobile.
      • setMobile

        public OpenRtb.BidRequest.Site.Builder setMobile​(boolean value)
         Indicates if the site has been programmed to optimize layout
         when viewed on mobile devices.
         
        optional bool mobile = 15;
        Parameters:
        value - The mobile to set.
        Returns:
        This builder for chaining.
      • clearMobile

        public OpenRtb.BidRequest.Site.Builder clearMobile()
         Indicates if the site has been programmed to optimize layout
         when viewed on mobile devices.
         
        optional bool mobile = 15;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final OpenRtb.BidRequest.Site.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.Site.Builder>
      • mergeUnknownFields

        public final OpenRtb.BidRequest.Site.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.Site.Builder>