Datastore/src/V1/RunQueryRequest.php
public function setQuery($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Datastore\V1\Query::class);
        $this->writeOneof(3, $var);

        return $this;
    }
public function setQuery($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Datastore\V1\Query::class);
        $this->writeOneof(3, $var);

        return $this;
    }
public function setQuery ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Datastore \ V1 \ Query :: class ) ; $ this -> writeOneof ( 3 , $ var ) ; return $ this ; }
The query to run.

Generated from protobuf field <code>.google.datastore.v1.Query query = 3;</code>
@param \Google\Cloud\Datastore\V1\Query $var
@return $this
The query to run .