Class LocationFeedItem

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

    public final class LocationFeedItem
    extends com.google.protobuf.GeneratedMessageV3
    implements LocationFeedItemOrBuilder
     Represents a location extension.
     
    Protobuf type google.ads.googleads.v10.common.LocationFeedItem
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  LocationFeedItem.Builder
      Represents a location extension.
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,​BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • 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
      • hasBusinessName

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

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

        public com.google.protobuf.ByteString getBusinessNameBytes()
         The name of the business.
         
        optional string business_name = 9;
        Specified by:
        getBusinessNameBytes in interface LocationFeedItemOrBuilder
        Returns:
        The bytes for businessName.
      • hasAddressLine1

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

        public java.lang.String getAddressLine1()
         Line 1 of the business address.
         
        optional string address_line_1 = 10;
        Specified by:
        getAddressLine1 in interface LocationFeedItemOrBuilder
        Returns:
        The addressLine1.
      • getAddressLine1Bytes

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

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

        public java.lang.String getAddressLine2()
         Line 2 of the business address.
         
        optional string address_line_2 = 11;
        Specified by:
        getAddressLine2 in interface LocationFeedItemOrBuilder
        Returns:
        The addressLine2.
      • getAddressLine2Bytes

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

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

        public java.lang.String getCity()
         City of the business address.
         
        optional string city = 12;
        Specified by:
        getCity in interface LocationFeedItemOrBuilder
        Returns:
        The city.
      • getCityBytes

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

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

        public java.lang.String getProvince()
         Province of the business address.
         
        optional string province = 13;
        Specified by:
        getProvince in interface LocationFeedItemOrBuilder
        Returns:
        The province.
      • getProvinceBytes

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

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

        public java.lang.String getPostalCode()
         Postal code of the business address.
         
        optional string postal_code = 14;
        Specified by:
        getPostalCode in interface LocationFeedItemOrBuilder
        Returns:
        The postalCode.
      • getPostalCodeBytes

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

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

        public java.lang.String getCountryCode()
         Country code of the business address.
         
        optional string country_code = 15;
        Specified by:
        getCountryCode in interface LocationFeedItemOrBuilder
        Returns:
        The countryCode.
      • getCountryCodeBytes

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

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

        public java.lang.String getPhoneNumber()
         Phone number of the business.
         
        optional string phone_number = 16;
        Specified by:
        getPhoneNumber in interface LocationFeedItemOrBuilder
        Returns:
        The phoneNumber.
      • getPhoneNumberBytes

        public com.google.protobuf.ByteString getPhoneNumberBytes()
         Phone number of the business.
         
        optional string phone_number = 16;
        Specified by:
        getPhoneNumberBytes in interface LocationFeedItemOrBuilder
        Returns:
        The bytes for phoneNumber.
      • 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 LocationFeedItem parseFrom​(java.nio.ByteBuffer data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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