rv.data.TestPatternDocument.TestPatternStateData
*/
class TestPatternStateData extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field .rv.data.UUID test_pattern_id = 1;
*/
protected $test_pattern_id = null;
/**
* Generated from protobuf field string test_pattern_name_localization_key = 2;
*/
protected $test_pattern_name_localization_key = '';
/**
* 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\UUID $test_pattern_id
* @type string $test_pattern_name_localization_key
* @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.UUID test_pattern_id = 1;
* @return \Rv\Data\UUID|null
*/
public function getTestPatternId()
{
return $this->test_pattern_id;
}
public function hasTestPatternId()
{
return isset($this->test_pattern_id);
}
public function clearTestPatternId()
{
unset($this->test_pattern_id);
}
/**
* Generated from protobuf field .rv.data.UUID test_pattern_id = 1;
* @param \Rv\Data\UUID $var
* @return $this
*/
public function setTestPatternId($var)
{
GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
$this->test_pattern_id = $var;
return $this;
}
/**
* Generated from protobuf field string test_pattern_name_localization_key = 2;
* @return string
*/
public function getTestPatternNameLocalizationKey()
{
return $this->test_pattern_name_localization_key;
}
/**
* Generated from protobuf field string test_pattern_name_localization_key = 2;
* @param string $var
* @return $this
*/
public function setTestPatternNameLocalizationKey($var)
{
GPBUtil::checkString($var, True);
$this->test_pattern_name_localization_key = $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;
}
}