Class AdxExt.PublisherExt.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.PublisherExt.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

        public boolean hasCountry()
         The billing address country code of the publisher. This may be different
         from the hosting country of the website. For a complete list of country
         codes, please refer to
         https://developers.google.com/adwords/api/docs/appendix/codes-formats#country-codes
         
        optional string country = 1;
        Specified by:
        hasCountry in interface AdxExt.PublisherExtOrBuilder
        Returns:
        Whether the country field is set.
      • getCountry

        public String getCountry()
         The billing address country code of the publisher. This may be different
         from the hosting country of the website. For a complete list of country
         codes, please refer to
         https://developers.google.com/adwords/api/docs/appendix/codes-formats#country-codes
         
        optional string country = 1;
        Specified by:
        getCountry in interface AdxExt.PublisherExtOrBuilder
        Returns:
        The country.
      • getCountryBytes

        public com.google.protobuf.ByteString getCountryBytes()
         The billing address country code of the publisher. This may be different
         from the hosting country of the website. For a complete list of country
         codes, please refer to
         https://developers.google.com/adwords/api/docs/appendix/codes-formats#country-codes
         
        optional string country = 1;
        Specified by:
        getCountryBytes in interface AdxExt.PublisherExtOrBuilder
        Returns:
        The bytes for country.
      • setCountry

        public AdxExt.PublisherExt.Builder setCountry​(String value)
         The billing address country code of the publisher. This may be different
         from the hosting country of the website. For a complete list of country
         codes, please refer to
         https://developers.google.com/adwords/api/docs/appendix/codes-formats#country-codes
         
        optional string country = 1;
        Parameters:
        value - The country to set.
        Returns:
        This builder for chaining.
      • clearCountry

        public AdxExt.PublisherExt.Builder clearCountry()
         The billing address country code of the publisher. This may be different
         from the hosting country of the website. For a complete list of country
         codes, please refer to
         https://developers.google.com/adwords/api/docs/appendix/codes-formats#country-codes
         
        optional string country = 1;
        Returns:
        This builder for chaining.
      • setCountryBytes

        public AdxExt.PublisherExt.Builder setCountryBytes​(com.google.protobuf.ByteString value)
         The billing address country code of the publisher. This may be different
         from the hosting country of the website. For a complete list of country
         codes, please refer to
         https://developers.google.com/adwords/api/docs/appendix/codes-formats#country-codes
         
        optional string country = 1;
        Parameters:
        value - The bytes for country to set.
        Returns:
        This builder for chaining.
      • hasHostPublisherId

        public boolean hasHostPublisherId()
         The ID of the host publisher. When populated, indicates that the host
         publisher participated in revenue sharing, and the ID can be used to
         authorize ads.txt.
         
        optional string host_publisher_id = 2;
        Specified by:
        hasHostPublisherId in interface AdxExt.PublisherExtOrBuilder
        Returns:
        Whether the hostPublisherId field is set.
      • getHostPublisherId

        public String getHostPublisherId()
         The ID of the host publisher. When populated, indicates that the host
         publisher participated in revenue sharing, and the ID can be used to
         authorize ads.txt.
         
        optional string host_publisher_id = 2;
        Specified by:
        getHostPublisherId in interface AdxExt.PublisherExtOrBuilder
        Returns:
        The hostPublisherId.
      • getHostPublisherIdBytes

        public com.google.protobuf.ByteString getHostPublisherIdBytes()
         The ID of the host publisher. When populated, indicates that the host
         publisher participated in revenue sharing, and the ID can be used to
         authorize ads.txt.
         
        optional string host_publisher_id = 2;
        Specified by:
        getHostPublisherIdBytes in interface AdxExt.PublisherExtOrBuilder
        Returns:
        The bytes for hostPublisherId.
      • setHostPublisherId

        public AdxExt.PublisherExt.Builder setHostPublisherId​(String value)
         The ID of the host publisher. When populated, indicates that the host
         publisher participated in revenue sharing, and the ID can be used to
         authorize ads.txt.
         
        optional string host_publisher_id = 2;
        Parameters:
        value - The hostPublisherId to set.
        Returns:
        This builder for chaining.
      • clearHostPublisherId

        public AdxExt.PublisherExt.Builder clearHostPublisherId()
         The ID of the host publisher. When populated, indicates that the host
         publisher participated in revenue sharing, and the ID can be used to
         authorize ads.txt.
         
        optional string host_publisher_id = 2;
        Returns:
        This builder for chaining.
      • setHostPublisherIdBytes

        public AdxExt.PublisherExt.Builder setHostPublisherIdBytes​(com.google.protobuf.ByteString value)
         The ID of the host publisher. When populated, indicates that the host
         publisher participated in revenue sharing, and the ID can be used to
         authorize ads.txt.
         
        optional string host_publisher_id = 2;
        Parameters:
        value - The bytes for hostPublisherId to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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