Ydb.TableStats.OperationStats
*/
class OperationStats extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field uint64 rows = 1;
*/
protected $rows = 0;
/**
* Generated from protobuf field uint64 bytes = 2;
*/
protected $bytes = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int|string $rows
* @type int|string $bytes
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Protos\YdbQueryStats::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field uint64 rows = 1;
* @return int|string
*/
public function getRows()
{
return $this->rows;
}
/**
* Generated from protobuf field uint64 rows = 1;
* @param int|string $var
* @return $this
*/
public function setRows($var)
{
GPBUtil::checkUint64($var);
$this->rows = $var;
return $this;
}
/**
* Generated from protobuf field uint64 bytes = 2;
* @return int|string
*/
public function getBytes()
{
return $this->bytes;
}
/**
* Generated from protobuf field uint64 bytes = 2;
* @param int|string $var
* @return $this
*/
public function setBytes($var)
{
GPBUtil::checkUint64($var);
$this->bytes = $var;
return $this;
}
}