609 lines
15 KiB
PHP
609 lines
15 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: screens.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.Screen</code>
|
|
*/
|
|
class Screen extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID uuid = 1;</code>
|
|
*/
|
|
protected $uuid = null;
|
|
/**
|
|
* Generated from protobuf field <code>string name = 2;</code>
|
|
*/
|
|
protected $name = '';
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Color color = 3;</code>
|
|
*/
|
|
protected $color = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Rect bounds = 4;</code>
|
|
*/
|
|
protected $bounds = null;
|
|
/**
|
|
* Generated from protobuf field <code>bool aspect_ratio_locked = 5;</code>
|
|
*/
|
|
protected $aspect_ratio_locked = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool output_bounds_aspect_ratio_locked = 6;</code>
|
|
*/
|
|
protected $output_bounds_aspect_ratio_locked = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool corner_pinning_enabled = 7;</code>
|
|
*/
|
|
protected $corner_pinning_enabled = false;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Rect subscreen_unit_rect = 8;</code>
|
|
*/
|
|
protected $subscreen_unit_rect = null;
|
|
/**
|
|
* Generated from protobuf field <code>double rotation = 9;</code>
|
|
*/
|
|
protected $rotation = 0.0;
|
|
/**
|
|
* Generated from protobuf field <code>double gamma = 10;</code>
|
|
*/
|
|
protected $gamma = 0.0;
|
|
/**
|
|
* Generated from protobuf field <code>double black_level = 11;</code>
|
|
*/
|
|
protected $black_level = 0.0;
|
|
/**
|
|
* Generated from protobuf field <code>uint32 blended_edges = 12;</code>
|
|
*/
|
|
protected $blended_edges = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.CornerValues corner_values = 13;</code>
|
|
*/
|
|
protected $corner_values = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.OutputDisplay output_display = 14;</code>
|
|
*/
|
|
protected $output_display = null;
|
|
/**
|
|
* Generated from protobuf field <code>bool color_enabled = 15;</code>
|
|
*/
|
|
protected $color_enabled = false;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Screen.ColorAdjustment color_adjustment = 16;</code>
|
|
*/
|
|
protected $color_adjustment = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Screen.BlendCompensation blend_compensation = 17;</code>
|
|
*/
|
|
protected $blend_compensation = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Screen.AlphaSettings alpha_settings = 18;</code>
|
|
*/
|
|
protected $alpha_settings = null;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\UUID $uuid
|
|
* @type string $name
|
|
* @type \Rv\Data\Color $color
|
|
* @type \Rv\Data\Graphics\Rect $bounds
|
|
* @type bool $aspect_ratio_locked
|
|
* @type bool $output_bounds_aspect_ratio_locked
|
|
* @type bool $corner_pinning_enabled
|
|
* @type \Rv\Data\Graphics\Rect $subscreen_unit_rect
|
|
* @type float $rotation
|
|
* @type float $gamma
|
|
* @type float $black_level
|
|
* @type int $blended_edges
|
|
* @type \Rv\Data\CornerValues $corner_values
|
|
* @type \Rv\Data\OutputDisplay $output_display
|
|
* @type bool $color_enabled
|
|
* @type \Rv\Data\Screen\ColorAdjustment $color_adjustment
|
|
* @type \Rv\Data\Screen\BlendCompensation $blend_compensation
|
|
* @type \Rv\Data\Screen\AlphaSettings $alpha_settings
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Screens::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID uuid = 1;</code>
|
|
* @return \Rv\Data\UUID|null
|
|
*/
|
|
public function getUuid()
|
|
{
|
|
return $this->uuid;
|
|
}
|
|
|
|
public function hasUuid()
|
|
{
|
|
return isset($this->uuid);
|
|
}
|
|
|
|
public function clearUuid()
|
|
{
|
|
unset($this->uuid);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID uuid = 1;</code>
|
|
* @param \Rv\Data\UUID $var
|
|
* @return $this
|
|
*/
|
|
public function setUuid($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
|
|
$this->uuid = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string name = 2;</code>
|
|
* @return string
|
|
*/
|
|
public function getName()
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string name = 2;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setName($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->name = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Color color = 3;</code>
|
|
* @return \Rv\Data\Color|null
|
|
*/
|
|
public function getColor()
|
|
{
|
|
return $this->color;
|
|
}
|
|
|
|
public function hasColor()
|
|
{
|
|
return isset($this->color);
|
|
}
|
|
|
|
public function clearColor()
|
|
{
|
|
unset($this->color);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Color color = 3;</code>
|
|
* @param \Rv\Data\Color $var
|
|
* @return $this
|
|
*/
|
|
public function setColor($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Color::class);
|
|
$this->color = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Rect bounds = 4;</code>
|
|
* @return \Rv\Data\Graphics\Rect|null
|
|
*/
|
|
public function getBounds()
|
|
{
|
|
return $this->bounds;
|
|
}
|
|
|
|
public function hasBounds()
|
|
{
|
|
return isset($this->bounds);
|
|
}
|
|
|
|
public function clearBounds()
|
|
{
|
|
unset($this->bounds);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Rect bounds = 4;</code>
|
|
* @param \Rv\Data\Graphics\Rect $var
|
|
* @return $this
|
|
*/
|
|
public function setBounds($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Graphics\Rect::class);
|
|
$this->bounds = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool aspect_ratio_locked = 5;</code>
|
|
* @return bool
|
|
*/
|
|
public function getAspectRatioLocked()
|
|
{
|
|
return $this->aspect_ratio_locked;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool aspect_ratio_locked = 5;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setAspectRatioLocked($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->aspect_ratio_locked = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool output_bounds_aspect_ratio_locked = 6;</code>
|
|
* @return bool
|
|
*/
|
|
public function getOutputBoundsAspectRatioLocked()
|
|
{
|
|
return $this->output_bounds_aspect_ratio_locked;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool output_bounds_aspect_ratio_locked = 6;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setOutputBoundsAspectRatioLocked($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->output_bounds_aspect_ratio_locked = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool corner_pinning_enabled = 7;</code>
|
|
* @return bool
|
|
*/
|
|
public function getCornerPinningEnabled()
|
|
{
|
|
return $this->corner_pinning_enabled;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool corner_pinning_enabled = 7;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setCornerPinningEnabled($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->corner_pinning_enabled = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Rect subscreen_unit_rect = 8;</code>
|
|
* @return \Rv\Data\Graphics\Rect|null
|
|
*/
|
|
public function getSubscreenUnitRect()
|
|
{
|
|
return $this->subscreen_unit_rect;
|
|
}
|
|
|
|
public function hasSubscreenUnitRect()
|
|
{
|
|
return isset($this->subscreen_unit_rect);
|
|
}
|
|
|
|
public function clearSubscreenUnitRect()
|
|
{
|
|
unset($this->subscreen_unit_rect);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Rect subscreen_unit_rect = 8;</code>
|
|
* @param \Rv\Data\Graphics\Rect $var
|
|
* @return $this
|
|
*/
|
|
public function setSubscreenUnitRect($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Graphics\Rect::class);
|
|
$this->subscreen_unit_rect = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double rotation = 9;</code>
|
|
* @return float
|
|
*/
|
|
public function getRotation()
|
|
{
|
|
return $this->rotation;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double rotation = 9;</code>
|
|
* @param float $var
|
|
* @return $this
|
|
*/
|
|
public function setRotation($var)
|
|
{
|
|
GPBUtil::checkDouble($var);
|
|
$this->rotation = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double gamma = 10;</code>
|
|
* @return float
|
|
*/
|
|
public function getGamma()
|
|
{
|
|
return $this->gamma;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double gamma = 10;</code>
|
|
* @param float $var
|
|
* @return $this
|
|
*/
|
|
public function setGamma($var)
|
|
{
|
|
GPBUtil::checkDouble($var);
|
|
$this->gamma = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double black_level = 11;</code>
|
|
* @return float
|
|
*/
|
|
public function getBlackLevel()
|
|
{
|
|
return $this->black_level;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double black_level = 11;</code>
|
|
* @param float $var
|
|
* @return $this
|
|
*/
|
|
public function setBlackLevel($var)
|
|
{
|
|
GPBUtil::checkDouble($var);
|
|
$this->black_level = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint32 blended_edges = 12;</code>
|
|
* @return int
|
|
*/
|
|
public function getBlendedEdges()
|
|
{
|
|
return $this->blended_edges;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint32 blended_edges = 12;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setBlendedEdges($var)
|
|
{
|
|
GPBUtil::checkUint32($var);
|
|
$this->blended_edges = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.CornerValues corner_values = 13;</code>
|
|
* @return \Rv\Data\CornerValues|null
|
|
*/
|
|
public function getCornerValues()
|
|
{
|
|
return $this->corner_values;
|
|
}
|
|
|
|
public function hasCornerValues()
|
|
{
|
|
return isset($this->corner_values);
|
|
}
|
|
|
|
public function clearCornerValues()
|
|
{
|
|
unset($this->corner_values);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.CornerValues corner_values = 13;</code>
|
|
* @param \Rv\Data\CornerValues $var
|
|
* @return $this
|
|
*/
|
|
public function setCornerValues($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\CornerValues::class);
|
|
$this->corner_values = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.OutputDisplay output_display = 14;</code>
|
|
* @return \Rv\Data\OutputDisplay|null
|
|
*/
|
|
public function getOutputDisplay()
|
|
{
|
|
return $this->output_display;
|
|
}
|
|
|
|
public function hasOutputDisplay()
|
|
{
|
|
return isset($this->output_display);
|
|
}
|
|
|
|
public function clearOutputDisplay()
|
|
{
|
|
unset($this->output_display);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.OutputDisplay output_display = 14;</code>
|
|
* @param \Rv\Data\OutputDisplay $var
|
|
* @return $this
|
|
*/
|
|
public function setOutputDisplay($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\OutputDisplay::class);
|
|
$this->output_display = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool color_enabled = 15;</code>
|
|
* @return bool
|
|
*/
|
|
public function getColorEnabled()
|
|
{
|
|
return $this->color_enabled;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool color_enabled = 15;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setColorEnabled($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->color_enabled = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Screen.ColorAdjustment color_adjustment = 16;</code>
|
|
* @return \Rv\Data\Screen\ColorAdjustment|null
|
|
*/
|
|
public function getColorAdjustment()
|
|
{
|
|
return $this->color_adjustment;
|
|
}
|
|
|
|
public function hasColorAdjustment()
|
|
{
|
|
return isset($this->color_adjustment);
|
|
}
|
|
|
|
public function clearColorAdjustment()
|
|
{
|
|
unset($this->color_adjustment);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Screen.ColorAdjustment color_adjustment = 16;</code>
|
|
* @param \Rv\Data\Screen\ColorAdjustment $var
|
|
* @return $this
|
|
*/
|
|
public function setColorAdjustment($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Screen\ColorAdjustment::class);
|
|
$this->color_adjustment = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Screen.BlendCompensation blend_compensation = 17;</code>
|
|
* @return \Rv\Data\Screen\BlendCompensation|null
|
|
*/
|
|
public function getBlendCompensation()
|
|
{
|
|
return $this->blend_compensation;
|
|
}
|
|
|
|
public function hasBlendCompensation()
|
|
{
|
|
return isset($this->blend_compensation);
|
|
}
|
|
|
|
public function clearBlendCompensation()
|
|
{
|
|
unset($this->blend_compensation);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Screen.BlendCompensation blend_compensation = 17;</code>
|
|
* @param \Rv\Data\Screen\BlendCompensation $var
|
|
* @return $this
|
|
*/
|
|
public function setBlendCompensation($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Screen\BlendCompensation::class);
|
|
$this->blend_compensation = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Screen.AlphaSettings alpha_settings = 18;</code>
|
|
* @return \Rv\Data\Screen\AlphaSettings|null
|
|
*/
|
|
public function getAlphaSettings()
|
|
{
|
|
return $this->alpha_settings;
|
|
}
|
|
|
|
public function hasAlphaSettings()
|
|
{
|
|
return isset($this->alpha_settings);
|
|
}
|
|
|
|
public function clearAlphaSettings()
|
|
{
|
|
unset($this->alpha_settings);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Screen.AlphaSettings alpha_settings = 18;</code>
|
|
* @param \Rv\Data\Screen\AlphaSettings $var
|
|
* @return $this
|
|
*/
|
|
public function setAlphaSettings($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Screen\AlphaSettings::class);
|
|
$this->alpha_settings = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|