public static final class UserIdentifier.Builder extends GeneratedMessageV3.Builder<UserIdentifier.Builder> implements UserIdentifierOrBuilderA single identifier for the user.
Protobuf type google.ads.datamanager.v1.UserIdentifier
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UserIdentifier.BuilderImplements
UserIdentifierOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UserIdentifier.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
|
build()
public UserIdentifier build()| Returns | |
|---|---|
| Type | Description |
UserIdentifier |
|
buildPartial()
public UserIdentifier buildPartial()| Returns | |
|---|---|
| Type | Description |
UserIdentifier |
|
clear()
public UserIdentifier.Builder clear()| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
|
clearAddress()
public UserIdentifier.Builder clearAddress()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 |
UserIdentifier.Builder |
|
clearEmailAddress()
public UserIdentifier.Builder clearEmailAddress()Hashed email address using SHA-256 hash function after normalization.
string email_address = 1;
| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public UserIdentifier.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
|
clearIdentifier()
public UserIdentifier.Builder clearIdentifier()| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public UserIdentifier.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
|
clearPhoneNumber()
public UserIdentifier.Builder clearPhoneNumber()Hashed phone number using SHA-256 hash function after normalization (E164 standard).
string phone_number = 2;
| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
This builder for chaining. |
clone()
public UserIdentifier.Builder clone()| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
AddressInfo |
The address. |
getAddressBuilder()
public AddressInfo.Builder getAddressBuilder()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 |
AddressInfo.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
AddressInfoOrBuilder |
|
getDefaultInstanceForType()
public UserIdentifier getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UserIdentifier |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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()| Returns | |
|---|---|
| Type | Description |
UserIdentifier.IdentifierCase |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAddress(AddressInfo value)
public UserIdentifier.Builder mergeAddress(AddressInfo value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
AddressInfo |
| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
|
mergeFrom(UserIdentifier other)
public UserIdentifier.Builder mergeFrom(UserIdentifier other)| Parameter | |
|---|---|
| Name | Description |
other |
UserIdentifier |
| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UserIdentifier.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UserIdentifier.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UserIdentifier.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
|
setAddress(AddressInfo value)
public UserIdentifier.Builder setAddress(AddressInfo value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
AddressInfo |
| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
|
setAddress(AddressInfo.Builder builderForValue)
public UserIdentifier.Builder setAddress(AddressInfo.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AddressInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
|
setEmailAddress(String value)
public UserIdentifier.Builder setEmailAddress(String value)Hashed email address using SHA-256 hash function after normalization.
string email_address = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe emailAddress to set. |
| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
This builder for chaining. |
setEmailAddressBytes(ByteString value)
public UserIdentifier.Builder setEmailAddressBytes(ByteString value)Hashed email address using SHA-256 hash function after normalization.
string email_address = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for emailAddress to set. |
| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public UserIdentifier.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
|
setPhoneNumber(String value)
public UserIdentifier.Builder setPhoneNumber(String value)Hashed phone number using SHA-256 hash function after normalization (E164 standard).
string phone_number = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe phoneNumber to set. |
| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
This builder for chaining. |
setPhoneNumberBytes(ByteString value)
public UserIdentifier.Builder setPhoneNumberBytes(ByteString value)Hashed phone number using SHA-256 hash function after normalization (E164 standard).
string phone_number = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for phoneNumber to set. |
| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UserIdentifier.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final UserIdentifier.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
UserIdentifier.Builder |
|