diff --git a/kiri-grpc-server/composer.json b/kiri-grpc-server/composer.json deleted file mode 100644 index 064c2d22..00000000 --- a/kiri-grpc-server/composer.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "game-worker/kiri-grpc-server", - "autoload": { - "psr-4": { - "Kiri\\Grpc\\": "src/" - } - }, - "require": { - "google/protobuf": "^v3.3.0" - } -} diff --git a/kiri-grpc-server/exp/GPBMetadata/UserService.php b/kiri-grpc-server/exp/GPBMetadata/UserService.php deleted file mode 100644 index e7ad5f75..00000000 Binary files a/kiri-grpc-server/exp/GPBMetadata/UserService.php and /dev/null differ diff --git a/kiri-grpc-server/exp/User/UserDetailRequest.php b/kiri-grpc-server/exp/User/UserDetailRequest.php deleted file mode 100644 index a4ea0169..00000000 --- a/kiri-grpc-server/exp/User/UserDetailRequest.php +++ /dev/null @@ -1,58 +0,0 @@ -user.UserDetailRequest - */ -class UserDetailRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field int64 userId = 1; - */ - protected $userId = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $userId - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\UserService::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field int64 userId = 1; - * @return int|string - */ - public function getUserId() - { - return $this->userId; - } - - /** - * Generated from protobuf field int64 userId = 1; - * @param int|string $var - * @return $this - */ - public function setUserId($var) - { - GPBUtil::checkInt64($var); - $this->userId = $var; - - return $this; - } - -} - diff --git a/kiri-grpc-server/exp/User/UserDetailResponse.php b/kiri-grpc-server/exp/User/UserDetailResponse.php deleted file mode 100644 index fdffbf1a..00000000 --- a/kiri-grpc-server/exp/User/UserDetailResponse.php +++ /dev/null @@ -1,85 +0,0 @@ -user.UserDetailResponse - */ -class UserDetailResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field int64 code = 1; - */ - protected $code = 0; - /** - * Generated from protobuf field bytes params = 2; - */ - protected $params = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $code - * @type string $params - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\UserService::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field int64 code = 1; - * @return int|string - */ - public function getCode() - { - return $this->code; - } - - /** - * Generated from protobuf field int64 code = 1; - * @param int|string $var - * @return $this - */ - public function setCode($var) - { - GPBUtil::checkInt64($var); - $this->code = $var; - - return $this; - } - - /** - * Generated from protobuf field bytes params = 2; - * @return string - */ - public function getParams() - { - return $this->params; - } - - /** - * Generated from protobuf field bytes params = 2; - * @param string $var - * @return $this - */ - public function setParams($var) - { - GPBUtil::checkString($var, False); - $this->params = $var; - - return $this; - } - -} - diff --git a/kiri-grpc-server/exp/User/UserJwtCheckRequest.php b/kiri-grpc-server/exp/User/UserJwtCheckRequest.php deleted file mode 100644 index 68e5d525..00000000 --- a/kiri-grpc-server/exp/User/UserJwtCheckRequest.php +++ /dev/null @@ -1,58 +0,0 @@ -user.UserJwtCheckRequest - */ -class UserJwtCheckRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field string token = 1; - */ - protected $token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $token - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\UserService::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field string token = 1; - * @return string - */ - public function getToken() - { - return $this->token; - } - - /** - * Generated from protobuf field string token = 1; - * @param string $var - * @return $this - */ - public function setToken($var) - { - GPBUtil::checkString($var, True); - $this->token = $var; - - return $this; - } - -} - diff --git a/kiri-grpc-server/exp/User/UserJwtCheckResponse.php b/kiri-grpc-server/exp/User/UserJwtCheckResponse.php deleted file mode 100644 index b212bf46..00000000 --- a/kiri-grpc-server/exp/User/UserJwtCheckResponse.php +++ /dev/null @@ -1,85 +0,0 @@ -user.UserJwtCheckResponse - */ -class UserJwtCheckResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field int64 code = 1; - */ - protected $code = 0; - /** - * Generated from protobuf field int64 userId = 2; - */ - protected $userId = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $code - * @type int|string $userId - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\UserService::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field int64 code = 1; - * @return int|string - */ - public function getCode() - { - return $this->code; - } - - /** - * Generated from protobuf field int64 code = 1; - * @param int|string $var - * @return $this - */ - public function setCode($var) - { - GPBUtil::checkInt64($var); - $this->code = $var; - - return $this; - } - - /** - * Generated from protobuf field int64 userId = 2; - * @return int|string - */ - public function getUserId() - { - return $this->userId; - } - - /** - * Generated from protobuf field int64 userId = 2; - * @param int|string $var - * @return $this - */ - public function setUserId($var) - { - GPBUtil::checkInt64($var); - $this->userId = $var; - - return $this; - } - -} - diff --git a/kiri-grpc-server/exp/User/UserKickRequest.php b/kiri-grpc-server/exp/User/UserKickRequest.php deleted file mode 100644 index dc86f62d..00000000 --- a/kiri-grpc-server/exp/User/UserKickRequest.php +++ /dev/null @@ -1,58 +0,0 @@ -user.UserKickRequest - */ -class UserKickRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field int64 userId = 1; - */ - protected $userId = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $userId - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\UserService::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field int64 userId = 1; - * @return int|string - */ - public function getUserId() - { - return $this->userId; - } - - /** - * Generated from protobuf field int64 userId = 1; - * @param int|string $var - * @return $this - */ - public function setUserId($var) - { - GPBUtil::checkInt64($var); - $this->userId = $var; - - return $this; - } - -} - diff --git a/kiri-grpc-server/exp/User/UserKickResponse.php b/kiri-grpc-server/exp/User/UserKickResponse.php deleted file mode 100644 index cdca83a5..00000000 --- a/kiri-grpc-server/exp/User/UserKickResponse.php +++ /dev/null @@ -1,85 +0,0 @@ -user.UserKickResponse - */ -class UserKickResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field int64 code = 1; - */ - protected $code = 0; - /** - * Generated from protobuf field string message = 2; - */ - protected $message = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $code - * @type string $message - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\UserService::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field int64 code = 1; - * @return int|string - */ - public function getCode() - { - return $this->code; - } - - /** - * Generated from protobuf field int64 code = 1; - * @param int|string $var - * @return $this - */ - public function setCode($var) - { - GPBUtil::checkInt64($var); - $this->code = $var; - - return $this; - } - - /** - * Generated from protobuf field string message = 2; - * @return string - */ - public function getMessage() - { - return $this->message; - } - - /** - * Generated from protobuf field string message = 2; - * @param string $var - * @return $this - */ - public function setMessage($var) - { - GPBUtil::checkString($var, True); - $this->message = $var; - - return $this; - } - -} - diff --git a/kiri-grpc-server/exp/User/UserLockRequest.php b/kiri-grpc-server/exp/User/UserLockRequest.php deleted file mode 100644 index f6e47ac6..00000000 --- a/kiri-grpc-server/exp/User/UserLockRequest.php +++ /dev/null @@ -1,85 +0,0 @@ -user.UserLockRequest - */ -class UserLockRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field int64 userId = 1; - */ - protected $userId = 0; - /** - * Generated from protobuf field int64 day = 2; - */ - protected $day = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $userId - * @type int|string $day - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\UserService::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field int64 userId = 1; - * @return int|string - */ - public function getUserId() - { - return $this->userId; - } - - /** - * Generated from protobuf field int64 userId = 1; - * @param int|string $var - * @return $this - */ - public function setUserId($var) - { - GPBUtil::checkInt64($var); - $this->userId = $var; - - return $this; - } - - /** - * Generated from protobuf field int64 day = 2; - * @return int|string - */ - public function getDay() - { - return $this->day; - } - - /** - * Generated from protobuf field int64 day = 2; - * @param int|string $var - * @return $this - */ - public function setDay($var) - { - GPBUtil::checkInt64($var); - $this->day = $var; - - return $this; - } - -} - diff --git a/kiri-grpc-server/exp/User/UserLockResponse.php b/kiri-grpc-server/exp/User/UserLockResponse.php deleted file mode 100644 index 2d04e8d2..00000000 --- a/kiri-grpc-server/exp/User/UserLockResponse.php +++ /dev/null @@ -1,85 +0,0 @@ -user.UserLockResponse - */ -class UserLockResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field int64 code = 1; - */ - protected $code = 0; - /** - * Generated from protobuf field string message = 2; - */ - protected $message = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $code - * @type string $message - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\UserService::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field int64 code = 1; - * @return int|string - */ - public function getCode() - { - return $this->code; - } - - /** - * Generated from protobuf field int64 code = 1; - * @param int|string $var - * @return $this - */ - public function setCode($var) - { - GPBUtil::checkInt64($var); - $this->code = $var; - - return $this; - } - - /** - * Generated from protobuf field string message = 2; - * @return string - */ - public function getMessage() - { - return $this->message; - } - - /** - * Generated from protobuf field string message = 2; - * @param string $var - * @return $this - */ - public function setMessage($var) - { - GPBUtil::checkString($var, True); - $this->message = $var; - - return $this; - } - -} - diff --git a/kiri-grpc-server/exp/User/UserOfflineRequest.php b/kiri-grpc-server/exp/User/UserOfflineRequest.php deleted file mode 100644 index ae8f2b7c..00000000 --- a/kiri-grpc-server/exp/User/UserOfflineRequest.php +++ /dev/null @@ -1,58 +0,0 @@ -user.UserOfflineRequest - */ -class UserOfflineRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field int64 userId = 1; - */ - protected $userId = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $userId - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\UserService::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field int64 userId = 1; - * @return int|string - */ - public function getUserId() - { - return $this->userId; - } - - /** - * Generated from protobuf field int64 userId = 1; - * @param int|string $var - * @return $this - */ - public function setUserId($var) - { - GPBUtil::checkInt64($var); - $this->userId = $var; - - return $this; - } - -} - diff --git a/kiri-grpc-server/exp/User/UserOfflineResponse.php b/kiri-grpc-server/exp/User/UserOfflineResponse.php deleted file mode 100644 index 9219eb5e..00000000 --- a/kiri-grpc-server/exp/User/UserOfflineResponse.php +++ /dev/null @@ -1,85 +0,0 @@ -user.UserOfflineResponse - */ -class UserOfflineResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field int64 code = 1; - */ - protected $code = 0; - /** - * Generated from protobuf field string message = 2; - */ - protected $message = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $code - * @type string $message - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\UserService::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field int64 code = 1; - * @return int|string - */ - public function getCode() - { - return $this->code; - } - - /** - * Generated from protobuf field int64 code = 1; - * @param int|string $var - * @return $this - */ - public function setCode($var) - { - GPBUtil::checkInt64($var); - $this->code = $var; - - return $this; - } - - /** - * Generated from protobuf field string message = 2; - * @return string - */ - public function getMessage() - { - return $this->message; - } - - /** - * Generated from protobuf field string message = 2; - * @param string $var - * @return $this - */ - public function setMessage($var) - { - GPBUtil::checkString($var, True); - $this->message = $var; - - return $this; - } - -} - diff --git a/kiri-grpc-server/exp/User/UserOnlineRequest.php b/kiri-grpc-server/exp/User/UserOnlineRequest.php deleted file mode 100644 index 2352fa9c..00000000 --- a/kiri-grpc-server/exp/User/UserOnlineRequest.php +++ /dev/null @@ -1,87 +0,0 @@ -user.UserOnlineRequest - */ -class UserOnlineRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field string token = 1; - */ - protected $token = ''; - /** - * Generated from protobuf field string LastInnerIp = 2; - */ - protected $LastInnerIp = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $token - * @type string $LastInnerIp - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\UserService::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field string token = 1; - * @return string - */ - public function getToken() - { - return $this->token; - } - - /** - * Generated from protobuf field string token = 1; - * @param string $var - * @return $this - */ - public function setToken($var) - { - GPBUtil::checkString($var, True); - $this->token = $var; - - return $this; - } - - /** - * Generated from protobuf field string LastInnerIp = 2; - * @return string - */ - public function getLastInnerIp() - { - return $this->LastInnerIp; - } - - /** - * Generated from protobuf field string LastInnerIp = 2; - * @param string $var - * @return $this - */ - public function setLastInnerIp($var) - { - GPBUtil::checkString($var, True); - $this->LastInnerIp = $var; - - return $this; - } - -} - diff --git a/kiri-grpc-server/exp/User/UserOnlineResponse.php b/kiri-grpc-server/exp/User/UserOnlineResponse.php deleted file mode 100644 index 1cc3aae0..00000000 --- a/kiri-grpc-server/exp/User/UserOnlineResponse.php +++ /dev/null @@ -1,176 +0,0 @@ -user.UserOnlineResponse - */ -class UserOnlineResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field int64 code = 1; - */ - protected $code = 0; - /** - * Generated from protobuf field string message = 2; - */ - protected $message = ''; - /** - * Generated from protobuf field int64 userId = 3; - */ - protected $userId = 0; - /** - * Generated from protobuf field int64 appId = 4; - */ - protected $appId = 0; - /** - * Generated from protobuf field .user.UserStatus status = 5; - */ - protected $status = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $code - * @type string $message - * @type int|string $userId - * @type int|string $appId - * @type \User\UserStatus $status - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\UserService::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field int64 code = 1; - * @return int|string - */ - public function getCode() - { - return $this->code; - } - - /** - * Generated from protobuf field int64 code = 1; - * @param int|string $var - * @return $this - */ - public function setCode($var) - { - GPBUtil::checkInt64($var); - $this->code = $var; - - return $this; - } - - /** - * Generated from protobuf field string message = 2; - * @return string - */ - public function getMessage() - { - return $this->message; - } - - /** - * Generated from protobuf field string message = 2; - * @param string $var - * @return $this - */ - public function setMessage($var) - { - GPBUtil::checkString($var, True); - $this->message = $var; - - return $this; - } - - /** - * Generated from protobuf field int64 userId = 3; - * @return int|string - */ - public function getUserId() - { - return $this->userId; - } - - /** - * Generated from protobuf field int64 userId = 3; - * @param int|string $var - * @return $this - */ - public function setUserId($var) - { - GPBUtil::checkInt64($var); - $this->userId = $var; - - return $this; - } - - /** - * Generated from protobuf field int64 appId = 4; - * @return int|string - */ - public function getAppId() - { - return $this->appId; - } - - /** - * Generated from protobuf field int64 appId = 4; - * @param int|string $var - * @return $this - */ - public function setAppId($var) - { - GPBUtil::checkInt64($var); - $this->appId = $var; - - return $this; - } - - /** - * Generated from protobuf field .user.UserStatus status = 5; - * @return \User\UserStatus|null - */ - public function getStatus() - { - return isset($this->status) ? $this->status : null; - } - - public function hasStatus() - { - return isset($this->status); - } - - public function clearStatus() - { - unset($this->status); - } - - /** - * Generated from protobuf field .user.UserStatus status = 5; - * @param \User\UserStatus $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkMessage($var, \User\UserStatus::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/kiri-grpc-server/exp/User/UserShieldRequest.php b/kiri-grpc-server/exp/User/UserShieldRequest.php deleted file mode 100644 index aba43631..00000000 --- a/kiri-grpc-server/exp/User/UserShieldRequest.php +++ /dev/null @@ -1,58 +0,0 @@ -user.UserShieldRequest - */ -class UserShieldRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field int64 userId = 1; - */ - protected $userId = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $userId - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\UserService::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field int64 userId = 1; - * @return int|string - */ - public function getUserId() - { - return $this->userId; - } - - /** - * Generated from protobuf field int64 userId = 1; - * @param int|string $var - * @return $this - */ - public function setUserId($var) - { - GPBUtil::checkInt64($var); - $this->userId = $var; - - return $this; - } - -} - diff --git a/kiri-grpc-server/exp/User/UserShieldResponse.php b/kiri-grpc-server/exp/User/UserShieldResponse.php deleted file mode 100644 index 60312459..00000000 --- a/kiri-grpc-server/exp/User/UserShieldResponse.php +++ /dev/null @@ -1,85 +0,0 @@ -user.UserShieldResponse - */ -class UserShieldResponse extends Message -{ - /** - * Generated from protobuf field int64 code = 1; - */ - protected $code = 0; - /** - * Generated from protobuf field string message = 2; - */ - protected $message = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $code - * @type string $message - * } - */ - public function __construct($data = NULL) { - UserService::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field int64 code = 1; - * @return int|string - */ - public function getCode() - { - return $this->code; - } - - /** - * Generated from protobuf field int64 code = 1; - * @param int|string $var - * @return $this - */ - public function setCode($var) - { - GPBUtil::checkInt64($var); - $this->code = $var; - - return $this; - } - - /** - * Generated from protobuf field string message = 2; - * @return string - */ - public function getMessage() - { - return $this->message; - } - - /** - * Generated from protobuf field string message = 2; - * @param string $var - * @return $this - */ - public function setMessage($var) - { - GPBUtil::checkString($var, True); - $this->message = $var; - - return $this; - } - -} - diff --git a/kiri-grpc-server/exp/User/UserStatus.php b/kiri-grpc-server/exp/User/UserStatus.php deleted file mode 100644 index 9bb5d741..00000000 --- a/kiri-grpc-server/exp/User/UserStatus.php +++ /dev/null @@ -1,166 +0,0 @@ -user.UserStatus - */ -class UserStatus extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field int64 isLock = 1; - */ - protected $isLock = 0; - /** - * Generated from protobuf field int64 isShield = 2; - */ - protected $isShield = 0; - /** - * Generated from protobuf field string nickname = 3; - */ - protected $nickname = ''; - /** - * Generated from protobuf field string avatar = 4; - */ - protected $avatar = ''; - /** - * Generated from protobuf field string sex = 5; - */ - protected $sex = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $isLock - * @type int|string $isShield - * @type string $nickname - * @type string $avatar - * @type string $sex - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\UserService::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field int64 isLock = 1; - * @return int|string - */ - public function getIsLock() - { - return $this->isLock; - } - - /** - * Generated from protobuf field int64 isLock = 1; - * @param int|string $var - * @return $this - */ - public function setIsLock($var) - { - GPBUtil::checkInt64($var); - $this->isLock = $var; - - return $this; - } - - /** - * Generated from protobuf field int64 isShield = 2; - * @return int|string - */ - public function getIsShield() - { - return $this->isShield; - } - - /** - * Generated from protobuf field int64 isShield = 2; - * @param int|string $var - * @return $this - */ - public function setIsShield($var) - { - GPBUtil::checkInt64($var); - $this->isShield = $var; - - return $this; - } - - /** - * Generated from protobuf field string nickname = 3; - * @return string - */ - public function getNickname() - { - return $this->nickname; - } - - /** - * Generated from protobuf field string nickname = 3; - * @param string $var - * @return $this - */ - public function setNickname($var) - { - GPBUtil::checkString($var, True); - $this->nickname = $var; - - return $this; - } - - /** - * Generated from protobuf field string avatar = 4; - * @return string - */ - public function getAvatar() - { - return $this->avatar; - } - - /** - * Generated from protobuf field string avatar = 4; - * @param string $var - * @return $this - */ - public function setAvatar($var) - { - GPBUtil::checkString($var, True); - $this->avatar = $var; - - return $this; - } - - /** - * Generated from protobuf field string sex = 5; - * @return string - */ - public function getSex() - { - return $this->sex; - } - - /** - * Generated from protobuf field string sex = 5; - * @param string $var - * @return $this - */ - public function setSex($var) - { - GPBUtil::checkString($var, True); - $this->sex = $var; - - return $this; - } - -} - diff --git a/kiri-grpc-server/exp/User/UserUnLockRequest.php b/kiri-grpc-server/exp/User/UserUnLockRequest.php deleted file mode 100644 index 45956b71..00000000 --- a/kiri-grpc-server/exp/User/UserUnLockRequest.php +++ /dev/null @@ -1,58 +0,0 @@ -user.UserUnLockRequest - */ -class UserUnLockRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field int64 userId = 1; - */ - protected $userId = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $userId - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\UserService::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field int64 userId = 1; - * @return int|string - */ - public function getUserId() - { - return $this->userId; - } - - /** - * Generated from protobuf field int64 userId = 1; - * @param int|string $var - * @return $this - */ - public function setUserId($var) - { - GPBUtil::checkInt64($var); - $this->userId = $var; - - return $this; - } - -} - diff --git a/kiri-grpc-server/exp/User/UserUnLockResponse.php b/kiri-grpc-server/exp/User/UserUnLockResponse.php deleted file mode 100644 index bb065352..00000000 --- a/kiri-grpc-server/exp/User/UserUnLockResponse.php +++ /dev/null @@ -1,85 +0,0 @@ -user.UserUnLockResponse - */ -class UserUnLockResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field int64 code = 1; - */ - protected $code = 0; - /** - * Generated from protobuf field string message = 2; - */ - protected $message = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $code - * @type string $message - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\UserService::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field int64 code = 1; - * @return int|string - */ - public function getCode() - { - return $this->code; - } - - /** - * Generated from protobuf field int64 code = 1; - * @param int|string $var - * @return $this - */ - public function setCode($var) - { - GPBUtil::checkInt64($var); - $this->code = $var; - - return $this; - } - - /** - * Generated from protobuf field string message = 2; - * @return string - */ - public function getMessage() - { - return $this->message; - } - - /** - * Generated from protobuf field string message = 2; - * @param string $var - * @return $this - */ - public function setMessage($var) - { - GPBUtil::checkString($var, True); - $this->message = $var; - - return $this; - } - -} - diff --git a/kiri-grpc-server/src/GrpcServer.php b/kiri-grpc-server/src/GrpcServer.php deleted file mode 100644 index cd516d15..00000000 --- a/kiri-grpc-server/src/GrpcServer.php +++ /dev/null @@ -1,42 +0,0 @@ -