propresenter7-php-lib/generated/Rv/Data/API_v1_Timer_Request/CreateTimer.php
Thorsten Buss 4d10db4f17 Initial public release
PHP 8.4 library and CLI tools to read, modify, and generate ProPresenter 7
files: songs (.pro), playlists (.proplaylist), bundles (.probundle), themes,
and the global library files (Macros, Labels, Groups, ClearGroups, CCLI,
Messages, Timers, Stage, Workspace, Props, TestPatterns, Calendar,
KeyMappings, CommunicationDevices).

Built on the MIT-licensed ProPresenter7-Proto schema by greyshirtguy
(v7.16.2). Includes 18 CLI parsers, comprehensive API docs in doc/,
binary-format specs, and a synthetic 369-test PHPUnit suite covering
RTF extraction, translation slides, ZIP64 repair, round-trip fidelity,
and end-to-end generation.
2026-05-03 22:21:01 +02:00

198 lines
5.2 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApiV1Timer.proto
namespace Rv\Data\API_v1_Timer_Request;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.API_v1_Timer_Request.CreateTimer</code>
*/
class CreateTimer extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>string name = 1;</code>
*/
protected $name = '';
/**
* Generated from protobuf field <code>bool allows_overrun = 2;</code>
*/
protected $allows_overrun = false;
/**
* Generated from protobuf field <code>.rv.data.API_v1_Timer.API_v1_Timer_Countdown countdown = 3;</code>
*/
protected $countdown = null;
/**
* Generated from protobuf field <code>.rv.data.API_v1_Timer.API_v1_Timer_CountdownToTime count_down_to_time = 4;</code>
*/
protected $count_down_to_time = null;
/**
* Generated from protobuf field <code>.rv.data.API_v1_Timer.API_v1_Timer_Elapsed elapsed = 5;</code>
*/
protected $elapsed = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $name
* @type bool $allows_overrun
* @type \Rv\Data\API_v1_Timer\API_v1_Timer_Countdown $countdown
* @type \Rv\Data\API_v1_Timer\API_v1_Timer_CountdownToTime $count_down_to_time
* @type \Rv\Data\API_v1_Timer\API_v1_Timer_Elapsed $elapsed
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProApiV1Timer::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>string name = 1;</code>
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Generated from protobuf field <code>string name = 1;</code>
* @param string $var
* @return $this
*/
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool allows_overrun = 2;</code>
* @return bool
*/
public function getAllowsOverrun()
{
return $this->allows_overrun;
}
/**
* Generated from protobuf field <code>bool allows_overrun = 2;</code>
* @param bool $var
* @return $this
*/
public function setAllowsOverrun($var)
{
GPBUtil::checkBool($var);
$this->allows_overrun = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Timer.API_v1_Timer_Countdown countdown = 3;</code>
* @return \Rv\Data\API_v1_Timer\API_v1_Timer_Countdown|null
*/
public function getCountdown()
{
return $this->countdown;
}
public function hasCountdown()
{
return isset($this->countdown);
}
public function clearCountdown()
{
unset($this->countdown);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Timer.API_v1_Timer_Countdown countdown = 3;</code>
* @param \Rv\Data\API_v1_Timer\API_v1_Timer_Countdown $var
* @return $this
*/
public function setCountdown($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Timer\API_v1_Timer_Countdown::class);
$this->countdown = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Timer.API_v1_Timer_CountdownToTime count_down_to_time = 4;</code>
* @return \Rv\Data\API_v1_Timer\API_v1_Timer_CountdownToTime|null
*/
public function getCountDownToTime()
{
return $this->count_down_to_time;
}
public function hasCountDownToTime()
{
return isset($this->count_down_to_time);
}
public function clearCountDownToTime()
{
unset($this->count_down_to_time);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Timer.API_v1_Timer_CountdownToTime count_down_to_time = 4;</code>
* @param \Rv\Data\API_v1_Timer\API_v1_Timer_CountdownToTime $var
* @return $this
*/
public function setCountDownToTime($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Timer\API_v1_Timer_CountdownToTime::class);
$this->count_down_to_time = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Timer.API_v1_Timer_Elapsed elapsed = 5;</code>
* @return \Rv\Data\API_v1_Timer\API_v1_Timer_Elapsed|null
*/
public function getElapsed()
{
return $this->elapsed;
}
public function hasElapsed()
{
return isset($this->elapsed);
}
public function clearElapsed()
{
unset($this->elapsed);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Timer.API_v1_Timer_Elapsed elapsed = 5;</code>
* @param \Rv\Data\API_v1_Timer\API_v1_Timer_Elapsed $var
* @return $this
*/
public function setElapsed($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Timer\API_v1_Timer_Elapsed::class);
$this->elapsed = $var;
return $this;
}
}