rv.data.Zone */ class Zone 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 string hex_color = 3; */ protected $hex_color = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\UUID $uuid * @type string $name * @type string $hex_color * } */ public function __construct($data = NULL) { \GPBMetadata\Zone::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 string hex_color = 3; * @return string */ public function getHexColor() { return $this->hex_color; } /** * Generated from protobuf field string hex_color = 3; * @param string $var * @return $this */ public function setHexColor($var) { GPBUtil::checkString($var, True); $this->hex_color = $var; return $this; } }