propresenter7-php-lib/generated/Rv/Data/ProApiNetworkConfiguration.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

448 lines
11 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApi.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.ProApiNetworkConfiguration</code>
*/
class ProApiNetworkConfiguration extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>bool enable_network = 1;</code>
*/
protected $enable_network = false;
/**
* Generated from protobuf field <code>uint32 port = 2;</code>
*/
protected $port = 0;
/**
* Generated from protobuf field <code>string network_name = 3;</code>
*/
protected $network_name = '';
/**
* Generated from protobuf field <code>bool remote_enable = 4;</code>
*/
protected $remote_enable = false;
/**
* Generated from protobuf field <code>bool remote_control_enable = 5;</code>
*/
protected $remote_control_enable = false;
/**
* Generated from protobuf field <code>string remote_control_password = 6;</code>
*/
protected $remote_control_password = '';
/**
* Generated from protobuf field <code>bool remote_observe_enable = 7;</code>
*/
protected $remote_observe_enable = false;
/**
* Generated from protobuf field <code>string remote_observe_password = 8;</code>
*/
protected $remote_observe_password = '';
/**
* Generated from protobuf field <code>bool stage_enable = 9;</code>
*/
protected $stage_enable = false;
/**
* Generated from protobuf field <code>string stage_password = 10;</code>
*/
protected $stage_password = '';
/**
* Generated from protobuf field <code>bool link_enable = 11;</code>
*/
protected $link_enable = false;
/**
* Generated from protobuf field <code>string web_resource_root = 12;</code>
*/
protected $web_resource_root = '';
/**
* Generated from protobuf field <code>uint32 tcp_stream_port = 13;</code>
*/
protected $tcp_stream_port = 0;
/**
* Generated from protobuf field <code>bool tcp_stream_enable = 14;</code>
*/
protected $tcp_stream_enable = false;
/**
* Generated from protobuf field <code>.rv.data.AirplayConfiguration airplay = 15;</code>
*/
protected $airplay = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type bool $enable_network
* @type int $port
* @type string $network_name
* @type bool $remote_enable
* @type bool $remote_control_enable
* @type string $remote_control_password
* @type bool $remote_observe_enable
* @type string $remote_observe_password
* @type bool $stage_enable
* @type string $stage_password
* @type bool $link_enable
* @type string $web_resource_root
* @type int $tcp_stream_port
* @type bool $tcp_stream_enable
* @type \Rv\Data\AirplayConfiguration $airplay
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProApi::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>bool enable_network = 1;</code>
* @return bool
*/
public function getEnableNetwork()
{
return $this->enable_network;
}
/**
* Generated from protobuf field <code>bool enable_network = 1;</code>
* @param bool $var
* @return $this
*/
public function setEnableNetwork($var)
{
GPBUtil::checkBool($var);
$this->enable_network = $var;
return $this;
}
/**
* Generated from protobuf field <code>uint32 port = 2;</code>
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* Generated from protobuf field <code>uint32 port = 2;</code>
* @param int $var
* @return $this
*/
public function setPort($var)
{
GPBUtil::checkUint32($var);
$this->port = $var;
return $this;
}
/**
* Generated from protobuf field <code>string network_name = 3;</code>
* @return string
*/
public function getNetworkName()
{
return $this->network_name;
}
/**
* Generated from protobuf field <code>string network_name = 3;</code>
* @param string $var
* @return $this
*/
public function setNetworkName($var)
{
GPBUtil::checkString($var, True);
$this->network_name = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool remote_enable = 4;</code>
* @return bool
*/
public function getRemoteEnable()
{
return $this->remote_enable;
}
/**
* Generated from protobuf field <code>bool remote_enable = 4;</code>
* @param bool $var
* @return $this
*/
public function setRemoteEnable($var)
{
GPBUtil::checkBool($var);
$this->remote_enable = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool remote_control_enable = 5;</code>
* @return bool
*/
public function getRemoteControlEnable()
{
return $this->remote_control_enable;
}
/**
* Generated from protobuf field <code>bool remote_control_enable = 5;</code>
* @param bool $var
* @return $this
*/
public function setRemoteControlEnable($var)
{
GPBUtil::checkBool($var);
$this->remote_control_enable = $var;
return $this;
}
/**
* Generated from protobuf field <code>string remote_control_password = 6;</code>
* @return string
*/
public function getRemoteControlPassword()
{
return $this->remote_control_password;
}
/**
* Generated from protobuf field <code>string remote_control_password = 6;</code>
* @param string $var
* @return $this
*/
public function setRemoteControlPassword($var)
{
GPBUtil::checkString($var, True);
$this->remote_control_password = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool remote_observe_enable = 7;</code>
* @return bool
*/
public function getRemoteObserveEnable()
{
return $this->remote_observe_enable;
}
/**
* Generated from protobuf field <code>bool remote_observe_enable = 7;</code>
* @param bool $var
* @return $this
*/
public function setRemoteObserveEnable($var)
{
GPBUtil::checkBool($var);
$this->remote_observe_enable = $var;
return $this;
}
/**
* Generated from protobuf field <code>string remote_observe_password = 8;</code>
* @return string
*/
public function getRemoteObservePassword()
{
return $this->remote_observe_password;
}
/**
* Generated from protobuf field <code>string remote_observe_password = 8;</code>
* @param string $var
* @return $this
*/
public function setRemoteObservePassword($var)
{
GPBUtil::checkString($var, True);
$this->remote_observe_password = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool stage_enable = 9;</code>
* @return bool
*/
public function getStageEnable()
{
return $this->stage_enable;
}
/**
* Generated from protobuf field <code>bool stage_enable = 9;</code>
* @param bool $var
* @return $this
*/
public function setStageEnable($var)
{
GPBUtil::checkBool($var);
$this->stage_enable = $var;
return $this;
}
/**
* Generated from protobuf field <code>string stage_password = 10;</code>
* @return string
*/
public function getStagePassword()
{
return $this->stage_password;
}
/**
* Generated from protobuf field <code>string stage_password = 10;</code>
* @param string $var
* @return $this
*/
public function setStagePassword($var)
{
GPBUtil::checkString($var, True);
$this->stage_password = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool link_enable = 11;</code>
* @return bool
*/
public function getLinkEnable()
{
return $this->link_enable;
}
/**
* Generated from protobuf field <code>bool link_enable = 11;</code>
* @param bool $var
* @return $this
*/
public function setLinkEnable($var)
{
GPBUtil::checkBool($var);
$this->link_enable = $var;
return $this;
}
/**
* Generated from protobuf field <code>string web_resource_root = 12;</code>
* @return string
*/
public function getWebResourceRoot()
{
return $this->web_resource_root;
}
/**
* Generated from protobuf field <code>string web_resource_root = 12;</code>
* @param string $var
* @return $this
*/
public function setWebResourceRoot($var)
{
GPBUtil::checkString($var, True);
$this->web_resource_root = $var;
return $this;
}
/**
* Generated from protobuf field <code>uint32 tcp_stream_port = 13;</code>
* @return int
*/
public function getTcpStreamPort()
{
return $this->tcp_stream_port;
}
/**
* Generated from protobuf field <code>uint32 tcp_stream_port = 13;</code>
* @param int $var
* @return $this
*/
public function setTcpStreamPort($var)
{
GPBUtil::checkUint32($var);
$this->tcp_stream_port = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool tcp_stream_enable = 14;</code>
* @return bool
*/
public function getTcpStreamEnable()
{
return $this->tcp_stream_enable;
}
/**
* Generated from protobuf field <code>bool tcp_stream_enable = 14;</code>
* @param bool $var
* @return $this
*/
public function setTcpStreamEnable($var)
{
GPBUtil::checkBool($var);
$this->tcp_stream_enable = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.AirplayConfiguration airplay = 15;</code>
* @return \Rv\Data\AirplayConfiguration|null
*/
public function getAirplay()
{
return $this->airplay;
}
public function hasAirplay()
{
return isset($this->airplay);
}
public function clearAirplay()
{
unset($this->airplay);
}
/**
* Generated from protobuf field <code>.rv.data.AirplayConfiguration airplay = 15;</code>
* @param \Rv\Data\AirplayConfiguration $var
* @return $this
*/
public function setAirplay($var)
{
GPBUtil::checkMessage($var, \Rv\Data\AirplayConfiguration::class);
$this->airplay = $var;
return $this;
}
}