rv.data.API_v1_ScreenConfig
*/
class API_v1_ScreenConfig extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field .rv.data.API_v1_Identifier id = 1;
*/
protected $id = null;
/**
* Generated from protobuf field .rv.data.API_v1_Size size = 2;
*/
protected $size = null;
/**
* Generated from protobuf field .rv.data.API_v1_ScreenType screen_type = 3;
*/
protected $screen_type = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Rv\Data\API_v1_Identifier $id
* @type \Rv\Data\API_v1_Size $size
* @type int $screen_type
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProApiV1Status::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field .rv.data.API_v1_Identifier id = 1;
* @return \Rv\Data\API_v1_Identifier|null
*/
public function getId()
{
return $this->id;
}
public function hasId()
{
return isset($this->id);
}
public function clearId()
{
unset($this->id);
}
/**
* Generated from protobuf field .rv.data.API_v1_Identifier id = 1;
* @param \Rv\Data\API_v1_Identifier $var
* @return $this
*/
public function setId($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Identifier::class);
$this->id = $var;
return $this;
}
/**
* Generated from protobuf field .rv.data.API_v1_Size size = 2;
* @return \Rv\Data\API_v1_Size|null
*/
public function getSize()
{
return $this->size;
}
public function hasSize()
{
return isset($this->size);
}
public function clearSize()
{
unset($this->size);
}
/**
* Generated from protobuf field .rv.data.API_v1_Size size = 2;
* @param \Rv\Data\API_v1_Size $var
* @return $this
*/
public function setSize($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Size::class);
$this->size = $var;
return $this;
}
/**
* Generated from protobuf field .rv.data.API_v1_ScreenType screen_type = 3;
* @return int
*/
public function getScreenType()
{
return $this->screen_type;
}
/**
* Generated from protobuf field .rv.data.API_v1_ScreenType screen_type = 3;
* @param int $var
* @return $this
*/
public function setScreenType($var)
{
GPBUtil::checkEnum($var, \Rv\Data\API_v1_ScreenType::class);
$this->screen_type = $var;
return $this;
}
}