Class AffiliateLocationFeedItem.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<AffiliateLocationFeedItem.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<AffiliateLocationFeedItem.Builder>
      • getDefaultInstanceForType

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

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

        public AffiliateLocationFeedItem buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setField

        public AffiliateLocationFeedItem.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<AffiliateLocationFeedItem.Builder>
      • setRepeatedField

        public AffiliateLocationFeedItem.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AffiliateLocationFeedItem.Builder>
      • addRepeatedField

        public AffiliateLocationFeedItem.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AffiliateLocationFeedItem.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AffiliateLocationFeedItem.Builder>
      • mergeFrom

        public AffiliateLocationFeedItem.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws java.io.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<AffiliateLocationFeedItem.Builder>
        Throws:
        java.io.IOException
      • setBusinessName

        public AffiliateLocationFeedItem.Builder setBusinessName​(java.lang.String value)
         The name of the business.
         
        optional string business_name = 11;
        Parameters:
        value - The businessName to set.
        Returns:
        This builder for chaining.
      • clearBusinessName

        public AffiliateLocationFeedItem.Builder clearBusinessName()
         The name of the business.
         
        optional string business_name = 11;
        Returns:
        This builder for chaining.
      • setBusinessNameBytes

        public AffiliateLocationFeedItem.Builder setBusinessNameBytes​(com.google.protobuf.ByteString value)
         The name of the business.
         
        optional string business_name = 11;
        Parameters:
        value - The bytes for businessName to set.
        Returns:
        This builder for chaining.
      • hasAddressLine1

        public boolean hasAddressLine1()
         Line 1 of the business address.
         
        optional string address_line_1 = 12;
        Specified by:
        hasAddressLine1 in interface AffiliateLocationFeedItemOrBuilder
        Returns:
        Whether the addressLine1 field is set.
      • getAddressLine1Bytes

        public com.google.protobuf.ByteString getAddressLine1Bytes()
         Line 1 of the business address.
         
        optional string address_line_1 = 12;
        Specified by:
        getAddressLine1Bytes in interface AffiliateLocationFeedItemOrBuilder
        Returns:
        The bytes for addressLine1.
      • setAddressLine1

        public AffiliateLocationFeedItem.Builder setAddressLine1​(java.lang.String value)
         Line 1 of the business address.
         
        optional string address_line_1 = 12;
        Parameters:
        value - The addressLine1 to set.
        Returns:
        This builder for chaining.
      • clearAddressLine1

        public AffiliateLocationFeedItem.Builder clearAddressLine1()
         Line 1 of the business address.
         
        optional string address_line_1 = 12;
        Returns:
        This builder for chaining.
      • setAddressLine1Bytes

        public AffiliateLocationFeedItem.Builder setAddressLine1Bytes​(com.google.protobuf.ByteString value)
         Line 1 of the business address.
         
        optional string address_line_1 = 12;
        Parameters:
        value - The bytes for addressLine1 to set.
        Returns:
        This builder for chaining.
      • hasAddressLine2

        public boolean hasAddressLine2()
         Line 2 of the business address.
         
        optional string address_line_2 = 13;
        Specified by:
        hasAddressLine2 in interface AffiliateLocationFeedItemOrBuilder
        Returns:
        Whether the addressLine2 field is set.
      • getAddressLine2Bytes

        public com.google.protobuf.ByteString getAddressLine2Bytes()
         Line 2 of the business address.
         
        optional string address_line_2 = 13;
        Specified by:
        getAddressLine2Bytes in interface AffiliateLocationFeedItemOrBuilder
        Returns:
        The bytes for addressLine2.
      • setAddressLine2

        public AffiliateLocationFeedItem.Builder setAddressLine2​(java.lang.String value)
         Line 2 of the business address.
         
        optional string address_line_2 = 13;
        Parameters:
        value - The addressLine2 to set.
        Returns:
        This builder for chaining.
      • clearAddressLine2

        public AffiliateLocationFeedItem.Builder clearAddressLine2()
         Line 2 of the business address.
         
        optional string address_line_2 = 13;
        Returns:
        This builder for chaining.
      • setAddressLine2Bytes

        public AffiliateLocationFeedItem.Builder setAddressLine2Bytes​(com.google.protobuf.ByteString value)
         Line 2 of the business address.
         
        optional string address_line_2 = 13;
        Parameters:
        value - The bytes for addressLine2 to set.
        Returns:
        This builder for chaining.
      • hasCity

        public boolean hasCity()
         City of the business address.
         
        optional string city = 14;
        Specified by:
        hasCity in interface AffiliateLocationFeedItemOrBuilder
        Returns:
        Whether the city field is set.
      • getCityBytes

        public com.google.protobuf.ByteString getCityBytes()
         City of the business address.
         
        optional string city = 14;
        Specified by:
        getCityBytes in interface AffiliateLocationFeedItemOrBuilder
        Returns:
        The bytes for city.
      • setCity

        public AffiliateLocationFeedItem.Builder setCity​(java.lang.String value)
         City of the business address.
         
        optional string city = 14;
        Parameters:
        value - The city to set.
        Returns:
        This builder for chaining.
      • setCityBytes

        public AffiliateLocationFeedItem.Builder setCityBytes​(com.google.protobuf.ByteString value)
         City of the business address.
         
        optional string city = 14;
        Parameters:
        value - The bytes for city to set.
        Returns:
        This builder for chaining.
      • hasProvince

        public boolean hasProvince()
         Province of the business address.
         
        optional string province = 15;
        Specified by:
        hasProvince in interface AffiliateLocationFeedItemOrBuilder
        Returns:
        Whether the province field is set.
      • getProvinceBytes

        public com.google.protobuf.ByteString getProvinceBytes()
         Province of the business address.
         
        optional string province = 15;
        Specified by:
        getProvinceBytes in interface AffiliateLocationFeedItemOrBuilder
        Returns:
        The bytes for province.
      • setProvince

        public AffiliateLocationFeedItem.Builder setProvince​(java.lang.String value)
         Province of the business address.
         
        optional string province = 15;
        Parameters:
        value - The province to set.
        Returns:
        This builder for chaining.
      • clearProvince

        public AffiliateLocationFeedItem.Builder clearProvince()
         Province of the business address.
         
        optional string province = 15;
        Returns:
        This builder for chaining.
      • setProvinceBytes

        public AffiliateLocationFeedItem.Builder setProvinceBytes​(com.google.protobuf.ByteString value)
         Province of the business address.
         
        optional string province = 15;
        Parameters:
        value - The bytes for province to set.
        Returns:
        This builder for chaining.
      • hasPostalCode

        public boolean hasPostalCode()
         Postal code of the business address.
         
        optional string postal_code = 16;
        Specified by:
        hasPostalCode in interface AffiliateLocationFeedItemOrBuilder
        Returns:
        Whether the postalCode field is set.
      • getPostalCodeBytes

        public com.google.protobuf.ByteString getPostalCodeBytes()
         Postal code of the business address.
         
        optional string postal_code = 16;
        Specified by:
        getPostalCodeBytes in interface AffiliateLocationFeedItemOrBuilder
        Returns:
        The bytes for postalCode.
      • setPostalCode

        public AffiliateLocationFeedItem.Builder setPostalCode​(java.lang.String value)
         Postal code of the business address.
         
        optional string postal_code = 16;
        Parameters:
        value - The postalCode to set.
        Returns:
        This builder for chaining.
      • clearPostalCode

        public AffiliateLocationFeedItem.Builder clearPostalCode()
         Postal code of the business address.
         
        optional string postal_code = 16;
        Returns:
        This builder for chaining.
      • setPostalCodeBytes

        public AffiliateLocationFeedItem.Builder setPostalCodeBytes​(com.google.protobuf.ByteString value)
         Postal code of the business address.
         
        optional string postal_code = 16;
        Parameters:
        value - The bytes for postalCode to set.
        Returns:
        This builder for chaining.
      • hasCountryCode

        public boolean hasCountryCode()
         Country code of the business address.
         
        optional string country_code = 17;
        Specified by:
        hasCountryCode in interface AffiliateLocationFeedItemOrBuilder
        Returns:
        Whether the countryCode field is set.
      • getCountryCodeBytes

        public com.google.protobuf.ByteString getCountryCodeBytes()
         Country code of the business address.
         
        optional string country_code = 17;
        Specified by:
        getCountryCodeBytes in interface AffiliateLocationFeedItemOrBuilder
        Returns:
        The bytes for countryCode.
      • setCountryCode

        public AffiliateLocationFeedItem.Builder setCountryCode​(java.lang.String value)
         Country code of the business address.
         
        optional string country_code = 17;
        Parameters:
        value - The countryCode to set.
        Returns:
        This builder for chaining.
      • clearCountryCode

        public AffiliateLocationFeedItem.Builder clearCountryCode()
         Country code of the business address.
         
        optional string country_code = 17;
        Returns:
        This builder for chaining.
      • setCountryCodeBytes

        public AffiliateLocationFeedItem.Builder setCountryCodeBytes​(com.google.protobuf.ByteString value)
         Country code of the business address.
         
        optional string country_code = 17;
        Parameters:
        value - The bytes for countryCode to set.
        Returns:
        This builder for chaining.
      • hasPhoneNumber

        public boolean hasPhoneNumber()
         Phone number of the business.
         
        optional string phone_number = 18;
        Specified by:
        hasPhoneNumber in interface AffiliateLocationFeedItemOrBuilder
        Returns:
        Whether the phoneNumber field is set.
      • getPhoneNumberBytes

        public com.google.protobuf.ByteString getPhoneNumberBytes()
         Phone number of the business.
         
        optional string phone_number = 18;
        Specified by:
        getPhoneNumberBytes in interface AffiliateLocationFeedItemOrBuilder
        Returns:
        The bytes for phoneNumber.
      • setPhoneNumber

        public AffiliateLocationFeedItem.Builder setPhoneNumber​(java.lang.String value)
         Phone number of the business.
         
        optional string phone_number = 18;
        Parameters:
        value - The phoneNumber to set.
        Returns:
        This builder for chaining.
      • clearPhoneNumber

        public AffiliateLocationFeedItem.Builder clearPhoneNumber()
         Phone number of the business.
         
        optional string phone_number = 18;
        Returns:
        This builder for chaining.
      • setPhoneNumberBytes

        public AffiliateLocationFeedItem.Builder setPhoneNumberBytes​(com.google.protobuf.ByteString value)
         Phone number of the business.
         
        optional string phone_number = 18;
        Parameters:
        value - The bytes for phoneNumber to set.
        Returns:
        This builder for chaining.
      • hasChainId

        public boolean hasChainId()
         Id of the retail chain that is advertised as a seller of your product.
         
        optional int64 chain_id = 19;
        Specified by:
        hasChainId in interface AffiliateLocationFeedItemOrBuilder
        Returns:
        Whether the chainId field is set.
      • getChainId

        public long getChainId()
         Id of the retail chain that is advertised as a seller of your product.
         
        optional int64 chain_id = 19;
        Specified by:
        getChainId in interface AffiliateLocationFeedItemOrBuilder
        Returns:
        The chainId.
      • setChainId

        public AffiliateLocationFeedItem.Builder setChainId​(long value)
         Id of the retail chain that is advertised as a seller of your product.
         
        optional int64 chain_id = 19;
        Parameters:
        value - The chainId to set.
        Returns:
        This builder for chaining.
      • clearChainId

        public AffiliateLocationFeedItem.Builder clearChainId()
         Id of the retail chain that is advertised as a seller of your product.
         
        optional int64 chain_id = 19;
        Returns:
        This builder for chaining.
      • setChainName

        public AffiliateLocationFeedItem.Builder setChainName​(java.lang.String value)
         Name of chain.
         
        optional string chain_name = 20;
        Parameters:
        value - The chainName to set.
        Returns:
        This builder for chaining.
      • setChainNameBytes

        public AffiliateLocationFeedItem.Builder setChainNameBytes​(com.google.protobuf.ByteString value)
         Name of chain.
         
        optional string chain_name = 20;
        Parameters:
        value - The bytes for chainName to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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