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.
303 lines
7.6 KiB
PHP
303 lines
7.6 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.Print</code>
|
|
*/
|
|
class PBPrint extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>uint32 document_count = 1;</code>
|
|
*/
|
|
protected $document_count = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trackedevents.Print.PrintMode mode = 2;</code>
|
|
*/
|
|
protected $mode = 0;
|
|
/**
|
|
* Generated from protobuf field <code>bool include_metadata = 3;</code>
|
|
*/
|
|
protected $include_metadata = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool include_presentation_notes = 4;</code>
|
|
*/
|
|
protected $include_presentation_notes = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool include_currentDate = 5;</code>
|
|
*/
|
|
protected $include_currentDate = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool include_slide_labels = 6;</code>
|
|
*/
|
|
protected $include_slide_labels = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool include_slide_notes = 7;</code>
|
|
*/
|
|
protected $include_slide_notes = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool include_disabled_slides = 8;</code>
|
|
*/
|
|
protected $include_disabled_slides = false;
|
|
/**
|
|
* Generated from protobuf field <code>uint32 number_columns = 9;</code>
|
|
*/
|
|
protected $number_columns = 0;
|
|
/**
|
|
* Generated from protobuf field <code>string print_to_device = 10;</code>
|
|
*/
|
|
protected $print_to_device = '';
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type int $document_count
|
|
* @type int $mode
|
|
* @type bool $include_metadata
|
|
* @type bool $include_presentation_notes
|
|
* @type bool $include_currentDate
|
|
* @type bool $include_slide_labels
|
|
* @type bool $include_slide_notes
|
|
* @type bool $include_disabled_slides
|
|
* @type int $number_columns
|
|
* @type string $print_to_device
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\AnalyticsTrackedEvents::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint32 document_count = 1;</code>
|
|
* @return int
|
|
*/
|
|
public function getDocumentCount()
|
|
{
|
|
return $this->document_count;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint32 document_count = 1;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setDocumentCount($var)
|
|
{
|
|
GPBUtil::checkUint32($var);
|
|
$this->document_count = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trackedevents.Print.PrintMode mode = 2;</code>
|
|
* @return int
|
|
*/
|
|
public function getMode()
|
|
{
|
|
return $this->mode;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.analytics.trackedevents.Print.PrintMode mode = 2;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setMode($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Analytics\Trackedevents\PBPrint\PrintMode::class);
|
|
$this->mode = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_metadata = 3;</code>
|
|
* @return bool
|
|
*/
|
|
public function getIncludeMetadata()
|
|
{
|
|
return $this->include_metadata;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_metadata = 3;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setIncludeMetadata($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->include_metadata = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_presentation_notes = 4;</code>
|
|
* @return bool
|
|
*/
|
|
public function getIncludePresentationNotes()
|
|
{
|
|
return $this->include_presentation_notes;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_presentation_notes = 4;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setIncludePresentationNotes($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->include_presentation_notes = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_currentDate = 5;</code>
|
|
* @return bool
|
|
*/
|
|
public function getIncludeCurrentDate()
|
|
{
|
|
return $this->include_currentDate;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_currentDate = 5;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setIncludeCurrentDate($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->include_currentDate = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_slide_labels = 6;</code>
|
|
* @return bool
|
|
*/
|
|
public function getIncludeSlideLabels()
|
|
{
|
|
return $this->include_slide_labels;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_slide_labels = 6;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setIncludeSlideLabels($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->include_slide_labels = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_slide_notes = 7;</code>
|
|
* @return bool
|
|
*/
|
|
public function getIncludeSlideNotes()
|
|
{
|
|
return $this->include_slide_notes;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_slide_notes = 7;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setIncludeSlideNotes($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->include_slide_notes = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_disabled_slides = 8;</code>
|
|
* @return bool
|
|
*/
|
|
public function getIncludeDisabledSlides()
|
|
{
|
|
return $this->include_disabled_slides;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool include_disabled_slides = 8;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setIncludeDisabledSlides($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->include_disabled_slides = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint32 number_columns = 9;</code>
|
|
* @return int
|
|
*/
|
|
public function getNumberColumns()
|
|
{
|
|
return $this->number_columns;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint32 number_columns = 9;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setNumberColumns($var)
|
|
{
|
|
GPBUtil::checkUint32($var);
|
|
$this->number_columns = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string print_to_device = 10;</code>
|
|
* @return string
|
|
*/
|
|
public function getPrintToDevice()
|
|
{
|
|
return $this->print_to_device;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string print_to_device = 10;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setPrintToDevice($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->print_to_device = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|