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\Vision;
19
20class GoogleCloudVisionV1p1beta1FaceAnnotation extends \Google\Collection
21{
22  protected $collection_key = 'landmarks';
23  /**
24   * @var string
25   */
26  public $angerLikelihood;
27  /**
28   * @var string
29   */
30  public $blurredLikelihood;
31  protected $boundingPolyType = GoogleCloudVisionV1p1beta1BoundingPoly::class;
32  protected $boundingPolyDataType = '';
33  /**
34   * @var float
35   */
36  public $detectionConfidence;
37  protected $fdBoundingPolyType = GoogleCloudVisionV1p1beta1BoundingPoly::class;
38  protected $fdBoundingPolyDataType = '';
39  /**
40   * @var string
41   */
42  public $headwearLikelihood;
43  /**
44   * @var string
45   */
46  public $joyLikelihood;
47  /**
48   * @var float
49   */
50  public $landmarkingConfidence;
51  protected $landmarksType = GoogleCloudVisionV1p1beta1FaceAnnotationLandmark::class;
52  protected $landmarksDataType = 'array';
53  /**
54   * @var float
55   */
56  public $panAngle;
57  /**
58   * @var float
59   */
60  public $rollAngle;
61  /**
62   * @var string
63   */
64  public $sorrowLikelihood;
65  /**
66   * @var string
67   */
68  public $surpriseLikelihood;
69  /**
70   * @var float
71   */
72  public $tiltAngle;
73  /**
74   * @var string
75   */
76  public $underExposedLikelihood;
77
78  /**
79   * @param string
80   */
81  public function setAngerLikelihood($angerLikelihood)
82  {
83    $this->angerLikelihood = $angerLikelihood;
84  }
85  /**
86   * @return string
87   */
88  public function getAngerLikelihood()
89  {
90    return $this->angerLikelihood;
91  }
92  /**
93   * @param string
94   */
95  public function setBlurredLikelihood($blurredLikelihood)
96  {
97    $this->blurredLikelihood = $blurredLikelihood;
98  }
99  /**
100   * @return string
101   */
102  public function getBlurredLikelihood()
103  {
104    return $this->blurredLikelihood;
105  }
106  /**
107   * @param GoogleCloudVisionV1p1beta1BoundingPoly
108   */
109  public function setBoundingPoly(GoogleCloudVisionV1p1beta1BoundingPoly $boundingPoly)
110  {
111    $this->boundingPoly = $boundingPoly;
112  }
113  /**
114   * @return GoogleCloudVisionV1p1beta1BoundingPoly
115   */
116  public function getBoundingPoly()
117  {
118    return $this->boundingPoly;
119  }
120  /**
121   * @param float
122   */
123  public function setDetectionConfidence($detectionConfidence)
124  {
125    $this->detectionConfidence = $detectionConfidence;
126  }
127  /**
128   * @return float
129   */
130  public function getDetectionConfidence()
131  {
132    return $this->detectionConfidence;
133  }
134  /**
135   * @param GoogleCloudVisionV1p1beta1BoundingPoly
136   */
137  public function setFdBoundingPoly(GoogleCloudVisionV1p1beta1BoundingPoly $fdBoundingPoly)
138  {
139    $this->fdBoundingPoly = $fdBoundingPoly;
140  }
141  /**
142   * @return GoogleCloudVisionV1p1beta1BoundingPoly
143   */
144  public function getFdBoundingPoly()
145  {
146    return $this->fdBoundingPoly;
147  }
148  /**
149   * @param string
150   */
151  public function setHeadwearLikelihood($headwearLikelihood)
152  {
153    $this->headwearLikelihood = $headwearLikelihood;
154  }
155  /**
156   * @return string
157   */
158  public function getHeadwearLikelihood()
159  {
160    return $this->headwearLikelihood;
161  }
162  /**
163   * @param string
164   */
165  public function setJoyLikelihood($joyLikelihood)
166  {
167    $this->joyLikelihood = $joyLikelihood;
168  }
169  /**
170   * @return string
171   */
172  public function getJoyLikelihood()
173  {
174    return $this->joyLikelihood;
175  }
176  /**
177   * @param float
178   */
179  public function setLandmarkingConfidence($landmarkingConfidence)
180  {
181    $this->landmarkingConfidence = $landmarkingConfidence;
182  }
183  /**
184   * @return float
185   */
186  public function getLandmarkingConfidence()
187  {
188    return $this->landmarkingConfidence;
189  }
190  /**
191   * @param GoogleCloudVisionV1p1beta1FaceAnnotationLandmark[]
192   */
193  public function setLandmarks($landmarks)
194  {
195    $this->landmarks = $landmarks;
196  }
197  /**
198   * @return GoogleCloudVisionV1p1beta1FaceAnnotationLandmark[]
199   */
200  public function getLandmarks()
201  {
202    return $this->landmarks;
203  }
204  /**
205   * @param float
206   */
207  public function setPanAngle($panAngle)
208  {
209    $this->panAngle = $panAngle;
210  }
211  /**
212   * @return float
213   */
214  public function getPanAngle()
215  {
216    return $this->panAngle;
217  }
218  /**
219   * @param float
220   */
221  public function setRollAngle($rollAngle)
222  {
223    $this->rollAngle = $rollAngle;
224  }
225  /**
226   * @return float
227   */
228  public function getRollAngle()
229  {
230    return $this->rollAngle;
231  }
232  /**
233   * @param string
234   */
235  public function setSorrowLikelihood($sorrowLikelihood)
236  {
237    $this->sorrowLikelihood = $sorrowLikelihood;
238  }
239  /**
240   * @return string
241   */
242  public function getSorrowLikelihood()
243  {
244    return $this->sorrowLikelihood;
245  }
246  /**
247   * @param string
248   */
249  public function setSurpriseLikelihood($surpriseLikelihood)
250  {
251    $this->surpriseLikelihood = $surpriseLikelihood;
252  }
253  /**
254   * @return string
255   */
256  public function getSurpriseLikelihood()
257  {
258    return $this->surpriseLikelihood;
259  }
260  /**
261   * @param float
262   */
263  public function setTiltAngle($tiltAngle)
264  {
265    $this->tiltAngle = $tiltAngle;
266  }
267  /**
268   * @return float
269   */
270  public function getTiltAngle()
271  {
272    return $this->tiltAngle;
273  }
274  /**
275   * @param string
276   */
277  public function setUnderExposedLikelihood($underExposedLikelihood)
278  {
279    $this->underExposedLikelihood = $underExposedLikelihood;
280  }
281  /**
282   * @return string
283   */
284  public function getUnderExposedLikelihood()
285  {
286    return $this->underExposedLikelihood;
287  }
288}
289
290// Adding a class alias for backwards compatibility with the previous class name.
291class_alias(GoogleCloudVisionV1p1beta1FaceAnnotation::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1FaceAnnotation');
292