Class OpenRtb.BidRequest.Builder

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

    public static final class OpenRtb.BidRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest,​OpenRtb.BidRequest.Builder>
    implements OpenRtb.BidRequestOrBuilder
     OpenRTB 2.0: The top-level bid request object contains a globally unique
     bid request or auction ID. This id attribute is required as is at least one
     impression object (Section 3.2.2). Other attributes in this top-level object
     establish rules and restrictions that apply to all impressions being offered.
     There are also several subordinate objects that provide detailed data to
     potential buyers. Among these are the Site and App objects, which describe
     the type of published media in which the impression(s) appear.
     These objects are highly recommended, but only one applies to a given
     bid request depending on whether the media is browser-based web content
     or a non-browser application, respectively.
     
    Protobuf type com.google.openrtb.BidRequest
    • 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.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.Builder>
      • getDefaultInstanceForType

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

        public OpenRtb.BidRequest 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 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.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.Builder>
      • clearOneof

        public OpenRtb.BidRequest.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.Builder>
      • setRepeatedField

        public OpenRtb.BidRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           int index,
                                                           Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest,​OpenRtb.BidRequest.Builder>
      • mergeFrom

        public OpenRtb.BidRequest.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OpenRtb.BidRequest.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,​OpenRtb.BidRequest.Builder>
      • mergeFrom

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

        public boolean hasId()
         Unique ID of the bid request, provided by the exchange.
         REQUIRED by the OpenRTB specification.
         
        required string id = 1;
        Specified by:
        hasId in interface OpenRtb.BidRequestOrBuilder
        Returns:
        Whether the id field is set.
      • getId

        public String getId()
         Unique ID of the bid request, provided by the exchange.
         REQUIRED by the OpenRTB specification.
         
        required string id = 1;
        Specified by:
        getId in interface OpenRtb.BidRequestOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         Unique ID of the bid request, provided by the exchange.
         REQUIRED by the OpenRTB specification.
         
        required string id = 1;
        Specified by:
        getIdBytes in interface OpenRtb.BidRequestOrBuilder
        Returns:
        The bytes for id.
      • setId

        public OpenRtb.BidRequest.Builder setId​(String value)
         Unique ID of the bid request, provided by the exchange.
         REQUIRED by the OpenRTB specification.
         
        required string id = 1;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public OpenRtb.BidRequest.Builder clearId()
         Unique ID of the bid request, provided by the exchange.
         REQUIRED by the OpenRTB specification.
         
        required string id = 1;
        Returns:
        This builder for chaining.
      • setIdBytes

        public OpenRtb.BidRequest.Builder setIdBytes​(com.google.protobuf.ByteString value)
         Unique ID of the bid request, provided by the exchange.
         REQUIRED by the OpenRTB specification.
         
        required string id = 1;
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • getImpCount

        public int getImpCount()
         Array of Imp objects (Section 3.2.2) representing the impressions offered.
         At least 1 Imp object is required.
         
        repeated .com.google.openrtb.BidRequest.Imp imp = 2;
        Specified by:
        getImpCount in interface OpenRtb.BidRequestOrBuilder
      • getImp

        public OpenRtb.BidRequest.Imp getImp​(int index)
         Array of Imp objects (Section 3.2.2) representing the impressions offered.
         At least 1 Imp object is required.
         
        repeated .com.google.openrtb.BidRequest.Imp imp = 2;
        Specified by:
        getImp in interface OpenRtb.BidRequestOrBuilder
      • setImp

        public OpenRtb.BidRequest.Builder setImp​(int index,
                                                 OpenRtb.BidRequest.Imp value)
         Array of Imp objects (Section 3.2.2) representing the impressions offered.
         At least 1 Imp object is required.
         
        repeated .com.google.openrtb.BidRequest.Imp imp = 2;
      • addImp

        public OpenRtb.BidRequest.Builder addImp​(OpenRtb.BidRequest.Imp value)
         Array of Imp objects (Section 3.2.2) representing the impressions offered.
         At least 1 Imp object is required.
         
        repeated .com.google.openrtb.BidRequest.Imp imp = 2;
      • addImp

        public OpenRtb.BidRequest.Builder addImp​(int index,
                                                 OpenRtb.BidRequest.Imp value)
         Array of Imp objects (Section 3.2.2) representing the impressions offered.
         At least 1 Imp object is required.
         
        repeated .com.google.openrtb.BidRequest.Imp imp = 2;
      • clearImp

        public OpenRtb.BidRequest.Builder clearImp()
         Array of Imp objects (Section 3.2.2) representing the impressions offered.
         At least 1 Imp object is required.
         
        repeated .com.google.openrtb.BidRequest.Imp imp = 2;
      • removeImp

        public OpenRtb.BidRequest.Builder removeImp​(int index)
         Array of Imp objects (Section 3.2.2) representing the impressions offered.
         At least 1 Imp object is required.
         
        repeated .com.google.openrtb.BidRequest.Imp imp = 2;
      • getImpBuilder

        public OpenRtb.BidRequest.Imp.Builder getImpBuilder​(int index)
         Array of Imp objects (Section 3.2.2) representing the impressions offered.
         At least 1 Imp object is required.
         
        repeated .com.google.openrtb.BidRequest.Imp imp = 2;
      • addImpBuilder

        public OpenRtb.BidRequest.Imp.Builder addImpBuilder()
         Array of Imp objects (Section 3.2.2) representing the impressions offered.
         At least 1 Imp object is required.
         
        repeated .com.google.openrtb.BidRequest.Imp imp = 2;
      • addImpBuilder

        public OpenRtb.BidRequest.Imp.Builder addImpBuilder​(int index)
         Array of Imp objects (Section 3.2.2) representing the impressions offered.
         At least 1 Imp object is required.
         
        repeated .com.google.openrtb.BidRequest.Imp imp = 2;
      • getImpBuilderList

        public List<OpenRtb.BidRequest.Imp.Builder> getImpBuilderList()
         Array of Imp objects (Section 3.2.2) representing the impressions offered.
         At least 1 Imp object is required.
         
        repeated .com.google.openrtb.BidRequest.Imp imp = 2;
      • hasSite

        public boolean hasSite()
         Details via a Site object (Section 3.2.6) about the publisher's website.
         Only applicable and recommended for websites.
         
        .com.google.openrtb.BidRequest.Site site = 3;
        Specified by:
        hasSite in interface OpenRtb.BidRequestOrBuilder
        Returns:
        Whether the site field is set.
      • getSite

        public OpenRtb.BidRequest.Site getSite()
         Details via a Site object (Section 3.2.6) about the publisher's website.
         Only applicable and recommended for websites.
         
        .com.google.openrtb.BidRequest.Site site = 3;
        Specified by:
        getSite in interface OpenRtb.BidRequestOrBuilder
        Returns:
        The site.
      • setSite

        public OpenRtb.BidRequest.Builder setSite​(OpenRtb.BidRequest.Site value)
         Details via a Site object (Section 3.2.6) about the publisher's website.
         Only applicable and recommended for websites.
         
        .com.google.openrtb.BidRequest.Site site = 3;
      • mergeSite

        public OpenRtb.BidRequest.Builder mergeSite​(OpenRtb.BidRequest.Site value)
         Details via a Site object (Section 3.2.6) about the publisher's website.
         Only applicable and recommended for websites.
         
        .com.google.openrtb.BidRequest.Site site = 3;
      • clearSite

        public OpenRtb.BidRequest.Builder clearSite()
         Details via a Site object (Section 3.2.6) about the publisher's website.
         Only applicable and recommended for websites.
         
        .com.google.openrtb.BidRequest.Site site = 3;
      • getSiteBuilder

        public OpenRtb.BidRequest.Site.Builder getSiteBuilder()
         Details via a Site object (Section 3.2.6) about the publisher's website.
         Only applicable and recommended for websites.
         
        .com.google.openrtb.BidRequest.Site site = 3;
      • hasApp

        public boolean hasApp()
         Details via an App object (Section 3.2.7) about the publisher's app
         (non-browser applications). Only applicable and recommended for apps.
         
        .com.google.openrtb.BidRequest.App app = 4;
        Specified by:
        hasApp in interface OpenRtb.BidRequestOrBuilder
        Returns:
        Whether the app field is set.
      • getApp

        public OpenRtb.BidRequest.App getApp()
         Details via an App object (Section 3.2.7) about the publisher's app
         (non-browser applications). Only applicable and recommended for apps.
         
        .com.google.openrtb.BidRequest.App app = 4;
        Specified by:
        getApp in interface OpenRtb.BidRequestOrBuilder
        Returns:
        The app.
      • setApp

        public OpenRtb.BidRequest.Builder setApp​(OpenRtb.BidRequest.App value)
         Details via an App object (Section 3.2.7) about the publisher's app
         (non-browser applications). Only applicable and recommended for apps.
         
        .com.google.openrtb.BidRequest.App app = 4;
      • setApp

        public OpenRtb.BidRequest.Builder setApp​(OpenRtb.BidRequest.App.Builder builderForValue)
         Details via an App object (Section 3.2.7) about the publisher's app
         (non-browser applications). Only applicable and recommended for apps.
         
        .com.google.openrtb.BidRequest.App app = 4;
      • mergeApp

        public OpenRtb.BidRequest.Builder mergeApp​(OpenRtb.BidRequest.App value)
         Details via an App object (Section 3.2.7) about the publisher's app
         (non-browser applications). Only applicable and recommended for apps.
         
        .com.google.openrtb.BidRequest.App app = 4;
      • clearApp

        public OpenRtb.BidRequest.Builder clearApp()
         Details via an App object (Section 3.2.7) about the publisher's app
         (non-browser applications). Only applicable and recommended for apps.
         
        .com.google.openrtb.BidRequest.App app = 4;
      • getAppBuilder

        public OpenRtb.BidRequest.App.Builder getAppBuilder()
         Details via an App object (Section 3.2.7) about the publisher's app
         (non-browser applications). Only applicable and recommended for apps.
         
        .com.google.openrtb.BidRequest.App app = 4;
      • hasDevice

        public boolean hasDevice()
         Details via a Device object (Section 3.2.11) about the user's
         device to which the impression will be delivered.
         
        optional .com.google.openrtb.BidRequest.Device device = 5;
        Specified by:
        hasDevice in interface OpenRtb.BidRequestOrBuilder
        Returns:
        Whether the device field is set.
      • getDevice

        public OpenRtb.BidRequest.Device getDevice()
         Details via a Device object (Section 3.2.11) about the user's
         device to which the impression will be delivered.
         
        optional .com.google.openrtb.BidRequest.Device device = 5;
        Specified by:
        getDevice in interface OpenRtb.BidRequestOrBuilder
        Returns:
        The device.
      • setDevice

        public OpenRtb.BidRequest.Builder setDevice​(OpenRtb.BidRequest.Device value)
         Details via a Device object (Section 3.2.11) about the user's
         device to which the impression will be delivered.
         
        optional .com.google.openrtb.BidRequest.Device device = 5;
      • mergeDevice

        public OpenRtb.BidRequest.Builder mergeDevice​(OpenRtb.BidRequest.Device value)
         Details via a Device object (Section 3.2.11) about the user's
         device to which the impression will be delivered.
         
        optional .com.google.openrtb.BidRequest.Device device = 5;
      • clearDevice

        public OpenRtb.BidRequest.Builder clearDevice()
         Details via a Device object (Section 3.2.11) about the user's
         device to which the impression will be delivered.
         
        optional .com.google.openrtb.BidRequest.Device device = 5;
      • getDeviceBuilder

        public OpenRtb.BidRequest.Device.Builder getDeviceBuilder()
         Details via a Device object (Section 3.2.11) about the user's
         device to which the impression will be delivered.
         
        optional .com.google.openrtb.BidRequest.Device device = 5;
      • hasRegs

        public boolean hasRegs()
         A Regs object (Section 3.2.16) that specifies any industry, legal,
         or governmental regulations in force for this request.
         
        optional .com.google.openrtb.BidRequest.Regs regs = 14;
        Specified by:
        hasRegs in interface OpenRtb.BidRequestOrBuilder
        Returns:
        Whether the regs field is set.
      • getRegs

        public OpenRtb.BidRequest.Regs getRegs()
         A Regs object (Section 3.2.16) that specifies any industry, legal,
         or governmental regulations in force for this request.
         
        optional .com.google.openrtb.BidRequest.Regs regs = 14;
        Specified by:
        getRegs in interface OpenRtb.BidRequestOrBuilder
        Returns:
        The regs.
      • setRegs

        public OpenRtb.BidRequest.Builder setRegs​(OpenRtb.BidRequest.Regs value)
         A Regs object (Section 3.2.16) that specifies any industry, legal,
         or governmental regulations in force for this request.
         
        optional .com.google.openrtb.BidRequest.Regs regs = 14;
      • mergeRegs

        public OpenRtb.BidRequest.Builder mergeRegs​(OpenRtb.BidRequest.Regs value)
         A Regs object (Section 3.2.16) that specifies any industry, legal,
         or governmental regulations in force for this request.
         
        optional .com.google.openrtb.BidRequest.Regs regs = 14;
      • clearRegs

        public OpenRtb.BidRequest.Builder clearRegs()
         A Regs object (Section 3.2.16) that specifies any industry, legal,
         or governmental regulations in force for this request.
         
        optional .com.google.openrtb.BidRequest.Regs regs = 14;
      • getRegsBuilder

        public OpenRtb.BidRequest.Regs.Builder getRegsBuilder()
         A Regs object (Section 3.2.16) that specifies any industry, legal,
         or governmental regulations in force for this request.
         
        optional .com.google.openrtb.BidRequest.Regs regs = 14;
      • hasUser

        public boolean hasUser()
         Details via a User object (Section 3.2.13) about the human
         user of the device; the advertising audience.
         
        optional .com.google.openrtb.BidRequest.User user = 6;
        Specified by:
        hasUser in interface OpenRtb.BidRequestOrBuilder
        Returns:
        Whether the user field is set.
      • getUser

        public OpenRtb.BidRequest.User getUser()
         Details via a User object (Section 3.2.13) about the human
         user of the device; the advertising audience.
         
        optional .com.google.openrtb.BidRequest.User user = 6;
        Specified by:
        getUser in interface OpenRtb.BidRequestOrBuilder
        Returns:
        The user.
      • setUser

        public OpenRtb.BidRequest.Builder setUser​(OpenRtb.BidRequest.User value)
         Details via a User object (Section 3.2.13) about the human
         user of the device; the advertising audience.
         
        optional .com.google.openrtb.BidRequest.User user = 6;
      • mergeUser

        public OpenRtb.BidRequest.Builder mergeUser​(OpenRtb.BidRequest.User value)
         Details via a User object (Section 3.2.13) about the human
         user of the device; the advertising audience.
         
        optional .com.google.openrtb.BidRequest.User user = 6;
      • clearUser

        public OpenRtb.BidRequest.Builder clearUser()
         Details via a User object (Section 3.2.13) about the human
         user of the device; the advertising audience.
         
        optional .com.google.openrtb.BidRequest.User user = 6;
      • getUserBuilder

        public OpenRtb.BidRequest.User.Builder getUserBuilder()
         Details via a User object (Section 3.2.13) about the human
         user of the device; the advertising audience.
         
        optional .com.google.openrtb.BidRequest.User user = 6;
      • hasAt

        public boolean hasAt()
         Auction type, where 1 = First Price, 2 = Second Price Plus.
         Exchange-specific auction types can be defined using values > 500.
         
        optional .com.google.openrtb.AuctionType at = 7 [default = SECOND_PRICE];
        Specified by:
        hasAt in interface OpenRtb.BidRequestOrBuilder
        Returns:
        Whether the at field is set.
      • getAt

        public OpenRtb.AuctionType getAt()
         Auction type, where 1 = First Price, 2 = Second Price Plus.
         Exchange-specific auction types can be defined using values > 500.
         
        optional .com.google.openrtb.AuctionType at = 7 [default = SECOND_PRICE];
        Specified by:
        getAt in interface OpenRtb.BidRequestOrBuilder
        Returns:
        The at.
      • setAt

        public OpenRtb.BidRequest.Builder setAt​(OpenRtb.AuctionType value)
         Auction type, where 1 = First Price, 2 = Second Price Plus.
         Exchange-specific auction types can be defined using values > 500.
         
        optional .com.google.openrtb.AuctionType at = 7 [default = SECOND_PRICE];
        Parameters:
        value - The at to set.
        Returns:
        This builder for chaining.
      • clearAt

        public OpenRtb.BidRequest.Builder clearAt()
         Auction type, where 1 = First Price, 2 = Second Price Plus.
         Exchange-specific auction types can be defined using values > 500.
         
        optional .com.google.openrtb.AuctionType at = 7 [default = SECOND_PRICE];
        Returns:
        This builder for chaining.
      • hasTmax

        public boolean hasTmax()
         Maximum time in milliseconds to submit a bid to avoid timeout.
         This value is commonly communicated offline.
         
        optional int32 tmax = 8;
        Specified by:
        hasTmax in interface OpenRtb.BidRequestOrBuilder
        Returns:
        Whether the tmax field is set.
      • getTmax

        public int getTmax()
         Maximum time in milliseconds to submit a bid to avoid timeout.
         This value is commonly communicated offline.
         
        optional int32 tmax = 8;
        Specified by:
        getTmax in interface OpenRtb.BidRequestOrBuilder
        Returns:
        The tmax.
      • setTmax

        public OpenRtb.BidRequest.Builder setTmax​(int value)
         Maximum time in milliseconds to submit a bid to avoid timeout.
         This value is commonly communicated offline.
         
        optional int32 tmax = 8;
        Parameters:
        value - The tmax to set.
        Returns:
        This builder for chaining.
      • clearTmax

        public OpenRtb.BidRequest.Builder clearTmax()
         Maximum time in milliseconds to submit a bid to avoid timeout.
         This value is commonly communicated offline.
         
        optional int32 tmax = 8;
        Returns:
        This builder for chaining.
      • getWseatList

        public com.google.protobuf.ProtocolStringList getWseatList()
         Allowlist of buyer seats (e.g., advertisers, agencies) that can bid on this
         impression. IDs of seats and knowledge of the buyer's customers to which
         they refer must be coordinated between bidders and the exchange a priori.
         Omission implies no seat restrictions.
         
        repeated string wseat = 9;
        Specified by:
        getWseatList in interface OpenRtb.BidRequestOrBuilder
        Returns:
        A list containing the wseat.
      • getWseatCount

        public int getWseatCount()
         Allowlist of buyer seats (e.g., advertisers, agencies) that can bid on this
         impression. IDs of seats and knowledge of the buyer's customers to which
         they refer must be coordinated between bidders and the exchange a priori.
         Omission implies no seat restrictions.
         
        repeated string wseat = 9;
        Specified by:
        getWseatCount in interface OpenRtb.BidRequestOrBuilder
        Returns:
        The count of wseat.
      • getWseat

        public String getWseat​(int index)
         Allowlist of buyer seats (e.g., advertisers, agencies) that can bid on this
         impression. IDs of seats and knowledge of the buyer's customers to which
         they refer must be coordinated between bidders and the exchange a priori.
         Omission implies no seat restrictions.
         
        repeated string wseat = 9;
        Specified by:
        getWseat in interface OpenRtb.BidRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The wseat at the given index.
      • getWseatBytes

        public com.google.protobuf.ByteString getWseatBytes​(int index)
         Allowlist of buyer seats (e.g., advertisers, agencies) that can bid on this
         impression. IDs of seats and knowledge of the buyer's customers to which
         they refer must be coordinated between bidders and the exchange a priori.
         Omission implies no seat restrictions.
         
        repeated string wseat = 9;
        Specified by:
        getWseatBytes in interface OpenRtb.BidRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the wseat at the given index.
      • setWseat

        public OpenRtb.BidRequest.Builder setWseat​(int index,
                                                   String value)
         Allowlist of buyer seats (e.g., advertisers, agencies) that can bid on this
         impression. IDs of seats and knowledge of the buyer's customers to which
         they refer must be coordinated between bidders and the exchange a priori.
         Omission implies no seat restrictions.
         
        repeated string wseat = 9;
        Parameters:
        index - The index to set the value at.
        value - The wseat to set.
        Returns:
        This builder for chaining.
      • addWseat

        public OpenRtb.BidRequest.Builder addWseat​(String value)
         Allowlist of buyer seats (e.g., advertisers, agencies) that can bid on this
         impression. IDs of seats and knowledge of the buyer's customers to which
         they refer must be coordinated between bidders and the exchange a priori.
         Omission implies no seat restrictions.
         
        repeated string wseat = 9;
        Parameters:
        value - The wseat to add.
        Returns:
        This builder for chaining.
      • addAllWseat

        public OpenRtb.BidRequest.Builder addAllWseat​(Iterable<String> values)
         Allowlist of buyer seats (e.g., advertisers, agencies) that can bid on this
         impression. IDs of seats and knowledge of the buyer's customers to which
         they refer must be coordinated between bidders and the exchange a priori.
         Omission implies no seat restrictions.
         
        repeated string wseat = 9;
        Parameters:
        values - The wseat to add.
        Returns:
        This builder for chaining.
      • clearWseat

        public OpenRtb.BidRequest.Builder clearWseat()
         Allowlist of buyer seats (e.g., advertisers, agencies) that can bid on this
         impression. IDs of seats and knowledge of the buyer's customers to which
         they refer must be coordinated between bidders and the exchange a priori.
         Omission implies no seat restrictions.
         
        repeated string wseat = 9;
        Returns:
        This builder for chaining.
      • addWseatBytes

        public OpenRtb.BidRequest.Builder addWseatBytes​(com.google.protobuf.ByteString value)
         Allowlist of buyer seats (e.g., advertisers, agencies) that can bid on this
         impression. IDs of seats and knowledge of the buyer's customers to which
         they refer must be coordinated between bidders and the exchange a priori.
         Omission implies no seat restrictions.
         
        repeated string wseat = 9;
        Parameters:
        value - The bytes of the wseat to add.
        Returns:
        This builder for chaining.
      • hasAllimps

        public boolean hasAllimps()
         Flag to indicate if Exchange can verify that the impressions offered
         represent all of the impressions available in context (e.g., all on the
         web page, all video spots such as pre/mid/post roll) to support
         road-blocking. false = no or unknown, true = yes, the impressions offered
         represent all that are available.
         
        optional bool allimps = 10 [default = false];
        Specified by:
        hasAllimps in interface OpenRtb.BidRequestOrBuilder
        Returns:
        Whether the allimps field is set.
      • getAllimps

        public boolean getAllimps()
         Flag to indicate if Exchange can verify that the impressions offered
         represent all of the impressions available in context (e.g., all on the
         web page, all video spots such as pre/mid/post roll) to support
         road-blocking. false = no or unknown, true = yes, the impressions offered
         represent all that are available.
         
        optional bool allimps = 10 [default = false];
        Specified by:
        getAllimps in interface OpenRtb.BidRequestOrBuilder
        Returns:
        The allimps.
      • setAllimps

        public OpenRtb.BidRequest.Builder setAllimps​(boolean value)
         Flag to indicate if Exchange can verify that the impressions offered
         represent all of the impressions available in context (e.g., all on the
         web page, all video spots such as pre/mid/post roll) to support
         road-blocking. false = no or unknown, true = yes, the impressions offered
         represent all that are available.
         
        optional bool allimps = 10 [default = false];
        Parameters:
        value - The allimps to set.
        Returns:
        This builder for chaining.
      • clearAllimps

        public OpenRtb.BidRequest.Builder clearAllimps()
         Flag to indicate if Exchange can verify that the impressions offered
         represent all of the impressions available in context (e.g., all on the
         web page, all video spots such as pre/mid/post roll) to support
         road-blocking. false = no or unknown, true = yes, the impressions offered
         represent all that are available.
         
        optional bool allimps = 10 [default = false];
        Returns:
        This builder for chaining.
      • getCurList

        public com.google.protobuf.ProtocolStringList getCurList()
         Array of allowed currencies for bids on this bid request using ISO-4217
         alpha codes. Recommended only if the exchange accepts multiple currencies.
         
        repeated string cur = 11;
        Specified by:
        getCurList in interface OpenRtb.BidRequestOrBuilder
        Returns:
        A list containing the cur.
      • getCurCount

        public int getCurCount()
         Array of allowed currencies for bids on this bid request using ISO-4217
         alpha codes. Recommended only if the exchange accepts multiple currencies.
         
        repeated string cur = 11;
        Specified by:
        getCurCount in interface OpenRtb.BidRequestOrBuilder
        Returns:
        The count of cur.
      • getCur

        public String getCur​(int index)
         Array of allowed currencies for bids on this bid request using ISO-4217
         alpha codes. Recommended only if the exchange accepts multiple currencies.
         
        repeated string cur = 11;
        Specified by:
        getCur in interface OpenRtb.BidRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The cur at the given index.
      • getCurBytes

        public com.google.protobuf.ByteString getCurBytes​(int index)
         Array of allowed currencies for bids on this bid request using ISO-4217
         alpha codes. Recommended only if the exchange accepts multiple currencies.
         
        repeated string cur = 11;
        Specified by:
        getCurBytes in interface OpenRtb.BidRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the cur at the given index.
      • setCur

        public OpenRtb.BidRequest.Builder setCur​(int index,
                                                 String value)
         Array of allowed currencies for bids on this bid request using ISO-4217
         alpha codes. Recommended only if the exchange accepts multiple currencies.
         
        repeated string cur = 11;
        Parameters:
        index - The index to set the value at.
        value - The cur to set.
        Returns:
        This builder for chaining.
      • addCur

        public OpenRtb.BidRequest.Builder addCur​(String value)
         Array of allowed currencies for bids on this bid request using ISO-4217
         alpha codes. Recommended only if the exchange accepts multiple currencies.
         
        repeated string cur = 11;
        Parameters:
        value - The cur to add.
        Returns:
        This builder for chaining.
      • addAllCur

        public OpenRtb.BidRequest.Builder addAllCur​(Iterable<String> values)
         Array of allowed currencies for bids on this bid request using ISO-4217
         alpha codes. Recommended only if the exchange accepts multiple currencies.
         
        repeated string cur = 11;
        Parameters:
        values - The cur to add.
        Returns:
        This builder for chaining.
      • clearCur

        public OpenRtb.BidRequest.Builder clearCur()
         Array of allowed currencies for bids on this bid request using ISO-4217
         alpha codes. Recommended only if the exchange accepts multiple currencies.
         
        repeated string cur = 11;
        Returns:
        This builder for chaining.
      • addCurBytes

        public OpenRtb.BidRequest.Builder addCurBytes​(com.google.protobuf.ByteString value)
         Array of allowed currencies for bids on this bid request using ISO-4217
         alpha codes. Recommended only if the exchange accepts multiple currencies.
         
        repeated string cur = 11;
        Parameters:
        value - The bytes of the cur to add.
        Returns:
        This builder for chaining.
      • getBcatList

        public com.google.protobuf.ProtocolStringList getBcatList()
         Blocked advertiser categories using the IAB content categories.
         Refer to enum ContentCategory.
         
        repeated string bcat = 12;
        Specified by:
        getBcatList in interface OpenRtb.BidRequestOrBuilder
        Returns:
        A list containing the bcat.
      • getBcatCount

        public int getBcatCount()
         Blocked advertiser categories using the IAB content categories.
         Refer to enum ContentCategory.
         
        repeated string bcat = 12;
        Specified by:
        getBcatCount in interface OpenRtb.BidRequestOrBuilder
        Returns:
        The count of bcat.
      • getBcat

        public String getBcat​(int index)
         Blocked advertiser categories using the IAB content categories.
         Refer to enum ContentCategory.
         
        repeated string bcat = 12;
        Specified by:
        getBcat in interface OpenRtb.BidRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The bcat at the given index.
      • getBcatBytes

        public com.google.protobuf.ByteString getBcatBytes​(int index)
         Blocked advertiser categories using the IAB content categories.
         Refer to enum ContentCategory.
         
        repeated string bcat = 12;
        Specified by:
        getBcatBytes in interface OpenRtb.BidRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the bcat at the given index.
      • setBcat

        public OpenRtb.BidRequest.Builder setBcat​(int index,
                                                  String value)
         Blocked advertiser categories using the IAB content categories.
         Refer to enum ContentCategory.
         
        repeated string bcat = 12;
        Parameters:
        index - The index to set the value at.
        value - The bcat to set.
        Returns:
        This builder for chaining.
      • addBcat

        public OpenRtb.BidRequest.Builder addBcat​(String value)
         Blocked advertiser categories using the IAB content categories.
         Refer to enum ContentCategory.
         
        repeated string bcat = 12;
        Parameters:
        value - The bcat to add.
        Returns:
        This builder for chaining.
      • addAllBcat

        public OpenRtb.BidRequest.Builder addAllBcat​(Iterable<String> values)
         Blocked advertiser categories using the IAB content categories.
         Refer to enum ContentCategory.
         
        repeated string bcat = 12;
        Parameters:
        values - The bcat to add.
        Returns:
        This builder for chaining.
      • clearBcat

        public OpenRtb.BidRequest.Builder clearBcat()
         Blocked advertiser categories using the IAB content categories.
         Refer to enum ContentCategory.
         
        repeated string bcat = 12;
        Returns:
        This builder for chaining.
      • addBcatBytes

        public OpenRtb.BidRequest.Builder addBcatBytes​(com.google.protobuf.ByteString value)
         Blocked advertiser categories using the IAB content categories.
         Refer to enum ContentCategory.
         
        repeated string bcat = 12;
        Parameters:
        value - The bytes of the bcat to add.
        Returns:
        This builder for chaining.
      • getBadvList

        public com.google.protobuf.ProtocolStringList getBadvList()
         Block list of advertisers by their domains (e.g., "ford.com").
         
        repeated string badv = 13;
        Specified by:
        getBadvList in interface OpenRtb.BidRequestOrBuilder
        Returns:
        A list containing the badv.
      • getBadvCount

        public int getBadvCount()
         Block list of advertisers by their domains (e.g., "ford.com").
         
        repeated string badv = 13;
        Specified by:
        getBadvCount in interface OpenRtb.BidRequestOrBuilder
        Returns:
        The count of badv.
      • getBadv

        public String getBadv​(int index)
         Block list of advertisers by their domains (e.g., "ford.com").
         
        repeated string badv = 13;
        Specified by:
        getBadv in interface OpenRtb.BidRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The badv at the given index.
      • getBadvBytes

        public com.google.protobuf.ByteString getBadvBytes​(int index)
         Block list of advertisers by their domains (e.g., "ford.com").
         
        repeated string badv = 13;
        Specified by:
        getBadvBytes in interface OpenRtb.BidRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the badv at the given index.
      • setBadv

        public OpenRtb.BidRequest.Builder setBadv​(int index,
                                                  String value)
         Block list of advertisers by their domains (e.g., "ford.com").
         
        repeated string badv = 13;
        Parameters:
        index - The index to set the value at.
        value - The badv to set.
        Returns:
        This builder for chaining.
      • addBadv

        public OpenRtb.BidRequest.Builder addBadv​(String value)
         Block list of advertisers by their domains (e.g., "ford.com").
         
        repeated string badv = 13;
        Parameters:
        value - The badv to add.
        Returns:
        This builder for chaining.
      • addAllBadv

        public OpenRtb.BidRequest.Builder addAllBadv​(Iterable<String> values)
         Block list of advertisers by their domains (e.g., "ford.com").
         
        repeated string badv = 13;
        Parameters:
        values - The badv to add.
        Returns:
        This builder for chaining.
      • clearBadv

        public OpenRtb.BidRequest.Builder clearBadv()
         Block list of advertisers by their domains (e.g., "ford.com").
         
        repeated string badv = 13;
        Returns:
        This builder for chaining.
      • addBadvBytes

        public OpenRtb.BidRequest.Builder addBadvBytes​(com.google.protobuf.ByteString value)
         Block list of advertisers by their domains (e.g., "ford.com").
         
        repeated string badv = 13;
        Parameters:
        value - The bytes of the badv to add.
        Returns:
        This builder for chaining.
      • getBappList

        public com.google.protobuf.ProtocolStringList getBappList()
         Block list of applications by their platform-specific exchange
         independent application identifiers. On Android, these should
         be bundle or package names (e.g., com.foo.mygame).
         On iOS, these are numeric IDs.
         
        repeated string bapp = 16;
        Specified by:
        getBappList in interface OpenRtb.BidRequestOrBuilder
        Returns:
        A list containing the bapp.
      • getBappCount

        public int getBappCount()
         Block list of applications by their platform-specific exchange
         independent application identifiers. On Android, these should
         be bundle or package names (e.g., com.foo.mygame).
         On iOS, these are numeric IDs.
         
        repeated string bapp = 16;
        Specified by:
        getBappCount in interface OpenRtb.BidRequestOrBuilder
        Returns:
        The count of bapp.
      • getBapp

        public String getBapp​(int index)
         Block list of applications by their platform-specific exchange
         independent application identifiers. On Android, these should
         be bundle or package names (e.g., com.foo.mygame).
         On iOS, these are numeric IDs.
         
        repeated string bapp = 16;
        Specified by:
        getBapp in interface OpenRtb.BidRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The bapp at the given index.
      • getBappBytes

        public com.google.protobuf.ByteString getBappBytes​(int index)
         Block list of applications by their platform-specific exchange
         independent application identifiers. On Android, these should
         be bundle or package names (e.g., com.foo.mygame).
         On iOS, these are numeric IDs.
         
        repeated string bapp = 16;
        Specified by:
        getBappBytes in interface OpenRtb.BidRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the bapp at the given index.
      • setBapp

        public OpenRtb.BidRequest.Builder setBapp​(int index,
                                                  String value)
         Block list of applications by their platform-specific exchange
         independent application identifiers. On Android, these should
         be bundle or package names (e.g., com.foo.mygame).
         On iOS, these are numeric IDs.
         
        repeated string bapp = 16;
        Parameters:
        index - The index to set the value at.
        value - The bapp to set.
        Returns:
        This builder for chaining.
      • addBapp

        public OpenRtb.BidRequest.Builder addBapp​(String value)
         Block list of applications by their platform-specific exchange
         independent application identifiers. On Android, these should
         be bundle or package names (e.g., com.foo.mygame).
         On iOS, these are numeric IDs.
         
        repeated string bapp = 16;
        Parameters:
        value - The bapp to add.
        Returns:
        This builder for chaining.
      • addAllBapp

        public OpenRtb.BidRequest.Builder addAllBapp​(Iterable<String> values)
         Block list of applications by their platform-specific exchange
         independent application identifiers. On Android, these should
         be bundle or package names (e.g., com.foo.mygame).
         On iOS, these are numeric IDs.
         
        repeated string bapp = 16;
        Parameters:
        values - The bapp to add.
        Returns:
        This builder for chaining.
      • clearBapp

        public OpenRtb.BidRequest.Builder clearBapp()
         Block list of applications by their platform-specific exchange
         independent application identifiers. On Android, these should
         be bundle or package names (e.g., com.foo.mygame).
         On iOS, these are numeric IDs.
         
        repeated string bapp = 16;
        Returns:
        This builder for chaining.
      • addBappBytes

        public OpenRtb.BidRequest.Builder addBappBytes​(com.google.protobuf.ByteString value)
         Block list of applications by their platform-specific exchange
         independent application identifiers. On Android, these should
         be bundle or package names (e.g., com.foo.mygame).
         On iOS, these are numeric IDs.
         
        repeated string bapp = 16;
        Parameters:
        value - The bytes of the bapp to add.
        Returns:
        This builder for chaining.
      • hasTest

        public boolean hasTest()
         Indicator of test mode in which auctions are not billable,
         where false = live mode, true = test mode.
         
        optional bool test = 15 [default = false];
        Specified by:
        hasTest in interface OpenRtb.BidRequestOrBuilder
        Returns:
        Whether the test field is set.
      • getTest

        public boolean getTest()
         Indicator of test mode in which auctions are not billable,
         where false = live mode, true = test mode.
         
        optional bool test = 15 [default = false];
        Specified by:
        getTest in interface OpenRtb.BidRequestOrBuilder
        Returns:
        The test.
      • setTest

        public OpenRtb.BidRequest.Builder setTest​(boolean value)
         Indicator of test mode in which auctions are not billable,
         where false = live mode, true = test mode.
         
        optional bool test = 15 [default = false];
        Parameters:
        value - The test to set.
        Returns:
        This builder for chaining.
      • clearTest

        public OpenRtb.BidRequest.Builder clearTest()
         Indicator of test mode in which auctions are not billable,
         where false = live mode, true = test mode.
         
        optional bool test = 15 [default = false];
        Returns:
        This builder for chaining.
      • getBseatList

        public com.google.protobuf.ProtocolStringList getBseatList()
         Block list of buyer seats (e.g., advertisers, agencies) restricted
         from bidding on this impression. IDs of seats and knowledge
         of the buyer's customers to which they refer must be
         coordinated between bidders and the exchange a priori.
         At most, only one of wseat and bseat should be used in the
         same request. Omission of both implies no seat restrictions.
         
        repeated string bseat = 17;
        Specified by:
        getBseatList in interface OpenRtb.BidRequestOrBuilder
        Returns:
        A list containing the bseat.
      • getBseatCount

        public int getBseatCount()
         Block list of buyer seats (e.g., advertisers, agencies) restricted
         from bidding on this impression. IDs of seats and knowledge
         of the buyer's customers to which they refer must be
         coordinated between bidders and the exchange a priori.
         At most, only one of wseat and bseat should be used in the
         same request. Omission of both implies no seat restrictions.
         
        repeated string bseat = 17;
        Specified by:
        getBseatCount in interface OpenRtb.BidRequestOrBuilder
        Returns:
        The count of bseat.
      • getBseat

        public String getBseat​(int index)
         Block list of buyer seats (e.g., advertisers, agencies) restricted
         from bidding on this impression. IDs of seats and knowledge
         of the buyer's customers to which they refer must be
         coordinated between bidders and the exchange a priori.
         At most, only one of wseat and bseat should be used in the
         same request. Omission of both implies no seat restrictions.
         
        repeated string bseat = 17;
        Specified by:
        getBseat in interface OpenRtb.BidRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The bseat at the given index.
      • getBseatBytes

        public com.google.protobuf.ByteString getBseatBytes​(int index)
         Block list of buyer seats (e.g., advertisers, agencies) restricted
         from bidding on this impression. IDs of seats and knowledge
         of the buyer's customers to which they refer must be
         coordinated between bidders and the exchange a priori.
         At most, only one of wseat and bseat should be used in the
         same request. Omission of both implies no seat restrictions.
         
        repeated string bseat = 17;
        Specified by:
        getBseatBytes in interface OpenRtb.BidRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the bseat at the given index.
      • setBseat

        public OpenRtb.BidRequest.Builder setBseat​(int index,
                                                   String value)
         Block list of buyer seats (e.g., advertisers, agencies) restricted
         from bidding on this impression. IDs of seats and knowledge
         of the buyer's customers to which they refer must be
         coordinated between bidders and the exchange a priori.
         At most, only one of wseat and bseat should be used in the
         same request. Omission of both implies no seat restrictions.
         
        repeated string bseat = 17;
        Parameters:
        index - The index to set the value at.
        value - The bseat to set.
        Returns:
        This builder for chaining.
      • addBseat

        public OpenRtb.BidRequest.Builder addBseat​(String value)
         Block list of buyer seats (e.g., advertisers, agencies) restricted
         from bidding on this impression. IDs of seats and knowledge
         of the buyer's customers to which they refer must be
         coordinated between bidders and the exchange a priori.
         At most, only one of wseat and bseat should be used in the
         same request. Omission of both implies no seat restrictions.
         
        repeated string bseat = 17;
        Parameters:
        value - The bseat to add.
        Returns:
        This builder for chaining.
      • addAllBseat

        public OpenRtb.BidRequest.Builder addAllBseat​(Iterable<String> values)
         Block list of buyer seats (e.g., advertisers, agencies) restricted
         from bidding on this impression. IDs of seats and knowledge
         of the buyer's customers to which they refer must be
         coordinated between bidders and the exchange a priori.
         At most, only one of wseat and bseat should be used in the
         same request. Omission of both implies no seat restrictions.
         
        repeated string bseat = 17;
        Parameters:
        values - The bseat to add.
        Returns:
        This builder for chaining.
      • clearBseat

        public OpenRtb.BidRequest.Builder clearBseat()
         Block list of buyer seats (e.g., advertisers, agencies) restricted
         from bidding on this impression. IDs of seats and knowledge
         of the buyer's customers to which they refer must be
         coordinated between bidders and the exchange a priori.
         At most, only one of wseat and bseat should be used in the
         same request. Omission of both implies no seat restrictions.
         
        repeated string bseat = 17;
        Returns:
        This builder for chaining.
      • addBseatBytes

        public OpenRtb.BidRequest.Builder addBseatBytes​(com.google.protobuf.ByteString value)
         Block list of buyer seats (e.g., advertisers, agencies) restricted
         from bidding on this impression. IDs of seats and knowledge
         of the buyer's customers to which they refer must be
         coordinated between bidders and the exchange a priori.
         At most, only one of wseat and bseat should be used in the
         same request. Omission of both implies no seat restrictions.
         
        repeated string bseat = 17;
        Parameters:
        value - The bytes of the bseat to add.
        Returns:
        This builder for chaining.
      • getWlangList

        public com.google.protobuf.ProtocolStringList getWlangList()
         Allowlist of languages for creatives using ISO-639-1-alpha-2.
         Omission implies no specific restrictions, but buyers would be
         advised to consider language attribute in the Device and/or
         Content objects if available.
         
        repeated string wlang = 18;
        Specified by:
        getWlangList in interface OpenRtb.BidRequestOrBuilder
        Returns:
        A list containing the wlang.
      • getWlangCount

        public int getWlangCount()
         Allowlist of languages for creatives using ISO-639-1-alpha-2.
         Omission implies no specific restrictions, but buyers would be
         advised to consider language attribute in the Device and/or
         Content objects if available.
         
        repeated string wlang = 18;
        Specified by:
        getWlangCount in interface OpenRtb.BidRequestOrBuilder
        Returns:
        The count of wlang.
      • getWlang

        public String getWlang​(int index)
         Allowlist of languages for creatives using ISO-639-1-alpha-2.
         Omission implies no specific restrictions, but buyers would be
         advised to consider language attribute in the Device and/or
         Content objects if available.
         
        repeated string wlang = 18;
        Specified by:
        getWlang in interface OpenRtb.BidRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The wlang at the given index.
      • getWlangBytes

        public com.google.protobuf.ByteString getWlangBytes​(int index)
         Allowlist of languages for creatives using ISO-639-1-alpha-2.
         Omission implies no specific restrictions, but buyers would be
         advised to consider language attribute in the Device and/or
         Content objects if available.
         
        repeated string wlang = 18;
        Specified by:
        getWlangBytes in interface OpenRtb.BidRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the wlang at the given index.
      • setWlang

        public OpenRtb.BidRequest.Builder setWlang​(int index,
                                                   String value)
         Allowlist of languages for creatives using ISO-639-1-alpha-2.
         Omission implies no specific restrictions, but buyers would be
         advised to consider language attribute in the Device and/or
         Content objects if available.
         
        repeated string wlang = 18;
        Parameters:
        index - The index to set the value at.
        value - The wlang to set.
        Returns:
        This builder for chaining.
      • addWlang

        public OpenRtb.BidRequest.Builder addWlang​(String value)
         Allowlist of languages for creatives using ISO-639-1-alpha-2.
         Omission implies no specific restrictions, but buyers would be
         advised to consider language attribute in the Device and/or
         Content objects if available.
         
        repeated string wlang = 18;
        Parameters:
        value - The wlang to add.
        Returns:
        This builder for chaining.
      • addAllWlang

        public OpenRtb.BidRequest.Builder addAllWlang​(Iterable<String> values)
         Allowlist of languages for creatives using ISO-639-1-alpha-2.
         Omission implies no specific restrictions, but buyers would be
         advised to consider language attribute in the Device and/or
         Content objects if available.
         
        repeated string wlang = 18;
        Parameters:
        values - The wlang to add.
        Returns:
        This builder for chaining.
      • clearWlang

        public OpenRtb.BidRequest.Builder clearWlang()
         Allowlist of languages for creatives using ISO-639-1-alpha-2.
         Omission implies no specific restrictions, but buyers would be
         advised to consider language attribute in the Device and/or
         Content objects if available.
         
        repeated string wlang = 18;
        Returns:
        This builder for chaining.
      • addWlangBytes

        public OpenRtb.BidRequest.Builder addWlangBytes​(com.google.protobuf.ByteString value)
         Allowlist of languages for creatives using ISO-639-1-alpha-2.
         Omission implies no specific restrictions, but buyers would be
         advised to consider language attribute in the Device and/or
         Content objects if available.
         
        repeated string wlang = 18;
        Parameters:
        value - The bytes of the wlang to add.
        Returns:
        This builder for chaining.
      • hasSource

        public boolean hasSource()
         A Source object (Section 3.2.2) that provides data about the
         inventory source and which entity makes the final decision.
         
        optional .com.google.openrtb.BidRequest.Source source = 19;
        Specified by:
        hasSource in interface OpenRtb.BidRequestOrBuilder
        Returns:
        Whether the source field is set.
      • getSource

        public OpenRtb.BidRequest.Source getSource()
         A Source object (Section 3.2.2) that provides data about the
         inventory source and which entity makes the final decision.
         
        optional .com.google.openrtb.BidRequest.Source source = 19;
        Specified by:
        getSource in interface OpenRtb.BidRequestOrBuilder
        Returns:
        The source.
      • setSource

        public OpenRtb.BidRequest.Builder setSource​(OpenRtb.BidRequest.Source value)
         A Source object (Section 3.2.2) that provides data about the
         inventory source and which entity makes the final decision.
         
        optional .com.google.openrtb.BidRequest.Source source = 19;
      • mergeSource

        public OpenRtb.BidRequest.Builder mergeSource​(OpenRtb.BidRequest.Source value)
         A Source object (Section 3.2.2) that provides data about the
         inventory source and which entity makes the final decision.
         
        optional .com.google.openrtb.BidRequest.Source source = 19;
      • clearSource

        public OpenRtb.BidRequest.Builder clearSource()
         A Source object (Section 3.2.2) that provides data about the
         inventory source and which entity makes the final decision.
         
        optional .com.google.openrtb.BidRequest.Source source = 19;
      • getSourceBuilder

        public OpenRtb.BidRequest.Source.Builder getSourceBuilder()
         A Source object (Section 3.2.2) that provides data about the
         inventory source and which entity makes the final decision.
         
        optional .com.google.openrtb.BidRequest.Source source = 19;
      • setUnknownFields

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

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