rv.data.Timer */ class Timer 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.Timer.Configuration configuration = 10; */ protected $configuration = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\UUID $uuid * @type string $name * @type \Rv\Data\Timer\Configuration $configuration * } */ public function __construct($data = NULL) { \GPBMetadata\Timers::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.Timer.Configuration configuration = 10; * @return \Rv\Data\Timer\Configuration|null */ public function getConfiguration() { return $this->configuration; } public function hasConfiguration() { return isset($this->configuration); } public function clearConfiguration() { unset($this->configuration); } /** * Generated from protobuf field .rv.data.Timer.Configuration configuration = 10; * @param \Rv\Data\Timer\Configuration $var * @return $this */ public function setConfiguration($var) { GPBUtil::checkMessage($var, \Rv\Data\Timer\Configuration::class); $this->configuration = $var; return $this; } }