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.
384 lines
11 KiB
PHP
384 lines
11 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: analyticsStartup.proto
|
|
|
|
namespace Rv\Analytics\Startup;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.analytics.startup.Interface</code>
|
|
*/
|
|
class PBInterface extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.startup.Interface.SplitViewState library_outline = 1;</code>
|
|
*/
|
|
protected $library_outline = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.startup.Interface.SplitViewState media_outline = 2;</code>
|
|
*/
|
|
protected $media_outline = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.startup.Interface.SplitViewState audio_outline = 3;</code>
|
|
*/
|
|
protected $audio_outline = 0;
|
|
/**
|
|
* Generated from protobuf field <code>bool continuous_playlist = 4;</code>
|
|
*/
|
|
protected $continuous_playlist = false;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.startup.Interface.SplitViewState media_bin = 5;</code>
|
|
*/
|
|
protected $media_bin = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.startup.Interface.PresentationViewStyle presentation_view_style = 6;</code>
|
|
*/
|
|
protected $presentation_view_style = 0;
|
|
/**
|
|
* Generated from protobuf field <code>int32 presentation_grid_column_count = 7;</code>
|
|
*/
|
|
protected $presentation_grid_column_count = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.startup.Interface.MediaBinViewStyle media_bin_view_style = 8;</code>
|
|
*/
|
|
protected $media_bin_view_style = 0;
|
|
/**
|
|
* Generated from protobuf field <code>int32 media_bin_grid_column_count = 9;</code>
|
|
*/
|
|
protected $media_bin_grid_column_count = 0;
|
|
/**
|
|
* Generated from protobuf field <code>int32 media_bin_table_column_count = 10;</code>
|
|
*/
|
|
protected $media_bin_table_column_count = 0;
|
|
/**
|
|
* Generated from protobuf field <code>string presentation_transition = 11;</code>
|
|
*/
|
|
protected $presentation_transition = '';
|
|
/**
|
|
* Generated from protobuf field <code>string media_transition = 12;</code>
|
|
*/
|
|
protected $media_transition = '';
|
|
/**
|
|
* Generated from protobuf field <code>bool audio_shuffle = 13;</code>
|
|
*/
|
|
protected $audio_shuffle = false;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type int $library_outline
|
|
* @type int $media_outline
|
|
* @type int $audio_outline
|
|
* @type bool $continuous_playlist
|
|
* @type int $media_bin
|
|
* @type int $presentation_view_style
|
|
* @type int $presentation_grid_column_count
|
|
* @type int $media_bin_view_style
|
|
* @type int $media_bin_grid_column_count
|
|
* @type int $media_bin_table_column_count
|
|
* @type string $presentation_transition
|
|
* @type string $media_transition
|
|
* @type bool $audio_shuffle
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\AnalyticsStartup::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.startup.Interface.SplitViewState library_outline = 1;</code>
|
|
* @return int
|
|
*/
|
|
public function getLibraryOutline()
|
|
{
|
|
return $this->library_outline;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.startup.Interface.SplitViewState library_outline = 1;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setLibraryOutline($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\Startup\PBInterface\SplitViewState::class);
|
|
$this->library_outline = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.startup.Interface.SplitViewState media_outline = 2;</code>
|
|
* @return int
|
|
*/
|
|
public function getMediaOutline()
|
|
{
|
|
return $this->media_outline;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.startup.Interface.SplitViewState media_outline = 2;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setMediaOutline($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\Startup\PBInterface\SplitViewState::class);
|
|
$this->media_outline = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.startup.Interface.SplitViewState audio_outline = 3;</code>
|
|
* @return int
|
|
*/
|
|
public function getAudioOutline()
|
|
{
|
|
return $this->audio_outline;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.startup.Interface.SplitViewState audio_outline = 3;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setAudioOutline($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\Startup\PBInterface\SplitViewState::class);
|
|
$this->audio_outline = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool continuous_playlist = 4;</code>
|
|
* @return bool
|
|
*/
|
|
public function getContinuousPlaylist()
|
|
{
|
|
return $this->continuous_playlist;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool continuous_playlist = 4;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setContinuousPlaylist($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->continuous_playlist = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.startup.Interface.SplitViewState media_bin = 5;</code>
|
|
* @return int
|
|
*/
|
|
public function getMediaBin()
|
|
{
|
|
return $this->media_bin;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.startup.Interface.SplitViewState media_bin = 5;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setMediaBin($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\Startup\PBInterface\SplitViewState::class);
|
|
$this->media_bin = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.startup.Interface.PresentationViewStyle presentation_view_style = 6;</code>
|
|
* @return int
|
|
*/
|
|
public function getPresentationViewStyle()
|
|
{
|
|
return $this->presentation_view_style;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.startup.Interface.PresentationViewStyle presentation_view_style = 6;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setPresentationViewStyle($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\Startup\PBInterface\PresentationViewStyle::class);
|
|
$this->presentation_view_style = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 presentation_grid_column_count = 7;</code>
|
|
* @return int
|
|
*/
|
|
public function getPresentationGridColumnCount()
|
|
{
|
|
return $this->presentation_grid_column_count;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 presentation_grid_column_count = 7;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setPresentationGridColumnCount($var)
|
|
{
|
|
GPBUtil::checkInt32($var);
|
|
$this->presentation_grid_column_count = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.startup.Interface.MediaBinViewStyle media_bin_view_style = 8;</code>
|
|
* @return int
|
|
*/
|
|
public function getMediaBinViewStyle()
|
|
{
|
|
return $this->media_bin_view_style;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.startup.Interface.MediaBinViewStyle media_bin_view_style = 8;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setMediaBinViewStyle($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\Startup\PBInterface\MediaBinViewStyle::class);
|
|
$this->media_bin_view_style = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 media_bin_grid_column_count = 9;</code>
|
|
* @return int
|
|
*/
|
|
public function getMediaBinGridColumnCount()
|
|
{
|
|
return $this->media_bin_grid_column_count;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 media_bin_grid_column_count = 9;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setMediaBinGridColumnCount($var)
|
|
{
|
|
GPBUtil::checkInt32($var);
|
|
$this->media_bin_grid_column_count = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 media_bin_table_column_count = 10;</code>
|
|
* @return int
|
|
*/
|
|
public function getMediaBinTableColumnCount()
|
|
{
|
|
return $this->media_bin_table_column_count;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 media_bin_table_column_count = 10;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setMediaBinTableColumnCount($var)
|
|
{
|
|
GPBUtil::checkInt32($var);
|
|
$this->media_bin_table_column_count = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string presentation_transition = 11;</code>
|
|
* @return string
|
|
*/
|
|
public function getPresentationTransition()
|
|
{
|
|
return $this->presentation_transition;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string presentation_transition = 11;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setPresentationTransition($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->presentation_transition = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string media_transition = 12;</code>
|
|
* @return string
|
|
*/
|
|
public function getMediaTransition()
|
|
{
|
|
return $this->media_transition;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string media_transition = 12;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setMediaTransition($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->media_transition = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool audio_shuffle = 13;</code>
|
|
* @return bool
|
|
*/
|
|
public function getAudioShuffle()
|
|
{
|
|
return $this->audio_shuffle;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool audio_shuffle = 13;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setAudioShuffle($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->audio_shuffle = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|