action = $action; } /** * @return string */ public function getAction() { return $this->action; } /** * @param bool */ public function setAllRequiredParamsPresent($allRequiredParamsPresent) { $this->allRequiredParamsPresent = $allRequiredParamsPresent; } /** * @return bool */ public function getAllRequiredParamsPresent() { return $this->allRequiredParamsPresent; } /** * @param bool */ public function setCancelsSlotFilling($cancelsSlotFilling) { $this->cancelsSlotFilling = $cancelsSlotFilling; } /** * @return bool */ public function getCancelsSlotFilling() { return $this->cancelsSlotFilling; } /** * @param array[] */ public function setDiagnosticInfo($diagnosticInfo) { $this->diagnosticInfo = $diagnosticInfo; } /** * @return array[] */ public function getDiagnosticInfo() { return $this->diagnosticInfo; } /** * @param GoogleCloudDialogflowV2beta1IntentMessage[] */ public function setFulfillmentMessages($fulfillmentMessages) { $this->fulfillmentMessages = $fulfillmentMessages; } /** * @return GoogleCloudDialogflowV2beta1IntentMessage[] */ public function getFulfillmentMessages() { return $this->fulfillmentMessages; } /** * @param string */ public function setFulfillmentText($fulfillmentText) { $this->fulfillmentText = $fulfillmentText; } /** * @return string */ public function getFulfillmentText() { return $this->fulfillmentText; } /** * @param GoogleCloudDialogflowV2beta1Intent */ public function setIntent(GoogleCloudDialogflowV2beta1Intent $intent) { $this->intent = $intent; } /** * @return GoogleCloudDialogflowV2beta1Intent */ public function getIntent() { return $this->intent; } /** * @param float */ public function setIntentDetectionConfidence($intentDetectionConfidence) { $this->intentDetectionConfidence = $intentDetectionConfidence; } /** * @return float */ public function getIntentDetectionConfidence() { return $this->intentDetectionConfidence; } /** * @param GoogleCloudDialogflowV2beta1KnowledgeAnswers */ public function setKnowledgeAnswers(GoogleCloudDialogflowV2beta1KnowledgeAnswers $knowledgeAnswers) { $this->knowledgeAnswers = $knowledgeAnswers; } /** * @return GoogleCloudDialogflowV2beta1KnowledgeAnswers */ public function getKnowledgeAnswers() { return $this->knowledgeAnswers; } /** * @param string */ public function setLanguageCode($languageCode) { $this->languageCode = $languageCode; } /** * @return string */ public function getLanguageCode() { return $this->languageCode; } /** * @param GoogleCloudDialogflowV2beta1Context[] */ public function setOutputContexts($outputContexts) { $this->outputContexts = $outputContexts; } /** * @return GoogleCloudDialogflowV2beta1Context[] */ public function getOutputContexts() { return $this->outputContexts; } /** * @param array[] */ public function setParameters($parameters) { $this->parameters = $parameters; } /** * @return array[] */ public function getParameters() { return $this->parameters; } /** * @param string */ public function setQueryText($queryText) { $this->queryText = $queryText; } /** * @return string */ public function getQueryText() { return $this->queryText; } /** * @param GoogleCloudDialogflowV2beta1SentimentAnalysisResult */ public function setSentimentAnalysisResult(GoogleCloudDialogflowV2beta1SentimentAnalysisResult $sentimentAnalysisResult) { $this->sentimentAnalysisResult = $sentimentAnalysisResult; } /** * @return GoogleCloudDialogflowV2beta1SentimentAnalysisResult */ public function getSentimentAnalysisResult() { return $this->sentimentAnalysisResult; } /** * @param float */ public function setSpeechRecognitionConfidence($speechRecognitionConfidence) { $this->speechRecognitionConfidence = $speechRecognitionConfidence; } /** * @return float */ public function getSpeechRecognitionConfidence() { return $this->speechRecognitionConfidence; } /** * @param array[] */ public function setWebhookPayload($webhookPayload) { $this->webhookPayload = $webhookPayload; } /** * @return array[] */ public function getWebhookPayload() { return $this->webhookPayload; } /** * @param string */ public function setWebhookSource($webhookSource) { $this->webhookSource = $webhookSource; } /** * @return string */ public function getWebhookSource() { return $this->webhookSource; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDialogflowV2beta1QueryResult::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1QueryResult');