context = $context;
}
/**
* @return ImageAnnotationContext
*/
public function getContext()
{
return $this->context;
}
/**
* @param CropHintsAnnotation
*/
public function setCropHintsAnnotation(CropHintsAnnotation $cropHintsAnnotation)
{
$this->cropHintsAnnotation = $cropHintsAnnotation;
}
/**
* @return CropHintsAnnotation
*/
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 FaceAnnotation[]
*/
public function setFaceAnnotations($faceAnnotations)
{
$this->faceAnnotations = $faceAnnotations;
}
/**
* @return FaceAnnotation[]
*/
public function getFaceAnnotations()
{
return $this->faceAnnotations;
}
/**
* @param TextAnnotation
*/
public function setFullTextAnnotation(TextAnnotation $fullTextAnnotation)
{
$this->fullTextAnnotation = $fullTextAnnotation;
}
/**
* @return TextAnnotation
*/
public function getFullTextAnnotation()
{
return $this->fullTextAnnotation;
}
/**
* @param ImageProperties
*/
public function setImagePropertiesAnnotation(ImageProperties $imagePropertiesAnnotation)
{
$this->imagePropertiesAnnotation = $imagePropertiesAnnotation;
}
/**
* @return ImageProperties
*/
public function getImagePropertiesAnnotation()
{
return $this->imagePropertiesAnnotation;
}
/**
* @param EntityAnnotation[]
*/
public function setLabelAnnotations($labelAnnotations)
{
$this->labelAnnotations = $labelAnnotations;
}
/**
* @return EntityAnnotation[]
*/
public function getLabelAnnotations()
{
return $this->labelAnnotations;
}
/**
* @param EntityAnnotation[]
*/
public function setLandmarkAnnotations($landmarkAnnotations)
{
$this->landmarkAnnotations = $landmarkAnnotations;
}
/**
* @return EntityAnnotation[]
*/
public function getLandmarkAnnotations()
{
return $this->landmarkAnnotations;
}
/**
* @param LocalizedObjectAnnotation[]
*/
public function setLocalizedObjectAnnotations($localizedObjectAnnotations)
{
$this->localizedObjectAnnotations = $localizedObjectAnnotations;
}
/**
* @return LocalizedObjectAnnotation[]
*/
public function getLocalizedObjectAnnotations()
{
return $this->localizedObjectAnnotations;
}
/**
* @param EntityAnnotation[]
*/
public function setLogoAnnotations($logoAnnotations)
{
$this->logoAnnotations = $logoAnnotations;
}
/**
* @return EntityAnnotation[]
*/
public function getLogoAnnotations()
{
return $this->logoAnnotations;
}
/**
* @param ProductSearchResults
*/
public function setProductSearchResults(ProductSearchResults $productSearchResults)
{
$this->productSearchResults = $productSearchResults;
}
/**
* @return ProductSearchResults
*/
public function getProductSearchResults()
{
return $this->productSearchResults;
}
/**
* @param SafeSearchAnnotation
*/
public function setSafeSearchAnnotation(SafeSearchAnnotation $safeSearchAnnotation)
{
$this->safeSearchAnnotation = $safeSearchAnnotation;
}
/**
* @return SafeSearchAnnotation
*/
public function getSafeSearchAnnotation()
{
return $this->safeSearchAnnotation;
}
/**
* @param EntityAnnotation[]
*/
public function setTextAnnotations($textAnnotations)
{
$this->textAnnotations = $textAnnotations;
}
/**
* @return EntityAnnotation[]
*/
public function getTextAnnotations()
{
return $this->textAnnotations;
}
/**
* @param WebDetection
*/
public function setWebDetection(WebDetection $webDetection)
{
$this->webDetection = $webDetection;
}
/**
* @return WebDetection
*/
public function getWebDetection()
{
return $this->webDetection;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AnnotateImageResponse::class, 'Google_Service_Vision_AnnotateImageResponse');