- 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
195 lines
4.1 KiB
PHP
195 lines
4.1 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: rv2d.proto
|
|
|
|
namespace Rv\Data\IdentificationOverlay;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.IdentificationOverlay.Output</code>
|
|
*/
|
|
class Output extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>int32 x = 1;</code>
|
|
*/
|
|
protected $x = 0;
|
|
/**
|
|
* Generated from protobuf field <code>int32 y = 2;</code>
|
|
*/
|
|
protected $y = 0;
|
|
/**
|
|
* Generated from protobuf field <code>int32 width = 3;</code>
|
|
*/
|
|
protected $width = 0;
|
|
/**
|
|
* Generated from protobuf field <code>int32 height = 4;</code>
|
|
*/
|
|
protected $height = 0;
|
|
/**
|
|
* Generated from protobuf field <code>string name = 5;</code>
|
|
*/
|
|
protected $name = '';
|
|
/**
|
|
* Generated from protobuf field <code>double frame_rate = 6;</code>
|
|
*/
|
|
protected $frame_rate = 0.0;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type int $x
|
|
* @type int $y
|
|
* @type int $width
|
|
* @type int $height
|
|
* @type string $name
|
|
* @type float $frame_rate
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Rv2D::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 x = 1;</code>
|
|
* @return int
|
|
*/
|
|
public function getX()
|
|
{
|
|
return $this->x;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 x = 1;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setX($var)
|
|
{
|
|
GPBUtil::checkInt32($var);
|
|
$this->x = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 y = 2;</code>
|
|
* @return int
|
|
*/
|
|
public function getY()
|
|
{
|
|
return $this->y;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 y = 2;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setY($var)
|
|
{
|
|
GPBUtil::checkInt32($var);
|
|
$this->y = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 width = 3;</code>
|
|
* @return int
|
|
*/
|
|
public function getWidth()
|
|
{
|
|
return $this->width;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 width = 3;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setWidth($var)
|
|
{
|
|
GPBUtil::checkInt32($var);
|
|
$this->width = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 height = 4;</code>
|
|
* @return int
|
|
*/
|
|
public function getHeight()
|
|
{
|
|
return $this->height;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 height = 4;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setHeight($var)
|
|
{
|
|
GPBUtil::checkInt32($var);
|
|
$this->height = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string name = 5;</code>
|
|
* @return string
|
|
*/
|
|
public function getName()
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string name = 5;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setName($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->name = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double frame_rate = 6;</code>
|
|
* @return float
|
|
*/
|
|
public function getFrameRate()
|
|
{
|
|
return $this->frame_rate;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double frame_rate = 6;</code>
|
|
* @param float $var
|
|
* @return $this
|
|
*/
|
|
public function setFrameRate($var)
|
|
{
|
|
GPBUtil::checkDouble($var);
|
|
$this->frame_rate = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|