# GenerateContentResponse


```
public final class GenerateContentResponse
```

<br />

*** ** * ** ***

Represents a 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/Candidate>` | `https://developers.google.com/android/reference/com/google/mlkit/genai/prompt/GenerateContentResponse#getCandidates()()` a non-empty list of possible responses generated from the model |
| `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/Candidate>` | `https://developers.google.com/android/reference/com/google/mlkit/genai/prompt/GenerateContentResponse#getThoughtProcess()()` |

## Public methods

### getCandidates

```
public final @NonNull List<@NonNull Candidate> getCandidates()
```

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

### getThoughtProcess

```
public final @NonNull List<@NonNull Candidate> getThoughtProcess()
```