Class LocationFeedItem
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.common.LocationFeedItem
- All Implemented Interfaces:
LocationFeedItemOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class LocationFeedItem
extends com.google.protobuf.GeneratedMessageV3
implements LocationFeedItemOrBuilder
Represents a location extension.Protobuf type
google.ads.googleads.v18.common.LocationFeedItem- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents a location extension.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, 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 -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanLine 1 of the business address.com.google.protobuf.ByteStringLine 1 of the business address.Line 2 of the business address.com.google.protobuf.ByteStringLine 2 of the business address.The name of the business.com.google.protobuf.ByteStringThe name of the business.getCity()City of the business address.com.google.protobuf.ByteStringCity of the business address.Country code of the business address.com.google.protobuf.ByteStringCountry code of the business address.static LocationFeedItemstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<LocationFeedItem>Phone number of the business.com.google.protobuf.ByteStringPhone number of the business.Postal code of the business address.com.google.protobuf.ByteStringPostal code of the business address.Province of the business address.com.google.protobuf.ByteStringProvince of the business address.intbooleanLine 1 of the business address.booleanLine 2 of the business address.booleanThe name of the business.booleanhasCity()City of the business address.booleanCountry code of the business address.inthashCode()booleanPhone number of the business.booleanPostal code of the business address.booleanProvince of the business address.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic LocationFeedItem.Builderstatic LocationFeedItem.BuildernewBuilder(LocationFeedItem prototype) protected LocationFeedItem.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static LocationFeedItemparseDelimitedFrom(InputStream input) static LocationFeedItemparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocationFeedItemparseFrom(byte[] data) static LocationFeedItemparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocationFeedItemparseFrom(com.google.protobuf.ByteString data) static LocationFeedItemparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocationFeedItemparseFrom(com.google.protobuf.CodedInputStream input) static LocationFeedItemparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocationFeedItemparseFrom(InputStream input) static LocationFeedItemparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocationFeedItemparseFrom(ByteBuffer data) static LocationFeedItemparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LocationFeedItem>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasBusinessName
public boolean hasBusinessName()The name of the business.
optional string business_name = 9;- Specified by:
hasBusinessNamein interfaceLocationFeedItemOrBuilder- Returns:
- Whether the businessName field is set.
-
getBusinessName
The name of the business.
optional string business_name = 9;- Specified by:
getBusinessNamein interfaceLocationFeedItemOrBuilder- Returns:
- The businessName.
-
getBusinessNameBytes
public com.google.protobuf.ByteString getBusinessNameBytes()The name of the business.
optional string business_name = 9;- Specified by:
getBusinessNameBytesin interfaceLocationFeedItemOrBuilder- Returns:
- The bytes for businessName.
-
hasAddressLine1
public boolean hasAddressLine1()Line 1 of the business address.
optional string address_line_1 = 10;- Specified by:
hasAddressLine1in interfaceLocationFeedItemOrBuilder- Returns:
- Whether the addressLine1 field is set.
-
getAddressLine1
Line 1 of the business address.
optional string address_line_1 = 10;- Specified by:
getAddressLine1in interfaceLocationFeedItemOrBuilder- Returns:
- The addressLine1.
-
getAddressLine1Bytes
public com.google.protobuf.ByteString getAddressLine1Bytes()Line 1 of the business address.
optional string address_line_1 = 10;- Specified by:
getAddressLine1Bytesin interfaceLocationFeedItemOrBuilder- Returns:
- The bytes for addressLine1.
-
hasAddressLine2
public boolean hasAddressLine2()Line 2 of the business address.
optional string address_line_2 = 11;- Specified by:
hasAddressLine2in interfaceLocationFeedItemOrBuilder- Returns:
- Whether the addressLine2 field is set.
-
getAddressLine2
Line 2 of the business address.
optional string address_line_2 = 11;- Specified by:
getAddressLine2in interfaceLocationFeedItemOrBuilder- Returns:
- The addressLine2.
-
getAddressLine2Bytes
public com.google.protobuf.ByteString getAddressLine2Bytes()Line 2 of the business address.
optional string address_line_2 = 11;- Specified by:
getAddressLine2Bytesin interfaceLocationFeedItemOrBuilder- Returns:
- The bytes for addressLine2.
-
hasCity
public boolean hasCity()City of the business address.
optional string city = 12;- Specified by:
hasCityin interfaceLocationFeedItemOrBuilder- Returns:
- Whether the city field is set.
-
getCity
City of the business address.
optional string city = 12;- Specified by:
getCityin interfaceLocationFeedItemOrBuilder- Returns:
- The city.
-
getCityBytes
public com.google.protobuf.ByteString getCityBytes()City of the business address.
optional string city = 12;- Specified by:
getCityBytesin interfaceLocationFeedItemOrBuilder- Returns:
- The bytes for city.
-
hasProvince
public boolean hasProvince()Province of the business address.
optional string province = 13;- Specified by:
hasProvincein interfaceLocationFeedItemOrBuilder- Returns:
- Whether the province field is set.
-
getProvince
Province of the business address.
optional string province = 13;- Specified by:
getProvincein interfaceLocationFeedItemOrBuilder- Returns:
- The province.
-
getProvinceBytes
public com.google.protobuf.ByteString getProvinceBytes()Province of the business address.
optional string province = 13;- Specified by:
getProvinceBytesin interfaceLocationFeedItemOrBuilder- Returns:
- The bytes for province.
-
hasPostalCode
public boolean hasPostalCode()Postal code of the business address.
optional string postal_code = 14;- Specified by:
hasPostalCodein interfaceLocationFeedItemOrBuilder- Returns:
- Whether the postalCode field is set.
-
getPostalCode
Postal code of the business address.
optional string postal_code = 14;- Specified by:
getPostalCodein interfaceLocationFeedItemOrBuilder- Returns:
- The postalCode.
-
getPostalCodeBytes
public com.google.protobuf.ByteString getPostalCodeBytes()Postal code of the business address.
optional string postal_code = 14;- Specified by:
getPostalCodeBytesin interfaceLocationFeedItemOrBuilder- Returns:
- The bytes for postalCode.
-
hasCountryCode
public boolean hasCountryCode()Country code of the business address.
optional string country_code = 15;- Specified by:
hasCountryCodein interfaceLocationFeedItemOrBuilder- Returns:
- Whether the countryCode field is set.
-
getCountryCode
Country code of the business address.
optional string country_code = 15;- Specified by:
getCountryCodein interfaceLocationFeedItemOrBuilder- Returns:
- The countryCode.
-
getCountryCodeBytes
public com.google.protobuf.ByteString getCountryCodeBytes()Country code of the business address.
optional string country_code = 15;- Specified by:
getCountryCodeBytesin interfaceLocationFeedItemOrBuilder- Returns:
- The bytes for countryCode.
-
hasPhoneNumber
public boolean hasPhoneNumber()Phone number of the business.
optional string phone_number = 16;- Specified by:
hasPhoneNumberin interfaceLocationFeedItemOrBuilder- Returns:
- Whether the phoneNumber field is set.
-
getPhoneNumber
Phone number of the business.
optional string phone_number = 16;- Specified by:
getPhoneNumberin interfaceLocationFeedItemOrBuilder- Returns:
- The phoneNumber.
-
getPhoneNumberBytes
public com.google.protobuf.ByteString getPhoneNumberBytes()Phone number of the business.
optional string phone_number = 16;- Specified by:
getPhoneNumberBytesin interfaceLocationFeedItemOrBuilder- Returns:
- The bytes for phoneNumber.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static LocationFeedItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationFeedItem parseFrom(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
- Throws:
IOException
-
parseFrom
public static LocationFeedItem parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static LocationFeedItem parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static LocationFeedItem parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static LocationFeedItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LocationFeedItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-