You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1524 lines
47 KiB
Go

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.33.0
// protoc v5.29.1
// source: w_user.proto
package w_userpb
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type LoginReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` //账号
Passwd string `protobuf:"bytes,2,opt,name=passwd,proto3" json:"passwd,omitempty"` //密码
Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` //授权码
}
func (x *LoginReq) Reset() {
*x = LoginReq{}
if protoimpl.UnsafeEnabled {
mi := &file_w_user_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LoginReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LoginReq) ProtoMessage() {}
func (x *LoginReq) ProtoReflect() protoreflect.Message {
mi := &file_w_user_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use LoginReq.ProtoReflect.Descriptor instead.
func (*LoginReq) Descriptor() ([]byte, []int) {
return file_w_user_proto_rawDescGZIP(), []int{0}
}
func (x *LoginReq) GetUsername() string {
if x != nil {
return x.Username
}
return ""
}
func (x *LoginReq) GetPasswd() string {
if x != nil {
return x.Passwd
}
return ""
}
func (x *LoginReq) GetCode() string {
if x != nil {
return x.Code
}
return ""
}
type LoginRes struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
IsAdmin bool `protobuf:"varint,1,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"` //是否超级管理员
Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` //用户id
HashId string `protobuf:"bytes,3,opt,name=hash_id,json=hashId,proto3" json:"hash_id,omitempty"` //用户对外id
CompanyId int64 `protobuf:"varint,4,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` //用户企业id
Token string `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"` //身份token
Expired int64 `protobuf:"varint,6,opt,name=expired,proto3" json:"expired,omitempty"` //token过期时间,单位:秒(s)
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` //显示的名称
Email string `protobuf:"bytes,8,opt,name=email,proto3" json:"email,omitempty"` //邮箱
Username string `protobuf:"bytes,9,opt,name=username,proto3" json:"username,omitempty"` //账号
RoleName string `protobuf:"bytes,10,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` //角色名称
}
func (x *LoginRes) Reset() {
*x = LoginRes{}
if protoimpl.UnsafeEnabled {
mi := &file_w_user_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LoginRes) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LoginRes) ProtoMessage() {}
func (x *LoginRes) ProtoReflect() protoreflect.Message {
mi := &file_w_user_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use LoginRes.ProtoReflect.Descriptor instead.
func (*LoginRes) Descriptor() ([]byte, []int) {
return file_w_user_proto_rawDescGZIP(), []int{1}
}
func (x *LoginRes) GetIsAdmin() bool {
if x != nil {
return x.IsAdmin
}
return false
}
func (x *LoginRes) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *LoginRes) GetHashId() string {
if x != nil {
return x.HashId
}
return ""
}
func (x *LoginRes) GetCompanyId() int64 {
if x != nil {
return x.CompanyId
}
return 0
}
func (x *LoginRes) GetToken() string {
if x != nil {
return x.Token
}
return ""
}
func (x *LoginRes) GetExpired() int64 {
if x != nil {
return x.Expired
}
return 0
}
func (x *LoginRes) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *LoginRes) GetEmail() string {
if x != nil {
return x.Email
}
return ""
}
func (x *LoginRes) GetUsername() string {
if x != nil {
return x.Username
}
return ""
}
func (x *LoginRes) GetRoleName() string {
if x != nil {
return x.RoleName
}
return ""
}
type ListReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CompanyId int64 `protobuf:"varint,1,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` //企业Id
Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` //当前页
PerPage int32 `protobuf:"varint,3,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"` //每页条数
}
func (x *ListReq) Reset() {
*x = ListReq{}
if protoimpl.UnsafeEnabled {
mi := &file_w_user_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListReq) ProtoMessage() {}
func (x *ListReq) ProtoReflect() protoreflect.Message {
mi := &file_w_user_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListReq.ProtoReflect.Descriptor instead.
func (*ListReq) Descriptor() ([]byte, []int) {
return file_w_user_proto_rawDescGZIP(), []int{2}
}
func (x *ListReq) GetCompanyId() int64 {
if x != nil {
return x.CompanyId
}
return 0
}
func (x *ListReq) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListReq) GetPerPage() int32 {
if x != nil {
return x.PerPage
}
return 0
}
type ListRes struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
List []*ListRes_One `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` //列表数据
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` //列表总数
}
func (x *ListRes) Reset() {
*x = ListRes{}
if protoimpl.UnsafeEnabled {
mi := &file_w_user_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListRes) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListRes) ProtoMessage() {}
func (x *ListRes) ProtoReflect() protoreflect.Message {
mi := &file_w_user_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListRes.ProtoReflect.Descriptor instead.
func (*ListRes) Descriptor() ([]byte, []int) {
return file_w_user_proto_rawDescGZIP(), []int{3}
}
func (x *ListRes) GetList() []*ListRes_One {
if x != nil {
return x.List
}
return nil
}
func (x *ListRes) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
type SelectReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CompanyId int64 `protobuf:"varint,1,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` //企业Id
}
func (x *SelectReq) Reset() {
*x = SelectReq{}
if protoimpl.UnsafeEnabled {
mi := &file_w_user_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SelectReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SelectReq) ProtoMessage() {}
func (x *SelectReq) ProtoReflect() protoreflect.Message {
mi := &file_w_user_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SelectReq.ProtoReflect.Descriptor instead.
func (*SelectReq) Descriptor() ([]byte, []int) {
return file_w_user_proto_rawDescGZIP(), []int{4}
}
func (x *SelectReq) GetCompanyId() int64 {
if x != nil {
return x.CompanyId
}
return 0
}
type SelectRes struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
List []*SelectRes_One `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` //列表数据
}
func (x *SelectRes) Reset() {
*x = SelectRes{}
if protoimpl.UnsafeEnabled {
mi := &file_w_user_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SelectRes) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SelectRes) ProtoMessage() {}
func (x *SelectRes) ProtoReflect() protoreflect.Message {
mi := &file_w_user_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SelectRes.ProtoReflect.Descriptor instead.
func (*SelectRes) Descriptor() ([]byte, []int) {
return file_w_user_proto_rawDescGZIP(), []int{5}
}
func (x *SelectRes) GetList() []*SelectRes_One {
if x != nil {
return x.List
}
return nil
}
type ShowReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //用户id
HashId string `protobuf:"bytes,2,opt,name=hash_id,json=hashId,proto3" json:"hash_id,omitempty"` //用户对外id
}
func (x *ShowReq) Reset() {
*x = ShowReq{}
if protoimpl.UnsafeEnabled {
mi := &file_w_user_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ShowReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ShowReq) ProtoMessage() {}
func (x *ShowReq) ProtoReflect() protoreflect.Message {
mi := &file_w_user_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ShowReq.ProtoReflect.Descriptor instead.
func (*ShowReq) Descriptor() ([]byte, []int) {
return file_w_user_proto_rawDescGZIP(), []int{6}
}
func (x *ShowReq) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *ShowReq) GetHashId() string {
if x != nil {
return x.HashId
}
return ""
}
type ShowRes struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //用户id
HashId string `protobuf:"bytes,2,opt,name=hash_id,json=hashId,proto3" json:"hash_id,omitempty"` //用户对外id
ShowName string `protobuf:"bytes,3,opt,name=show_name,json=showName,proto3" json:"show_name,omitempty"` //列表总数
Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` //用户名
Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` //用户邮箱
IsAdmin bool `protobuf:"varint,6,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"` //是否超级管理员
}
func (x *ShowRes) Reset() {
*x = ShowRes{}
if protoimpl.UnsafeEnabled {
mi := &file_w_user_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ShowRes) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ShowRes) ProtoMessage() {}
func (x *ShowRes) ProtoReflect() protoreflect.Message {
mi := &file_w_user_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ShowRes.ProtoReflect.Descriptor instead.
func (*ShowRes) Descriptor() ([]byte, []int) {
return file_w_user_proto_rawDescGZIP(), []int{7}
}
func (x *ShowRes) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *ShowRes) GetHashId() string {
if x != nil {
return x.HashId
}
return ""
}
func (x *ShowRes) GetShowName() string {
if x != nil {
return x.ShowName
}
return ""
}
func (x *ShowRes) GetUsername() string {
if x != nil {
return x.Username
}
return ""
}
func (x *ShowRes) GetEmail() string {
if x != nil {
return x.Email
}
return ""
}
func (x *ShowRes) GetIsAdmin() bool {
if x != nil {
return x.IsAdmin
}
return false
}
type StoreReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CompanyId int64 `protobuf:"varint,1,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` //企业ID
ShowName string `protobuf:"bytes,2,opt,name=show_name,json=showName,proto3" json:"show_name,omitempty"` //显示名称
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` //用户名
Passwd string `protobuf:"bytes,4,opt,name=passwd,proto3" json:"passwd,omitempty"` //用户密码
Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` //用户邮箱
ProjectHashIds []string `protobuf:"bytes,6,rep,name=project_hash_ids,json=projectHashIds,proto3" json:"project_hash_ids,omitempty"` //项目hash_id
}
func (x *StoreReq) Reset() {
*x = StoreReq{}
if protoimpl.UnsafeEnabled {
mi := &file_w_user_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *StoreReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StoreReq) ProtoMessage() {}
func (x *StoreReq) ProtoReflect() protoreflect.Message {
mi := &file_w_user_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use StoreReq.ProtoReflect.Descriptor instead.
func (*StoreReq) Descriptor() ([]byte, []int) {
return file_w_user_proto_rawDescGZIP(), []int{8}
}
func (x *StoreReq) GetCompanyId() int64 {
if x != nil {
return x.CompanyId
}
return 0
}
func (x *StoreReq) GetShowName() string {
if x != nil {
return x.ShowName
}
return ""
}
func (x *StoreReq) GetUsername() string {
if x != nil {
return x.Username
}
return ""
}
func (x *StoreReq) GetPasswd() string {
if x != nil {
return x.Passwd
}
return ""
}
func (x *StoreReq) GetEmail() string {
if x != nil {
return x.Email
}
return ""
}
func (x *StoreReq) GetProjectHashIds() []string {
if x != nil {
return x.ProjectHashIds
}
return nil
}
type StoreRes struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *StoreRes) Reset() {
*x = StoreRes{}
if protoimpl.UnsafeEnabled {
mi := &file_w_user_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *StoreRes) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StoreRes) ProtoMessage() {}
func (x *StoreRes) ProtoReflect() protoreflect.Message {
mi := &file_w_user_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use StoreRes.ProtoReflect.Descriptor instead.
func (*StoreRes) Descriptor() ([]byte, []int) {
return file_w_user_proto_rawDescGZIP(), []int{9}
}
type UpdateReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //用户id
HashId string `protobuf:"bytes,2,opt,name=hash_id,json=hashId,proto3" json:"hash_id,omitempty"` //用户对外id
ShowName string `protobuf:"bytes,3,opt,name=show_name,json=showName,proto3" json:"show_name,omitempty"` //显示名称
Passwd string `protobuf:"bytes,4,opt,name=passwd,proto3" json:"passwd,omitempty"` //用户密码
}
func (x *UpdateReq) Reset() {
*x = UpdateReq{}
if protoimpl.UnsafeEnabled {
mi := &file_w_user_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateReq) ProtoMessage() {}
func (x *UpdateReq) ProtoReflect() protoreflect.Message {
mi := &file_w_user_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateReq.ProtoReflect.Descriptor instead.
func (*UpdateReq) Descriptor() ([]byte, []int) {
return file_w_user_proto_rawDescGZIP(), []int{10}
}
func (x *UpdateReq) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *UpdateReq) GetHashId() string {
if x != nil {
return x.HashId
}
return ""
}
func (x *UpdateReq) GetShowName() string {
if x != nil {
return x.ShowName
}
return ""
}
func (x *UpdateReq) GetPasswd() string {
if x != nil {
return x.Passwd
}
return ""
}
type UpdateRes struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *UpdateRes) Reset() {
*x = UpdateRes{}
if protoimpl.UnsafeEnabled {
mi := &file_w_user_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateRes) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateRes) ProtoMessage() {}
func (x *UpdateRes) ProtoReflect() protoreflect.Message {
mi := &file_w_user_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateRes.ProtoReflect.Descriptor instead.
func (*UpdateRes) Descriptor() ([]byte, []int) {
return file_w_user_proto_rawDescGZIP(), []int{11}
}
type DestroyReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //用户id
HashId string `protobuf:"bytes,2,opt,name=hash_id,json=hashId,proto3" json:"hash_id,omitempty"` //用户对外id
}
func (x *DestroyReq) Reset() {
*x = DestroyReq{}
if protoimpl.UnsafeEnabled {
mi := &file_w_user_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DestroyReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DestroyReq) ProtoMessage() {}
func (x *DestroyReq) ProtoReflect() protoreflect.Message {
mi := &file_w_user_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DestroyReq.ProtoReflect.Descriptor instead.
func (*DestroyReq) Descriptor() ([]byte, []int) {
return file_w_user_proto_rawDescGZIP(), []int{12}
}
func (x *DestroyReq) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *DestroyReq) GetHashId() string {
if x != nil {
return x.HashId
}
return ""
}
type DestroyRes struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *DestroyRes) Reset() {
*x = DestroyRes{}
if protoimpl.UnsafeEnabled {
mi := &file_w_user_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DestroyRes) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DestroyRes) ProtoMessage() {}
func (x *DestroyRes) ProtoReflect() protoreflect.Message {
mi := &file_w_user_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DestroyRes.ProtoReflect.Descriptor instead.
func (*DestroyRes) Descriptor() ([]byte, []int) {
return file_w_user_proto_rawDescGZIP(), []int{13}
}
type ListRes_One struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //用户id
HashId string `protobuf:"bytes,2,opt,name=hash_id,json=hashId,proto3" json:"hash_id,omitempty"` //用户对外id
ShowName string `protobuf:"bytes,3,opt,name=show_name,json=showName,proto3" json:"show_name,omitempty"` //列表总数
Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` //用户名
Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` //用户邮箱
RoleName string `protobuf:"bytes,6,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` //用户角色
Projects []*ListRes_Project `protobuf:"bytes,7,rep,name=projects,proto3" json:"projects,omitempty"` //用户关联项目
}
func (x *ListRes_One) Reset() {
*x = ListRes_One{}
if protoimpl.UnsafeEnabled {
mi := &file_w_user_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListRes_One) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListRes_One) ProtoMessage() {}
func (x *ListRes_One) ProtoReflect() protoreflect.Message {
mi := &file_w_user_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListRes_One.ProtoReflect.Descriptor instead.
func (*ListRes_One) Descriptor() ([]byte, []int) {
return file_w_user_proto_rawDescGZIP(), []int{3, 0}
}
func (x *ListRes_One) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *ListRes_One) GetHashId() string {
if x != nil {
return x.HashId
}
return ""
}
func (x *ListRes_One) GetShowName() string {
if x != nil {
return x.ShowName
}
return ""
}
func (x *ListRes_One) GetUsername() string {
if x != nil {
return x.Username
}
return ""
}
func (x *ListRes_One) GetEmail() string {
if x != nil {
return x.Email
}
return ""
}
func (x *ListRes_One) GetRoleName() string {
if x != nil {
return x.RoleName
}
return ""
}
func (x *ListRes_One) GetProjects() []*ListRes_Project {
if x != nil {
return x.Projects
}
return nil
}
type ListRes_Project struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //项目id
HashId string `protobuf:"bytes,2,opt,name=hash_id,json=hashId,proto3" json:"hash_id,omitempty"` //对外项目id
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` //项目名称
}
func (x *ListRes_Project) Reset() {
*x = ListRes_Project{}
if protoimpl.UnsafeEnabled {
mi := &file_w_user_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListRes_Project) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListRes_Project) ProtoMessage() {}
func (x *ListRes_Project) ProtoReflect() protoreflect.Message {
mi := &file_w_user_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListRes_Project.ProtoReflect.Descriptor instead.
func (*ListRes_Project) Descriptor() ([]byte, []int) {
return file_w_user_proto_rawDescGZIP(), []int{3, 1}
}
func (x *ListRes_Project) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *ListRes_Project) GetHashId() string {
if x != nil {
return x.HashId
}
return ""
}
func (x *ListRes_Project) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
type SelectRes_One struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //用户id
HashId string `protobuf:"bytes,2,opt,name=hash_id,json=hashId,proto3" json:"hash_id,omitempty"` //用户对外id
ShowName string `protobuf:"bytes,3,opt,name=show_name,json=showName,proto3" json:"show_name,omitempty"` //列表总数
}
func (x *SelectRes_One) Reset() {
*x = SelectRes_One{}
if protoimpl.UnsafeEnabled {
mi := &file_w_user_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SelectRes_One) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SelectRes_One) ProtoMessage() {}
func (x *SelectRes_One) ProtoReflect() protoreflect.Message {
mi := &file_w_user_proto_msgTypes[16]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SelectRes_One.ProtoReflect.Descriptor instead.
func (*SelectRes_One) Descriptor() ([]byte, []int) {
return file_w_user_proto_rawDescGZIP(), []int{5, 0}
}
func (x *SelectRes_One) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *SelectRes_One) GetHashId() string {
if x != nil {
return x.HashId
}
return ""
}
func (x *SelectRes_One) GetShowName() string {
if x != nil {
return x.ShowName
}
return ""
}
var File_w_user_proto protoreflect.FileDescriptor
var file_w_user_proto_rawDesc = []byte{
0x0a, 0x0c, 0x77, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08,
0x77, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x62, 0x22, 0x52, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x69,
0x6e, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65,
0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x73, 0x73, 0x77, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x06, 0x70, 0x61, 0x73, 0x73, 0x77, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x80, 0x02, 0x0a,
0x08, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f,
0x61, 0x64, 0x6d, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x41,
0x64, 0x6d, 0x69, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x69, 0x64, 0x18,
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x61, 0x73, 0x68, 0x49, 0x64, 0x12, 0x1d, 0x0a,
0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
0x03, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05,
0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b,
0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x18, 0x06, 0x20,
0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04,
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61,
0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22,
0x57, 0x0a, 0x07, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f,
0x6d, 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x19, 0x0a,
0x08, 0x70, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
0x07, 0x70, 0x65, 0x72, 0x50, 0x61, 0x67, 0x65, 0x22, 0xe8, 0x02, 0x0a, 0x07, 0x4c, 0x69, 0x73,
0x74, 0x52, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x15, 0x2e, 0x77, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x62, 0x2e, 0x4c, 0x69,
0x73, 0x74, 0x52, 0x65, 0x73, 0x2e, 0x4f, 0x6e, 0x65, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x12,
0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
0x74, 0x6f, 0x74, 0x61, 0x6c, 0x1a, 0xd1, 0x01, 0x0a, 0x03, 0x4f, 0x6e, 0x65, 0x12, 0x0e, 0x0a,
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a,
0x07, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
0x68, 0x61, 0x73, 0x68, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x6e,
0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x68, 0x6f, 0x77, 0x4e,
0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18,
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12,
0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x4e, 0x61,
0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x07,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x77, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x62, 0x2e,
0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52,
0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x1a, 0x48, 0x0a, 0x07, 0x50, 0x72, 0x6f,
0x6a, 0x65, 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x69, 0x64, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x61, 0x73, 0x68, 0x49, 0x64, 0x12, 0x14, 0x0a,
0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69,
0x74, 0x6c, 0x65, 0x22, 0x2a, 0x0a, 0x09, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71,
0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x49, 0x64, 0x22,
0x85, 0x01, 0x0a, 0x09, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x12, 0x2b, 0x0a,
0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x77, 0x5f,
0x75, 0x73, 0x65, 0x72, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73,
0x2e, 0x4f, 0x6e, 0x65, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x1a, 0x4b, 0x0a, 0x03, 0x4f, 0x6e,
0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69,
0x64, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x06, 0x68, 0x61, 0x73, 0x68, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x68,
0x6f, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73,
0x68, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x32, 0x0a, 0x07, 0x53, 0x68, 0x6f, 0x77, 0x52,
0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02,
0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x61, 0x73, 0x68, 0x49, 0x64, 0x22, 0x9c, 0x01, 0x0a, 0x07,
0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x61, 0x73, 0x68, 0x5f,
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x61, 0x73, 0x68, 0x49, 0x64,
0x12, 0x1b, 0x0a, 0x09, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a,
0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61,
0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12,
0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28,
0x08, 0x52, 0x07, 0x69, 0x73, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x22, 0xba, 0x01, 0x0a, 0x08, 0x53,
0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61,
0x6e, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6f, 0x6d,
0x70, 0x61, 0x6e, 0x79, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x6e,
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x68, 0x6f, 0x77, 0x4e,
0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18,
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12,
0x16, 0x0a, 0x06, 0x70, 0x61, 0x73, 0x73, 0x77, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
0x06, 0x70, 0x61, 0x73, 0x73, 0x77, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c,
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x28, 0x0a,
0x10, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x69, 0x64,
0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
0x48, 0x61, 0x73, 0x68, 0x49, 0x64, 0x73, 0x22, 0x0a, 0x0a, 0x08, 0x53, 0x74, 0x6f, 0x72, 0x65,
0x52, 0x65, 0x73, 0x22, 0x69, 0x0a, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71,
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64,
0x12, 0x17, 0x0a, 0x07, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x06, 0x68, 0x61, 0x73, 0x68, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x68, 0x6f,
0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x68,
0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x73, 0x73, 0x77, 0x64,
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x73, 0x73, 0x77, 0x64, 0x22, 0x0b,
0x0a, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x22, 0x35, 0x0a, 0x0a, 0x44,
0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x61, 0x73,
0x68, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x61, 0x73, 0x68,
0x49, 0x64, 0x22, 0x0c, 0x0a, 0x0a, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x52, 0x65, 0x73,
0x32, 0xf2, 0x02, 0x0a, 0x05, 0x57, 0x55, 0x73, 0x65, 0x72, 0x12, 0x31, 0x0a, 0x05, 0x4c, 0x6f,
0x67, 0x69, 0x6e, 0x12, 0x12, 0x2e, 0x77, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x62, 0x2e, 0x4c,
0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x77, 0x5f, 0x75, 0x73, 0x65, 0x72,
0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x2e, 0x0a,
0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x11, 0x2e, 0x77, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x62,
0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x77, 0x5f, 0x75, 0x73, 0x65,
0x72, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x34, 0x0a,
0x06, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x12, 0x13, 0x2e, 0x77, 0x5f, 0x75, 0x73, 0x65, 0x72,
0x70, 0x62, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x13, 0x2e, 0x77,
0x5f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x65,
0x73, 0x22, 0x00, 0x12, 0x2e, 0x0a, 0x04, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x11, 0x2e, 0x77, 0x5f,
0x75, 0x73, 0x65, 0x72, 0x70, 0x62, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x1a, 0x11,
0x2e, 0x77, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x62, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x65,
0x73, 0x22, 0x00, 0x12, 0x31, 0x0a, 0x05, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x12, 0x2e, 0x77,
0x5f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x71,
0x1a, 0x12, 0x2e, 0x77, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x72,
0x65, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x34, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
0x12, 0x13, 0x2e, 0x77, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61,
0x74, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x13, 0x2e, 0x77, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x62,
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x07,
0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x12, 0x14, 0x2e, 0x77, 0x5f, 0x75, 0x73, 0x65, 0x72,
0x70, 0x62, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e,
0x77, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79,
0x52, 0x65, 0x73, 0x22, 0x00, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x77, 0x5f, 0x75, 0x73,
0x65, 0x72, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_w_user_proto_rawDescOnce sync.Once
file_w_user_proto_rawDescData = file_w_user_proto_rawDesc
)
func file_w_user_proto_rawDescGZIP() []byte {
file_w_user_proto_rawDescOnce.Do(func() {
file_w_user_proto_rawDescData = protoimpl.X.CompressGZIP(file_w_user_proto_rawDescData)
})
return file_w_user_proto_rawDescData
}
var file_w_user_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
var file_w_user_proto_goTypes = []interface{}{
(*LoginReq)(nil), // 0: w_userpb.LoginReq
(*LoginRes)(nil), // 1: w_userpb.LoginRes
(*ListReq)(nil), // 2: w_userpb.ListReq
(*ListRes)(nil), // 3: w_userpb.ListRes
(*SelectReq)(nil), // 4: w_userpb.SelectReq
(*SelectRes)(nil), // 5: w_userpb.SelectRes
(*ShowReq)(nil), // 6: w_userpb.ShowReq
(*ShowRes)(nil), // 7: w_userpb.ShowRes
(*StoreReq)(nil), // 8: w_userpb.StoreReq
(*StoreRes)(nil), // 9: w_userpb.StoreRes
(*UpdateReq)(nil), // 10: w_userpb.UpdateReq
(*UpdateRes)(nil), // 11: w_userpb.UpdateRes
(*DestroyReq)(nil), // 12: w_userpb.DestroyReq
(*DestroyRes)(nil), // 13: w_userpb.DestroyRes
(*ListRes_One)(nil), // 14: w_userpb.ListRes.One
(*ListRes_Project)(nil), // 15: w_userpb.ListRes.Project
(*SelectRes_One)(nil), // 16: w_userpb.SelectRes.One
}
var file_w_user_proto_depIdxs = []int32{
14, // 0: w_userpb.ListRes.list:type_name -> w_userpb.ListRes.One
16, // 1: w_userpb.SelectRes.list:type_name -> w_userpb.SelectRes.One
15, // 2: w_userpb.ListRes.One.projects:type_name -> w_userpb.ListRes.Project
0, // 3: w_userpb.WUser.Login:input_type -> w_userpb.LoginReq
2, // 4: w_userpb.WUser.List:input_type -> w_userpb.ListReq
4, // 5: w_userpb.WUser.Select:input_type -> w_userpb.SelectReq
6, // 6: w_userpb.WUser.Show:input_type -> w_userpb.ShowReq
8, // 7: w_userpb.WUser.Store:input_type -> w_userpb.StoreReq
10, // 8: w_userpb.WUser.Update:input_type -> w_userpb.UpdateReq
12, // 9: w_userpb.WUser.Destroy:input_type -> w_userpb.DestroyReq
1, // 10: w_userpb.WUser.Login:output_type -> w_userpb.LoginRes
3, // 11: w_userpb.WUser.List:output_type -> w_userpb.ListRes
5, // 12: w_userpb.WUser.Select:output_type -> w_userpb.SelectRes
7, // 13: w_userpb.WUser.Show:output_type -> w_userpb.ShowRes
9, // 14: w_userpb.WUser.Store:output_type -> w_userpb.StoreRes
11, // 15: w_userpb.WUser.Update:output_type -> w_userpb.UpdateRes
13, // 16: w_userpb.WUser.Destroy:output_type -> w_userpb.DestroyRes
10, // [10:17] is the sub-list for method output_type
3, // [3:10] is the sub-list for method input_type
3, // [3:3] is the sub-list for extension type_name
3, // [3:3] is the sub-list for extension extendee
0, // [0:3] is the sub-list for field type_name
}
func init() { file_w_user_proto_init() }
func file_w_user_proto_init() {
if File_w_user_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_w_user_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LoginReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_w_user_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LoginRes); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_w_user_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_w_user_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListRes); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_w_user_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SelectReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_w_user_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SelectRes); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_w_user_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ShowReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_w_user_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ShowRes); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_w_user_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StoreReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_w_user_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StoreRes); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_w_user_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_w_user_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateRes); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_w_user_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DestroyReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_w_user_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DestroyRes); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_w_user_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListRes_One); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_w_user_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListRes_Project); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_w_user_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SelectRes_One); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_w_user_proto_rawDesc,
NumEnums: 0,
NumMessages: 17,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_w_user_proto_goTypes,
DependencyIndexes: file_w_user_proto_depIdxs,
MessageInfos: file_w_user_proto_msgTypes,
}.Build()
File_w_user_proto = out.File
file_w_user_proto_rawDesc = nil
file_w_user_proto_goTypes = nil
file_w_user_proto_depIdxs = nil
}