Vision/src/V1/AsyncBatchAnnotateFilesRequest.php
public function setRequests($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Vision\V1\AsyncAnnotateFileRequest::class);
        $this->requests = $arr;

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

        return $this;
    }
public function setRequests ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Vision \ V1 \ AsyncAnnotateFileRequest :: class ) ; $ this -> requests = $ arr ; return $ this ; }
Individual async file annotation requests for this batch.

Generated from protobuf field <code>repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1;</code>
@param \Google\Cloud\Vision\V1\AsyncAnnotateFileRequest[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
Individual async file annotation requests for this batch .