# Interface UserIdentifierOrBuilder (0.14.0)

0.14.0 (latest) 0.12.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface UserIdentifierOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getAddress()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.AddressInfo` | The address. |

### getAddressOrBuilder()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.AddressInfoOrBuilder` |   |

### getEmailAddress()

    public abstract String getEmailAddress()

Hashed email address using SHA-256 hash function after normalization.

`string email_address = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The emailAddress. |

### getEmailAddressBytes()

    public abstract ByteString getEmailAddressBytes()

Hashed email address using SHA-256 hash function after normalization.

`string email_address = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for emailAddress. |

### getIdentifierCase()

    public abstract UserIdentifier.IdentifierCase getIdentifierCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.UserIdentifier.IdentifierCase` |   |

### getPhoneNumber()

    public abstract String getPhoneNumber()

Hashed phone number using SHA-256 hash function after normalization (E164
standard).

`string phone_number = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The phoneNumber. |

### getPhoneNumberBytes()

    public abstract ByteString getPhoneNumberBytes()

Hashed phone number using SHA-256 hash function after normalization (E164
standard).

`string phone_number = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for phoneNumber. |

### hasAddress()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the address field is set. |

### hasEmailAddress()

    public abstract boolean hasEmailAddress()

Hashed email address using SHA-256 hash function after normalization.

`string email_address = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the emailAddress field is set. |

### hasPhoneNumber()

    public abstract boolean hasPhoneNumber()

Hashed phone number using SHA-256 hash function after normalization (E164
standard).

`string phone_number = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the phoneNumber field is set. |