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.
640 lines
17 KiB
PHP
640 lines
17 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: graphicsData.proto
|
|
|
|
namespace Rv\Data\Graphics\Text;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.Graphics.Text.Attributes</code>
|
|
*/
|
|
class Attributes extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Font font = 1;</code>
|
|
*/
|
|
protected $font = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes.Capitalization capitalization = 2;</code>
|
|
*/
|
|
protected $capitalization = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes.Underline underline_style = 4;</code>
|
|
*/
|
|
protected $underline_style = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Color underline_color = 5;</code>
|
|
*/
|
|
protected $underline_color = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes.Paragraph paragraph_style = 6;</code>
|
|
*/
|
|
protected $paragraph_style = null;
|
|
/**
|
|
* Generated from protobuf field <code>double kerning = 7;</code>
|
|
*/
|
|
protected $kerning = 0.0;
|
|
/**
|
|
* Generated from protobuf field <code>int32 superscript = 8;</code>
|
|
*/
|
|
protected $superscript = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes.Underline strikethrough_style = 9;</code>
|
|
*/
|
|
protected $strikethrough_style = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Color strikethrough_color = 10;</code>
|
|
*/
|
|
protected $strikethrough_color = null;
|
|
/**
|
|
* Generated from protobuf field <code>double stroke_width = 11;</code>
|
|
*/
|
|
protected $stroke_width = 0.0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Color stroke_color = 12;</code>
|
|
*/
|
|
protected $stroke_color = null;
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.Graphics.Text.Attributes.CustomAttribute custom_attributes = 13;</code>
|
|
*/
|
|
private $custom_attributes;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Color background_color = 15;</code>
|
|
*/
|
|
protected $background_color = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes.LigatureStyle ligature_style = 19;</code>
|
|
*/
|
|
protected $ligature_style = 0;
|
|
protected $fill;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\Font $font
|
|
* @type int $capitalization
|
|
* @type \Rv\Data\Graphics\Text\Attributes\Underline $underline_style
|
|
* @type \Rv\Data\Color $underline_color
|
|
* @type \Rv\Data\Graphics\Text\Attributes\Paragraph $paragraph_style
|
|
* @type float $kerning
|
|
* @type int $superscript
|
|
* @type \Rv\Data\Graphics\Text\Attributes\Underline $strikethrough_style
|
|
* @type \Rv\Data\Color $strikethrough_color
|
|
* @type float $stroke_width
|
|
* @type \Rv\Data\Color $stroke_color
|
|
* @type array<\Rv\Data\Graphics\Text\Attributes\CustomAttribute>|\Google\Protobuf\Internal\RepeatedField $custom_attributes
|
|
* @type \Rv\Data\Color $background_color
|
|
* @type int $ligature_style
|
|
* @type \Rv\Data\Color $text_solid_fill
|
|
* @type \Rv\Data\Graphics\Text\GradientFill $text_gradient_fill
|
|
* @type \Rv\Data\Graphics\Text\CutOutFill $cut_out_fill
|
|
* @type \Rv\Data\Graphics\Text\MediaFill $media_fill
|
|
* @type \Rv\Data\Graphics\BackgroundEffect $background_effect
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\GraphicsData::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Font font = 1;</code>
|
|
* @return \Rv\Data\Font|null
|
|
*/
|
|
public function getFont()
|
|
{
|
|
return $this->font;
|
|
}
|
|
|
|
public function hasFont()
|
|
{
|
|
return isset($this->font);
|
|
}
|
|
|
|
public function clearFont()
|
|
{
|
|
unset($this->font);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Font font = 1;</code>
|
|
* @param \Rv\Data\Font $var
|
|
* @return $this
|
|
*/
|
|
public function setFont($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Font::class);
|
|
$this->font = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes.Capitalization capitalization = 2;</code>
|
|
* @return int
|
|
*/
|
|
public function getCapitalization()
|
|
{
|
|
return $this->capitalization;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes.Capitalization capitalization = 2;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setCapitalization($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Data\Graphics\Text\Attributes\Capitalization::class);
|
|
$this->capitalization = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes.Underline underline_style = 4;</code>
|
|
* @return \Rv\Data\Graphics\Text\Attributes\Underline|null
|
|
*/
|
|
public function getUnderlineStyle()
|
|
{
|
|
return $this->underline_style;
|
|
}
|
|
|
|
public function hasUnderlineStyle()
|
|
{
|
|
return isset($this->underline_style);
|
|
}
|
|
|
|
public function clearUnderlineStyle()
|
|
{
|
|
unset($this->underline_style);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes.Underline underline_style = 4;</code>
|
|
* @param \Rv\Data\Graphics\Text\Attributes\Underline $var
|
|
* @return $this
|
|
*/
|
|
public function setUnderlineStyle($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Graphics\Text\Attributes\Underline::class);
|
|
$this->underline_style = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Color underline_color = 5;</code>
|
|
* @return \Rv\Data\Color|null
|
|
*/
|
|
public function getUnderlineColor()
|
|
{
|
|
return $this->underline_color;
|
|
}
|
|
|
|
public function hasUnderlineColor()
|
|
{
|
|
return isset($this->underline_color);
|
|
}
|
|
|
|
public function clearUnderlineColor()
|
|
{
|
|
unset($this->underline_color);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Color underline_color = 5;</code>
|
|
* @param \Rv\Data\Color $var
|
|
* @return $this
|
|
*/
|
|
public function setUnderlineColor($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Color::class);
|
|
$this->underline_color = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes.Paragraph paragraph_style = 6;</code>
|
|
* @return \Rv\Data\Graphics\Text\Attributes\Paragraph|null
|
|
*/
|
|
public function getParagraphStyle()
|
|
{
|
|
return $this->paragraph_style;
|
|
}
|
|
|
|
public function hasParagraphStyle()
|
|
{
|
|
return isset($this->paragraph_style);
|
|
}
|
|
|
|
public function clearParagraphStyle()
|
|
{
|
|
unset($this->paragraph_style);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes.Paragraph paragraph_style = 6;</code>
|
|
* @param \Rv\Data\Graphics\Text\Attributes\Paragraph $var
|
|
* @return $this
|
|
*/
|
|
public function setParagraphStyle($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Graphics\Text\Attributes\Paragraph::class);
|
|
$this->paragraph_style = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double kerning = 7;</code>
|
|
* @return float
|
|
*/
|
|
public function getKerning()
|
|
{
|
|
return $this->kerning;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double kerning = 7;</code>
|
|
* @param float $var
|
|
* @return $this
|
|
*/
|
|
public function setKerning($var)
|
|
{
|
|
GPBUtil::checkDouble($var);
|
|
$this->kerning = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 superscript = 8;</code>
|
|
* @return int
|
|
*/
|
|
public function getSuperscript()
|
|
{
|
|
return $this->superscript;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 superscript = 8;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setSuperscript($var)
|
|
{
|
|
GPBUtil::checkInt32($var);
|
|
$this->superscript = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes.Underline strikethrough_style = 9;</code>
|
|
* @return \Rv\Data\Graphics\Text\Attributes\Underline|null
|
|
*/
|
|
public function getStrikethroughStyle()
|
|
{
|
|
return $this->strikethrough_style;
|
|
}
|
|
|
|
public function hasStrikethroughStyle()
|
|
{
|
|
return isset($this->strikethrough_style);
|
|
}
|
|
|
|
public function clearStrikethroughStyle()
|
|
{
|
|
unset($this->strikethrough_style);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes.Underline strikethrough_style = 9;</code>
|
|
* @param \Rv\Data\Graphics\Text\Attributes\Underline $var
|
|
* @return $this
|
|
*/
|
|
public function setStrikethroughStyle($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Graphics\Text\Attributes\Underline::class);
|
|
$this->strikethrough_style = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Color strikethrough_color = 10;</code>
|
|
* @return \Rv\Data\Color|null
|
|
*/
|
|
public function getStrikethroughColor()
|
|
{
|
|
return $this->strikethrough_color;
|
|
}
|
|
|
|
public function hasStrikethroughColor()
|
|
{
|
|
return isset($this->strikethrough_color);
|
|
}
|
|
|
|
public function clearStrikethroughColor()
|
|
{
|
|
unset($this->strikethrough_color);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Color strikethrough_color = 10;</code>
|
|
* @param \Rv\Data\Color $var
|
|
* @return $this
|
|
*/
|
|
public function setStrikethroughColor($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Color::class);
|
|
$this->strikethrough_color = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double stroke_width = 11;</code>
|
|
* @return float
|
|
*/
|
|
public function getStrokeWidth()
|
|
{
|
|
return $this->stroke_width;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double stroke_width = 11;</code>
|
|
* @param float $var
|
|
* @return $this
|
|
*/
|
|
public function setStrokeWidth($var)
|
|
{
|
|
GPBUtil::checkDouble($var);
|
|
$this->stroke_width = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Color stroke_color = 12;</code>
|
|
* @return \Rv\Data\Color|null
|
|
*/
|
|
public function getStrokeColor()
|
|
{
|
|
return $this->stroke_color;
|
|
}
|
|
|
|
public function hasStrokeColor()
|
|
{
|
|
return isset($this->stroke_color);
|
|
}
|
|
|
|
public function clearStrokeColor()
|
|
{
|
|
unset($this->stroke_color);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Color stroke_color = 12;</code>
|
|
* @param \Rv\Data\Color $var
|
|
* @return $this
|
|
*/
|
|
public function setStrokeColor($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Color::class);
|
|
$this->stroke_color = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.Graphics.Text.Attributes.CustomAttribute custom_attributes = 13;</code>
|
|
* @return \Google\Protobuf\Internal\RepeatedField
|
|
*/
|
|
public function getCustomAttributes()
|
|
{
|
|
return $this->custom_attributes;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.Graphics.Text.Attributes.CustomAttribute custom_attributes = 13;</code>
|
|
* @param array<\Rv\Data\Graphics\Text\Attributes\CustomAttribute>|\Google\Protobuf\Internal\RepeatedField $var
|
|
* @return $this
|
|
*/
|
|
public function setCustomAttributes($var)
|
|
{
|
|
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Graphics\Text\Attributes\CustomAttribute::class);
|
|
$this->custom_attributes = $arr;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Color background_color = 15;</code>
|
|
* @return \Rv\Data\Color|null
|
|
*/
|
|
public function getBackgroundColor()
|
|
{
|
|
return $this->background_color;
|
|
}
|
|
|
|
public function hasBackgroundColor()
|
|
{
|
|
return isset($this->background_color);
|
|
}
|
|
|
|
public function clearBackgroundColor()
|
|
{
|
|
unset($this->background_color);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Color background_color = 15;</code>
|
|
* @param \Rv\Data\Color $var
|
|
* @return $this
|
|
*/
|
|
public function setBackgroundColor($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Color::class);
|
|
$this->background_color = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes.LigatureStyle ligature_style = 19;</code>
|
|
* @return int
|
|
*/
|
|
public function getLigatureStyle()
|
|
{
|
|
return $this->ligature_style;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes.LigatureStyle ligature_style = 19;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setLigatureStyle($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Data\Graphics\Text\Attributes\LigatureStyle::class);
|
|
$this->ligature_style = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Color text_solid_fill = 3;</code>
|
|
* @return \Rv\Data\Color|null
|
|
*/
|
|
public function getTextSolidFill()
|
|
{
|
|
return $this->readOneof(3);
|
|
}
|
|
|
|
public function hasTextSolidFill()
|
|
{
|
|
return $this->hasOneof(3);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Color text_solid_fill = 3;</code>
|
|
* @param \Rv\Data\Color $var
|
|
* @return $this
|
|
*/
|
|
public function setTextSolidFill($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Color::class);
|
|
$this->writeOneof(3, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.GradientFill text_gradient_fill = 14;</code>
|
|
* @return \Rv\Data\Graphics\Text\GradientFill|null
|
|
*/
|
|
public function getTextGradientFill()
|
|
{
|
|
return $this->readOneof(14);
|
|
}
|
|
|
|
public function hasTextGradientFill()
|
|
{
|
|
return $this->hasOneof(14);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.GradientFill text_gradient_fill = 14;</code>
|
|
* @param \Rv\Data\Graphics\Text\GradientFill $var
|
|
* @return $this
|
|
*/
|
|
public function setTextGradientFill($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Graphics\Text\GradientFill::class);
|
|
$this->writeOneof(14, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.CutOutFill cut_out_fill = 16;</code>
|
|
* @return \Rv\Data\Graphics\Text\CutOutFill|null
|
|
*/
|
|
public function getCutOutFill()
|
|
{
|
|
return $this->readOneof(16);
|
|
}
|
|
|
|
public function hasCutOutFill()
|
|
{
|
|
return $this->hasOneof(16);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.CutOutFill cut_out_fill = 16;</code>
|
|
* @param \Rv\Data\Graphics\Text\CutOutFill $var
|
|
* @return $this
|
|
*/
|
|
public function setCutOutFill($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Graphics\Text\CutOutFill::class);
|
|
$this->writeOneof(16, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.MediaFill media_fill = 17;</code>
|
|
* @return \Rv\Data\Graphics\Text\MediaFill|null
|
|
*/
|
|
public function getMediaFill()
|
|
{
|
|
return $this->readOneof(17);
|
|
}
|
|
|
|
public function hasMediaFill()
|
|
{
|
|
return $this->hasOneof(17);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.MediaFill media_fill = 17;</code>
|
|
* @param \Rv\Data\Graphics\Text\MediaFill $var
|
|
* @return $this
|
|
*/
|
|
public function setMediaFill($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Graphics\Text\MediaFill::class);
|
|
$this->writeOneof(17, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.BackgroundEffect background_effect = 18;</code>
|
|
* @return \Rv\Data\Graphics\BackgroundEffect|null
|
|
*/
|
|
public function getBackgroundEffect()
|
|
{
|
|
return $this->readOneof(18);
|
|
}
|
|
|
|
public function hasBackgroundEffect()
|
|
{
|
|
return $this->hasOneof(18);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.BackgroundEffect background_effect = 18;</code>
|
|
* @param \Rv\Data\Graphics\BackgroundEffect $var
|
|
* @return $this
|
|
*/
|
|
public function setBackgroundEffect($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Graphics\BackgroundEffect::class);
|
|
$this->writeOneof(18, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getFill()
|
|
{
|
|
return $this->whichOneof("fill");
|
|
}
|
|
|
|
}
|
|
|