confidence = $confidence; } /** * @return float */ public function getConfidence() { return $this->confidence; } /** * @param GoogleCloudVideointelligenceV1TextFrame[] */ public function setFrames($frames) { $this->frames = $frames; } /** * @return GoogleCloudVideointelligenceV1TextFrame[] */ public function getFrames() { return $this->frames; } /** * @param GoogleCloudVideointelligenceV1VideoSegment */ public function setSegment(GoogleCloudVideointelligenceV1VideoSegment $segment) { $this->segment = $segment; } /** * @return GoogleCloudVideointelligenceV1VideoSegment */ public function getSegment() { return $this->segment; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudVideointelligenceV1TextSegment::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1TextSegment');