Class AffiliateLocationFeedItem

  • All Implemented Interfaces:
    AffiliateLocationFeedItemOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable

    public final class AffiliateLocationFeedItem
    extends com.google.protobuf.GeneratedMessageV3
    implements AffiliateLocationFeedItemOrBuilder
     Represents an affiliate location extension.
     
    Protobuf type google.ads.googleads.v10.common.AffiliateLocationFeedItem
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected java.lang.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
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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 java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.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​(java.lang.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 AffiliateLocationFeedItem parseFrom​(java.nio.ByteBuffer data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AffiliateLocationFeedItem parseFrom​(java.nio.ByteBuffer data,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

        public static AffiliateLocationFeedItem parseFrom​(java.io.InputStream input)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static AffiliateLocationFeedItem parseFrom​(java.io.InputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static AffiliateLocationFeedItem parseDelimitedFrom​(java.io.InputStream input)
                                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static AffiliateLocationFeedItem parseDelimitedFrom​(java.io.InputStream input,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static AffiliateLocationFeedItem parseFrom​(com.google.protobuf.CodedInputStream input)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static AffiliateLocationFeedItem parseFrom​(com.google.protobuf.CodedInputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

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

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

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

        public com.google.protobuf.Parser<AffiliateLocationFeedItem> 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 AffiliateLocationFeedItem getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder