propresenter7-php-lib/generated/Rv/Data/PlaylistItem/Presentation.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
4.9 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: playlist.proto
namespace Rv\Data\PlaylistItem;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.PlaylistItem.Presentation</code>
*/
class Presentation extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>.rv.data.URL document_path = 1;</code>
*/
protected $document_path = null;
/**
* Generated from protobuf field <code>.rv.data.UUID arrangement = 2;</code>
*/
protected $arrangement = null;
/**
* Generated from protobuf field <code>.rv.data.Action.ContentDestination content_destination = 3;</code>
*/
protected $content_destination = 0;
/**
* Generated from protobuf field <code>.rv.data.MusicKeyScale user_music_key = 4;</code>
*/
protected $user_music_key = null;
/**
* Generated from protobuf field <code>string arrangement_name = 5;</code>
*/
protected $arrangement_name = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Rv\Data\URL $document_path
* @type \Rv\Data\UUID $arrangement
* @type int $content_destination
* @type \Rv\Data\MusicKeyScale $user_music_key
* @type string $arrangement_name
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Playlist::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>.rv.data.URL document_path = 1;</code>
* @return \Rv\Data\URL|null
*/
public function getDocumentPath()
{
return $this->document_path;
}
public function hasDocumentPath()
{
return isset($this->document_path);
}
public function clearDocumentPath()
{
unset($this->document_path);
}
/**
* Generated from protobuf field <code>.rv.data.URL document_path = 1;</code>
* @param \Rv\Data\URL $var
* @return $this
*/
public function setDocumentPath($var)
{
GPBUtil::checkMessage($var, \Rv\Data\URL::class);
$this->document_path = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.UUID arrangement = 2;</code>
* @return \Rv\Data\UUID|null
*/
public function getArrangement()
{
return $this->arrangement;
}
public function hasArrangement()
{
return isset($this->arrangement);
}
public function clearArrangement()
{
unset($this->arrangement);
}
/**
* Generated from protobuf field <code>.rv.data.UUID arrangement = 2;</code>
* @param \Rv\Data\UUID $var
* @return $this
*/
public function setArrangement($var)
{
GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
$this->arrangement = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Action.ContentDestination content_destination = 3;</code>
* @return int
*/
public function getContentDestination()
{
return $this->content_destination;
}
/**
* Generated from protobuf field <code>.rv.data.Action.ContentDestination content_destination = 3;</code>
* @param int $var
* @return $this
*/
public function setContentDestination($var)
{
GPBUtil::checkEnum($var, \Rv\Data\Action\ContentDestination::class);
$this->content_destination = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.MusicKeyScale user_music_key = 4;</code>
* @return \Rv\Data\MusicKeyScale|null
*/
public function getUserMusicKey()
{
return $this->user_music_key;
}
public function hasUserMusicKey()
{
return isset($this->user_music_key);
}
public function clearUserMusicKey()
{
unset($this->user_music_key);
}
/**
* Generated from protobuf field <code>.rv.data.MusicKeyScale user_music_key = 4;</code>
* @param \Rv\Data\MusicKeyScale $var
* @return $this
*/
public function setUserMusicKey($var)
{
GPBUtil::checkMessage($var, \Rv\Data\MusicKeyScale::class);
$this->user_music_key = $var;
return $this;
}
/**
* Generated from protobuf field <code>string arrangement_name = 5;</code>
* @return string
*/
public function getArrangementName()
{
return $this->arrangement_name;
}
/**
* Generated from protobuf field <code>string arrangement_name = 5;</code>
* @param string $var
* @return $this
*/
public function setArrangementName($var)
{
GPBUtil::checkString($var, True);
$this->arrangement_name = $var;
return $this;
}
}