Datastore/src/V1/QueryResultBatch.php
public function setEntityResults($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Datastore\V1\EntityResult::class);
        $this->entity_results = $arr;

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

        return $this;
    }
public function setEntityResults ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Datastore \ V1 \ EntityResult :: class ) ; $ this -> entity_results = $ arr ; return $ this ; }
The results for this batch.

Generated from protobuf field <code>repeated .google.datastore.v1.EntityResult entity_results = 2;</code>
@param \Google\Cloud\Datastore\V1\EntityResult[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
The results for this batch .