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.
340 lines
8.5 KiB
PHP
340 lines
8.5 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: mediaMetadata.proto
|
|
|
|
namespace Rv\Data;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.MediaMetadataRequestInfo</code>
|
|
*/
|
|
class MediaMetadataRequestInfo extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>string file_path = 1;</code>
|
|
*/
|
|
protected $file_path = '';
|
|
/**
|
|
* Generated from protobuf field <code>float time = 2;</code>
|
|
*/
|
|
protected $time = 0.0;
|
|
/**
|
|
* Generated from protobuf field <code>uint32 width = 3;</code>
|
|
*/
|
|
protected $width = 0;
|
|
/**
|
|
* Generated from protobuf field <code>uint32 height = 4;</code>
|
|
*/
|
|
protected $height = 0;
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.Effect effects = 5;</code>
|
|
*/
|
|
private $effects;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.EdgeInsets crop_insets = 6;</code>
|
|
*/
|
|
protected $crop_insets = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Media.DrawingProperties.NativeRotationType native_rotation = 7;</code>
|
|
*/
|
|
protected $native_rotation = 0;
|
|
/**
|
|
* Generated from protobuf field <code>bool flipped_horizontally = 8;</code>
|
|
*/
|
|
protected $flipped_horizontally = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool flipped_vertically = 9;</code>
|
|
*/
|
|
protected $flipped_vertically = false;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.AlphaType alpha_type = 10;</code>
|
|
*/
|
|
protected $alpha_type = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.MediaMetadataRequestInfo.BufferFormat buffer_format = 11;</code>
|
|
*/
|
|
protected $buffer_format = 0;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type string $file_path
|
|
* @type float $time
|
|
* @type int $width
|
|
* @type int $height
|
|
* @type array<\Rv\Data\Effect>|\Google\Protobuf\Internal\RepeatedField $effects
|
|
* @type \Rv\Data\Graphics\EdgeInsets $crop_insets
|
|
* @type int $native_rotation
|
|
* @type bool $flipped_horizontally
|
|
* @type bool $flipped_vertically
|
|
* @type int $alpha_type
|
|
* @type int $buffer_format
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\MediaMetadata::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string file_path = 1;</code>
|
|
* @return string
|
|
*/
|
|
public function getFilePath()
|
|
{
|
|
return $this->file_path;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string file_path = 1;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setFilePath($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->file_path = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>float time = 2;</code>
|
|
* @return float
|
|
*/
|
|
public function getTime()
|
|
{
|
|
return $this->time;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>float time = 2;</code>
|
|
* @param float $var
|
|
* @return $this
|
|
*/
|
|
public function setTime($var)
|
|
{
|
|
GPBUtil::checkFloat($var);
|
|
$this->time = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint32 width = 3;</code>
|
|
* @return int
|
|
*/
|
|
public function getWidth()
|
|
{
|
|
return $this->width;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint32 width = 3;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setWidth($var)
|
|
{
|
|
GPBUtil::checkUint32($var);
|
|
$this->width = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint32 height = 4;</code>
|
|
* @return int
|
|
*/
|
|
public function getHeight()
|
|
{
|
|
return $this->height;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint32 height = 4;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setHeight($var)
|
|
{
|
|
GPBUtil::checkUint32($var);
|
|
$this->height = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.Effect effects = 5;</code>
|
|
* @return \Google\Protobuf\Internal\RepeatedField
|
|
*/
|
|
public function getEffects()
|
|
{
|
|
return $this->effects;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>repeated .rv.data.Effect effects = 5;</code>
|
|
* @param array<\Rv\Data\Effect>|\Google\Protobuf\Internal\RepeatedField $var
|
|
* @return $this
|
|
*/
|
|
public function setEffects($var)
|
|
{
|
|
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Effect::class);
|
|
$this->effects = $arr;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.EdgeInsets crop_insets = 6;</code>
|
|
* @return \Rv\Data\Graphics\EdgeInsets|null
|
|
*/
|
|
public function getCropInsets()
|
|
{
|
|
return $this->crop_insets;
|
|
}
|
|
|
|
public function hasCropInsets()
|
|
{
|
|
return isset($this->crop_insets);
|
|
}
|
|
|
|
public function clearCropInsets()
|
|
{
|
|
unset($this->crop_insets);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.EdgeInsets crop_insets = 6;</code>
|
|
* @param \Rv\Data\Graphics\EdgeInsets $var
|
|
* @return $this
|
|
*/
|
|
public function setCropInsets($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Graphics\EdgeInsets::class);
|
|
$this->crop_insets = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Media.DrawingProperties.NativeRotationType native_rotation = 7;</code>
|
|
* @return int
|
|
*/
|
|
public function getNativeRotation()
|
|
{
|
|
return $this->native_rotation;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Media.DrawingProperties.NativeRotationType native_rotation = 7;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setNativeRotation($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Data\Media\DrawingProperties\NativeRotationType::class);
|
|
$this->native_rotation = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool flipped_horizontally = 8;</code>
|
|
* @return bool
|
|
*/
|
|
public function getFlippedHorizontally()
|
|
{
|
|
return $this->flipped_horizontally;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool flipped_horizontally = 8;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setFlippedHorizontally($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->flipped_horizontally = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool flipped_vertically = 9;</code>
|
|
* @return bool
|
|
*/
|
|
public function getFlippedVertically()
|
|
{
|
|
return $this->flipped_vertically;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool flipped_vertically = 9;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setFlippedVertically($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->flipped_vertically = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.AlphaType alpha_type = 10;</code>
|
|
* @return int
|
|
*/
|
|
public function getAlphaType()
|
|
{
|
|
return $this->alpha_type;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.AlphaType alpha_type = 10;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setAlphaType($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Data\AlphaType::class);
|
|
$this->alpha_type = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.MediaMetadataRequestInfo.BufferFormat buffer_format = 11;</code>
|
|
* @return int
|
|
*/
|
|
public function getBufferFormat()
|
|
{
|
|
return $this->buffer_format;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.MediaMetadataRequestInfo.BufferFormat buffer_format = 11;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setBufferFormat($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Data\MediaMetadataRequestInfo\BufferFormat::class);
|
|
$this->buffer_format = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|