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.
363 lines
9.4 KiB
PHP
363 lines
9.4 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: proCore.proto
|
|
|
|
namespace Rv\Data\TriggerTransferRenderState;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.TriggerTransferRenderState.SlideState</code>
|
|
*/
|
|
class SlideState extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Presentation presentation = 1;</code>
|
|
*/
|
|
protected $presentation = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Playlist playlist = 2;</code>
|
|
*/
|
|
protected $playlist = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID current_cue = 3;</code>
|
|
*/
|
|
protected $current_cue = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID next_cue = 4;</code>
|
|
*/
|
|
protected $next_cue = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.AutoAdvanceState auto_advance = 5;</code>
|
|
*/
|
|
protected $auto_advance = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.TimelineState timeline_state = 6;</code>
|
|
*/
|
|
protected $timeline_state = null;
|
|
/**
|
|
* Generated from protobuf field <code>int32 current_cue_index = 7;</code>
|
|
*/
|
|
protected $current_cue_index = 0;
|
|
/**
|
|
* Generated from protobuf field <code>int32 current_playlist_index = 8;</code>
|
|
*/
|
|
protected $current_playlist_index = 0;
|
|
/**
|
|
* Generated from protobuf field <code>bool is_current_position = 9;</code>
|
|
*/
|
|
protected $is_current_position = false;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.SlideState.TriggerSource trigger_source = 10;</code>
|
|
*/
|
|
protected $trigger_source = 0;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\Presentation $presentation
|
|
* @type \Rv\Data\Playlist $playlist
|
|
* @type \Rv\Data\UUID $current_cue
|
|
* @type \Rv\Data\UUID $next_cue
|
|
* @type \Rv\Data\TriggerTransferRenderState\AutoAdvanceState $auto_advance
|
|
* @type \Rv\Data\TriggerTransferRenderState\TimelineState $timeline_state
|
|
* @type int $current_cue_index
|
|
* @type int $current_playlist_index
|
|
* @type bool $is_current_position
|
|
* @type int $trigger_source
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\ProCore::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Presentation presentation = 1;</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 = 1;</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 = 2;</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 = 2;</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>.rv.data.UUID current_cue = 3;</code>
|
|
* @return \Rv\Data\UUID|null
|
|
*/
|
|
public function getCurrentCue()
|
|
{
|
|
return $this->current_cue;
|
|
}
|
|
|
|
public function hasCurrentCue()
|
|
{
|
|
return isset($this->current_cue);
|
|
}
|
|
|
|
public function clearCurrentCue()
|
|
{
|
|
unset($this->current_cue);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID current_cue = 3;</code>
|
|
* @param \Rv\Data\UUID $var
|
|
* @return $this
|
|
*/
|
|
public function setCurrentCue($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
|
|
$this->current_cue = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID next_cue = 4;</code>
|
|
* @return \Rv\Data\UUID|null
|
|
*/
|
|
public function getNextCue()
|
|
{
|
|
return $this->next_cue;
|
|
}
|
|
|
|
public function hasNextCue()
|
|
{
|
|
return isset($this->next_cue);
|
|
}
|
|
|
|
public function clearNextCue()
|
|
{
|
|
unset($this->next_cue);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID next_cue = 4;</code>
|
|
* @param \Rv\Data\UUID $var
|
|
* @return $this
|
|
*/
|
|
public function setNextCue($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
|
|
$this->next_cue = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.AutoAdvanceState auto_advance = 5;</code>
|
|
* @return \Rv\Data\TriggerTransferRenderState\AutoAdvanceState|null
|
|
*/
|
|
public function getAutoAdvance()
|
|
{
|
|
return $this->auto_advance;
|
|
}
|
|
|
|
public function hasAutoAdvance()
|
|
{
|
|
return isset($this->auto_advance);
|
|
}
|
|
|
|
public function clearAutoAdvance()
|
|
{
|
|
unset($this->auto_advance);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.AutoAdvanceState auto_advance = 5;</code>
|
|
* @param \Rv\Data\TriggerTransferRenderState\AutoAdvanceState $var
|
|
* @return $this
|
|
*/
|
|
public function setAutoAdvance($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\TriggerTransferRenderState\AutoAdvanceState::class);
|
|
$this->auto_advance = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.TimelineState timeline_state = 6;</code>
|
|
* @return \Rv\Data\TriggerTransferRenderState\TimelineState|null
|
|
*/
|
|
public function getTimelineState()
|
|
{
|
|
return $this->timeline_state;
|
|
}
|
|
|
|
public function hasTimelineState()
|
|
{
|
|
return isset($this->timeline_state);
|
|
}
|
|
|
|
public function clearTimelineState()
|
|
{
|
|
unset($this->timeline_state);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.TimelineState timeline_state = 6;</code>
|
|
* @param \Rv\Data\TriggerTransferRenderState\TimelineState $var
|
|
* @return $this
|
|
*/
|
|
public function setTimelineState($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\TriggerTransferRenderState\TimelineState::class);
|
|
$this->timeline_state = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 current_cue_index = 7;</code>
|
|
* @return int
|
|
*/
|
|
public function getCurrentCueIndex()
|
|
{
|
|
return $this->current_cue_index;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 current_cue_index = 7;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setCurrentCueIndex($var)
|
|
{
|
|
GPBUtil::checkInt32($var);
|
|
$this->current_cue_index = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 current_playlist_index = 8;</code>
|
|
* @return int
|
|
*/
|
|
public function getCurrentPlaylistIndex()
|
|
{
|
|
return $this->current_playlist_index;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 current_playlist_index = 8;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setCurrentPlaylistIndex($var)
|
|
{
|
|
GPBUtil::checkInt32($var);
|
|
$this->current_playlist_index = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool is_current_position = 9;</code>
|
|
* @return bool
|
|
*/
|
|
public function getIsCurrentPosition()
|
|
{
|
|
return $this->is_current_position;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool is_current_position = 9;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setIsCurrentPosition($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->is_current_position = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.SlideState.TriggerSource trigger_source = 10;</code>
|
|
* @return int
|
|
*/
|
|
public function getTriggerSource()
|
|
{
|
|
return $this->trigger_source;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TriggerTransferRenderState.SlideState.TriggerSource trigger_source = 10;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setTriggerSource($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Data\TriggerTransferRenderState\SlideState\TriggerSource::class);
|
|
$this->trigger_source = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|