Required. A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime.
↳ allow_playback_interruption
bool
Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
getText
Required. A collection of text response variants. If multiple variants
are defined, only one text response variant is returned at runtime.
Required. A collection of text response variants. If multiple variants
are defined, only one text response variant is returned at runtime.
Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
getAllowPlaybackInterruption
Output only. Whether the playback of this message can be interrupted by
the end user's speech and the client can then starts the next Dialogflow
request.
Returns
Type
Description
bool
setAllowPlaybackInterruption
Output only. Whether the playback of this message can be interrupted by
the end user's speech and the client can then starts the next Dialogflow
request.
[[["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 Text (0.8.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.1 (latest)](/php/docs/reference/cloud-dialogflow-cx/latest/V3.ResponseMessage.Text)\n- [0.8.0](/php/docs/reference/cloud-dialogflow-cx/0.8.0/V3.ResponseMessage.Text)\n- [0.7.2](/php/docs/reference/cloud-dialogflow-cx/0.7.2/V3.ResponseMessage.Text)\n- [0.6.0](/php/docs/reference/cloud-dialogflow-cx/0.6.0/V3.ResponseMessage.Text)\n- [0.5.2](/php/docs/reference/cloud-dialogflow-cx/0.5.2/V3.ResponseMessage.Text)\n- [0.4.1](/php/docs/reference/cloud-dialogflow-cx/0.4.1/V3.ResponseMessage.Text)\n- [0.3.4](/php/docs/reference/cloud-dialogflow-cx/0.3.4/V3.ResponseMessage.Text)\n- [0.2.1](/php/docs/reference/cloud-dialogflow-cx/0.2.1/V3.ResponseMessage.Text)\n- [0.1.1](/php/docs/reference/cloud-dialogflow-cx/0.1.1/V3.ResponseMessage.Text) \nReference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class Text.\n\nThe text response message.\n\nGenerated from protobuf message `google.cloud.dialogflow.cx.v3.ResponseMessage.Text`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dialogflow \\\\ Cx \\\\ V3 \\\\ ResponseMessage\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getText\n\nRequired. A collection of text response variants. If multiple variants\nare defined, only one text response variant is returned at runtime.\n\n### setText\n\nRequired. A collection of text response variants. If multiple variants\nare defined, only one text response variant is returned at runtime.\n\n### getAllowPlaybackInterruption\n\nOutput only. Whether the playback of this message can be interrupted by\nthe end user's speech and the client can then starts the next Dialogflow\nrequest.\n\n### setAllowPlaybackInterruption\n\nOutput only. Whether the playback of this message can be interrupted by\nthe end user's speech and the client can then starts the next Dialogflow\nrequest."]]