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