Class AffiliateLocationFeedItem

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.common.AffiliateLocationFeedItem
All Implemented Interfaces:
AffiliateLocationFeedItemOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class AffiliateLocationFeedItem extends com.google.protobuf.GeneratedMessageV3 implements AffiliateLocationFeedItemOrBuilder
 Represents an affiliate location extension.
 
Protobuf type google.ads.googleads.v18.common.AffiliateLocationFeedItem
See Also:
  • Field Details

    • BUSINESS_NAME_FIELD_NUMBER

      public static final int BUSINESS_NAME_FIELD_NUMBER
      See Also:
    • ADDRESS_LINE_1_FIELD_NUMBER

      public static final int ADDRESS_LINE_1_FIELD_NUMBER
      See Also:
    • ADDRESS_LINE_2_FIELD_NUMBER

      public static final int ADDRESS_LINE_2_FIELD_NUMBER
      See Also:
    • CITY_FIELD_NUMBER

      public static final int CITY_FIELD_NUMBER
      See Also:
    • PROVINCE_FIELD_NUMBER

      public static final int PROVINCE_FIELD_NUMBER
      See Also:
    • POSTAL_CODE_FIELD_NUMBER

      public static final int POSTAL_CODE_FIELD_NUMBER
      See Also:
    • COUNTRY_CODE_FIELD_NUMBER

      public static final int COUNTRY_CODE_FIELD_NUMBER
      See Also:
    • PHONE_NUMBER_FIELD_NUMBER

      public static final int PHONE_NUMBER_FIELD_NUMBER
      See Also:
    • CHAIN_ID_FIELD_NUMBER

      public static final int CHAIN_ID_FIELD_NUMBER
      See Also:
    • CHAIN_NAME_FIELD_NUMBER

      public static final int CHAIN_NAME_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance 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
    • hasBusinessName

      public boolean hasBusinessName()
       The name of the business.
       
      optional string business_name = 11;
      Specified by:
      hasBusinessName in interface AffiliateLocationFeedItemOrBuilder
      Returns:
      Whether the businessName field is set.
    • getBusinessName

      public String getBusinessName()
       The name of the business.
       
      optional string business_name = 11;
      Specified by:
      getBusinessName in interface AffiliateLocationFeedItemOrBuilder
      Returns:
      The businessName.
    • getBusinessNameBytes

      public com.google.protobuf.ByteString getBusinessNameBytes()
       The name of the business.
       
      optional string business_name = 11;
      Specified by:
      getBusinessNameBytes in interface AffiliateLocationFeedItemOrBuilder
      Returns:
      The bytes for businessName.
    • 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.
    • getAddressLine1

      public String getAddressLine1()
       Line 1 of the business address.
       
      optional string address_line_1 = 12;
      Specified by:
      getAddressLine1 in interface AffiliateLocationFeedItemOrBuilder
      Returns:
      The addressLine1.
    • 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.
    • getAddressLine2

      public String getAddressLine2()
       Line 2 of the business address.
       
      optional string address_line_2 = 13;
      Specified by:
      getAddressLine2 in interface AffiliateLocationFeedItemOrBuilder
      Returns:
      The addressLine2.
    • 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.
    • getCity

      public String getCity()
       City of the business address.
       
      optional string city = 14;
      Specified by:
      getCity in interface AffiliateLocationFeedItemOrBuilder
      Returns:
      The city.
    • 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.
    • getProvince

      public String getProvince()
       Province of the business address.
       
      optional string province = 15;
      Specified by:
      getProvince in interface AffiliateLocationFeedItemOrBuilder
      Returns:
      The province.
    • 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.
    • getPostalCode

      public String getPostalCode()
       Postal code of the business address.
       
      optional string postal_code = 16;
      Specified by:
      getPostalCode in interface AffiliateLocationFeedItemOrBuilder
      Returns:
      The postalCode.
    • 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.
    • getCountryCode

      public String getCountryCode()
       Country code of the business address.
       
      optional string country_code = 17;
      Specified by:
      getCountryCode in interface AffiliateLocationFeedItemOrBuilder
      Returns:
      The countryCode.
    • 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.
    • getPhoneNumber

      public String getPhoneNumber()
       Phone number of the business.
       
      optional string phone_number = 18;
      Specified by:
      getPhoneNumber in interface AffiliateLocationFeedItemOrBuilder
      Returns:
      The phoneNumber.
    • 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.
    • hasChainName

      public boolean hasChainName()
       Name of chain.
       
      optional string chain_name = 20;
      Specified by:
      hasChainName in interface AffiliateLocationFeedItemOrBuilder
      Returns:
      Whether the chainName field is set.
    • getChainName

      public String getChainName()
       Name of chain.
       
      optional string chain_name = 20;
      Specified by:
      getChainName in interface AffiliateLocationFeedItemOrBuilder
      Returns:
      The chainName.
    • getChainNameBytes

      public com.google.protobuf.ByteString getChainNameBytes()
       Name of chain.
       
      optional string chain_name = 20;
      Specified by:
      getChainNameBytes in interface AffiliateLocationFeedItemOrBuilder
      Returns:
      The bytes for chainName.
    • 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 AffiliateLocationFeedItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AffiliateLocationFeedItem parseFrom(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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static AffiliateLocationFeedItem parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static AffiliateLocationFeedItem.Builder newBuilder()
    • newBuilder

      public static AffiliateLocationFeedItem.Builder newBuilder(AffiliateLocationFeedItem prototype)
    • 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
    • getDefaultInstance

      public static AffiliateLocationFeedItem getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AffiliateLocationFeedItem> parser()
    • 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