Class AdxExt.BidExt.SdkRenderedAd.DeclaredAd.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<AdxExt.BidExt.SdkRenderedAd.DeclaredAd.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.SdkRenderedAd.DeclaredAd.Builder>
      • getDefaultInstanceForType

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

        public AdxExt.BidExt.SdkRenderedAd.DeclaredAd 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.SdkRenderedAd.DeclaredAd buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.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.SdkRenderedAd.DeclaredAd.Builder>
      • setHtmlSnippet

        public AdxExt.BidExt.SdkRenderedAd.DeclaredAd.Builder setHtmlSnippet​(String value)
         The HTML snippet representative of the SDK-rendered ad.
         
        string html_snippet = 1;
        Parameters:
        value - The htmlSnippet to set.
        Returns:
        This builder for chaining.
      • setHtmlSnippetBytes

        public AdxExt.BidExt.SdkRenderedAd.DeclaredAd.Builder setHtmlSnippetBytes​(com.google.protobuf.ByteString value)
         The HTML snippet representative of the SDK-rendered ad.
         
        string html_snippet = 1;
        Parameters:
        value - The bytes for htmlSnippet to set.
        Returns:
        This builder for chaining.
      • setVideoUrlBytes

        public AdxExt.BidExt.SdkRenderedAd.DeclaredAd.Builder setVideoUrlBytes​(com.google.protobuf.ByteString value)
         The URL to the VAST asset used in the SDK-rendered ad.
         
        string video_url = 2;
        Parameters:
        value - The bytes for videoUrl to set.
        Returns:
        This builder for chaining.
      • hasVideoVastXml

        public boolean hasVideoVastXml()
         The VAST document used to render custom SDK-rendered ad. This
         document should conform to the VAST 2.0 or 3.0 standard.
         
        string video_vast_xml = 4;
        Specified by:
        hasVideoVastXml in interface AdxExt.BidExt.SdkRenderedAd.DeclaredAdOrBuilder
        Returns:
        Whether the videoVastXml field is set.
      • getVideoVastXmlBytes

        public com.google.protobuf.ByteString getVideoVastXmlBytes()
         The VAST document used to render custom SDK-rendered ad. This
         document should conform to the VAST 2.0 or 3.0 standard.
         
        string video_vast_xml = 4;
        Specified by:
        getVideoVastXmlBytes in interface AdxExt.BidExt.SdkRenderedAd.DeclaredAdOrBuilder
        Returns:
        The bytes for videoVastXml.
      • setVideoVastXml

        public AdxExt.BidExt.SdkRenderedAd.DeclaredAd.Builder setVideoVastXml​(String value)
         The VAST document used to render custom SDK-rendered ad. This
         document should conform to the VAST 2.0 or 3.0 standard.
         
        string video_vast_xml = 4;
        Parameters:
        value - The videoVastXml to set.
        Returns:
        This builder for chaining.
      • clearVideoVastXml

        public AdxExt.BidExt.SdkRenderedAd.DeclaredAd.Builder clearVideoVastXml()
         The VAST document used to render custom SDK-rendered ad. This
         document should conform to the VAST 2.0 or 3.0 standard.
         
        string video_vast_xml = 4;
        Returns:
        This builder for chaining.
      • setVideoVastXmlBytes

        public AdxExt.BidExt.SdkRenderedAd.DeclaredAd.Builder setVideoVastXmlBytes​(com.google.protobuf.ByteString value)
         The VAST document used to render custom SDK-rendered ad. This
         document should conform to the VAST 2.0 or 3.0 standard.
         
        string video_vast_xml = 4;
        Parameters:
        value - The bytes for videoVastXml to set.
        Returns:
        This builder for chaining.
      • hasNativeResponse

        public boolean hasNativeResponse()
         The content of a native ad. Native ads consist of multiple building
         blocks (such as image and text), which are rendered by the buyer SDK.
         This field is only required for creative scanning. The assets you
         include don't need to match assets specified in a native request
         object (if any) in the bid request. NativeResponse.assets.id is
         optional and doesn't need to match an asset on the native request
         object. NativeResponse.assets.img.type is required.
         
        .com.google.openrtb.NativeResponse native_response = 5;
        Specified by:
        hasNativeResponse in interface AdxExt.BidExt.SdkRenderedAd.DeclaredAdOrBuilder
        Returns:
        Whether the nativeResponse field is set.
      • getNativeResponse

        public com.google.openrtb.OpenRtb.NativeResponse getNativeResponse()
         The content of a native ad. Native ads consist of multiple building
         blocks (such as image and text), which are rendered by the buyer SDK.
         This field is only required for creative scanning. The assets you
         include don't need to match assets specified in a native request
         object (if any) in the bid request. NativeResponse.assets.id is
         optional and doesn't need to match an asset on the native request
         object. NativeResponse.assets.img.type is required.
         
        .com.google.openrtb.NativeResponse native_response = 5;
        Specified by:
        getNativeResponse in interface AdxExt.BidExt.SdkRenderedAd.DeclaredAdOrBuilder
        Returns:
        The nativeResponse.
      • setNativeResponse

        public AdxExt.BidExt.SdkRenderedAd.DeclaredAd.Builder setNativeResponse​(com.google.openrtb.OpenRtb.NativeResponse value)
         The content of a native ad. Native ads consist of multiple building
         blocks (such as image and text), which are rendered by the buyer SDK.
         This field is only required for creative scanning. The assets you
         include don't need to match assets specified in a native request
         object (if any) in the bid request. NativeResponse.assets.id is
         optional and doesn't need to match an asset on the native request
         object. NativeResponse.assets.img.type is required.
         
        .com.google.openrtb.NativeResponse native_response = 5;
      • setNativeResponse

        public AdxExt.BidExt.SdkRenderedAd.DeclaredAd.Builder setNativeResponse​(com.google.openrtb.OpenRtb.NativeResponse.Builder builderForValue)
         The content of a native ad. Native ads consist of multiple building
         blocks (such as image and text), which are rendered by the buyer SDK.
         This field is only required for creative scanning. The assets you
         include don't need to match assets specified in a native request
         object (if any) in the bid request. NativeResponse.assets.id is
         optional and doesn't need to match an asset on the native request
         object. NativeResponse.assets.img.type is required.
         
        .com.google.openrtb.NativeResponse native_response = 5;
      • mergeNativeResponse

        public AdxExt.BidExt.SdkRenderedAd.DeclaredAd.Builder mergeNativeResponse​(com.google.openrtb.OpenRtb.NativeResponse value)
         The content of a native ad. Native ads consist of multiple building
         blocks (such as image and text), which are rendered by the buyer SDK.
         This field is only required for creative scanning. The assets you
         include don't need to match assets specified in a native request
         object (if any) in the bid request. NativeResponse.assets.id is
         optional and doesn't need to match an asset on the native request
         object. NativeResponse.assets.img.type is required.
         
        .com.google.openrtb.NativeResponse native_response = 5;
      • clearNativeResponse

        public AdxExt.BidExt.SdkRenderedAd.DeclaredAd.Builder clearNativeResponse()
         The content of a native ad. Native ads consist of multiple building
         blocks (such as image and text), which are rendered by the buyer SDK.
         This field is only required for creative scanning. The assets you
         include don't need to match assets specified in a native request
         object (if any) in the bid request. NativeResponse.assets.id is
         optional and doesn't need to match an asset on the native request
         object. NativeResponse.assets.img.type is required.
         
        .com.google.openrtb.NativeResponse native_response = 5;
      • getNativeResponseBuilder

        public com.google.openrtb.OpenRtb.NativeResponse.Builder getNativeResponseBuilder()
         The content of a native ad. Native ads consist of multiple building
         blocks (such as image and text), which are rendered by the buyer SDK.
         This field is only required for creative scanning. The assets you
         include don't need to match assets specified in a native request
         object (if any) in the bid request. NativeResponse.assets.id is
         optional and doesn't need to match an asset on the native request
         object. NativeResponse.assets.img.type is required.
         
        .com.google.openrtb.NativeResponse native_response = 5;
      • getNativeResponseOrBuilder

        public com.google.openrtb.OpenRtb.NativeResponseOrBuilder getNativeResponseOrBuilder()
         The content of a native ad. Native ads consist of multiple building
         blocks (such as image and text), which are rendered by the buyer SDK.
         This field is only required for creative scanning. The assets you
         include don't need to match assets specified in a native request
         object (if any) in the bid request. NativeResponse.assets.id is
         optional and doesn't need to match an asset on the native request
         object. NativeResponse.assets.img.type is required.
         
        .com.google.openrtb.NativeResponse native_response = 5;
        Specified by:
        getNativeResponseOrBuilder in interface AdxExt.BidExt.SdkRenderedAd.DeclaredAdOrBuilder
      • getClickThroughUrl

        public String getClickThroughUrl​(int index)
         The final landing pages of the SDK-rendered ad.
         
        repeated string click_through_url = 3;
        Specified by:
        getClickThroughUrl in interface AdxExt.BidExt.SdkRenderedAd.DeclaredAdOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The clickThroughUrl at the given index.
      • getClickThroughUrlBytes

        public com.google.protobuf.ByteString getClickThroughUrlBytes​(int index)
         The final landing pages of the SDK-rendered ad.
         
        repeated string click_through_url = 3;
        Specified by:
        getClickThroughUrlBytes in interface AdxExt.BidExt.SdkRenderedAd.DeclaredAdOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the clickThroughUrl at the given index.
      • setClickThroughUrl

        public AdxExt.BidExt.SdkRenderedAd.DeclaredAd.Builder setClickThroughUrl​(int index,
                                                                                 String value)
         The final landing pages of the SDK-rendered ad.
         
        repeated string click_through_url = 3;
        Parameters:
        index - The index to set the value at.
        value - The clickThroughUrl to set.
        Returns:
        This builder for chaining.
      • addClickThroughUrl

        public AdxExt.BidExt.SdkRenderedAd.DeclaredAd.Builder addClickThroughUrl​(String value)
         The final landing pages of the SDK-rendered ad.
         
        repeated string click_through_url = 3;
        Parameters:
        value - The clickThroughUrl to add.
        Returns:
        This builder for chaining.
      • addAllClickThroughUrl

        public AdxExt.BidExt.SdkRenderedAd.DeclaredAd.Builder addAllClickThroughUrl​(Iterable<String> values)
         The final landing pages of the SDK-rendered ad.
         
        repeated string click_through_url = 3;
        Parameters:
        values - The clickThroughUrl to add.
        Returns:
        This builder for chaining.
      • addClickThroughUrlBytes

        public AdxExt.BidExt.SdkRenderedAd.DeclaredAd.Builder addClickThroughUrlBytes​(com.google.protobuf.ByteString value)
         The final landing pages of the SDK-rendered ad.
         
        repeated string click_through_url = 3;
        Parameters:
        value - The bytes of the clickThroughUrl to add.
        Returns:
        This builder for chaining.