- [JSON representation](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/TextInput#SCHEMA_REPRESENTATION)

Auxiliary proto messages.

Represents the natural language text to be processed.

| JSON representation |
|---|
| ``` { "text": string, "languageCode": string } ``` |

| Fields ||
|---|---|
| `text` | `string` Optional. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters for virtual agent interactions. Only one of `text` and `companionQuery` should be set - not both. |
| `languageCode` | `string` Required. The language of this conversational query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language. |