rv.data.Group */ class Group 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.Color color = 3; */ protected $color = null; /** * Generated from protobuf field .rv.data.HotKey hotKey = 4; */ protected $hotKey = null; /** * Generated from protobuf field .rv.data.UUID application_group_identifier = 5; */ protected $application_group_identifier = null; /** * Generated from protobuf field string application_group_name = 6; */ protected $application_group_name = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\UUID $uuid * @type string $name * @type \Rv\Data\Color $color * @type \Rv\Data\HotKey $hotKey * @type \Rv\Data\UUID $application_group_identifier * @type string $application_group_name * } */ public function __construct($data = NULL) { \GPBMetadata\Groups::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.Color color = 3; * @return \Rv\Data\Color|null */ public function getColor() { return $this->color; } public function hasColor() { return isset($this->color); } public function clearColor() { unset($this->color); } /** * Generated from protobuf field .rv.data.Color color = 3; * @param \Rv\Data\Color $var * @return $this */ public function setColor($var) { GPBUtil::checkMessage($var, \Rv\Data\Color::class); $this->color = $var; return $this; } /** * Generated from protobuf field .rv.data.HotKey hotKey = 4; * @return \Rv\Data\HotKey|null */ public function getHotKey() { return $this->hotKey; } public function hasHotKey() { return isset($this->hotKey); } public function clearHotKey() { unset($this->hotKey); } /** * Generated from protobuf field .rv.data.HotKey hotKey = 4; * @param \Rv\Data\HotKey $var * @return $this */ public function setHotKey($var) { GPBUtil::checkMessage($var, \Rv\Data\HotKey::class); $this->hotKey = $var; return $this; } /** * Generated from protobuf field .rv.data.UUID application_group_identifier = 5; * @return \Rv\Data\UUID|null */ public function getApplicationGroupIdentifier() { return $this->application_group_identifier; } public function hasApplicationGroupIdentifier() { return isset($this->application_group_identifier); } public function clearApplicationGroupIdentifier() { unset($this->application_group_identifier); } /** * Generated from protobuf field .rv.data.UUID application_group_identifier = 5; * @param \Rv\Data\UUID $var * @return $this */ public function setApplicationGroupIdentifier($var) { GPBUtil::checkMessage($var, \Rv\Data\UUID::class); $this->application_group_identifier = $var; return $this; } /** * Generated from protobuf field string application_group_name = 6; * @return string */ public function getApplicationGroupName() { return $this->application_group_name; } /** * Generated from protobuf field string application_group_name = 6; * @param string $var * @return $this */ public function setApplicationGroupName($var) { GPBUtil::checkString($var, True); $this->application_group_name = $var; return $this; } }