Ydb.VirtualTimestamp
*/
class VirtualTimestamp extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field uint64 plan_step = 1;
*/
protected $plan_step = 0;
/**
* Generated from protobuf field uint64 tx_id = 2;
*/
protected $tx_id = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int|string $plan_step
* @type int|string $tx_id
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Protos\YdbCommon::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field uint64 plan_step = 1;
* @return int|string
*/
public function getPlanStep()
{
return $this->plan_step;
}
/**
* Generated from protobuf field uint64 plan_step = 1;
* @param int|string $var
* @return $this
*/
public function setPlanStep($var)
{
GPBUtil::checkUint64($var);
$this->plan_step = $var;
return $this;
}
/**
* Generated from protobuf field uint64 tx_id = 2;
* @return int|string
*/
public function getTxId()
{
return $this->tx_id;
}
/**
* Generated from protobuf field uint64 tx_id = 2;
* @param int|string $var
* @return $this
*/
public function setTxId($var)
{
GPBUtil::checkUint64($var);
$this->tx_id = $var;
return $this;
}
}