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.
370 lines
9.9 KiB
PHP
370 lines
9.9 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: graphicsData.proto
|
|
|
|
namespace Rv\Data\Graphics;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.Graphics.Text</code>
|
|
*/
|
|
class Text extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes attributes = 3;</code>
|
|
*/
|
|
protected $attributes = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Shadow shadow = 4;</code>
|
|
*/
|
|
protected $shadow = null;
|
|
/**
|
|
* Generated from protobuf field <code>bytes rtf_data = 5;</code>
|
|
*/
|
|
protected $rtf_data = '';
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.VerticalAlignment vertical_alignment = 6;</code>
|
|
*/
|
|
protected $vertical_alignment = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.ScaleBehavior scale_behavior = 7;</code>
|
|
*/
|
|
protected $scale_behavior = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.EdgeInsets margins = 8;</code>
|
|
*/
|
|
protected $margins = null;
|
|
/**
|
|
* Generated from protobuf field <code>bool is_superscript_standardized = 9;</code>
|
|
*/
|
|
protected $is_superscript_standardized = false;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Transform transform = 10;</code>
|
|
*/
|
|
protected $transform = 0;
|
|
/**
|
|
* Generated from protobuf field <code>string transformDelimiter = 11;</code>
|
|
*/
|
|
protected $transformDelimiter = '';
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.ChordPro chord_pro = 12;</code>
|
|
*/
|
|
protected $chord_pro = null;
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.Graphics.Text.AlternateText alternate_texts = 13;</code>
|
|
*/
|
|
private $alternate_texts;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\Graphics\Text\Attributes $attributes
|
|
* @type \Rv\Data\Graphics\Shadow $shadow
|
|
* @type string $rtf_data
|
|
* @type int $vertical_alignment
|
|
* @type int $scale_behavior
|
|
* @type \Rv\Data\Graphics\EdgeInsets $margins
|
|
* @type bool $is_superscript_standardized
|
|
* @type int $transform
|
|
* @type string $transformDelimiter
|
|
* @type \Rv\Data\Graphics\Text\ChordPro $chord_pro
|
|
* @type array<\Rv\Data\Graphics\Text\AlternateText>|\Google\Protobuf\Internal\RepeatedField $alternate_texts
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\GraphicsData::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes attributes = 3;</code>
|
|
* @return \Rv\Data\Graphics\Text\Attributes|null
|
|
*/
|
|
public function getAttributes()
|
|
{
|
|
return $this->attributes;
|
|
}
|
|
|
|
public function hasAttributes()
|
|
{
|
|
return isset($this->attributes);
|
|
}
|
|
|
|
public function clearAttributes()
|
|
{
|
|
unset($this->attributes);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes attributes = 3;</code>
|
|
* @param \Rv\Data\Graphics\Text\Attributes $var
|
|
* @return $this
|
|
*/
|
|
public function setAttributes($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Graphics\Text\Attributes::class);
|
|
$this->attributes = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Shadow shadow = 4;</code>
|
|
* @return \Rv\Data\Graphics\Shadow|null
|
|
*/
|
|
public function getShadow()
|
|
{
|
|
return $this->shadow;
|
|
}
|
|
|
|
public function hasShadow()
|
|
{
|
|
return isset($this->shadow);
|
|
}
|
|
|
|
public function clearShadow()
|
|
{
|
|
unset($this->shadow);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Shadow shadow = 4;</code>
|
|
* @param \Rv\Data\Graphics\Shadow $var
|
|
* @return $this
|
|
*/
|
|
public function setShadow($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Graphics\Shadow::class);
|
|
$this->shadow = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bytes rtf_data = 5;</code>
|
|
* @return string
|
|
*/
|
|
public function getRtfData()
|
|
{
|
|
return $this->rtf_data;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bytes rtf_data = 5;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setRtfData($var)
|
|
{
|
|
GPBUtil::checkString($var, False);
|
|
$this->rtf_data = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.VerticalAlignment vertical_alignment = 6;</code>
|
|
* @return int
|
|
*/
|
|
public function getVerticalAlignment()
|
|
{
|
|
return $this->vertical_alignment;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.VerticalAlignment vertical_alignment = 6;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setVerticalAlignment($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Data\Graphics\Text\VerticalAlignment::class);
|
|
$this->vertical_alignment = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.ScaleBehavior scale_behavior = 7;</code>
|
|
* @return int
|
|
*/
|
|
public function getScaleBehavior()
|
|
{
|
|
return $this->scale_behavior;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.ScaleBehavior scale_behavior = 7;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setScaleBehavior($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Data\Graphics\Text\ScaleBehavior::class);
|
|
$this->scale_behavior = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.EdgeInsets margins = 8;</code>
|
|
* @return \Rv\Data\Graphics\EdgeInsets|null
|
|
*/
|
|
public function getMargins()
|
|
{
|
|
return $this->margins;
|
|
}
|
|
|
|
public function hasMargins()
|
|
{
|
|
return isset($this->margins);
|
|
}
|
|
|
|
public function clearMargins()
|
|
{
|
|
unset($this->margins);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.EdgeInsets margins = 8;</code>
|
|
* @param \Rv\Data\Graphics\EdgeInsets $var
|
|
* @return $this
|
|
*/
|
|
public function setMargins($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Graphics\EdgeInsets::class);
|
|
$this->margins = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool is_superscript_standardized = 9;</code>
|
|
* @return bool
|
|
*/
|
|
public function getIsSuperscriptStandardized()
|
|
{
|
|
return $this->is_superscript_standardized;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool is_superscript_standardized = 9;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setIsSuperscriptStandardized($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->is_superscript_standardized = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Transform transform = 10;</code>
|
|
* @return int
|
|
*/
|
|
public function getTransform()
|
|
{
|
|
return $this->transform;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Transform transform = 10;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setTransform($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Data\Graphics\Text\Transform::class);
|
|
$this->transform = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string transformDelimiter = 11;</code>
|
|
* @return string
|
|
*/
|
|
public function getTransformDelimiter()
|
|
{
|
|
return $this->transformDelimiter;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string transformDelimiter = 11;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setTransformDelimiter($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->transformDelimiter = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.ChordPro chord_pro = 12;</code>
|
|
* @return \Rv\Data\Graphics\Text\ChordPro|null
|
|
*/
|
|
public function getChordPro()
|
|
{
|
|
return $this->chord_pro;
|
|
}
|
|
|
|
public function hasChordPro()
|
|
{
|
|
return isset($this->chord_pro);
|
|
}
|
|
|
|
public function clearChordPro()
|
|
{
|
|
unset($this->chord_pro);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.ChordPro chord_pro = 12;</code>
|
|
* @param \Rv\Data\Graphics\Text\ChordPro $var
|
|
* @return $this
|
|
*/
|
|
public function setChordPro($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Graphics\Text\ChordPro::class);
|
|
$this->chord_pro = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.Graphics.Text.AlternateText alternate_texts = 13;</code>
|
|
* @return \Google\Protobuf\Internal\RepeatedField
|
|
*/
|
|
public function getAlternateTexts()
|
|
{
|
|
return $this->alternate_texts;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.Graphics.Text.AlternateText alternate_texts = 13;</code>
|
|
* @param array<\Rv\Data\Graphics\Text\AlternateText>|\Google\Protobuf\Internal\RepeatedField $var
|
|
* @return $this
|
|
*/
|
|
public function setAlternateTexts($var)
|
|
{
|
|
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Graphics\Text\AlternateText::class);
|
|
$this->alternate_texts = $arr;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|