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.
296 lines
7.9 KiB
PHP
296 lines
7.9 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: analyticsTriggerMedia.proto
|
|
|
|
namespace Rv\Analytics\Trigger\Media;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.analytics.trigger.media.Video</code>
|
|
*/
|
|
class Video extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trigger.media.VisualMedia visual_media = 7;</code>
|
|
*/
|
|
protected $visual_media = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trigger.media.Video.PlaybackBehavior playback_behavior = 8;</code>
|
|
*/
|
|
protected $playback_behavior = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trigger.media.CompletionTarget completion_target = 9;</code>
|
|
*/
|
|
protected $completion_target = 0;
|
|
/**
|
|
* Generated from protobuf field <code>bool soft_loop_enabled = 10;</code>
|
|
*/
|
|
protected $soft_loop_enabled = false;
|
|
/**
|
|
* Generated from protobuf field <code>double soft_loop_duration = 11;</code>
|
|
*/
|
|
protected $soft_loop_duration = 0.0;
|
|
/**
|
|
* Generated from protobuf field <code>double frame_rate = 12;</code>
|
|
*/
|
|
protected $frame_rate = 0.0;
|
|
/**
|
|
* Generated from protobuf field <code>uint32 audio_channel_count = 13;</code>
|
|
*/
|
|
protected $audio_channel_count = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trigger.media.Transport transport = 14;</code>
|
|
*/
|
|
protected $transport = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trigger.media.SourceType source_type = 15;</code>
|
|
*/
|
|
protected $source_type = 0;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Analytics\Trigger\Media\VisualMedia $visual_media
|
|
* @type int $playback_behavior
|
|
* @type int $completion_target
|
|
* @type bool $soft_loop_enabled
|
|
* @type float $soft_loop_duration
|
|
* @type float $frame_rate
|
|
* @type int $audio_channel_count
|
|
* @type \Rv\Analytics\Trigger\Media\Transport $transport
|
|
* @type int $source_type
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\AnalyticsTriggerMedia::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trigger.media.VisualMedia visual_media = 7;</code>
|
|
* @return \Rv\Analytics\Trigger\Media\VisualMedia|null
|
|
*/
|
|
public function getVisualMedia()
|
|
{
|
|
return $this->visual_media;
|
|
}
|
|
|
|
public function hasVisualMedia()
|
|
{
|
|
return isset($this->visual_media);
|
|
}
|
|
|
|
public function clearVisualMedia()
|
|
{
|
|
unset($this->visual_media);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trigger.media.VisualMedia visual_media = 7;</code>
|
|
* @param \Rv\Analytics\Trigger\Media\VisualMedia $var
|
|
* @return $this
|
|
*/
|
|
public function setVisualMedia($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\Trigger\Media\VisualMedia::class);
|
|
$this->visual_media = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trigger.media.Video.PlaybackBehavior playback_behavior = 8;</code>
|
|
* @return int
|
|
*/
|
|
public function getPlaybackBehavior()
|
|
{
|
|
return $this->playback_behavior;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trigger.media.Video.PlaybackBehavior playback_behavior = 8;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setPlaybackBehavior($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\Trigger\Media\Video\PlaybackBehavior::class);
|
|
$this->playback_behavior = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trigger.media.CompletionTarget completion_target = 9;</code>
|
|
* @return int
|
|
*/
|
|
public function getCompletionTarget()
|
|
{
|
|
return $this->completion_target;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trigger.media.CompletionTarget completion_target = 9;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setCompletionTarget($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\Trigger\Media\CompletionTarget::class);
|
|
$this->completion_target = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool soft_loop_enabled = 10;</code>
|
|
* @return bool
|
|
*/
|
|
public function getSoftLoopEnabled()
|
|
{
|
|
return $this->soft_loop_enabled;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool soft_loop_enabled = 10;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setSoftLoopEnabled($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->soft_loop_enabled = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double soft_loop_duration = 11;</code>
|
|
* @return float
|
|
*/
|
|
public function getSoftLoopDuration()
|
|
{
|
|
return $this->soft_loop_duration;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double soft_loop_duration = 11;</code>
|
|
* @param float $var
|
|
* @return $this
|
|
*/
|
|
public function setSoftLoopDuration($var)
|
|
{
|
|
GPBUtil::checkDouble($var);
|
|
$this->soft_loop_duration = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double frame_rate = 12;</code>
|
|
* @return float
|
|
*/
|
|
public function getFrameRate()
|
|
{
|
|
return $this->frame_rate;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double frame_rate = 12;</code>
|
|
* @param float $var
|
|
* @return $this
|
|
*/
|
|
public function setFrameRate($var)
|
|
{
|
|
GPBUtil::checkDouble($var);
|
|
$this->frame_rate = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint32 audio_channel_count = 13;</code>
|
|
* @return int
|
|
*/
|
|
public function getAudioChannelCount()
|
|
{
|
|
return $this->audio_channel_count;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint32 audio_channel_count = 13;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setAudioChannelCount($var)
|
|
{
|
|
GPBUtil::checkUint32($var);
|
|
$this->audio_channel_count = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trigger.media.Transport transport = 14;</code>
|
|
* @return \Rv\Analytics\Trigger\Media\Transport|null
|
|
*/
|
|
public function getTransport()
|
|
{
|
|
return $this->transport;
|
|
}
|
|
|
|
public function hasTransport()
|
|
{
|
|
return isset($this->transport);
|
|
}
|
|
|
|
public function clearTransport()
|
|
{
|
|
unset($this->transport);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trigger.media.Transport transport = 14;</code>
|
|
* @param \Rv\Analytics\Trigger\Media\Transport $var
|
|
* @return $this
|
|
*/
|
|
public function setTransport($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Analytics\Trigger\Media\Transport::class);
|
|
$this->transport = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trigger.media.SourceType source_type = 15;</code>
|
|
* @return int
|
|
*/
|
|
public function getSourceType()
|
|
{
|
|
return $this->source_type;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trigger.media.SourceType source_type = 15;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setSourceType($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\Trigger\Media\SourceType::class);
|
|
$this->source_type = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|