PageRenderTime 25ms CodeModel.GetById 8ms RepoModel.GetById 1ms app.codeStats 0ms

/vendor/google/apiclient-services/src/CloudVideoIntelligence/GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults.php

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