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.
180 lines
4.7 KiB
PHP
180 lines
4.7 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: proApiV1Message.proto
|
|
|
|
namespace Rv\Data\API_v1_Message;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.API_v1_Message.API_v1_MessageToken</code>
|
|
*/
|
|
class API_v1_MessageToken extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>string uuid = 1;</code>
|
|
*/
|
|
protected $uuid = '';
|
|
/**
|
|
* Generated from protobuf field <code>string name = 2;</code>
|
|
*/
|
|
protected $name = '';
|
|
protected $TokenType;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type string $uuid
|
|
* @type string $name
|
|
* @type \Rv\Data\API_v1_Message\API_v1_MessageToken\API_v1_TextToken $text
|
|
* @type \Rv\Data\API_v1_Message\API_v1_MessageToken\API_v1_TimerToken $timer
|
|
* @type \Rv\Data\API_v1_Message\API_v1_MessageToken\API_v1_ClockToken $clock
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\ProApiV1Message::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string uuid = 1;</code>
|
|
* @return string
|
|
*/
|
|
public function getUuid()
|
|
{
|
|
return $this->uuid;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string uuid = 1;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setUuid($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->uuid = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string name = 2;</code>
|
|
* @return string
|
|
*/
|
|
public function getName()
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string name = 2;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setName($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->name = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Message.API_v1_MessageToken.API_v1_TextToken text = 3;</code>
|
|
* @return \Rv\Data\API_v1_Message\API_v1_MessageToken\API_v1_TextToken|null
|
|
*/
|
|
public function getText()
|
|
{
|
|
return $this->readOneof(3);
|
|
}
|
|
|
|
public function hasText()
|
|
{
|
|
return $this->hasOneof(3);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Message.API_v1_MessageToken.API_v1_TextToken text = 3;</code>
|
|
* @param \Rv\Data\API_v1_Message\API_v1_MessageToken\API_v1_TextToken $var
|
|
* @return $this
|
|
*/
|
|
public function setText($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Message\API_v1_MessageToken\API_v1_TextToken::class);
|
|
$this->writeOneof(3, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Message.API_v1_MessageToken.API_v1_TimerToken timer = 4;</code>
|
|
* @return \Rv\Data\API_v1_Message\API_v1_MessageToken\API_v1_TimerToken|null
|
|
*/
|
|
public function getTimer()
|
|
{
|
|
return $this->readOneof(4);
|
|
}
|
|
|
|
public function hasTimer()
|
|
{
|
|
return $this->hasOneof(4);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Message.API_v1_MessageToken.API_v1_TimerToken timer = 4;</code>
|
|
* @param \Rv\Data\API_v1_Message\API_v1_MessageToken\API_v1_TimerToken $var
|
|
* @return $this
|
|
*/
|
|
public function setTimer($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Message\API_v1_MessageToken\API_v1_TimerToken::class);
|
|
$this->writeOneof(4, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Message.API_v1_MessageToken.API_v1_ClockToken clock = 5;</code>
|
|
* @return \Rv\Data\API_v1_Message\API_v1_MessageToken\API_v1_ClockToken|null
|
|
*/
|
|
public function getClock()
|
|
{
|
|
return $this->readOneof(5);
|
|
}
|
|
|
|
public function hasClock()
|
|
{
|
|
return $this->hasOneof(5);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Message.API_v1_MessageToken.API_v1_ClockToken clock = 5;</code>
|
|
* @param \Rv\Data\API_v1_Message\API_v1_MessageToken\API_v1_ClockToken $var
|
|
* @return $this
|
|
*/
|
|
public function setClock($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Message\API_v1_MessageToken\API_v1_ClockToken::class);
|
|
$this->writeOneof(5, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getTokenType()
|
|
{
|
|
return $this->whichOneof("TokenType");
|
|
}
|
|
|
|
}
|
|
|