Class AddressInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v13.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.v13.common.AddressInfo
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AddressInfo.Builder
Address 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
-
-
Field Summary
Fields Modifier and Type Field Description static int
CITY_NAME_FIELD_NUMBER
static int
COUNTRY_CODE_FIELD_NUMBER
static int
POSTAL_CODE_FIELD_NUMBER
static int
PROVINCE_CODE_FIELD_NUMBER
static int
PROVINCE_NAME_FIELD_NUMBER
static int
STREET_ADDRESS_FIELD_NUMBER
static int
STREET_ADDRESS2_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getCityName()
Name of the city.com.google.protobuf.ByteString
getCityNameBytes()
Name of the city.java.lang.String
getCountryCode()
Country code.com.google.protobuf.ByteString
getCountryCodeBytes()
Country code.static AddressInfo
getDefaultInstance()
AddressInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Parser<AddressInfo>
getParserForType()
java.lang.String
getPostalCode()
Postal code.com.google.protobuf.ByteString
getPostalCodeBytes()
Postal code.java.lang.String
getProvinceCode()
Province or state code.com.google.protobuf.ByteString
getProvinceCodeBytes()
Province or state code.java.lang.String
getProvinceName()
Province or state name.com.google.protobuf.ByteString
getProvinceNameBytes()
Province or state name.int
getSerializedSize()
java.lang.String
getStreetAddress()
Street address line 1.java.lang.String
getStreetAddress2()
Street address line 2.com.google.protobuf.ByteString
getStreetAddress2Bytes()
Street address line 2.com.google.protobuf.ByteString
getStreetAddressBytes()
Street address line 1.boolean
hasCityName()
Name of the city.boolean
hasCountryCode()
Country code.int
hashCode()
boolean
hasPostalCode()
Postal code.boolean
hasProvinceCode()
Province or state code.boolean
hasProvinceName()
Province or state name.boolean
hasStreetAddress()
Street address line 1.boolean
hasStreetAddress2()
Street address line 2.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static AddressInfo.Builder
newBuilder()
static AddressInfo.Builder
newBuilder(AddressInfo prototype)
AddressInfo.Builder
newBuilderForType()
protected AddressInfo.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static AddressInfo
parseDelimitedFrom(java.io.InputStream input)
static AddressInfo
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AddressInfo
parseFrom(byte[] data)
static AddressInfo
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AddressInfo
parseFrom(com.google.protobuf.ByteString data)
static AddressInfo
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AddressInfo
parseFrom(com.google.protobuf.CodedInputStream input)
static AddressInfo
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AddressInfo
parseFrom(java.io.InputStream input)
static AddressInfo
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AddressInfo
parseFrom(java.nio.ByteBuffer data)
static AddressInfo
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<AddressInfo>
parser()
AddressInfo.Builder
toBuilder()
void
writeTo(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, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, 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:
newInstance
in classcom.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 classcom.google.protobuf.GeneratedMessageV3
-
hasPostalCode
public boolean hasPostalCode()
Postal code.
optional string postal_code = 8;
- Specified by:
hasPostalCode
in interfaceAddressInfoOrBuilder
- Returns:
- Whether the postalCode field is set.
-
getPostalCode
public java.lang.String getPostalCode()
Postal code.
optional string postal_code = 8;
- Specified by:
getPostalCode
in interfaceAddressInfoOrBuilder
- Returns:
- The postalCode.
-
getPostalCodeBytes
public com.google.protobuf.ByteString getPostalCodeBytes()
Postal code.
optional string postal_code = 8;
- Specified by:
getPostalCodeBytes
in interfaceAddressInfoOrBuilder
- Returns:
- The bytes for postalCode.
-
hasProvinceCode
public boolean hasProvinceCode()
Province or state code.
optional string province_code = 9;
- Specified by:
hasProvinceCode
in 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:
getProvinceCode
in interfaceAddressInfoOrBuilder
- Returns:
- The provinceCode.
-
getProvinceCodeBytes
public com.google.protobuf.ByteString getProvinceCodeBytes()
Province or state code.
optional string province_code = 9;
- Specified by:
getProvinceCodeBytes
in interfaceAddressInfoOrBuilder
- Returns:
- The bytes for provinceCode.
-
hasCountryCode
public boolean hasCountryCode()
Country code.
optional string country_code = 10;
- Specified by:
hasCountryCode
in interfaceAddressInfoOrBuilder
- Returns:
- Whether the countryCode field is set.
-
getCountryCode
public java.lang.String getCountryCode()
Country code.
optional string country_code = 10;
- Specified by:
getCountryCode
in interfaceAddressInfoOrBuilder
- Returns:
- The countryCode.
-
getCountryCodeBytes
public com.google.protobuf.ByteString getCountryCodeBytes()
Country code.
optional string country_code = 10;
- Specified by:
getCountryCodeBytes
in interfaceAddressInfoOrBuilder
- Returns:
- The bytes for countryCode.
-
hasProvinceName
public boolean hasProvinceName()
Province or state name.
optional string province_name = 11;
- Specified by:
hasProvinceName
in 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:
getProvinceName
in interfaceAddressInfoOrBuilder
- Returns:
- The provinceName.
-
getProvinceNameBytes
public com.google.protobuf.ByteString getProvinceNameBytes()
Province or state name.
optional string province_name = 11;
- Specified by:
getProvinceNameBytes
in interfaceAddressInfoOrBuilder
- Returns:
- The bytes for provinceName.
-
hasStreetAddress
public boolean hasStreetAddress()
Street address line 1.
optional string street_address = 12;
- Specified by:
hasStreetAddress
in 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:
getStreetAddress
in interfaceAddressInfoOrBuilder
- Returns:
- The streetAddress.
-
getStreetAddressBytes
public com.google.protobuf.ByteString getStreetAddressBytes()
Street address line 1.
optional string street_address = 12;
- Specified by:
getStreetAddressBytes
in 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:
hasStreetAddress2
in 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:
getStreetAddress2
in 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:
getStreetAddress2Bytes
in interfaceAddressInfoOrBuilder
- Returns:
- The bytes for streetAddress2.
-
hasCityName
public boolean hasCityName()
Name of the city.
optional string city_name = 14;
- Specified by:
hasCityName
in 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:
getCityName
in interfaceAddressInfoOrBuilder
- Returns:
- The cityName.
-
getCityNameBytes
public com.google.protobuf.ByteString getCityNameBytes()
Name of the city.
optional string city_name = 14;
- Specified by:
getCityNameBytes
in interfaceAddressInfoOrBuilder
- Returns:
- The bytes for cityName.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AddressInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AddressInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-