rv.data.OutputDisplay */ class OutputDisplay extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string name = 1; */ protected $name = ''; /** * Generated from protobuf field string model = 2; */ protected $model = ''; /** * Generated from protobuf field string serial = 3; */ protected $serial = ''; /** * Generated from protobuf field string deviceName = 4; */ protected $deviceName = ''; /** * Generated from protobuf field string vendor = 5; */ protected $vendor = ''; /** * Generated from protobuf field uint32 modeIndex = 6; */ protected $modeIndex = 0; /** * Generated from protobuf field .rv.data.Graphics.Rect bounds = 7; */ protected $bounds = null; /** * Generated from protobuf field .rv.data.OutputDisplay.Type type = 8; */ protected $type = 0; /** * Generated from protobuf field .rv.data.DisplayMode mode = 9; */ protected $mode = null; /** * Generated from protobuf field string render_id = 10; */ protected $render_id = ''; /** * Generated from protobuf field int32 video_delay = 12; */ protected $video_delay = 0; protected $HardwareOptions; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $name * @type string $model * @type string $serial * @type string $deviceName * @type string $vendor * @type int $modeIndex * @type \Rv\Data\Graphics\Rect $bounds * @type int $type * @type \Rv\Data\DisplayMode $mode * @type string $render_id * @type int $video_delay * @type \Rv\Data\OutputDisplay\Blackmagic $blackmagic * } */ public function __construct($data = NULL) { \GPBMetadata\Screens::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string name = 1; * @return string */ public function getName() { return $this->name; } /** * Generated from protobuf field string name = 1; * @param string $var * @return $this */ public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; } /** * Generated from protobuf field string model = 2; * @return string */ public function getModel() { return $this->model; } /** * Generated from protobuf field string model = 2; * @param string $var * @return $this */ public function setModel($var) { GPBUtil::checkString($var, True); $this->model = $var; return $this; } /** * Generated from protobuf field string serial = 3; * @return string */ public function getSerial() { return $this->serial; } /** * Generated from protobuf field string serial = 3; * @param string $var * @return $this */ public function setSerial($var) { GPBUtil::checkString($var, True); $this->serial = $var; return $this; } /** * Generated from protobuf field string deviceName = 4; * @return string */ public function getDeviceName() { return $this->deviceName; } /** * Generated from protobuf field string deviceName = 4; * @param string $var * @return $this */ public function setDeviceName($var) { GPBUtil::checkString($var, True); $this->deviceName = $var; return $this; } /** * Generated from protobuf field string vendor = 5; * @return string */ public function getVendor() { return $this->vendor; } /** * Generated from protobuf field string vendor = 5; * @param string $var * @return $this */ public function setVendor($var) { GPBUtil::checkString($var, True); $this->vendor = $var; return $this; } /** * Generated from protobuf field uint32 modeIndex = 6; * @return int */ public function getModeIndex() { return $this->modeIndex; } /** * Generated from protobuf field uint32 modeIndex = 6; * @param int $var * @return $this */ public function setModeIndex($var) { GPBUtil::checkUint32($var); $this->modeIndex = $var; return $this; } /** * Generated from protobuf field .rv.data.Graphics.Rect bounds = 7; * @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 .rv.data.Graphics.Rect bounds = 7; * @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 .rv.data.OutputDisplay.Type type = 8; * @return int */ public function getType() { return $this->type; } /** * Generated from protobuf field .rv.data.OutputDisplay.Type type = 8; * @param int $var * @return $this */ public function setType($var) { GPBUtil::checkEnum($var, \Rv\Data\OutputDisplay\Type::class); $this->type = $var; return $this; } /** * Generated from protobuf field .rv.data.DisplayMode mode = 9; * @return \Rv\Data\DisplayMode|null */ public function getMode() { return $this->mode; } public function hasMode() { return isset($this->mode); } public function clearMode() { unset($this->mode); } /** * Generated from protobuf field .rv.data.DisplayMode mode = 9; * @param \Rv\Data\DisplayMode $var * @return $this */ public function setMode($var) { GPBUtil::checkMessage($var, \Rv\Data\DisplayMode::class); $this->mode = $var; return $this; } /** * Generated from protobuf field string render_id = 10; * @return string */ public function getRenderId() { return $this->render_id; } /** * Generated from protobuf field string render_id = 10; * @param string $var * @return $this */ public function setRenderId($var) { GPBUtil::checkString($var, True); $this->render_id = $var; return $this; } /** * Generated from protobuf field int32 video_delay = 12; * @return int */ public function getVideoDelay() { return $this->video_delay; } /** * Generated from protobuf field int32 video_delay = 12; * @param int $var * @return $this */ public function setVideoDelay($var) { GPBUtil::checkInt32($var); $this->video_delay = $var; return $this; } /** * Generated from protobuf field .rv.data.OutputDisplay.Blackmagic blackmagic = 11; * @return \Rv\Data\OutputDisplay\Blackmagic|null */ public function getBlackmagic() { return $this->readOneof(11); } public function hasBlackmagic() { return $this->hasOneof(11); } /** * Generated from protobuf field .rv.data.OutputDisplay.Blackmagic blackmagic = 11; * @param \Rv\Data\OutputDisplay\Blackmagic $var * @return $this */ public function setBlackmagic($var) { GPBUtil::checkMessage($var, \Rv\Data\OutputDisplay\Blackmagic::class); $this->writeOneof(11, $var); return $this; } /** * @return string */ public function getHardwareOptions() { return $this->whichOneof("HardwareOptions"); } }