propresenter7-php-lib/generated/Rv/Data/TriggerCue.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
5.6 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.TriggerCue</code>
*/
class TriggerCue extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>uint64 trigger_handle = 1;</code>
*/
protected $trigger_handle = 0;
/**
* Generated from protobuf field <code>.rv.data.TriggerOptions trigger_options = 2;</code>
*/
protected $trigger_options = null;
/**
* Generated from protobuf field <code>.rv.data.Cue cue = 3;</code>
*/
protected $cue = null;
/**
* Generated from protobuf field <code>.rv.data.TriggerCue.PresentationCue presentation = 4;</code>
*/
protected $presentation = null;
/**
* Generated from protobuf field <code>.rv.data.Playlist playlist = 5;</code>
*/
protected $playlist = null;
/**
* Generated from protobuf field <code>uint64 client_data = 6;</code>
*/
protected $client_data = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int|string $trigger_handle
* @type \Rv\Data\TriggerOptions $trigger_options
* @type \Rv\Data\Cue $cue
* @type \Rv\Data\TriggerCue\PresentationCue $presentation
* @type \Rv\Data\Playlist $playlist
* @type int|string $client_data
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProCore::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>uint64 trigger_handle = 1;</code>
* @return int|string
*/
public function getTriggerHandle()
{
return $this->trigger_handle;
}
/**
* Generated from protobuf field <code>uint64 trigger_handle = 1;</code>
* @param int|string $var
* @return $this
*/
public function setTriggerHandle($var)
{
GPBUtil::checkUint64($var);
$this->trigger_handle = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.TriggerOptions trigger_options = 2;</code>
* @return \Rv\Data\TriggerOptions|null
*/
public function getTriggerOptions()
{
return $this->trigger_options;
}
public function hasTriggerOptions()
{
return isset($this->trigger_options);
}
public function clearTriggerOptions()
{
unset($this->trigger_options);
}
/**
* Generated from protobuf field <code>.rv.data.TriggerOptions trigger_options = 2;</code>
* @param \Rv\Data\TriggerOptions $var
* @return $this
*/
public function setTriggerOptions($var)
{
GPBUtil::checkMessage($var, \Rv\Data\TriggerOptions::class);
$this->trigger_options = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Cue cue = 3;</code>
* @return \Rv\Data\Cue|null
*/
public function getCue()
{
return $this->cue;
}
public function hasCue()
{
return isset($this->cue);
}
public function clearCue()
{
unset($this->cue);
}
/**
* Generated from protobuf field <code>.rv.data.Cue cue = 3;</code>
* @param \Rv\Data\Cue $var
* @return $this
*/
public function setCue($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Cue::class);
$this->cue = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.TriggerCue.PresentationCue presentation = 4;</code>
* @return \Rv\Data\TriggerCue\PresentationCue|null
*/
public function getPresentation()
{
return $this->presentation;
}
public function hasPresentation()
{
return isset($this->presentation);
}
public function clearPresentation()
{
unset($this->presentation);
}
/**
* Generated from protobuf field <code>.rv.data.TriggerCue.PresentationCue presentation = 4;</code>
* @param \Rv\Data\TriggerCue\PresentationCue $var
* @return $this
*/
public function setPresentation($var)
{
GPBUtil::checkMessage($var, \Rv\Data\TriggerCue\PresentationCue::class);
$this->presentation = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Playlist playlist = 5;</code>
* @return \Rv\Data\Playlist|null
*/
public function getPlaylist()
{
return $this->playlist;
}
public function hasPlaylist()
{
return isset($this->playlist);
}
public function clearPlaylist()
{
unset($this->playlist);
}
/**
* Generated from protobuf field <code>.rv.data.Playlist playlist = 5;</code>
* @param \Rv\Data\Playlist $var
* @return $this
*/
public function setPlaylist($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Playlist::class);
$this->playlist = $var;
return $this;
}
/**
* Generated from protobuf field <code>uint64 client_data = 6;</code>
* @return int|string
*/
public function getClientData()
{
return $this->client_data;
}
/**
* Generated from protobuf field <code>uint64 client_data = 6;</code>
* @param int|string $var
* @return $this
*/
public function setClientData($var)
{
GPBUtil::checkUint64($var);
$this->client_data = $var;
return $this;
}
}