# GenerateTypedContentResponse


```
public final class GenerateTypedContentResponse<T extends Object>
```

<br />

*** ** * ** ***

Represents a typed response from the model.

## Summary

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull.html https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull.html https://developers.google.com/android/reference/com/google/mlkit/genai/prompt/TypedCandidate<@https://developer.android.com/reference/androidx/annotation/NonNull.html T>>` | `https://developers.google.com/android/reference/com/google/mlkit/genai/prompt/GenerateTypedContentResponse#getCandidates()()` a non-empty list of possible responses generated from the model |

## Public methods

### getCandidates

```
public final @NonNull List<@NonNull TypedCandidate<@NonNull T>> getCandidates()
```

a non-empty list of possible responses generated from the model