Sync the bundled .proto definitions with greyshirtguy/ProPresenter7-Proto "Proto 19beta" (dumped from ProPresenter v19 beta build 318767123, 2025-06-05). This pulls in the schema for ProPresenter 19 features including new advertisement groups, custom options, media metadata, prop API v1, transport API, feature flags, PSB workspace, and zone definitions, plus refactored analytics tracked events. Strategy: merge rather than wholesale replace. All Proto 19beta files overwrite our existing copies so we pick up the field/message updates upstream made between 7.16.2 and 19beta. Eleven new .proto files are added: advertisementGroup, analyticsEdit, analyticsMediaManagement, analyticsPowerPoint, analyticsTrackedEvents, analyticsTriggerCue, customOptions, mediaMetadata, proCoreFeatureFlags, psbWorkspace, zone. Three google/protobuf well-known types (any, source_context, type) are added for completeness; only descriptor.proto is actually imported. Five proto files are kept that are not part of Proto 19beta upstream: calendar.proto and keyMappings.proto were extracted from PP binaries to support our parse-calendar and parse-key-mappings tools, while analyticsCapture/Update/WHMStore.proto are retained from the prior 7.16.2 set so existing generated descriptors keep loading. generated/ is regenerated from scratch with `protoc --php_out=generated --proto_path=proto *.proto` (protoc 29.3, google/protobuf PHP 4.33.5). The full PHPUnit suite (369 tests, 1298 assertions) still passes without any source changes - the new schema is wire-compatible with our reference files and high-level wrappers. Documentation references to "v7.16.2" are updated to "Proto 19beta" in LICENSE, doc/formats/pp_song_spec.md, pp_playlist_spec.md, pp_bundle_spec.md, and doc/internal/decisions.md.
161 lines
4.4 KiB
PHP
161 lines
4.4 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: timedPlayback.proto
|
|
|
|
namespace Rv\Data\TimedPlayback;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.TimedPlayback.Sequence</code>
|
|
*/
|
|
class Sequence extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.TimedPlayback.Sequence.SequenceItem sequence = 1;</code>
|
|
*/
|
|
private $sequence;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Action.ContentDestination content_destination = 2;</code>
|
|
*/
|
|
protected $content_destination = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Presentation presentation = 3;</code>
|
|
*/
|
|
protected $presentation = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Playlist playlist = 4;</code>
|
|
*/
|
|
protected $playlist = null;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type array<\Rv\Data\TimedPlayback\Sequence\SequenceItem>|\Google\Protobuf\Internal\RepeatedField $sequence
|
|
* @type int $content_destination
|
|
* @type \Rv\Data\Presentation $presentation
|
|
* @type \Rv\Data\Playlist $playlist
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\TimedPlayback::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.TimedPlayback.Sequence.SequenceItem sequence = 1;</code>
|
|
* @return \Google\Protobuf\Internal\RepeatedField
|
|
*/
|
|
public function getSequence()
|
|
{
|
|
return $this->sequence;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.TimedPlayback.Sequence.SequenceItem sequence = 1;</code>
|
|
* @param array<\Rv\Data\TimedPlayback\Sequence\SequenceItem>|\Google\Protobuf\Internal\RepeatedField $var
|
|
* @return $this
|
|
*/
|
|
public function setSequence($var)
|
|
{
|
|
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\TimedPlayback\Sequence\SequenceItem::class);
|
|
$this->sequence = $arr;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Action.ContentDestination content_destination = 2;</code>
|
|
* @return int
|
|
*/
|
|
public function getContentDestination()
|
|
{
|
|
return $this->content_destination;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Action.ContentDestination content_destination = 2;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setContentDestination($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Data\Action\ContentDestination::class);
|
|
$this->content_destination = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Presentation presentation = 3;</code>
|
|
* @return \Rv\Data\Presentation|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.Presentation presentation = 3;</code>
|
|
* @param \Rv\Data\Presentation $var
|
|
* @return $this
|
|
*/
|
|
public function setPresentation($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Presentation::class);
|
|
$this->presentation = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Playlist playlist = 4;</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 = 4;</code>
|
|
* @param \Rv\Data\Playlist $var
|
|
* @return $this
|
|
*/
|
|
public function setPlaylist($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Playlist::class);
|
|
$this->playlist = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|