confidence = $confidence; } /** * @return float */ public function getConfidence() { return $this->confidence; } /** * @param GoogleCloudVideointelligenceV1p2beta1Entity */ public function setEntity(GoogleCloudVideointelligenceV1p2beta1Entity $entity) { $this->entity = $entity; } /** * @return GoogleCloudVideointelligenceV1p2beta1Entity */ public function getEntity() { return $this->entity; } /** * @param GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame[] */ public function setFrames($frames) { $this->frames = $frames; } /** * @return GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame[] */ public function getFrames() { return $this->frames; } /** * @param GoogleCloudVideointelligenceV1p2beta1VideoSegment */ public function setSegment(GoogleCloudVideointelligenceV1p2beta1VideoSegment $segment) { $this->segment = $segment; } /** * @return GoogleCloudVideointelligenceV1p2beta1VideoSegment */ public function getSegment() { return $this->segment; } /** * @param string */ public function setTrackId($trackId) { $this->trackId = $trackId; } /** * @return string */ public function getTrackId() { return $this->trackId; } /** * @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(GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation');