common_pack.EnterHall */ class EnterHall extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string userId = 1; */ protected $userId = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $userId * } */ public function __construct($data = NULL) { \GPBMetadata\Common::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string userId = 1; * @return string */ public function getUserId() { return $this->userId; } /** * Generated from protobuf field string userId = 1; * @param string $var * @return $this */ public function setUserId($var) { GPBUtil::checkString($var, True); $this->userId = $var; return $this; } }