Class AdxExt.UserExt.Builder

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

    public static final class AdxExt.UserExt.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<AdxExt.UserExt.Builder>
    implements AdxExt.UserExtOrBuilder
    Protobuf type com.google.doubleclick.UserExt
    • 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.UserExt.Builder>
      • clear

        public AdxExt.UserExt.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.UserExt.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.UserExt.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public AdxExt.UserExt.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.UserExt.Builder>
      • clearField

        public AdxExt.UserExt.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.UserExt.Builder>
      • clearOneof

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

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

        public AdxExt.UserExt.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.UserExt.Builder>
      • mergeFrom

        public AdxExt.UserExt.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.UserExt.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.UserExt.Builder>
      • mergeFrom

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

        public boolean hasConsentedProvidersSettings()
         Information about the ad tech providers for whom the publisher has
         specified to Google that its EEA user has consented to the use of their
         personal data for ads personalization in accordance with Google's EU User
         Consent Policy. This field will only be populated when RegsExt.gdpr is
         true.
         
        optional .com.google.doubleclick.UserExt.ConsentedProvidersSettings consented_providers_settings = 1;
        Specified by:
        hasConsentedProvidersSettings in interface AdxExt.UserExtOrBuilder
        Returns:
        Whether the consentedProvidersSettings field is set.
      • getConsentedProvidersSettings

        public AdxExt.UserExt.ConsentedProvidersSettings getConsentedProvidersSettings()
         Information about the ad tech providers for whom the publisher has
         specified to Google that its EEA user has consented to the use of their
         personal data for ads personalization in accordance with Google's EU User
         Consent Policy. This field will only be populated when RegsExt.gdpr is
         true.
         
        optional .com.google.doubleclick.UserExt.ConsentedProvidersSettings consented_providers_settings = 1;
        Specified by:
        getConsentedProvidersSettings in interface AdxExt.UserExtOrBuilder
        Returns:
        The consentedProvidersSettings.
      • setConsentedProvidersSettings

        public AdxExt.UserExt.Builder setConsentedProvidersSettings​(AdxExt.UserExt.ConsentedProvidersSettings value)
         Information about the ad tech providers for whom the publisher has
         specified to Google that its EEA user has consented to the use of their
         personal data for ads personalization in accordance with Google's EU User
         Consent Policy. This field will only be populated when RegsExt.gdpr is
         true.
         
        optional .com.google.doubleclick.UserExt.ConsentedProvidersSettings consented_providers_settings = 1;
      • setConsentedProvidersSettings

        public AdxExt.UserExt.Builder setConsentedProvidersSettings​(AdxExt.UserExt.ConsentedProvidersSettings.Builder builderForValue)
         Information about the ad tech providers for whom the publisher has
         specified to Google that its EEA user has consented to the use of their
         personal data for ads personalization in accordance with Google's EU User
         Consent Policy. This field will only be populated when RegsExt.gdpr is
         true.
         
        optional .com.google.doubleclick.UserExt.ConsentedProvidersSettings consented_providers_settings = 1;
      • mergeConsentedProvidersSettings

        public AdxExt.UserExt.Builder mergeConsentedProvidersSettings​(AdxExt.UserExt.ConsentedProvidersSettings value)
         Information about the ad tech providers for whom the publisher has
         specified to Google that its EEA user has consented to the use of their
         personal data for ads personalization in accordance with Google's EU User
         Consent Policy. This field will only be populated when RegsExt.gdpr is
         true.
         
        optional .com.google.doubleclick.UserExt.ConsentedProvidersSettings consented_providers_settings = 1;
      • clearConsentedProvidersSettings

        public AdxExt.UserExt.Builder clearConsentedProvidersSettings()
         Information about the ad tech providers for whom the publisher has
         specified to Google that its EEA user has consented to the use of their
         personal data for ads personalization in accordance with Google's EU User
         Consent Policy. This field will only be populated when RegsExt.gdpr is
         true.
         
        optional .com.google.doubleclick.UserExt.ConsentedProvidersSettings consented_providers_settings = 1;
      • getConsentedProvidersSettingsBuilder

        public AdxExt.UserExt.ConsentedProvidersSettings.Builder getConsentedProvidersSettingsBuilder()
         Information about the ad tech providers for whom the publisher has
         specified to Google that its EEA user has consented to the use of their
         personal data for ads personalization in accordance with Google's EU User
         Consent Policy. This field will only be populated when RegsExt.gdpr is
         true.
         
        optional .com.google.doubleclick.UserExt.ConsentedProvidersSettings consented_providers_settings = 1;
      • getConsentedProvidersSettingsOrBuilder

        public AdxExt.UserExt.ConsentedProvidersSettingsOrBuilder getConsentedProvidersSettingsOrBuilder()
         Information about the ad tech providers for whom the publisher has
         specified to Google that its EEA user has consented to the use of their
         personal data for ads personalization in accordance with Google's EU User
         Consent Policy. This field will only be populated when RegsExt.gdpr is
         true.
         
        optional .com.google.doubleclick.UserExt.ConsentedProvidersSettings consented_providers_settings = 1;
        Specified by:
        getConsentedProvidersSettingsOrBuilder in interface AdxExt.UserExtOrBuilder
      • hasConsent

        public boolean hasConsent()
         The web-safe base64-encoded IAB Transparency and Consent Framework (TCF) v2
         consent string fetched from the publisher's IAB Consent Management Platform
         (CMP). The structure of the string is defined by the IAB TCF v2. This field
         will be populated if the publisher has integrated with a CMP for TCF v2 and
         that CMP indicates that GDPR applies to this ad request and provides a
         valid consent string.  See
         https://support.google.com/authorizedbuyers/answer/9789378 for additional
         information about the Google TCF v2 integration.
         See the IAB Global Vendor List at
         https://vendor-list.consensu.org/v2/vendor-list.json for details about the
         vendors listed in the consent string.
         
        optional string consent = 2;
        Specified by:
        hasConsent in interface AdxExt.UserExtOrBuilder
        Returns:
        Whether the consent field is set.
      • getConsent

        public String getConsent()
         The web-safe base64-encoded IAB Transparency and Consent Framework (TCF) v2
         consent string fetched from the publisher's IAB Consent Management Platform
         (CMP). The structure of the string is defined by the IAB TCF v2. This field
         will be populated if the publisher has integrated with a CMP for TCF v2 and
         that CMP indicates that GDPR applies to this ad request and provides a
         valid consent string.  See
         https://support.google.com/authorizedbuyers/answer/9789378 for additional
         information about the Google TCF v2 integration.
         See the IAB Global Vendor List at
         https://vendor-list.consensu.org/v2/vendor-list.json for details about the
         vendors listed in the consent string.
         
        optional string consent = 2;
        Specified by:
        getConsent in interface AdxExt.UserExtOrBuilder
        Returns:
        The consent.
      • getConsentBytes

        public com.google.protobuf.ByteString getConsentBytes()
         The web-safe base64-encoded IAB Transparency and Consent Framework (TCF) v2
         consent string fetched from the publisher's IAB Consent Management Platform
         (CMP). The structure of the string is defined by the IAB TCF v2. This field
         will be populated if the publisher has integrated with a CMP for TCF v2 and
         that CMP indicates that GDPR applies to this ad request and provides a
         valid consent string.  See
         https://support.google.com/authorizedbuyers/answer/9789378 for additional
         information about the Google TCF v2 integration.
         See the IAB Global Vendor List at
         https://vendor-list.consensu.org/v2/vendor-list.json for details about the
         vendors listed in the consent string.
         
        optional string consent = 2;
        Specified by:
        getConsentBytes in interface AdxExt.UserExtOrBuilder
        Returns:
        The bytes for consent.
      • setConsent

        public AdxExt.UserExt.Builder setConsent​(String value)
         The web-safe base64-encoded IAB Transparency and Consent Framework (TCF) v2
         consent string fetched from the publisher's IAB Consent Management Platform
         (CMP). The structure of the string is defined by the IAB TCF v2. This field
         will be populated if the publisher has integrated with a CMP for TCF v2 and
         that CMP indicates that GDPR applies to this ad request and provides a
         valid consent string.  See
         https://support.google.com/authorizedbuyers/answer/9789378 for additional
         information about the Google TCF v2 integration.
         See the IAB Global Vendor List at
         https://vendor-list.consensu.org/v2/vendor-list.json for details about the
         vendors listed in the consent string.
         
        optional string consent = 2;
        Parameters:
        value - The consent to set.
        Returns:
        This builder for chaining.
      • clearConsent

        public AdxExt.UserExt.Builder clearConsent()
         The web-safe base64-encoded IAB Transparency and Consent Framework (TCF) v2
         consent string fetched from the publisher's IAB Consent Management Platform
         (CMP). The structure of the string is defined by the IAB TCF v2. This field
         will be populated if the publisher has integrated with a CMP for TCF v2 and
         that CMP indicates that GDPR applies to this ad request and provides a
         valid consent string.  See
         https://support.google.com/authorizedbuyers/answer/9789378 for additional
         information about the Google TCF v2 integration.
         See the IAB Global Vendor List at
         https://vendor-list.consensu.org/v2/vendor-list.json for details about the
         vendors listed in the consent string.
         
        optional string consent = 2;
        Returns:
        This builder for chaining.
      • setConsentBytes

        public AdxExt.UserExt.Builder setConsentBytes​(com.google.protobuf.ByteString value)
         The web-safe base64-encoded IAB Transparency and Consent Framework (TCF) v2
         consent string fetched from the publisher's IAB Consent Management Platform
         (CMP). The structure of the string is defined by the IAB TCF v2. This field
         will be populated if the publisher has integrated with a CMP for TCF v2 and
         that CMP indicates that GDPR applies to this ad request and provides a
         valid consent string.  See
         https://support.google.com/authorizedbuyers/answer/9789378 for additional
         information about the Google TCF v2 integration.
         See the IAB Global Vendor List at
         https://vendor-list.consensu.org/v2/vendor-list.json for details about the
         vendors listed in the consent string.
         
        optional string consent = 2;
        Parameters:
        value - The bytes for consent to set.
        Returns:
        This builder for chaining.
      • getEidsList

        public List<AdxExt.UserExt.ExtendedId> getEidsList()
         Standard extension that is used for passing encrypted data chosen by the
         publisher.
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/2.x_official_extensions/eids.md
         
        repeated .com.google.doubleclick.UserExt.ExtendedId eids = 5;
        Specified by:
        getEidsList in interface AdxExt.UserExtOrBuilder
      • getEidsCount

        public int getEidsCount()
         Standard extension that is used for passing encrypted data chosen by the
         publisher.
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/2.x_official_extensions/eids.md
         
        repeated .com.google.doubleclick.UserExt.ExtendedId eids = 5;
        Specified by:
        getEidsCount in interface AdxExt.UserExtOrBuilder
      • getEids

        public AdxExt.UserExt.ExtendedId getEids​(int index)
         Standard extension that is used for passing encrypted data chosen by the
         publisher.
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/2.x_official_extensions/eids.md
         
        repeated .com.google.doubleclick.UserExt.ExtendedId eids = 5;
        Specified by:
        getEids in interface AdxExt.UserExtOrBuilder
      • setEids

        public AdxExt.UserExt.Builder setEids​(int index,
                                              AdxExt.UserExt.ExtendedId value)
         Standard extension that is used for passing encrypted data chosen by the
         publisher.
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/2.x_official_extensions/eids.md
         
        repeated .com.google.doubleclick.UserExt.ExtendedId eids = 5;
      • setEids

        public AdxExt.UserExt.Builder setEids​(int index,
                                              AdxExt.UserExt.ExtendedId.Builder builderForValue)
         Standard extension that is used for passing encrypted data chosen by the
         publisher.
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/2.x_official_extensions/eids.md
         
        repeated .com.google.doubleclick.UserExt.ExtendedId eids = 5;
      • addEids

        public AdxExt.UserExt.Builder addEids​(AdxExt.UserExt.ExtendedId value)
         Standard extension that is used for passing encrypted data chosen by the
         publisher.
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/2.x_official_extensions/eids.md
         
        repeated .com.google.doubleclick.UserExt.ExtendedId eids = 5;
      • addEids

        public AdxExt.UserExt.Builder addEids​(int index,
                                              AdxExt.UserExt.ExtendedId value)
         Standard extension that is used for passing encrypted data chosen by the
         publisher.
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/2.x_official_extensions/eids.md
         
        repeated .com.google.doubleclick.UserExt.ExtendedId eids = 5;
      • addEids

        public AdxExt.UserExt.Builder addEids​(AdxExt.UserExt.ExtendedId.Builder builderForValue)
         Standard extension that is used for passing encrypted data chosen by the
         publisher.
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/2.x_official_extensions/eids.md
         
        repeated .com.google.doubleclick.UserExt.ExtendedId eids = 5;
      • addEids

        public AdxExt.UserExt.Builder addEids​(int index,
                                              AdxExt.UserExt.ExtendedId.Builder builderForValue)
         Standard extension that is used for passing encrypted data chosen by the
         publisher.
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/2.x_official_extensions/eids.md
         
        repeated .com.google.doubleclick.UserExt.ExtendedId eids = 5;
      • addAllEids

        public AdxExt.UserExt.Builder addAllEids​(Iterable<? extends AdxExt.UserExt.ExtendedId> values)
         Standard extension that is used for passing encrypted data chosen by the
         publisher.
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/2.x_official_extensions/eids.md
         
        repeated .com.google.doubleclick.UserExt.ExtendedId eids = 5;
      • clearEids

        public AdxExt.UserExt.Builder clearEids()
         Standard extension that is used for passing encrypted data chosen by the
         publisher.
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/2.x_official_extensions/eids.md
         
        repeated .com.google.doubleclick.UserExt.ExtendedId eids = 5;
      • removeEids

        public AdxExt.UserExt.Builder removeEids​(int index)
         Standard extension that is used for passing encrypted data chosen by the
         publisher.
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/2.x_official_extensions/eids.md
         
        repeated .com.google.doubleclick.UserExt.ExtendedId eids = 5;
      • getEidsBuilder

        public AdxExt.UserExt.ExtendedId.Builder getEidsBuilder​(int index)
         Standard extension that is used for passing encrypted data chosen by the
         publisher.
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/2.x_official_extensions/eids.md
         
        repeated .com.google.doubleclick.UserExt.ExtendedId eids = 5;
      • getEidsOrBuilder

        public AdxExt.UserExt.ExtendedIdOrBuilder getEidsOrBuilder​(int index)
         Standard extension that is used for passing encrypted data chosen by the
         publisher.
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/2.x_official_extensions/eids.md
         
        repeated .com.google.doubleclick.UserExt.ExtendedId eids = 5;
        Specified by:
        getEidsOrBuilder in interface AdxExt.UserExtOrBuilder
      • getEidsOrBuilderList

        public List<? extends AdxExt.UserExt.ExtendedIdOrBuilder> getEidsOrBuilderList()
         Standard extension that is used for passing encrypted data chosen by the
         publisher.
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/2.x_official_extensions/eids.md
         
        repeated .com.google.doubleclick.UserExt.ExtendedId eids = 5;
        Specified by:
        getEidsOrBuilderList in interface AdxExt.UserExtOrBuilder
      • addEidsBuilder

        public AdxExt.UserExt.ExtendedId.Builder addEidsBuilder()
         Standard extension that is used for passing encrypted data chosen by the
         publisher.
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/2.x_official_extensions/eids.md
         
        repeated .com.google.doubleclick.UserExt.ExtendedId eids = 5;
      • addEidsBuilder

        public AdxExt.UserExt.ExtendedId.Builder addEidsBuilder​(int index)
         Standard extension that is used for passing encrypted data chosen by the
         publisher.
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/2.x_official_extensions/eids.md
         
        repeated .com.google.doubleclick.UserExt.ExtendedId eids = 5;
      • getEidsBuilderList

        public List<AdxExt.UserExt.ExtendedId.Builder> getEidsBuilderList()
         Standard extension that is used for passing encrypted data chosen by the
         publisher.
         https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/2.x_official_extensions/eids.md
         
        repeated .com.google.doubleclick.UserExt.ExtendedId eids = 5;
      • setUnknownFields

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

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