source: vendor/google/apiclient-services/src/Vision/GoogleCloudVisionV1p2beta1AnnotateImageResponse.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 7.7 KB
Line 
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 GoogleCloudVisionV1p2beta1AnnotateImageResponse extends \Google\Collection
21{
22 protected $collection_key = 'textAnnotations';
23 protected $contextType = GoogleCloudVisionV1p2beta1ImageAnnotationContext::class;
24 protected $contextDataType = '';
25 protected $cropHintsAnnotationType = GoogleCloudVisionV1p2beta1CropHintsAnnotation::class;
26 protected $cropHintsAnnotationDataType = '';
27 protected $errorType = Status::class;
28 protected $errorDataType = '';
29 protected $faceAnnotationsType = GoogleCloudVisionV1p2beta1FaceAnnotation::class;
30 protected $faceAnnotationsDataType = 'array';
31 protected $fullTextAnnotationType = GoogleCloudVisionV1p2beta1TextAnnotation::class;
32 protected $fullTextAnnotationDataType = '';
33 protected $imagePropertiesAnnotationType = GoogleCloudVisionV1p2beta1ImageProperties::class;
34 protected $imagePropertiesAnnotationDataType = '';
35 protected $labelAnnotationsType = GoogleCloudVisionV1p2beta1EntityAnnotation::class;
36 protected $labelAnnotationsDataType = 'array';
37 protected $landmarkAnnotationsType = GoogleCloudVisionV1p2beta1EntityAnnotation::class;
38 protected $landmarkAnnotationsDataType = 'array';
39 protected $localizedObjectAnnotationsType = GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation::class;
40 protected $localizedObjectAnnotationsDataType = 'array';
41 protected $logoAnnotationsType = GoogleCloudVisionV1p2beta1EntityAnnotation::class;
42 protected $logoAnnotationsDataType = 'array';
43 protected $productSearchResultsType = GoogleCloudVisionV1p2beta1ProductSearchResults::class;
44 protected $productSearchResultsDataType = '';
45 protected $safeSearchAnnotationType = GoogleCloudVisionV1p2beta1SafeSearchAnnotation::class;
46 protected $safeSearchAnnotationDataType = '';
47 protected $textAnnotationsType = GoogleCloudVisionV1p2beta1EntityAnnotation::class;
48 protected $textAnnotationsDataType = 'array';
49 protected $webDetectionType = GoogleCloudVisionV1p2beta1WebDetection::class;
50 protected $webDetectionDataType = '';
51
52 /**
53 * @param GoogleCloudVisionV1p2beta1ImageAnnotationContext
54 */
55 public function setContext(GoogleCloudVisionV1p2beta1ImageAnnotationContext $context)
56 {
57 $this->context = $context;
58 }
59 /**
60 * @return GoogleCloudVisionV1p2beta1ImageAnnotationContext
61 */
62 public function getContext()
63 {
64 return $this->context;
65 }
66 /**
67 * @param GoogleCloudVisionV1p2beta1CropHintsAnnotation
68 */
69 public function setCropHintsAnnotation(GoogleCloudVisionV1p2beta1CropHintsAnnotation $cropHintsAnnotation)
70 {
71 $this->cropHintsAnnotation = $cropHintsAnnotation;
72 }
73 /**
74 * @return GoogleCloudVisionV1p2beta1CropHintsAnnotation
75 */
76 public function getCropHintsAnnotation()
77 {
78 return $this->cropHintsAnnotation;
79 }
80 /**
81 * @param Status
82 */
83 public function setError(Status $error)
84 {
85 $this->error = $error;
86 }
87 /**
88 * @return Status
89 */
90 public function getError()
91 {
92 return $this->error;
93 }
94 /**
95 * @param GoogleCloudVisionV1p2beta1FaceAnnotation[]
96 */
97 public function setFaceAnnotations($faceAnnotations)
98 {
99 $this->faceAnnotations = $faceAnnotations;
100 }
101 /**
102 * @return GoogleCloudVisionV1p2beta1FaceAnnotation[]
103 */
104 public function getFaceAnnotations()
105 {
106 return $this->faceAnnotations;
107 }
108 /**
109 * @param GoogleCloudVisionV1p2beta1TextAnnotation
110 */
111 public function setFullTextAnnotation(GoogleCloudVisionV1p2beta1TextAnnotation $fullTextAnnotation)
112 {
113 $this->fullTextAnnotation = $fullTextAnnotation;
114 }
115 /**
116 * @return GoogleCloudVisionV1p2beta1TextAnnotation
117 */
118 public function getFullTextAnnotation()
119 {
120 return $this->fullTextAnnotation;
121 }
122 /**
123 * @param GoogleCloudVisionV1p2beta1ImageProperties
124 */
125 public function setImagePropertiesAnnotation(GoogleCloudVisionV1p2beta1ImageProperties $imagePropertiesAnnotation)
126 {
127 $this->imagePropertiesAnnotation = $imagePropertiesAnnotation;
128 }
129 /**
130 * @return GoogleCloudVisionV1p2beta1ImageProperties
131 */
132 public function getImagePropertiesAnnotation()
133 {
134 return $this->imagePropertiesAnnotation;
135 }
136 /**
137 * @param GoogleCloudVisionV1p2beta1EntityAnnotation[]
138 */
139 public function setLabelAnnotations($labelAnnotations)
140 {
141 $this->labelAnnotations = $labelAnnotations;
142 }
143 /**
144 * @return GoogleCloudVisionV1p2beta1EntityAnnotation[]
145 */
146 public function getLabelAnnotations()
147 {
148 return $this->labelAnnotations;
149 }
150 /**
151 * @param GoogleCloudVisionV1p2beta1EntityAnnotation[]
152 */
153 public function setLandmarkAnnotations($landmarkAnnotations)
154 {
155 $this->landmarkAnnotations = $landmarkAnnotations;
156 }
157 /**
158 * @return GoogleCloudVisionV1p2beta1EntityAnnotation[]
159 */
160 public function getLandmarkAnnotations()
161 {
162 return $this->landmarkAnnotations;
163 }
164 /**
165 * @param GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation[]
166 */
167 public function setLocalizedObjectAnnotations($localizedObjectAnnotations)
168 {
169 $this->localizedObjectAnnotations = $localizedObjectAnnotations;
170 }
171 /**
172 * @return GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation[]
173 */
174 public function getLocalizedObjectAnnotations()
175 {
176 return $this->localizedObjectAnnotations;
177 }
178 /**
179 * @param GoogleCloudVisionV1p2beta1EntityAnnotation[]
180 */
181 public function setLogoAnnotations($logoAnnotations)
182 {
183 $this->logoAnnotations = $logoAnnotations;
184 }
185 /**
186 * @return GoogleCloudVisionV1p2beta1EntityAnnotation[]
187 */
188 public function getLogoAnnotations()
189 {
190 return $this->logoAnnotations;
191 }
192 /**
193 * @param GoogleCloudVisionV1p2beta1ProductSearchResults
194 */
195 public function setProductSearchResults(GoogleCloudVisionV1p2beta1ProductSearchResults $productSearchResults)
196 {
197 $this->productSearchResults = $productSearchResults;
198 }
199 /**
200 * @return GoogleCloudVisionV1p2beta1ProductSearchResults
201 */
202 public function getProductSearchResults()
203 {
204 return $this->productSearchResults;
205 }
206 /**
207 * @param GoogleCloudVisionV1p2beta1SafeSearchAnnotation
208 */
209 public function setSafeSearchAnnotation(GoogleCloudVisionV1p2beta1SafeSearchAnnotation $safeSearchAnnotation)
210 {
211 $this->safeSearchAnnotation = $safeSearchAnnotation;
212 }
213 /**
214 * @return GoogleCloudVisionV1p2beta1SafeSearchAnnotation
215 */
216 public function getSafeSearchAnnotation()
217 {
218 return $this->safeSearchAnnotation;
219 }
220 /**
221 * @param GoogleCloudVisionV1p2beta1EntityAnnotation[]
222 */
223 public function setTextAnnotations($textAnnotations)
224 {
225 $this->textAnnotations = $textAnnotations;
226 }
227 /**
228 * @return GoogleCloudVisionV1p2beta1EntityAnnotation[]
229 */
230 public function getTextAnnotations()
231 {
232 return $this->textAnnotations;
233 }
234 /**
235 * @param GoogleCloudVisionV1p2beta1WebDetection
236 */
237 public function setWebDetection(GoogleCloudVisionV1p2beta1WebDetection $webDetection)
238 {
239 $this->webDetection = $webDetection;
240 }
241 /**
242 * @return GoogleCloudVisionV1p2beta1WebDetection
243 */
244 public function getWebDetection()
245 {
246 return $this->webDetection;
247 }
248}
249
250// Adding a class alias for backwards compatibility with the previous class name.
251class_alias(GoogleCloudVisionV1p2beta1AnnotateImageResponse::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1AnnotateImageResponse');
Note: See TracBrowser for help on using the repository browser.