// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v6.33.4 // source: pb/perm.proto package pb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) 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 PermItem struct { state protoimpl.MessageState `protogen:"open.v1"` Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PermItem) Reset() { *x = PermItem{} mi := &file_pb_perm_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PermItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*PermItem) ProtoMessage() {} func (x *PermItem) ProtoReflect() protoreflect.Message { mi := &file_pb_perm_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PermItem.ProtoReflect.Descriptor instead. func (*PermItem) Descriptor() ([]byte, []int) { return file_pb_perm_proto_rawDescGZIP(), []int{0} } func (x *PermItem) GetCode() string { if x != nil { return x.Code } return "" } func (x *PermItem) GetName() string { if x != nil { return x.Name } return "" } func (x *PermItem) GetRemark() string { if x != nil { return x.Remark } return "" } type SyncPermissionsReq struct { state protoimpl.MessageState `protogen:"open.v1"` AppKey string `protobuf:"bytes,1,opt,name=appKey,proto3" json:"appKey,omitempty"` AppSecret string `protobuf:"bytes,2,opt,name=appSecret,proto3" json:"appSecret,omitempty"` Perms []*PermItem `protobuf:"bytes,3,rep,name=perms,proto3" json:"perms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SyncPermissionsReq) Reset() { *x = SyncPermissionsReq{} mi := &file_pb_perm_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SyncPermissionsReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*SyncPermissionsReq) ProtoMessage() {} func (x *SyncPermissionsReq) ProtoReflect() protoreflect.Message { mi := &file_pb_perm_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SyncPermissionsReq.ProtoReflect.Descriptor instead. func (*SyncPermissionsReq) Descriptor() ([]byte, []int) { return file_pb_perm_proto_rawDescGZIP(), []int{1} } func (x *SyncPermissionsReq) GetAppKey() string { if x != nil { return x.AppKey } return "" } func (x *SyncPermissionsReq) GetAppSecret() string { if x != nil { return x.AppSecret } return "" } func (x *SyncPermissionsReq) GetPerms() []*PermItem { if x != nil { return x.Perms } return nil } type SyncPermissionsResp struct { state protoimpl.MessageState `protogen:"open.v1"` Added int64 `protobuf:"varint,1,opt,name=added,proto3" json:"added,omitempty"` Updated int64 `protobuf:"varint,2,opt,name=updated,proto3" json:"updated,omitempty"` Disabled int64 `protobuf:"varint,3,opt,name=disabled,proto3" json:"disabled,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SyncPermissionsResp) Reset() { *x = SyncPermissionsResp{} mi := &file_pb_perm_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SyncPermissionsResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*SyncPermissionsResp) ProtoMessage() {} func (x *SyncPermissionsResp) ProtoReflect() protoreflect.Message { mi := &file_pb_perm_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SyncPermissionsResp.ProtoReflect.Descriptor instead. func (*SyncPermissionsResp) Descriptor() ([]byte, []int) { return file_pb_perm_proto_rawDescGZIP(), []int{2} } func (x *SyncPermissionsResp) GetAdded() int64 { if x != nil { return x.Added } return 0 } func (x *SyncPermissionsResp) GetUpdated() int64 { if x != nil { return x.Updated } return 0 } func (x *SyncPermissionsResp) GetDisabled() int64 { if x != nil { return x.Disabled } return 0 } type LoginReq struct { state protoimpl.MessageState `protogen:"open.v1"` ProductCode string `protobuf:"bytes,1,opt,name=productCode,proto3" json:"productCode,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LoginReq) Reset() { *x = LoginReq{} mi := &file_pb_perm_proto_msgTypes[3] 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_pb_perm_proto_msgTypes[3] if 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_pb_perm_proto_rawDescGZIP(), []int{3} } func (x *LoginReq) GetProductCode() string { if x != nil { return x.ProductCode } return "" } func (x *LoginReq) GetUsername() string { if x != nil { return x.Username } return "" } func (x *LoginReq) GetPassword() string { if x != nil { return x.Password } return "" } type LoginResp struct { state protoimpl.MessageState `protogen:"open.v1"` AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` RefreshToken string `protobuf:"bytes,2,opt,name=refreshToken,proto3" json:"refreshToken,omitempty"` Expires int64 `protobuf:"varint,3,opt,name=expires,proto3" json:"expires,omitempty"` UserId int64 `protobuf:"varint,4,opt,name=userId,proto3" json:"userId,omitempty"` Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"` Nickname string `protobuf:"bytes,6,opt,name=nickname,proto3" json:"nickname,omitempty"` MemberType string `protobuf:"bytes,7,opt,name=memberType,proto3" json:"memberType,omitempty"` Perms []string `protobuf:"bytes,8,rep,name=perms,proto3" json:"perms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LoginResp) Reset() { *x = LoginResp{} mi := &file_pb_perm_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LoginResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*LoginResp) ProtoMessage() {} func (x *LoginResp) ProtoReflect() protoreflect.Message { mi := &file_pb_perm_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use LoginResp.ProtoReflect.Descriptor instead. func (*LoginResp) Descriptor() ([]byte, []int) { return file_pb_perm_proto_rawDescGZIP(), []int{4} } func (x *LoginResp) GetAccessToken() string { if x != nil { return x.AccessToken } return "" } func (x *LoginResp) GetRefreshToken() string { if x != nil { return x.RefreshToken } return "" } func (x *LoginResp) GetExpires() int64 { if x != nil { return x.Expires } return 0 } func (x *LoginResp) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *LoginResp) GetUsername() string { if x != nil { return x.Username } return "" } func (x *LoginResp) GetNickname() string { if x != nil { return x.Nickname } return "" } func (x *LoginResp) GetMemberType() string { if x != nil { return x.MemberType } return "" } func (x *LoginResp) GetPerms() []string { if x != nil { return x.Perms } return nil } type RefreshTokenReq struct { state protoimpl.MessageState `protogen:"open.v1"` RefreshToken string `protobuf:"bytes,1,opt,name=refreshToken,proto3" json:"refreshToken,omitempty"` ProductCode string `protobuf:"bytes,2,opt,name=productCode,proto3" json:"productCode,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RefreshTokenReq) Reset() { *x = RefreshTokenReq{} mi := &file_pb_perm_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RefreshTokenReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*RefreshTokenReq) ProtoMessage() {} func (x *RefreshTokenReq) ProtoReflect() protoreflect.Message { mi := &file_pb_perm_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RefreshTokenReq.ProtoReflect.Descriptor instead. func (*RefreshTokenReq) Descriptor() ([]byte, []int) { return file_pb_perm_proto_rawDescGZIP(), []int{5} } func (x *RefreshTokenReq) GetRefreshToken() string { if x != nil { return x.RefreshToken } return "" } func (x *RefreshTokenReq) GetProductCode() string { if x != nil { return x.ProductCode } return "" } type RefreshTokenResp struct { state protoimpl.MessageState `protogen:"open.v1"` AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` RefreshToken string `protobuf:"bytes,2,opt,name=refreshToken,proto3" json:"refreshToken,omitempty"` Expires int64 `protobuf:"varint,3,opt,name=expires,proto3" json:"expires,omitempty"` Perms []string `protobuf:"bytes,4,rep,name=perms,proto3" json:"perms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RefreshTokenResp) Reset() { *x = RefreshTokenResp{} mi := &file_pb_perm_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RefreshTokenResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*RefreshTokenResp) ProtoMessage() {} func (x *RefreshTokenResp) ProtoReflect() protoreflect.Message { mi := &file_pb_perm_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RefreshTokenResp.ProtoReflect.Descriptor instead. func (*RefreshTokenResp) Descriptor() ([]byte, []int) { return file_pb_perm_proto_rawDescGZIP(), []int{6} } func (x *RefreshTokenResp) GetAccessToken() string { if x != nil { return x.AccessToken } return "" } func (x *RefreshTokenResp) GetRefreshToken() string { if x != nil { return x.RefreshToken } return "" } func (x *RefreshTokenResp) GetExpires() int64 { if x != nil { return x.Expires } return 0 } func (x *RefreshTokenResp) GetPerms() []string { if x != nil { return x.Perms } return nil } type VerifyTokenReq struct { state protoimpl.MessageState `protogen:"open.v1"` AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *VerifyTokenReq) Reset() { *x = VerifyTokenReq{} mi := &file_pb_perm_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *VerifyTokenReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*VerifyTokenReq) ProtoMessage() {} func (x *VerifyTokenReq) ProtoReflect() protoreflect.Message { mi := &file_pb_perm_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use VerifyTokenReq.ProtoReflect.Descriptor instead. func (*VerifyTokenReq) Descriptor() ([]byte, []int) { return file_pb_perm_proto_rawDescGZIP(), []int{7} } func (x *VerifyTokenReq) GetAccessToken() string { if x != nil { return x.AccessToken } return "" } type VerifyTokenResp struct { state protoimpl.MessageState `protogen:"open.v1"` Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` ProductCode string `protobuf:"bytes,4,opt,name=productCode,proto3" json:"productCode,omitempty"` MemberType string `protobuf:"bytes,5,opt,name=memberType,proto3" json:"memberType,omitempty"` Perms []string `protobuf:"bytes,6,rep,name=perms,proto3" json:"perms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *VerifyTokenResp) Reset() { *x = VerifyTokenResp{} mi := &file_pb_perm_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *VerifyTokenResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*VerifyTokenResp) ProtoMessage() {} func (x *VerifyTokenResp) ProtoReflect() protoreflect.Message { mi := &file_pb_perm_proto_msgTypes[8] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use VerifyTokenResp.ProtoReflect.Descriptor instead. func (*VerifyTokenResp) Descriptor() ([]byte, []int) { return file_pb_perm_proto_rawDescGZIP(), []int{8} } func (x *VerifyTokenResp) GetValid() bool { if x != nil { return x.Valid } return false } func (x *VerifyTokenResp) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *VerifyTokenResp) GetUsername() string { if x != nil { return x.Username } return "" } func (x *VerifyTokenResp) GetProductCode() string { if x != nil { return x.ProductCode } return "" } func (x *VerifyTokenResp) GetMemberType() string { if x != nil { return x.MemberType } return "" } func (x *VerifyTokenResp) GetPerms() []string { if x != nil { return x.Perms } return nil } type GetUserPermsReq struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` ProductCode string `protobuf:"bytes,2,opt,name=productCode,proto3" json:"productCode,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetUserPermsReq) Reset() { *x = GetUserPermsReq{} mi := &file_pb_perm_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetUserPermsReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetUserPermsReq) ProtoMessage() {} func (x *GetUserPermsReq) ProtoReflect() protoreflect.Message { mi := &file_pb_perm_proto_msgTypes[9] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetUserPermsReq.ProtoReflect.Descriptor instead. func (*GetUserPermsReq) Descriptor() ([]byte, []int) { return file_pb_perm_proto_rawDescGZIP(), []int{9} } func (x *GetUserPermsReq) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *GetUserPermsReq) GetProductCode() string { if x != nil { return x.ProductCode } return "" } type GetUserPermsResp struct { state protoimpl.MessageState `protogen:"open.v1"` Perms []string `protobuf:"bytes,1,rep,name=perms,proto3" json:"perms,omitempty"` MemberType string `protobuf:"bytes,2,opt,name=memberType,proto3" json:"memberType,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetUserPermsResp) Reset() { *x = GetUserPermsResp{} mi := &file_pb_perm_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetUserPermsResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetUserPermsResp) ProtoMessage() {} func (x *GetUserPermsResp) ProtoReflect() protoreflect.Message { mi := &file_pb_perm_proto_msgTypes[10] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetUserPermsResp.ProtoReflect.Descriptor instead. func (*GetUserPermsResp) Descriptor() ([]byte, []int) { return file_pb_perm_proto_rawDescGZIP(), []int{10} } func (x *GetUserPermsResp) GetPerms() []string { if x != nil { return x.Perms } return nil } func (x *GetUserPermsResp) GetMemberType() string { if x != nil { return x.MemberType } return "" } var File_pb_perm_proto protoreflect.FileDescriptor const file_pb_perm_proto_rawDesc = "" + "\n" + "\rpb/perm.proto\x12\x02pb\"J\n" + "\bPermItem\x12\x12\n" + "\x04code\x18\x01 \x01(\tR\x04code\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n" + "\x06remark\x18\x03 \x01(\tR\x06remark\"n\n" + "\x12SyncPermissionsReq\x12\x16\n" + "\x06appKey\x18\x01 \x01(\tR\x06appKey\x12\x1c\n" + "\tappSecret\x18\x02 \x01(\tR\tappSecret\x12\"\n" + "\x05perms\x18\x03 \x03(\v2\f.pb.PermItemR\x05perms\"a\n" + "\x13SyncPermissionsResp\x12\x14\n" + "\x05added\x18\x01 \x01(\x03R\x05added\x12\x18\n" + "\aupdated\x18\x02 \x01(\x03R\aupdated\x12\x1a\n" + "\bdisabled\x18\x03 \x01(\x03R\bdisabled\"d\n" + "\bLoginReq\x12 \n" + "\vproductCode\x18\x01 \x01(\tR\vproductCode\x12\x1a\n" + "\busername\x18\x02 \x01(\tR\busername\x12\x1a\n" + "\bpassword\x18\x03 \x01(\tR\bpassword\"\xf1\x01\n" + "\tLoginResp\x12 \n" + "\vaccessToken\x18\x01 \x01(\tR\vaccessToken\x12\"\n" + "\frefreshToken\x18\x02 \x01(\tR\frefreshToken\x12\x18\n" + "\aexpires\x18\x03 \x01(\x03R\aexpires\x12\x16\n" + "\x06userId\x18\x04 \x01(\x03R\x06userId\x12\x1a\n" + "\busername\x18\x05 \x01(\tR\busername\x12\x1a\n" + "\bnickname\x18\x06 \x01(\tR\bnickname\x12\x1e\n" + "\n" + "memberType\x18\a \x01(\tR\n" + "memberType\x12\x14\n" + "\x05perms\x18\b \x03(\tR\x05perms\"W\n" + "\x0fRefreshTokenReq\x12\"\n" + "\frefreshToken\x18\x01 \x01(\tR\frefreshToken\x12 \n" + "\vproductCode\x18\x02 \x01(\tR\vproductCode\"\x88\x01\n" + "\x10RefreshTokenResp\x12 \n" + "\vaccessToken\x18\x01 \x01(\tR\vaccessToken\x12\"\n" + "\frefreshToken\x18\x02 \x01(\tR\frefreshToken\x12\x18\n" + "\aexpires\x18\x03 \x01(\x03R\aexpires\x12\x14\n" + "\x05perms\x18\x04 \x03(\tR\x05perms\"2\n" + "\x0eVerifyTokenReq\x12 \n" + "\vaccessToken\x18\x01 \x01(\tR\vaccessToken\"\xb3\x01\n" + "\x0fVerifyTokenResp\x12\x14\n" + "\x05valid\x18\x01 \x01(\bR\x05valid\x12\x16\n" + "\x06userId\x18\x02 \x01(\x03R\x06userId\x12\x1a\n" + "\busername\x18\x03 \x01(\tR\busername\x12 \n" + "\vproductCode\x18\x04 \x01(\tR\vproductCode\x12\x1e\n" + "\n" + "memberType\x18\x05 \x01(\tR\n" + "memberType\x12\x14\n" + "\x05perms\x18\x06 \x03(\tR\x05perms\"K\n" + "\x0fGetUserPermsReq\x12\x16\n" + "\x06userId\x18\x01 \x01(\x03R\x06userId\x12 \n" + "\vproductCode\x18\x02 \x01(\tR\vproductCode\"H\n" + "\x10GetUserPermsResp\x12\x14\n" + "\x05perms\x18\x01 \x03(\tR\x05perms\x12\x1e\n" + "\n" + "memberType\x18\x02 \x01(\tR\n" + "memberType2\xa5\x02\n" + "\vPermService\x12B\n" + "\x0fSyncPermissions\x12\x16.pb.SyncPermissionsReq\x1a\x17.pb.SyncPermissionsResp\x12$\n" + "\x05Login\x12\f.pb.LoginReq\x1a\r.pb.LoginResp\x129\n" + "\fRefreshToken\x12\x13.pb.RefreshTokenReq\x1a\x14.pb.RefreshTokenResp\x126\n" + "\vVerifyToken\x12\x12.pb.VerifyTokenReq\x1a\x13.pb.VerifyTokenResp\x129\n" + "\fGetUserPerms\x12\x13.pb.GetUserPermsReq\x1a\x14.pb.GetUserPermsRespB\x18Z\x16perms-system-server/pbb\x06proto3" var ( file_pb_perm_proto_rawDescOnce sync.Once file_pb_perm_proto_rawDescData []byte ) func file_pb_perm_proto_rawDescGZIP() []byte { file_pb_perm_proto_rawDescOnce.Do(func() { file_pb_perm_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_pb_perm_proto_rawDesc), len(file_pb_perm_proto_rawDesc))) }) return file_pb_perm_proto_rawDescData } var file_pb_perm_proto_msgTypes = make([]protoimpl.MessageInfo, 11) var file_pb_perm_proto_goTypes = []any{ (*PermItem)(nil), // 0: pb.PermItem (*SyncPermissionsReq)(nil), // 1: pb.SyncPermissionsReq (*SyncPermissionsResp)(nil), // 2: pb.SyncPermissionsResp (*LoginReq)(nil), // 3: pb.LoginReq (*LoginResp)(nil), // 4: pb.LoginResp (*RefreshTokenReq)(nil), // 5: pb.RefreshTokenReq (*RefreshTokenResp)(nil), // 6: pb.RefreshTokenResp (*VerifyTokenReq)(nil), // 7: pb.VerifyTokenReq (*VerifyTokenResp)(nil), // 8: pb.VerifyTokenResp (*GetUserPermsReq)(nil), // 9: pb.GetUserPermsReq (*GetUserPermsResp)(nil), // 10: pb.GetUserPermsResp } var file_pb_perm_proto_depIdxs = []int32{ 0, // 0: pb.SyncPermissionsReq.perms:type_name -> pb.PermItem 1, // 1: pb.PermService.SyncPermissions:input_type -> pb.SyncPermissionsReq 3, // 2: pb.PermService.Login:input_type -> pb.LoginReq 5, // 3: pb.PermService.RefreshToken:input_type -> pb.RefreshTokenReq 7, // 4: pb.PermService.VerifyToken:input_type -> pb.VerifyTokenReq 9, // 5: pb.PermService.GetUserPerms:input_type -> pb.GetUserPermsReq 2, // 6: pb.PermService.SyncPermissions:output_type -> pb.SyncPermissionsResp 4, // 7: pb.PermService.Login:output_type -> pb.LoginResp 6, // 8: pb.PermService.RefreshToken:output_type -> pb.RefreshTokenResp 8, // 9: pb.PermService.VerifyToken:output_type -> pb.VerifyTokenResp 10, // 10: pb.PermService.GetUserPerms:output_type -> pb.GetUserPermsResp 6, // [6:11] is the sub-list for method output_type 1, // [1:6] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name 1, // [1:1] is the sub-list for extension extendee 0, // [0:1] is the sub-list for field type_name } func init() { file_pb_perm_proto_init() } func file_pb_perm_proto_init() { if File_pb_perm_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_pb_perm_proto_rawDesc), len(file_pb_perm_proto_rawDesc)), NumEnums: 0, NumMessages: 11, NumExtensions: 0, NumServices: 1, }, GoTypes: file_pb_perm_proto_goTypes, DependencyIndexes: file_pb_perm_proto_depIdxs, MessageInfos: file_pb_perm_proto_msgTypes, }.Build() File_pb_perm_proto = out.File file_pb_perm_proto_goTypes = nil file_pb_perm_proto_depIdxs = nil }