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\Aiplatform;
|
---|
19 |
|
---|
20 | class GoogleCloudAiplatformV1DataLabelingJob extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'specialistPools';
|
---|
23 | protected $activeLearningConfigType = GoogleCloudAiplatformV1ActiveLearningConfig::class;
|
---|
24 | protected $activeLearningConfigDataType = '';
|
---|
25 | /**
|
---|
26 | * @var string[]
|
---|
27 | */
|
---|
28 | public $annotationLabels;
|
---|
29 | /**
|
---|
30 | * @var string
|
---|
31 | */
|
---|
32 | public $createTime;
|
---|
33 | protected $currentSpendType = GoogleTypeMoney::class;
|
---|
34 | protected $currentSpendDataType = '';
|
---|
35 | /**
|
---|
36 | * @var string[]
|
---|
37 | */
|
---|
38 | public $datasets;
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $displayName;
|
---|
43 | protected $encryptionSpecType = GoogleCloudAiplatformV1EncryptionSpec::class;
|
---|
44 | protected $encryptionSpecDataType = '';
|
---|
45 | protected $errorType = GoogleRpcStatus::class;
|
---|
46 | protected $errorDataType = '';
|
---|
47 | /**
|
---|
48 | * @var array
|
---|
49 | */
|
---|
50 | public $inputs;
|
---|
51 | /**
|
---|
52 | * @var string
|
---|
53 | */
|
---|
54 | public $inputsSchemaUri;
|
---|
55 | /**
|
---|
56 | * @var string
|
---|
57 | */
|
---|
58 | public $instructionUri;
|
---|
59 | /**
|
---|
60 | * @var int
|
---|
61 | */
|
---|
62 | public $labelerCount;
|
---|
63 | /**
|
---|
64 | * @var int
|
---|
65 | */
|
---|
66 | public $labelingProgress;
|
---|
67 | /**
|
---|
68 | * @var string[]
|
---|
69 | */
|
---|
70 | public $labels;
|
---|
71 | /**
|
---|
72 | * @var string
|
---|
73 | */
|
---|
74 | public $name;
|
---|
75 | /**
|
---|
76 | * @var string[]
|
---|
77 | */
|
---|
78 | public $specialistPools;
|
---|
79 | /**
|
---|
80 | * @var string
|
---|
81 | */
|
---|
82 | public $state;
|
---|
83 | /**
|
---|
84 | * @var string
|
---|
85 | */
|
---|
86 | public $updateTime;
|
---|
87 |
|
---|
88 | /**
|
---|
89 | * @param GoogleCloudAiplatformV1ActiveLearningConfig
|
---|
90 | */
|
---|
91 | public function setActiveLearningConfig(GoogleCloudAiplatformV1ActiveLearningConfig $activeLearningConfig)
|
---|
92 | {
|
---|
93 | $this->activeLearningConfig = $activeLearningConfig;
|
---|
94 | }
|
---|
95 | /**
|
---|
96 | * @return GoogleCloudAiplatformV1ActiveLearningConfig
|
---|
97 | */
|
---|
98 | public function getActiveLearningConfig()
|
---|
99 | {
|
---|
100 | return $this->activeLearningConfig;
|
---|
101 | }
|
---|
102 | /**
|
---|
103 | * @param string[]
|
---|
104 | */
|
---|
105 | public function setAnnotationLabels($annotationLabels)
|
---|
106 | {
|
---|
107 | $this->annotationLabels = $annotationLabels;
|
---|
108 | }
|
---|
109 | /**
|
---|
110 | * @return string[]
|
---|
111 | */
|
---|
112 | public function getAnnotationLabels()
|
---|
113 | {
|
---|
114 | return $this->annotationLabels;
|
---|
115 | }
|
---|
116 | /**
|
---|
117 | * @param string
|
---|
118 | */
|
---|
119 | public function setCreateTime($createTime)
|
---|
120 | {
|
---|
121 | $this->createTime = $createTime;
|
---|
122 | }
|
---|
123 | /**
|
---|
124 | * @return string
|
---|
125 | */
|
---|
126 | public function getCreateTime()
|
---|
127 | {
|
---|
128 | return $this->createTime;
|
---|
129 | }
|
---|
130 | /**
|
---|
131 | * @param GoogleTypeMoney
|
---|
132 | */
|
---|
133 | public function setCurrentSpend(GoogleTypeMoney $currentSpend)
|
---|
134 | {
|
---|
135 | $this->currentSpend = $currentSpend;
|
---|
136 | }
|
---|
137 | /**
|
---|
138 | * @return GoogleTypeMoney
|
---|
139 | */
|
---|
140 | public function getCurrentSpend()
|
---|
141 | {
|
---|
142 | return $this->currentSpend;
|
---|
143 | }
|
---|
144 | /**
|
---|
145 | * @param string[]
|
---|
146 | */
|
---|
147 | public function setDatasets($datasets)
|
---|
148 | {
|
---|
149 | $this->datasets = $datasets;
|
---|
150 | }
|
---|
151 | /**
|
---|
152 | * @return string[]
|
---|
153 | */
|
---|
154 | public function getDatasets()
|
---|
155 | {
|
---|
156 | return $this->datasets;
|
---|
157 | }
|
---|
158 | /**
|
---|
159 | * @param string
|
---|
160 | */
|
---|
161 | public function setDisplayName($displayName)
|
---|
162 | {
|
---|
163 | $this->displayName = $displayName;
|
---|
164 | }
|
---|
165 | /**
|
---|
166 | * @return string
|
---|
167 | */
|
---|
168 | public function getDisplayName()
|
---|
169 | {
|
---|
170 | return $this->displayName;
|
---|
171 | }
|
---|
172 | /**
|
---|
173 | * @param GoogleCloudAiplatformV1EncryptionSpec
|
---|
174 | */
|
---|
175 | public function setEncryptionSpec(GoogleCloudAiplatformV1EncryptionSpec $encryptionSpec)
|
---|
176 | {
|
---|
177 | $this->encryptionSpec = $encryptionSpec;
|
---|
178 | }
|
---|
179 | /**
|
---|
180 | * @return GoogleCloudAiplatformV1EncryptionSpec
|
---|
181 | */
|
---|
182 | public function getEncryptionSpec()
|
---|
183 | {
|
---|
184 | return $this->encryptionSpec;
|
---|
185 | }
|
---|
186 | /**
|
---|
187 | * @param GoogleRpcStatus
|
---|
188 | */
|
---|
189 | public function setError(GoogleRpcStatus $error)
|
---|
190 | {
|
---|
191 | $this->error = $error;
|
---|
192 | }
|
---|
193 | /**
|
---|
194 | * @return GoogleRpcStatus
|
---|
195 | */
|
---|
196 | public function getError()
|
---|
197 | {
|
---|
198 | return $this->error;
|
---|
199 | }
|
---|
200 | /**
|
---|
201 | * @param array
|
---|
202 | */
|
---|
203 | public function setInputs($inputs)
|
---|
204 | {
|
---|
205 | $this->inputs = $inputs;
|
---|
206 | }
|
---|
207 | /**
|
---|
208 | * @return array
|
---|
209 | */
|
---|
210 | public function getInputs()
|
---|
211 | {
|
---|
212 | return $this->inputs;
|
---|
213 | }
|
---|
214 | /**
|
---|
215 | * @param string
|
---|
216 | */
|
---|
217 | public function setInputsSchemaUri($inputsSchemaUri)
|
---|
218 | {
|
---|
219 | $this->inputsSchemaUri = $inputsSchemaUri;
|
---|
220 | }
|
---|
221 | /**
|
---|
222 | * @return string
|
---|
223 | */
|
---|
224 | public function getInputsSchemaUri()
|
---|
225 | {
|
---|
226 | return $this->inputsSchemaUri;
|
---|
227 | }
|
---|
228 | /**
|
---|
229 | * @param string
|
---|
230 | */
|
---|
231 | public function setInstructionUri($instructionUri)
|
---|
232 | {
|
---|
233 | $this->instructionUri = $instructionUri;
|
---|
234 | }
|
---|
235 | /**
|
---|
236 | * @return string
|
---|
237 | */
|
---|
238 | public function getInstructionUri()
|
---|
239 | {
|
---|
240 | return $this->instructionUri;
|
---|
241 | }
|
---|
242 | /**
|
---|
243 | * @param int
|
---|
244 | */
|
---|
245 | public function setLabelerCount($labelerCount)
|
---|
246 | {
|
---|
247 | $this->labelerCount = $labelerCount;
|
---|
248 | }
|
---|
249 | /**
|
---|
250 | * @return int
|
---|
251 | */
|
---|
252 | public function getLabelerCount()
|
---|
253 | {
|
---|
254 | return $this->labelerCount;
|
---|
255 | }
|
---|
256 | /**
|
---|
257 | * @param int
|
---|
258 | */
|
---|
259 | public function setLabelingProgress($labelingProgress)
|
---|
260 | {
|
---|
261 | $this->labelingProgress = $labelingProgress;
|
---|
262 | }
|
---|
263 | /**
|
---|
264 | * @return int
|
---|
265 | */
|
---|
266 | public function getLabelingProgress()
|
---|
267 | {
|
---|
268 | return $this->labelingProgress;
|
---|
269 | }
|
---|
270 | /**
|
---|
271 | * @param string[]
|
---|
272 | */
|
---|
273 | public function setLabels($labels)
|
---|
274 | {
|
---|
275 | $this->labels = $labels;
|
---|
276 | }
|
---|
277 | /**
|
---|
278 | * @return string[]
|
---|
279 | */
|
---|
280 | public function getLabels()
|
---|
281 | {
|
---|
282 | return $this->labels;
|
---|
283 | }
|
---|
284 | /**
|
---|
285 | * @param string
|
---|
286 | */
|
---|
287 | public function setName($name)
|
---|
288 | {
|
---|
289 | $this->name = $name;
|
---|
290 | }
|
---|
291 | /**
|
---|
292 | * @return string
|
---|
293 | */
|
---|
294 | public function getName()
|
---|
295 | {
|
---|
296 | return $this->name;
|
---|
297 | }
|
---|
298 | /**
|
---|
299 | * @param string[]
|
---|
300 | */
|
---|
301 | public function setSpecialistPools($specialistPools)
|
---|
302 | {
|
---|
303 | $this->specialistPools = $specialistPools;
|
---|
304 | }
|
---|
305 | /**
|
---|
306 | * @return string[]
|
---|
307 | */
|
---|
308 | public function getSpecialistPools()
|
---|
309 | {
|
---|
310 | return $this->specialistPools;
|
---|
311 | }
|
---|
312 | /**
|
---|
313 | * @param string
|
---|
314 | */
|
---|
315 | public function setState($state)
|
---|
316 | {
|
---|
317 | $this->state = $state;
|
---|
318 | }
|
---|
319 | /**
|
---|
320 | * @return string
|
---|
321 | */
|
---|
322 | public function getState()
|
---|
323 | {
|
---|
324 | return $this->state;
|
---|
325 | }
|
---|
326 | /**
|
---|
327 | * @param string
|
---|
328 | */
|
---|
329 | public function setUpdateTime($updateTime)
|
---|
330 | {
|
---|
331 | $this->updateTime = $updateTime;
|
---|
332 | }
|
---|
333 | /**
|
---|
334 | * @return string
|
---|
335 | */
|
---|
336 | public function getUpdateTime()
|
---|
337 | {
|
---|
338 | return $this->updateTime;
|
---|
339 | }
|
---|
340 | }
|
---|
341 |
|
---|
342 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
343 | class_alias(GoogleCloudAiplatformV1DataLabelingJob::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1DataLabelingJob');
|
---|