Firestore/src/V1/ListDocumentsResponse.php
public function setDocuments($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Firestore\V1\Document::class);
        $this->documents = $arr;

        return $this;
    }
public function setDocuments($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Firestore\V1\Document::class);
        $this->documents = $arr;

        return $this;
    }
public function setDocuments ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Firestore \ V1 \ Document :: class ) ; $ this -> documents = $ arr ; return $ this ; }
The Documents found.

Generated from protobuf field <code>repeated .google.firestore.v1.Document documents = 1;</code>
@param \Google\Cloud\Firestore\V1\Document[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
The Documents found .