Vision/src/V1/TextAnnotation.php
public function setPages($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Vision\V1\Page::class);
        $this->pages = $arr;

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

        return $this;
    }
public function setPages ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Vision \ V1 \ Page :: class ) ; $ this -> pages = $ arr ; return $ this ; }
List of pages detected by OCR.

Generated from protobuf field <code>repeated .google.cloud.vision.v1.Page pages = 1;</code>
@param \Google\Cloud\Vision\V1\Page[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
List of pages detected by OCR .