propresenter7-php-lib/generated/Rv/Data/Media/VideoDevice.php
Thorsten Bus 8e80a8af88 Upgrade proto schema to ProPresenter Proto 19beta
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.
2026-05-04 07:19:24 +02:00

242 lines
5.8 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: graphicsData.proto
namespace Rv\Data\Media;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.Media.VideoDevice</code>
*/
class VideoDevice extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>.rv.data.Media.VideoDevice.Type type = 1;</code>
*/
protected $type = 0;
/**
* Generated from protobuf field <code>string name = 2;</code>
*/
protected $name = '';
/**
* Generated from protobuf field <code>string unique_id = 3;</code>
*/
protected $unique_id = '';
/**
* Generated from protobuf field <code>string model_id = 4;</code>
*/
protected $model_id = '';
/**
* Generated from protobuf field <code>uint32 format_index = 5;</code>
*/
protected $format_index = 0;
/**
* Generated from protobuf field <code>.rv.data.DigitalAudio.Device.Routing audio_routing = 6;</code>
*/
protected $audio_routing = null;
/**
* Generated from protobuf field <code>.rv.data.Media.VideoDevice.AirCast aircast = 7;</code>
*/
protected $aircast = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $type
* @type string $name
* @type string $unique_id
* @type string $model_id
* @type int $format_index
* @type \Rv\Data\DigitalAudio\Device\Routing $audio_routing
* @type \Rv\Data\Media\VideoDevice\AirCast $aircast
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\GraphicsData::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>.rv.data.Media.VideoDevice.Type type = 1;</code>
* @return int
*/
public function getType()
{
return $this->type;
}
/**
* Generated from protobuf field <code>.rv.data.Media.VideoDevice.Type type = 1;</code>
* @param int $var
* @return $this
*/
public function setType($var)
{
GPBUtil::checkEnum($var, \Rv\Data\Media\VideoDevice\Type::class);
$this->type = $var;
return $this;
}
/**
* Generated from protobuf field <code>string name = 2;</code>
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Generated from protobuf field <code>string name = 2;</code>
* @param string $var
* @return $this
*/
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
}
/**
* Generated from protobuf field <code>string unique_id = 3;</code>
* @return string
*/
public function getUniqueId()
{
return $this->unique_id;
}
/**
* Generated from protobuf field <code>string unique_id = 3;</code>
* @param string $var
* @return $this
*/
public function setUniqueId($var)
{
GPBUtil::checkString($var, True);
$this->unique_id = $var;
return $this;
}
/**
* Generated from protobuf field <code>string model_id = 4;</code>
* @return string
*/
public function getModelId()
{
return $this->model_id;
}
/**
* Generated from protobuf field <code>string model_id = 4;</code>
* @param string $var
* @return $this
*/
public function setModelId($var)
{
GPBUtil::checkString($var, True);
$this->model_id = $var;
return $this;
}
/**
* Generated from protobuf field <code>uint32 format_index = 5;</code>
* @return int
*/
public function getFormatIndex()
{
return $this->format_index;
}
/**
* Generated from protobuf field <code>uint32 format_index = 5;</code>
* @param int $var
* @return $this
*/
public function setFormatIndex($var)
{
GPBUtil::checkUint32($var);
$this->format_index = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.DigitalAudio.Device.Routing audio_routing = 6;</code>
* @return \Rv\Data\DigitalAudio\Device\Routing|null
*/
public function getAudioRouting()
{
return $this->audio_routing;
}
public function hasAudioRouting()
{
return isset($this->audio_routing);
}
public function clearAudioRouting()
{
unset($this->audio_routing);
}
/**
* Generated from protobuf field <code>.rv.data.DigitalAudio.Device.Routing audio_routing = 6;</code>
* @param \Rv\Data\DigitalAudio\Device\Routing $var
* @return $this
*/
public function setAudioRouting($var)
{
GPBUtil::checkMessage($var, \Rv\Data\DigitalAudio\Device\Routing::class);
$this->audio_routing = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Media.VideoDevice.AirCast aircast = 7;</code>
* @return \Rv\Data\Media\VideoDevice\AirCast|null
*/
public function getAircast()
{
return $this->aircast;
}
public function hasAircast()
{
return isset($this->aircast);
}
public function clearAircast()
{
unset($this->aircast);
}
/**
* Generated from protobuf field <code>.rv.data.Media.VideoDevice.AirCast aircast = 7;</code>
* @param \Rv\Data\Media\VideoDevice\AirCast $var
* @return $this
*/
public function setAircast($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Media\VideoDevice\AirCast::class);
$this->aircast = $var;
return $this;
}
}