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

574 lines
16 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.Callback</code>
*/
class Callback extends \Google\Protobuf\Internal\Message
{
protected $callback;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Registration\Core\SetWatermark $set_watermark
* @type \Registration\Core\BibleDownloadProgress $bible_download_progress
* @type \Registration\Core\HardExit $hard_exit
* @type \Registration\Core\ReadRegistrationData $read_registration_data
* @type \Registration\Core\WriteRegistrationData $write_registration_data
* @type \Registration\Core\GetProductInformation $get_product_information
* @type \Registration\Core\Log $log
* @type \Registration\Core\UpgradesAvailable $upgrades_available
* @type \Registration\Core\DowngradeAvailable $downgrade_available
* @type \Registration\Core\DownloadProgress $download_progress
* @type \Registration\Core\Alerts $alerts
* @type \Registration\Core\ShowExpirationDialog $show_expiration_dialog
* @type \Registration\Core\ReadOldToken $read_old_token
* @type \Registration\Core\VerificationComplete $verification_complete
* @type \Registration\Core\SetClientInfo $set_client_info
* @type \Registration\Core\ActivateCodeComplete $get_activate_code_complete
* @type \Registration\Core\ReadNotificationData $read_notification_data
* @type \Registration\Core\WriteNotificationData $write_notification_data
* @type \Registration\Core\NotificationCallback $notification_callback
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Registration::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>.registration.core.SetWatermark set_watermark = 1;</code>
* @return \Registration\Core\SetWatermark|null
*/
public function getSetWatermark()
{
return $this->readOneof(1);
}
public function hasSetWatermark()
{
return $this->hasOneof(1);
}
/**
* Generated from protobuf field <code>.registration.core.SetWatermark set_watermark = 1;</code>
* @param \Registration\Core\SetWatermark $var
* @return $this
*/
public function setSetWatermark($var)
{
GPBUtil::checkMessage($var, \Registration\Core\SetWatermark::class);
$this->writeOneof(1, $var);
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.BibleDownloadProgress bible_download_progress = 2;</code>
* @return \Registration\Core\BibleDownloadProgress|null
*/
public function getBibleDownloadProgress()
{
return $this->readOneof(2);
}
public function hasBibleDownloadProgress()
{
return $this->hasOneof(2);
}
/**
* Generated from protobuf field <code>.registration.core.BibleDownloadProgress bible_download_progress = 2;</code>
* @param \Registration\Core\BibleDownloadProgress $var
* @return $this
*/
public function setBibleDownloadProgress($var)
{
GPBUtil::checkMessage($var, \Registration\Core\BibleDownloadProgress::class);
$this->writeOneof(2, $var);
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.HardExit hard_exit = 3;</code>
* @return \Registration\Core\HardExit|null
*/
public function getHardExit()
{
return $this->readOneof(3);
}
public function hasHardExit()
{
return $this->hasOneof(3);
}
/**
* Generated from protobuf field <code>.registration.core.HardExit hard_exit = 3;</code>
* @param \Registration\Core\HardExit $var
* @return $this
*/
public function setHardExit($var)
{
GPBUtil::checkMessage($var, \Registration\Core\HardExit::class);
$this->writeOneof(3, $var);
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.ReadRegistrationData read_registration_data = 4;</code>
* @return \Registration\Core\ReadRegistrationData|null
*/
public function getReadRegistrationData()
{
return $this->readOneof(4);
}
public function hasReadRegistrationData()
{
return $this->hasOneof(4);
}
/**
* Generated from protobuf field <code>.registration.core.ReadRegistrationData read_registration_data = 4;</code>
* @param \Registration\Core\ReadRegistrationData $var
* @return $this
*/
public function setReadRegistrationData($var)
{
GPBUtil::checkMessage($var, \Registration\Core\ReadRegistrationData::class);
$this->writeOneof(4, $var);
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.WriteRegistrationData write_registration_data = 5;</code>
* @return \Registration\Core\WriteRegistrationData|null
*/
public function getWriteRegistrationData()
{
return $this->readOneof(5);
}
public function hasWriteRegistrationData()
{
return $this->hasOneof(5);
}
/**
* Generated from protobuf field <code>.registration.core.WriteRegistrationData write_registration_data = 5;</code>
* @param \Registration\Core\WriteRegistrationData $var
* @return $this
*/
public function setWriteRegistrationData($var)
{
GPBUtil::checkMessage($var, \Registration\Core\WriteRegistrationData::class);
$this->writeOneof(5, $var);
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.GetProductInformation get_product_information = 6;</code>
* @return \Registration\Core\GetProductInformation|null
*/
public function getGetProductInformation()
{
return $this->readOneof(6);
}
public function hasGetProductInformation()
{
return $this->hasOneof(6);
}
/**
* Generated from protobuf field <code>.registration.core.GetProductInformation get_product_information = 6;</code>
* @param \Registration\Core\GetProductInformation $var
* @return $this
*/
public function setGetProductInformation($var)
{
GPBUtil::checkMessage($var, \Registration\Core\GetProductInformation::class);
$this->writeOneof(6, $var);
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.Log log = 7;</code>
* @return \Registration\Core\Log|null
*/
public function getLog()
{
return $this->readOneof(7);
}
public function hasLog()
{
return $this->hasOneof(7);
}
/**
* Generated from protobuf field <code>.registration.core.Log log = 7;</code>
* @param \Registration\Core\Log $var
* @return $this
*/
public function setLog($var)
{
GPBUtil::checkMessage($var, \Registration\Core\Log::class);
$this->writeOneof(7, $var);
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.UpgradesAvailable upgrades_available = 8;</code>
* @return \Registration\Core\UpgradesAvailable|null
*/
public function getUpgradesAvailable()
{
return $this->readOneof(8);
}
public function hasUpgradesAvailable()
{
return $this->hasOneof(8);
}
/**
* Generated from protobuf field <code>.registration.core.UpgradesAvailable upgrades_available = 8;</code>
* @param \Registration\Core\UpgradesAvailable $var
* @return $this
*/
public function setUpgradesAvailable($var)
{
GPBUtil::checkMessage($var, \Registration\Core\UpgradesAvailable::class);
$this->writeOneof(8, $var);
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.DowngradeAvailable downgrade_available = 9;</code>
* @return \Registration\Core\DowngradeAvailable|null
*/
public function getDowngradeAvailable()
{
return $this->readOneof(9);
}
public function hasDowngradeAvailable()
{
return $this->hasOneof(9);
}
/**
* Generated from protobuf field <code>.registration.core.DowngradeAvailable downgrade_available = 9;</code>
* @param \Registration\Core\DowngradeAvailable $var
* @return $this
*/
public function setDowngradeAvailable($var)
{
GPBUtil::checkMessage($var, \Registration\Core\DowngradeAvailable::class);
$this->writeOneof(9, $var);
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.DownloadProgress download_progress = 10;</code>
* @return \Registration\Core\DownloadProgress|null
*/
public function getDownloadProgress()
{
return $this->readOneof(10);
}
public function hasDownloadProgress()
{
return $this->hasOneof(10);
}
/**
* Generated from protobuf field <code>.registration.core.DownloadProgress download_progress = 10;</code>
* @param \Registration\Core\DownloadProgress $var
* @return $this
*/
public function setDownloadProgress($var)
{
GPBUtil::checkMessage($var, \Registration\Core\DownloadProgress::class);
$this->writeOneof(10, $var);
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.Alerts alerts = 11;</code>
* @return \Registration\Core\Alerts|null
*/
public function getAlerts()
{
return $this->readOneof(11);
}
public function hasAlerts()
{
return $this->hasOneof(11);
}
/**
* Generated from protobuf field <code>.registration.core.Alerts alerts = 11;</code>
* @param \Registration\Core\Alerts $var
* @return $this
*/
public function setAlerts($var)
{
GPBUtil::checkMessage($var, \Registration\Core\Alerts::class);
$this->writeOneof(11, $var);
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.ShowExpirationDialog show_expiration_dialog = 12;</code>
* @return \Registration\Core\ShowExpirationDialog|null
*/
public function getShowExpirationDialog()
{
return $this->readOneof(12);
}
public function hasShowExpirationDialog()
{
return $this->hasOneof(12);
}
/**
* Generated from protobuf field <code>.registration.core.ShowExpirationDialog show_expiration_dialog = 12;</code>
* @param \Registration\Core\ShowExpirationDialog $var
* @return $this
*/
public function setShowExpirationDialog($var)
{
GPBUtil::checkMessage($var, \Registration\Core\ShowExpirationDialog::class);
$this->writeOneof(12, $var);
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.ReadOldToken read_old_token = 13;</code>
* @return \Registration\Core\ReadOldToken|null
*/
public function getReadOldToken()
{
return $this->readOneof(13);
}
public function hasReadOldToken()
{
return $this->hasOneof(13);
}
/**
* Generated from protobuf field <code>.registration.core.ReadOldToken read_old_token = 13;</code>
* @param \Registration\Core\ReadOldToken $var
* @return $this
*/
public function setReadOldToken($var)
{
GPBUtil::checkMessage($var, \Registration\Core\ReadOldToken::class);
$this->writeOneof(13, $var);
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.VerificationComplete verification_complete = 14;</code>
* @return \Registration\Core\VerificationComplete|null
*/
public function getVerificationComplete()
{
return $this->readOneof(14);
}
public function hasVerificationComplete()
{
return $this->hasOneof(14);
}
/**
* Generated from protobuf field <code>.registration.core.VerificationComplete verification_complete = 14;</code>
* @param \Registration\Core\VerificationComplete $var
* @return $this
*/
public function setVerificationComplete($var)
{
GPBUtil::checkMessage($var, \Registration\Core\VerificationComplete::class);
$this->writeOneof(14, $var);
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.SetClientInfo set_client_info = 15;</code>
* @return \Registration\Core\SetClientInfo|null
*/
public function getSetClientInfo()
{
return $this->readOneof(15);
}
public function hasSetClientInfo()
{
return $this->hasOneof(15);
}
/**
* Generated from protobuf field <code>.registration.core.SetClientInfo set_client_info = 15;</code>
* @param \Registration\Core\SetClientInfo $var
* @return $this
*/
public function setSetClientInfo($var)
{
GPBUtil::checkMessage($var, \Registration\Core\SetClientInfo::class);
$this->writeOneof(15, $var);
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.ActivateCodeComplete get_activate_code_complete = 16;</code>
* @return \Registration\Core\ActivateCodeComplete|null
*/
public function getGetActivateCodeComplete()
{
return $this->readOneof(16);
}
public function hasGetActivateCodeComplete()
{
return $this->hasOneof(16);
}
/**
* Generated from protobuf field <code>.registration.core.ActivateCodeComplete get_activate_code_complete = 16;</code>
* @param \Registration\Core\ActivateCodeComplete $var
* @return $this
*/
public function setGetActivateCodeComplete($var)
{
GPBUtil::checkMessage($var, \Registration\Core\ActivateCodeComplete::class);
$this->writeOneof(16, $var);
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.ReadNotificationData read_notification_data = 17;</code>
* @return \Registration\Core\ReadNotificationData|null
*/
public function getReadNotificationData()
{
return $this->readOneof(17);
}
public function hasReadNotificationData()
{
return $this->hasOneof(17);
}
/**
* Generated from protobuf field <code>.registration.core.ReadNotificationData read_notification_data = 17;</code>
* @param \Registration\Core\ReadNotificationData $var
* @return $this
*/
public function setReadNotificationData($var)
{
GPBUtil::checkMessage($var, \Registration\Core\ReadNotificationData::class);
$this->writeOneof(17, $var);
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.WriteNotificationData write_notification_data = 18;</code>
* @return \Registration\Core\WriteNotificationData|null
*/
public function getWriteNotificationData()
{
return $this->readOneof(18);
}
public function hasWriteNotificationData()
{
return $this->hasOneof(18);
}
/**
* Generated from protobuf field <code>.registration.core.WriteNotificationData write_notification_data = 18;</code>
* @param \Registration\Core\WriteNotificationData $var
* @return $this
*/
public function setWriteNotificationData($var)
{
GPBUtil::checkMessage($var, \Registration\Core\WriteNotificationData::class);
$this->writeOneof(18, $var);
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.NotificationCallback notification_callback = 19;</code>
* @return \Registration\Core\NotificationCallback|null
*/
public function getNotificationCallback()
{
return $this->readOneof(19);
}
public function hasNotificationCallback()
{
return $this->hasOneof(19);
}
/**
* Generated from protobuf field <code>.registration.core.NotificationCallback notification_callback = 19;</code>
* @param \Registration\Core\NotificationCallback $var
* @return $this
*/
public function setNotificationCallback($var)
{
GPBUtil::checkMessage($var, \Registration\Core\NotificationCallback::class);
$this->writeOneof(19, $var);
return $this;
}
/**
* @return string
*/
public function getCallback()
{
return $this->whichOneof("callback");
}
}