document = $document; } /** * @return MultiscalePointerIndex */ public function getDocument() { return $this->document; } /** * @param MultiscalePointerIndex */ public function setParagraph(MultiscalePointerIndex $paragraph) { $this->paragraph = $paragraph; } /** * @return MultiscalePointerIndex */ public function getParagraph() { return $this->paragraph; } /** * @param MultiscalePointerIndex */ public function setSentence(MultiscalePointerIndex $sentence) { $this->sentence = $sentence; } /** * @return MultiscalePointerIndex */ public function getSentence() { return $this->sentence; } /** * @param string */ public function setText($text) { $this->text = $text; } /** * @return string */ public function getText() { return $this->text; } /** * @param MultiscalePointerIndex */ public function setToken(MultiscalePointerIndex $token) { $this->token = $token; } /** * @return MultiscalePointerIndex */ public function getToken() { return $this->token; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(NlxDataSchemaCharacter::class, 'Google_Service_Contentwarehouse_NlxDataSchemaCharacter');