252 lines
6.2 KiB
PHP
252 lines
6.2 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: testPattern.proto
|
|
|
|
namespace Rv\Data;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.TestPatternState</code>
|
|
*/
|
|
class TestPatternState extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TestPatternDefinition pattern = 1;</code>
|
|
*/
|
|
protected $pattern = null;
|
|
/**
|
|
* Generated from protobuf field <code>bool show_pattern = 2;</code>
|
|
*/
|
|
protected $show_pattern = false;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TestPatternState.DisplayLocation display_location = 3;</code>
|
|
*/
|
|
protected $display_location = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.UUID specific_screen = 4;</code>
|
|
*/
|
|
protected $specific_screen = null;
|
|
/**
|
|
* Generated from protobuf field <code>bool identify_screens = 5;</code>
|
|
*/
|
|
protected $identify_screens = false;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.LogoType logo_type = 6;</code>
|
|
*/
|
|
protected $logo_type = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.URL user_logo_location = 7;</code>
|
|
*/
|
|
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 <code>.rv.data.TestPatternDefinition pattern = 1;</code>
|
|
* @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 <code>.rv.data.TestPatternDefinition pattern = 1;</code>
|
|
* @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 <code>bool show_pattern = 2;</code>
|
|
* @return bool
|
|
*/
|
|
public function getShowPattern()
|
|
{
|
|
return $this->show_pattern;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool show_pattern = 2;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setShowPattern($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->show_pattern = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TestPatternState.DisplayLocation display_location = 3;</code>
|
|
* @return int
|
|
*/
|
|
public function getDisplayLocation()
|
|
{
|
|
return $this->display_location;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TestPatternState.DisplayLocation display_location = 3;</code>
|
|
* @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 <code>.rv.data.UUID specific_screen = 4;</code>
|
|
* @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 <code>.rv.data.UUID specific_screen = 4;</code>
|
|
* @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 <code>bool identify_screens = 5;</code>
|
|
* @return bool
|
|
*/
|
|
public function getIdentifyScreens()
|
|
{
|
|
return $this->identify_screens;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool identify_screens = 5;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setIdentifyScreens($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->identify_screens = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.LogoType logo_type = 6;</code>
|
|
* @return int
|
|
*/
|
|
public function getLogoType()
|
|
{
|
|
return $this->logo_type;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.LogoType logo_type = 6;</code>
|
|
* @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 <code>.rv.data.URL user_logo_location = 7;</code>
|
|
* @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 <code>.rv.data.URL user_logo_location = 7;</code>
|
|
* @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;
|
|
}
|
|
|
|
}
|
|
|