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\DataLabeling;
|
---|
19 |
|
---|
20 | class GoogleCloudDatalabelingV1beta1AnnotationValue extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $imageBoundingPolyAnnotationType = GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation::class;
|
---|
23 | protected $imageBoundingPolyAnnotationDataType = '';
|
---|
24 | protected $imageClassificationAnnotationType = GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation::class;
|
---|
25 | protected $imageClassificationAnnotationDataType = '';
|
---|
26 | protected $imagePolylineAnnotationType = GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation::class;
|
---|
27 | protected $imagePolylineAnnotationDataType = '';
|
---|
28 | protected $imageSegmentationAnnotationType = GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation::class;
|
---|
29 | protected $imageSegmentationAnnotationDataType = '';
|
---|
30 | protected $textClassificationAnnotationType = GoogleCloudDatalabelingV1beta1TextClassificationAnnotation::class;
|
---|
31 | protected $textClassificationAnnotationDataType = '';
|
---|
32 | protected $textEntityExtractionAnnotationType = GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation::class;
|
---|
33 | protected $textEntityExtractionAnnotationDataType = '';
|
---|
34 | protected $videoClassificationAnnotationType = GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation::class;
|
---|
35 | protected $videoClassificationAnnotationDataType = '';
|
---|
36 | protected $videoEventAnnotationType = GoogleCloudDatalabelingV1beta1VideoEventAnnotation::class;
|
---|
37 | protected $videoEventAnnotationDataType = '';
|
---|
38 | protected $videoObjectTrackingAnnotationType = GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation::class;
|
---|
39 | protected $videoObjectTrackingAnnotationDataType = '';
|
---|
40 |
|
---|
41 | /**
|
---|
42 | * @param GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation
|
---|
43 | */
|
---|
44 | public function setImageBoundingPolyAnnotation(GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation $imageBoundingPolyAnnotation)
|
---|
45 | {
|
---|
46 | $this->imageBoundingPolyAnnotation = $imageBoundingPolyAnnotation;
|
---|
47 | }
|
---|
48 | /**
|
---|
49 | * @return GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation
|
---|
50 | */
|
---|
51 | public function getImageBoundingPolyAnnotation()
|
---|
52 | {
|
---|
53 | return $this->imageBoundingPolyAnnotation;
|
---|
54 | }
|
---|
55 | /**
|
---|
56 | * @param GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation
|
---|
57 | */
|
---|
58 | public function setImageClassificationAnnotation(GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation $imageClassificationAnnotation)
|
---|
59 | {
|
---|
60 | $this->imageClassificationAnnotation = $imageClassificationAnnotation;
|
---|
61 | }
|
---|
62 | /**
|
---|
63 | * @return GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation
|
---|
64 | */
|
---|
65 | public function getImageClassificationAnnotation()
|
---|
66 | {
|
---|
67 | return $this->imageClassificationAnnotation;
|
---|
68 | }
|
---|
69 | /**
|
---|
70 | * @param GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation
|
---|
71 | */
|
---|
72 | public function setImagePolylineAnnotation(GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation $imagePolylineAnnotation)
|
---|
73 | {
|
---|
74 | $this->imagePolylineAnnotation = $imagePolylineAnnotation;
|
---|
75 | }
|
---|
76 | /**
|
---|
77 | * @return GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation
|
---|
78 | */
|
---|
79 | public function getImagePolylineAnnotation()
|
---|
80 | {
|
---|
81 | return $this->imagePolylineAnnotation;
|
---|
82 | }
|
---|
83 | /**
|
---|
84 | * @param GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation
|
---|
85 | */
|
---|
86 | public function setImageSegmentationAnnotation(GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation $imageSegmentationAnnotation)
|
---|
87 | {
|
---|
88 | $this->imageSegmentationAnnotation = $imageSegmentationAnnotation;
|
---|
89 | }
|
---|
90 | /**
|
---|
91 | * @return GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation
|
---|
92 | */
|
---|
93 | public function getImageSegmentationAnnotation()
|
---|
94 | {
|
---|
95 | return $this->imageSegmentationAnnotation;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @param GoogleCloudDatalabelingV1beta1TextClassificationAnnotation
|
---|
99 | */
|
---|
100 | public function setTextClassificationAnnotation(GoogleCloudDatalabelingV1beta1TextClassificationAnnotation $textClassificationAnnotation)
|
---|
101 | {
|
---|
102 | $this->textClassificationAnnotation = $textClassificationAnnotation;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @return GoogleCloudDatalabelingV1beta1TextClassificationAnnotation
|
---|
106 | */
|
---|
107 | public function getTextClassificationAnnotation()
|
---|
108 | {
|
---|
109 | return $this->textClassificationAnnotation;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @param GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation
|
---|
113 | */
|
---|
114 | public function setTextEntityExtractionAnnotation(GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation $textEntityExtractionAnnotation)
|
---|
115 | {
|
---|
116 | $this->textEntityExtractionAnnotation = $textEntityExtractionAnnotation;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @return GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation
|
---|
120 | */
|
---|
121 | public function getTextEntityExtractionAnnotation()
|
---|
122 | {
|
---|
123 | return $this->textEntityExtractionAnnotation;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @param GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation
|
---|
127 | */
|
---|
128 | public function setVideoClassificationAnnotation(GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation $videoClassificationAnnotation)
|
---|
129 | {
|
---|
130 | $this->videoClassificationAnnotation = $videoClassificationAnnotation;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @return GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation
|
---|
134 | */
|
---|
135 | public function getVideoClassificationAnnotation()
|
---|
136 | {
|
---|
137 | return $this->videoClassificationAnnotation;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @param GoogleCloudDatalabelingV1beta1VideoEventAnnotation
|
---|
141 | */
|
---|
142 | public function setVideoEventAnnotation(GoogleCloudDatalabelingV1beta1VideoEventAnnotation $videoEventAnnotation)
|
---|
143 | {
|
---|
144 | $this->videoEventAnnotation = $videoEventAnnotation;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @return GoogleCloudDatalabelingV1beta1VideoEventAnnotation
|
---|
148 | */
|
---|
149 | public function getVideoEventAnnotation()
|
---|
150 | {
|
---|
151 | return $this->videoEventAnnotation;
|
---|
152 | }
|
---|
153 | /**
|
---|
154 | * @param GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation
|
---|
155 | */
|
---|
156 | public function setVideoObjectTrackingAnnotation(GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation $videoObjectTrackingAnnotation)
|
---|
157 | {
|
---|
158 | $this->videoObjectTrackingAnnotation = $videoObjectTrackingAnnotation;
|
---|
159 | }
|
---|
160 | /**
|
---|
161 | * @return GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation
|
---|
162 | */
|
---|
163 | public function getVideoObjectTrackingAnnotation()
|
---|
164 | {
|
---|
165 | return $this->videoObjectTrackingAnnotation;
|
---|
166 | }
|
---|
167 | }
|
---|
168 |
|
---|
169 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
170 | class_alias(GoogleCloudDatalabelingV1beta1AnnotationValue::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1AnnotationValue');
|
---|