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.
134 lines
3.2 KiB
PHP
134 lines
3.2 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: proApi.proto
|
|
|
|
namespace Rv\Data\NetworkAPI;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.NetworkAPI.GroupInvite</code>
|
|
*/
|
|
class GroupInvite extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.NetworkAPI.Group group_info = 1;</code>
|
|
*/
|
|
protected $group_info = null;
|
|
/**
|
|
* Generated from protobuf field <code>string secret = 2;</code>
|
|
*/
|
|
protected $secret = '';
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.NetworkAPI.Group.Member prospect = 3;</code>
|
|
*/
|
|
protected $prospect = null;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\NetworkAPI\Group $group_info
|
|
* @type string $secret
|
|
* @type \Rv\Data\NetworkAPI\Group\Member $prospect
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\ProApi::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.NetworkAPI.Group group_info = 1;</code>
|
|
* @return \Rv\Data\NetworkAPI\Group|null
|
|
*/
|
|
public function getGroupInfo()
|
|
{
|
|
return $this->group_info;
|
|
}
|
|
|
|
public function hasGroupInfo()
|
|
{
|
|
return isset($this->group_info);
|
|
}
|
|
|
|
public function clearGroupInfo()
|
|
{
|
|
unset($this->group_info);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.NetworkAPI.Group group_info = 1;</code>
|
|
* @param \Rv\Data\NetworkAPI\Group $var
|
|
* @return $this
|
|
*/
|
|
public function setGroupInfo($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Group::class);
|
|
$this->group_info = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string secret = 2;</code>
|
|
* @return string
|
|
*/
|
|
public function getSecret()
|
|
{
|
|
return $this->secret;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string secret = 2;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setSecret($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->secret = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.NetworkAPI.Group.Member prospect = 3;</code>
|
|
* @return \Rv\Data\NetworkAPI\Group\Member|null
|
|
*/
|
|
public function getProspect()
|
|
{
|
|
return $this->prospect;
|
|
}
|
|
|
|
public function hasProspect()
|
|
{
|
|
return isset($this->prospect);
|
|
}
|
|
|
|
public function clearProspect()
|
|
{
|
|
unset($this->prospect);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.NetworkAPI.Group.Member prospect = 3;</code>
|
|
* @param \Rv\Data\NetworkAPI\Group\Member $var
|
|
* @return $this
|
|
*/
|
|
public function setProspect($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Group\Member::class);
|
|
$this->prospect = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|