# Content.Role


```
@IntDef(value = [0, 1])
public annotation Content.Role
```

<br />

*** ** * ** ***

Role associated with `https://developers.google.com/android/reference/com/google/mlkit/genai/prompt/Content`

## Summary

| ### Constants |
|---|---|
| `static final int` | `https://developers.google.com/android/reference/com/google/mlkit/genai/prompt/Content.Role#MODEL()` Message is associated with LLM model output. |
| `static final int` | `https://developers.google.com/android/reference/com/google/mlkit/genai/prompt/Content.Role#USER()` Message is associated with user input. |

| ### Public constructors |
|---|
| `https://developers.google.com/android/reference/com/google/mlkit/genai/prompt/Content.Role#Role()()` |

## Constants

### MODEL

```
public static final int MODEL
```

Message is associated with LLM model output.

### USER

```
public static final int USER
```

Message is associated with user input.

## Public constructors

### Role

```
public Role()
```