answerGenerationSpec = $answerGenerationSpec; } /** * @return GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec */ public function getAnswerGenerationSpec() { return $this->answerGenerationSpec; } /** * @param bool */ public function setAsynchronousMode($asynchronousMode) { $this->asynchronousMode = $asynchronousMode; } /** * @return bool */ public function getAsynchronousMode() { return $this->asynchronousMode; } /** * @param GoogleCloudDiscoveryengineV1betaQuery */ public function setQuery(GoogleCloudDiscoveryengineV1betaQuery $query) { $this->query = $query; } /** * @return GoogleCloudDiscoveryengineV1betaQuery */ public function getQuery() { return $this->query; } /** * @param GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec */ public function setQueryUnderstandingSpec(GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec $queryUnderstandingSpec) { $this->queryUnderstandingSpec = $queryUnderstandingSpec; } /** * @return GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec */ public function getQueryUnderstandingSpec() { return $this->queryUnderstandingSpec; } /** * @param GoogleCloudDiscoveryengineV1betaAnswerQueryRequestRelatedQuestionsSpec */ public function setRelatedQuestionsSpec(GoogleCloudDiscoveryengineV1betaAnswerQueryRequestRelatedQuestionsSpec $relatedQuestionsSpec) { $this->relatedQuestionsSpec = $relatedQuestionsSpec; } /** * @return GoogleCloudDiscoveryengineV1betaAnswerQueryRequestRelatedQuestionsSpec */ public function getRelatedQuestionsSpec() { return $this->relatedQuestionsSpec; } /** * @param GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpec */ public function setSafetySpec(GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpec $safetySpec) { $this->safetySpec = $safetySpec; } /** * @return GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpec */ public function getSafetySpec() { return $this->safetySpec; } /** * @param GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpec */ public function setSearchSpec(GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpec $searchSpec) { $this->searchSpec = $searchSpec; } /** * @return GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpec */ public function getSearchSpec() { return $this->searchSpec; } /** * @param string */ public function setSession($session) { $this->session = $session; } /** * @return string */ public function getSession() { return $this->session; } /** * @param string */ public function setUserPseudoId($userPseudoId) { $this->userPseudoId = $userPseudoId; } /** * @return string */ public function getUserPseudoId() { return $this->userPseudoId; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDiscoveryengineV1betaAnswerQueryRequest::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1betaAnswerQueryRequest');