rv.data.API_v1_Announcement_Response.ActiveTimelineStatus
*/
class ActiveTimelineStatus extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field bool is_running = 1;
*/
protected $is_running = false;
/**
* Generated from protobuf field double current_time = 2;
*/
protected $current_time = 0.0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type bool $is_running
* @type float $current_time
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProApiV1Announcement::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field bool is_running = 1;
* @return bool
*/
public function getIsRunning()
{
return $this->is_running;
}
/**
* Generated from protobuf field bool is_running = 1;
* @param bool $var
* @return $this
*/
public function setIsRunning($var)
{
GPBUtil::checkBool($var);
$this->is_running = $var;
return $this;
}
/**
* Generated from protobuf field double current_time = 2;
* @return float
*/
public function getCurrentTime()
{
return $this->current_time;
}
/**
* Generated from protobuf field double current_time = 2;
* @param float $var
* @return $this
*/
public function setCurrentTime($var)
{
GPBUtil::checkDouble($var);
$this->current_time = $var;
return $this;
}
}