Class LocationFeedItem
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.common.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 typegoogle.ads.googleads.v10.common.LocationFeedItem- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLocationFeedItem.BuilderRepresents 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
-
-
Field Summary
Fields Modifier and Type Field Description static intADDRESS_LINE_1_FIELD_NUMBERstatic intADDRESS_LINE_2_FIELD_NUMBERstatic intBUSINESS_NAME_FIELD_NUMBERstatic intCITY_FIELD_NUMBERstatic intCOUNTRY_CODE_FIELD_NUMBERstatic intPHONE_NUMBER_FIELD_NUMBERstatic intPOSTAL_CODE_FIELD_NUMBERstatic intPROVINCE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAddressLine1()Line 1 of the business address.com.google.protobuf.ByteStringgetAddressLine1Bytes()Line 1 of the business address.java.lang.StringgetAddressLine2()Line 2 of the business address.com.google.protobuf.ByteStringgetAddressLine2Bytes()Line 2 of the business address.java.lang.StringgetBusinessName()The name of the business.com.google.protobuf.ByteStringgetBusinessNameBytes()The name of the business.java.lang.StringgetCity()City of the business address.com.google.protobuf.ByteStringgetCityBytes()City of the business address.java.lang.StringgetCountryCode()Country code of the business address.com.google.protobuf.ByteStringgetCountryCodeBytes()Country code of the business address.static LocationFeedItemgetDefaultInstance()LocationFeedItemgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<LocationFeedItem>getParserForType()java.lang.StringgetPhoneNumber()Phone number of the business.com.google.protobuf.ByteStringgetPhoneNumberBytes()Phone number of the business.java.lang.StringgetPostalCode()Postal code of the business address.com.google.protobuf.ByteStringgetPostalCodeBytes()Postal code of the business address.java.lang.StringgetProvince()Province of the business address.com.google.protobuf.ByteStringgetProvinceBytes()Province of the business address.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAddressLine1()Line 1 of the business address.booleanhasAddressLine2()Line 2 of the business address.booleanhasBusinessName()The name of the business.booleanhasCity()City of the business address.booleanhasCountryCode()Country code of the business address.inthashCode()booleanhasPhoneNumber()Phone number of the business.booleanhasPostalCode()Postal code of the business address.booleanhasProvince()Province of the business address.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static LocationFeedItem.BuildernewBuilder()static LocationFeedItem.BuildernewBuilder(LocationFeedItem prototype)LocationFeedItem.BuildernewBuilderForType()protected LocationFeedItem.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static LocationFeedItemparseDelimitedFrom(java.io.InputStream input)static LocationFeedItemparseDelimitedFrom(java.io.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(java.io.InputStream input)static LocationFeedItemparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocationFeedItemparseFrom(java.nio.ByteBuffer data)static LocationFeedItemparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<LocationFeedItem>parser()LocationFeedItem.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
BUSINESS_NAME_FIELD_NUMBER
public static final int BUSINESS_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADDRESS_LINE_1_FIELD_NUMBER
public static final int ADDRESS_LINE_1_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADDRESS_LINE_2_FIELD_NUMBER
public static final int ADDRESS_LINE_2_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CITY_FIELD_NUMBER
public static final int CITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROVINCE_FIELD_NUMBER
public static final int PROVINCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POSTAL_CODE_FIELD_NUMBER
public static final int POSTAL_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COUNTRY_CODE_FIELD_NUMBER
public static final int COUNTRY_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PHONE_NUMBER_FIELD_NUMBER
public static final int PHONE_NUMBER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
public java.lang.String 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
public java.lang.String 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
public java.lang.String 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
public java.lang.String 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
public java.lang.String 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
public java.lang.String 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
public java.lang.String 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
public java.lang.String 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
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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(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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static LocationFeedItem.Builder newBuilder()
-
newBuilder
public static LocationFeedItem.Builder newBuilder(LocationFeedItem prototype)
-
toBuilder
public LocationFeedItem.Builder 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
public static LocationFeedItem getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<LocationFeedItem> parser()
-
getParserForType
public com.google.protobuf.Parser<LocationFeedItem> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public LocationFeedItem getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-