rv.data.ProClockSource */ class ProClockSource extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string uuid = 1; */ protected $uuid = ''; /** * Generated from protobuf field string name = 2; */ protected $name = ''; /** * Generated from protobuf field bool connected = 3; */ protected $connected = false; /** * Generated from protobuf field bool active = 4; */ protected $active = false; /** * Generated from protobuf field .rv.data.ProClockSource.Type type = 5; */ protected $type = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $uuid * @type string $name * @type bool $connected * @type bool $active * @type int $type * } */ public function __construct($data = NULL) { \GPBMetadata\ProClockSource::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string uuid = 1; * @return string */ public function getUuid() { return $this->uuid; } /** * Generated from protobuf field string uuid = 1; * @param string $var * @return $this */ public function setUuid($var) { GPBUtil::checkString($var, True); $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 bool connected = 3; * @return bool */ public function getConnected() { return $this->connected; } /** * Generated from protobuf field bool connected = 3; * @param bool $var * @return $this */ public function setConnected($var) { GPBUtil::checkBool($var); $this->connected = $var; return $this; } /** * Generated from protobuf field bool active = 4; * @return bool */ public function getActive() { return $this->active; } /** * Generated from protobuf field bool active = 4; * @param bool $var * @return $this */ public function setActive($var) { GPBUtil::checkBool($var); $this->active = $var; return $this; } /** * Generated from protobuf field .rv.data.ProClockSource.Type type = 5; * @return int */ public function getType() { return $this->type; } /** * Generated from protobuf field .rv.data.ProClockSource.Type type = 5; * @param int $var * @return $this */ public function setType($var) { GPBUtil::checkEnum($var, \Rv\Data\ProClockSource\Type::class); $this->type = $var; return $this; } }