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
18class Google_Service_Vision_GoogleCloudVisionV1p4beta1FaceAnnotation extends Google_Collection
19{
20  protected $collection_key = 'recognitionResult';
21  public $angerLikelihood;
22  public $blurredLikelihood;
23  protected $boundingPolyType = 'Google_Service_Vision_GoogleCloudVisionV1p4beta1BoundingPoly';
24  protected $boundingPolyDataType = '';
25  public $detectionConfidence;
26  protected $fdBoundingPolyType = 'Google_Service_Vision_GoogleCloudVisionV1p4beta1BoundingPoly';
27  protected $fdBoundingPolyDataType = '';
28  public $headwearLikelihood;
29  public $joyLikelihood;
30  public $landmarkingConfidence;
31  protected $landmarksType = 'Google_Service_Vision_GoogleCloudVisionV1p4beta1FaceAnnotationLandmark';
32  protected $landmarksDataType = 'array';
33  public $panAngle;
34  protected $recognitionResultType = 'Google_Service_Vision_GoogleCloudVisionV1p4beta1FaceRecognitionResult';
35  protected $recognitionResultDataType = 'array';
36  public $rollAngle;
37  public $sorrowLikelihood;
38  public $surpriseLikelihood;
39  public $tiltAngle;
40  public $underExposedLikelihood;
41
42  public function setAngerLikelihood($angerLikelihood)
43  {
44    $this->angerLikelihood = $angerLikelihood;
45  }
46  public function getAngerLikelihood()
47  {
48    return $this->angerLikelihood;
49  }
50  public function setBlurredLikelihood($blurredLikelihood)
51  {
52    $this->blurredLikelihood = $blurredLikelihood;
53  }
54  public function getBlurredLikelihood()
55  {
56    return $this->blurredLikelihood;
57  }
58  /**
59   * @param Google_Service_Vision_GoogleCloudVisionV1p4beta1BoundingPoly
60   */
61  public function setBoundingPoly(Google_Service_Vision_GoogleCloudVisionV1p4beta1BoundingPoly $boundingPoly)
62  {
63    $this->boundingPoly = $boundingPoly;
64  }
65  /**
66   * @return Google_Service_Vision_GoogleCloudVisionV1p4beta1BoundingPoly
67   */
68  public function getBoundingPoly()
69  {
70    return $this->boundingPoly;
71  }
72  public function setDetectionConfidence($detectionConfidence)
73  {
74    $this->detectionConfidence = $detectionConfidence;
75  }
76  public function getDetectionConfidence()
77  {
78    return $this->detectionConfidence;
79  }
80  /**
81   * @param Google_Service_Vision_GoogleCloudVisionV1p4beta1BoundingPoly
82   */
83  public function setFdBoundingPoly(Google_Service_Vision_GoogleCloudVisionV1p4beta1BoundingPoly $fdBoundingPoly)
84  {
85    $this->fdBoundingPoly = $fdBoundingPoly;
86  }
87  /**
88   * @return Google_Service_Vision_GoogleCloudVisionV1p4beta1BoundingPoly
89   */
90  public function getFdBoundingPoly()
91  {
92    return $this->fdBoundingPoly;
93  }
94  public function setHeadwearLikelihood($headwearLikelihood)
95  {
96    $this->headwearLikelihood = $headwearLikelihood;
97  }
98  public function getHeadwearLikelihood()
99  {
100    return $this->headwearLikelihood;
101  }
102  public function setJoyLikelihood($joyLikelihood)
103  {
104    $this->joyLikelihood = $joyLikelihood;
105  }
106  public function getJoyLikelihood()
107  {
108    return $this->joyLikelihood;
109  }
110  public function setLandmarkingConfidence($landmarkingConfidence)
111  {
112    $this->landmarkingConfidence = $landmarkingConfidence;
113  }
114  public function getLandmarkingConfidence()
115  {
116    return $this->landmarkingConfidence;
117  }
118  /**
119   * @param Google_Service_Vision_GoogleCloudVisionV1p4beta1FaceAnnotationLandmark[]
120   */
121  public function setLandmarks($landmarks)
122  {
123    $this->landmarks = $landmarks;
124  }
125  /**
126   * @return Google_Service_Vision_GoogleCloudVisionV1p4beta1FaceAnnotationLandmark[]
127   */
128  public function getLandmarks()
129  {
130    return $this->landmarks;
131  }
132  public function setPanAngle($panAngle)
133  {
134    $this->panAngle = $panAngle;
135  }
136  public function getPanAngle()
137  {
138    return $this->panAngle;
139  }
140  /**
141   * @param Google_Service_Vision_GoogleCloudVisionV1p4beta1FaceRecognitionResult[]
142   */
143  public function setRecognitionResult($recognitionResult)
144  {
145    $this->recognitionResult = $recognitionResult;
146  }
147  /**
148   * @return Google_Service_Vision_GoogleCloudVisionV1p4beta1FaceRecognitionResult[]
149   */
150  public function getRecognitionResult()
151  {
152    return $this->recognitionResult;
153  }
154  public function setRollAngle($rollAngle)
155  {
156    $this->rollAngle = $rollAngle;
157  }
158  public function getRollAngle()
159  {
160    return $this->rollAngle;
161  }
162  public function setSorrowLikelihood($sorrowLikelihood)
163  {
164    $this->sorrowLikelihood = $sorrowLikelihood;
165  }
166  public function getSorrowLikelihood()
167  {
168    return $this->sorrowLikelihood;
169  }
170  public function setSurpriseLikelihood($surpriseLikelihood)
171  {
172    $this->surpriseLikelihood = $surpriseLikelihood;
173  }
174  public function getSurpriseLikelihood()
175  {
176    return $this->surpriseLikelihood;
177  }
178  public function setTiltAngle($tiltAngle)
179  {
180    $this->tiltAngle = $tiltAngle;
181  }
182  public function getTiltAngle()
183  {
184    return $this->tiltAngle;
185  }
186  public function setUnderExposedLikelihood($underExposedLikelihood)
187  {
188    $this->underExposedLikelihood = $underExposedLikelihood;
189  }
190  public function getUnderExposedLikelihood()
191  {
192    return $this->underExposedLikelihood;
193  }
194}
195