Datastore/src/V1/CommitResponse.php
public function setMutationResults($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Datastore\V1\MutationResult::class);
        $this->mutation_results = $arr;

        return $this;
    }
public function setMutationResults($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Datastore\V1\MutationResult::class);
        $this->mutation_results = $arr;

        return $this;
    }
public function setMutationResults ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Datastore \ V1 \ MutationResult :: class ) ; $ this -> mutation_results = $ arr ; return $ this ; }
The result of performing the mutations.
The i-th mutation result corresponds to the i-th mutation in the request.

Generated from protobuf field <code>repeated .google.datastore.v1.MutationResult mutation_results = 3;</code>
@param \Google\Cloud\Datastore\V1\MutationResult[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
The result of performing the mutations . The i - th mutation result corresponds to the i - th mutation in the request .