Ydb.Table.CachingPolicy
*/
class CachingPolicy extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field string preset_name = 1;
*/
protected $preset_name = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $preset_name
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Protos\YdbTable::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field string preset_name = 1;
* @return string
*/
public function getPresetName()
{
return $this->preset_name;
}
/**
* Generated from protobuf field string preset_name = 1;
* @param string $var
* @return $this
*/
public function setPresetName($var)
{
GPBUtil::checkString($var, True);
$this->preset_name = $var;
return $this;
}
}