# Interface AppInfoOrBuilder (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.AppInfoOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.firebase.analytics.v1.AppInfoOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.firebase.analytics.v1.AppInfoOrBuilder)

    public interface AppInfoOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getAppId()

    public abstract String getAppId()

Unique application identifier within an app store.

`string app_id = 5;`

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

### getAppIdBytes()

    public abstract ByteString getAppIdBytes()

Unique application identifier within an app store.

`string app_id = 5;`

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

### getAppInstanceId()

    public abstract String getAppInstanceId()

Unique id for this instance of the app.
Example: "71683BF9FA3B4B0D9535A1F05188BAF3"

`string app_instance_id = 2;`

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

### getAppInstanceIdBytes()

    public abstract ByteString getAppInstanceIdBytes()

Unique id for this instance of the app.
Example: "71683BF9FA3B4B0D9535A1F05188BAF3"

`string app_instance_id = 2;`

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

### getAppPlatform()

    public abstract String getAppPlatform()

The app platform.
Eg "ANDROID", "IOS".

`string app_platform = 4;`

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

### getAppPlatformBytes()

    public abstract ByteString getAppPlatformBytes()

The app platform.
Eg "ANDROID", "IOS".

`string app_platform = 4;`

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

### getAppStore()

    public abstract String getAppStore()

The identifier of the store that installed the app.
Eg. "com.sec.android.app.samsungapps", "com.amazon.venezia",
"com.nokia.nstore"

`string app_store = 3;`

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

### getAppStoreBytes()

    public abstract ByteString getAppStoreBytes()

The identifier of the store that installed the app.
Eg. "com.sec.android.app.samsungapps", "com.amazon.venezia",
"com.nokia.nstore"

`string app_store = 3;`

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

### getAppVersion()

    public abstract String getAppVersion()

The app's version name
Examples: "1.0", "4.3.1.1.213361", "2.3 (1824253)", "v1.8b22p6"

`string app_version = 1;`

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

### getAppVersionBytes()

    public abstract ByteString getAppVersionBytes()

The app's version name
Examples: "1.0", "4.3.1.1.213361", "2.3 (1824253)", "v1.8b22p6"

`string app_version = 1;`

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