# Interface EventDimensionsOrBuilder (0.16.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.16.0 (latest)](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.firebase.analytics.v1.EventDimensionsOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.firebase.analytics.v1.EventDimensionsOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.firebase.analytics.v1.EventDimensionsOrBuilder)

    public interface EventDimensionsOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### containsParams(String key)

    public abstract boolean containsParams(String key)

A repeated record of the parameters associated with this event.

`map<string, .google.events.firebase.analytics.v1.AnalyticsValue> params = 2;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getDate()

    public abstract String getDate()

The date on which this event was logged.
(YYYYMMDD format in the registered timezone of your app.)

`string date = 6;`

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

### getDateBytes()

    public abstract ByteString getDateBytes()

The date on which this event was logged.
(YYYYMMDD format in the registered timezone of your app.)

`string date = 6;`

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

### getName()

    public abstract String getName()

The name of this event.

`string name = 1;`

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

### getNameBytes()

    public abstract ByteString getNameBytes()

The name of this event.

`string name = 1;`

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

### getParams()

    public abstract Map<String,AnalyticsValue> getParams()

Use [#getParamsMap()](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.firebase.analytics.v1.EventDimensionsOrBuilder#com_google_events_firebase_analytics_v1_EventDimensionsOrBuilder_getParamsMap__) instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.firebase.analytics.v1.AnalyticsValue>` |   |

### getParamsCount()

    public abstract int getParamsCount()

A repeated record of the parameters associated with this event.

`map<string, .google.events.firebase.analytics.v1.AnalyticsValue> params = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getParamsMap()

    public abstract Map<String,AnalyticsValue> getParamsMap()

A repeated record of the parameters associated with this event.

`map<string, .google.events.firebase.analytics.v1.AnalyticsValue> params = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.firebase.analytics.v1.AnalyticsValue>` |   |

### getParamsOrDefault(String key, AnalyticsValue defaultValue)

    public abstract AnalyticsValue getParamsOrDefault(String key, AnalyticsValue defaultValue)

A repeated record of the parameters associated with this event.

`map<string, .google.events.firebase.analytics.v1.AnalyticsValue> params = 2;`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |
| `defaultValue` | `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.firebase.analytics.v1.AnalyticsValue` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.firebase.analytics.v1.AnalyticsValue` |   |

### getParamsOrThrow(String key)

    public abstract AnalyticsValue getParamsOrThrow(String key)

A repeated record of the parameters associated with this event.

`map<string, .google.events.firebase.analytics.v1.AnalyticsValue> params = 2;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.firebase.analytics.v1.AnalyticsValue` |   |

### getPreviousTimestampMicros()

    public abstract long getPreviousTimestampMicros()

UTC client time when the previous event happened.

`int64 previous_timestamp_micros = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The previousTimestampMicros. |

### getTimestampMicros()

    public abstract long getTimestampMicros()

UTC client time when the event happened.

`int64 timestamp_micros = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The timestampMicros. |

### getValueInUsd()

    public abstract double getValueInUsd()

Value param in USD.

`double value_in_usd = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The valueInUsd. |