Class AdxExt.BidExt.Builder

  • All Implemented Interfaces:
    AdxExt.BidExtOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    AdxExt.BidExt

    public static final class AdxExt.BidExt.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<AdxExt.BidExt.Builder>
    implements AdxExt.BidExtOrBuilder
     Ad Exchange extensions for the Bid object.
     
    Protobuf type com.google.doubleclick.BidExt
    • 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<AdxExt.BidExt.Builder>
      • clear

        public AdxExt.BidExt.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<AdxExt.BidExt.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<AdxExt.BidExt.Builder>
      • getDefaultInstanceForType

        public AdxExt.BidExt getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public AdxExt.BidExt build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public AdxExt.BidExt buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public AdxExt.BidExt.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<AdxExt.BidExt.Builder>
      • setField

        public AdxExt.BidExt.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<AdxExt.BidExt.Builder>
      • clearField

        public AdxExt.BidExt.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AdxExt.BidExt.Builder>
      • clearOneof

        public AdxExt.BidExt.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<AdxExt.BidExt.Builder>
      • setRepeatedField

        public AdxExt.BidExt.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.Builder<AdxExt.BidExt.Builder>
      • addRepeatedField

        public AdxExt.BidExt.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AdxExt.BidExt.Builder>
      • mergeFrom

        public AdxExt.BidExt.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<AdxExt.BidExt.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AdxExt.BidExt.Builder>
      • mergeFrom

        public AdxExt.BidExt.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<AdxExt.BidExt.Builder>
        Throws:
        IOException
      • getImpressionTrackingUrlList

        public com.google.protobuf.ProtocolStringList getImpressionTrackingUrlList()
         [AdX: BidResponse.Ad.impression_tracking_url]
         
        repeated string impression_tracking_url = 1;
        Specified by:
        getImpressionTrackingUrlList in interface AdxExt.BidExtOrBuilder
        Returns:
        A list containing the impressionTrackingUrl.
      • getImpressionTrackingUrlCount

        public int getImpressionTrackingUrlCount()
         [AdX: BidResponse.Ad.impression_tracking_url]
         
        repeated string impression_tracking_url = 1;
        Specified by:
        getImpressionTrackingUrlCount in interface AdxExt.BidExtOrBuilder
        Returns:
        The count of impressionTrackingUrl.
      • getImpressionTrackingUrl

        public String getImpressionTrackingUrl​(int index)
         [AdX: BidResponse.Ad.impression_tracking_url]
         
        repeated string impression_tracking_url = 1;
        Specified by:
        getImpressionTrackingUrl in interface AdxExt.BidExtOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The impressionTrackingUrl at the given index.
      • getImpressionTrackingUrlBytes

        public com.google.protobuf.ByteString getImpressionTrackingUrlBytes​(int index)
         [AdX: BidResponse.Ad.impression_tracking_url]
         
        repeated string impression_tracking_url = 1;
        Specified by:
        getImpressionTrackingUrlBytes in interface AdxExt.BidExtOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the impressionTrackingUrl at the given index.
      • setImpressionTrackingUrl

        public AdxExt.BidExt.Builder setImpressionTrackingUrl​(int index,
                                                              String value)
         [AdX: BidResponse.Ad.impression_tracking_url]
         
        repeated string impression_tracking_url = 1;
        Parameters:
        index - The index to set the value at.
        value - The impressionTrackingUrl to set.
        Returns:
        This builder for chaining.
      • addImpressionTrackingUrl

        public AdxExt.BidExt.Builder addImpressionTrackingUrl​(String value)
         [AdX: BidResponse.Ad.impression_tracking_url]
         
        repeated string impression_tracking_url = 1;
        Parameters:
        value - The impressionTrackingUrl to add.
        Returns:
        This builder for chaining.
      • addAllImpressionTrackingUrl

        public AdxExt.BidExt.Builder addAllImpressionTrackingUrl​(Iterable<String> values)
         [AdX: BidResponse.Ad.impression_tracking_url]
         
        repeated string impression_tracking_url = 1;
        Parameters:
        values - The impressionTrackingUrl to add.
        Returns:
        This builder for chaining.
      • clearImpressionTrackingUrl

        public AdxExt.BidExt.Builder clearImpressionTrackingUrl()
         [AdX: BidResponse.Ad.impression_tracking_url]
         
        repeated string impression_tracking_url = 1;
        Returns:
        This builder for chaining.
      • addImpressionTrackingUrlBytes

        public AdxExt.BidExt.Builder addImpressionTrackingUrlBytes​(com.google.protobuf.ByteString value)
         [AdX: BidResponse.Ad.impression_tracking_url]
         
        repeated string impression_tracking_url = 1;
        Parameters:
        value - The bytes of the impressionTrackingUrl to add.
        Returns:
        This builder for chaining.
      • hasAdChoicesDestinationUrl

        public boolean hasAdChoicesDestinationUrl()
         [AdX: BidResponse.Ad.ad_choices_destination_url]
         
        optional string ad_choices_destination_url = 2;
        Specified by:
        hasAdChoicesDestinationUrl in interface AdxExt.BidExtOrBuilder
        Returns:
        Whether the adChoicesDestinationUrl field is set.
      • getAdChoicesDestinationUrl

        public String getAdChoicesDestinationUrl()
         [AdX: BidResponse.Ad.ad_choices_destination_url]
         
        optional string ad_choices_destination_url = 2;
        Specified by:
        getAdChoicesDestinationUrl in interface AdxExt.BidExtOrBuilder
        Returns:
        The adChoicesDestinationUrl.
      • getAdChoicesDestinationUrlBytes

        public com.google.protobuf.ByteString getAdChoicesDestinationUrlBytes()
         [AdX: BidResponse.Ad.ad_choices_destination_url]
         
        optional string ad_choices_destination_url = 2;
        Specified by:
        getAdChoicesDestinationUrlBytes in interface AdxExt.BidExtOrBuilder
        Returns:
        The bytes for adChoicesDestinationUrl.
      • setAdChoicesDestinationUrl

        public AdxExt.BidExt.Builder setAdChoicesDestinationUrl​(String value)
         [AdX: BidResponse.Ad.ad_choices_destination_url]
         
        optional string ad_choices_destination_url = 2;
        Parameters:
        value - The adChoicesDestinationUrl to set.
        Returns:
        This builder for chaining.
      • clearAdChoicesDestinationUrl

        public AdxExt.BidExt.Builder clearAdChoicesDestinationUrl()
         [AdX: BidResponse.Ad.ad_choices_destination_url]
         
        optional string ad_choices_destination_url = 2;
        Returns:
        This builder for chaining.
      • setAdChoicesDestinationUrlBytes

        public AdxExt.BidExt.Builder setAdChoicesDestinationUrlBytes​(com.google.protobuf.ByteString value)
         [AdX: BidResponse.Ad.ad_choices_destination_url]
         
        optional string ad_choices_destination_url = 2;
        Parameters:
        value - The bytes for adChoicesDestinationUrl to set.
        Returns:
        This builder for chaining.
      • getClickTrackingUrlsList

        public com.google.protobuf.ProtocolStringList getClickTrackingUrlsList()
         The URLs to call when the user clicks on the ad. Currently supported only
         for native ads and Programmatic Guaranteed deals with publisher-
         managed creatives. In the publisher managed case, these click trackers
         will be sent to the bidder server to server. In all other cases, these
         will be sent from the user's device. For more information on
         publisher-managed creatives, see
         https://support.google.com/admanager/answer/9243220.
         [AdX: BidResponse.Ad.click_tracking_urls]
         
        repeated string click_tracking_urls = 22;
        Specified by:
        getClickTrackingUrlsList in interface AdxExt.BidExtOrBuilder
        Returns:
        A list containing the clickTrackingUrls.
      • getClickTrackingUrlsCount

        public int getClickTrackingUrlsCount()
         The URLs to call when the user clicks on the ad. Currently supported only
         for native ads and Programmatic Guaranteed deals with publisher-
         managed creatives. In the publisher managed case, these click trackers
         will be sent to the bidder server to server. In all other cases, these
         will be sent from the user's device. For more information on
         publisher-managed creatives, see
         https://support.google.com/admanager/answer/9243220.
         [AdX: BidResponse.Ad.click_tracking_urls]
         
        repeated string click_tracking_urls = 22;
        Specified by:
        getClickTrackingUrlsCount in interface AdxExt.BidExtOrBuilder
        Returns:
        The count of clickTrackingUrls.
      • getClickTrackingUrls

        public String getClickTrackingUrls​(int index)
         The URLs to call when the user clicks on the ad. Currently supported only
         for native ads and Programmatic Guaranteed deals with publisher-
         managed creatives. In the publisher managed case, these click trackers
         will be sent to the bidder server to server. In all other cases, these
         will be sent from the user's device. For more information on
         publisher-managed creatives, see
         https://support.google.com/admanager/answer/9243220.
         [AdX: BidResponse.Ad.click_tracking_urls]
         
        repeated string click_tracking_urls = 22;
        Specified by:
        getClickTrackingUrls in interface AdxExt.BidExtOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The clickTrackingUrls at the given index.
      • getClickTrackingUrlsBytes

        public com.google.protobuf.ByteString getClickTrackingUrlsBytes​(int index)
         The URLs to call when the user clicks on the ad. Currently supported only
         for native ads and Programmatic Guaranteed deals with publisher-
         managed creatives. In the publisher managed case, these click trackers
         will be sent to the bidder server to server. In all other cases, these
         will be sent from the user's device. For more information on
         publisher-managed creatives, see
         https://support.google.com/admanager/answer/9243220.
         [AdX: BidResponse.Ad.click_tracking_urls]
         
        repeated string click_tracking_urls = 22;
        Specified by:
        getClickTrackingUrlsBytes in interface AdxExt.BidExtOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the clickTrackingUrls at the given index.
      • setClickTrackingUrls

        public AdxExt.BidExt.Builder setClickTrackingUrls​(int index,
                                                          String value)
         The URLs to call when the user clicks on the ad. Currently supported only
         for native ads and Programmatic Guaranteed deals with publisher-
         managed creatives. In the publisher managed case, these click trackers
         will be sent to the bidder server to server. In all other cases, these
         will be sent from the user's device. For more information on
         publisher-managed creatives, see
         https://support.google.com/admanager/answer/9243220.
         [AdX: BidResponse.Ad.click_tracking_urls]
         
        repeated string click_tracking_urls = 22;
        Parameters:
        index - The index to set the value at.
        value - The clickTrackingUrls to set.
        Returns:
        This builder for chaining.
      • addClickTrackingUrls

        public AdxExt.BidExt.Builder addClickTrackingUrls​(String value)
         The URLs to call when the user clicks on the ad. Currently supported only
         for native ads and Programmatic Guaranteed deals with publisher-
         managed creatives. In the publisher managed case, these click trackers
         will be sent to the bidder server to server. In all other cases, these
         will be sent from the user's device. For more information on
         publisher-managed creatives, see
         https://support.google.com/admanager/answer/9243220.
         [AdX: BidResponse.Ad.click_tracking_urls]
         
        repeated string click_tracking_urls = 22;
        Parameters:
        value - The clickTrackingUrls to add.
        Returns:
        This builder for chaining.
      • addAllClickTrackingUrls

        public AdxExt.BidExt.Builder addAllClickTrackingUrls​(Iterable<String> values)
         The URLs to call when the user clicks on the ad. Currently supported only
         for native ads and Programmatic Guaranteed deals with publisher-
         managed creatives. In the publisher managed case, these click trackers
         will be sent to the bidder server to server. In all other cases, these
         will be sent from the user's device. For more information on
         publisher-managed creatives, see
         https://support.google.com/admanager/answer/9243220.
         [AdX: BidResponse.Ad.click_tracking_urls]
         
        repeated string click_tracking_urls = 22;
        Parameters:
        values - The clickTrackingUrls to add.
        Returns:
        This builder for chaining.
      • clearClickTrackingUrls

        public AdxExt.BidExt.Builder clearClickTrackingUrls()
         The URLs to call when the user clicks on the ad. Currently supported only
         for native ads and Programmatic Guaranteed deals with publisher-
         managed creatives. In the publisher managed case, these click trackers
         will be sent to the bidder server to server. In all other cases, these
         will be sent from the user's device. For more information on
         publisher-managed creatives, see
         https://support.google.com/admanager/answer/9243220.
         [AdX: BidResponse.Ad.click_tracking_urls]
         
        repeated string click_tracking_urls = 22;
        Returns:
        This builder for chaining.
      • addClickTrackingUrlsBytes

        public AdxExt.BidExt.Builder addClickTrackingUrlsBytes​(com.google.protobuf.ByteString value)
         The URLs to call when the user clicks on the ad. Currently supported only
         for native ads and Programmatic Guaranteed deals with publisher-
         managed creatives. In the publisher managed case, these click trackers
         will be sent to the bidder server to server. In all other cases, these
         will be sent from the user's device. For more information on
         publisher-managed creatives, see
         https://support.google.com/admanager/answer/9243220.
         [AdX: BidResponse.Ad.click_tracking_urls]
         
        repeated string click_tracking_urls = 22;
        Parameters:
        value - The bytes of the clickTrackingUrls to add.
        Returns:
        This builder for chaining.
      • hasDEPRECATEDBidderName

        @Deprecated
        public boolean hasDEPRECATEDBidderName()
        Deprecated.
        com.google.doubleclick.BidExt.DEPRECATED_bidder_name is deprecated. See openrtb-adx.proto;l=318
         This field is deprecated due to being unused.
         [AdX: BidResponse.Ad.bidder_name]
         
        optional string DEPRECATED_bidder_name = 3 [deprecated = true];
        Specified by:
        hasDEPRECATEDBidderName in interface AdxExt.BidExtOrBuilder
        Returns:
        Whether the dEPRECATEDBidderName field is set.
      • getDEPRECATEDBidderName

        @Deprecated
        public String getDEPRECATEDBidderName()
        Deprecated.
        com.google.doubleclick.BidExt.DEPRECATED_bidder_name is deprecated. See openrtb-adx.proto;l=318
         This field is deprecated due to being unused.
         [AdX: BidResponse.Ad.bidder_name]
         
        optional string DEPRECATED_bidder_name = 3 [deprecated = true];
        Specified by:
        getDEPRECATEDBidderName in interface AdxExt.BidExtOrBuilder
        Returns:
        The dEPRECATEDBidderName.
      • getDEPRECATEDBidderNameBytes

        @Deprecated
        public com.google.protobuf.ByteString getDEPRECATEDBidderNameBytes()
        Deprecated.
        com.google.doubleclick.BidExt.DEPRECATED_bidder_name is deprecated. See openrtb-adx.proto;l=318
         This field is deprecated due to being unused.
         [AdX: BidResponse.Ad.bidder_name]
         
        optional string DEPRECATED_bidder_name = 3 [deprecated = true];
        Specified by:
        getDEPRECATEDBidderNameBytes in interface AdxExt.BidExtOrBuilder
        Returns:
        The bytes for dEPRECATEDBidderName.
      • setDEPRECATEDBidderName

        @Deprecated
        public AdxExt.BidExt.Builder setDEPRECATEDBidderName​(String value)
        Deprecated.
        com.google.doubleclick.BidExt.DEPRECATED_bidder_name is deprecated. See openrtb-adx.proto;l=318
         This field is deprecated due to being unused.
         [AdX: BidResponse.Ad.bidder_name]
         
        optional string DEPRECATED_bidder_name = 3 [deprecated = true];
        Parameters:
        value - The dEPRECATEDBidderName to set.
        Returns:
        This builder for chaining.
      • clearDEPRECATEDBidderName

        @Deprecated
        public AdxExt.BidExt.Builder clearDEPRECATEDBidderName()
        Deprecated.
        com.google.doubleclick.BidExt.DEPRECATED_bidder_name is deprecated. See openrtb-adx.proto;l=318
         This field is deprecated due to being unused.
         [AdX: BidResponse.Ad.bidder_name]
         
        optional string DEPRECATED_bidder_name = 3 [deprecated = true];
        Returns:
        This builder for chaining.
      • setDEPRECATEDBidderNameBytes

        @Deprecated
        public AdxExt.BidExt.Builder setDEPRECATEDBidderNameBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        com.google.doubleclick.BidExt.DEPRECATED_bidder_name is deprecated. See openrtb-adx.proto;l=318
         This field is deprecated due to being unused.
         [AdX: BidResponse.Ad.bidder_name]
         
        optional string DEPRECATED_bidder_name = 3 [deprecated = true];
        Parameters:
        value - The bytes for dEPRECATEDBidderName to set.
        Returns:
        This builder for chaining.
      • hasExchangeDealType

        public boolean hasExchangeDealType()
        optional .com.google.doubleclick.BidExt.ExchangeDealType exchange_deal_type = 4 [default = OPEN_AUCTION];
        Specified by:
        hasExchangeDealType in interface AdxExt.BidExtOrBuilder
        Returns:
        Whether the exchangeDealType field is set.
      • setExchangeDealType

        public AdxExt.BidExt.Builder setExchangeDealType​(AdxExt.BidExt.ExchangeDealType value)
        optional .com.google.doubleclick.BidExt.ExchangeDealType exchange_deal_type = 4 [default = OPEN_AUCTION];
        Parameters:
        value - The exchangeDealType to set.
        Returns:
        This builder for chaining.
      • clearExchangeDealType

        public AdxExt.BidExt.Builder clearExchangeDealType()
        optional .com.google.doubleclick.BidExt.ExchangeDealType exchange_deal_type = 4 [default = OPEN_AUCTION];
        Returns:
        This builder for chaining.
      • getAttributeList

        public List<Integer> getAttributeList()
         [AdX: BidResponse.Ad.attribute]
         See buyer-declarable-creative-attributes.txt in the technical documentation
         for a list of ids. Note that not all declarable attributes come through in
         the BidRequest in the various `battr` fields.
         
        repeated int32 attribute = 5 [packed = true];
        Specified by:
        getAttributeList in interface AdxExt.BidExtOrBuilder
        Returns:
        A list containing the attribute.
      • getAttributeCount

        public int getAttributeCount()
         [AdX: BidResponse.Ad.attribute]
         See buyer-declarable-creative-attributes.txt in the technical documentation
         for a list of ids. Note that not all declarable attributes come through in
         the BidRequest in the various `battr` fields.
         
        repeated int32 attribute = 5 [packed = true];
        Specified by:
        getAttributeCount in interface AdxExt.BidExtOrBuilder
        Returns:
        The count of attribute.
      • getAttribute

        public int getAttribute​(int index)
         [AdX: BidResponse.Ad.attribute]
         See buyer-declarable-creative-attributes.txt in the technical documentation
         for a list of ids. Note that not all declarable attributes come through in
         the BidRequest in the various `battr` fields.
         
        repeated int32 attribute = 5 [packed = true];
        Specified by:
        getAttribute in interface AdxExt.BidExtOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The attribute at the given index.
      • setAttribute

        public AdxExt.BidExt.Builder setAttribute​(int index,
                                                  int value)
         [AdX: BidResponse.Ad.attribute]
         See buyer-declarable-creative-attributes.txt in the technical documentation
         for a list of ids. Note that not all declarable attributes come through in
         the BidRequest in the various `battr` fields.
         
        repeated int32 attribute = 5 [packed = true];
        Parameters:
        index - The index to set the value at.
        value - The attribute to set.
        Returns:
        This builder for chaining.
      • addAttribute

        public AdxExt.BidExt.Builder addAttribute​(int value)
         [AdX: BidResponse.Ad.attribute]
         See buyer-declarable-creative-attributes.txt in the technical documentation
         for a list of ids. Note that not all declarable attributes come through in
         the BidRequest in the various `battr` fields.
         
        repeated int32 attribute = 5 [packed = true];
        Parameters:
        value - The attribute to add.
        Returns:
        This builder for chaining.
      • addAllAttribute

        public AdxExt.BidExt.Builder addAllAttribute​(Iterable<? extends Integer> values)
         [AdX: BidResponse.Ad.attribute]
         See buyer-declarable-creative-attributes.txt in the technical documentation
         for a list of ids. Note that not all declarable attributes come through in
         the BidRequest in the various `battr` fields.
         
        repeated int32 attribute = 5 [packed = true];
        Parameters:
        values - The attribute to add.
        Returns:
        This builder for chaining.
      • clearAttribute

        public AdxExt.BidExt.Builder clearAttribute()
         [AdX: BidResponse.Ad.attribute]
         See buyer-declarable-creative-attributes.txt in the technical documentation
         for a list of ids. Note that not all declarable attributes come through in
         the BidRequest in the various `battr` fields.
         
        repeated int32 attribute = 5 [packed = true];
        Returns:
        This builder for chaining.
      • hasAmpAdUrl

        public boolean hasAmpAdUrl()
         The URL to fetch an AMPHTML ad. Only one of the following should be set:
         html_snippet, video_url, amp_ad_url, native_ad.
         
        optional string amp_ad_url = 6;
        Specified by:
        hasAmpAdUrl in interface AdxExt.BidExtOrBuilder
        Returns:
        Whether the ampAdUrl field is set.
      • getAmpAdUrl

        public String getAmpAdUrl()
         The URL to fetch an AMPHTML ad. Only one of the following should be set:
         html_snippet, video_url, amp_ad_url, native_ad.
         
        optional string amp_ad_url = 6;
        Specified by:
        getAmpAdUrl in interface AdxExt.BidExtOrBuilder
        Returns:
        The ampAdUrl.
      • getAmpAdUrlBytes

        public com.google.protobuf.ByteString getAmpAdUrlBytes()
         The URL to fetch an AMPHTML ad. Only one of the following should be set:
         html_snippet, video_url, amp_ad_url, native_ad.
         
        optional string amp_ad_url = 6;
        Specified by:
        getAmpAdUrlBytes in interface AdxExt.BidExtOrBuilder
        Returns:
        The bytes for ampAdUrl.
      • setAmpAdUrl

        public AdxExt.BidExt.Builder setAmpAdUrl​(String value)
         The URL to fetch an AMPHTML ad. Only one of the following should be set:
         html_snippet, video_url, amp_ad_url, native_ad.
         
        optional string amp_ad_url = 6;
        Parameters:
        value - The ampAdUrl to set.
        Returns:
        This builder for chaining.
      • clearAmpAdUrl

        public AdxExt.BidExt.Builder clearAmpAdUrl()
         The URL to fetch an AMPHTML ad. Only one of the following should be set:
         html_snippet, video_url, amp_ad_url, native_ad.
         
        optional string amp_ad_url = 6;
        Returns:
        This builder for chaining.
      • setAmpAdUrlBytes

        public AdxExt.BidExt.Builder setAmpAdUrlBytes​(com.google.protobuf.ByteString value)
         The URL to fetch an AMPHTML ad. Only one of the following should be set:
         html_snippet, video_url, amp_ad_url, native_ad.
         
        optional string amp_ad_url = 6;
        Parameters:
        value - The bytes for ampAdUrl to set.
        Returns:
        This builder for chaining.
      • hasSdkRenderedAd

        public boolean hasSdkRenderedAd()
        optional .com.google.doubleclick.BidExt.SdkRenderedAd sdk_rendered_ad = 7;
        Specified by:
        hasSdkRenderedAd in interface AdxExt.BidExtOrBuilder
        Returns:
        Whether the sdkRenderedAd field is set.
      • clearSdkRenderedAd

        public AdxExt.BidExt.Builder clearSdkRenderedAd()
        optional .com.google.doubleclick.BidExt.SdkRenderedAd sdk_rendered_ad = 7;
      • hasEventNotificationToken

        public boolean hasEventNotificationToken()
         A token set by bidders for troubleshooting which will be included in the
         real-time feedback for the Bid it is sent in. The contents of the token
         will not be logged.
         
        optional .com.google.doubleclick.BidExt.EventNotificationToken event_notification_token = 8;
        Specified by:
        hasEventNotificationToken in interface AdxExt.BidExtOrBuilder
        Returns:
        Whether the eventNotificationToken field is set.
      • getEventNotificationToken

        public AdxExt.BidExt.EventNotificationToken getEventNotificationToken()
         A token set by bidders for troubleshooting which will be included in the
         real-time feedback for the Bid it is sent in. The contents of the token
         will not be logged.
         
        optional .com.google.doubleclick.BidExt.EventNotificationToken event_notification_token = 8;
        Specified by:
        getEventNotificationToken in interface AdxExt.BidExtOrBuilder
        Returns:
        The eventNotificationToken.
      • setEventNotificationToken

        public AdxExt.BidExt.Builder setEventNotificationToken​(AdxExt.BidExt.EventNotificationToken value)
         A token set by bidders for troubleshooting which will be included in the
         real-time feedback for the Bid it is sent in. The contents of the token
         will not be logged.
         
        optional .com.google.doubleclick.BidExt.EventNotificationToken event_notification_token = 8;
      • setEventNotificationToken

        public AdxExt.BidExt.Builder setEventNotificationToken​(AdxExt.BidExt.EventNotificationToken.Builder builderForValue)
         A token set by bidders for troubleshooting which will be included in the
         real-time feedback for the Bid it is sent in. The contents of the token
         will not be logged.
         
        optional .com.google.doubleclick.BidExt.EventNotificationToken event_notification_token = 8;
      • mergeEventNotificationToken

        public AdxExt.BidExt.Builder mergeEventNotificationToken​(AdxExt.BidExt.EventNotificationToken value)
         A token set by bidders for troubleshooting which will be included in the
         real-time feedback for the Bid it is sent in. The contents of the token
         will not be logged.
         
        optional .com.google.doubleclick.BidExt.EventNotificationToken event_notification_token = 8;
      • clearEventNotificationToken

        public AdxExt.BidExt.Builder clearEventNotificationToken()
         A token set by bidders for troubleshooting which will be included in the
         real-time feedback for the Bid it is sent in. The contents of the token
         will not be logged.
         
        optional .com.google.doubleclick.BidExt.EventNotificationToken event_notification_token = 8;
      • getEventNotificationTokenBuilder

        public AdxExt.BidExt.EventNotificationToken.Builder getEventNotificationTokenBuilder()
         A token set by bidders for troubleshooting which will be included in the
         real-time feedback for the Bid it is sent in. The contents of the token
         will not be logged.
         
        optional .com.google.doubleclick.BidExt.EventNotificationToken event_notification_token = 8;
      • getRestrictedCategoryList

        public List<Integer> getRestrictedCategoryList()
         All restricted categories for the ads that may be shown from this snippet.
         See ad-restricted-categories.txt in the technical documentation for a list
         of ids. If you are bidding with ads in restricted categories, you must
         always declare them here.
         
        repeated int32 restricted_category = 9;
        Specified by:
        getRestrictedCategoryList in interface AdxExt.BidExtOrBuilder
        Returns:
        A list containing the restrictedCategory.
      • getRestrictedCategoryCount

        public int getRestrictedCategoryCount()
         All restricted categories for the ads that may be shown from this snippet.
         See ad-restricted-categories.txt in the technical documentation for a list
         of ids. If you are bidding with ads in restricted categories, you must
         always declare them here.
         
        repeated int32 restricted_category = 9;
        Specified by:
        getRestrictedCategoryCount in interface AdxExt.BidExtOrBuilder
        Returns:
        The count of restrictedCategory.
      • getRestrictedCategory

        public int getRestrictedCategory​(int index)
         All restricted categories for the ads that may be shown from this snippet.
         See ad-restricted-categories.txt in the technical documentation for a list
         of ids. If you are bidding with ads in restricted categories, you must
         always declare them here.
         
        repeated int32 restricted_category = 9;
        Specified by:
        getRestrictedCategory in interface AdxExt.BidExtOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The restrictedCategory at the given index.
      • setRestrictedCategory

        public AdxExt.BidExt.Builder setRestrictedCategory​(int index,
                                                           int value)
         All restricted categories for the ads that may be shown from this snippet.
         See ad-restricted-categories.txt in the technical documentation for a list
         of ids. If you are bidding with ads in restricted categories, you must
         always declare them here.
         
        repeated int32 restricted_category = 9;
        Parameters:
        index - The index to set the value at.
        value - The restrictedCategory to set.
        Returns:
        This builder for chaining.
      • addRestrictedCategory

        public AdxExt.BidExt.Builder addRestrictedCategory​(int value)
         All restricted categories for the ads that may be shown from this snippet.
         See ad-restricted-categories.txt in the technical documentation for a list
         of ids. If you are bidding with ads in restricted categories, you must
         always declare them here.
         
        repeated int32 restricted_category = 9;
        Parameters:
        value - The restrictedCategory to add.
        Returns:
        This builder for chaining.
      • addAllRestrictedCategory

        public AdxExt.BidExt.Builder addAllRestrictedCategory​(Iterable<? extends Integer> values)
         All restricted categories for the ads that may be shown from this snippet.
         See ad-restricted-categories.txt in the technical documentation for a list
         of ids. If you are bidding with ads in restricted categories, you must
         always declare them here.
         
        repeated int32 restricted_category = 9;
        Parameters:
        values - The restrictedCategory to add.
        Returns:
        This builder for chaining.
      • clearRestrictedCategory

        public AdxExt.BidExt.Builder clearRestrictedCategory()
         All restricted categories for the ads that may be shown from this snippet.
         See ad-restricted-categories.txt in the technical documentation for a list
         of ids. If you are bidding with ads in restricted categories, you must
         always declare them here.
         
        repeated int32 restricted_category = 9;
        Returns:
        This builder for chaining.
      • hasBillingId

        public boolean hasBillingId()
         The billing ID to attribute this impression to. The value must be in the
         repeated BidRequest.Imp.ImpExt.billing_id field sent for this impression.
         If the length of BidRequest.Imp.ImpExt.billing_id is exactly 1
         and the bidder does not have any active child seats, this field
         is not required and its contents will be ignored.
         
        optional int64 billing_id = 10;
        Specified by:
        hasBillingId in interface AdxExt.BidExtOrBuilder
        Returns:
        Whether the billingId field is set.
      • getBillingId

        public long getBillingId()
         The billing ID to attribute this impression to. The value must be in the
         repeated BidRequest.Imp.ImpExt.billing_id field sent for this impression.
         If the length of BidRequest.Imp.ImpExt.billing_id is exactly 1
         and the bidder does not have any active child seats, this field
         is not required and its contents will be ignored.
         
        optional int64 billing_id = 10;
        Specified by:
        getBillingId in interface AdxExt.BidExtOrBuilder
        Returns:
        The billingId.
      • setBillingId

        public AdxExt.BidExt.Builder setBillingId​(long value)
         The billing ID to attribute this impression to. The value must be in the
         repeated BidRequest.Imp.ImpExt.billing_id field sent for this impression.
         If the length of BidRequest.Imp.ImpExt.billing_id is exactly 1
         and the bidder does not have any active child seats, this field
         is not required and its contents will be ignored.
         
        optional int64 billing_id = 10;
        Parameters:
        value - The billingId to set.
        Returns:
        This builder for chaining.
      • clearBillingId

        public AdxExt.BidExt.Builder clearBillingId()
         The billing ID to attribute this impression to. The value must be in the
         repeated BidRequest.Imp.ImpExt.billing_id field sent for this impression.
         If the length of BidRequest.Imp.ImpExt.billing_id is exactly 1
         and the bidder does not have any active child seats, this field
         is not required and its contents will be ignored.
         
        optional int64 billing_id = 10;
        Returns:
        This builder for chaining.
      • hasThirdPartyBuyerToken

        public boolean hasThirdPartyBuyerToken()
         Token used to identify end third party buyer information if an
         exchange as an open bidder is an intermediary. This is obtained from the
         third party buyer and must be passed to Google unaltered in the bid
         response.
         
        optional string third_party_buyer_token = 14;
        Specified by:
        hasThirdPartyBuyerToken in interface AdxExt.BidExtOrBuilder
        Returns:
        Whether the thirdPartyBuyerToken field is set.
      • getThirdPartyBuyerToken

        public String getThirdPartyBuyerToken()
         Token used to identify end third party buyer information if an
         exchange as an open bidder is an intermediary. This is obtained from the
         third party buyer and must be passed to Google unaltered in the bid
         response.
         
        optional string third_party_buyer_token = 14;
        Specified by:
        getThirdPartyBuyerToken in interface AdxExt.BidExtOrBuilder
        Returns:
        The thirdPartyBuyerToken.
      • getThirdPartyBuyerTokenBytes

        public com.google.protobuf.ByteString getThirdPartyBuyerTokenBytes()
         Token used to identify end third party buyer information if an
         exchange as an open bidder is an intermediary. This is obtained from the
         third party buyer and must be passed to Google unaltered in the bid
         response.
         
        optional string third_party_buyer_token = 14;
        Specified by:
        getThirdPartyBuyerTokenBytes in interface AdxExt.BidExtOrBuilder
        Returns:
        The bytes for thirdPartyBuyerToken.
      • setThirdPartyBuyerToken

        public AdxExt.BidExt.Builder setThirdPartyBuyerToken​(String value)
         Token used to identify end third party buyer information if an
         exchange as an open bidder is an intermediary. This is obtained from the
         third party buyer and must be passed to Google unaltered in the bid
         response.
         
        optional string third_party_buyer_token = 14;
        Parameters:
        value - The thirdPartyBuyerToken to set.
        Returns:
        This builder for chaining.
      • clearThirdPartyBuyerToken

        public AdxExt.BidExt.Builder clearThirdPartyBuyerToken()
         Token used to identify end third party buyer information if an
         exchange as an open bidder is an intermediary. This is obtained from the
         third party buyer and must be passed to Google unaltered in the bid
         response.
         
        optional string third_party_buyer_token = 14;
        Returns:
        This builder for chaining.
      • setThirdPartyBuyerTokenBytes

        public AdxExt.BidExt.Builder setThirdPartyBuyerTokenBytes​(com.google.protobuf.ByteString value)
         Token used to identify end third party buyer information if an
         exchange as an open bidder is an intermediary. This is obtained from the
         third party buyer and must be passed to Google unaltered in the bid
         response.
         
        optional string third_party_buyer_token = 14;
        Parameters:
        value - The bytes for thirdPartyBuyerToken to set.
        Returns:
        This builder for chaining.
      • hasBuyerReportingId

        public boolean hasBuyerReportingId()
         Buyer declared ID which will be used to break down spend and invalid
         traffic metrics in IVT transparency reporting in Query Tool. Note that IDs
         with fewer than 1000 impressions will not be used to break down metrics.
         IDs longer than 64 bytes will be ignored.
         
        optional string buyer_reporting_id = 17;
        Specified by:
        hasBuyerReportingId in interface AdxExt.BidExtOrBuilder
        Returns:
        Whether the buyerReportingId field is set.
      • getBuyerReportingId

        public String getBuyerReportingId()
         Buyer declared ID which will be used to break down spend and invalid
         traffic metrics in IVT transparency reporting in Query Tool. Note that IDs
         with fewer than 1000 impressions will not be used to break down metrics.
         IDs longer than 64 bytes will be ignored.
         
        optional string buyer_reporting_id = 17;
        Specified by:
        getBuyerReportingId in interface AdxExt.BidExtOrBuilder
        Returns:
        The buyerReportingId.
      • getBuyerReportingIdBytes

        public com.google.protobuf.ByteString getBuyerReportingIdBytes()
         Buyer declared ID which will be used to break down spend and invalid
         traffic metrics in IVT transparency reporting in Query Tool. Note that IDs
         with fewer than 1000 impressions will not be used to break down metrics.
         IDs longer than 64 bytes will be ignored.
         
        optional string buyer_reporting_id = 17;
        Specified by:
        getBuyerReportingIdBytes in interface AdxExt.BidExtOrBuilder
        Returns:
        The bytes for buyerReportingId.
      • setBuyerReportingId

        public AdxExt.BidExt.Builder setBuyerReportingId​(String value)
         Buyer declared ID which will be used to break down spend and invalid
         traffic metrics in IVT transparency reporting in Query Tool. Note that IDs
         with fewer than 1000 impressions will not be used to break down metrics.
         IDs longer than 64 bytes will be ignored.
         
        optional string buyer_reporting_id = 17;
        Parameters:
        value - The buyerReportingId to set.
        Returns:
        This builder for chaining.
      • clearBuyerReportingId

        public AdxExt.BidExt.Builder clearBuyerReportingId()
         Buyer declared ID which will be used to break down spend and invalid
         traffic metrics in IVT transparency reporting in Query Tool. Note that IDs
         with fewer than 1000 impressions will not be used to break down metrics.
         IDs longer than 64 bytes will be ignored.
         
        optional string buyer_reporting_id = 17;
        Returns:
        This builder for chaining.
      • setBuyerReportingIdBytes

        public AdxExt.BidExt.Builder setBuyerReportingIdBytes​(com.google.protobuf.ByteString value)
         Buyer declared ID which will be used to break down spend and invalid
         traffic metrics in IVT transparency reporting in Query Tool. Note that IDs
         with fewer than 1000 impressions will not be used to break down metrics.
         IDs longer than 64 bytes will be ignored.
         
        optional string buyer_reporting_id = 17;
        Parameters:
        value - The bytes for buyerReportingId to set.
        Returns:
        This builder for chaining.
      • getFcapCount

        public int getFcapCount()
        repeated .com.google.doubleclick.BidExt.FrequencyCap fcap = 18;
        Specified by:
        getFcapCount in interface AdxExt.BidExtOrBuilder
      • clearFcap

        public AdxExt.BidExt.Builder clearFcap()
        repeated .com.google.doubleclick.BidExt.FrequencyCap fcap = 18;
      • removeFcap

        public AdxExt.BidExt.Builder removeFcap​(int index)
        repeated .com.google.doubleclick.BidExt.FrequencyCap fcap = 18;
      • hasSkadn

        public boolean hasSkadn()
         [AdX: BidResponse.Ad.skadn]
         
        optional .com.google.doubleclick.BidExt.SKAdNetworkResponse skadn = 19;
        Specified by:
        hasSkadn in interface AdxExt.BidExtOrBuilder
        Returns:
        Whether the skadn field is set.
      • clearSkadn

        public AdxExt.BidExt.Builder clearSkadn()
         [AdX: BidResponse.Ad.skadn]
         
        optional .com.google.doubleclick.BidExt.SKAdNetworkResponse skadn = 19;
      • setUnknownFields

        public final AdxExt.BidExt.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<AdxExt.BidExt.Builder>
      • mergeUnknownFields

        public final AdxExt.BidExt.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<AdxExt.BidExt.Builder>