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

141 lines
3.7 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.LicensingInfo</code>
*/
class LicensingInfo extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>int32 available_copies = 1;</code>
*/
protected $available_copies = 0;
/**
* Generated from protobuf field <code>int32 total_copies = 2;</code>
*/
protected $total_copies = 0;
/**
* Generated from protobuf field <code>bool is_active_locally = 3;</code>
*/
protected $is_active_locally = false;
/**
* Generated from protobuf field <code>repeated .registration.core.ActiveCopy other_active_copies = 4;</code>
*/
private $other_active_copies;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $available_copies
* @type int $total_copies
* @type bool $is_active_locally
* @type array<\Registration\Core\ActiveCopy>|\Google\Protobuf\Internal\RepeatedField $other_active_copies
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Registration::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>int32 available_copies = 1;</code>
* @return int
*/
public function getAvailableCopies()
{
return $this->available_copies;
}
/**
* Generated from protobuf field <code>int32 available_copies = 1;</code>
* @param int $var
* @return $this
*/
public function setAvailableCopies($var)
{
GPBUtil::checkInt32($var);
$this->available_copies = $var;
return $this;
}
/**
* Generated from protobuf field <code>int32 total_copies = 2;</code>
* @return int
*/
public function getTotalCopies()
{
return $this->total_copies;
}
/**
* Generated from protobuf field <code>int32 total_copies = 2;</code>
* @param int $var
* @return $this
*/
public function setTotalCopies($var)
{
GPBUtil::checkInt32($var);
$this->total_copies = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool is_active_locally = 3;</code>
* @return bool
*/
public function getIsActiveLocally()
{
return $this->is_active_locally;
}
/**
* Generated from protobuf field <code>bool is_active_locally = 3;</code>
* @param bool $var
* @return $this
*/
public function setIsActiveLocally($var)
{
GPBUtil::checkBool($var);
$this->is_active_locally = $var;
return $this;
}
/**
* Generated from protobuf field <code>repeated .registration.core.ActiveCopy other_active_copies = 4;</code>
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getOtherActiveCopies()
{
return $this->other_active_copies;
}
/**
* Generated from protobuf field <code>repeated .registration.core.ActiveCopy other_active_copies = 4;</code>
* @param array<\Registration\Core\ActiveCopy>|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setOtherActiveCopies($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Registration\Core\ActiveCopy::class);
$this->other_active_copies = $arr;
return $this;
}
}