Class OfflineUserAddressInfo

  • All Implemented Interfaces:
    OfflineUserAddressInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable

    public final class OfflineUserAddressInfo
    extends com.google.protobuf.GeneratedMessageV3
    implements OfflineUserAddressInfoOrBuilder
     Address identifier of offline data.
     
    Protobuf type google.ads.googleads.v10.common.OfflineUserAddressInfo
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  OfflineUserAddressInfo.Builder
      Address identifier of offline data.
      • 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
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getCity()
      City of the address.
      com.google.protobuf.ByteString getCityBytes()
      City of the address.
      java.lang.String getCountryCode()
      2-letter country code in ISO-3166-1 alpha-2 of the user's address.
      com.google.protobuf.ByteString getCountryCodeBytes()
      2-letter country code in ISO-3166-1 alpha-2 of the user's address.
      static OfflineUserAddressInfo getDefaultInstance()  
      OfflineUserAddressInfo getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      java.lang.String getHashedFirstName()
      First name of the user, which is hashed as SHA-256 after normalized (Lowercase all characters; Remove any extra spaces before, after, and in between).
      com.google.protobuf.ByteString getHashedFirstNameBytes()
      First name of the user, which is hashed as SHA-256 after normalized (Lowercase all characters; Remove any extra spaces before, after, and in between).
      java.lang.String getHashedLastName()
      Last name of the user, which is hashed as SHA-256 after normalized (lower case only and no punctuation).
      com.google.protobuf.ByteString getHashedLastNameBytes()
      Last name of the user, which is hashed as SHA-256 after normalized (lower case only and no punctuation).
      java.lang.String getHashedStreetAddress()
      The street address of the user hashed using SHA-256 hash function after normalization (lower case only).
      com.google.protobuf.ByteString getHashedStreetAddressBytes()
      The street address of the user hashed using SHA-256 hash function after normalization (lower case only).
      com.google.protobuf.Parser<OfflineUserAddressInfo> getParserForType()  
      java.lang.String getPostalCode()
      Postal code of the user's address.
      com.google.protobuf.ByteString getPostalCodeBytes()
      Postal code of the user's address.
      int getSerializedSize()  
      java.lang.String getState()
      State code of the address.
      com.google.protobuf.ByteString getStateBytes()
      State code of the address.
      com.google.protobuf.UnknownFieldSet getUnknownFields()  
      boolean hasCity()
      City of the address.
      boolean hasCountryCode()
      2-letter country code in ISO-3166-1 alpha-2 of the user's address.
      boolean hasHashedFirstName()
      First name of the user, which is hashed as SHA-256 after normalized (Lowercase all characters; Remove any extra spaces before, after, and in between).
      boolean hasHashedLastName()
      Last name of the user, which is hashed as SHA-256 after normalized (lower case only and no punctuation).
      boolean hasHashedStreetAddress()
      The street address of the user hashed using SHA-256 hash function after normalization (lower case only).
      int hashCode()  
      boolean hasPostalCode()
      Postal code of the user's address.
      boolean hasState()
      State code of the address.
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      static OfflineUserAddressInfo.Builder newBuilder()  
      static OfflineUserAddressInfo.Builder newBuilder​(OfflineUserAddressInfo prototype)  
      OfflineUserAddressInfo.Builder newBuilderForType()  
      protected OfflineUserAddressInfo.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)  
      protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)  
      static OfflineUserAddressInfo parseDelimitedFrom​(java.io.InputStream input)  
      static OfflineUserAddressInfo parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static OfflineUserAddressInfo parseFrom​(byte[] data)  
      static OfflineUserAddressInfo parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static OfflineUserAddressInfo parseFrom​(com.google.protobuf.ByteString data)  
      static OfflineUserAddressInfo parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static OfflineUserAddressInfo parseFrom​(com.google.protobuf.CodedInputStream input)  
      static OfflineUserAddressInfo parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static OfflineUserAddressInfo parseFrom​(java.io.InputStream input)  
      static OfflineUserAddressInfo parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static OfflineUserAddressInfo parseFrom​(java.nio.ByteBuffer data)  
      static OfflineUserAddressInfo parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<OfflineUserAddressInfo> parser()  
      OfflineUserAddressInfo.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, 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
      • 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, hasField, hasOneof
    • Field Detail

      • HASHED_FIRST_NAME_FIELD_NUMBER

        public static final int HASHED_FIRST_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HASHED_LAST_NAME_FIELD_NUMBER

        public static final int HASHED_LAST_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • COUNTRY_CODE_FIELD_NUMBER

        public static final int COUNTRY_CODE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • POSTAL_CODE_FIELD_NUMBER

        public static final int POSTAL_CODE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HASHED_STREET_ADDRESS_FIELD_NUMBER

        public static final int HASHED_STREET_ADDRESS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields 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
      • hasHashedFirstName

        public boolean hasHashedFirstName()
         First name of the user, which is hashed as SHA-256 after normalized
         (Lowercase all characters; Remove any extra spaces before, after, and in
         between).
         
        optional string hashed_first_name = 7;
        Specified by:
        hasHashedFirstName in interface OfflineUserAddressInfoOrBuilder
        Returns:
        Whether the hashedFirstName field is set.
      • getHashedFirstName

        public java.lang.String getHashedFirstName()
         First name of the user, which is hashed as SHA-256 after normalized
         (Lowercase all characters; Remove any extra spaces before, after, and in
         between).
         
        optional string hashed_first_name = 7;
        Specified by:
        getHashedFirstName in interface OfflineUserAddressInfoOrBuilder
        Returns:
        The hashedFirstName.
      • getHashedFirstNameBytes

        public com.google.protobuf.ByteString getHashedFirstNameBytes()
         First name of the user, which is hashed as SHA-256 after normalized
         (Lowercase all characters; Remove any extra spaces before, after, and in
         between).
         
        optional string hashed_first_name = 7;
        Specified by:
        getHashedFirstNameBytes in interface OfflineUserAddressInfoOrBuilder
        Returns:
        The bytes for hashedFirstName.
      • hasHashedLastName

        public boolean hasHashedLastName()
         Last name of the user, which is hashed as SHA-256 after normalized (lower
         case only and no punctuation).
         
        optional string hashed_last_name = 8;
        Specified by:
        hasHashedLastName in interface OfflineUserAddressInfoOrBuilder
        Returns:
        Whether the hashedLastName field is set.
      • getHashedLastName

        public java.lang.String getHashedLastName()
         Last name of the user, which is hashed as SHA-256 after normalized (lower
         case only and no punctuation).
         
        optional string hashed_last_name = 8;
        Specified by:
        getHashedLastName in interface OfflineUserAddressInfoOrBuilder
        Returns:
        The hashedLastName.
      • getHashedLastNameBytes

        public com.google.protobuf.ByteString getHashedLastNameBytes()
         Last name of the user, which is hashed as SHA-256 after normalized (lower
         case only and no punctuation).
         
        optional string hashed_last_name = 8;
        Specified by:
        getHashedLastNameBytes in interface OfflineUserAddressInfoOrBuilder
        Returns:
        The bytes for hashedLastName.
      • hasCity

        public boolean hasCity()
         City of the address. Only accepted for Store Sales and
         ConversionAdjustmentUploadService.
         
        optional string city = 9;
        Specified by:
        hasCity in interface OfflineUserAddressInfoOrBuilder
        Returns:
        Whether the city field is set.
      • getCity

        public java.lang.String getCity()
         City of the address. Only accepted for Store Sales and
         ConversionAdjustmentUploadService.
         
        optional string city = 9;
        Specified by:
        getCity in interface OfflineUserAddressInfoOrBuilder
        Returns:
        The city.
      • getCityBytes

        public com.google.protobuf.ByteString getCityBytes()
         City of the address. Only accepted for Store Sales and
         ConversionAdjustmentUploadService.
         
        optional string city = 9;
        Specified by:
        getCityBytes in interface OfflineUserAddressInfoOrBuilder
        Returns:
        The bytes for city.
      • hasState

        public boolean hasState()
         State code of the address. Only accepted for Store Sales and
         ConversionAdjustmentUploadService.
         
        optional string state = 10;
        Specified by:
        hasState in interface OfflineUserAddressInfoOrBuilder
        Returns:
        Whether the state field is set.
      • getState

        public java.lang.String getState()
         State code of the address. Only accepted for Store Sales and
         ConversionAdjustmentUploadService.
         
        optional string state = 10;
        Specified by:
        getState in interface OfflineUserAddressInfoOrBuilder
        Returns:
        The state.
      • getStateBytes

        public com.google.protobuf.ByteString getStateBytes()
         State code of the address. Only accepted for Store Sales and
         ConversionAdjustmentUploadService.
         
        optional string state = 10;
        Specified by:
        getStateBytes in interface OfflineUserAddressInfoOrBuilder
        Returns:
        The bytes for state.
      • hasCountryCode

        public boolean hasCountryCode()
         2-letter country code in ISO-3166-1 alpha-2 of the user's address.
         
        optional string country_code = 11;
        Specified by:
        hasCountryCode in interface OfflineUserAddressInfoOrBuilder
        Returns:
        Whether the countryCode field is set.
      • getCountryCode

        public java.lang.String getCountryCode()
         2-letter country code in ISO-3166-1 alpha-2 of the user's address.
         
        optional string country_code = 11;
        Specified by:
        getCountryCode in interface OfflineUserAddressInfoOrBuilder
        Returns:
        The countryCode.
      • getCountryCodeBytes

        public com.google.protobuf.ByteString getCountryCodeBytes()
         2-letter country code in ISO-3166-1 alpha-2 of the user's address.
         
        optional string country_code = 11;
        Specified by:
        getCountryCodeBytes in interface OfflineUserAddressInfoOrBuilder
        Returns:
        The bytes for countryCode.
      • hasPostalCode

        public boolean hasPostalCode()
         Postal code of the user's address.
         
        optional string postal_code = 12;
        Specified by:
        hasPostalCode in interface OfflineUserAddressInfoOrBuilder
        Returns:
        Whether the postalCode field is set.
      • getPostalCode

        public java.lang.String getPostalCode()
         Postal code of the user's address.
         
        optional string postal_code = 12;
        Specified by:
        getPostalCode in interface OfflineUserAddressInfoOrBuilder
        Returns:
        The postalCode.
      • getPostalCodeBytes

        public com.google.protobuf.ByteString getPostalCodeBytes()
         Postal code of the user's address.
         
        optional string postal_code = 12;
        Specified by:
        getPostalCodeBytes in interface OfflineUserAddressInfoOrBuilder
        Returns:
        The bytes for postalCode.
      • hasHashedStreetAddress

        public boolean hasHashedStreetAddress()
         The street address of the user hashed using SHA-256 hash function after
         normalization (lower case only). Only accepted for
         ConversionAdjustmentUploadService.
         
        optional string hashed_street_address = 13;
        Specified by:
        hasHashedStreetAddress in interface OfflineUserAddressInfoOrBuilder
        Returns:
        Whether the hashedStreetAddress field is set.
      • getHashedStreetAddress

        public java.lang.String getHashedStreetAddress()
         The street address of the user hashed using SHA-256 hash function after
         normalization (lower case only). Only accepted for
         ConversionAdjustmentUploadService.
         
        optional string hashed_street_address = 13;
        Specified by:
        getHashedStreetAddress in interface OfflineUserAddressInfoOrBuilder
        Returns:
        The hashedStreetAddress.
      • getHashedStreetAddressBytes

        public com.google.protobuf.ByteString getHashedStreetAddressBytes()
         The street address of the user hashed using SHA-256 hash function after
         normalization (lower case only). Only accepted for
         ConversionAdjustmentUploadService.
         
        optional string hashed_street_address = 13;
        Specified by:
        getHashedStreetAddressBytes in interface OfflineUserAddressInfoOrBuilder
        Returns:
        The bytes for hashedStreetAddress.
      • 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 java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.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​(java.lang.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 OfflineUserAddressInfo parseFrom​(java.nio.ByteBuffer data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OfflineUserAddressInfo parseFrom​(java.nio.ByteBuffer data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OfflineUserAddressInfo parseFrom​(com.google.protobuf.ByteString data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OfflineUserAddressInfo parseFrom​(com.google.protobuf.ByteString data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OfflineUserAddressInfo parseFrom​(byte[] data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OfflineUserAddressInfo parseFrom​(byte[] data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OfflineUserAddressInfo parseFrom​(java.io.InputStream input)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

        public static OfflineUserAddressInfo parseDelimitedFrom​(java.io.InputStream input)
                                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

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

        public static OfflineUserAddressInfo parseFrom​(com.google.protobuf.CodedInputStream input)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

        public OfflineUserAddressInfo.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public OfflineUserAddressInfo.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected OfflineUserAddressInfo.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<OfflineUserAddressInfo> 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 OfflineUserAddressInfo getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder