segments = $segments; } /** * @return GoogleCloudVideointelligenceV1p2beta1TextSegment[] */ public function getSegments() { return $this->segments; } /** * @param string */ public function setText($text) { $this->text = $text; } /** * @return string */ public function getText() { return $this->text; } /** * @param string */ public function setVersion($version) { $this->version = $version; } /** * @return string */ public function getVersion() { return $this->version; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudVideointelligenceV1p2beta1TextAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1TextAnnotation');