Datastore/src/V1/ReadOptions.php
public function setReadConsistency($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Datastore\V1\ReadOptions_ReadConsistency::class);
        $this->writeOneof(1, $var);

        return $this;
    }
public function setReadConsistency($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Datastore\V1\ReadOptions_ReadConsistency::class);
        $this->writeOneof(1, $var);

        return $this;
    }
public function setReadConsistency ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Datastore \ V1 \ ReadOptions_ReadConsistency :: class ) ; $ this -> writeOneof ( 1 , $ var ) ; return $ this ; }
The non-transactional read consistency to use.
Cannot be set to `STRONG` for global queries.

Generated from protobuf field <code>.google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1;</code>
@param int $var
@return $this
The non - transactional read consistency to use . Cannot be set to STRONG for global queries .