Class OpenRtb.BidResponse.SeatBid.Bid.Builder

    • 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.BidResponse.SeatBid.Bid.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.BidResponse.SeatBid.Bid.Builder>
      • getDefaultInstanceForType

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

        public OpenRtb.BidResponse.SeatBid.Bid build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public OpenRtb.BidResponse.SeatBid.Bid buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • hasId

        public boolean hasId()
         Bidder generated bid ID to assist with logging/tracking.
         REQUIRED by the OpenRTB specification.
         
        required string id = 1;
        Specified by:
        hasId in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the id field is set.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         Bidder generated bid ID to assist with logging/tracking.
         REQUIRED by the OpenRTB specification.
         
        required string id = 1;
        Specified by:
        getIdBytes in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The bytes for id.
      • setId

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setId​(String value)
         Bidder generated bid ID to assist with logging/tracking.
         REQUIRED by the OpenRTB specification.
         
        required string id = 1;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearId()
         Bidder generated bid ID to assist with logging/tracking.
         REQUIRED by the OpenRTB specification.
         
        required string id = 1;
        Returns:
        This builder for chaining.
      • setIdBytes

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setIdBytes​(com.google.protobuf.ByteString value)
         Bidder generated bid ID to assist with logging/tracking.
         REQUIRED by the OpenRTB specification.
         
        required string id = 1;
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • hasImpid

        public boolean hasImpid()
         ID of the Imp object in the related bid request.
         REQUIRED by the OpenRTB specification.
         
        required string impid = 2;
        Specified by:
        hasImpid in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the impid field is set.
      • getImpidBytes

        public com.google.protobuf.ByteString getImpidBytes()
         ID of the Imp object in the related bid request.
         REQUIRED by the OpenRTB specification.
         
        required string impid = 2;
        Specified by:
        getImpidBytes in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The bytes for impid.
      • setImpid

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setImpid​(String value)
         ID of the Imp object in the related bid request.
         REQUIRED by the OpenRTB specification.
         
        required string impid = 2;
        Parameters:
        value - The impid to set.
        Returns:
        This builder for chaining.
      • clearImpid

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearImpid()
         ID of the Imp object in the related bid request.
         REQUIRED by the OpenRTB specification.
         
        required string impid = 2;
        Returns:
        This builder for chaining.
      • setImpidBytes

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setImpidBytes​(com.google.protobuf.ByteString value)
         ID of the Imp object in the related bid request.
         REQUIRED by the OpenRTB specification.
         
        required string impid = 2;
        Parameters:
        value - The bytes for impid to set.
        Returns:
        This builder for chaining.
      • hasPrice

        public boolean hasPrice()
         Bid price expressed as CPM although the actual transaction is for a
         unit impression only. Note that while the type indicates float, integer
         math is highly recommended when handling currencies
         (e.g., BigDecimal in Java).
         REQUIRED by the OpenRTB specification.
         
        required double price = 3;
        Specified by:
        hasPrice in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the price field is set.
      • getPrice

        public double getPrice()
         Bid price expressed as CPM although the actual transaction is for a
         unit impression only. Note that while the type indicates float, integer
         math is highly recommended when handling currencies
         (e.g., BigDecimal in Java).
         REQUIRED by the OpenRTB specification.
         
        required double price = 3;
        Specified by:
        getPrice in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The price.
      • setPrice

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setPrice​(double value)
         Bid price expressed as CPM although the actual transaction is for a
         unit impression only. Note that while the type indicates float, integer
         math is highly recommended when handling currencies
         (e.g., BigDecimal in Java).
         REQUIRED by the OpenRTB specification.
         
        required double price = 3;
        Parameters:
        value - The price to set.
        Returns:
        This builder for chaining.
      • clearPrice

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearPrice()
         Bid price expressed as CPM although the actual transaction is for a
         unit impression only. Note that while the type indicates float, integer
         math is highly recommended when handling currencies
         (e.g., BigDecimal in Java).
         REQUIRED by the OpenRTB specification.
         
        required double price = 3;
        Returns:
        This builder for chaining.
      • hasNurl

        public boolean hasNurl()
         Win notice URL called by the exchange if the bid wins; optional means
         of serving ad markup.
         
        optional string nurl = 5;
        Specified by:
        hasNurl in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the nurl field is set.
      • getNurlBytes

        public com.google.protobuf.ByteString getNurlBytes()
         Win notice URL called by the exchange if the bid wins; optional means
         of serving ad markup.
         
        optional string nurl = 5;
        Specified by:
        getNurlBytes in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The bytes for nurl.
      • setNurl

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setNurl​(String value)
         Win notice URL called by the exchange if the bid wins; optional means
         of serving ad markup.
         
        optional string nurl = 5;
        Parameters:
        value - The nurl to set.
        Returns:
        This builder for chaining.
      • clearNurl

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearNurl()
         Win notice URL called by the exchange if the bid wins; optional means
         of serving ad markup.
         
        optional string nurl = 5;
        Returns:
        This builder for chaining.
      • setNurlBytes

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setNurlBytes​(com.google.protobuf.ByteString value)
         Win notice URL called by the exchange if the bid wins; optional means
         of serving ad markup.
         
        optional string nurl = 5;
        Parameters:
        value - The bytes for nurl to set.
        Returns:
        This builder for chaining.
      • hasBurl

        public boolean hasBurl()
         Billing notice URL called by the exchange when a winning bid
         becomes billable based on exchange-specific business policy
         (e.g., typically delivered, viewed, etc.). Substitution macros
         (Section 4.4) may be included.
         
        optional string burl = 22;
        Specified by:
        hasBurl in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the burl field is set.
      • getBurl

        public String getBurl()
         Billing notice URL called by the exchange when a winning bid
         becomes billable based on exchange-specific business policy
         (e.g., typically delivered, viewed, etc.). Substitution macros
         (Section 4.4) may be included.
         
        optional string burl = 22;
        Specified by:
        getBurl in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The burl.
      • getBurlBytes

        public com.google.protobuf.ByteString getBurlBytes()
         Billing notice URL called by the exchange when a winning bid
         becomes billable based on exchange-specific business policy
         (e.g., typically delivered, viewed, etc.). Substitution macros
         (Section 4.4) may be included.
         
        optional string burl = 22;
        Specified by:
        getBurlBytes in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The bytes for burl.
      • setBurl

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setBurl​(String value)
         Billing notice URL called by the exchange when a winning bid
         becomes billable based on exchange-specific business policy
         (e.g., typically delivered, viewed, etc.). Substitution macros
         (Section 4.4) may be included.
         
        optional string burl = 22;
        Parameters:
        value - The burl to set.
        Returns:
        This builder for chaining.
      • clearBurl

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearBurl()
         Billing notice URL called by the exchange when a winning bid
         becomes billable based on exchange-specific business policy
         (e.g., typically delivered, viewed, etc.). Substitution macros
         (Section 4.4) may be included.
         
        optional string burl = 22;
        Returns:
        This builder for chaining.
      • setBurlBytes

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setBurlBytes​(com.google.protobuf.ByteString value)
         Billing notice URL called by the exchange when a winning bid
         becomes billable based on exchange-specific business policy
         (e.g., typically delivered, viewed, etc.). Substitution macros
         (Section 4.4) may be included.
         
        optional string burl = 22;
        Parameters:
        value - The bytes for burl to set.
        Returns:
        This builder for chaining.
      • hasLurl

        public boolean hasLurl()
         Loss notice URL called by the exchange when a bid is known to
         have been lost. Substitution macros (Section 4.4) may be
         included. Exchange-specific policy may preclude support for
         loss notices or the disclosure of winning clearing prices
         resulting in ${AUCTION_PRICE} macros being removed (i.e.,
         replaced with a zero-length string).
         
        optional string lurl = 23;
        Specified by:
        hasLurl in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the lurl field is set.
      • getLurl

        public String getLurl()
         Loss notice URL called by the exchange when a bid is known to
         have been lost. Substitution macros (Section 4.4) may be
         included. Exchange-specific policy may preclude support for
         loss notices or the disclosure of winning clearing prices
         resulting in ${AUCTION_PRICE} macros being removed (i.e.,
         replaced with a zero-length string).
         
        optional string lurl = 23;
        Specified by:
        getLurl in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The lurl.
      • getLurlBytes

        public com.google.protobuf.ByteString getLurlBytes()
         Loss notice URL called by the exchange when a bid is known to
         have been lost. Substitution macros (Section 4.4) may be
         included. Exchange-specific policy may preclude support for
         loss notices or the disclosure of winning clearing prices
         resulting in ${AUCTION_PRICE} macros being removed (i.e.,
         replaced with a zero-length string).
         
        optional string lurl = 23;
        Specified by:
        getLurlBytes in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The bytes for lurl.
      • setLurl

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setLurl​(String value)
         Loss notice URL called by the exchange when a bid is known to
         have been lost. Substitution macros (Section 4.4) may be
         included. Exchange-specific policy may preclude support for
         loss notices or the disclosure of winning clearing prices
         resulting in ${AUCTION_PRICE} macros being removed (i.e.,
         replaced with a zero-length string).
         
        optional string lurl = 23;
        Parameters:
        value - The lurl to set.
        Returns:
        This builder for chaining.
      • clearLurl

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearLurl()
         Loss notice URL called by the exchange when a bid is known to
         have been lost. Substitution macros (Section 4.4) may be
         included. Exchange-specific policy may preclude support for
         loss notices or the disclosure of winning clearing prices
         resulting in ${AUCTION_PRICE} macros being removed (i.e.,
         replaced with a zero-length string).
         
        optional string lurl = 23;
        Returns:
        This builder for chaining.
      • setLurlBytes

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setLurlBytes​(com.google.protobuf.ByteString value)
         Loss notice URL called by the exchange when a bid is known to
         have been lost. Substitution macros (Section 4.4) may be
         included. Exchange-specific policy may preclude support for
         loss notices or the disclosure of winning clearing prices
         resulting in ${AUCTION_PRICE} macros being removed (i.e.,
         replaced with a zero-length string).
         
        optional string lurl = 23;
        Parameters:
        value - The bytes for lurl to set.
        Returns:
        This builder for chaining.
      • hasAdm

        public boolean hasAdm()
         Optional means of conveying ad markup in case the bid wins;
         supersedes the win notice if markup is included in both.
         For native ad bids, exactly one of {adm, adm_native} should be used;
         this is the OpenRTB-compliant field for JSON serialization.
         
        string adm = 6;
        Specified by:
        hasAdm in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the adm field is set.
      • getAdm

        public String getAdm()
         Optional means of conveying ad markup in case the bid wins;
         supersedes the win notice if markup is included in both.
         For native ad bids, exactly one of {adm, adm_native} should be used;
         this is the OpenRTB-compliant field for JSON serialization.
         
        string adm = 6;
        Specified by:
        getAdm in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The adm.
      • getAdmBytes

        public com.google.protobuf.ByteString getAdmBytes()
         Optional means of conveying ad markup in case the bid wins;
         supersedes the win notice if markup is included in both.
         For native ad bids, exactly one of {adm, adm_native} should be used;
         this is the OpenRTB-compliant field for JSON serialization.
         
        string adm = 6;
        Specified by:
        getAdmBytes in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The bytes for adm.
      • setAdm

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setAdm​(String value)
         Optional means of conveying ad markup in case the bid wins;
         supersedes the win notice if markup is included in both.
         For native ad bids, exactly one of {adm, adm_native} should be used;
         this is the OpenRTB-compliant field for JSON serialization.
         
        string adm = 6;
        Parameters:
        value - The adm to set.
        Returns:
        This builder for chaining.
      • clearAdm

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearAdm()
         Optional means of conveying ad markup in case the bid wins;
         supersedes the win notice if markup is included in both.
         For native ad bids, exactly one of {adm, adm_native} should be used;
         this is the OpenRTB-compliant field for JSON serialization.
         
        string adm = 6;
        Returns:
        This builder for chaining.
      • setAdmBytes

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setAdmBytes​(com.google.protobuf.ByteString value)
         Optional means of conveying ad markup in case the bid wins;
         supersedes the win notice if markup is included in both.
         For native ad bids, exactly one of {adm, adm_native} should be used;
         this is the OpenRTB-compliant field for JSON serialization.
         
        string adm = 6;
        Parameters:
        value - The bytes for adm to set.
        Returns:
        This builder for chaining.
      • hasAdmNative

        public boolean hasAdmNative()
         Native ad response.
         For native ad bids, exactly one of {adm, adm_native} should be used;
         this is the field used for Protobuf serialization.
         
        .com.google.openrtb.NativeResponse adm_native = 50;
        Specified by:
        hasAdmNative in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the admNative field is set.
      • mergeAdmNative

        public OpenRtb.BidResponse.SeatBid.Bid.Builder mergeAdmNative​(OpenRtb.NativeResponse value)
         Native ad response.
         For native ad bids, exactly one of {adm, adm_native} should be used;
         this is the field used for Protobuf serialization.
         
        .com.google.openrtb.NativeResponse adm_native = 50;
      • clearAdmNative

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearAdmNative()
         Native ad response.
         For native ad bids, exactly one of {adm, adm_native} should be used;
         this is the field used for Protobuf serialization.
         
        .com.google.openrtb.NativeResponse adm_native = 50;
      • getAdmNativeBuilder

        public OpenRtb.NativeResponse.Builder getAdmNativeBuilder()
         Native ad response.
         For native ad bids, exactly one of {adm, adm_native} should be used;
         this is the field used for Protobuf serialization.
         
        .com.google.openrtb.NativeResponse adm_native = 50;
      • setAdid

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setAdid​(String value)
         ID of a preloaded ad to serve if the bid wins.
         
        optional string adid = 4;
        Parameters:
        value - The adid to set.
        Returns:
        This builder for chaining.
      • setAdidBytes

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setAdidBytes​(com.google.protobuf.ByteString value)
         ID of a preloaded ad to serve if the bid wins.
         
        optional string adid = 4;
        Parameters:
        value - The bytes for adid to set.
        Returns:
        This builder for chaining.
      • getAdomainList

        public com.google.protobuf.ProtocolStringList getAdomainList()
         Advertiser domain for block list checking (e.g., "ford.com"). This can
         be an array of for the case of rotating creatives. Exchanges can
         mandate that only one domain is allowed.
         
        repeated string adomain = 7;
        Specified by:
        getAdomainList in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        A list containing the adomain.
      • getAdomainCount

        public int getAdomainCount()
         Advertiser domain for block list checking (e.g., "ford.com"). This can
         be an array of for the case of rotating creatives. Exchanges can
         mandate that only one domain is allowed.
         
        repeated string adomain = 7;
        Specified by:
        getAdomainCount in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The count of adomain.
      • getAdomain

        public String getAdomain​(int index)
         Advertiser domain for block list checking (e.g., "ford.com"). This can
         be an array of for the case of rotating creatives. Exchanges can
         mandate that only one domain is allowed.
         
        repeated string adomain = 7;
        Specified by:
        getAdomain in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The adomain at the given index.
      • getAdomainBytes

        public com.google.protobuf.ByteString getAdomainBytes​(int index)
         Advertiser domain for block list checking (e.g., "ford.com"). This can
         be an array of for the case of rotating creatives. Exchanges can
         mandate that only one domain is allowed.
         
        repeated string adomain = 7;
        Specified by:
        getAdomainBytes in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the adomain at the given index.
      • setAdomain

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setAdomain​(int index,
                                                                  String value)
         Advertiser domain for block list checking (e.g., "ford.com"). This can
         be an array of for the case of rotating creatives. Exchanges can
         mandate that only one domain is allowed.
         
        repeated string adomain = 7;
        Parameters:
        index - The index to set the value at.
        value - The adomain to set.
        Returns:
        This builder for chaining.
      • addAdomain

        public OpenRtb.BidResponse.SeatBid.Bid.Builder addAdomain​(String value)
         Advertiser domain for block list checking (e.g., "ford.com"). This can
         be an array of for the case of rotating creatives. Exchanges can
         mandate that only one domain is allowed.
         
        repeated string adomain = 7;
        Parameters:
        value - The adomain to add.
        Returns:
        This builder for chaining.
      • addAllAdomain

        public OpenRtb.BidResponse.SeatBid.Bid.Builder addAllAdomain​(Iterable<String> values)
         Advertiser domain for block list checking (e.g., "ford.com"). This can
         be an array of for the case of rotating creatives. Exchanges can
         mandate that only one domain is allowed.
         
        repeated string adomain = 7;
        Parameters:
        values - The adomain to add.
        Returns:
        This builder for chaining.
      • clearAdomain

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearAdomain()
         Advertiser domain for block list checking (e.g., "ford.com"). This can
         be an array of for the case of rotating creatives. Exchanges can
         mandate that only one domain is allowed.
         
        repeated string adomain = 7;
        Returns:
        This builder for chaining.
      • addAdomainBytes

        public OpenRtb.BidResponse.SeatBid.Bid.Builder addAdomainBytes​(com.google.protobuf.ByteString value)
         Advertiser domain for block list checking (e.g., "ford.com"). This can
         be an array of for the case of rotating creatives. Exchanges can
         mandate that only one domain is allowed.
         
        repeated string adomain = 7;
        Parameters:
        value - The bytes of the adomain to add.
        Returns:
        This builder for chaining.
      • hasBundle

        public boolean hasBundle()
         A platform-specific application identifier intended to be
         unique to the app and independent of the exchange. On Android,
         this should be a bundle or package name (e.g., com.foo.mygame).
         On iOS, it is a numeric ID.
         
        optional string bundle = 14;
        Specified by:
        hasBundle in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the bundle field is set.
      • getBundle

        public String getBundle()
         A platform-specific application identifier intended to be
         unique to the app and independent of the exchange. On Android,
         this should be a bundle or package name (e.g., com.foo.mygame).
         On iOS, it is a numeric ID.
         
        optional string bundle = 14;
        Specified by:
        getBundle in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The bundle.
      • getBundleBytes

        public com.google.protobuf.ByteString getBundleBytes()
         A platform-specific application identifier intended to be
         unique to the app and independent of the exchange. On Android,
         this should be a bundle or package name (e.g., com.foo.mygame).
         On iOS, it is a numeric ID.
         
        optional string bundle = 14;
        Specified by:
        getBundleBytes in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The bytes for bundle.
      • setBundle

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setBundle​(String value)
         A platform-specific application identifier intended to be
         unique to the app and independent of the exchange. On Android,
         this should be a bundle or package name (e.g., com.foo.mygame).
         On iOS, it is a numeric ID.
         
        optional string bundle = 14;
        Parameters:
        value - The bundle to set.
        Returns:
        This builder for chaining.
      • clearBundle

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearBundle()
         A platform-specific application identifier intended to be
         unique to the app and independent of the exchange. On Android,
         this should be a bundle or package name (e.g., com.foo.mygame).
         On iOS, it is a numeric ID.
         
        optional string bundle = 14;
        Returns:
        This builder for chaining.
      • setBundleBytes

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setBundleBytes​(com.google.protobuf.ByteString value)
         A platform-specific application identifier intended to be
         unique to the app and independent of the exchange. On Android,
         this should be a bundle or package name (e.g., com.foo.mygame).
         On iOS, it is a numeric ID.
         
        optional string bundle = 14;
        Parameters:
        value - The bytes for bundle to set.
        Returns:
        This builder for chaining.
      • hasIurl

        public boolean hasIurl()
         URL without cache-busting to an image that is representative of the
         content of the campaign for ad quality/safety checking.
         
        optional string iurl = 8;
        Specified by:
        hasIurl in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the iurl field is set.
      • getIurl

        public String getIurl()
         URL without cache-busting to an image that is representative of the
         content of the campaign for ad quality/safety checking.
         
        optional string iurl = 8;
        Specified by:
        getIurl in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The iurl.
      • getIurlBytes

        public com.google.protobuf.ByteString getIurlBytes()
         URL without cache-busting to an image that is representative of the
         content of the campaign for ad quality/safety checking.
         
        optional string iurl = 8;
        Specified by:
        getIurlBytes in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The bytes for iurl.
      • setIurl

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setIurl​(String value)
         URL without cache-busting to an image that is representative of the
         content of the campaign for ad quality/safety checking.
         
        optional string iurl = 8;
        Parameters:
        value - The iurl to set.
        Returns:
        This builder for chaining.
      • clearIurl

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearIurl()
         URL without cache-busting to an image that is representative of the
         content of the campaign for ad quality/safety checking.
         
        optional string iurl = 8;
        Returns:
        This builder for chaining.
      • setIurlBytes

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setIurlBytes​(com.google.protobuf.ByteString value)
         URL without cache-busting to an image that is representative of the
         content of the campaign for ad quality/safety checking.
         
        optional string iurl = 8;
        Parameters:
        value - The bytes for iurl to set.
        Returns:
        This builder for chaining.
      • hasCid

        public boolean hasCid()
         Campaign ID to assist with ad quality checking; the collection of
         creatives for which iurl should be representative.
         
        optional string cid = 9;
        Specified by:
        hasCid in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the cid field is set.
      • getCid

        public String getCid()
         Campaign ID to assist with ad quality checking; the collection of
         creatives for which iurl should be representative.
         
        optional string cid = 9;
        Specified by:
        getCid in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The cid.
      • getCidBytes

        public com.google.protobuf.ByteString getCidBytes()
         Campaign ID to assist with ad quality checking; the collection of
         creatives for which iurl should be representative.
         
        optional string cid = 9;
        Specified by:
        getCidBytes in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The bytes for cid.
      • setCid

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setCid​(String value)
         Campaign ID to assist with ad quality checking; the collection of
         creatives for which iurl should be representative.
         
        optional string cid = 9;
        Parameters:
        value - The cid to set.
        Returns:
        This builder for chaining.
      • clearCid

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearCid()
         Campaign ID to assist with ad quality checking; the collection of
         creatives for which iurl should be representative.
         
        optional string cid = 9;
        Returns:
        This builder for chaining.
      • setCidBytes

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setCidBytes​(com.google.protobuf.ByteString value)
         Campaign ID to assist with ad quality checking; the collection of
         creatives for which iurl should be representative.
         
        optional string cid = 9;
        Parameters:
        value - The bytes for cid to set.
        Returns:
        This builder for chaining.
      • setCrid

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setCrid​(String value)
         Creative ID to assist with ad quality checking.
         
        optional string crid = 10;
        Parameters:
        value - The crid to set.
        Returns:
        This builder for chaining.
      • setCridBytes

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setCridBytes​(com.google.protobuf.ByteString value)
         Creative ID to assist with ad quality checking.
         
        optional string crid = 10;
        Parameters:
        value - The bytes for crid to set.
        Returns:
        This builder for chaining.
      • hasTactic

        public boolean hasTactic()
         Tactic ID to enable buyers to label bids for reporting to the
         exchange the tactic through which their bid was submitted.
         The specific usage and meaning of the tactic ID should be
         communicated between buyer and exchanges a priori.
         
        optional string tactic = 24;
        Specified by:
        hasTactic in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the tactic field is set.
      • getTactic

        public String getTactic()
         Tactic ID to enable buyers to label bids for reporting to the
         exchange the tactic through which their bid was submitted.
         The specific usage and meaning of the tactic ID should be
         communicated between buyer and exchanges a priori.
         
        optional string tactic = 24;
        Specified by:
        getTactic in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The tactic.
      • getTacticBytes

        public com.google.protobuf.ByteString getTacticBytes()
         Tactic ID to enable buyers to label bids for reporting to the
         exchange the tactic through which their bid was submitted.
         The specific usage and meaning of the tactic ID should be
         communicated between buyer and exchanges a priori.
         
        optional string tactic = 24;
        Specified by:
        getTacticBytes in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The bytes for tactic.
      • setTactic

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setTactic​(String value)
         Tactic ID to enable buyers to label bids for reporting to the
         exchange the tactic through which their bid was submitted.
         The specific usage and meaning of the tactic ID should be
         communicated between buyer and exchanges a priori.
         
        optional string tactic = 24;
        Parameters:
        value - The tactic to set.
        Returns:
        This builder for chaining.
      • clearTactic

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearTactic()
         Tactic ID to enable buyers to label bids for reporting to the
         exchange the tactic through which their bid was submitted.
         The specific usage and meaning of the tactic ID should be
         communicated between buyer and exchanges a priori.
         
        optional string tactic = 24;
        Returns:
        This builder for chaining.
      • setTacticBytes

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setTacticBytes​(com.google.protobuf.ByteString value)
         Tactic ID to enable buyers to label bids for reporting to the
         exchange the tactic through which their bid was submitted.
         The specific usage and meaning of the tactic ID should be
         communicated between buyer and exchanges a priori.
         
        optional string tactic = 24;
        Parameters:
        value - The bytes for tactic to set.
        Returns:
        This builder for chaining.
      • getCatList

        public com.google.protobuf.ProtocolStringList getCatList()
         IAB content categories of the creative.
         
        repeated string cat = 15;
        Specified by:
        getCatList in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        A list containing the cat.
      • getCat

        public String getCat​(int index)
         IAB content categories of the creative.
         
        repeated string cat = 15;
        Specified by:
        getCat in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        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)
         IAB content categories of the creative.
         
        repeated string cat = 15;
        Specified by:
        getCatBytes in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the cat at the given index.
      • setCat

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setCat​(int index,
                                                              String value)
         IAB content categories of the creative.
         
        repeated string cat = 15;
        Parameters:
        index - The index to set the value at.
        value - The cat to set.
        Returns:
        This builder for chaining.
      • addCatBytes

        public OpenRtb.BidResponse.SeatBid.Bid.Builder addCatBytes​(com.google.protobuf.ByteString value)
         IAB content categories of the creative.
         
        repeated string cat = 15;
        Parameters:
        value - The bytes of the cat to add.
        Returns:
        This builder for chaining.
      • getAttrCount

        public int getAttrCount()
         Set of attributes describing the creative.
         
        repeated .com.google.openrtb.CreativeAttribute attr = 11 [packed = true];
        Specified by:
        getAttrCount in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The count of attr.
      • setAttr

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setAttr​(int index,
                                                               OpenRtb.CreativeAttribute value)
         Set of attributes describing the creative.
         
        repeated .com.google.openrtb.CreativeAttribute attr = 11 [packed = true];
        Parameters:
        index - The index to set the value at.
        value - The attr to set.
        Returns:
        This builder for chaining.
      • clearAttr

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearAttr()
         Set of attributes describing the creative.
         
        repeated .com.google.openrtb.CreativeAttribute attr = 11 [packed = true];
        Returns:
        This builder for chaining.
      • hasApi

        public boolean hasApi()
         API required by the markup if applicable.
         
        optional .com.google.openrtb.APIFramework api = 18;
        Specified by:
        hasApi in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the api field is set.
      • clearApi

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearApi()
         API required by the markup if applicable.
         
        optional .com.google.openrtb.APIFramework api = 18;
        Returns:
        This builder for chaining.
      • hasProtocol

        public boolean hasProtocol()
         Video response protocol of the markup if applicable.
         
        optional .com.google.openrtb.Protocol protocol = 19;
        Specified by:
        hasProtocol in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the protocol field is set.
      • setProtocol

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setProtocol​(OpenRtb.Protocol value)
         Video response protocol of the markup if applicable.
         
        optional .com.google.openrtb.Protocol protocol = 19;
        Parameters:
        value - The protocol to set.
        Returns:
        This builder for chaining.
      • clearProtocol

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearProtocol()
         Video response protocol of the markup if applicable.
         
        optional .com.google.openrtb.Protocol protocol = 19;
        Returns:
        This builder for chaining.
      • hasQagmediarating

        public boolean hasQagmediarating()
         Creative media rating per QAG guidelines.
         
        optional .com.google.openrtb.QAGMediaRating qagmediarating = 20;
        Specified by:
        hasQagmediarating in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the qagmediarating field is set.
      • setQagmediarating

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setQagmediarating​(OpenRtb.QAGMediaRating value)
         Creative media rating per QAG guidelines.
         
        optional .com.google.openrtb.QAGMediaRating qagmediarating = 20;
        Parameters:
        value - The qagmediarating to set.
        Returns:
        This builder for chaining.
      • clearQagmediarating

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearQagmediarating()
         Creative media rating per QAG guidelines.
         
        optional .com.google.openrtb.QAGMediaRating qagmediarating = 20;
        Returns:
        This builder for chaining.
      • hasLanguage

        public boolean hasLanguage()
         Language of the creative using ISO-639-1-alpha-2. The nonstandard
         code "xx" may also be used if the creative has no
         linguistic content (e.g., a banner with just a company logo).
         
        optional string language = 25;
        Specified by:
        hasLanguage in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the language field is set.
      • getLanguage

        public String getLanguage()
         Language of the creative using ISO-639-1-alpha-2. The nonstandard
         code "xx" may also be used if the creative has no
         linguistic content (e.g., a banner with just a company logo).
         
        optional string language = 25;
        Specified by:
        getLanguage in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The language.
      • getLanguageBytes

        public com.google.protobuf.ByteString getLanguageBytes()
         Language of the creative using ISO-639-1-alpha-2. The nonstandard
         code "xx" may also be used if the creative has no
         linguistic content (e.g., a banner with just a company logo).
         
        optional string language = 25;
        Specified by:
        getLanguageBytes in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The bytes for language.
      • setLanguage

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setLanguage​(String value)
         Language of the creative using ISO-639-1-alpha-2. The nonstandard
         code "xx" may also be used if the creative has no
         linguistic content (e.g., a banner with just a company logo).
         
        optional string language = 25;
        Parameters:
        value - The language to set.
        Returns:
        This builder for chaining.
      • clearLanguage

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearLanguage()
         Language of the creative using ISO-639-1-alpha-2. The nonstandard
         code "xx" may also be used if the creative has no
         linguistic content (e.g., a banner with just a company logo).
         
        optional string language = 25;
        Returns:
        This builder for chaining.
      • setLanguageBytes

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setLanguageBytes​(com.google.protobuf.ByteString value)
         Language of the creative using ISO-639-1-alpha-2. The nonstandard
         code "xx" may also be used if the creative has no
         linguistic content (e.g., a banner with just a company logo).
         
        optional string language = 25;
        Parameters:
        value - The bytes for language to set.
        Returns:
        This builder for chaining.
      • hasDealid

        public boolean hasDealid()
         Reference to the deal.id from the bid request if this bid pertains to a
         private marketplace direct deal.
         
        optional string dealid = 13;
        Specified by:
        hasDealid in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the dealid field is set.
      • getDealidBytes

        public com.google.protobuf.ByteString getDealidBytes()
         Reference to the deal.id from the bid request if this bid pertains to a
         private marketplace direct deal.
         
        optional string dealid = 13;
        Specified by:
        getDealidBytes in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The bytes for dealid.
      • setDealid

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setDealid​(String value)
         Reference to the deal.id from the bid request if this bid pertains to a
         private marketplace direct deal.
         
        optional string dealid = 13;
        Parameters:
        value - The dealid to set.
        Returns:
        This builder for chaining.
      • clearDealid

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearDealid()
         Reference to the deal.id from the bid request if this bid pertains to a
         private marketplace direct deal.
         
        optional string dealid = 13;
        Returns:
        This builder for chaining.
      • setDealidBytes

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setDealidBytes​(com.google.protobuf.ByteString value)
         Reference to the deal.id from the bid request if this bid pertains to a
         private marketplace direct deal.
         
        optional string dealid = 13;
        Parameters:
        value - The bytes for dealid to set.
        Returns:
        This builder for chaining.
      • hasW

        public boolean hasW()
         Width of the creative in device independent pixels (DIPS).
         
        optional int32 w = 16;
        Specified by:
        hasW in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the w field is set.
      • setW

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setW​(int value)
         Width of the creative in device independent pixels (DIPS).
         
        optional int32 w = 16;
        Parameters:
        value - The w to set.
        Returns:
        This builder for chaining.
      • hasH

        public boolean hasH()
         Height of the creative in device independent pixels (DIPS).
         
        optional int32 h = 17;
        Specified by:
        hasH in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the h field is set.
      • setH

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setH​(int value)
         Height of the creative in device independent pixels (DIPS).
         
        optional int32 h = 17;
        Parameters:
        value - The h to set.
        Returns:
        This builder for chaining.
      • hasWratio

        public boolean hasWratio()
         Relative width of the creative when expressing size as a ratio.
         Required for Flex Ads.
         
        optional int32 wratio = 26;
        Specified by:
        hasWratio in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the wratio field is set.
      • getWratio

        public int getWratio()
         Relative width of the creative when expressing size as a ratio.
         Required for Flex Ads.
         
        optional int32 wratio = 26;
        Specified by:
        getWratio in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The wratio.
      • setWratio

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setWratio​(int value)
         Relative width of the creative when expressing size as a ratio.
         Required for Flex Ads.
         
        optional int32 wratio = 26;
        Parameters:
        value - The wratio to set.
        Returns:
        This builder for chaining.
      • clearWratio

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearWratio()
         Relative width of the creative when expressing size as a ratio.
         Required for Flex Ads.
         
        optional int32 wratio = 26;
        Returns:
        This builder for chaining.
      • hasHratio

        public boolean hasHratio()
         Relative height of the creative when expressing size as a ratio.
         Required for Flex Ads.
         
        optional int32 hratio = 27;
        Specified by:
        hasHratio in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the hratio field is set.
      • getHratio

        public int getHratio()
         Relative height of the creative when expressing size as a ratio.
         Required for Flex Ads.
         
        optional int32 hratio = 27;
        Specified by:
        getHratio in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The hratio.
      • setHratio

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setHratio​(int value)
         Relative height of the creative when expressing size as a ratio.
         Required for Flex Ads.
         
        optional int32 hratio = 27;
        Parameters:
        value - The hratio to set.
        Returns:
        This builder for chaining.
      • clearHratio

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearHratio()
         Relative height of the creative when expressing size as a ratio.
         Required for Flex Ads.
         
        optional int32 hratio = 27;
        Returns:
        This builder for chaining.
      • hasExp

        public boolean hasExp()
         Advisory as to the number of seconds the bidder is willing to
         wait between the auction and the actual impression.
         
        optional int32 exp = 21;
        Specified by:
        hasExp in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        Whether the exp field is set.
      • getExp

        public int getExp()
         Advisory as to the number of seconds the bidder is willing to
         wait between the auction and the actual impression.
         
        optional int32 exp = 21;
        Specified by:
        getExp in interface OpenRtb.BidResponse.SeatBid.BidOrBuilder
        Returns:
        The exp.
      • setExp

        public OpenRtb.BidResponse.SeatBid.Bid.Builder setExp​(int value)
         Advisory as to the number of seconds the bidder is willing to
         wait between the auction and the actual impression.
         
        optional int32 exp = 21;
        Parameters:
        value - The exp to set.
        Returns:
        This builder for chaining.
      • clearExp

        public OpenRtb.BidResponse.SeatBid.Bid.Builder clearExp()
         Advisory as to the number of seconds the bidder is willing to
         wait between the auction and the actual impression.
         
        optional int32 exp = 21;
        Returns:
        This builder for chaining.