propresenter-php/php/generated/Rv/Data/TemplateIdentification.php
2026-03-01 16:12:17 +01:00

188 lines
4.2 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: templateIdentification.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.TemplateIdentification</code>
*/
class TemplateIdentification extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>.rv.data.UUID uuid = 1;</code>
*/
protected $uuid = null;
/**
* Generated from protobuf field <code>string name = 2;</code>
*/
protected $name = '';
/**
* Generated from protobuf field <code>.rv.data.UUID slide_uuid = 3;</code>
*/
protected $slide_uuid = null;
/**
* Generated from protobuf field <code>string slide_name = 4;</code>
*/
protected $slide_name = '';
/**
* Generated from protobuf field <code>uint32 slide_index = 5;</code>
*/
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 <code>.rv.data.UUID uuid = 1;</code>
* @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 <code>.rv.data.UUID uuid = 1;</code>
* @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 <code>string name = 2;</code>
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Generated from protobuf field <code>string name = 2;</code>
* @param string $var
* @return $this
*/
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.UUID slide_uuid = 3;</code>
* @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 <code>.rv.data.UUID slide_uuid = 3;</code>
* @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 <code>string slide_name = 4;</code>
* @return string
*/
public function getSlideName()
{
return $this->slide_name;
}
/**
* Generated from protobuf field <code>string slide_name = 4;</code>
* @param string $var
* @return $this
*/
public function setSlideName($var)
{
GPBUtil::checkString($var, True);
$this->slide_name = $var;
return $this;
}
/**
* Generated from protobuf field <code>uint32 slide_index = 5;</code>
* @return int
*/
public function getSlideIndex()
{
return $this->slide_index;
}
/**
* Generated from protobuf field <code>uint32 slide_index = 5;</code>
* @param int $var
* @return $this
*/
public function setSlideIndex($var)
{
GPBUtil::checkUint32($var);
$this->slide_index = $var;
return $this;
}
}