propresenter7-php-lib/generated/Registration/Core/UpgradesAvailable.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

195 lines
5.1 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: registration.proto
namespace Registration\Core;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>registration.core.UpgradesAvailable</code>
*/
class UpgradesAvailable extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>.registration.core.Status status = 1;</code>
*/
protected $status = 0;
/**
* Generated from protobuf field <code>bool is_non_production_active = 2;</code>
*/
protected $is_non_production_active = false;
/**
* Generated from protobuf field <code>string active_channel = 3;</code>
*/
protected $active_channel = '';
/**
* Generated from protobuf field <code>string release_notes = 4;</code>
*/
protected $release_notes = '';
/**
* Generated from protobuf field <code>repeated .registration.core.BuildInformation upgrades = 5;</code>
*/
private $upgrades;
/**
* Generated from protobuf field <code>.registration.core.ClientAlertMessage client_alert = 6;</code>
*/
protected $client_alert = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $status
* @type bool $is_non_production_active
* @type string $active_channel
* @type string $release_notes
* @type array<\Registration\Core\BuildInformation>|\Google\Protobuf\Internal\RepeatedField $upgrades
* @type int $client_alert
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Registration::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>.registration.core.Status status = 1;</code>
* @return int
*/
public function getStatus()
{
return $this->status;
}
/**
* Generated from protobuf field <code>.registration.core.Status status = 1;</code>
* @param int $var
* @return $this
*/
public function setStatus($var)
{
GPBUtil::checkEnum($var, \Registration\Core\Status::class);
$this->status = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool is_non_production_active = 2;</code>
* @return bool
*/
public function getIsNonProductionActive()
{
return $this->is_non_production_active;
}
/**
* Generated from protobuf field <code>bool is_non_production_active = 2;</code>
* @param bool $var
* @return $this
*/
public function setIsNonProductionActive($var)
{
GPBUtil::checkBool($var);
$this->is_non_production_active = $var;
return $this;
}
/**
* Generated from protobuf field <code>string active_channel = 3;</code>
* @return string
*/
public function getActiveChannel()
{
return $this->active_channel;
}
/**
* Generated from protobuf field <code>string active_channel = 3;</code>
* @param string $var
* @return $this
*/
public function setActiveChannel($var)
{
GPBUtil::checkString($var, True);
$this->active_channel = $var;
return $this;
}
/**
* Generated from protobuf field <code>string release_notes = 4;</code>
* @return string
*/
public function getReleaseNotes()
{
return $this->release_notes;
}
/**
* Generated from protobuf field <code>string release_notes = 4;</code>
* @param string $var
* @return $this
*/
public function setReleaseNotes($var)
{
GPBUtil::checkString($var, True);
$this->release_notes = $var;
return $this;
}
/**
* Generated from protobuf field <code>repeated .registration.core.BuildInformation upgrades = 5;</code>
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getUpgrades()
{
return $this->upgrades;
}
/**
* Generated from protobuf field <code>repeated .registration.core.BuildInformation upgrades = 5;</code>
* @param array<\Registration\Core\BuildInformation>|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setUpgrades($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Registration\Core\BuildInformation::class);
$this->upgrades = $arr;
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.ClientAlertMessage client_alert = 6;</code>
* @return int
*/
public function getClientAlert()
{
return $this->client_alert;
}
/**
* Generated from protobuf field <code>.registration.core.ClientAlertMessage client_alert = 6;</code>
* @param int $var
* @return $this
*/
public function setClientAlert($var)
{
GPBUtil::checkEnum($var, \Registration\Core\ClientAlertMessage::class);
$this->client_alert = $var;
return $this;
}
}