Class AdxExt.ImpExt.SKAdNetworkRequest.Builder

  • All Implemented Interfaces:
    AdxExt.ImpExt.SKAdNetworkRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    AdxExt.ImpExt.SKAdNetworkRequest

    public static final class AdxExt.ImpExt.SKAdNetworkRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<AdxExt.ImpExt.SKAdNetworkRequest.Builder>
    implements AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
     Publisher's SKAdNetwork information to support app installation
     attribution for iOS 14 and later. Apple's SKAdNetwork API helps
     advertisers measure ad-driven app installation by sending a postback
     to the ad network after a successful install. Publishers will need
     to configure supported ad networks in their app's property list
     (Info.plist) to allow an install to be attributed to the ad impression.
     For more info visit:
     https://developer.apple.com/documentation/storekit/skadnetwork
     
    Protobuf type com.google.doubleclick.ImpExt.SKAdNetworkRequest
    • 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.ImpExt.SKAdNetworkRequest.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.ImpExt.SKAdNetworkRequest.Builder>
      • getDefaultInstanceForType

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

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

        public AdxExt.ImpExt.SKAdNetworkRequest 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.ImpExt.SKAdNetworkRequest.Builder>
      • hasVersion

        public boolean hasVersion()
         Version of SKAdNetwork supported. Dependent on both the OS version
         and the SDK version.
         Note:  This field will be replaced by the
         BidRequest.mobile.skadn.versions field to support a list of version
         numbers.
         
        optional string version = 1;
        Specified by:
        hasVersion in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Returns:
        Whether the version field is set.
      • getVersion

        public String getVersion()
         Version of SKAdNetwork supported. Dependent on both the OS version
         and the SDK version.
         Note:  This field will be replaced by the
         BidRequest.mobile.skadn.versions field to support a list of version
         numbers.
         
        optional string version = 1;
        Specified by:
        getVersion in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Returns:
        The version.
      • getVersionBytes

        public com.google.protobuf.ByteString getVersionBytes()
         Version of SKAdNetwork supported. Dependent on both the OS version
         and the SDK version.
         Note:  This field will be replaced by the
         BidRequest.mobile.skadn.versions field to support a list of version
         numbers.
         
        optional string version = 1;
        Specified by:
        getVersionBytes in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Returns:
        The bytes for version.
      • setVersion

        public AdxExt.ImpExt.SKAdNetworkRequest.Builder setVersion​(String value)
         Version of SKAdNetwork supported. Dependent on both the OS version
         and the SDK version.
         Note:  This field will be replaced by the
         BidRequest.mobile.skadn.versions field to support a list of version
         numbers.
         
        optional string version = 1;
        Parameters:
        value - The version to set.
        Returns:
        This builder for chaining.
      • clearVersion

        public AdxExt.ImpExt.SKAdNetworkRequest.Builder clearVersion()
         Version of SKAdNetwork supported. Dependent on both the OS version
         and the SDK version.
         Note:  This field will be replaced by the
         BidRequest.mobile.skadn.versions field to support a list of version
         numbers.
         
        optional string version = 1;
        Returns:
        This builder for chaining.
      • setVersionBytes

        public AdxExt.ImpExt.SKAdNetworkRequest.Builder setVersionBytes​(com.google.protobuf.ByteString value)
         Version of SKAdNetwork supported. Dependent on both the OS version
         and the SDK version.
         Note:  This field will be replaced by the
         BidRequest.mobile.skadn.versions field to support a list of version
         numbers.
         
        optional string version = 1;
        Parameters:
        value - The bytes for version to set.
        Returns:
        This builder for chaining.
      • getVersionsList

        public com.google.protobuf.ProtocolStringList getVersionsList()
         List of SKAdNetwork versions supported, depending on the OS version
         and the SDK version.
         
        repeated string versions = 4;
        Specified by:
        getVersionsList in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Returns:
        A list containing the versions.
      • getVersionsCount

        public int getVersionsCount()
         List of SKAdNetwork versions supported, depending on the OS version
         and the SDK version.
         
        repeated string versions = 4;
        Specified by:
        getVersionsCount in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Returns:
        The count of versions.
      • getVersions

        public String getVersions​(int index)
         List of SKAdNetwork versions supported, depending on the OS version
         and the SDK version.
         
        repeated string versions = 4;
        Specified by:
        getVersions in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The versions at the given index.
      • getVersionsBytes

        public com.google.protobuf.ByteString getVersionsBytes​(int index)
         List of SKAdNetwork versions supported, depending on the OS version
         and the SDK version.
         
        repeated string versions = 4;
        Specified by:
        getVersionsBytes in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the versions at the given index.
      • setVersions

        public AdxExt.ImpExt.SKAdNetworkRequest.Builder setVersions​(int index,
                                                                    String value)
         List of SKAdNetwork versions supported, depending on the OS version
         and the SDK version.
         
        repeated string versions = 4;
        Parameters:
        index - The index to set the value at.
        value - The versions to set.
        Returns:
        This builder for chaining.
      • addVersions

        public AdxExt.ImpExt.SKAdNetworkRequest.Builder addVersions​(String value)
         List of SKAdNetwork versions supported, depending on the OS version
         and the SDK version.
         
        repeated string versions = 4;
        Parameters:
        value - The versions to add.
        Returns:
        This builder for chaining.
      • addAllVersions

        public AdxExt.ImpExt.SKAdNetworkRequest.Builder addAllVersions​(Iterable<String> values)
         List of SKAdNetwork versions supported, depending on the OS version
         and the SDK version.
         
        repeated string versions = 4;
        Parameters:
        values - The versions to add.
        Returns:
        This builder for chaining.
      • clearVersions

        public AdxExt.ImpExt.SKAdNetworkRequest.Builder clearVersions()
         List of SKAdNetwork versions supported, depending on the OS version
         and the SDK version.
         
        repeated string versions = 4;
        Returns:
        This builder for chaining.
      • addVersionsBytes

        public AdxExt.ImpExt.SKAdNetworkRequest.Builder addVersionsBytes​(com.google.protobuf.ByteString value)
         List of SKAdNetwork versions supported, depending on the OS version
         and the SDK version.
         
        repeated string versions = 4;
        Parameters:
        value - The bytes of the versions to add.
        Returns:
        This builder for chaining.
      • setSourceapp

        public AdxExt.ImpExt.SKAdNetworkRequest.Builder setSourceapp​(String value)
         ID of publisher app in Apple's App Store.
         
        optional string sourceapp = 2;
        Parameters:
        value - The sourceapp to set.
        Returns:
        This builder for chaining.
      • setSourceappBytes

        public AdxExt.ImpExt.SKAdNetworkRequest.Builder setSourceappBytes​(com.google.protobuf.ByteString value)
         ID of publisher app in Apple's App Store.
         
        optional string sourceapp = 2;
        Parameters:
        value - The bytes for sourceapp to set.
        Returns:
        This builder for chaining.
      • getSkadnetidsList

        public com.google.protobuf.ProtocolStringList getSkadnetidsList()
         SKAdNetworkIdentifier entries in the publisher app's Info.plist.
         
        repeated string skadnetids = 3;
        Specified by:
        getSkadnetidsList in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Returns:
        A list containing the skadnetids.
      • getSkadnetids

        public String getSkadnetids​(int index)
         SKAdNetworkIdentifier entries in the publisher app's Info.plist.
         
        repeated string skadnetids = 3;
        Specified by:
        getSkadnetids in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The skadnetids at the given index.
      • getSkadnetidsBytes

        public com.google.protobuf.ByteString getSkadnetidsBytes​(int index)
         SKAdNetworkIdentifier entries in the publisher app's Info.plist.
         
        repeated string skadnetids = 3;
        Specified by:
        getSkadnetidsBytes in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the skadnetids at the given index.
      • setSkadnetids

        public AdxExt.ImpExt.SKAdNetworkRequest.Builder setSkadnetids​(int index,
                                                                      String value)
         SKAdNetworkIdentifier entries in the publisher app's Info.plist.
         
        repeated string skadnetids = 3;
        Parameters:
        index - The index to set the value at.
        value - The skadnetids to set.
        Returns:
        This builder for chaining.
      • addSkadnetids

        public AdxExt.ImpExt.SKAdNetworkRequest.Builder addSkadnetids​(String value)
         SKAdNetworkIdentifier entries in the publisher app's Info.plist.
         
        repeated string skadnetids = 3;
        Parameters:
        value - The skadnetids to add.
        Returns:
        This builder for chaining.
      • addAllSkadnetids

        public AdxExt.ImpExt.SKAdNetworkRequest.Builder addAllSkadnetids​(Iterable<String> values)
         SKAdNetworkIdentifier entries in the publisher app's Info.plist.
         
        repeated string skadnetids = 3;
        Parameters:
        values - The skadnetids to add.
        Returns:
        This builder for chaining.
      • clearSkadnetids

        public AdxExt.ImpExt.SKAdNetworkRequest.Builder clearSkadnetids()
         SKAdNetworkIdentifier entries in the publisher app's Info.plist.
         
        repeated string skadnetids = 3;
        Returns:
        This builder for chaining.
      • addSkadnetidsBytes

        public AdxExt.ImpExt.SKAdNetworkRequest.Builder addSkadnetidsBytes​(com.google.protobuf.ByteString value)
         SKAdNetworkIdentifier entries in the publisher app's Info.plist.
         
        repeated string skadnetids = 3;
        Parameters:
        value - The bytes of the skadnetids to add.
        Returns:
        This builder for chaining.
      • getFidelitiesCount

        public int getFidelitiesCount()
         List of fidelity types supported, depending on the SKAdNetwork API
         version supported by the operating system and SDK as well as ad slot
         properties.
         
        repeated .com.google.doubleclick.SKAdNetworkFidelityType fidelities = 5 [packed = true];
        Specified by:
        getFidelitiesCount in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Returns:
        The count of fidelities.
      • getFidelities

        public AdxExt.SKAdNetworkFidelityType getFidelities​(int index)
         List of fidelity types supported, depending on the SKAdNetwork API
         version supported by the operating system and SDK as well as ad slot
         properties.
         
        repeated .com.google.doubleclick.SKAdNetworkFidelityType fidelities = 5 [packed = true];
        Specified by:
        getFidelities in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The fidelities at the given index.
      • setFidelities

        public AdxExt.ImpExt.SKAdNetworkRequest.Builder setFidelities​(int index,
                                                                      AdxExt.SKAdNetworkFidelityType value)
         List of fidelity types supported, depending on the SKAdNetwork API
         version supported by the operating system and SDK as well as ad slot
         properties.
         
        repeated .com.google.doubleclick.SKAdNetworkFidelityType fidelities = 5 [packed = true];
        Parameters:
        index - The index to set the value at.
        value - The fidelities to set.
        Returns:
        This builder for chaining.
      • addFidelities

        public AdxExt.ImpExt.SKAdNetworkRequest.Builder addFidelities​(AdxExt.SKAdNetworkFidelityType value)
         List of fidelity types supported, depending on the SKAdNetwork API
         version supported by the operating system and SDK as well as ad slot
         properties.
         
        repeated .com.google.doubleclick.SKAdNetworkFidelityType fidelities = 5 [packed = true];
        Parameters:
        value - The fidelities to add.
        Returns:
        This builder for chaining.
      • addAllFidelities

        public AdxExt.ImpExt.SKAdNetworkRequest.Builder addAllFidelities​(Iterable<? extends AdxExt.SKAdNetworkFidelityType> values)
         List of fidelity types supported, depending on the SKAdNetwork API
         version supported by the operating system and SDK as well as ad slot
         properties.
         
        repeated .com.google.doubleclick.SKAdNetworkFidelityType fidelities = 5 [packed = true];
        Parameters:
        values - The fidelities to add.
        Returns:
        This builder for chaining.
      • clearFidelities

        public AdxExt.ImpExt.SKAdNetworkRequest.Builder clearFidelities()
         List of fidelity types supported, depending on the SKAdNetwork API
         version supported by the operating system and SDK as well as ad slot
         properties.
         
        repeated .com.google.doubleclick.SKAdNetworkFidelityType fidelities = 5 [packed = true];
        Returns:
        This builder for chaining.