debugInfo = $debugInfo; } /** * @return ResponseDebugInfo */ public function getDebugInfo() { return $this->debugInfo; } /** * @param ErrorInfo */ public function setErrorInfo(ErrorInfo $errorInfo) { $this->errorInfo = $errorInfo; } /** * @return ErrorInfo */ public function getErrorInfo() { return $this->errorInfo; } /** * @param FacetResult[] */ public function setFacetResults($facetResults) { $this->facetResults = $facetResults; } /** * @return FacetResult[] */ public function getFacetResults() { return $this->facetResults; } /** * @param bool */ public function setHasMoreResults($hasMoreResults) { $this->hasMoreResults = $hasMoreResults; } /** * @return bool */ public function getHasMoreResults() { return $this->hasMoreResults; } /** * @param QueryInterpretation */ public function setQueryInterpretation(QueryInterpretation $queryInterpretation) { $this->queryInterpretation = $queryInterpretation; } /** * @return QueryInterpretation */ public function getQueryInterpretation() { return $this->queryInterpretation; } /** * @param string */ public function setResultCountEstimate($resultCountEstimate) { $this->resultCountEstimate = $resultCountEstimate; } /** * @return string */ public function getResultCountEstimate() { return $this->resultCountEstimate; } /** * @param string */ public function setResultCountExact($resultCountExact) { $this->resultCountExact = $resultCountExact; } /** * @return string */ public function getResultCountExact() { return $this->resultCountExact; } /** * @param ResultCounts */ public function setResultCounts(ResultCounts $resultCounts) { $this->resultCounts = $resultCounts; } /** * @return ResultCounts */ public function getResultCounts() { return $this->resultCounts; } /** * @param SearchResult[] */ public function setResults($results) { $this->results = $results; } /** * @return SearchResult[] */ public function getResults() { return $this->results; } /** * @param SpellResult[] */ public function setSpellResults($spellResults) { $this->spellResults = $spellResults; } /** * @return SpellResult[] */ public function getSpellResults() { return $this->spellResults; } /** * @param StructuredResult[] */ public function setStructuredResults($structuredResults) { $this->structuredResults = $structuredResults; } /** * @return StructuredResult[] */ public function getStructuredResults() { return $this->structuredResults; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SearchResponse::class, 'Google_Service_CloudSearch_SearchResponse');