# Interface AddressInfoOrBuilder (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 AddressInfoOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getFamilyName()

    public abstract String getFamilyName()

Required. Family (last) name of the user, all lowercase, with no
punctuation, no leading or trailing whitespace, and hashed as SHA-256.

`string family_name = 2 [(.google.api.field_behavior) = REQUIRED];`

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

### getFamilyNameBytes()

    public abstract ByteString getFamilyNameBytes()

Required. Family (last) name of the user, all lowercase, with no
punctuation, no leading or trailing whitespace, and hashed as SHA-256.

`string family_name = 2 [(.google.api.field_behavior) = REQUIRED];`

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

### getGivenName()

    public abstract String getGivenName()

Required. Given (first) name of the user, all lowercase, with no
punctuation, no leading or trailing whitespace, and hashed as SHA-256.

`string given_name = 1 [(.google.api.field_behavior) = REQUIRED];`

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

### getGivenNameBytes()

    public abstract ByteString getGivenNameBytes()

Required. Given (first) name of the user, all lowercase, with no
punctuation, no leading or trailing whitespace, and hashed as SHA-256.

`string given_name = 1 [(.google.api.field_behavior) = REQUIRED];`

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

### getPostalCode()

    public abstract String getPostalCode()

Required. The postal code of the user's address.

`string postal_code = 4 [(.google.api.field_behavior) = REQUIRED];`

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

### getPostalCodeBytes()

    public abstract ByteString getPostalCodeBytes()

Required. The postal code of the user's address.

`string postal_code = 4 [(.google.api.field_behavior) = REQUIRED];`

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

### getRegionCode()

    public abstract String getRegionCode()

Required. The 2-letter region code in ISO-3166-1 alpha-2 of the user's
address.

`string region_code = 3 [(.google.api.field_behavior) = REQUIRED];`

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

### getRegionCodeBytes()

    public abstract ByteString getRegionCodeBytes()

Required. The 2-letter region code in ISO-3166-1 alpha-2 of the user's
address.

`string region_code = 3 [(.google.api.field_behavior) = REQUIRED];`

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