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.
154 lines
3.8 KiB
PHP
154 lines
3.8 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: analyticsUI.proto
|
|
|
|
namespace Rv\Analytics\UI;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.analytics.UI.ClearGroups</code>
|
|
*/
|
|
class ClearGroups extends \Google\Protobuf\Internal\Message
|
|
{
|
|
protected $Component;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Analytics\UI\ClearGroups\Shown $shown
|
|
* @type \Rv\Analytics\UI\ClearGroups\Create $create
|
|
* @type \Rv\Analytics\UI\ClearGroups\Delete $delete
|
|
* @type \Rv\Analytics\UI\ClearGroups\Group $group
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\AnalyticsUI::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.ClearGroups.Shown shown = 1;</code>
|
|
* @return \Rv\Analytics\UI\ClearGroups\Shown|null
|
|
*/
|
|
public function getShown()
|
|
{
|
|
return $this->readOneof(1);
|
|
}
|
|
|
|
public function hasShown()
|
|
{
|
|
return $this->hasOneof(1);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.ClearGroups.Shown shown = 1;</code>
|
|
* @param \Rv\Analytics\UI\ClearGroups\Shown $var
|
|
* @return $this
|
|
*/
|
|
public function setShown($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\UI\ClearGroups\Shown::class);
|
|
$this->writeOneof(1, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.ClearGroups.Create create = 2;</code>
|
|
* @return \Rv\Analytics\UI\ClearGroups\Create|null
|
|
*/
|
|
public function getCreate()
|
|
{
|
|
return $this->readOneof(2);
|
|
}
|
|
|
|
public function hasCreate()
|
|
{
|
|
return $this->hasOneof(2);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.ClearGroups.Create create = 2;</code>
|
|
* @param \Rv\Analytics\UI\ClearGroups\Create $var
|
|
* @return $this
|
|
*/
|
|
public function setCreate($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\UI\ClearGroups\Create::class);
|
|
$this->writeOneof(2, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.ClearGroups.Delete delete = 3;</code>
|
|
* @return \Rv\Analytics\UI\ClearGroups\Delete|null
|
|
*/
|
|
public function getDelete()
|
|
{
|
|
return $this->readOneof(3);
|
|
}
|
|
|
|
public function hasDelete()
|
|
{
|
|
return $this->hasOneof(3);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.ClearGroups.Delete delete = 3;</code>
|
|
* @param \Rv\Analytics\UI\ClearGroups\Delete $var
|
|
* @return $this
|
|
*/
|
|
public function setDelete($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\UI\ClearGroups\Delete::class);
|
|
$this->writeOneof(3, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.ClearGroups.Group group = 4;</code>
|
|
* @return \Rv\Analytics\UI\ClearGroups\Group|null
|
|
*/
|
|
public function getGroup()
|
|
{
|
|
return $this->readOneof(4);
|
|
}
|
|
|
|
public function hasGroup()
|
|
{
|
|
return $this->hasOneof(4);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.UI.ClearGroups.Group group = 4;</code>
|
|
* @param \Rv\Analytics\UI\ClearGroups\Group $var
|
|
* @return $this
|
|
*/
|
|
public function setGroup($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\UI\ClearGroups\Group::class);
|
|
$this->writeOneof(4, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getComponent()
|
|
{
|
|
return $this->whichOneof("Component");
|
|
}
|
|
|
|
}
|
|
|