context = $context; } /** * @return GoogleCloudVisionV1p2beta1ImageAnnotationContext */ public function getContext() { return $this->context; } /** * @param GoogleCloudVisionV1p2beta1CropHintsAnnotation */ public function setCropHintsAnnotation(GoogleCloudVisionV1p2beta1CropHintsAnnotation $cropHintsAnnotation) { $this->cropHintsAnnotation = $cropHintsAnnotation; } /** * @return GoogleCloudVisionV1p2beta1CropHintsAnnotation */ public function getCropHintsAnnotation() { return $this->cropHintsAnnotation; } /** * @param Status */ public function setError(Status $error) { $this->error = $error; } /** * @return Status */ public function getError() { return $this->error; } /** * @param GoogleCloudVisionV1p2beta1FaceAnnotation[] */ public function setFaceAnnotations($faceAnnotations) { $this->faceAnnotations = $faceAnnotations; } /** * @return GoogleCloudVisionV1p2beta1FaceAnnotation[] */ public function getFaceAnnotations() { return $this->faceAnnotations; } /** * @param GoogleCloudVisionV1p2beta1TextAnnotation */ public function setFullTextAnnotation(GoogleCloudVisionV1p2beta1TextAnnotation $fullTextAnnotation) { $this->fullTextAnnotation = $fullTextAnnotation; } /** * @return GoogleCloudVisionV1p2beta1TextAnnotation */ public function getFullTextAnnotation() { return $this->fullTextAnnotation; } /** * @param GoogleCloudVisionV1p2beta1ImageProperties */ public function setImagePropertiesAnnotation(GoogleCloudVisionV1p2beta1ImageProperties $imagePropertiesAnnotation) { $this->imagePropertiesAnnotation = $imagePropertiesAnnotation; } /** * @return GoogleCloudVisionV1p2beta1ImageProperties */ public function getImagePropertiesAnnotation() { return $this->imagePropertiesAnnotation; } /** * @param GoogleCloudVisionV1p2beta1EntityAnnotation[] */ public function setLabelAnnotations($labelAnnotations) { $this->labelAnnotations = $labelAnnotations; } /** * @return GoogleCloudVisionV1p2beta1EntityAnnotation[] */ public function getLabelAnnotations() { return $this->labelAnnotations; } /** * @param GoogleCloudVisionV1p2beta1EntityAnnotation[] */ public function setLandmarkAnnotations($landmarkAnnotations) { $this->landmarkAnnotations = $landmarkAnnotations; } /** * @return GoogleCloudVisionV1p2beta1EntityAnnotation[] */ public function getLandmarkAnnotations() { return $this->landmarkAnnotations; } /** * @param GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation[] */ public function setLocalizedObjectAnnotations($localizedObjectAnnotations) { $this->localizedObjectAnnotations = $localizedObjectAnnotations; } /** * @return GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation[] */ public function getLocalizedObjectAnnotations() { return $this->localizedObjectAnnotations; } /** * @param GoogleCloudVisionV1p2beta1EntityAnnotation[] */ public function setLogoAnnotations($logoAnnotations) { $this->logoAnnotations = $logoAnnotations; } /** * @return GoogleCloudVisionV1p2beta1EntityAnnotation[] */ public function getLogoAnnotations() { return $this->logoAnnotations; } /** * @param GoogleCloudVisionV1p2beta1ProductSearchResults */ public function setProductSearchResults(GoogleCloudVisionV1p2beta1ProductSearchResults $productSearchResults) { $this->productSearchResults = $productSearchResults; } /** * @return GoogleCloudVisionV1p2beta1ProductSearchResults */ public function getProductSearchResults() { return $this->productSearchResults; } /** * @param GoogleCloudVisionV1p2beta1SafeSearchAnnotation */ public function setSafeSearchAnnotation(GoogleCloudVisionV1p2beta1SafeSearchAnnotation $safeSearchAnnotation) { $this->safeSearchAnnotation = $safeSearchAnnotation; } /** * @return GoogleCloudVisionV1p2beta1SafeSearchAnnotation */ public function getSafeSearchAnnotation() { return $this->safeSearchAnnotation; } /** * @param GoogleCloudVisionV1p2beta1EntityAnnotation[] */ public function setTextAnnotations($textAnnotations) { $this->textAnnotations = $textAnnotations; } /** * @return GoogleCloudVisionV1p2beta1EntityAnnotation[] */ public function getTextAnnotations() { return $this->textAnnotations; } /** * @param GoogleCloudVisionV1p2beta1WebDetection */ public function setWebDetection(GoogleCloudVisionV1p2beta1WebDetection $webDetection) { $this->webDetection = $webDetection; } /** * @return GoogleCloudVisionV1p2beta1WebDetection */ public function getWebDetection() { return $this->webDetection; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudVisionV1p2beta1AnnotateImageResponse::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1AnnotateImageResponse');