source: vendor/google/apiclient-services/src/Dialogflow/GoogleCloudDialogflowCxV3QueryResult.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 13 days ago

Upload project files

  • Property mode set to 100644
File size: 7.9 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\Dialogflow;
19
20class GoogleCloudDialogflowCxV3QueryResult extends \Google\Collection
21{
22 protected $collection_key = 'webhookStatuses';
23 protected $advancedSettingsType = GoogleCloudDialogflowCxV3AdvancedSettings::class;
24 protected $advancedSettingsDataType = '';
25 /**
26 * @var bool
27 */
28 public $allowAnswerFeedback;
29 protected $currentPageType = GoogleCloudDialogflowCxV3Page::class;
30 protected $currentPageDataType = '';
31 protected $dataStoreConnectionSignalsType = GoogleCloudDialogflowCxV3DataStoreConnectionSignals::class;
32 protected $dataStoreConnectionSignalsDataType = '';
33 /**
34 * @var array[]
35 */
36 public $diagnosticInfo;
37 protected $dtmfType = GoogleCloudDialogflowCxV3DtmfInput::class;
38 protected $dtmfDataType = '';
39 protected $intentType = GoogleCloudDialogflowCxV3Intent::class;
40 protected $intentDataType = '';
41 /**
42 * @var float
43 */
44 public $intentDetectionConfidence;
45 /**
46 * @var string
47 */
48 public $languageCode;
49 protected $matchType = GoogleCloudDialogflowCxV3Match::class;
50 protected $matchDataType = '';
51 /**
52 * @var array[]
53 */
54 public $parameters;
55 protected $responseMessagesType = GoogleCloudDialogflowCxV3ResponseMessage::class;
56 protected $responseMessagesDataType = 'array';
57 protected $sentimentAnalysisResultType = GoogleCloudDialogflowCxV3SentimentAnalysisResult::class;
58 protected $sentimentAnalysisResultDataType = '';
59 /**
60 * @var string
61 */
62 public $text;
63 /**
64 * @var string
65 */
66 public $transcript;
67 /**
68 * @var string
69 */
70 public $triggerEvent;
71 /**
72 * @var string
73 */
74 public $triggerIntent;
75 /**
76 * @var array[]
77 */
78 public $webhookPayloads;
79 protected $webhookStatusesType = GoogleRpcStatus::class;
80 protected $webhookStatusesDataType = 'array';
81
82 /**
83 * @param GoogleCloudDialogflowCxV3AdvancedSettings
84 */
85 public function setAdvancedSettings(GoogleCloudDialogflowCxV3AdvancedSettings $advancedSettings)
86 {
87 $this->advancedSettings = $advancedSettings;
88 }
89 /**
90 * @return GoogleCloudDialogflowCxV3AdvancedSettings
91 */
92 public function getAdvancedSettings()
93 {
94 return $this->advancedSettings;
95 }
96 /**
97 * @param bool
98 */
99 public function setAllowAnswerFeedback($allowAnswerFeedback)
100 {
101 $this->allowAnswerFeedback = $allowAnswerFeedback;
102 }
103 /**
104 * @return bool
105 */
106 public function getAllowAnswerFeedback()
107 {
108 return $this->allowAnswerFeedback;
109 }
110 /**
111 * @param GoogleCloudDialogflowCxV3Page
112 */
113 public function setCurrentPage(GoogleCloudDialogflowCxV3Page $currentPage)
114 {
115 $this->currentPage = $currentPage;
116 }
117 /**
118 * @return GoogleCloudDialogflowCxV3Page
119 */
120 public function getCurrentPage()
121 {
122 return $this->currentPage;
123 }
124 /**
125 * @param GoogleCloudDialogflowCxV3DataStoreConnectionSignals
126 */
127 public function setDataStoreConnectionSignals(GoogleCloudDialogflowCxV3DataStoreConnectionSignals $dataStoreConnectionSignals)
128 {
129 $this->dataStoreConnectionSignals = $dataStoreConnectionSignals;
130 }
131 /**
132 * @return GoogleCloudDialogflowCxV3DataStoreConnectionSignals
133 */
134 public function getDataStoreConnectionSignals()
135 {
136 return $this->dataStoreConnectionSignals;
137 }
138 /**
139 * @param array[]
140 */
141 public function setDiagnosticInfo($diagnosticInfo)
142 {
143 $this->diagnosticInfo = $diagnosticInfo;
144 }
145 /**
146 * @return array[]
147 */
148 public function getDiagnosticInfo()
149 {
150 return $this->diagnosticInfo;
151 }
152 /**
153 * @param GoogleCloudDialogflowCxV3DtmfInput
154 */
155 public function setDtmf(GoogleCloudDialogflowCxV3DtmfInput $dtmf)
156 {
157 $this->dtmf = $dtmf;
158 }
159 /**
160 * @return GoogleCloudDialogflowCxV3DtmfInput
161 */
162 public function getDtmf()
163 {
164 return $this->dtmf;
165 }
166 /**
167 * @param GoogleCloudDialogflowCxV3Intent
168 */
169 public function setIntent(GoogleCloudDialogflowCxV3Intent $intent)
170 {
171 $this->intent = $intent;
172 }
173 /**
174 * @return GoogleCloudDialogflowCxV3Intent
175 */
176 public function getIntent()
177 {
178 return $this->intent;
179 }
180 /**
181 * @param float
182 */
183 public function setIntentDetectionConfidence($intentDetectionConfidence)
184 {
185 $this->intentDetectionConfidence = $intentDetectionConfidence;
186 }
187 /**
188 * @return float
189 */
190 public function getIntentDetectionConfidence()
191 {
192 return $this->intentDetectionConfidence;
193 }
194 /**
195 * @param string
196 */
197 public function setLanguageCode($languageCode)
198 {
199 $this->languageCode = $languageCode;
200 }
201 /**
202 * @return string
203 */
204 public function getLanguageCode()
205 {
206 return $this->languageCode;
207 }
208 /**
209 * @param GoogleCloudDialogflowCxV3Match
210 */
211 public function setMatch(GoogleCloudDialogflowCxV3Match $match)
212 {
213 $this->match = $match;
214 }
215 /**
216 * @return GoogleCloudDialogflowCxV3Match
217 */
218 public function getMatch()
219 {
220 return $this->match;
221 }
222 /**
223 * @param array[]
224 */
225 public function setParameters($parameters)
226 {
227 $this->parameters = $parameters;
228 }
229 /**
230 * @return array[]
231 */
232 public function getParameters()
233 {
234 return $this->parameters;
235 }
236 /**
237 * @param GoogleCloudDialogflowCxV3ResponseMessage[]
238 */
239 public function setResponseMessages($responseMessages)
240 {
241 $this->responseMessages = $responseMessages;
242 }
243 /**
244 * @return GoogleCloudDialogflowCxV3ResponseMessage[]
245 */
246 public function getResponseMessages()
247 {
248 return $this->responseMessages;
249 }
250 /**
251 * @param GoogleCloudDialogflowCxV3SentimentAnalysisResult
252 */
253 public function setSentimentAnalysisResult(GoogleCloudDialogflowCxV3SentimentAnalysisResult $sentimentAnalysisResult)
254 {
255 $this->sentimentAnalysisResult = $sentimentAnalysisResult;
256 }
257 /**
258 * @return GoogleCloudDialogflowCxV3SentimentAnalysisResult
259 */
260 public function getSentimentAnalysisResult()
261 {
262 return $this->sentimentAnalysisResult;
263 }
264 /**
265 * @param string
266 */
267 public function setText($text)
268 {
269 $this->text = $text;
270 }
271 /**
272 * @return string
273 */
274 public function getText()
275 {
276 return $this->text;
277 }
278 /**
279 * @param string
280 */
281 public function setTranscript($transcript)
282 {
283 $this->transcript = $transcript;
284 }
285 /**
286 * @return string
287 */
288 public function getTranscript()
289 {
290 return $this->transcript;
291 }
292 /**
293 * @param string
294 */
295 public function setTriggerEvent($triggerEvent)
296 {
297 $this->triggerEvent = $triggerEvent;
298 }
299 /**
300 * @return string
301 */
302 public function getTriggerEvent()
303 {
304 return $this->triggerEvent;
305 }
306 /**
307 * @param string
308 */
309 public function setTriggerIntent($triggerIntent)
310 {
311 $this->triggerIntent = $triggerIntent;
312 }
313 /**
314 * @return string
315 */
316 public function getTriggerIntent()
317 {
318 return $this->triggerIntent;
319 }
320 /**
321 * @param array[]
322 */
323 public function setWebhookPayloads($webhookPayloads)
324 {
325 $this->webhookPayloads = $webhookPayloads;
326 }
327 /**
328 * @return array[]
329 */
330 public function getWebhookPayloads()
331 {
332 return $this->webhookPayloads;
333 }
334 /**
335 * @param GoogleRpcStatus[]
336 */
337 public function setWebhookStatuses($webhookStatuses)
338 {
339 $this->webhookStatuses = $webhookStatuses;
340 }
341 /**
342 * @return GoogleRpcStatus[]
343 */
344 public function getWebhookStatuses()
345 {
346 return $this->webhookStatuses;
347 }
348}
349
350// Adding a class alias for backwards compatibility with the previous class name.
351class_alias(GoogleCloudDialogflowCxV3QueryResult::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3QueryResult');
Note: See TracBrowser for help on using the repository browser.