Files
kiri-core/kiri-grpc-server/exp/User/UserJwtCheckRequest.php
T
2022-06-17 19:00:56 +08:00

59 lines
1.2 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: user.service.proto
namespace User;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>user.UserJwtCheckRequest</code>
*/
class UserJwtCheckRequest extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>string token = 1;</code>
*/
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 <code>string token = 1;</code>
* @return string
*/
public function getToken()
{
return $this->token;
}
/**
* Generated from protobuf field <code>string token = 1;</code>
* @param string $var
* @return $this
*/
public function setToken($var)
{
GPBUtil::checkString($var, True);
$this->token = $var;
return $this;
}
}