Class AdxExt.RegsExt.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public boolean hasGdpr()
         This field will be set to true in either of the two following cases:
           1. Google receives a valid IAB Transparency and Consent Framework (TCF)
              v2 consent string and the Consent Management Platform indicates that
              GDPR applies to this ad request.
           2. Google does not receive an IAB TCF v2 consent string and, based on
              information available to Google, this impression will serve to an
              EEA user.
         It does not constitute legal guidance on GDPR.
         
        optional bool gdpr = 1;
        Specified by:
        hasGdpr in interface AdxExt.RegsExtOrBuilder
        Returns:
        Whether the gdpr field is set.
      • getGdpr

        public boolean getGdpr()
         This field will be set to true in either of the two following cases:
           1. Google receives a valid IAB Transparency and Consent Framework (TCF)
              v2 consent string and the Consent Management Platform indicates that
              GDPR applies to this ad request.
           2. Google does not receive an IAB TCF v2 consent string and, based on
              information available to Google, this impression will serve to an
              EEA user.
         It does not constitute legal guidance on GDPR.
         
        optional bool gdpr = 1;
        Specified by:
        getGdpr in interface AdxExt.RegsExtOrBuilder
        Returns:
        The gdpr.
      • setGdpr

        public AdxExt.RegsExt.Builder setGdpr​(boolean value)
         This field will be set to true in either of the two following cases:
           1. Google receives a valid IAB Transparency and Consent Framework (TCF)
              v2 consent string and the Consent Management Platform indicates that
              GDPR applies to this ad request.
           2. Google does not receive an IAB TCF v2 consent string and, based on
              information available to Google, this impression will serve to an
              EEA user.
         It does not constitute legal guidance on GDPR.
         
        optional bool gdpr = 1;
        Parameters:
        value - The gdpr to set.
        Returns:
        This builder for chaining.
      • clearGdpr

        public AdxExt.RegsExt.Builder clearGdpr()
         This field will be set to true in either of the two following cases:
           1. Google receives a valid IAB Transparency and Consent Framework (TCF)
              v2 consent string and the Consent Management Platform indicates that
              GDPR applies to this ad request.
           2. Google does not receive an IAB TCF v2 consent string and, based on
              information available to Google, this impression will serve to an
              EEA user.
         It does not constitute legal guidance on GDPR.
         
        optional bool gdpr = 1;
        Returns:
        This builder for chaining.
      • hasLgpd

        public boolean hasLgpd()
         This field will be set to true when, based on information available to
         Google, this impression will serve to a user in Brazil. See
         https://storage.googleapis.com/adx-rtb-dictionaries/lgpd-providers.csv for
         the list of ad tech providers that are allowed to serve on LGPD-enforced
         requests.
         See https://support.google.com/authorizedbuyers/answer/9928204 for more
         information on LGPD.
         
        optional bool lgpd = 2;
        Specified by:
        hasLgpd in interface AdxExt.RegsExtOrBuilder
        Returns:
        Whether the lgpd field is set.
      • getLgpd

        public boolean getLgpd()
         This field will be set to true when, based on information available to
         Google, this impression will serve to a user in Brazil. See
         https://storage.googleapis.com/adx-rtb-dictionaries/lgpd-providers.csv for
         the list of ad tech providers that are allowed to serve on LGPD-enforced
         requests.
         See https://support.google.com/authorizedbuyers/answer/9928204 for more
         information on LGPD.
         
        optional bool lgpd = 2;
        Specified by:
        getLgpd in interface AdxExt.RegsExtOrBuilder
        Returns:
        The lgpd.
      • setLgpd

        public AdxExt.RegsExt.Builder setLgpd​(boolean value)
         This field will be set to true when, based on information available to
         Google, this impression will serve to a user in Brazil. See
         https://storage.googleapis.com/adx-rtb-dictionaries/lgpd-providers.csv for
         the list of ad tech providers that are allowed to serve on LGPD-enforced
         requests.
         See https://support.google.com/authorizedbuyers/answer/9928204 for more
         information on LGPD.
         
        optional bool lgpd = 2;
        Parameters:
        value - The lgpd to set.
        Returns:
        This builder for chaining.
      • clearLgpd

        public AdxExt.RegsExt.Builder clearLgpd()
         This field will be set to true when, based on information available to
         Google, this impression will serve to a user in Brazil. See
         https://storage.googleapis.com/adx-rtb-dictionaries/lgpd-providers.csv for
         the list of ad tech providers that are allowed to serve on LGPD-enforced
         requests.
         See https://support.google.com/authorizedbuyers/answer/9928204 for more
         information on LGPD.
         
        optional bool lgpd = 2;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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