107 lines
2.6 KiB
PHP
107 lines
2.6 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: screens.proto
|
|
|
|
namespace Rv\Data\Screen\AlphaSettings;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.Screen.AlphaSettings.AlphaDevice</code>
|
|
*/
|
|
class AlphaDevice extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.OutputDisplay display = 1;</code>
|
|
*/
|
|
protected $display = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Rect subscreen_unit_rect = 2;</code>
|
|
*/
|
|
protected $subscreen_unit_rect = null;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\OutputDisplay $display
|
|
* @type \Rv\Data\Graphics\Rect $subscreen_unit_rect
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Screens::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.OutputDisplay display = 1;</code>
|
|
* @return \Rv\Data\OutputDisplay|null
|
|
*/
|
|
public function getDisplay()
|
|
{
|
|
return $this->display;
|
|
}
|
|
|
|
public function hasDisplay()
|
|
{
|
|
return isset($this->display);
|
|
}
|
|
|
|
public function clearDisplay()
|
|
{
|
|
unset($this->display);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.OutputDisplay display = 1;</code>
|
|
* @param \Rv\Data\OutputDisplay $var
|
|
* @return $this
|
|
*/
|
|
public function setDisplay($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\OutputDisplay::class);
|
|
$this->display = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Rect subscreen_unit_rect = 2;</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 = 2;</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;
|
|
}
|
|
|
|
}
|
|
|