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
18namespace Google\Service\DataLabeling;
19
20class GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata extends \Google\Collection
21{
22  protected $collection_key = 'partialFailures';
23  /**
24   * @var string
25   */
26  public $annotatedDataset;
27  /**
28   * @var string
29   */
30  public $createTime;
31  /**
32   * @var string
33   */
34  public $dataset;
35  protected $imageBoundingBoxDetailsType = GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata::class;
36  protected $imageBoundingBoxDetailsDataType = '';
37  protected $imageBoundingPolyDetailsType = GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata::class;
38  protected $imageBoundingPolyDetailsDataType = '';
39  protected $imageClassificationDetailsType = GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata::class;
40  protected $imageClassificationDetailsDataType = '';
41  protected $imageOrientedBoundingBoxDetailsType = GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata::class;
42  protected $imageOrientedBoundingBoxDetailsDataType = '';
43  protected $imagePolylineDetailsType = GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata::class;
44  protected $imagePolylineDetailsDataType = '';
45  protected $imageSegmentationDetailsType = GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata::class;
46  protected $imageSegmentationDetailsDataType = '';
47  protected $partialFailuresType = GoogleRpcStatus::class;
48  protected $partialFailuresDataType = 'array';
49  /**
50   * @var int
51   */
52  public $progressPercent;
53  protected $textClassificationDetailsType = GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata::class;
54  protected $textClassificationDetailsDataType = '';
55  protected $textEntityExtractionDetailsType = GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata::class;
56  protected $textEntityExtractionDetailsDataType = '';
57  protected $videoClassificationDetailsType = GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata::class;
58  protected $videoClassificationDetailsDataType = '';
59  protected $videoEventDetailsType = GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata::class;
60  protected $videoEventDetailsDataType = '';
61  protected $videoObjectDetectionDetailsType = GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata::class;
62  protected $videoObjectDetectionDetailsDataType = '';
63  protected $videoObjectTrackingDetailsType = GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata::class;
64  protected $videoObjectTrackingDetailsDataType = '';
65
66  /**
67   * @param string
68   */
69  public function setAnnotatedDataset($annotatedDataset)
70  {
71    $this->annotatedDataset = $annotatedDataset;
72  }
73  /**
74   * @return string
75   */
76  public function getAnnotatedDataset()
77  {
78    return $this->annotatedDataset;
79  }
80  /**
81   * @param string
82   */
83  public function setCreateTime($createTime)
84  {
85    $this->createTime = $createTime;
86  }
87  /**
88   * @return string
89   */
90  public function getCreateTime()
91  {
92    return $this->createTime;
93  }
94  /**
95   * @param string
96   */
97  public function setDataset($dataset)
98  {
99    $this->dataset = $dataset;
100  }
101  /**
102   * @return string
103   */
104  public function getDataset()
105  {
106    return $this->dataset;
107  }
108  /**
109   * @param GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata
110   */
111  public function setImageBoundingBoxDetails(GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata $imageBoundingBoxDetails)
112  {
113    $this->imageBoundingBoxDetails = $imageBoundingBoxDetails;
114  }
115  /**
116   * @return GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata
117   */
118  public function getImageBoundingBoxDetails()
119  {
120    return $this->imageBoundingBoxDetails;
121  }
122  /**
123   * @param GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata
124   */
125  public function setImageBoundingPolyDetails(GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata $imageBoundingPolyDetails)
126  {
127    $this->imageBoundingPolyDetails = $imageBoundingPolyDetails;
128  }
129  /**
130   * @return GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata
131   */
132  public function getImageBoundingPolyDetails()
133  {
134    return $this->imageBoundingPolyDetails;
135  }
136  /**
137   * @param GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata
138   */
139  public function setImageClassificationDetails(GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata $imageClassificationDetails)
140  {
141    $this->imageClassificationDetails = $imageClassificationDetails;
142  }
143  /**
144   * @return GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata
145   */
146  public function getImageClassificationDetails()
147  {
148    return $this->imageClassificationDetails;
149  }
150  /**
151   * @param GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata
152   */
153  public function setImageOrientedBoundingBoxDetails(GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata $imageOrientedBoundingBoxDetails)
154  {
155    $this->imageOrientedBoundingBoxDetails = $imageOrientedBoundingBoxDetails;
156  }
157  /**
158   * @return GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata
159   */
160  public function getImageOrientedBoundingBoxDetails()
161  {
162    return $this->imageOrientedBoundingBoxDetails;
163  }
164  /**
165   * @param GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata
166   */
167  public function setImagePolylineDetails(GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata $imagePolylineDetails)
168  {
169    $this->imagePolylineDetails = $imagePolylineDetails;
170  }
171  /**
172   * @return GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata
173   */
174  public function getImagePolylineDetails()
175  {
176    return $this->imagePolylineDetails;
177  }
178  /**
179   * @param GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata
180   */
181  public function setImageSegmentationDetails(GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata $imageSegmentationDetails)
182  {
183    $this->imageSegmentationDetails = $imageSegmentationDetails;
184  }
185  /**
186   * @return GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata
187   */
188  public function getImageSegmentationDetails()
189  {
190    return $this->imageSegmentationDetails;
191  }
192  /**
193   * @param GoogleRpcStatus[]
194   */
195  public function setPartialFailures($partialFailures)
196  {
197    $this->partialFailures = $partialFailures;
198  }
199  /**
200   * @return GoogleRpcStatus[]
201   */
202  public function getPartialFailures()
203  {
204    return $this->partialFailures;
205  }
206  /**
207   * @param int
208   */
209  public function setProgressPercent($progressPercent)
210  {
211    $this->progressPercent = $progressPercent;
212  }
213  /**
214   * @return int
215   */
216  public function getProgressPercent()
217  {
218    return $this->progressPercent;
219  }
220  /**
221   * @param GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata
222   */
223  public function setTextClassificationDetails(GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata $textClassificationDetails)
224  {
225    $this->textClassificationDetails = $textClassificationDetails;
226  }
227  /**
228   * @return GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata
229   */
230  public function getTextClassificationDetails()
231  {
232    return $this->textClassificationDetails;
233  }
234  /**
235   * @param GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata
236   */
237  public function setTextEntityExtractionDetails(GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata $textEntityExtractionDetails)
238  {
239    $this->textEntityExtractionDetails = $textEntityExtractionDetails;
240  }
241  /**
242   * @return GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata
243   */
244  public function getTextEntityExtractionDetails()
245  {
246    return $this->textEntityExtractionDetails;
247  }
248  /**
249   * @param GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata
250   */
251  public function setVideoClassificationDetails(GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata $videoClassificationDetails)
252  {
253    $this->videoClassificationDetails = $videoClassificationDetails;
254  }
255  /**
256   * @return GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata
257   */
258  public function getVideoClassificationDetails()
259  {
260    return $this->videoClassificationDetails;
261  }
262  /**
263   * @param GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata
264   */
265  public function setVideoEventDetails(GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata $videoEventDetails)
266  {
267    $this->videoEventDetails = $videoEventDetails;
268  }
269  /**
270   * @return GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata
271   */
272  public function getVideoEventDetails()
273  {
274    return $this->videoEventDetails;
275  }
276  /**
277   * @param GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata
278   */
279  public function setVideoObjectDetectionDetails(GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata $videoObjectDetectionDetails)
280  {
281    $this->videoObjectDetectionDetails = $videoObjectDetectionDetails;
282  }
283  /**
284   * @return GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata
285   */
286  public function getVideoObjectDetectionDetails()
287  {
288    return $this->videoObjectDetectionDetails;
289  }
290  /**
291   * @param GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata
292   */
293  public function setVideoObjectTrackingDetails(GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata $videoObjectTrackingDetails)
294  {
295    $this->videoObjectTrackingDetails = $videoObjectTrackingDetails;
296  }
297  /**
298   * @return GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata
299   */
300  public function getVideoObjectTrackingDetails()
301  {
302    return $this->videoObjectTrackingDetails;
303  }
304}
305
306// Adding a class alias for backwards compatibility with the previous class name.
307class_alias(GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata');
308