propresenter7-php-lib/generated/Registration/Core/ActivationComplete.php
Thorsten Buss 4d10db4f17 Initial public release
PHP 8.4 library and CLI tools to read, modify, and generate ProPresenter 7
files: songs (.pro), playlists (.proplaylist), bundles (.probundle), themes,
and the global library files (Macros, Labels, Groups, ClearGroups, CCLI,
Messages, Timers, Stage, Workspace, Props, TestPatterns, Calendar,
KeyMappings, CommunicationDevices).

Built on the MIT-licensed ProPresenter7-Proto schema by greyshirtguy
(v7.16.2). Includes 18 CLI parsers, comprehensive API docs in doc/,
binary-format specs, and a synthetic 369-test PHPUnit suite covering
RTF extraction, translation slides, ZIP64 repair, round-trip fidelity,
and end-to-end generation.
2026-05-03 22:21:01 +02:00

171 lines
4.4 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.ActivationComplete</code>
*/
class ActivationComplete extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>.registration.core.Status result = 1;</code>
*/
protected $result = 0;
/**
* Generated from protobuf field <code>.registration.core.RegistrationInfo registration_info = 2;</code>
*/
protected $registration_info = null;
/**
* Generated from protobuf field <code>.registration.core.Seats available_seats = 3;</code>
*/
protected $available_seats = null;
/**
* Generated from protobuf field <code>.registration.core.Seats total_seats = 4;</code>
*/
protected $total_seats = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $result
* @type \Registration\Core\RegistrationInfo $registration_info
* @type \Registration\Core\Seats $available_seats
* @type \Registration\Core\Seats $total_seats
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Registration::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>.registration.core.Status result = 1;</code>
* @return int
*/
public function getResult()
{
return $this->result;
}
/**
* Generated from protobuf field <code>.registration.core.Status result = 1;</code>
* @param int $var
* @return $this
*/
public function setResult($var)
{
GPBUtil::checkEnum($var, \Registration\Core\Status::class);
$this->result = $var;
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.RegistrationInfo registration_info = 2;</code>
* @return \Registration\Core\RegistrationInfo|null
*/
public function getRegistrationInfo()
{
return $this->registration_info;
}
public function hasRegistrationInfo()
{
return isset($this->registration_info);
}
public function clearRegistrationInfo()
{
unset($this->registration_info);
}
/**
* Generated from protobuf field <code>.registration.core.RegistrationInfo registration_info = 2;</code>
* @param \Registration\Core\RegistrationInfo $var
* @return $this
*/
public function setRegistrationInfo($var)
{
GPBUtil::checkMessage($var, \Registration\Core\RegistrationInfo::class);
$this->registration_info = $var;
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.Seats available_seats = 3;</code>
* @return \Registration\Core\Seats|null
*/
public function getAvailableSeats()
{
return $this->available_seats;
}
public function hasAvailableSeats()
{
return isset($this->available_seats);
}
public function clearAvailableSeats()
{
unset($this->available_seats);
}
/**
* Generated from protobuf field <code>.registration.core.Seats available_seats = 3;</code>
* @param \Registration\Core\Seats $var
* @return $this
*/
public function setAvailableSeats($var)
{
GPBUtil::checkMessage($var, \Registration\Core\Seats::class);
$this->available_seats = $var;
return $this;
}
/**
* Generated from protobuf field <code>.registration.core.Seats total_seats = 4;</code>
* @return \Registration\Core\Seats|null
*/
public function getTotalSeats()
{
return $this->total_seats;
}
public function hasTotalSeats()
{
return isset($this->total_seats);
}
public function clearTotalSeats()
{
unset($this->total_seats);
}
/**
* Generated from protobuf field <code>.registration.core.Seats total_seats = 4;</code>
* @param \Registration\Core\Seats $var
* @return $this
*/
public function setTotalSeats($var)
{
GPBUtil::checkMessage($var, \Registration\Core\Seats::class);
$this->total_seats = $var;
return $this;
}
}