Ei kuvausta

GoogleCloudVideointelligenceV1beta2VideoAnnotationResults.php 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. class Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2VideoAnnotationResults extends Google_Collection
  18. {
  19. protected $collection_key = 'shotLabelAnnotations';
  20. protected $errorType = 'Google_Service_CloudVideoIntelligence_GoogleRpcStatus';
  21. protected $errorDataType = '';
  22. protected $explicitAnnotationType = 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation';
  23. protected $explicitAnnotationDataType = '';
  24. protected $frameLabelAnnotationsType = 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2LabelAnnotation';
  25. protected $frameLabelAnnotationsDataType = 'array';
  26. public $inputUri;
  27. protected $segmentLabelAnnotationsType = 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2LabelAnnotation';
  28. protected $segmentLabelAnnotationsDataType = 'array';
  29. protected $shotAnnotationsType = 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2VideoSegment';
  30. protected $shotAnnotationsDataType = 'array';
  31. protected $shotLabelAnnotationsType = 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2LabelAnnotation';
  32. protected $shotLabelAnnotationsDataType = 'array';
  33. /**
  34. * @param Google_Service_CloudVideoIntelligence_GoogleRpcStatus
  35. */
  36. public function setError(Google_Service_CloudVideoIntelligence_GoogleRpcStatus $error)
  37. {
  38. $this->error = $error;
  39. }
  40. /**
  41. * @return Google_Service_CloudVideoIntelligence_GoogleRpcStatus
  42. */
  43. public function getError()
  44. {
  45. return $this->error;
  46. }
  47. /**
  48. * @param Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation
  49. */
  50. public function setExplicitAnnotation(Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation $explicitAnnotation)
  51. {
  52. $this->explicitAnnotation = $explicitAnnotation;
  53. }
  54. /**
  55. * @return Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation
  56. */
  57. public function getExplicitAnnotation()
  58. {
  59. return $this->explicitAnnotation;
  60. }
  61. /**
  62. * @param Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2LabelAnnotation
  63. */
  64. public function setFrameLabelAnnotations($frameLabelAnnotations)
  65. {
  66. $this->frameLabelAnnotations = $frameLabelAnnotations;
  67. }
  68. /**
  69. * @return Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2LabelAnnotation
  70. */
  71. public function getFrameLabelAnnotations()
  72. {
  73. return $this->frameLabelAnnotations;
  74. }
  75. public function setInputUri($inputUri)
  76. {
  77. $this->inputUri = $inputUri;
  78. }
  79. public function getInputUri()
  80. {
  81. return $this->inputUri;
  82. }
  83. /**
  84. * @param Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2LabelAnnotation
  85. */
  86. public function setSegmentLabelAnnotations($segmentLabelAnnotations)
  87. {
  88. $this->segmentLabelAnnotations = $segmentLabelAnnotations;
  89. }
  90. /**
  91. * @return Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2LabelAnnotation
  92. */
  93. public function getSegmentLabelAnnotations()
  94. {
  95. return $this->segmentLabelAnnotations;
  96. }
  97. /**
  98. * @param Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2VideoSegment
  99. */
  100. public function setShotAnnotations($shotAnnotations)
  101. {
  102. $this->shotAnnotations = $shotAnnotations;
  103. }
  104. /**
  105. * @return Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2VideoSegment
  106. */
  107. public function getShotAnnotations()
  108. {
  109. return $this->shotAnnotations;
  110. }
  111. /**
  112. * @param Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2LabelAnnotation
  113. */
  114. public function setShotLabelAnnotations($shotLabelAnnotations)
  115. {
  116. $this->shotLabelAnnotations = $shotLabelAnnotations;
  117. }
  118. /**
  119. * @return Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2LabelAnnotation
  120. */
  121. public function getShotLabelAnnotations()
  122. {
  123. return $this->shotLabelAnnotations;
  124. }
  125. }