chunk = $chunk; } /** * @return GoogleCloudDiscoveryengineV1Chunk */ public function getChunk() { return $this->chunk; } /** * @param GoogleCloudDiscoveryengineV1Document */ public function setDocument(GoogleCloudDiscoveryengineV1Document $document) { $this->document = $document; } /** * @return GoogleCloudDiscoveryengineV1Document */ public function getDocument() { return $this->document; } /** * @param string */ public function setId($id) { $this->id = $id; } /** * @return string */ public function getId() { return $this->id; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDiscoveryengineV1SearchResponseSearchResult::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResult');