beginOffset = $beginOffset; } /** * @return int */ public function getBeginOffset() { return $this->beginOffset; } /** * @param string */ public function setContent($content) { $this->content = $content; } /** * @return string */ public function getContent() { return $this->content; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TextSpan::class, 'Google_Service_CloudNaturalLanguage_TextSpan');