contextSize = $contextSize; } /** * @return int */ public function getContextSize() { return $this->contextSize; } /** * The name of the latest conversation message used to compile suggestion for. * Format: `projects//locations//conversations//messages/`. * * @param string $latestMessage */ public function setLatestMessage($latestMessage) { $this->latestMessage = $latestMessage; } /** * @return string */ public function getLatestMessage() { return $this->latestMessage; } /** * Output only. Multiple reply options provided by smart reply service. The * order is based on the rank of the model prediction. The maximum number of * the returned replies is set in SmartReplyConfig. * * @param GoogleCloudDialogflowV2beta1SmartReplyAnswer[] $smartReplyAnswers */ public function setSmartReplyAnswers($smartReplyAnswers) { $this->smartReplyAnswers = $smartReplyAnswers; } /** * @return GoogleCloudDialogflowV2beta1SmartReplyAnswer[] */ public function getSmartReplyAnswers() { return $this->smartReplyAnswers; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse');