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 |
|
---|
18 | namespace Google\Service\CloudVideoIntelligence;
|
---|
19 |
|
---|
20 | class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'textAnnotations';
|
---|
23 | protected $celebrityRecognitionAnnotationsType = GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation::class;
|
---|
24 | protected $celebrityRecognitionAnnotationsDataType = '';
|
---|
25 | protected $errorType = GoogleRpcStatus::class;
|
---|
26 | protected $errorDataType = '';
|
---|
27 | protected $explicitAnnotationType = GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::class;
|
---|
28 | protected $explicitAnnotationDataType = '';
|
---|
29 | protected $faceAnnotationsType = GoogleCloudVideointelligenceV1p3beta1FaceAnnotation::class;
|
---|
30 | protected $faceAnnotationsDataType = 'array';
|
---|
31 | protected $faceDetectionAnnotationsType = GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation::class;
|
---|
32 | protected $faceDetectionAnnotationsDataType = 'array';
|
---|
33 | protected $frameLabelAnnotationsType = GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::class;
|
---|
34 | protected $frameLabelAnnotationsDataType = 'array';
|
---|
35 | /**
|
---|
36 | * @var string
|
---|
37 | */
|
---|
38 | public $inputUri;
|
---|
39 | protected $logoRecognitionAnnotationsType = GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation::class;
|
---|
40 | protected $logoRecognitionAnnotationsDataType = 'array';
|
---|
41 | protected $objectAnnotationsType = GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation::class;
|
---|
42 | protected $objectAnnotationsDataType = 'array';
|
---|
43 | protected $personDetectionAnnotationsType = GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation::class;
|
---|
44 | protected $personDetectionAnnotationsDataType = 'array';
|
---|
45 | protected $segmentType = GoogleCloudVideointelligenceV1p3beta1VideoSegment::class;
|
---|
46 | protected $segmentDataType = '';
|
---|
47 | protected $segmentLabelAnnotationsType = GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::class;
|
---|
48 | protected $segmentLabelAnnotationsDataType = 'array';
|
---|
49 | protected $segmentPresenceLabelAnnotationsType = GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::class;
|
---|
50 | protected $segmentPresenceLabelAnnotationsDataType = 'array';
|
---|
51 | protected $shotAnnotationsType = GoogleCloudVideointelligenceV1p3beta1VideoSegment::class;
|
---|
52 | protected $shotAnnotationsDataType = 'array';
|
---|
53 | protected $shotLabelAnnotationsType = GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::class;
|
---|
54 | protected $shotLabelAnnotationsDataType = 'array';
|
---|
55 | protected $shotPresenceLabelAnnotationsType = GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::class;
|
---|
56 | protected $shotPresenceLabelAnnotationsDataType = 'array';
|
---|
57 | protected $speechTranscriptionsType = GoogleCloudVideointelligenceV1p3beta1SpeechTranscription::class;
|
---|
58 | protected $speechTranscriptionsDataType = 'array';
|
---|
59 | protected $textAnnotationsType = GoogleCloudVideointelligenceV1p3beta1TextAnnotation::class;
|
---|
60 | protected $textAnnotationsDataType = 'array';
|
---|
61 |
|
---|
62 | /**
|
---|
63 | * @param GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
|
---|
64 | */
|
---|
65 | public function setCelebrityRecognitionAnnotations(GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation $celebrityRecognitionAnnotations)
|
---|
66 | {
|
---|
67 | $this->celebrityRecognitionAnnotations = $celebrityRecognitionAnnotations;
|
---|
68 | }
|
---|
69 | /**
|
---|
70 | * @return GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
|
---|
71 | */
|
---|
72 | public function getCelebrityRecognitionAnnotations()
|
---|
73 | {
|
---|
74 | return $this->celebrityRecognitionAnnotations;
|
---|
75 | }
|
---|
76 | /**
|
---|
77 | * @param GoogleRpcStatus
|
---|
78 | */
|
---|
79 | public function setError(GoogleRpcStatus $error)
|
---|
80 | {
|
---|
81 | $this->error = $error;
|
---|
82 | }
|
---|
83 | /**
|
---|
84 | * @return GoogleRpcStatus
|
---|
85 | */
|
---|
86 | public function getError()
|
---|
87 | {
|
---|
88 | return $this->error;
|
---|
89 | }
|
---|
90 | /**
|
---|
91 | * @param GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation
|
---|
92 | */
|
---|
93 | public function setExplicitAnnotation(GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation $explicitAnnotation)
|
---|
94 | {
|
---|
95 | $this->explicitAnnotation = $explicitAnnotation;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @return GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation
|
---|
99 | */
|
---|
100 | public function getExplicitAnnotation()
|
---|
101 | {
|
---|
102 | return $this->explicitAnnotation;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @param GoogleCloudVideointelligenceV1p3beta1FaceAnnotation[]
|
---|
106 | */
|
---|
107 | public function setFaceAnnotations($faceAnnotations)
|
---|
108 | {
|
---|
109 | $this->faceAnnotations = $faceAnnotations;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @return GoogleCloudVideointelligenceV1p3beta1FaceAnnotation[]
|
---|
113 | */
|
---|
114 | public function getFaceAnnotations()
|
---|
115 | {
|
---|
116 | return $this->faceAnnotations;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @param GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation[]
|
---|
120 | */
|
---|
121 | public function setFaceDetectionAnnotations($faceDetectionAnnotations)
|
---|
122 | {
|
---|
123 | $this->faceDetectionAnnotations = $faceDetectionAnnotations;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @return GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation[]
|
---|
127 | */
|
---|
128 | public function getFaceDetectionAnnotations()
|
---|
129 | {
|
---|
130 | return $this->faceDetectionAnnotations;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @param GoogleCloudVideointelligenceV1p3beta1LabelAnnotation[]
|
---|
134 | */
|
---|
135 | public function setFrameLabelAnnotations($frameLabelAnnotations)
|
---|
136 | {
|
---|
137 | $this->frameLabelAnnotations = $frameLabelAnnotations;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @return GoogleCloudVideointelligenceV1p3beta1LabelAnnotation[]
|
---|
141 | */
|
---|
142 | public function getFrameLabelAnnotations()
|
---|
143 | {
|
---|
144 | return $this->frameLabelAnnotations;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @param string
|
---|
148 | */
|
---|
149 | public function setInputUri($inputUri)
|
---|
150 | {
|
---|
151 | $this->inputUri = $inputUri;
|
---|
152 | }
|
---|
153 | /**
|
---|
154 | * @return string
|
---|
155 | */
|
---|
156 | public function getInputUri()
|
---|
157 | {
|
---|
158 | return $this->inputUri;
|
---|
159 | }
|
---|
160 | /**
|
---|
161 | * @param GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation[]
|
---|
162 | */
|
---|
163 | public function setLogoRecognitionAnnotations($logoRecognitionAnnotations)
|
---|
164 | {
|
---|
165 | $this->logoRecognitionAnnotations = $logoRecognitionAnnotations;
|
---|
166 | }
|
---|
167 | /**
|
---|
168 | * @return GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation[]
|
---|
169 | */
|
---|
170 | public function getLogoRecognitionAnnotations()
|
---|
171 | {
|
---|
172 | return $this->logoRecognitionAnnotations;
|
---|
173 | }
|
---|
174 | /**
|
---|
175 | * @param GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation[]
|
---|
176 | */
|
---|
177 | public function setObjectAnnotations($objectAnnotations)
|
---|
178 | {
|
---|
179 | $this->objectAnnotations = $objectAnnotations;
|
---|
180 | }
|
---|
181 | /**
|
---|
182 | * @return GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation[]
|
---|
183 | */
|
---|
184 | public function getObjectAnnotations()
|
---|
185 | {
|
---|
186 | return $this->objectAnnotations;
|
---|
187 | }
|
---|
188 | /**
|
---|
189 | * @param GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation[]
|
---|
190 | */
|
---|
191 | public function setPersonDetectionAnnotations($personDetectionAnnotations)
|
---|
192 | {
|
---|
193 | $this->personDetectionAnnotations = $personDetectionAnnotations;
|
---|
194 | }
|
---|
195 | /**
|
---|
196 | * @return GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation[]
|
---|
197 | */
|
---|
198 | public function getPersonDetectionAnnotations()
|
---|
199 | {
|
---|
200 | return $this->personDetectionAnnotations;
|
---|
201 | }
|
---|
202 | /**
|
---|
203 | * @param GoogleCloudVideointelligenceV1p3beta1VideoSegment
|
---|
204 | */
|
---|
205 | public function setSegment(GoogleCloudVideointelligenceV1p3beta1VideoSegment $segment)
|
---|
206 | {
|
---|
207 | $this->segment = $segment;
|
---|
208 | }
|
---|
209 | /**
|
---|
210 | * @return GoogleCloudVideointelligenceV1p3beta1VideoSegment
|
---|
211 | */
|
---|
212 | public function getSegment()
|
---|
213 | {
|
---|
214 | return $this->segment;
|
---|
215 | }
|
---|
216 | /**
|
---|
217 | * @param GoogleCloudVideointelligenceV1p3beta1LabelAnnotation[]
|
---|
218 | */
|
---|
219 | public function setSegmentLabelAnnotations($segmentLabelAnnotations)
|
---|
220 | {
|
---|
221 | $this->segmentLabelAnnotations = $segmentLabelAnnotations;
|
---|
222 | }
|
---|
223 | /**
|
---|
224 | * @return GoogleCloudVideointelligenceV1p3beta1LabelAnnotation[]
|
---|
225 | */
|
---|
226 | public function getSegmentLabelAnnotations()
|
---|
227 | {
|
---|
228 | return $this->segmentLabelAnnotations;
|
---|
229 | }
|
---|
230 | /**
|
---|
231 | * @param GoogleCloudVideointelligenceV1p3beta1LabelAnnotation[]
|
---|
232 | */
|
---|
233 | public function setSegmentPresenceLabelAnnotations($segmentPresenceLabelAnnotations)
|
---|
234 | {
|
---|
235 | $this->segmentPresenceLabelAnnotations = $segmentPresenceLabelAnnotations;
|
---|
236 | }
|
---|
237 | /**
|
---|
238 | * @return GoogleCloudVideointelligenceV1p3beta1LabelAnnotation[]
|
---|
239 | */
|
---|
240 | public function getSegmentPresenceLabelAnnotations()
|
---|
241 | {
|
---|
242 | return $this->segmentPresenceLabelAnnotations;
|
---|
243 | }
|
---|
244 | /**
|
---|
245 | * @param GoogleCloudVideointelligenceV1p3beta1VideoSegment[]
|
---|
246 | */
|
---|
247 | public function setShotAnnotations($shotAnnotations)
|
---|
248 | {
|
---|
249 | $this->shotAnnotations = $shotAnnotations;
|
---|
250 | }
|
---|
251 | /**
|
---|
252 | * @return GoogleCloudVideointelligenceV1p3beta1VideoSegment[]
|
---|
253 | */
|
---|
254 | public function getShotAnnotations()
|
---|
255 | {
|
---|
256 | return $this->shotAnnotations;
|
---|
257 | }
|
---|
258 | /**
|
---|
259 | * @param GoogleCloudVideointelligenceV1p3beta1LabelAnnotation[]
|
---|
260 | */
|
---|
261 | public function setShotLabelAnnotations($shotLabelAnnotations)
|
---|
262 | {
|
---|
263 | $this->shotLabelAnnotations = $shotLabelAnnotations;
|
---|
264 | }
|
---|
265 | /**
|
---|
266 | * @return GoogleCloudVideointelligenceV1p3beta1LabelAnnotation[]
|
---|
267 | */
|
---|
268 | public function getShotLabelAnnotations()
|
---|
269 | {
|
---|
270 | return $this->shotLabelAnnotations;
|
---|
271 | }
|
---|
272 | /**
|
---|
273 | * @param GoogleCloudVideointelligenceV1p3beta1LabelAnnotation[]
|
---|
274 | */
|
---|
275 | public function setShotPresenceLabelAnnotations($shotPresenceLabelAnnotations)
|
---|
276 | {
|
---|
277 | $this->shotPresenceLabelAnnotations = $shotPresenceLabelAnnotations;
|
---|
278 | }
|
---|
279 | /**
|
---|
280 | * @return GoogleCloudVideointelligenceV1p3beta1LabelAnnotation[]
|
---|
281 | */
|
---|
282 | public function getShotPresenceLabelAnnotations()
|
---|
283 | {
|
---|
284 | return $this->shotPresenceLabelAnnotations;
|
---|
285 | }
|
---|
286 | /**
|
---|
287 | * @param GoogleCloudVideointelligenceV1p3beta1SpeechTranscription[]
|
---|
288 | */
|
---|
289 | public function setSpeechTranscriptions($speechTranscriptions)
|
---|
290 | {
|
---|
291 | $this->speechTranscriptions = $speechTranscriptions;
|
---|
292 | }
|
---|
293 | /**
|
---|
294 | * @return GoogleCloudVideointelligenceV1p3beta1SpeechTranscription[]
|
---|
295 | */
|
---|
296 | public function getSpeechTranscriptions()
|
---|
297 | {
|
---|
298 | return $this->speechTranscriptions;
|
---|
299 | }
|
---|
300 | /**
|
---|
301 | * @param GoogleCloudVideointelligenceV1p3beta1TextAnnotation[]
|
---|
302 | */
|
---|
303 | public function setTextAnnotations($textAnnotations)
|
---|
304 | {
|
---|
305 | $this->textAnnotations = $textAnnotations;
|
---|
306 | }
|
---|
307 | /**
|
---|
308 | * @return GoogleCloudVideointelligenceV1p3beta1TextAnnotation[]
|
---|
309 | */
|
---|
310 | public function getTextAnnotations()
|
---|
311 | {
|
---|
312 | return $this->textAnnotations;
|
---|
313 | }
|
---|
314 | }
|
---|
315 |
|
---|
316 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
317 | class_alias(GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults');
|
---|