Class UserIdentifier (0.1.0)
public final class UserIdentifier extends GeneratedMessageV3 implements UserIdentifierOrBuilder
A single identifier for the user.
Protobuf type google.ads.datamanager.v1.UserIdentifier
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ADDRESS_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EMAIL_ADDRESS_FIELD_NUMBER
public static final int EMAIL_ADDRESS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PHONE_NUMBER_FIELD_NUMBER
public static final int PHONE_NUMBER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static UserIdentifier getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UserIdentifier.Builder newBuilder()
newBuilder(UserIdentifier prototype)
public static UserIdentifier.Builder newBuilder(UserIdentifier prototype)
public static UserIdentifier parseDelimitedFrom(InputStream input)
public static UserIdentifier parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UserIdentifier parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UserIdentifier parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UserIdentifier parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UserIdentifier parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UserIdentifier parseFrom(CodedInputStream input)
public static UserIdentifier parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UserIdentifier parseFrom(InputStream input)
public static UserIdentifier parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UserIdentifier parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UserIdentifier parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UserIdentifier> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAddress()
public AddressInfo getAddress()
The known components of a user's address. Holds a grouping
of identifiers that are matched all at once.
.google.ads.datamanager.v1.AddressInfo address = 3;
getAddressOrBuilder()
public AddressInfoOrBuilder getAddressOrBuilder()
The known components of a user's address. Holds a grouping
of identifiers that are matched all at once.
.google.ads.datamanager.v1.AddressInfo address = 3;
getDefaultInstanceForType()
public UserIdentifier getDefaultInstanceForType()
getEmailAddress()
public String getEmailAddress()
Hashed email address using SHA-256 hash function after normalization.
string email_address = 1;
| Returns |
| Type |
Description |
String |
The emailAddress.
|
getEmailAddressBytes()
public ByteString getEmailAddressBytes()
Hashed email address using SHA-256 hash function after normalization.
string email_address = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for emailAddress.
|
getIdentifierCase()
public UserIdentifier.IdentifierCase getIdentifierCase()
getParserForType()
public Parser<UserIdentifier> getParserForType()
Overrides
getPhoneNumber()
public String getPhoneNumber()
Hashed phone number using SHA-256 hash function after normalization (E164
standard).
string phone_number = 2;
| Returns |
| Type |
Description |
String |
The phoneNumber.
|
getPhoneNumberBytes()
public ByteString getPhoneNumberBytes()
Hashed phone number using SHA-256 hash function after normalization (E164
standard).
string phone_number = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for phoneNumber.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasAddress()
public boolean hasAddress()
The known components of a user's address. Holds a grouping
of identifiers that are matched all at once.
.google.ads.datamanager.v1.AddressInfo address = 3;
| Returns |
| Type |
Description |
boolean |
Whether the address field is set.
|
hasEmailAddress()
public boolean hasEmailAddress()
Hashed email address using SHA-256 hash function after normalization.
string email_address = 1;
| Returns |
| Type |
Description |
boolean |
Whether the emailAddress field is set.
|
hasPhoneNumber()
public boolean hasPhoneNumber()
Hashed phone number using SHA-256 hash function after normalization (E164
standard).
string phone_number = 2;
| Returns |
| Type |
Description |
boolean |
Whether the phoneNumber field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UserIdentifier.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UserIdentifier.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
toBuilder()
public UserIdentifier.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-11-19 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-11-19 UTC."],[],[]]