rv.data.TestPatternState */ class TestPatternState extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.TestPatternDefinition pattern = 1; */ protected $pattern = null; /** * Generated from protobuf field bool show_pattern = 2; */ protected $show_pattern = false; /** * Generated from protobuf field .rv.data.TestPatternState.DisplayLocation display_location = 3; */ protected $display_location = 0; /** * Generated from protobuf field .rv.data.UUID specific_screen = 4; */ protected $specific_screen = null; /** * Generated from protobuf field bool identify_screens = 5; */ protected $identify_screens = false; /** * Generated from protobuf field .rv.data.LogoType logo_type = 6; */ protected $logo_type = 0; /** * Generated from protobuf field .rv.data.URL user_logo_location = 7; */ protected $user_logo_location = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\TestPatternDefinition $pattern * @type bool $show_pattern * @type int $display_location * @type \Rv\Data\UUID $specific_screen * @type bool $identify_screens * @type int $logo_type * @type \Rv\Data\URL $user_logo_location * } */ 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 bool show_pattern = 2; * @return bool */ public function getShowPattern() { return $this->show_pattern; } /** * Generated from protobuf field bool show_pattern = 2; * @param bool $var * @return $this */ public function setShowPattern($var) { GPBUtil::checkBool($var); $this->show_pattern = $var; return $this; } /** * Generated from protobuf field .rv.data.TestPatternState.DisplayLocation display_location = 3; * @return int */ public function getDisplayLocation() { return $this->display_location; } /** * Generated from protobuf field .rv.data.TestPatternState.DisplayLocation display_location = 3; * @param int $var * @return $this */ public function setDisplayLocation($var) { GPBUtil::checkEnum($var, \Rv\Data\TestPatternState\DisplayLocation::class); $this->display_location = $var; return $this; } /** * Generated from protobuf field .rv.data.UUID specific_screen = 4; * @return \Rv\Data\UUID|null */ public function getSpecificScreen() { return $this->specific_screen; } public function hasSpecificScreen() { return isset($this->specific_screen); } public function clearSpecificScreen() { unset($this->specific_screen); } /** * Generated from protobuf field .rv.data.UUID specific_screen = 4; * @param \Rv\Data\UUID $var * @return $this */ public function setSpecificScreen($var) { GPBUtil::checkMessage($var, \Rv\Data\UUID::class); $this->specific_screen = $var; return $this; } /** * Generated from protobuf field bool identify_screens = 5; * @return bool */ public function getIdentifyScreens() { return $this->identify_screens; } /** * Generated from protobuf field bool identify_screens = 5; * @param bool $var * @return $this */ public function setIdentifyScreens($var) { GPBUtil::checkBool($var); $this->identify_screens = $var; return $this; } /** * Generated from protobuf field .rv.data.LogoType logo_type = 6; * @return int */ public function getLogoType() { return $this->logo_type; } /** * Generated from protobuf field .rv.data.LogoType logo_type = 6; * @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 .rv.data.URL user_logo_location = 7; * @return \Rv\Data\URL|null */ public function getUserLogoLocation() { return $this->user_logo_location; } public function hasUserLogoLocation() { return isset($this->user_logo_location); } public function clearUserLogoLocation() { unset($this->user_logo_location); } /** * Generated from protobuf field .rv.data.URL user_logo_location = 7; * @param \Rv\Data\URL $var * @return $this */ public function setUserLogoLocation($var) { GPBUtil::checkMessage($var, \Rv\Data\URL::class); $this->user_logo_location = $var; return $this; } }