propresenter-php/php/generated/Rv/Data/API_v1_Announcement_Response/ActiveTimelineStatus.php
2026-03-01 16:12:17 +01:00

87 lines
2 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApiV1Announcement.proto
namespace Rv\Data\API_v1_Announcement_Response;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.API_v1_Announcement_Response.ActiveTimelineStatus</code>
*/
class ActiveTimelineStatus extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>bool is_running = 1;</code>
*/
protected $is_running = false;
/**
* Generated from protobuf field <code>double current_time = 2;</code>
*/
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 <code>bool is_running = 1;</code>
* @return bool
*/
public function getIsRunning()
{
return $this->is_running;
}
/**
* Generated from protobuf field <code>bool is_running = 1;</code>
* @param bool $var
* @return $this
*/
public function setIsRunning($var)
{
GPBUtil::checkBool($var);
$this->is_running = $var;
return $this;
}
/**
* Generated from protobuf field <code>double current_time = 2;</code>
* @return float
*/
public function getCurrentTime()
{
return $this->current_time;
}
/**
* Generated from protobuf field <code>double current_time = 2;</code>
* @param float $var
* @return $this
*/
public function setCurrentTime($var)
{
GPBUtil::checkDouble($var);
$this->current_time = $var;
return $this;
}
}