Required. The language of the input. SeeLanguage Supportfor a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.
Required. The language of the input. SeeLanguage
Supportfor a list of the currently supported language codes. Note that queries in
the same session do not necessarily need to specify the same language.
Returns
Type
Description
string
setLanguageCode
Required. The language of the input. SeeLanguage
Supportfor a list of the currently supported language codes. Note that queries in
the same session do not necessarily need to specify the same language.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dialogflow Cx V3 Client - Class QueryInput (0.8.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.1 (latest)](/php/docs/reference/cloud-dialogflow-cx/latest/V3.QueryInput)\n- [0.8.0](/php/docs/reference/cloud-dialogflow-cx/0.8.0/V3.QueryInput)\n- [0.7.2](/php/docs/reference/cloud-dialogflow-cx/0.7.2/V3.QueryInput)\n- [0.6.0](/php/docs/reference/cloud-dialogflow-cx/0.6.0/V3.QueryInput)\n- [0.5.2](/php/docs/reference/cloud-dialogflow-cx/0.5.2/V3.QueryInput)\n- [0.4.1](/php/docs/reference/cloud-dialogflow-cx/0.4.1/V3.QueryInput)\n- [0.3.4](/php/docs/reference/cloud-dialogflow-cx/0.3.4/V3.QueryInput)\n- [0.2.1](/php/docs/reference/cloud-dialogflow-cx/0.2.1/V3.QueryInput)\n- [0.1.1](/php/docs/reference/cloud-dialogflow-cx/0.1.1/V3.QueryInput) \nReference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class QueryInput.\n\nRepresents the query input. It can contain one of:\n\n1. A conversational query in the form of text.\n\n2. An intent query that specifies which intent to trigger.\n\n3. Natural language speech audio to be processed.\n4. An event to be triggered.\n5. DTMF digits to invoke an intent and fill in parameter value.\n6. The results of a tool executed by the client.\n\nGenerated from protobuf message `google.cloud.dialogflow.cx.v3.QueryInput`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dialogflow \\\\ Cx \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getText\n\nThe natural language text to be processed.\n\n### hasText\n\n### setText\n\nThe natural language text to be processed.\n\n### getIntent\n\nThe intent to be triggered.\n\n### hasIntent\n\n### setIntent\n\nThe intent to be triggered.\n\n### getAudio\n\nThe natural language speech audio to be processed.\n\n### hasAudio\n\n### setAudio\n\nThe natural language speech audio to be processed.\n\n### getEvent\n\nThe event to be triggered.\n\n### hasEvent\n\n### setEvent\n\nThe event to be triggered.\n\n### getDtmf\n\nThe DTMF event to be handled.\n\n### hasDtmf\n\n### setDtmf\n\nThe DTMF event to be handled.\n\n### getLanguageCode\n\nRequired. The language of the input. See [Language\nSupport](https://cloud.google.com/dialogflow/cx/docs/reference/language)\nfor a list of the currently supported language codes. Note that queries in\nthe same session do not necessarily need to specify the same language.\n\n### setLanguageCode\n\nRequired. The language of the input. See [Language\nSupport](https://cloud.google.com/dialogflow/cx/docs/reference/language)\nfor a list of the currently supported language codes. Note that queries in\nthe same session do not necessarily need to specify the same language.\n\n### getInput"]]