1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\CloudVideoIntelligence;
19
20class GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults extends \Google\Collection
21{
22  protected $collection_key = 'shotAnnotations';
23  protected $explicitAnnotationType = GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::class;
24  protected $explicitAnnotationDataType = '';
25  /**
26   * @var string
27   */
28  public $frameTimestamp;
29  protected $labelAnnotationsType = GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::class;
30  protected $labelAnnotationsDataType = 'array';
31  protected $objectAnnotationsType = GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation::class;
32  protected $objectAnnotationsDataType = 'array';
33  protected $shotAnnotationsType = GoogleCloudVideointelligenceV1p3beta1VideoSegment::class;
34  protected $shotAnnotationsDataType = 'array';
35
36  /**
37   * @param GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation
38   */
39  public function setExplicitAnnotation(GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation $explicitAnnotation)
40  {
41    $this->explicitAnnotation = $explicitAnnotation;
42  }
43  /**
44   * @return GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation
45   */
46  public function getExplicitAnnotation()
47  {
48    return $this->explicitAnnotation;
49  }
50  /**
51   * @param string
52   */
53  public function setFrameTimestamp($frameTimestamp)
54  {
55    $this->frameTimestamp = $frameTimestamp;
56  }
57  /**
58   * @return string
59   */
60  public function getFrameTimestamp()
61  {
62    return $this->frameTimestamp;
63  }
64  /**
65   * @param GoogleCloudVideointelligenceV1p3beta1LabelAnnotation[]
66   */
67  public function setLabelAnnotations($labelAnnotations)
68  {
69    $this->labelAnnotations = $labelAnnotations;
70  }
71  /**
72   * @return GoogleCloudVideointelligenceV1p3beta1LabelAnnotation[]
73   */
74  public function getLabelAnnotations()
75  {
76    return $this->labelAnnotations;
77  }
78  /**
79   * @param GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation[]
80   */
81  public function setObjectAnnotations($objectAnnotations)
82  {
83    $this->objectAnnotations = $objectAnnotations;
84  }
85  /**
86   * @return GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation[]
87   */
88  public function getObjectAnnotations()
89  {
90    return $this->objectAnnotations;
91  }
92  /**
93   * @param GoogleCloudVideointelligenceV1p3beta1VideoSegment[]
94   */
95  public function setShotAnnotations($shotAnnotations)
96  {
97    $this->shotAnnotations = $shotAnnotations;
98  }
99  /**
100   * @return GoogleCloudVideointelligenceV1p3beta1VideoSegment[]
101   */
102  public function getShotAnnotations()
103  {
104    return $this->shotAnnotations;
105  }
106}
107
108// Adding a class alias for backwards compatibility with the previous class name.
109class_alias(GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults');
110