Vision/src/V1/AsyncBatchAnnotateFilesResponse.php
public function setResponses($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Vision\V1\AsyncAnnotateFileResponse::class);
        $this->responses = $arr;

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

        return $this;
    }
public function setResponses ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Vision \ V1 \ AsyncAnnotateFileResponse :: class ) ; $ this -> responses = $ arr ; return $ this ; }
The list of file annotation responses, one for each request in
AsyncBatchAnnotateFilesRequest.

Generated from protobuf field <code>repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;</code>
@param \Google\Cloud\Vision\V1\AsyncAnnotateFileResponse[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
The list of file annotation responses one for each request in AsyncBatchAnnotateFilesRequest .