- Move src/, tests/, bin/, generated/, proto/, composer.json, composer.lock, phpunit.xml from php/ to repo root - Move ref/ to doc/reference_samples/ for better organization - Remove vendor/ from git tracking (now properly gitignored) - Update all test file paths (dirname adjustments and ref/ -> doc/reference_samples/) - Update all documentation paths (AGENTS.md, doc/*.md) - Remove php.bak/ directory - All 252 tests pass
153 lines
3.8 KiB
PHP
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");
|
|
}
|
|
|
|
}
|
|
|