common_pack.ReqRegister */ class ReqRegister extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string nikeName = 1; */ protected $nikeName = ''; /** * Generated from protobuf field string account = 2; */ protected $account = ''; /** * Generated from protobuf field string password = 3; */ protected $password = ''; /** * Generated from protobuf field string m_head = 4; */ protected $m_head = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $nikeName * @type string $account * @type string $password * @type string $m_head * } */ public function __construct($data = NULL) { \GPBMetadata\Common::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string nikeName = 1; * @return string */ public function getNikeName() { return $this->nikeName; } /** * Generated from protobuf field string nikeName = 1; * @param string $var * @return $this */ public function setNikeName($var) { GPBUtil::checkString($var, True); $this->nikeName = $var; return $this; } /** * Generated from protobuf field string account = 2; * @return string */ public function getAccount() { return $this->account; } /** * Generated from protobuf field string account = 2; * @param string $var * @return $this */ public function setAccount($var) { GPBUtil::checkString($var, True); $this->account = $var; return $this; } /** * Generated from protobuf field string password = 3; * @return string */ public function getPassword() { return $this->password; } /** * Generated from protobuf field string password = 3; * @param string $var * @return $this */ public function setPassword($var) { GPBUtil::checkString($var, True); $this->password = $var; return $this; } /** * Generated from protobuf field string m_head = 4; * @return string */ public function getMHead() { return $this->m_head; } /** * Generated from protobuf field string m_head = 4; * @param string $var * @return $this */ public function setMHead($var) { GPBUtil::checkString($var, True); $this->m_head = $var; return $this; } }