Class AddressInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.common.AddressInfo
- All Implemented Interfaces:
AddressInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class AddressInfo
extends com.google.protobuf.GeneratedMessageV3
implements AddressInfoOrBuilder
Address for proximity criterion.Protobuf type
google.ads.googleads.v18.common.AddressInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAddress for proximity criterion.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 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 TypeMethodDescriptionbooleanName of the city.com.google.protobuf.ByteStringName of the city.Country code.com.google.protobuf.ByteStringCountry code.static AddressInfostatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<AddressInfo>Postal code.com.google.protobuf.ByteStringPostal code.Province or state code.com.google.protobuf.ByteStringProvince or state code.Province or state name.com.google.protobuf.ByteStringProvince or state name.intStreet address line 1.Street address line 2.com.google.protobuf.ByteStringStreet address line 2.com.google.protobuf.ByteStringStreet address line 1.booleanName of the city.booleanCountry code.inthashCode()booleanPostal code.booleanProvince or state code.booleanProvince or state name.booleanStreet address line 1.booleanStreet address line 2.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic AddressInfo.Builderstatic AddressInfo.BuildernewBuilder(AddressInfo prototype) protected AddressInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static AddressInfoparseDelimitedFrom(InputStream input) static AddressInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AddressInfoparseFrom(byte[] data) static AddressInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AddressInfoparseFrom(com.google.protobuf.ByteString data) static AddressInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AddressInfoparseFrom(com.google.protobuf.CodedInputStream input) static AddressInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AddressInfoparseFrom(InputStream input) static AddressInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AddressInfoparseFrom(ByteBuffer data) static AddressInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AddressInfo>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
-
POSTAL_CODE_FIELD_NUMBER
public static final int POSTAL_CODE_FIELD_NUMBER- See Also:
-
PROVINCE_CODE_FIELD_NUMBER
public static final int PROVINCE_CODE_FIELD_NUMBER- See Also:
-
COUNTRY_CODE_FIELD_NUMBER
public static final int COUNTRY_CODE_FIELD_NUMBER- See Also:
-
PROVINCE_NAME_FIELD_NUMBER
public static final int PROVINCE_NAME_FIELD_NUMBER- See Also:
-
STREET_ADDRESS_FIELD_NUMBER
public static final int STREET_ADDRESS_FIELD_NUMBER- See Also:
-
STREET_ADDRESS2_FIELD_NUMBER
public static final int STREET_ADDRESS2_FIELD_NUMBER- See Also:
-
CITY_NAME_FIELD_NUMBER
public static final int CITY_NAME_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
-
hasPostalCode
public boolean hasPostalCode()Postal code.
optional string postal_code = 8;- Specified by:
hasPostalCodein interfaceAddressInfoOrBuilder- Returns:
- Whether the postalCode field is set.
-
getPostalCode
Postal code.
optional string postal_code = 8;- Specified by:
getPostalCodein interfaceAddressInfoOrBuilder- Returns:
- The postalCode.
-
getPostalCodeBytes
public com.google.protobuf.ByteString getPostalCodeBytes()Postal code.
optional string postal_code = 8;- Specified by:
getPostalCodeBytesin interfaceAddressInfoOrBuilder- Returns:
- The bytes for postalCode.
-
hasProvinceCode
public boolean hasProvinceCode()Province or state code.
optional string province_code = 9;- Specified by:
hasProvinceCodein interfaceAddressInfoOrBuilder- Returns:
- Whether the provinceCode field is set.
-
getProvinceCode
Province or state code.
optional string province_code = 9;- Specified by:
getProvinceCodein interfaceAddressInfoOrBuilder- Returns:
- The provinceCode.
-
getProvinceCodeBytes
public com.google.protobuf.ByteString getProvinceCodeBytes()Province or state code.
optional string province_code = 9;- Specified by:
getProvinceCodeBytesin interfaceAddressInfoOrBuilder- Returns:
- The bytes for provinceCode.
-
hasCountryCode
public boolean hasCountryCode()Country code.
optional string country_code = 10;- Specified by:
hasCountryCodein interfaceAddressInfoOrBuilder- Returns:
- Whether the countryCode field is set.
-
getCountryCode
Country code.
optional string country_code = 10;- Specified by:
getCountryCodein interfaceAddressInfoOrBuilder- Returns:
- The countryCode.
-
getCountryCodeBytes
public com.google.protobuf.ByteString getCountryCodeBytes()Country code.
optional string country_code = 10;- Specified by:
getCountryCodeBytesin interfaceAddressInfoOrBuilder- Returns:
- The bytes for countryCode.
-
hasProvinceName
public boolean hasProvinceName()Province or state name.
optional string province_name = 11;- Specified by:
hasProvinceNamein interfaceAddressInfoOrBuilder- Returns:
- Whether the provinceName field is set.
-
getProvinceName
Province or state name.
optional string province_name = 11;- Specified by:
getProvinceNamein interfaceAddressInfoOrBuilder- Returns:
- The provinceName.
-
getProvinceNameBytes
public com.google.protobuf.ByteString getProvinceNameBytes()Province or state name.
optional string province_name = 11;- Specified by:
getProvinceNameBytesin interfaceAddressInfoOrBuilder- Returns:
- The bytes for provinceName.
-
hasStreetAddress
public boolean hasStreetAddress()Street address line 1.
optional string street_address = 12;- Specified by:
hasStreetAddressin interfaceAddressInfoOrBuilder- Returns:
- Whether the streetAddress field is set.
-
getStreetAddress
Street address line 1.
optional string street_address = 12;- Specified by:
getStreetAddressin interfaceAddressInfoOrBuilder- Returns:
- The streetAddress.
-
getStreetAddressBytes
public com.google.protobuf.ByteString getStreetAddressBytes()Street address line 1.
optional string street_address = 12;- Specified by:
getStreetAddressBytesin interfaceAddressInfoOrBuilder- Returns:
- The bytes for streetAddress.
-
hasStreetAddress2
public boolean hasStreetAddress2()Street address line 2. This field is write-only. It is only used for calculating the longitude and latitude of an address when geo_point is empty.
optional string street_address2 = 13;- Specified by:
hasStreetAddress2in interfaceAddressInfoOrBuilder- Returns:
- Whether the streetAddress2 field is set.
-
getStreetAddress2
Street address line 2. This field is write-only. It is only used for calculating the longitude and latitude of an address when geo_point is empty.
optional string street_address2 = 13;- Specified by:
getStreetAddress2in interfaceAddressInfoOrBuilder- Returns:
- The streetAddress2.
-
getStreetAddress2Bytes
public com.google.protobuf.ByteString getStreetAddress2Bytes()Street address line 2. This field is write-only. It is only used for calculating the longitude and latitude of an address when geo_point is empty.
optional string street_address2 = 13;- Specified by:
getStreetAddress2Bytesin interfaceAddressInfoOrBuilder- Returns:
- The bytes for streetAddress2.
-
hasCityName
public boolean hasCityName()Name of the city.
optional string city_name = 14;- Specified by:
hasCityNamein interfaceAddressInfoOrBuilder- Returns:
- Whether the cityName field is set.
-
getCityName
Name of the city.
optional string city_name = 14;- Specified by:
getCityNamein interfaceAddressInfoOrBuilder- Returns:
- The cityName.
-
getCityNameBytes
public com.google.protobuf.ByteString getCityNameBytes()Name of the city.
optional string city_name = 14;- Specified by:
getCityNameBytesin interfaceAddressInfoOrBuilder- Returns:
- The bytes for cityName.
-
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 AddressInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddressInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddressInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddressInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddressInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddressInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AddressInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AddressInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AddressInfo 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 AddressInfo.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
-