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

## Implements

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

## Methods

### getCity()

    public abstract String getCity()

Optional. The name of the city where the event occurred.

`string city = 2 [(.google.api.field_behavior) = OPTIONAL];`

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

### getCityBytes()

    public abstract ByteString getCityBytes()

Optional. The name of the city where the event occurred.

`string city = 2 [(.google.api.field_behavior) = OPTIONAL];`

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

### getContinentCode()

    public abstract String getContinentCode()

Optional. The continent code in UN M49 format where the event occurred.

`string continent_code = 6 [(.google.api.field_behavior) = OPTIONAL];`

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

### getContinentCodeBytes()

    public abstract ByteString getContinentCodeBytes()

Optional. The continent code in UN M49 format where the event occurred.

`string continent_code = 6 [(.google.api.field_behavior) = OPTIONAL];`

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

### getRegionCode()

    public abstract String getRegionCode()

Optional. The 2-letter CLDR region code of the user's address.

`string region_code = 4 [(.google.api.field_behavior) = OPTIONAL];`

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

### getRegionCodeBytes()

    public abstract ByteString getRegionCodeBytes()

Optional. The 2-letter CLDR region code of the user's address.

`string region_code = 4 [(.google.api.field_behavior) = OPTIONAL];`

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

### getStoreId()

    public abstract String getStoreId()

Optional. Required for Store Sales. The identifier to represent a physical
store where the event happened.

`string store_id = 1 [(.google.api.field_behavior) = OPTIONAL];`

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

### getStoreIdBytes()

    public abstract ByteString getStoreIdBytes()

Optional. Required for Store Sales. The identifier to represent a physical
store where the event happened.

`string store_id = 1 [(.google.api.field_behavior) = OPTIONAL];`

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

### getSubcontinentCode()

    public abstract String getSubcontinentCode()

Optional. The subcontinent code in UN M49 format where the event occurred.

`string subcontinent_code = 5 [(.google.api.field_behavior) = OPTIONAL];`

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

### getSubcontinentCodeBytes()

    public abstract ByteString getSubcontinentCodeBytes()

Optional. The subcontinent code in UN M49 format where the event occurred.

`string subcontinent_code = 5 [(.google.api.field_behavior) = OPTIONAL];`

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

### getSubdivisionCode()

    public abstract String getSubdivisionCode()

Optional. The ISO 3166-2 subdivision code where the event occurred.

`string subdivision_code = 3 [(.google.api.field_behavior) = OPTIONAL];`

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

### getSubdivisionCodeBytes()

    public abstract ByteString getSubdivisionCodeBytes()

Optional. The ISO 3166-2 subdivision code where the event occurred.

`string subdivision_code = 3 [(.google.api.field_behavior) = OPTIONAL];`

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