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

153 lines
3.8 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: testPattern.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.TestPattern</code>
*/
class TestPattern extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>.rv.data.TestPattern.Type type = 1;</code>
*/
protected $type = 0;
protected $PatternProperties;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $type
* @type \Rv\Data\TestPattern\BlendGrid $blend_grid
* @type \Rv\Data\TestPattern\CustomColor $custom_color
* @type \Rv\Data\TestPattern\IntensityColor $intensity
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\TestPattern::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>.rv.data.TestPattern.Type type = 1;</code>
* @return int
*/
public function getType()
{
return $this->type;
}
/**
* Generated from protobuf field <code>.rv.data.TestPattern.Type type = 1;</code>
* @param int $var
* @return $this
*/
public function setType($var)
{
GPBUtil::checkEnum($var, \Rv\Data\TestPattern\Type::class);
$this->type = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.TestPattern.BlendGrid blend_grid = 2;</code>
* @return \Rv\Data\TestPattern\BlendGrid|null
*/
public function getBlendGrid()
{
return $this->readOneof(2);
}
public function hasBlendGrid()
{
return $this->hasOneof(2);
}
/**
* Generated from protobuf field <code>.rv.data.TestPattern.BlendGrid blend_grid = 2;</code>
* @param \Rv\Data\TestPattern\BlendGrid $var
* @return $this
*/
public function setBlendGrid($var)
{
GPBUtil::checkMessage($var, \Rv\Data\TestPattern\BlendGrid::class);
$this->writeOneof(2, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.TestPattern.CustomColor custom_color = 3;</code>
* @return \Rv\Data\TestPattern\CustomColor|null
*/
public function getCustomColor()
{
return $this->readOneof(3);
}
public function hasCustomColor()
{
return $this->hasOneof(3);
}
/**
* Generated from protobuf field <code>.rv.data.TestPattern.CustomColor custom_color = 3;</code>
* @param \Rv\Data\TestPattern\CustomColor $var
* @return $this
*/
public function setCustomColor($var)
{
GPBUtil::checkMessage($var, \Rv\Data\TestPattern\CustomColor::class);
$this->writeOneof(3, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.TestPattern.IntensityColor intensity = 4;</code>
* @return \Rv\Data\TestPattern\IntensityColor|null
*/
public function getIntensity()
{
return $this->readOneof(4);
}
public function hasIntensity()
{
return $this->hasOneof(4);
}
/**
* Generated from protobuf field <code>.rv.data.TestPattern.IntensityColor intensity = 4;</code>
* @param \Rv\Data\TestPattern\IntensityColor $var
* @return $this
*/
public function setIntensity($var)
{
GPBUtil::checkMessage($var, \Rv\Data\TestPattern\IntensityColor::class);
$this->writeOneof(4, $var);
return $this;
}
/**
* @return string
*/
public function getPatternProperties()
{
return $this->whichOneof("PatternProperties");
}
}