rv.data.Screen */ class Screen extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.UUID uuid = 1; */ protected $uuid = null; /** * Generated from protobuf field string name = 2; */ protected $name = ''; /** * Generated from protobuf field .rv.data.Color color = 3; */ protected $color = null; /** * Generated from protobuf field .rv.data.Graphics.Rect bounds = 4; */ protected $bounds = null; /** * Generated from protobuf field bool aspect_ratio_locked = 5; */ protected $aspect_ratio_locked = false; /** * Generated from protobuf field bool output_bounds_aspect_ratio_locked = 6; */ protected $output_bounds_aspect_ratio_locked = false; /** * Generated from protobuf field bool corner_pinning_enabled = 7; */ protected $corner_pinning_enabled = false; /** * Generated from protobuf field .rv.data.Graphics.Rect subscreen_unit_rect = 8; */ protected $subscreen_unit_rect = null; /** * Generated from protobuf field double rotation = 9; */ protected $rotation = 0.0; /** * Generated from protobuf field double gamma = 10; */ protected $gamma = 0.0; /** * Generated from protobuf field double black_level = 11; */ protected $black_level = 0.0; /** * Generated from protobuf field uint32 blended_edges = 12; */ protected $blended_edges = 0; /** * Generated from protobuf field .rv.data.CornerValues corner_values = 13; */ protected $corner_values = null; /** * Generated from protobuf field .rv.data.OutputDisplay output_display = 14; */ protected $output_display = null; /** * Generated from protobuf field bool color_enabled = 15; */ protected $color_enabled = false; /** * Generated from protobuf field .rv.data.Screen.ColorAdjustment color_adjustment = 16; */ protected $color_adjustment = null; /** * Generated from protobuf field .rv.data.Screen.BlendCompensation blend_compensation = 17; */ protected $blend_compensation = null; /** * Generated from protobuf field .rv.data.Screen.AlphaSettings alpha_settings = 18; */ 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 .rv.data.UUID uuid = 1; * @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 = 1; * @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 string name = 2; * @return string */ public function getName() { return $this->name; } /** * Generated from protobuf field string name = 2; * @param string $var * @return $this */ public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; } /** * Generated from protobuf field .rv.data.Color color = 3; * @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 .rv.data.Color color = 3; * @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 .rv.data.Graphics.Rect bounds = 4; * @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 = 4; * @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 bool aspect_ratio_locked = 5; * @return bool */ public function getAspectRatioLocked() { return $this->aspect_ratio_locked; } /** * Generated from protobuf field bool aspect_ratio_locked = 5; * @param bool $var * @return $this */ public function setAspectRatioLocked($var) { GPBUtil::checkBool($var); $this->aspect_ratio_locked = $var; return $this; } /** * Generated from protobuf field bool output_bounds_aspect_ratio_locked = 6; * @return bool */ public function getOutputBoundsAspectRatioLocked() { return $this->output_bounds_aspect_ratio_locked; } /** * Generated from protobuf field bool output_bounds_aspect_ratio_locked = 6; * @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 bool corner_pinning_enabled = 7; * @return bool */ public function getCornerPinningEnabled() { return $this->corner_pinning_enabled; } /** * Generated from protobuf field bool corner_pinning_enabled = 7; * @param bool $var * @return $this */ public function setCornerPinningEnabled($var) { GPBUtil::checkBool($var); $this->corner_pinning_enabled = $var; return $this; } /** * Generated from protobuf field .rv.data.Graphics.Rect subscreen_unit_rect = 8; * @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 .rv.data.Graphics.Rect subscreen_unit_rect = 8; * @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 double rotation = 9; * @return float */ public function getRotation() { return $this->rotation; } /** * Generated from protobuf field double rotation = 9; * @param float $var * @return $this */ public function setRotation($var) { GPBUtil::checkDouble($var); $this->rotation = $var; return $this; } /** * Generated from protobuf field double gamma = 10; * @return float */ public function getGamma() { return $this->gamma; } /** * Generated from protobuf field double gamma = 10; * @param float $var * @return $this */ public function setGamma($var) { GPBUtil::checkDouble($var); $this->gamma = $var; return $this; } /** * Generated from protobuf field double black_level = 11; * @return float */ public function getBlackLevel() { return $this->black_level; } /** * Generated from protobuf field double black_level = 11; * @param float $var * @return $this */ public function setBlackLevel($var) { GPBUtil::checkDouble($var); $this->black_level = $var; return $this; } /** * Generated from protobuf field uint32 blended_edges = 12; * @return int */ public function getBlendedEdges() { return $this->blended_edges; } /** * Generated from protobuf field uint32 blended_edges = 12; * @param int $var * @return $this */ public function setBlendedEdges($var) { GPBUtil::checkUint32($var); $this->blended_edges = $var; return $this; } /** * Generated from protobuf field .rv.data.CornerValues corner_values = 13; * @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 .rv.data.CornerValues corner_values = 13; * @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 .rv.data.OutputDisplay output_display = 14; * @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 .rv.data.OutputDisplay output_display = 14; * @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 bool color_enabled = 15; * @return bool */ public function getColorEnabled() { return $this->color_enabled; } /** * Generated from protobuf field bool color_enabled = 15; * @param bool $var * @return $this */ public function setColorEnabled($var) { GPBUtil::checkBool($var); $this->color_enabled = $var; return $this; } /** * Generated from protobuf field .rv.data.Screen.ColorAdjustment color_adjustment = 16; * @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 .rv.data.Screen.ColorAdjustment color_adjustment = 16; * @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 .rv.data.Screen.BlendCompensation blend_compensation = 17; * @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 .rv.data.Screen.BlendCompensation blend_compensation = 17; * @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 .rv.data.Screen.AlphaSettings alpha_settings = 18; * @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 .rv.data.Screen.AlphaSettings alpha_settings = 18; * @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; } }