Ydb.Table.QueryCachePolicy */ class QueryCachePolicy extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field bool keep_in_cache = 1; */ protected $keep_in_cache = false; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type bool $keep_in_cache * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbTable::initOnce(); parent::__construct($data); } /** * Generated from protobuf field bool keep_in_cache = 1; * @return bool */ public function getKeepInCache() { return $this->keep_in_cache; } /** * Generated from protobuf field bool keep_in_cache = 1; * @param bool $var * @return $this */ public function setKeepInCache($var) { GPBUtil::checkBool($var); $this->keep_in_cache = $var; return $this; } }