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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    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

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Name of the city.
    com.google.protobuf.ByteString
    Name of the city.
    Country code.
    com.google.protobuf.ByteString
    Country code.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Parser<AddressInfo>
     
    Postal code.
    com.google.protobuf.ByteString
    Postal code.
    Province or state code.
    com.google.protobuf.ByteString
    Province or state code.
    Province or state name.
    com.google.protobuf.ByteString
    Province or state name.
    int
     
    Street address line 1.
    Street address line 2.
    com.google.protobuf.ByteString
    Street address line 2.
    com.google.protobuf.ByteString
    Street address line 1.
    boolean
    Name of the city.
    boolean
    Country code.
    int
     
    boolean
    Postal code.
    boolean
    Province or state code.
    boolean
    Province or state name.
    boolean
    Street address line 1.
    boolean
    Street address line 2.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<AddressInfo>
     
     
    void
    writeTo(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, 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

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods 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

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.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 class com.google.protobuf.GeneratedMessageV3
    • hasPostalCode

      public boolean hasPostalCode()
       Postal code.
       
      optional string postal_code = 8;
      Specified by:
      hasPostalCode in interface AddressInfoOrBuilder
      Returns:
      Whether the postalCode field is set.
    • getPostalCode

      public String getPostalCode()
       Postal code.
       
      optional string postal_code = 8;
      Specified by:
      getPostalCode in interface AddressInfoOrBuilder
      Returns:
      The postalCode.
    • getPostalCodeBytes

      public com.google.protobuf.ByteString getPostalCodeBytes()
       Postal code.
       
      optional string postal_code = 8;
      Specified by:
      getPostalCodeBytes in interface AddressInfoOrBuilder
      Returns:
      The bytes for postalCode.
    • hasProvinceCode

      public boolean hasProvinceCode()
       Province or state code.
       
      optional string province_code = 9;
      Specified by:
      hasProvinceCode in interface AddressInfoOrBuilder
      Returns:
      Whether the provinceCode field is set.
    • getProvinceCode

      public String getProvinceCode()
       Province or state code.
       
      optional string province_code = 9;
      Specified by:
      getProvinceCode in interface AddressInfoOrBuilder
      Returns:
      The provinceCode.
    • getProvinceCodeBytes

      public com.google.protobuf.ByteString getProvinceCodeBytes()
       Province or state code.
       
      optional string province_code = 9;
      Specified by:
      getProvinceCodeBytes in interface AddressInfoOrBuilder
      Returns:
      The bytes for provinceCode.
    • hasCountryCode

      public boolean hasCountryCode()
       Country code.
       
      optional string country_code = 10;
      Specified by:
      hasCountryCode in interface AddressInfoOrBuilder
      Returns:
      Whether the countryCode field is set.
    • getCountryCode

      public String getCountryCode()
       Country code.
       
      optional string country_code = 10;
      Specified by:
      getCountryCode in interface AddressInfoOrBuilder
      Returns:
      The countryCode.
    • getCountryCodeBytes

      public com.google.protobuf.ByteString getCountryCodeBytes()
       Country code.
       
      optional string country_code = 10;
      Specified by:
      getCountryCodeBytes in interface AddressInfoOrBuilder
      Returns:
      The bytes for countryCode.
    • hasProvinceName

      public boolean hasProvinceName()
       Province or state name.
       
      optional string province_name = 11;
      Specified by:
      hasProvinceName in interface AddressInfoOrBuilder
      Returns:
      Whether the provinceName field is set.
    • getProvinceName

      public String getProvinceName()
       Province or state name.
       
      optional string province_name = 11;
      Specified by:
      getProvinceName in interface AddressInfoOrBuilder
      Returns:
      The provinceName.
    • getProvinceNameBytes

      public com.google.protobuf.ByteString getProvinceNameBytes()
       Province or state name.
       
      optional string province_name = 11;
      Specified by:
      getProvinceNameBytes in interface AddressInfoOrBuilder
      Returns:
      The bytes for provinceName.
    • hasStreetAddress

      public boolean hasStreetAddress()
       Street address line 1.
       
      optional string street_address = 12;
      Specified by:
      hasStreetAddress in interface AddressInfoOrBuilder
      Returns:
      Whether the streetAddress field is set.
    • getStreetAddress

      public String getStreetAddress()
       Street address line 1.
       
      optional string street_address = 12;
      Specified by:
      getStreetAddress in interface AddressInfoOrBuilder
      Returns:
      The streetAddress.
    • getStreetAddressBytes

      public com.google.protobuf.ByteString getStreetAddressBytes()
       Street address line 1.
       
      optional string street_address = 12;
      Specified by:
      getStreetAddressBytes in interface AddressInfoOrBuilder
      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 interface AddressInfoOrBuilder
      Returns:
      Whether the streetAddress2 field is set.
    • getStreetAddress2

      public 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 interface AddressInfoOrBuilder
      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 interface AddressInfoOrBuilder
      Returns:
      The bytes for streetAddress2.
    • hasCityName

      public boolean hasCityName()
       Name of the city.
       
      optional string city_name = 14;
      Specified by:
      hasCityName in interface AddressInfoOrBuilder
      Returns:
      Whether the cityName field is set.
    • getCityName

      public String getCityName()
       Name of the city.
       
      optional string city_name = 14;
      Specified by:
      getCityName in interface AddressInfoOrBuilder
      Returns:
      The cityName.
    • getCityNameBytes

      public com.google.protobuf.ByteString getCityNameBytes()
       Name of the city.
       
      optional string city_name = 14;
      Specified by:
      getCityNameBytes in interface AddressInfoOrBuilder
      Returns:
      The bytes for cityName.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static AddressInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AddressInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AddressInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AddressInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AddressInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AddressInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public AddressInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.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 interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AddressInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.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 interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public AddressInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder