propresenter7-php-lib/generated/Rv/Data/PlaylistDocument.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

235 lines
6.1 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: propresenter.proto
namespace Rv\Data;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.PlaylistDocument</code>
*/
class PlaylistDocument extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>.rv.data.ApplicationInfo application_info = 1;</code>
*/
protected $application_info = null;
/**
* Generated from protobuf field <code>.rv.data.PlaylistDocument.Type type = 2;</code>
*/
protected $type = 0;
/**
* Generated from protobuf field <code>.rv.data.Playlist root_node = 3;</code>
*/
protected $root_node = null;
/**
* Generated from protobuf field <code>repeated .rv.data.Playlist.Tag tags = 4;</code>
*/
private $tags;
/**
* Generated from protobuf field <code>.rv.data.Playlist live_video_playlist = 5;</code>
*/
protected $live_video_playlist = null;
/**
* Generated from protobuf field <code>.rv.data.Playlist downloads_playlist = 6;</code>
*/
protected $downloads_playlist = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Rv\Data\ApplicationInfo $application_info
* @type int $type
* @type \Rv\Data\Playlist $root_node
* @type array<\Rv\Data\Playlist\Tag>|\Google\Protobuf\Internal\RepeatedField $tags
* @type \Rv\Data\Playlist $live_video_playlist
* @type \Rv\Data\Playlist $downloads_playlist
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Propresenter::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>.rv.data.ApplicationInfo application_info = 1;</code>
* @return \Rv\Data\ApplicationInfo|null
*/
public function getApplicationInfo()
{
return $this->application_info;
}
public function hasApplicationInfo()
{
return isset($this->application_info);
}
public function clearApplicationInfo()
{
unset($this->application_info);
}
/**
* Generated from protobuf field <code>.rv.data.ApplicationInfo application_info = 1;</code>
* @param \Rv\Data\ApplicationInfo $var
* @return $this
*/
public function setApplicationInfo($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ApplicationInfo::class);
$this->application_info = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.PlaylistDocument.Type type = 2;</code>
* @return int
*/
public function getType()
{
return $this->type;
}
/**
* Generated from protobuf field <code>.rv.data.PlaylistDocument.Type type = 2;</code>
* @param int $var
* @return $this
*/
public function setType($var)
{
GPBUtil::checkEnum($var, \Rv\Data\PlaylistDocument\Type::class);
$this->type = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Playlist root_node = 3;</code>
* @return \Rv\Data\Playlist|null
*/
public function getRootNode()
{
return $this->root_node;
}
public function hasRootNode()
{
return isset($this->root_node);
}
public function clearRootNode()
{
unset($this->root_node);
}
/**
* Generated from protobuf field <code>.rv.data.Playlist root_node = 3;</code>
* @param \Rv\Data\Playlist $var
* @return $this
*/
public function setRootNode($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Playlist::class);
$this->root_node = $var;
return $this;
}
/**
* Generated from protobuf field <code>repeated .rv.data.Playlist.Tag tags = 4;</code>
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getTags()
{
return $this->tags;
}
/**
* Generated from protobuf field <code>repeated .rv.data.Playlist.Tag tags = 4;</code>
* @param array<\Rv\Data\Playlist\Tag>|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setTags($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Playlist\Tag::class);
$this->tags = $arr;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Playlist live_video_playlist = 5;</code>
* @return \Rv\Data\Playlist|null
*/
public function getLiveVideoPlaylist()
{
return $this->live_video_playlist;
}
public function hasLiveVideoPlaylist()
{
return isset($this->live_video_playlist);
}
public function clearLiveVideoPlaylist()
{
unset($this->live_video_playlist);
}
/**
* Generated from protobuf field <code>.rv.data.Playlist live_video_playlist = 5;</code>
* @param \Rv\Data\Playlist $var
* @return $this
*/
public function setLiveVideoPlaylist($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Playlist::class);
$this->live_video_playlist = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Playlist downloads_playlist = 6;</code>
* @return \Rv\Data\Playlist|null
*/
public function getDownloadsPlaylist()
{
return $this->downloads_playlist;
}
public function hasDownloadsPlaylist()
{
return isset($this->downloads_playlist);
}
public function clearDownloadsPlaylist()
{
unset($this->downloads_playlist);
}
/**
* Generated from protobuf field <code>.rv.data.Playlist downloads_playlist = 6;</code>
* @param \Rv\Data\Playlist $var
* @return $this
*/
public function setDownloadsPlaylist($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Playlist::class);
$this->downloads_playlist = $var;
return $this;
}
}