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.
144 lines
3.4 KiB
PHP
144 lines
3.4 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: proCore.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.RecordRequest</code>
|
|
*/
|
|
class RecordRequest extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Recording.Stream stream = 1;</code>
|
|
*/
|
|
protected $stream = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.URL working_directory = 2;</code>
|
|
*/
|
|
protected $working_directory = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.RecordRequest.Resi resi = 3;</code>
|
|
*/
|
|
protected $resi = null;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\Recording\Stream $stream
|
|
* @type \Rv\Data\URL $working_directory
|
|
* @type \Rv\Data\RecordRequest\Resi $resi
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\ProCore::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Recording.Stream stream = 1;</code>
|
|
* @return \Rv\Data\Recording\Stream|null
|
|
*/
|
|
public function getStream()
|
|
{
|
|
return $this->stream;
|
|
}
|
|
|
|
public function hasStream()
|
|
{
|
|
return isset($this->stream);
|
|
}
|
|
|
|
public function clearStream()
|
|
{
|
|
unset($this->stream);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Recording.Stream stream = 1;</code>
|
|
* @param \Rv\Data\Recording\Stream $var
|
|
* @return $this
|
|
*/
|
|
public function setStream($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Recording\Stream::class);
|
|
$this->stream = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.URL working_directory = 2;</code>
|
|
* @return \Rv\Data\URL|null
|
|
*/
|
|
public function getWorkingDirectory()
|
|
{
|
|
return $this->working_directory;
|
|
}
|
|
|
|
public function hasWorkingDirectory()
|
|
{
|
|
return isset($this->working_directory);
|
|
}
|
|
|
|
public function clearWorkingDirectory()
|
|
{
|
|
unset($this->working_directory);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.URL working_directory = 2;</code>
|
|
* @param \Rv\Data\URL $var
|
|
* @return $this
|
|
*/
|
|
public function setWorkingDirectory($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\URL::class);
|
|
$this->working_directory = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.RecordRequest.Resi resi = 3;</code>
|
|
* @return \Rv\Data\RecordRequest\Resi|null
|
|
*/
|
|
public function getResi()
|
|
{
|
|
return $this->resi;
|
|
}
|
|
|
|
public function hasResi()
|
|
{
|
|
return isset($this->resi);
|
|
}
|
|
|
|
public function clearResi()
|
|
{
|
|
unset($this->resi);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.RecordRequest.Resi resi = 3;</code>
|
|
* @param \Rv\Data\RecordRequest\Resi $var
|
|
* @return $this
|
|
*/
|
|
public function setResi($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\RecordRequest\Resi::class);
|
|
$this->resi = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|