rv.data.TemplateIdentification */ class TemplateIdentification 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 .rv.data.UUID slide_uuid = 3; */ protected $slide_uuid = null; /** * Generated from protobuf field string slide_name = 4; */ protected $slide_name = ''; /** * Generated from protobuf field uint32 slide_index = 5; */ protected $slide_index = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\UUID $uuid * @type string $name * @type \Rv\Data\UUID $slide_uuid * @type string $slide_name * @type int $slide_index * } */ public function __construct($data = NULL) { \GPBMetadata\TemplateIdentification::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 .rv.data.UUID slide_uuid = 3; * @return \Rv\Data\UUID|null */ public function getSlideUuid() { return $this->slide_uuid; } public function hasSlideUuid() { return isset($this->slide_uuid); } public function clearSlideUuid() { unset($this->slide_uuid); } /** * Generated from protobuf field .rv.data.UUID slide_uuid = 3; * @param \Rv\Data\UUID $var * @return $this */ public function setSlideUuid($var) { GPBUtil::checkMessage($var, \Rv\Data\UUID::class); $this->slide_uuid = $var; return $this; } /** * Generated from protobuf field string slide_name = 4; * @return string */ public function getSlideName() { return $this->slide_name; } /** * Generated from protobuf field string slide_name = 4; * @param string $var * @return $this */ public function setSlideName($var) { GPBUtil::checkString($var, True); $this->slide_name = $var; return $this; } /** * Generated from protobuf field uint32 slide_index = 5; * @return int */ public function getSlideIndex() { return $this->slide_index; } /** * Generated from protobuf field uint32 slide_index = 5; * @param int $var * @return $this */ public function setSlideIndex($var) { GPBUtil::checkUint32($var); $this->slide_index = $var; return $this; } }