rv.data.TestPatternRenderSettings */ class TestPatternRenderSettings extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.TestPatternDefinition pattern = 1; */ protected $pattern = null; /** * Generated from protobuf field string screen_name = 3; */ protected $screen_name = ''; /** * Generated from protobuf field repeated .rv.data.TestPatternRenderSettings.Output outputs = 4; */ private $outputs; /** * Generated from protobuf field .rv.data.LogoType logo_type = 5; */ protected $logo_type = 0; /** * Generated from protobuf field string logo_file = 6; */ protected $logo_file = ''; /** * Generated from protobuf field int32 render_width = 7; */ protected $render_width = 0; /** * Generated from protobuf field int32 render_height = 8; */ protected $render_height = 0; /** * Generated from protobuf field bool enable_audio = 9; */ protected $enable_audio = false; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\TestPatternDefinition $pattern * @type string $screen_name * @type array<\Rv\Data\TestPatternRenderSettings\Output>|\Google\Protobuf\Internal\RepeatedField $outputs * @type int $logo_type * @type string $logo_file * @type int $render_width * @type int $render_height * @type bool $enable_audio * } */ public function __construct($data = NULL) { \GPBMetadata\TestPattern::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.TestPatternDefinition pattern = 1; * @return \Rv\Data\TestPatternDefinition|null */ public function getPattern() { return $this->pattern; } public function hasPattern() { return isset($this->pattern); } public function clearPattern() { unset($this->pattern); } /** * Generated from protobuf field .rv.data.TestPatternDefinition pattern = 1; * @param \Rv\Data\TestPatternDefinition $var * @return $this */ public function setPattern($var) { GPBUtil::checkMessage($var, \Rv\Data\TestPatternDefinition::class); $this->pattern = $var; return $this; } /** * Generated from protobuf field string screen_name = 3; * @return string */ public function getScreenName() { return $this->screen_name; } /** * Generated from protobuf field string screen_name = 3; * @param string $var * @return $this */ public function setScreenName($var) { GPBUtil::checkString($var, True); $this->screen_name = $var; return $this; } /** * Generated from protobuf field repeated .rv.data.TestPatternRenderSettings.Output outputs = 4; * @return \Google\Protobuf\Internal\RepeatedField */ public function getOutputs() { return $this->outputs; } /** * Generated from protobuf field repeated .rv.data.TestPatternRenderSettings.Output outputs = 4; * @param array<\Rv\Data\TestPatternRenderSettings\Output>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setOutputs($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\TestPatternRenderSettings\Output::class); $this->outputs = $arr; return $this; } /** * Generated from protobuf field .rv.data.LogoType logo_type = 5; * @return int */ public function getLogoType() { return $this->logo_type; } /** * Generated from protobuf field .rv.data.LogoType logo_type = 5; * @param int $var * @return $this */ public function setLogoType($var) { GPBUtil::checkEnum($var, \Rv\Data\LogoType::class); $this->logo_type = $var; return $this; } /** * Generated from protobuf field string logo_file = 6; * @return string */ public function getLogoFile() { return $this->logo_file; } /** * Generated from protobuf field string logo_file = 6; * @param string $var * @return $this */ public function setLogoFile($var) { GPBUtil::checkString($var, True); $this->logo_file = $var; return $this; } /** * Generated from protobuf field int32 render_width = 7; * @return int */ public function getRenderWidth() { return $this->render_width; } /** * Generated from protobuf field int32 render_width = 7; * @param int $var * @return $this */ public function setRenderWidth($var) { GPBUtil::checkInt32($var); $this->render_width = $var; return $this; } /** * Generated from protobuf field int32 render_height = 8; * @return int */ public function getRenderHeight() { return $this->render_height; } /** * Generated from protobuf field int32 render_height = 8; * @param int $var * @return $this */ public function setRenderHeight($var) { GPBUtil::checkInt32($var); $this->render_height = $var; return $this; } /** * Generated from protobuf field bool enable_audio = 9; * @return bool */ public function getEnableAudio() { return $this->enable_audio; } /** * Generated from protobuf field bool enable_audio = 9; * @param bool $var * @return $this */ public function setEnableAudio($var) { GPBUtil::checkBool($var); $this->enable_audio = $var; return $this; } }