rv.data.PropDocument.PropCollection */ class PropCollection extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.UUID uuid = 1; */ protected $uuid = null; /** * Generated from protobuf field string name = 2; */ protected $name = ''; /** * Generated from protobuf field repeated .rv.data.PropDocument.PropCollection.Item items = 3; */ private $items; /** * Generated from protobuf field bool single_prop_enabled = 4; */ protected $single_prop_enabled = false; /** * Generated from protobuf field repeated .rv.data.Cue cues = 5; */ private $cues; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\UUID $uuid * @type string $name * @type array<\Rv\Data\PropDocument\PropCollection\Item>|\Google\Protobuf\Internal\RepeatedField $items * @type bool $single_prop_enabled * @type array<\Rv\Data\Cue>|\Google\Protobuf\Internal\RepeatedField $cues * } */ public function __construct($data = NULL) { \GPBMetadata\PropDocument::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.UUID uuid = 1; * @return \Rv\Data\UUID|null */ public function getUuid() { return $this->uuid; } public function hasUuid() { return isset($this->uuid); } public function clearUuid() { unset($this->uuid); } /** * Generated from protobuf field .rv.data.UUID uuid = 1; * @param \Rv\Data\UUID $var * @return $this */ public function setUuid($var) { GPBUtil::checkMessage($var, \Rv\Data\UUID::class); $this->uuid = $var; return $this; } /** * Generated from protobuf field string name = 2; * @return string */ public function getName() { return $this->name; } /** * Generated from protobuf field string name = 2; * @param string $var * @return $this */ public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; } /** * Generated from protobuf field repeated .rv.data.PropDocument.PropCollection.Item items = 3; * @return \Google\Protobuf\Internal\RepeatedField */ public function getItems() { return $this->items; } /** * Generated from protobuf field repeated .rv.data.PropDocument.PropCollection.Item items = 3; * @param array<\Rv\Data\PropDocument\PropCollection\Item>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setItems($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\PropDocument\PropCollection\Item::class); $this->items = $arr; return $this; } /** * Generated from protobuf field bool single_prop_enabled = 4; * @return bool */ public function getSinglePropEnabled() { return $this->single_prop_enabled; } /** * Generated from protobuf field bool single_prop_enabled = 4; * @param bool $var * @return $this */ public function setSinglePropEnabled($var) { GPBUtil::checkBool($var); $this->single_prop_enabled = $var; return $this; } /** * Generated from protobuf field repeated .rv.data.Cue cues = 5; * @return \Google\Protobuf\Internal\RepeatedField */ public function getCues() { return $this->cues; } /** * Generated from protobuf field repeated .rv.data.Cue cues = 5; * @param array<\Rv\Data\Cue>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setCues($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Cue::class); $this->cues = $arr; return $this; } }