Vision/src/V1/AnnotateImageResponse.php
public function setLocalizedObjectAnnotations($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Vision\V1\LocalizedObjectAnnotation::class);
        $this->localized_object_annotations = $arr;

        return $this;
    }
public function setLocalizedObjectAnnotations($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Vision\V1\LocalizedObjectAnnotation::class);
        $this->localized_object_annotations = $arr;

        return $this;
    }
public function setLocalizedObjectAnnotations ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Vision \ V1 \ LocalizedObjectAnnotation :: class ) ; $ this -> localized_object_annotations = $ arr ; return $ this ; }
If present, localized object detection has completed successfully.
This will be sorted descending by confidence score.

Generated from protobuf field <code>repeated .google.cloud.vision.v1.LocalizedObjectAnnotation localized_object_annotations = 22;</code>
@param \Google\Cloud\Vision\V1\LocalizedObjectAnnotation[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
If present localized object detection has completed successfully . This will be sorted descending by confidence score .