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; } }