Class OpenRtb.NativeResponse.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.NativeResponse.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.NativeResponse.Builder>
      • getDefaultInstanceForType

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

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

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

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

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

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

        public boolean hasVer()
         Version of the Native Markup version in use.
         RECOMMENDED by the OpenRTB Native specification.
         
        optional string ver = 1;
        Specified by:
        hasVer in interface OpenRtb.NativeResponseOrBuilder
        Returns:
        Whether the ver field is set.
      • getVer

        public String getVer()
         Version of the Native Markup version in use.
         RECOMMENDED by the OpenRTB Native specification.
         
        optional string ver = 1;
        Specified by:
        getVer in interface OpenRtb.NativeResponseOrBuilder
        Returns:
        The ver.
      • getVerBytes

        public com.google.protobuf.ByteString getVerBytes()
         Version of the Native Markup version in use.
         RECOMMENDED by the OpenRTB Native specification.
         
        optional string ver = 1;
        Specified by:
        getVerBytes in interface OpenRtb.NativeResponseOrBuilder
        Returns:
        The bytes for ver.
      • setVer

        public OpenRtb.NativeResponse.Builder setVer​(String value)
         Version of the Native Markup version in use.
         RECOMMENDED by the OpenRTB Native specification.
         
        optional string ver = 1;
        Parameters:
        value - The ver to set.
        Returns:
        This builder for chaining.
      • clearVer

        public OpenRtb.NativeResponse.Builder clearVer()
         Version of the Native Markup version in use.
         RECOMMENDED by the OpenRTB Native specification.
         
        optional string ver = 1;
        Returns:
        This builder for chaining.
      • setVerBytes

        public OpenRtb.NativeResponse.Builder setVerBytes​(com.google.protobuf.ByteString value)
         Version of the Native Markup version in use.
         RECOMMENDED by the OpenRTB Native specification.
         
        optional string ver = 1;
        Parameters:
        value - The bytes for ver to set.
        Returns:
        This builder for chaining.
      • getAssetsCount

        public int getAssetsCount()
         List of native ad's assets.
         RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
         REQUIRED in 1.2, if not assetsurl is provided.
         
        repeated .com.google.openrtb.NativeResponse.Asset assets = 2;
        Specified by:
        getAssetsCount in interface OpenRtb.NativeResponseOrBuilder
      • getAssets

        public OpenRtb.NativeResponse.Asset getAssets​(int index)
         List of native ad's assets.
         RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
         REQUIRED in 1.2, if not assetsurl is provided.
         
        repeated .com.google.openrtb.NativeResponse.Asset assets = 2;
        Specified by:
        getAssets in interface OpenRtb.NativeResponseOrBuilder
      • setAssets

        public OpenRtb.NativeResponse.Builder setAssets​(int index,
                                                        OpenRtb.NativeResponse.Asset value)
         List of native ad's assets.
         RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
         REQUIRED in 1.2, if not assetsurl is provided.
         
        repeated .com.google.openrtb.NativeResponse.Asset assets = 2;
      • setAssets

        public OpenRtb.NativeResponse.Builder setAssets​(int index,
                                                        OpenRtb.NativeResponse.Asset.Builder builderForValue)
         List of native ad's assets.
         RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
         REQUIRED in 1.2, if not assetsurl is provided.
         
        repeated .com.google.openrtb.NativeResponse.Asset assets = 2;
      • addAssets

        public OpenRtb.NativeResponse.Builder addAssets​(OpenRtb.NativeResponse.Asset value)
         List of native ad's assets.
         RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
         REQUIRED in 1.2, if not assetsurl is provided.
         
        repeated .com.google.openrtb.NativeResponse.Asset assets = 2;
      • addAssets

        public OpenRtb.NativeResponse.Builder addAssets​(int index,
                                                        OpenRtb.NativeResponse.Asset value)
         List of native ad's assets.
         RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
         REQUIRED in 1.2, if not assetsurl is provided.
         
        repeated .com.google.openrtb.NativeResponse.Asset assets = 2;
      • addAssets

        public OpenRtb.NativeResponse.Builder addAssets​(OpenRtb.NativeResponse.Asset.Builder builderForValue)
         List of native ad's assets.
         RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
         REQUIRED in 1.2, if not assetsurl is provided.
         
        repeated .com.google.openrtb.NativeResponse.Asset assets = 2;
      • addAssets

        public OpenRtb.NativeResponse.Builder addAssets​(int index,
                                                        OpenRtb.NativeResponse.Asset.Builder builderForValue)
         List of native ad's assets.
         RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
         REQUIRED in 1.2, if not assetsurl is provided.
         
        repeated .com.google.openrtb.NativeResponse.Asset assets = 2;
      • addAllAssets

        public OpenRtb.NativeResponse.Builder addAllAssets​(Iterable<? extends OpenRtb.NativeResponse.Asset> values)
         List of native ad's assets.
         RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
         REQUIRED in 1.2, if not assetsurl is provided.
         
        repeated .com.google.openrtb.NativeResponse.Asset assets = 2;
      • clearAssets

        public OpenRtb.NativeResponse.Builder clearAssets()
         List of native ad's assets.
         RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
         REQUIRED in 1.2, if not assetsurl is provided.
         
        repeated .com.google.openrtb.NativeResponse.Asset assets = 2;
      • removeAssets

        public OpenRtb.NativeResponse.Builder removeAssets​(int index)
         List of native ad's assets.
         RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
         REQUIRED in 1.2, if not assetsurl is provided.
         
        repeated .com.google.openrtb.NativeResponse.Asset assets = 2;
      • getAssetsBuilder

        public OpenRtb.NativeResponse.Asset.Builder getAssetsBuilder​(int index)
         List of native ad's assets.
         RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
         REQUIRED in 1.2, if not assetsurl is provided.
         
        repeated .com.google.openrtb.NativeResponse.Asset assets = 2;
      • addAssetsBuilder

        public OpenRtb.NativeResponse.Asset.Builder addAssetsBuilder()
         List of native ad's assets.
         RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
         REQUIRED in 1.2, if not assetsurl is provided.
         
        repeated .com.google.openrtb.NativeResponse.Asset assets = 2;
      • addAssetsBuilder

        public OpenRtb.NativeResponse.Asset.Builder addAssetsBuilder​(int index)
         List of native ad's assets.
         RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
         REQUIRED in 1.2, if not assetsurl is provided.
         
        repeated .com.google.openrtb.NativeResponse.Asset assets = 2;
      • getAssetsBuilderList

        public List<OpenRtb.NativeResponse.Asset.Builder> getAssetsBuilderList()
         List of native ad's assets.
         RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
         REQUIRED in 1.2, if not assetsurl is provided.
         
        repeated .com.google.openrtb.NativeResponse.Asset assets = 2;
      • hasAssetsurl

        public boolean hasAssetsurl()
         URL of alternate source for the assets object. The expected response is a
         JSON object mirroring the asset object in the bid response, subject to
         certain requirements as specified in the individual objects.
         Where present, overrides the assets object in the response.
         
        optional string assetsurl = 6;
        Specified by:
        hasAssetsurl in interface OpenRtb.NativeResponseOrBuilder
        Returns:
        Whether the assetsurl field is set.
      • getAssetsurl

        public String getAssetsurl()
         URL of alternate source for the assets object. The expected response is a
         JSON object mirroring the asset object in the bid response, subject to
         certain requirements as specified in the individual objects.
         Where present, overrides the assets object in the response.
         
        optional string assetsurl = 6;
        Specified by:
        getAssetsurl in interface OpenRtb.NativeResponseOrBuilder
        Returns:
        The assetsurl.
      • getAssetsurlBytes

        public com.google.protobuf.ByteString getAssetsurlBytes()
         URL of alternate source for the assets object. The expected response is a
         JSON object mirroring the asset object in the bid response, subject to
         certain requirements as specified in the individual objects.
         Where present, overrides the assets object in the response.
         
        optional string assetsurl = 6;
        Specified by:
        getAssetsurlBytes in interface OpenRtb.NativeResponseOrBuilder
        Returns:
        The bytes for assetsurl.
      • setAssetsurl

        public OpenRtb.NativeResponse.Builder setAssetsurl​(String value)
         URL of alternate source for the assets object. The expected response is a
         JSON object mirroring the asset object in the bid response, subject to
         certain requirements as specified in the individual objects.
         Where present, overrides the assets object in the response.
         
        optional string assetsurl = 6;
        Parameters:
        value - The assetsurl to set.
        Returns:
        This builder for chaining.
      • clearAssetsurl

        public OpenRtb.NativeResponse.Builder clearAssetsurl()
         URL of alternate source for the assets object. The expected response is a
         JSON object mirroring the asset object in the bid response, subject to
         certain requirements as specified in the individual objects.
         Where present, overrides the assets object in the response.
         
        optional string assetsurl = 6;
        Returns:
        This builder for chaining.
      • setAssetsurlBytes

        public OpenRtb.NativeResponse.Builder setAssetsurlBytes​(com.google.protobuf.ByteString value)
         URL of alternate source for the assets object. The expected response is a
         JSON object mirroring the asset object in the bid response, subject to
         certain requirements as specified in the individual objects.
         Where present, overrides the assets object in the response.
         
        optional string assetsurl = 6;
        Parameters:
        value - The bytes for assetsurl to set.
        Returns:
        This builder for chaining.
      • hasDcourl

        public boolean hasDcourl()
         URL where a dynamic creative specification may be found for populating this
         ad, per the Dynamic Content Ads Specification.
         Note this is a beta option as the interpretation of the Dynamic Content Ads
         Specification and how to assign those elementes into a native ad is outside
         the scope of this spec and must be agreed offline between parties or as may
         be specified in a future revision of the Dynamic Content Ads spec.
         Where present, overrides the assets object in the response.
         
        optional string dcourl = 7;
        Specified by:
        hasDcourl in interface OpenRtb.NativeResponseOrBuilder
        Returns:
        Whether the dcourl field is set.
      • getDcourl

        public String getDcourl()
         URL where a dynamic creative specification may be found for populating this
         ad, per the Dynamic Content Ads Specification.
         Note this is a beta option as the interpretation of the Dynamic Content Ads
         Specification and how to assign those elementes into a native ad is outside
         the scope of this spec and must be agreed offline between parties or as may
         be specified in a future revision of the Dynamic Content Ads spec.
         Where present, overrides the assets object in the response.
         
        optional string dcourl = 7;
        Specified by:
        getDcourl in interface OpenRtb.NativeResponseOrBuilder
        Returns:
        The dcourl.
      • getDcourlBytes

        public com.google.protobuf.ByteString getDcourlBytes()
         URL where a dynamic creative specification may be found for populating this
         ad, per the Dynamic Content Ads Specification.
         Note this is a beta option as the interpretation of the Dynamic Content Ads
         Specification and how to assign those elementes into a native ad is outside
         the scope of this spec and must be agreed offline between parties or as may
         be specified in a future revision of the Dynamic Content Ads spec.
         Where present, overrides the assets object in the response.
         
        optional string dcourl = 7;
        Specified by:
        getDcourlBytes in interface OpenRtb.NativeResponseOrBuilder
        Returns:
        The bytes for dcourl.
      • setDcourl

        public OpenRtb.NativeResponse.Builder setDcourl​(String value)
         URL where a dynamic creative specification may be found for populating this
         ad, per the Dynamic Content Ads Specification.
         Note this is a beta option as the interpretation of the Dynamic Content Ads
         Specification and how to assign those elementes into a native ad is outside
         the scope of this spec and must be agreed offline between parties or as may
         be specified in a future revision of the Dynamic Content Ads spec.
         Where present, overrides the assets object in the response.
         
        optional string dcourl = 7;
        Parameters:
        value - The dcourl to set.
        Returns:
        This builder for chaining.
      • clearDcourl

        public OpenRtb.NativeResponse.Builder clearDcourl()
         URL where a dynamic creative specification may be found for populating this
         ad, per the Dynamic Content Ads Specification.
         Note this is a beta option as the interpretation of the Dynamic Content Ads
         Specification and how to assign those elementes into a native ad is outside
         the scope of this spec and must be agreed offline between parties or as may
         be specified in a future revision of the Dynamic Content Ads spec.
         Where present, overrides the assets object in the response.
         
        optional string dcourl = 7;
        Returns:
        This builder for chaining.
      • setDcourlBytes

        public OpenRtb.NativeResponse.Builder setDcourlBytes​(com.google.protobuf.ByteString value)
         URL where a dynamic creative specification may be found for populating this
         ad, per the Dynamic Content Ads Specification.
         Note this is a beta option as the interpretation of the Dynamic Content Ads
         Specification and how to assign those elementes into a native ad is outside
         the scope of this spec and must be agreed offline between parties or as may
         be specified in a future revision of the Dynamic Content Ads spec.
         Where present, overrides the assets object in the response.
         
        optional string dcourl = 7;
        Parameters:
        value - The bytes for dcourl to set.
        Returns:
        This builder for chaining.
      • hasLink

        public boolean hasLink()
         Destination Link. This is default link object for the ad.
         Individual assets can also have a link object which applies if the asset is
         activated (clicked). If the asset doesn't have a link object, the parent
         link object applies.
         See ResponseLink definition.
         REQUIRED by the OpenRTB Native specification.
         
        required .com.google.openrtb.NativeResponse.Link link = 3;
        Specified by:
        hasLink in interface OpenRtb.NativeResponseOrBuilder
        Returns:
        Whether the link field is set.
      • getLink

        public OpenRtb.NativeResponse.Link getLink()
         Destination Link. This is default link object for the ad.
         Individual assets can also have a link object which applies if the asset is
         activated (clicked). If the asset doesn't have a link object, the parent
         link object applies.
         See ResponseLink definition.
         REQUIRED by the OpenRTB Native specification.
         
        required .com.google.openrtb.NativeResponse.Link link = 3;
        Specified by:
        getLink in interface OpenRtb.NativeResponseOrBuilder
        Returns:
        The link.
      • setLink

        public OpenRtb.NativeResponse.Builder setLink​(OpenRtb.NativeResponse.Link value)
         Destination Link. This is default link object for the ad.
         Individual assets can also have a link object which applies if the asset is
         activated (clicked). If the asset doesn't have a link object, the parent
         link object applies.
         See ResponseLink definition.
         REQUIRED by the OpenRTB Native specification.
         
        required .com.google.openrtb.NativeResponse.Link link = 3;
      • setLink

        public OpenRtb.NativeResponse.Builder setLink​(OpenRtb.NativeResponse.Link.Builder builderForValue)
         Destination Link. This is default link object for the ad.
         Individual assets can also have a link object which applies if the asset is
         activated (clicked). If the asset doesn't have a link object, the parent
         link object applies.
         See ResponseLink definition.
         REQUIRED by the OpenRTB Native specification.
         
        required .com.google.openrtb.NativeResponse.Link link = 3;
      • mergeLink

        public OpenRtb.NativeResponse.Builder mergeLink​(OpenRtb.NativeResponse.Link value)
         Destination Link. This is default link object for the ad.
         Individual assets can also have a link object which applies if the asset is
         activated (clicked). If the asset doesn't have a link object, the parent
         link object applies.
         See ResponseLink definition.
         REQUIRED by the OpenRTB Native specification.
         
        required .com.google.openrtb.NativeResponse.Link link = 3;
      • clearLink

        public OpenRtb.NativeResponse.Builder clearLink()
         Destination Link. This is default link object for the ad.
         Individual assets can also have a link object which applies if the asset is
         activated (clicked). If the asset doesn't have a link object, the parent
         link object applies.
         See ResponseLink definition.
         REQUIRED by the OpenRTB Native specification.
         
        required .com.google.openrtb.NativeResponse.Link link = 3;
      • getLinkBuilder

        public OpenRtb.NativeResponse.Link.Builder getLinkBuilder()
         Destination Link. This is default link object for the ad.
         Individual assets can also have a link object which applies if the asset is
         activated (clicked). If the asset doesn't have a link object, the parent
         link object applies.
         See ResponseLink definition.
         REQUIRED by the OpenRTB Native specification.
         
        required .com.google.openrtb.NativeResponse.Link link = 3;
      • getLinkOrBuilder

        public OpenRtb.NativeResponse.LinkOrBuilder getLinkOrBuilder()
         Destination Link. This is default link object for the ad.
         Individual assets can also have a link object which applies if the asset is
         activated (clicked). If the asset doesn't have a link object, the parent
         link object applies.
         See ResponseLink definition.
         REQUIRED by the OpenRTB Native specification.
         
        required .com.google.openrtb.NativeResponse.Link link = 3;
        Specified by:
        getLinkOrBuilder in interface OpenRtb.NativeResponseOrBuilder
      • getImptrackersList

        @Deprecated
        public com.google.protobuf.ProtocolStringList getImptrackersList()
        Deprecated.
        com.google.openrtb.NativeResponse.imptrackers is deprecated. See openrtb.proto;l=1689
         DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
         Array of impression tracking URLs, expected to return a 1x1 image or
         204 response - typically only passed when using 3rd party trackers.
         
        repeated string imptrackers = 4 [deprecated = true];
        Specified by:
        getImptrackersList in interface OpenRtb.NativeResponseOrBuilder
        Returns:
        A list containing the imptrackers.
      • getImptrackersCount

        @Deprecated
        public int getImptrackersCount()
        Deprecated.
        com.google.openrtb.NativeResponse.imptrackers is deprecated. See openrtb.proto;l=1689
         DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
         Array of impression tracking URLs, expected to return a 1x1 image or
         204 response - typically only passed when using 3rd party trackers.
         
        repeated string imptrackers = 4 [deprecated = true];
        Specified by:
        getImptrackersCount in interface OpenRtb.NativeResponseOrBuilder
        Returns:
        The count of imptrackers.
      • getImptrackers

        @Deprecated
        public String getImptrackers​(int index)
        Deprecated.
        com.google.openrtb.NativeResponse.imptrackers is deprecated. See openrtb.proto;l=1689
         DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
         Array of impression tracking URLs, expected to return a 1x1 image or
         204 response - typically only passed when using 3rd party trackers.
         
        repeated string imptrackers = 4 [deprecated = true];
        Specified by:
        getImptrackers in interface OpenRtb.NativeResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The imptrackers at the given index.
      • getImptrackersBytes

        @Deprecated
        public com.google.protobuf.ByteString getImptrackersBytes​(int index)
        Deprecated.
        com.google.openrtb.NativeResponse.imptrackers is deprecated. See openrtb.proto;l=1689
         DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
         Array of impression tracking URLs, expected to return a 1x1 image or
         204 response - typically only passed when using 3rd party trackers.
         
        repeated string imptrackers = 4 [deprecated = true];
        Specified by:
        getImptrackersBytes in interface OpenRtb.NativeResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the imptrackers at the given index.
      • setImptrackers

        @Deprecated
        public OpenRtb.NativeResponse.Builder setImptrackers​(int index,
                                                             String value)
        Deprecated.
        com.google.openrtb.NativeResponse.imptrackers is deprecated. See openrtb.proto;l=1689
         DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
         Array of impression tracking URLs, expected to return a 1x1 image or
         204 response - typically only passed when using 3rd party trackers.
         
        repeated string imptrackers = 4 [deprecated = true];
        Parameters:
        index - The index to set the value at.
        value - The imptrackers to set.
        Returns:
        This builder for chaining.
      • addImptrackers

        @Deprecated
        public OpenRtb.NativeResponse.Builder addImptrackers​(String value)
        Deprecated.
        com.google.openrtb.NativeResponse.imptrackers is deprecated. See openrtb.proto;l=1689
         DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
         Array of impression tracking URLs, expected to return a 1x1 image or
         204 response - typically only passed when using 3rd party trackers.
         
        repeated string imptrackers = 4 [deprecated = true];
        Parameters:
        value - The imptrackers to add.
        Returns:
        This builder for chaining.
      • addAllImptrackers

        @Deprecated
        public OpenRtb.NativeResponse.Builder addAllImptrackers​(Iterable<String> values)
        Deprecated.
        com.google.openrtb.NativeResponse.imptrackers is deprecated. See openrtb.proto;l=1689
         DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
         Array of impression tracking URLs, expected to return a 1x1 image or
         204 response - typically only passed when using 3rd party trackers.
         
        repeated string imptrackers = 4 [deprecated = true];
        Parameters:
        values - The imptrackers to add.
        Returns:
        This builder for chaining.
      • clearImptrackers

        @Deprecated
        public OpenRtb.NativeResponse.Builder clearImptrackers()
        Deprecated.
        com.google.openrtb.NativeResponse.imptrackers is deprecated. See openrtb.proto;l=1689
         DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
         Array of impression tracking URLs, expected to return a 1x1 image or
         204 response - typically only passed when using 3rd party trackers.
         
        repeated string imptrackers = 4 [deprecated = true];
        Returns:
        This builder for chaining.
      • addImptrackersBytes

        @Deprecated
        public OpenRtb.NativeResponse.Builder addImptrackersBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        com.google.openrtb.NativeResponse.imptrackers is deprecated. See openrtb.proto;l=1689
         DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
         Array of impression tracking URLs, expected to return a 1x1 image or
         204 response - typically only passed when using 3rd party trackers.
         
        repeated string imptrackers = 4 [deprecated = true];
        Parameters:
        value - The bytes of the imptrackers to add.
        Returns:
        This builder for chaining.
      • hasJstracker

        @Deprecated
        public boolean hasJstracker()
        Deprecated.
        com.google.openrtb.NativeResponse.jstracker is deprecated. See openrtb.proto;l=1694
         DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
         Optional javascript impression tracker. Contains <script> tags to be
         executed at impression time where it can be supported.
         
        optional string jstracker = 5 [deprecated = true];
        Specified by:
        hasJstracker in interface OpenRtb.NativeResponseOrBuilder
        Returns:
        Whether the jstracker field is set.
      • getJstracker

        @Deprecated
        public String getJstracker()
        Deprecated.
        com.google.openrtb.NativeResponse.jstracker is deprecated. See openrtb.proto;l=1694
         DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
         Optional javascript impression tracker. Contains <script> tags to be
         executed at impression time where it can be supported.
         
        optional string jstracker = 5 [deprecated = true];
        Specified by:
        getJstracker in interface OpenRtb.NativeResponseOrBuilder
        Returns:
        The jstracker.
      • getJstrackerBytes

        @Deprecated
        public com.google.protobuf.ByteString getJstrackerBytes()
        Deprecated.
        com.google.openrtb.NativeResponse.jstracker is deprecated. See openrtb.proto;l=1694
         DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
         Optional javascript impression tracker. Contains <script> tags to be
         executed at impression time where it can be supported.
         
        optional string jstracker = 5 [deprecated = true];
        Specified by:
        getJstrackerBytes in interface OpenRtb.NativeResponseOrBuilder
        Returns:
        The bytes for jstracker.
      • setJstracker

        @Deprecated
        public OpenRtb.NativeResponse.Builder setJstracker​(String value)
        Deprecated.
        com.google.openrtb.NativeResponse.jstracker is deprecated. See openrtb.proto;l=1694
         DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
         Optional javascript impression tracker. Contains <script> tags to be
         executed at impression time where it can be supported.
         
        optional string jstracker = 5 [deprecated = true];
        Parameters:
        value - The jstracker to set.
        Returns:
        This builder for chaining.
      • clearJstracker

        @Deprecated
        public OpenRtb.NativeResponse.Builder clearJstracker()
        Deprecated.
        com.google.openrtb.NativeResponse.jstracker is deprecated. See openrtb.proto;l=1694
         DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
         Optional javascript impression tracker. Contains <script> tags to be
         executed at impression time where it can be supported.
         
        optional string jstracker = 5 [deprecated = true];
        Returns:
        This builder for chaining.
      • setJstrackerBytes

        @Deprecated
        public OpenRtb.NativeResponse.Builder setJstrackerBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        com.google.openrtb.NativeResponse.jstracker is deprecated. See openrtb.proto;l=1694
         DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
         Optional javascript impression tracker. Contains <script> tags to be
         executed at impression time where it can be supported.
         
        optional string jstracker = 5 [deprecated = true];
        Parameters:
        value - The bytes for jstracker to set.
        Returns:
        This builder for chaining.
      • getEventtrackersCount

        public int getEventtrackersCount()
         Array of response event trackers to run with the ad, in response to the
         declared supported methods in the NativeRequest. Replaces imptrackers and
         jstrackers.
         
        repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;
        Specified by:
        getEventtrackersCount in interface OpenRtb.NativeResponseOrBuilder
      • setEventtrackers

        public OpenRtb.NativeResponse.Builder setEventtrackers​(int index,
                                                               OpenRtb.NativeResponse.EventTracker value)
         Array of response event trackers to run with the ad, in response to the
         declared supported methods in the NativeRequest. Replaces imptrackers and
         jstrackers.
         
        repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;
      • setEventtrackers

        public OpenRtb.NativeResponse.Builder setEventtrackers​(int index,
                                                               OpenRtb.NativeResponse.EventTracker.Builder builderForValue)
         Array of response event trackers to run with the ad, in response to the
         declared supported methods in the NativeRequest. Replaces imptrackers and
         jstrackers.
         
        repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;
      • addEventtrackers

        public OpenRtb.NativeResponse.Builder addEventtrackers​(OpenRtb.NativeResponse.EventTracker value)
         Array of response event trackers to run with the ad, in response to the
         declared supported methods in the NativeRequest. Replaces imptrackers and
         jstrackers.
         
        repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;
      • addEventtrackers

        public OpenRtb.NativeResponse.Builder addEventtrackers​(int index,
                                                               OpenRtb.NativeResponse.EventTracker value)
         Array of response event trackers to run with the ad, in response to the
         declared supported methods in the NativeRequest. Replaces imptrackers and
         jstrackers.
         
        repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;
      • addEventtrackers

        public OpenRtb.NativeResponse.Builder addEventtrackers​(OpenRtb.NativeResponse.EventTracker.Builder builderForValue)
         Array of response event trackers to run with the ad, in response to the
         declared supported methods in the NativeRequest. Replaces imptrackers and
         jstrackers.
         
        repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;
      • addEventtrackers

        public OpenRtb.NativeResponse.Builder addEventtrackers​(int index,
                                                               OpenRtb.NativeResponse.EventTracker.Builder builderForValue)
         Array of response event trackers to run with the ad, in response to the
         declared supported methods in the NativeRequest. Replaces imptrackers and
         jstrackers.
         
        repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;
      • addAllEventtrackers

        public OpenRtb.NativeResponse.Builder addAllEventtrackers​(Iterable<? extends OpenRtb.NativeResponse.EventTracker> values)
         Array of response event trackers to run with the ad, in response to the
         declared supported methods in the NativeRequest. Replaces imptrackers and
         jstrackers.
         
        repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;
      • clearEventtrackers

        public OpenRtb.NativeResponse.Builder clearEventtrackers()
         Array of response event trackers to run with the ad, in response to the
         declared supported methods in the NativeRequest. Replaces imptrackers and
         jstrackers.
         
        repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;
      • removeEventtrackers

        public OpenRtb.NativeResponse.Builder removeEventtrackers​(int index)
         Array of response event trackers to run with the ad, in response to the
         declared supported methods in the NativeRequest. Replaces imptrackers and
         jstrackers.
         
        repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;
      • getEventtrackersBuilder

        public OpenRtb.NativeResponse.EventTracker.Builder getEventtrackersBuilder​(int index)
         Array of response event trackers to run with the ad, in response to the
         declared supported methods in the NativeRequest. Replaces imptrackers and
         jstrackers.
         
        repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;
      • addEventtrackersBuilder

        public OpenRtb.NativeResponse.EventTracker.Builder addEventtrackersBuilder()
         Array of response event trackers to run with the ad, in response to the
         declared supported methods in the NativeRequest. Replaces imptrackers and
         jstrackers.
         
        repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;
      • addEventtrackersBuilder

        public OpenRtb.NativeResponse.EventTracker.Builder addEventtrackersBuilder​(int index)
         Array of response event trackers to run with the ad, in response to the
         declared supported methods in the NativeRequest. Replaces imptrackers and
         jstrackers.
         
        repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;
      • getEventtrackersBuilderList

        public List<OpenRtb.NativeResponse.EventTracker.Builder> getEventtrackersBuilderList()
         Array of response event trackers to run with the ad, in response to the
         declared supported methods in the NativeRequest. Replaces imptrackers and
         jstrackers.
         
        repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;
      • hasPrivacy

        public boolean hasPrivacy()
         If support was indicated in the request, URL of a page informing the user
         about the buyer's targeting activity.
         
        optional string privacy = 9;
        Specified by:
        hasPrivacy in interface OpenRtb.NativeResponseOrBuilder
        Returns:
        Whether the privacy field is set.
      • getPrivacy

        public String getPrivacy()
         If support was indicated in the request, URL of a page informing the user
         about the buyer's targeting activity.
         
        optional string privacy = 9;
        Specified by:
        getPrivacy in interface OpenRtb.NativeResponseOrBuilder
        Returns:
        The privacy.
      • getPrivacyBytes

        public com.google.protobuf.ByteString getPrivacyBytes()
         If support was indicated in the request, URL of a page informing the user
         about the buyer's targeting activity.
         
        optional string privacy = 9;
        Specified by:
        getPrivacyBytes in interface OpenRtb.NativeResponseOrBuilder
        Returns:
        The bytes for privacy.
      • setPrivacy

        public OpenRtb.NativeResponse.Builder setPrivacy​(String value)
         If support was indicated in the request, URL of a page informing the user
         about the buyer's targeting activity.
         
        optional string privacy = 9;
        Parameters:
        value - The privacy to set.
        Returns:
        This builder for chaining.
      • clearPrivacy

        public OpenRtb.NativeResponse.Builder clearPrivacy()
         If support was indicated in the request, URL of a page informing the user
         about the buyer's targeting activity.
         
        optional string privacy = 9;
        Returns:
        This builder for chaining.
      • setPrivacyBytes

        public OpenRtb.NativeResponse.Builder setPrivacyBytes​(com.google.protobuf.ByteString value)
         If support was indicated in the request, URL of a page informing the user
         about the buyer's targeting activity.
         
        optional string privacy = 9;
        Parameters:
        value - The bytes for privacy to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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