12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <?php
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: common.proto
- namespace Common_pack;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- /**
- * 更新用户信息
- *
- * Generated from protobuf message <code>common_pack.UpdateUserInfo</code>
- */
- class UpdateUserInfo extends \Google\Protobuf\Internal\Message
- {
- /**
- * Generated from protobuf field <code>.common_pack.UserInfo info = 1;</code>
- */
- protected $info = null;
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Common_pack\UserInfo $info
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Common::initOnce();
- parent::__construct($data);
- }
- /**
- * Generated from protobuf field <code>.common_pack.UserInfo info = 1;</code>
- * @return \Common_pack\UserInfo|null
- */
- public function getInfo()
- {
- return $this->info;
- }
- public function hasInfo()
- {
- return isset($this->info);
- }
- public function clearInfo()
- {
- unset($this->info);
- }
- /**
- * Generated from protobuf field <code>.common_pack.UserInfo info = 1;</code>
- * @param \Common_pack\UserInfo $var
- * @return $this
- */
- public function setInfo($var)
- {
- GPBUtil::checkMessage($var, \Common_pack\UserInfo::class);
- $this->info = $var;
- return $this;
- }
- }
|