Ydb.Topic.MultipleWindowsStat
*/
class MultipleWindowsStat extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field int64 per_minute = 1;
*/
protected $per_minute = 0;
/**
* Generated from protobuf field int64 per_hour = 2;
*/
protected $per_hour = 0;
/**
* Generated from protobuf field int64 per_day = 3;
*/
protected $per_day = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int|string $per_minute
* @type int|string $per_hour
* @type int|string $per_day
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Protos\YdbTopic::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field int64 per_minute = 1;
* @return int|string
*/
public function getPerMinute()
{
return $this->per_minute;
}
/**
* Generated from protobuf field int64 per_minute = 1;
* @param int|string $var
* @return $this
*/
public function setPerMinute($var)
{
GPBUtil::checkInt64($var);
$this->per_minute = $var;
return $this;
}
/**
* Generated from protobuf field int64 per_hour = 2;
* @return int|string
*/
public function getPerHour()
{
return $this->per_hour;
}
/**
* Generated from protobuf field int64 per_hour = 2;
* @param int|string $var
* @return $this
*/
public function setPerHour($var)
{
GPBUtil::checkInt64($var);
$this->per_hour = $var;
return $this;
}
/**
* Generated from protobuf field int64 per_day = 3;
* @return int|string
*/
public function getPerDay()
{
return $this->per_day;
}
/**
* Generated from protobuf field int64 per_day = 3;
* @param int|string $var
* @return $this
*/
public function setPerDay($var)
{
GPBUtil::checkInt64($var);
$this->per_day = $var;
return $this;
}
}