action = $action; } /** * @return string */ public function getAction() { return $this->action; } /** * @param string[] */ public function setDefaultResponsePlatforms($defaultResponsePlatforms) { $this->defaultResponsePlatforms = $defaultResponsePlatforms; } /** * @return string[] */ public function getDefaultResponsePlatforms() { return $this->defaultResponsePlatforms; } /** * @param string */ public function setDisplayName($displayName) { $this->displayName = $displayName; } /** * @return string */ public function getDisplayName() { return $this->displayName; } /** * @param bool */ public function setEndInteraction($endInteraction) { $this->endInteraction = $endInteraction; } /** * @return bool */ public function getEndInteraction() { return $this->endInteraction; } /** * @param string[] */ public function setEvents($events) { $this->events = $events; } /** * @return string[] */ public function getEvents() { return $this->events; } /** * @param GoogleCloudDialogflowV2IntentFollowupIntentInfo[] */ public function setFollowupIntentInfo($followupIntentInfo) { $this->followupIntentInfo = $followupIntentInfo; } /** * @return GoogleCloudDialogflowV2IntentFollowupIntentInfo[] */ public function getFollowupIntentInfo() { return $this->followupIntentInfo; } /** * @param string[] */ public function setInputContextNames($inputContextNames) { $this->inputContextNames = $inputContextNames; } /** * @return string[] */ public function getInputContextNames() { return $this->inputContextNames; } /** * @param bool */ public function setIsFallback($isFallback) { $this->isFallback = $isFallback; } /** * @return bool */ public function getIsFallback() { return $this->isFallback; } /** * @param bool */ public function setLiveAgentHandoff($liveAgentHandoff) { $this->liveAgentHandoff = $liveAgentHandoff; } /** * @return bool */ public function getLiveAgentHandoff() { return $this->liveAgentHandoff; } /** * @param GoogleCloudDialogflowV2IntentMessage[] */ public function setMessages($messages) { $this->messages = $messages; } /** * @return GoogleCloudDialogflowV2IntentMessage[] */ public function getMessages() { return $this->messages; } /** * @param bool */ public function setMlDisabled($mlDisabled) { $this->mlDisabled = $mlDisabled; } /** * @return bool */ public function getMlDisabled() { return $this->mlDisabled; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param GoogleCloudDialogflowV2Context[] */ public function setOutputContexts($outputContexts) { $this->outputContexts = $outputContexts; } /** * @return GoogleCloudDialogflowV2Context[] */ public function getOutputContexts() { return $this->outputContexts; } /** * @param GoogleCloudDialogflowV2IntentParameter[] */ public function setParameters($parameters) { $this->parameters = $parameters; } /** * @return GoogleCloudDialogflowV2IntentParameter[] */ public function getParameters() { return $this->parameters; } /** * @param string */ public function setParentFollowupIntentName($parentFollowupIntentName) { $this->parentFollowupIntentName = $parentFollowupIntentName; } /** * @return string */ public function getParentFollowupIntentName() { return $this->parentFollowupIntentName; } /** * @param int */ public function setPriority($priority) { $this->priority = $priority; } /** * @return int */ public function getPriority() { return $this->priority; } /** * @param bool */ public function setResetContexts($resetContexts) { $this->resetContexts = $resetContexts; } /** * @return bool */ public function getResetContexts() { return $this->resetContexts; } /** * @param string */ public function setRootFollowupIntentName($rootFollowupIntentName) { $this->rootFollowupIntentName = $rootFollowupIntentName; } /** * @return string */ public function getRootFollowupIntentName() { return $this->rootFollowupIntentName; } /** * @param GoogleCloudDialogflowV2IntentTrainingPhrase[] */ public function setTrainingPhrases($trainingPhrases) { $this->trainingPhrases = $trainingPhrases; } /** * @return GoogleCloudDialogflowV2IntentTrainingPhrase[] */ public function getTrainingPhrases() { return $this->trainingPhrases; } /** * @param string */ public function setWebhookState($webhookState) { $this->webhookState = $webhookState; } /** * @return string */ public function getWebhookState() { return $this->webhookState; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDialogflowV2Intent::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent');