Class AddressInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.common.AddressInfo
-
- All Implemented Interfaces:
AddressInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class AddressInfo extends com.google.protobuf.GeneratedMessageV3 implements AddressInfoOrBuilder
Address for proximity criterion.
Protobuf typegoogle.ads.googleads.v10.common.AddressInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAddressInfo.BuilderAddress for proximity criterion.-
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 intCITY_NAME_FIELD_NUMBERstatic intCOUNTRY_CODE_FIELD_NUMBERstatic intPOSTAL_CODE_FIELD_NUMBERstatic intPROVINCE_CODE_FIELD_NUMBERstatic intPROVINCE_NAME_FIELD_NUMBERstatic intSTREET_ADDRESS_FIELD_NUMBERstatic intSTREET_ADDRESS2_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetCityName()Name of the city.com.google.protobuf.ByteStringgetCityNameBytes()Name of the city.java.lang.StringgetCountryCode()Country code.com.google.protobuf.ByteStringgetCountryCodeBytes()Country code.static AddressInfogetDefaultInstance()AddressInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<AddressInfo>getParserForType()java.lang.StringgetPostalCode()Postal code.com.google.protobuf.ByteStringgetPostalCodeBytes()Postal code.java.lang.StringgetProvinceCode()Province or state code.com.google.protobuf.ByteStringgetProvinceCodeBytes()Province or state code.java.lang.StringgetProvinceName()Province or state name.com.google.protobuf.ByteStringgetProvinceNameBytes()Province or state name.intgetSerializedSize()java.lang.StringgetStreetAddress()Street address line 1.java.lang.StringgetStreetAddress2()Street address line 2.com.google.protobuf.ByteStringgetStreetAddress2Bytes()Street address line 2.com.google.protobuf.ByteStringgetStreetAddressBytes()Street address line 1.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasCityName()Name of the city.booleanhasCountryCode()Country code.inthashCode()booleanhasPostalCode()Postal code.booleanhasProvinceCode()Province or state code.booleanhasProvinceName()Province or state name.booleanhasStreetAddress()Street address line 1.booleanhasStreetAddress2()Street address line 2.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static AddressInfo.BuildernewBuilder()static AddressInfo.BuildernewBuilder(AddressInfo prototype)AddressInfo.BuildernewBuilderForType()protected AddressInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AddressInfoparseDelimitedFrom(java.io.InputStream input)static AddressInfoparseDelimitedFrom(java.io.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(java.io.InputStream input)static AddressInfoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AddressInfoparseFrom(java.nio.ByteBuffer data)static AddressInfoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<AddressInfo>parser()AddressInfo.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
-
POSTAL_CODE_FIELD_NUMBER
public static final int POSTAL_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROVINCE_CODE_FIELD_NUMBER
public static final int PROVINCE_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
-
PROVINCE_NAME_FIELD_NUMBER
public static final int PROVINCE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STREET_ADDRESS_FIELD_NUMBER
public static final int STREET_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STREET_ADDRESS2_FIELD_NUMBER
public static final int STREET_ADDRESS2_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CITY_NAME_FIELD_NUMBER
public static final int CITY_NAME_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
-
hasPostalCode
public boolean hasPostalCode()
Postal code.
optional string postal_code = 8;- Specified by:
hasPostalCodein interfaceAddressInfoOrBuilder- Returns:
- Whether the postalCode field is set.
-
getPostalCode
public java.lang.String 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
public java.lang.String 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
public java.lang.String 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
public java.lang.String 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
public java.lang.String 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
public java.lang.String 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
public java.lang.String 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
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 AddressInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddressInfo parseFrom(java.nio.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
public static AddressInfo parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AddressInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AddressInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AddressInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AddressInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AddressInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public AddressInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AddressInfo.Builder newBuilder()
-
newBuilder
public static AddressInfo.Builder newBuilder(AddressInfo prototype)
-
toBuilder
public AddressInfo.Builder 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
public static AddressInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AddressInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<AddressInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AddressInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-