boundingPoly = $boundingPoly; } /** * @return GoogleCloudVisionV1p4beta1BoundingPoly */ public function getBoundingPoly() { return $this->boundingPoly; } /** * The BCP-47 language code, such as "en-US" or "sr-Latn". For more * information, see * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. * * @param string $languageCode */ public function setLanguageCode($languageCode) { $this->languageCode = $languageCode; } /** * @return string */ public function getLanguageCode() { return $this->languageCode; } /** * Object ID that should align with EntityAnnotation mid. * * @param string $mid */ public function setMid($mid) { $this->mid = $mid; } /** * @return string */ public function getMid() { return $this->mid; } /** * Object name, expressed in its `language_code` language. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Score of the result. Range [0, 1]. * * @param float $score */ public function setScore($score) { $this->score = $score; } /** * @return float */ public function getScore() { return $this->score; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation::class, 'Google_Service_Vision_GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation');