propresenter7-php-lib/generated/Rv/Analytics/Timeline.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

126 lines
3.1 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: analyticsTimeline.proto
namespace Rv\Analytics;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.analytics.Timeline</code>
*/
class Timeline extends \Google\Protobuf\Internal\Message
{
protected $Event;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Rv\Analytics\Timeline\TriggerCue $trigger_cue
* @type \Rv\Analytics\Timeline\Action $action
* @type \Rv\Analytics\Timeline\RecordCue $record_cue
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\AnalyticsTimeline::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>.rv.analytics.Timeline.TriggerCue trigger_cue = 1;</code>
* @return \Rv\Analytics\Timeline\TriggerCue|null
*/
public function getTriggerCue()
{
return $this->readOneof(1);
}
public function hasTriggerCue()
{
return $this->hasOneof(1);
}
/**
* Generated from protobuf field <code>.rv.analytics.Timeline.TriggerCue trigger_cue = 1;</code>
* @param \Rv\Analytics\Timeline\TriggerCue $var
* @return $this
*/
public function setTriggerCue($var)
{
GPBUtil::checkMessage($var, \Rv\Analytics\Timeline\TriggerCue::class);
$this->writeOneof(1, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.analytics.Timeline.Action action = 2;</code>
* @return \Rv\Analytics\Timeline\Action|null
*/
public function getAction()
{
return $this->readOneof(2);
}
public function hasAction()
{
return $this->hasOneof(2);
}
/**
* Generated from protobuf field <code>.rv.analytics.Timeline.Action action = 2;</code>
* @param \Rv\Analytics\Timeline\Action $var
* @return $this
*/
public function setAction($var)
{
GPBUtil::checkMessage($var, \Rv\Analytics\Timeline\Action::class);
$this->writeOneof(2, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.analytics.Timeline.RecordCue record_cue = 3;</code>
* @return \Rv\Analytics\Timeline\RecordCue|null
*/
public function getRecordCue()
{
return $this->readOneof(3);
}
public function hasRecordCue()
{
return $this->hasOneof(3);
}
/**
* Generated from protobuf field <code>.rv.analytics.Timeline.RecordCue record_cue = 3;</code>
* @param \Rv\Analytics\Timeline\RecordCue $var
* @return $this
*/
public function setRecordCue($var)
{
GPBUtil::checkMessage($var, \Rv\Analytics\Timeline\RecordCue::class);
$this->writeOneof(3, $var);
return $this;
}
/**
* @return string
*/
public function getEvent()
{
return $this->whichOneof("Event");
}
}