rv.data.ProPresenterScreen */ class ProPresenterScreen extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string name = 1; */ protected $name = ''; /** * Generated from protobuf field .rv.data.ProPresenterScreen.ScreenType screen_type = 2; */ protected $screen_type = 0; /** * Generated from protobuf field .rv.data.Color background_color = 6; */ protected $background_color = null; /** * Generated from protobuf field .rv.data.UUID uuid = 7; */ protected $uuid = null; /** * Generated from protobuf field bool background_color_enabled = 8; */ protected $background_color_enabled = false; protected $Arrangement; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $name * @type int $screen_type * @type \Rv\Data\Color $background_color * @type \Rv\Data\UUID $uuid * @type bool $background_color_enabled * @type \Rv\Data\ProPresenterScreen\SingleArrangement $arrangement_single * @type \Rv\Data\ProPresenterScreen\CombinedArrangement $arrangement_combined * @type \Rv\Data\ProPresenterScreen\EdgeBlendArrangement $arrangement_edge_blend * } */ public function __construct($data = NULL) { \GPBMetadata\Proscreen::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 .rv.data.ProPresenterScreen.ScreenType screen_type = 2; * @return int */ public function getScreenType() { return $this->screen_type; } /** * Generated from protobuf field .rv.data.ProPresenterScreen.ScreenType screen_type = 2; * @param int $var * @return $this */ public function setScreenType($var) { GPBUtil::checkEnum($var, \Rv\Data\ProPresenterScreen\ScreenType::class); $this->screen_type = $var; return $this; } /** * Generated from protobuf field .rv.data.Color background_color = 6; * @return \Rv\Data\Color|null */ public function getBackgroundColor() { return $this->background_color; } public function hasBackgroundColor() { return isset($this->background_color); } public function clearBackgroundColor() { unset($this->background_color); } /** * Generated from protobuf field .rv.data.Color background_color = 6; * @param \Rv\Data\Color $var * @return $this */ public function setBackgroundColor($var) { GPBUtil::checkMessage($var, \Rv\Data\Color::class); $this->background_color = $var; return $this; } /** * Generated from protobuf field .rv.data.UUID uuid = 7; * @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 .rv.data.UUID uuid = 7; * @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 bool background_color_enabled = 8; * @return bool */ public function getBackgroundColorEnabled() { return $this->background_color_enabled; } /** * Generated from protobuf field bool background_color_enabled = 8; * @param bool $var * @return $this */ public function setBackgroundColorEnabled($var) { GPBUtil::checkBool($var); $this->background_color_enabled = $var; return $this; } /** * Generated from protobuf field .rv.data.ProPresenterScreen.SingleArrangement arrangement_single = 3; * @return \Rv\Data\ProPresenterScreen\SingleArrangement|null */ public function getArrangementSingle() { return $this->readOneof(3); } public function hasArrangementSingle() { return $this->hasOneof(3); } /** * Generated from protobuf field .rv.data.ProPresenterScreen.SingleArrangement arrangement_single = 3; * @param \Rv\Data\ProPresenterScreen\SingleArrangement $var * @return $this */ public function setArrangementSingle($var) { GPBUtil::checkMessage($var, \Rv\Data\ProPresenterScreen\SingleArrangement::class); $this->writeOneof(3, $var); return $this; } /** * Generated from protobuf field .rv.data.ProPresenterScreen.CombinedArrangement arrangement_combined = 4; * @return \Rv\Data\ProPresenterScreen\CombinedArrangement|null */ public function getArrangementCombined() { return $this->readOneof(4); } public function hasArrangementCombined() { return $this->hasOneof(4); } /** * Generated from protobuf field .rv.data.ProPresenterScreen.CombinedArrangement arrangement_combined = 4; * @param \Rv\Data\ProPresenterScreen\CombinedArrangement $var * @return $this */ public function setArrangementCombined($var) { GPBUtil::checkMessage($var, \Rv\Data\ProPresenterScreen\CombinedArrangement::class); $this->writeOneof(4, $var); return $this; } /** * Generated from protobuf field .rv.data.ProPresenterScreen.EdgeBlendArrangement arrangement_edge_blend = 5; * @return \Rv\Data\ProPresenterScreen\EdgeBlendArrangement|null */ public function getArrangementEdgeBlend() { return $this->readOneof(5); } public function hasArrangementEdgeBlend() { return $this->hasOneof(5); } /** * Generated from protobuf field .rv.data.ProPresenterScreen.EdgeBlendArrangement arrangement_edge_blend = 5; * @param \Rv\Data\ProPresenterScreen\EdgeBlendArrangement $var * @return $this */ public function setArrangementEdgeBlend($var) { GPBUtil::checkMessage($var, \Rv\Data\ProPresenterScreen\EdgeBlendArrangement::class); $this->writeOneof(5, $var); return $this; } /** * @return string */ public function getArrangement() { return $this->whichOneof("Arrangement"); } }