Firestore/src/V1beta1/CommitResponse.php
public function setWriteResults($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Firestore\V1beta1\WriteResult::class);
        $this->write_results = $arr;

        return $this;
    }
public function setWriteResults($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Firestore\V1beta1\WriteResult::class);
        $this->write_results = $arr;

        return $this;
    }
public function setWriteResults ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Firestore \ V1beta1 \ WriteResult :: class ) ; $ this -> write_results = $ arr ; return $ this ; }
The result of applying the writes.
This i-th write result corresponds to the i-th write in the
request.

Generated from protobuf field <code>repeated .google.firestore.v1beta1.WriteResult write_results = 1;</code>
@param \Google\Cloud\Firestore\V1beta1\WriteResult[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
The result of applying the writes . This i - th write result corresponds to the i - th write in the request .