rv.data.TriggerTransferRenderState.TimerState */ class TimerState extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.Timer timer = 1; */ protected $timer = null; /** * Generated from protobuf field bool is_running = 2; */ protected $is_running = false; /** * Generated from protobuf field bool has_overrun = 3; */ protected $has_overrun = false; /** * Generated from protobuf field float value = 4; */ protected $value = 0.0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\Timer $timer * @type bool $is_running * @type bool $has_overrun * @type float $value * } */ public function __construct($data = NULL) { \GPBMetadata\ProCore::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.Timer timer = 1; * @return \Rv\Data\Timer|null */ public function getTimer() { return $this->timer; } public function hasTimer() { return isset($this->timer); } public function clearTimer() { unset($this->timer); } /** * Generated from protobuf field .rv.data.Timer timer = 1; * @param \Rv\Data\Timer $var * @return $this */ public function setTimer($var) { GPBUtil::checkMessage($var, \Rv\Data\Timer::class); $this->timer = $var; return $this; } /** * Generated from protobuf field bool is_running = 2; * @return bool */ public function getIsRunning() { return $this->is_running; } /** * Generated from protobuf field bool is_running = 2; * @param bool $var * @return $this */ public function setIsRunning($var) { GPBUtil::checkBool($var); $this->is_running = $var; return $this; } /** * Generated from protobuf field bool has_overrun = 3; * @return bool */ public function getHasOverrun() { return $this->has_overrun; } /** * Generated from protobuf field bool has_overrun = 3; * @param bool $var * @return $this */ public function setHasOverrun($var) { GPBUtil::checkBool($var); $this->has_overrun = $var; return $this; } /** * Generated from protobuf field float value = 4; * @return float */ public function getValue() { return $this->value; } /** * Generated from protobuf field float value = 4; * @param float $var * @return $this */ public function setValue($var) { GPBUtil::checkFloat($var); $this->value = $var; return $this; } }