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.
249 lines
5.5 KiB
PHP
249 lines
5.5 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: registration.proto
|
|
|
|
namespace Registration\Core;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>registration.core.Notification</code>
|
|
*/
|
|
class Notification extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>string id = 1;</code>
|
|
*/
|
|
protected $id = '';
|
|
/**
|
|
* Generated from protobuf field <code>string header = 2;</code>
|
|
*/
|
|
protected $header = '';
|
|
/**
|
|
* Generated from protobuf field <code>string body = 3;</code>
|
|
*/
|
|
protected $body = '';
|
|
/**
|
|
* Generated from protobuf field <code>string url = 4;</code>
|
|
*/
|
|
protected $url = '';
|
|
/**
|
|
* Generated from protobuf field <code>string url_display_text = 5;</code>
|
|
*/
|
|
protected $url_display_text = '';
|
|
/**
|
|
* Generated from protobuf field <code>uint64 created_at = 6;</code>
|
|
*/
|
|
protected $created_at = 0;
|
|
/**
|
|
* Generated from protobuf field <code>uint64 expires_at = 7;</code>
|
|
*/
|
|
protected $expires_at = 0;
|
|
/**
|
|
* Generated from protobuf field <code>bool is_read = 8;</code>
|
|
*/
|
|
protected $is_read = false;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type string $id
|
|
* @type string $header
|
|
* @type string $body
|
|
* @type string $url
|
|
* @type string $url_display_text
|
|
* @type int|string $created_at
|
|
* @type int|string $expires_at
|
|
* @type bool $is_read
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Registration::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string id = 1;</code>
|
|
* @return string
|
|
*/
|
|
public function getId()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string id = 1;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setId($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->id = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string header = 2;</code>
|
|
* @return string
|
|
*/
|
|
public function getHeader()
|
|
{
|
|
return $this->header;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string header = 2;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setHeader($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->header = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string body = 3;</code>
|
|
* @return string
|
|
*/
|
|
public function getBody()
|
|
{
|
|
return $this->body;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string body = 3;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setBody($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->body = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string url = 4;</code>
|
|
* @return string
|
|
*/
|
|
public function getUrl()
|
|
{
|
|
return $this->url;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string url = 4;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setUrl($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->url = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string url_display_text = 5;</code>
|
|
* @return string
|
|
*/
|
|
public function getUrlDisplayText()
|
|
{
|
|
return $this->url_display_text;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string url_display_text = 5;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setUrlDisplayText($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->url_display_text = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint64 created_at = 6;</code>
|
|
* @return int|string
|
|
*/
|
|
public function getCreatedAt()
|
|
{
|
|
return $this->created_at;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint64 created_at = 6;</code>
|
|
* @param int|string $var
|
|
* @return $this
|
|
*/
|
|
public function setCreatedAt($var)
|
|
{
|
|
GPBUtil::checkUint64($var);
|
|
$this->created_at = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint64 expires_at = 7;</code>
|
|
* @return int|string
|
|
*/
|
|
public function getExpiresAt()
|
|
{
|
|
return $this->expires_at;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint64 expires_at = 7;</code>
|
|
* @param int|string $var
|
|
* @return $this
|
|
*/
|
|
public function setExpiresAt($var)
|
|
{
|
|
GPBUtil::checkUint64($var);
|
|
$this->expires_at = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool is_read = 8;</code>
|
|
* @return bool
|
|
*/
|
|
public function getIsRead()
|
|
{
|
|
return $this->is_read;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool is_read = 8;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setIsRead($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->is_read = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|