Class OpenRtb.BidRequest.Imp.Builder

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

    public static final class OpenRtb.BidRequest.Imp.Builder
    extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest.Imp,​OpenRtb.BidRequest.Imp.Builder>
    implements OpenRtb.BidRequest.ImpOrBuilder
     OpenRTB 2.0: This object describes an ad placement or impression
     being auctioned.  A single bid request can include multiple Imp objects,
     a use case for which might be an exchange that supports selling all
     ad positions on a given page.  Each Imp object has a required ID so that
     bids can reference them individually.
     The presence of Banner (Section 3.2.3), Video (Section 3.2.4),
     and/or Native (Section 3.2.5) objects subordinate to the Imp object
     indicates the type of impression being offered. The publisher can choose
     one such type which is the typical case or mix them at their discretion.
     Any given bid for the impression must conform to one of the offered types.
     
    Protobuf type com.google.openrtb.BidRequest.Imp
    • 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.Imp.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.Imp.Builder>
      • getDefaultInstanceForType

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

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

        public OpenRtb.BidRequest.Imp.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.Imp.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.Imp,​OpenRtb.BidRequest.Imp.Builder>
      • mergeFrom

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

        public boolean hasId()
         A unique identifier for this impression within the context of the bid
         request (typically, value starts with 1, and increments up to n
         for n impressions).
         
        required string id = 1;
        Specified by:
        hasId in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        Whether the id field is set.
      • getId

        public String getId()
         A unique identifier for this impression within the context of the bid
         request (typically, value starts with 1, and increments up to n
         for n impressions).
         
        required string id = 1;
        Specified by:
        getId in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         A unique identifier for this impression within the context of the bid
         request (typically, value starts with 1, and increments up to n
         for n impressions).
         
        required string id = 1;
        Specified by:
        getIdBytes in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        The bytes for id.
      • setId

        public OpenRtb.BidRequest.Imp.Builder setId​(String value)
         A unique identifier for this impression within the context of the bid
         request (typically, value starts with 1, and increments up to n
         for n impressions).
         
        required string id = 1;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public OpenRtb.BidRequest.Imp.Builder clearId()
         A unique identifier for this impression within the context of the bid
         request (typically, value starts with 1, and increments up to n
         for n impressions).
         
        required string id = 1;
        Returns:
        This builder for chaining.
      • setIdBytes

        public OpenRtb.BidRequest.Imp.Builder setIdBytes​(com.google.protobuf.ByteString value)
         A unique identifier for this impression within the context of the bid
         request (typically, value starts with 1, and increments up to n
         for n impressions).
         
        required string id = 1;
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • hasBanner

        public boolean hasBanner()
         A Banner object (Section 3.2.3); required if this impression is
         offered as a banner ad opportunity.
         
        optional .com.google.openrtb.BidRequest.Imp.Banner banner = 2;
        Specified by:
        hasBanner in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        Whether the banner field is set.
      • clearBanner

        public OpenRtb.BidRequest.Imp.Builder clearBanner()
         A Banner object (Section 3.2.3); required if this impression is
         offered as a banner ad opportunity.
         
        optional .com.google.openrtb.BidRequest.Imp.Banner banner = 2;
      • getBannerBuilder

        public OpenRtb.BidRequest.Imp.Banner.Builder getBannerBuilder()
         A Banner object (Section 3.2.3); required if this impression is
         offered as a banner ad opportunity.
         
        optional .com.google.openrtb.BidRequest.Imp.Banner banner = 2;
      • hasVideo

        public boolean hasVideo()
         A Video object (Section 3.2.4); required if this impression is
         offered as a video ad opportunity.
         
        optional .com.google.openrtb.BidRequest.Imp.Video video = 3;
        Specified by:
        hasVideo in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        Whether the video field is set.
      • clearVideo

        public OpenRtb.BidRequest.Imp.Builder clearVideo()
         A Video object (Section 3.2.4); required if this impression is
         offered as a video ad opportunity.
         
        optional .com.google.openrtb.BidRequest.Imp.Video video = 3;
      • getVideoBuilder

        public OpenRtb.BidRequest.Imp.Video.Builder getVideoBuilder()
         A Video object (Section 3.2.4); required if this impression is
         offered as a video ad opportunity.
         
        optional .com.google.openrtb.BidRequest.Imp.Video video = 3;
      • hasAudio

        public boolean hasAudio()
         An Audio object; required if this impression is offered
         as an audio ad opportunity.
         
        optional .com.google.openrtb.BidRequest.Imp.Audio audio = 15;
        Specified by:
        hasAudio in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        Whether the audio field is set.
      • clearAudio

        public OpenRtb.BidRequest.Imp.Builder clearAudio()
         An Audio object; required if this impression is offered
         as an audio ad opportunity.
         
        optional .com.google.openrtb.BidRequest.Imp.Audio audio = 15;
      • getAudioBuilder

        public OpenRtb.BidRequest.Imp.Audio.Builder getAudioBuilder()
         An Audio object; required if this impression is offered
         as an audio ad opportunity.
         
        optional .com.google.openrtb.BidRequest.Imp.Audio audio = 15;
      • hasDisplaymanager

        public boolean hasDisplaymanager()
         Name of ad mediation partner, SDK technology, or player responsible
         for rendering ad (typically video or mobile). Used by some ad servers
         to customize ad code by partner. Recommended for video and/or apps.
         
        optional string displaymanager = 4;
        Specified by:
        hasDisplaymanager in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        Whether the displaymanager field is set.
      • getDisplaymanager

        public String getDisplaymanager()
         Name of ad mediation partner, SDK technology, or player responsible
         for rendering ad (typically video or mobile). Used by some ad servers
         to customize ad code by partner. Recommended for video and/or apps.
         
        optional string displaymanager = 4;
        Specified by:
        getDisplaymanager in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        The displaymanager.
      • getDisplaymanagerBytes

        public com.google.protobuf.ByteString getDisplaymanagerBytes()
         Name of ad mediation partner, SDK technology, or player responsible
         for rendering ad (typically video or mobile). Used by some ad servers
         to customize ad code by partner. Recommended for video and/or apps.
         
        optional string displaymanager = 4;
        Specified by:
        getDisplaymanagerBytes in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        The bytes for displaymanager.
      • setDisplaymanager

        public OpenRtb.BidRequest.Imp.Builder setDisplaymanager​(String value)
         Name of ad mediation partner, SDK technology, or player responsible
         for rendering ad (typically video or mobile). Used by some ad servers
         to customize ad code by partner. Recommended for video and/or apps.
         
        optional string displaymanager = 4;
        Parameters:
        value - The displaymanager to set.
        Returns:
        This builder for chaining.
      • clearDisplaymanager

        public OpenRtb.BidRequest.Imp.Builder clearDisplaymanager()
         Name of ad mediation partner, SDK technology, or player responsible
         for rendering ad (typically video or mobile). Used by some ad servers
         to customize ad code by partner. Recommended for video and/or apps.
         
        optional string displaymanager = 4;
        Returns:
        This builder for chaining.
      • setDisplaymanagerBytes

        public OpenRtb.BidRequest.Imp.Builder setDisplaymanagerBytes​(com.google.protobuf.ByteString value)
         Name of ad mediation partner, SDK technology, or player responsible
         for rendering ad (typically video or mobile). Used by some ad servers
         to customize ad code by partner. Recommended for video and/or apps.
         
        optional string displaymanager = 4;
        Parameters:
        value - The bytes for displaymanager to set.
        Returns:
        This builder for chaining.
      • hasDisplaymanagerver

        public boolean hasDisplaymanagerver()
         Version of ad mediation partner, SDK technology, or player responsible
         for rendering ad (typically video or mobile). Used by some ad servers
         to customize ad code by partner. Recommended for video and/or apps.
         
        optional string displaymanagerver = 5;
        Specified by:
        hasDisplaymanagerver in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        Whether the displaymanagerver field is set.
      • getDisplaymanagerver

        public String getDisplaymanagerver()
         Version of ad mediation partner, SDK technology, or player responsible
         for rendering ad (typically video or mobile). Used by some ad servers
         to customize ad code by partner. Recommended for video and/or apps.
         
        optional string displaymanagerver = 5;
        Specified by:
        getDisplaymanagerver in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        The displaymanagerver.
      • getDisplaymanagerverBytes

        public com.google.protobuf.ByteString getDisplaymanagerverBytes()
         Version of ad mediation partner, SDK technology, or player responsible
         for rendering ad (typically video or mobile). Used by some ad servers
         to customize ad code by partner. Recommended for video and/or apps.
         
        optional string displaymanagerver = 5;
        Specified by:
        getDisplaymanagerverBytes in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        The bytes for displaymanagerver.
      • setDisplaymanagerver

        public OpenRtb.BidRequest.Imp.Builder setDisplaymanagerver​(String value)
         Version of ad mediation partner, SDK technology, or player responsible
         for rendering ad (typically video or mobile). Used by some ad servers
         to customize ad code by partner. Recommended for video and/or apps.
         
        optional string displaymanagerver = 5;
        Parameters:
        value - The displaymanagerver to set.
        Returns:
        This builder for chaining.
      • clearDisplaymanagerver

        public OpenRtb.BidRequest.Imp.Builder clearDisplaymanagerver()
         Version of ad mediation partner, SDK technology, or player responsible
         for rendering ad (typically video or mobile). Used by some ad servers
         to customize ad code by partner. Recommended for video and/or apps.
         
        optional string displaymanagerver = 5;
        Returns:
        This builder for chaining.
      • setDisplaymanagerverBytes

        public OpenRtb.BidRequest.Imp.Builder setDisplaymanagerverBytes​(com.google.protobuf.ByteString value)
         Version of ad mediation partner, SDK technology, or player responsible
         for rendering ad (typically video or mobile). Used by some ad servers
         to customize ad code by partner. Recommended for video and/or apps.
         
        optional string displaymanagerver = 5;
        Parameters:
        value - The bytes for displaymanagerver to set.
        Returns:
        This builder for chaining.
      • hasInstl

        public boolean hasInstl()
         true = the ad is interstitial or full screen, false = not interstitial.
         
        optional bool instl = 6;
        Specified by:
        hasInstl in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        Whether the instl field is set.
      • getInstl

        public boolean getInstl()
         true = the ad is interstitial or full screen, false = not interstitial.
         
        optional bool instl = 6;
        Specified by:
        getInstl in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        The instl.
      • setInstl

        public OpenRtb.BidRequest.Imp.Builder setInstl​(boolean value)
         true = the ad is interstitial or full screen, false = not interstitial.
         
        optional bool instl = 6;
        Parameters:
        value - The instl to set.
        Returns:
        This builder for chaining.
      • clearInstl

        public OpenRtb.BidRequest.Imp.Builder clearInstl()
         true = the ad is interstitial or full screen, false = not interstitial.
         
        optional bool instl = 6;
        Returns:
        This builder for chaining.
      • hasTagid

        public boolean hasTagid()
         Identifier for specific ad placement or ad tag that was used to
         initiate the auction. This can be useful for debugging of any issues,
         or for optimization by the buyer.
         
        optional string tagid = 7;
        Specified by:
        hasTagid in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        Whether the tagid field is set.
      • getTagid

        public String getTagid()
         Identifier for specific ad placement or ad tag that was used to
         initiate the auction. This can be useful for debugging of any issues,
         or for optimization by the buyer.
         
        optional string tagid = 7;
        Specified by:
        getTagid in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        The tagid.
      • getTagidBytes

        public com.google.protobuf.ByteString getTagidBytes()
         Identifier for specific ad placement or ad tag that was used to
         initiate the auction. This can be useful for debugging of any issues,
         or for optimization by the buyer.
         
        optional string tagid = 7;
        Specified by:
        getTagidBytes in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        The bytes for tagid.
      • setTagid

        public OpenRtb.BidRequest.Imp.Builder setTagid​(String value)
         Identifier for specific ad placement or ad tag that was used to
         initiate the auction. This can be useful for debugging of any issues,
         or for optimization by the buyer.
         
        optional string tagid = 7;
        Parameters:
        value - The tagid to set.
        Returns:
        This builder for chaining.
      • clearTagid

        public OpenRtb.BidRequest.Imp.Builder clearTagid()
         Identifier for specific ad placement or ad tag that was used to
         initiate the auction. This can be useful for debugging of any issues,
         or for optimization by the buyer.
         
        optional string tagid = 7;
        Returns:
        This builder for chaining.
      • setTagidBytes

        public OpenRtb.BidRequest.Imp.Builder setTagidBytes​(com.google.protobuf.ByteString value)
         Identifier for specific ad placement or ad tag that was used to
         initiate the auction. This can be useful for debugging of any issues,
         or for optimization by the buyer.
         
        optional string tagid = 7;
        Parameters:
        value - The bytes for tagid to set.
        Returns:
        This builder for chaining.
      • hasBidfloor

        public boolean hasBidfloor()
         Minimum bid for this impression expressed in CPM.
         
        optional double bidfloor = 8 [default = 0];
        Specified by:
        hasBidfloor in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        Whether the bidfloor field is set.
      • getBidfloor

        public double getBidfloor()
         Minimum bid for this impression expressed in CPM.
         
        optional double bidfloor = 8 [default = 0];
        Specified by:
        getBidfloor in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        The bidfloor.
      • setBidfloor

        public OpenRtb.BidRequest.Imp.Builder setBidfloor​(double value)
         Minimum bid for this impression expressed in CPM.
         
        optional double bidfloor = 8 [default = 0];
        Parameters:
        value - The bidfloor to set.
        Returns:
        This builder for chaining.
      • clearBidfloor

        public OpenRtb.BidRequest.Imp.Builder clearBidfloor()
         Minimum bid for this impression expressed in CPM.
         
        optional double bidfloor = 8 [default = 0];
        Returns:
        This builder for chaining.
      • hasBidfloorcur

        public boolean hasBidfloorcur()
         Currency specified using ISO-4217 alpha codes. This may be different
         from bid currency returned by bidder if this is allowed by the exchange.
         
        optional string bidfloorcur = 9 [default = "USD"];
        Specified by:
        hasBidfloorcur in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        Whether the bidfloorcur field is set.
      • getBidfloorcur

        public String getBidfloorcur()
         Currency specified using ISO-4217 alpha codes. This may be different
         from bid currency returned by bidder if this is allowed by the exchange.
         
        optional string bidfloorcur = 9 [default = "USD"];
        Specified by:
        getBidfloorcur in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        The bidfloorcur.
      • getBidfloorcurBytes

        public com.google.protobuf.ByteString getBidfloorcurBytes()
         Currency specified using ISO-4217 alpha codes. This may be different
         from bid currency returned by bidder if this is allowed by the exchange.
         
        optional string bidfloorcur = 9 [default = "USD"];
        Specified by:
        getBidfloorcurBytes in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        The bytes for bidfloorcur.
      • setBidfloorcur

        public OpenRtb.BidRequest.Imp.Builder setBidfloorcur​(String value)
         Currency specified using ISO-4217 alpha codes. This may be different
         from bid currency returned by bidder if this is allowed by the exchange.
         
        optional string bidfloorcur = 9 [default = "USD"];
        Parameters:
        value - The bidfloorcur to set.
        Returns:
        This builder for chaining.
      • clearBidfloorcur

        public OpenRtb.BidRequest.Imp.Builder clearBidfloorcur()
         Currency specified using ISO-4217 alpha codes. This may be different
         from bid currency returned by bidder if this is allowed by the exchange.
         
        optional string bidfloorcur = 9 [default = "USD"];
        Returns:
        This builder for chaining.
      • setBidfloorcurBytes

        public OpenRtb.BidRequest.Imp.Builder setBidfloorcurBytes​(com.google.protobuf.ByteString value)
         Currency specified using ISO-4217 alpha codes. This may be different
         from bid currency returned by bidder if this is allowed by the exchange.
         
        optional string bidfloorcur = 9 [default = "USD"];
        Parameters:
        value - The bytes for bidfloorcur to set.
        Returns:
        This builder for chaining.
      • hasClickbrowser

        public boolean hasClickbrowser()
         Indicates the type of browser opened upon clicking the
         creative in an app, where false = embedded, true = native.
         Note that the Safari View Controller in iOS 9.x devices is considered
         a native browser for purposes of this attribute.
         
        optional bool clickbrowser = 16;
        Specified by:
        hasClickbrowser in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        Whether the clickbrowser field is set.
      • getClickbrowser

        public boolean getClickbrowser()
         Indicates the type of browser opened upon clicking the
         creative in an app, where false = embedded, true = native.
         Note that the Safari View Controller in iOS 9.x devices is considered
         a native browser for purposes of this attribute.
         
        optional bool clickbrowser = 16;
        Specified by:
        getClickbrowser in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        The clickbrowser.
      • setClickbrowser

        public OpenRtb.BidRequest.Imp.Builder setClickbrowser​(boolean value)
         Indicates the type of browser opened upon clicking the
         creative in an app, where false = embedded, true = native.
         Note that the Safari View Controller in iOS 9.x devices is considered
         a native browser for purposes of this attribute.
         
        optional bool clickbrowser = 16;
        Parameters:
        value - The clickbrowser to set.
        Returns:
        This builder for chaining.
      • clearClickbrowser

        public OpenRtb.BidRequest.Imp.Builder clearClickbrowser()
         Indicates the type of browser opened upon clicking the
         creative in an app, where false = embedded, true = native.
         Note that the Safari View Controller in iOS 9.x devices is considered
         a native browser for purposes of this attribute.
         
        optional bool clickbrowser = 16;
        Returns:
        This builder for chaining.
      • hasSecure

        public boolean hasSecure()
         Flag to indicate if the impression requires secure HTTPS URL creative
         assets and markup.  If omitted, the secure state is unknown, but
         non-secure HTTP support can be assumed.
         
        optional bool secure = 12;
        Specified by:
        hasSecure in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        Whether the secure field is set.
      • getSecure

        public boolean getSecure()
         Flag to indicate if the impression requires secure HTTPS URL creative
         assets and markup.  If omitted, the secure state is unknown, but
         non-secure HTTP support can be assumed.
         
        optional bool secure = 12;
        Specified by:
        getSecure in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        The secure.
      • setSecure

        public OpenRtb.BidRequest.Imp.Builder setSecure​(boolean value)
         Flag to indicate if the impression requires secure HTTPS URL creative
         assets and markup.  If omitted, the secure state is unknown, but
         non-secure HTTP support can be assumed.
         
        optional bool secure = 12;
        Parameters:
        value - The secure to set.
        Returns:
        This builder for chaining.
      • clearSecure

        public OpenRtb.BidRequest.Imp.Builder clearSecure()
         Flag to indicate if the impression requires secure HTTPS URL creative
         assets and markup.  If omitted, the secure state is unknown, but
         non-secure HTTP support can be assumed.
         
        optional bool secure = 12;
        Returns:
        This builder for chaining.
      • getIframebusterList

        public com.google.protobuf.ProtocolStringList getIframebusterList()
         Array of exchange-specific names of supported iframe busters.
         
        repeated string iframebuster = 10;
        Specified by:
        getIframebusterList in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        A list containing the iframebuster.
      • getIframebusterCount

        public int getIframebusterCount()
         Array of exchange-specific names of supported iframe busters.
         
        repeated string iframebuster = 10;
        Specified by:
        getIframebusterCount in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        The count of iframebuster.
      • getIframebuster

        public String getIframebuster​(int index)
         Array of exchange-specific names of supported iframe busters.
         
        repeated string iframebuster = 10;
        Specified by:
        getIframebuster in interface OpenRtb.BidRequest.ImpOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The iframebuster at the given index.
      • getIframebusterBytes

        public com.google.protobuf.ByteString getIframebusterBytes​(int index)
         Array of exchange-specific names of supported iframe busters.
         
        repeated string iframebuster = 10;
        Specified by:
        getIframebusterBytes in interface OpenRtb.BidRequest.ImpOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the iframebuster at the given index.
      • setIframebuster

        public OpenRtb.BidRequest.Imp.Builder setIframebuster​(int index,
                                                              String value)
         Array of exchange-specific names of supported iframe busters.
         
        repeated string iframebuster = 10;
        Parameters:
        index - The index to set the value at.
        value - The iframebuster to set.
        Returns:
        This builder for chaining.
      • addIframebuster

        public OpenRtb.BidRequest.Imp.Builder addIframebuster​(String value)
         Array of exchange-specific names of supported iframe busters.
         
        repeated string iframebuster = 10;
        Parameters:
        value - The iframebuster to add.
        Returns:
        This builder for chaining.
      • addAllIframebuster

        public OpenRtb.BidRequest.Imp.Builder addAllIframebuster​(Iterable<String> values)
         Array of exchange-specific names of supported iframe busters.
         
        repeated string iframebuster = 10;
        Parameters:
        values - The iframebuster to add.
        Returns:
        This builder for chaining.
      • clearIframebuster

        public OpenRtb.BidRequest.Imp.Builder clearIframebuster()
         Array of exchange-specific names of supported iframe busters.
         
        repeated string iframebuster = 10;
        Returns:
        This builder for chaining.
      • addIframebusterBytes

        public OpenRtb.BidRequest.Imp.Builder addIframebusterBytes​(com.google.protobuf.ByteString value)
         Array of exchange-specific names of supported iframe busters.
         
        repeated string iframebuster = 10;
        Parameters:
        value - The bytes of the iframebuster to add.
        Returns:
        This builder for chaining.
      • hasPmp

        public boolean hasPmp()
         A Pmp object (Section 3.2.17) containing any private marketplace deals
         in effect for this impression.
         
        optional .com.google.openrtb.BidRequest.Imp.Pmp pmp = 11;
        Specified by:
        hasPmp in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        Whether the pmp field is set.
      • clearPmp

        public OpenRtb.BidRequest.Imp.Builder clearPmp()
         A Pmp object (Section 3.2.17) containing any private marketplace deals
         in effect for this impression.
         
        optional .com.google.openrtb.BidRequest.Imp.Pmp pmp = 11;
      • getPmpBuilder

        public OpenRtb.BidRequest.Imp.Pmp.Builder getPmpBuilder()
         A Pmp object (Section 3.2.17) containing any private marketplace deals
         in effect for this impression.
         
        optional .com.google.openrtb.BidRequest.Imp.Pmp pmp = 11;
      • hasNative

        public boolean hasNative()
         A Native object (Section 3.2.5); required if this impression is
         offered as a native ad opportunity.
         
        optional .com.google.openrtb.BidRequest.Imp.Native native = 13;
        Specified by:
        hasNative in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        Whether the native field is set.
      • clearNative

        public OpenRtb.BidRequest.Imp.Builder clearNative()
         A Native object (Section 3.2.5); required if this impression is
         offered as a native ad opportunity.
         
        optional .com.google.openrtb.BidRequest.Imp.Native native = 13;
      • getNativeBuilder

        public OpenRtb.BidRequest.Imp.Native.Builder getNativeBuilder()
         A Native object (Section 3.2.5); required if this impression is
         offered as a native ad opportunity.
         
        optional .com.google.openrtb.BidRequest.Imp.Native native = 13;
      • hasExp

        public boolean hasExp()
         Advisory as to the number of seconds that may elapse
         between the auction and the actual impression.
         
        optional int32 exp = 14;
        Specified by:
        hasExp in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        Whether the exp field is set.
      • getExp

        public int getExp()
         Advisory as to the number of seconds that may elapse
         between the auction and the actual impression.
         
        optional int32 exp = 14;
        Specified by:
        getExp in interface OpenRtb.BidRequest.ImpOrBuilder
        Returns:
        The exp.
      • setExp

        public OpenRtb.BidRequest.Imp.Builder setExp​(int value)
         Advisory as to the number of seconds that may elapse
         between the auction and the actual impression.
         
        optional int32 exp = 14;
        Parameters:
        value - The exp to set.
        Returns:
        This builder for chaining.
      • clearExp

        public OpenRtb.BidRequest.Imp.Builder clearExp()
         Advisory as to the number of seconds that may elapse
         between the auction and the actual impression.
         
        optional int32 exp = 14;
        Returns:
        This builder for chaining.
      • getMetricCount

        public int getMetricCount()
         An array of Metric object (Section 3.2.5).
         
        repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;
        Specified by:
        getMetricCount in interface OpenRtb.BidRequest.ImpOrBuilder
      • clearMetric

        public OpenRtb.BidRequest.Imp.Builder clearMetric()
         An array of Metric object (Section 3.2.5).
         
        repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;
      • removeMetric

        public OpenRtb.BidRequest.Imp.Builder removeMetric​(int index)
         An array of Metric object (Section 3.2.5).
         
        repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;
      • getMetricBuilder

        public OpenRtb.BidRequest.Imp.Metric.Builder getMetricBuilder​(int index)
         An array of Metric object (Section 3.2.5).
         
        repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;
      • addMetricBuilder

        public OpenRtb.BidRequest.Imp.Metric.Builder addMetricBuilder()
         An array of Metric object (Section 3.2.5).
         
        repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;
      • addMetricBuilder

        public OpenRtb.BidRequest.Imp.Metric.Builder addMetricBuilder​(int index)
         An array of Metric object (Section 3.2.5).
         
        repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;
      • getMetricBuilderList

        public List<OpenRtb.BidRequest.Imp.Metric.Builder> getMetricBuilderList()
         An array of Metric object (Section 3.2.5).
         
        repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;
      • setUnknownFields

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

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