Class AdxExt.UserExt.ConsentedProvidersSettings

    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • 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
      • getConsentedProvidersList

        public List<Long> getConsentedProvidersList()
         Set of IDs corresponding to ad tech providers (ATPs) for whom the
         publisher has specified to Google that its EEA users have given legally
         valid consent to: 1) the use of cookies or other local storage where
         legally required; and 2) the collection, sharing, and use of personal
         data for personalization of ads by an ATP in accordance with Google's EU
         User Consent Policy.
         If a publisher is using the IAB Transparency and Consent Framework (TCF)
         v2 to manage user consent, this is the set of ATPs consented via the
         Additional Consent string (see
         https://support.google.com/admanager/answer/9681920 for details about
         Google's Additional Consent mode). ATPs consented via the TCF v2 consent
         string are represented in the UserExt.consent field.
         A mapping of ATP ID to ATP name is posted at providers.csv.
         
        repeated int64 consented_providers = 2 [packed = true];
        Specified by:
        getConsentedProvidersList in interface AdxExt.UserExt.ConsentedProvidersSettingsOrBuilder
        Returns:
        A list containing the consentedProviders.
      • getConsentedProvidersCount

        public int getConsentedProvidersCount()
         Set of IDs corresponding to ad tech providers (ATPs) for whom the
         publisher has specified to Google that its EEA users have given legally
         valid consent to: 1) the use of cookies or other local storage where
         legally required; and 2) the collection, sharing, and use of personal
         data for personalization of ads by an ATP in accordance with Google's EU
         User Consent Policy.
         If a publisher is using the IAB Transparency and Consent Framework (TCF)
         v2 to manage user consent, this is the set of ATPs consented via the
         Additional Consent string (see
         https://support.google.com/admanager/answer/9681920 for details about
         Google's Additional Consent mode). ATPs consented via the TCF v2 consent
         string are represented in the UserExt.consent field.
         A mapping of ATP ID to ATP name is posted at providers.csv.
         
        repeated int64 consented_providers = 2 [packed = true];
        Specified by:
        getConsentedProvidersCount in interface AdxExt.UserExt.ConsentedProvidersSettingsOrBuilder
        Returns:
        The count of consentedProviders.
      • getConsentedProviders

        public long getConsentedProviders​(int index)
         Set of IDs corresponding to ad tech providers (ATPs) for whom the
         publisher has specified to Google that its EEA users have given legally
         valid consent to: 1) the use of cookies or other local storage where
         legally required; and 2) the collection, sharing, and use of personal
         data for personalization of ads by an ATP in accordance with Google's EU
         User Consent Policy.
         If a publisher is using the IAB Transparency and Consent Framework (TCF)
         v2 to manage user consent, this is the set of ATPs consented via the
         Additional Consent string (see
         https://support.google.com/admanager/answer/9681920 for details about
         Google's Additional Consent mode). ATPs consented via the TCF v2 consent
         string are represented in the UserExt.consent field.
         A mapping of ATP ID to ATP name is posted at providers.csv.
         
        repeated int64 consented_providers = 2 [packed = true];
        Specified by:
        getConsentedProviders in interface AdxExt.UserExt.ConsentedProvidersSettingsOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The consentedProviders at the given index.
      • hasAdditionalConsent

        public boolean hasAdditionalConsent()
         The raw Additional Consent string, which contains a list of certain
         Google Ad Tech Providers (ATPs). These ATPs are not registered with IAB
         TCF v2, but publishers or their Consent Management Providers (CMPs) have
         ensured that certain disclosures are given to, and consents are obtained
         from, end users, as required by Google's EU User Consent Policy. This
         field is only populated with the use of CMPs that are integrated with IAB
         TCF v2. Such CMPs use the raw Additional Consent string to indicate
         vendors that are not registered with IAB, and communicate end users' CMP
         choices to those vendors. The consented_providers field contains the set
         of vendors that mirrors the one represented by the additional_consent
         field, which is in the raw form. Vendors or any other third-party service
         providers must not create AC strings themselves.
         See https://support.google.com/admanager/answer/9681920 for more details
         about this field.
         
        optional string additional_consent = 3;
        Specified by:
        hasAdditionalConsent in interface AdxExt.UserExt.ConsentedProvidersSettingsOrBuilder
        Returns:
        Whether the additionalConsent field is set.
      • getAdditionalConsent

        public String getAdditionalConsent()
         The raw Additional Consent string, which contains a list of certain
         Google Ad Tech Providers (ATPs). These ATPs are not registered with IAB
         TCF v2, but publishers or their Consent Management Providers (CMPs) have
         ensured that certain disclosures are given to, and consents are obtained
         from, end users, as required by Google's EU User Consent Policy. This
         field is only populated with the use of CMPs that are integrated with IAB
         TCF v2. Such CMPs use the raw Additional Consent string to indicate
         vendors that are not registered with IAB, and communicate end users' CMP
         choices to those vendors. The consented_providers field contains the set
         of vendors that mirrors the one represented by the additional_consent
         field, which is in the raw form. Vendors or any other third-party service
         providers must not create AC strings themselves.
         See https://support.google.com/admanager/answer/9681920 for more details
         about this field.
         
        optional string additional_consent = 3;
        Specified by:
        getAdditionalConsent in interface AdxExt.UserExt.ConsentedProvidersSettingsOrBuilder
        Returns:
        The additionalConsent.
      • getAdditionalConsentBytes

        public com.google.protobuf.ByteString getAdditionalConsentBytes()
         The raw Additional Consent string, which contains a list of certain
         Google Ad Tech Providers (ATPs). These ATPs are not registered with IAB
         TCF v2, but publishers or their Consent Management Providers (CMPs) have
         ensured that certain disclosures are given to, and consents are obtained
         from, end users, as required by Google's EU User Consent Policy. This
         field is only populated with the use of CMPs that are integrated with IAB
         TCF v2. Such CMPs use the raw Additional Consent string to indicate
         vendors that are not registered with IAB, and communicate end users' CMP
         choices to those vendors. The consented_providers field contains the set
         of vendors that mirrors the one represented by the additional_consent
         field, which is in the raw form. Vendors or any other third-party service
         providers must not create AC strings themselves.
         See https://support.google.com/admanager/answer/9681920 for more details
         about this field.
         
        optional string additional_consent = 3;
        Specified by:
        getAdditionalConsentBytes in interface AdxExt.UserExt.ConsentedProvidersSettingsOrBuilder
        Returns:
        The bytes for additionalConsent.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static AdxExt.UserExt.ConsentedProvidersSettings parseFrom​(ByteBuffer data,
                                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AdxExt.UserExt.ConsentedProvidersSettings parseFrom​(com.google.protobuf.ByteString data)
                                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AdxExt.UserExt.ConsentedProvidersSettings parseFrom​(com.google.protobuf.ByteString data,
                                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AdxExt.UserExt.ConsentedProvidersSettings parseFrom​(byte[] data)
                                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AdxExt.UserExt.ConsentedProvidersSettings parseFrom​(byte[] data,
                                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

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

        protected AdxExt.UserExt.ConsentedProvidersSettings.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<AdxExt.UserExt.ConsentedProvidersSettings> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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