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
9.5 KiB
PHP
384 lines
9.5 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: analyticsTrackedEvents.proto
|
|
|
|
namespace Rv\Analytics\Trackedevents;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.analytics.trackedevents.ApplicationLaunch</code>
|
|
*/
|
|
class ApplicationLaunch extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>string hardware_id = 1;</code>
|
|
*/
|
|
protected $hardware_id = '';
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trackedevents.ApplicationLaunch.Channel channel = 2;</code>
|
|
*/
|
|
protected $channel = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trackedevents.ApplicationLaunch.Platform platform = 3;</code>
|
|
*/
|
|
protected $platform = 0;
|
|
/**
|
|
* Generated from protobuf field <code>string app_version = 4;</code>
|
|
*/
|
|
protected $app_version = '';
|
|
/**
|
|
* Generated from protobuf field <code>string os_version = 5;</code>
|
|
*/
|
|
protected $os_version = '';
|
|
/**
|
|
* Generated from protobuf field <code>string build_number = 6;</code>
|
|
*/
|
|
protected $build_number = '';
|
|
/**
|
|
* Generated from protobuf field <code>string location = 7;</code>
|
|
*/
|
|
protected $location = '';
|
|
/**
|
|
* Generated from protobuf field <code>string language = 8;</code>
|
|
*/
|
|
protected $language = '';
|
|
/**
|
|
* Generated from protobuf field <code>string hardware_model = 9;</code>
|
|
*/
|
|
protected $hardware_model = '';
|
|
/**
|
|
* Generated from protobuf field <code>uint64 physical_memory = 10;</code>
|
|
*/
|
|
protected $physical_memory = 0;
|
|
/**
|
|
* Generated from protobuf field <code>string video_controller = 11;</code>
|
|
*/
|
|
protected $video_controller = '';
|
|
/**
|
|
* Generated from protobuf field <code>uint64 video_controller_ram = 12;</code>
|
|
*/
|
|
protected $video_controller_ram = 0;
|
|
/**
|
|
* Generated from protobuf field <code>string blackmagic_desktop_version = 13;</code>
|
|
*/
|
|
protected $blackmagic_desktop_version = '';
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type string $hardware_id
|
|
* @type int $channel
|
|
* @type int $platform
|
|
* @type string $app_version
|
|
* @type string $os_version
|
|
* @type string $build_number
|
|
* @type string $location
|
|
* @type string $language
|
|
* @type string $hardware_model
|
|
* @type int|string $physical_memory
|
|
* @type string $video_controller
|
|
* @type int|string $video_controller_ram
|
|
* @type string $blackmagic_desktop_version
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\AnalyticsTrackedEvents::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string hardware_id = 1;</code>
|
|
* @return string
|
|
*/
|
|
public function getHardwareId()
|
|
{
|
|
return $this->hardware_id;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string hardware_id = 1;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setHardwareId($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->hardware_id = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trackedevents.ApplicationLaunch.Channel channel = 2;</code>
|
|
* @return int
|
|
*/
|
|
public function getChannel()
|
|
{
|
|
return $this->channel;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trackedevents.ApplicationLaunch.Channel channel = 2;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setChannel($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\Trackedevents\ApplicationLaunch\Channel::class);
|
|
$this->channel = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trackedevents.ApplicationLaunch.Platform platform = 3;</code>
|
|
* @return int
|
|
*/
|
|
public function getPlatform()
|
|
{
|
|
return $this->platform;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trackedevents.ApplicationLaunch.Platform platform = 3;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setPlatform($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\Trackedevents\ApplicationLaunch\Platform::class);
|
|
$this->platform = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string app_version = 4;</code>
|
|
* @return string
|
|
*/
|
|
public function getAppVersion()
|
|
{
|
|
return $this->app_version;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string app_version = 4;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setAppVersion($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->app_version = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string os_version = 5;</code>
|
|
* @return string
|
|
*/
|
|
public function getOsVersion()
|
|
{
|
|
return $this->os_version;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string os_version = 5;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setOsVersion($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->os_version = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string build_number = 6;</code>
|
|
* @return string
|
|
*/
|
|
public function getBuildNumber()
|
|
{
|
|
return $this->build_number;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string build_number = 6;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setBuildNumber($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->build_number = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string location = 7;</code>
|
|
* @return string
|
|
*/
|
|
public function getLocation()
|
|
{
|
|
return $this->location;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string location = 7;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setLocation($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->location = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string language = 8;</code>
|
|
* @return string
|
|
*/
|
|
public function getLanguage()
|
|
{
|
|
return $this->language;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string language = 8;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setLanguage($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->language = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string hardware_model = 9;</code>
|
|
* @return string
|
|
*/
|
|
public function getHardwareModel()
|
|
{
|
|
return $this->hardware_model;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string hardware_model = 9;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setHardwareModel($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->hardware_model = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint64 physical_memory = 10;</code>
|
|
* @return int|string
|
|
*/
|
|
public function getPhysicalMemory()
|
|
{
|
|
return $this->physical_memory;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint64 physical_memory = 10;</code>
|
|
* @param int|string $var
|
|
* @return $this
|
|
*/
|
|
public function setPhysicalMemory($var)
|
|
{
|
|
GPBUtil::checkUint64($var);
|
|
$this->physical_memory = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string video_controller = 11;</code>
|
|
* @return string
|
|
*/
|
|
public function getVideoController()
|
|
{
|
|
return $this->video_controller;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string video_controller = 11;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setVideoController($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->video_controller = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint64 video_controller_ram = 12;</code>
|
|
* @return int|string
|
|
*/
|
|
public function getVideoControllerRam()
|
|
{
|
|
return $this->video_controller_ram;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint64 video_controller_ram = 12;</code>
|
|
* @param int|string $var
|
|
* @return $this
|
|
*/
|
|
public function setVideoControllerRam($var)
|
|
{
|
|
GPBUtil::checkUint64($var);
|
|
$this->video_controller_ram = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string blackmagic_desktop_version = 13;</code>
|
|
* @return string
|
|
*/
|
|
public function getBlackmagicDesktopVersion()
|
|
{
|
|
return $this->blackmagic_desktop_version;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string blackmagic_desktop_version = 13;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setBlackmagicDesktopVersion($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->blackmagic_desktop_version = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|