2 Star 0 Fork 0

jmash / rbac

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
rbac_auth_message.pb.go 48.34 KB
一键复制 编辑 原始数据 按行查看 历史
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v4.25.1
// source: jmash/rbac/protobuf/rbac_auth_message.proto
package rbac
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 SendValidCodeReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 目录ID
DirectoryId string `protobuf:"bytes,2,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"`
// Email/phone
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// 验证码ID Captcha ID ticket.
CaptchaId string `protobuf:"bytes,4,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"`
// 用户输入验证码文本.
CaptchaCode string `protobuf:"bytes,5,opt,name=captcha_code,json=captchaCode,proto3" json:"captcha_code,omitempty"`
}
func (x *SendValidCodeReq) Reset() {
*x = SendValidCodeReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SendValidCodeReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SendValidCodeReq) ProtoMessage() {}
func (x *SendValidCodeReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_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 SendValidCodeReq.ProtoReflect.Descriptor instead.
func (*SendValidCodeReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescGZIP(), []int{0}
}
func (x *SendValidCodeReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *SendValidCodeReq) GetDirectoryId() string {
if x != nil {
return x.DirectoryId
}
return ""
}
func (x *SendValidCodeReq) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *SendValidCodeReq) GetCaptchaId() string {
if x != nil {
return x.CaptchaId
}
return ""
}
func (x *SendValidCodeReq) GetCaptchaCode() string {
if x != nil {
return x.CaptchaCode
}
return ""
}
// 验证码登录
type ValidCodeLoginReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 目录ID
DirectoryId string `protobuf:"bytes,2,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"`
// Email/Phone
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// 验证码
ValidCode string `protobuf:"bytes,4,opt,name=valid_code,json=validCode,proto3" json:"valid_code,omitempty"`
// 客户端ID
ClientId string `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
// 范围
Scope string `protobuf:"bytes,6,opt,name=scope,proto3" json:"scope,omitempty"`
}
func (x *ValidCodeLoginReq) Reset() {
*x = ValidCodeLoginReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ValidCodeLoginReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ValidCodeLoginReq) ProtoMessage() {}
func (x *ValidCodeLoginReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_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 ValidCodeLoginReq.ProtoReflect.Descriptor instead.
func (*ValidCodeLoginReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescGZIP(), []int{1}
}
func (x *ValidCodeLoginReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *ValidCodeLoginReq) GetDirectoryId() string {
if x != nil {
return x.DirectoryId
}
return ""
}
func (x *ValidCodeLoginReq) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *ValidCodeLoginReq) GetValidCode() string {
if x != nil {
return x.ValidCode
}
return ""
}
func (x *ValidCodeLoginReq) GetClientId() string {
if x != nil {
return x.ClientId
}
return ""
}
func (x *ValidCodeLoginReq) GetScope() string {
if x != nil {
return x.Scope
}
return ""
}
// 登录请求.
type LoginReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 目录ID
DirectoryId string `protobuf:"bytes,2,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"`
// 登录用户.
UserName string `protobuf:"bytes,3,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
// 加密密钥.
EncodePwd string `protobuf:"bytes,4,opt,name=encode_pwd,json=encodePwd,proto3" json:"encode_pwd,omitempty"`
// 客户端ID
ClientId string `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
// 范围
Scope string `protobuf:"bytes,6,opt,name=scope,proto3" json:"scope,omitempty"`
// 验证码ID Captcha ID ticket.
CaptchaId string `protobuf:"bytes,7,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"`
// 用户输入验证码文本.
CaptchaCode string `protobuf:"bytes,8,opt,name=captcha_code,json=captchaCode,proto3" json:"captcha_code,omitempty"`
}
func (x *LoginReq) Reset() {
*x = LoginReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[2]
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_jmash_rbac_protobuf_rbac_auth_message_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 LoginReq.ProtoReflect.Descriptor instead.
func (*LoginReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescGZIP(), []int{2}
}
func (x *LoginReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *LoginReq) GetDirectoryId() string {
if x != nil {
return x.DirectoryId
}
return ""
}
func (x *LoginReq) GetUserName() string {
if x != nil {
return x.UserName
}
return ""
}
func (x *LoginReq) GetEncodePwd() string {
if x != nil {
return x.EncodePwd
}
return ""
}
func (x *LoginReq) GetClientId() string {
if x != nil {
return x.ClientId
}
return ""
}
func (x *LoginReq) GetScope() string {
if x != nil {
return x.Scope
}
return ""
}
func (x *LoginReq) GetCaptchaId() string {
if x != nil {
return x.CaptchaId
}
return ""
}
func (x *LoginReq) GetCaptchaCode() string {
if x != nil {
return x.CaptchaCode
}
return ""
}
// 登录成功响应.
type TokenResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 访问Token.
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
// 过期时间(单位:毫秒).
ExpiresIn int32 `protobuf:"varint,2,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"`
// 刷新Token.
RefreshToken string `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
// Token类型.
TokenType string `protobuf:"bytes,4,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
}
func (x *TokenResp) Reset() {
*x = TokenResp{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TokenResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TokenResp) ProtoMessage() {}
func (x *TokenResp) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_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 TokenResp.ProtoReflect.Descriptor instead.
func (*TokenResp) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescGZIP(), []int{3}
}
func (x *TokenResp) GetAccessToken() string {
if x != nil {
return x.AccessToken
}
return ""
}
func (x *TokenResp) GetExpiresIn() int32 {
if x != nil {
return x.ExpiresIn
}
return 0
}
func (x *TokenResp) GetRefreshToken() string {
if x != nil {
return x.RefreshToken
}
return ""
}
func (x *TokenResp) GetTokenType() string {
if x != nil {
return x.TokenType
}
return ""
}
// 登出.
type LogoutReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 客户端ID
ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
// 登录用户Token.
AccessToken string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
}
func (x *LogoutReq) Reset() {
*x = LogoutReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LogoutReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LogoutReq) ProtoMessage() {}
func (x *LogoutReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_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 LogoutReq.ProtoReflect.Descriptor instead.
func (*LogoutReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescGZIP(), []int{4}
}
func (x *LogoutReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *LogoutReq) GetClientId() string {
if x != nil {
return x.ClientId
}
return ""
}
func (x *LogoutReq) GetAccessToken() string {
if x != nil {
return x.AccessToken
}
return ""
}
// 刷新token
type RefreshTokenReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 刷新Token.
RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
// 客户端ID
ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
}
func (x *RefreshTokenReq) Reset() {
*x = RefreshTokenReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_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_jmash_rbac_protobuf_rbac_auth_message_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 RefreshTokenReq.ProtoReflect.Descriptor instead.
func (*RefreshTokenReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescGZIP(), []int{5}
}
func (x *RefreshTokenReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *RefreshTokenReq) GetRefreshToken() string {
if x != nil {
return x.RefreshToken
}
return ""
}
func (x *RefreshTokenReq) GetClientId() string {
if x != nil {
return x.ClientId
}
return ""
}
// 租户
type TenantReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
}
func (x *TenantReq) Reset() {
*x = TenantReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TenantReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TenantReq) ProtoMessage() {}
func (x *TenantReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_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 TenantReq.ProtoReflect.Descriptor instead.
func (*TenantReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescGZIP(), []int{6}
}
func (x *TenantReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
// 激活角色请求
type ActiveRoleReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// Active Role IDS.
RoleIds []string `protobuf:"bytes,2,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
}
func (x *ActiveRoleReq) Reset() {
*x = ActiveRoleReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ActiveRoleReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ActiveRoleReq) ProtoMessage() {}
func (x *ActiveRoleReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_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 ActiveRoleReq.ProtoReflect.Descriptor instead.
func (*ActiveRoleReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescGZIP(), []int{7}
}
func (x *ActiveRoleReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *ActiveRoleReq) GetRoleIds() []string {
if x != nil {
return x.RoleIds
}
return nil
}
// 角色列表
type RolePermSet struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 角色编码列表
RoleCodes []string `protobuf:"bytes,1,rep,name=role_codes,json=roleCodes,proto3" json:"role_codes,omitempty"`
// 权限编码列表
PermCodes []string `protobuf:"bytes,2,rep,name=perm_codes,json=permCodes,proto3" json:"perm_codes,omitempty"`
}
func (x *RolePermSet) Reset() {
*x = RolePermSet{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RolePermSet) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RolePermSet) ProtoMessage() {}
func (x *RolePermSet) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_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 RolePermSet.ProtoReflect.Descriptor instead.
func (*RolePermSet) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescGZIP(), []int{8}
}
func (x *RolePermSet) GetRoleCodes() []string {
if x != nil {
return x.RoleCodes
}
return nil
}
func (x *RolePermSet) GetPermCodes() []string {
if x != nil {
return x.PermCodes
}
return nil
}
// 密码修改请求
type ChangePwdReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// *原密码
EncodeOldPwd string `protobuf:"bytes,2,opt,name=encode_old_pwd,json=encodeOldPwd,proto3" json:"encode_old_pwd,omitempty"`
// *新密码
EncodeNewPwd string `protobuf:"bytes,3,opt,name=encode_new_pwd,json=encodeNewPwd,proto3" json:"encode_new_pwd,omitempty"`
}
func (x *ChangePwdReq) Reset() {
*x = ChangePwdReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ChangePwdReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ChangePwdReq) ProtoMessage() {}
func (x *ChangePwdReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_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 ChangePwdReq.ProtoReflect.Descriptor instead.
func (*ChangePwdReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescGZIP(), []int{9}
}
func (x *ChangePwdReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *ChangePwdReq) GetEncodeOldPwd() string {
if x != nil {
return x.EncodeOldPwd
}
return ""
}
func (x *ChangePwdReq) GetEncodeNewPwd() string {
if x != nil {
return x.EncodeNewPwd
}
return ""
}
// 切换身份
type RunAsReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 用户ID
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// 范围
Scope string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"`
}
func (x *RunAsReq) Reset() {
*x = RunAsReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RunAsReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RunAsReq) ProtoMessage() {}
func (x *RunAsReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_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 RunAsReq.ProtoReflect.Descriptor instead.
func (*RunAsReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescGZIP(), []int{10}
}
func (x *RunAsReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *RunAsReq) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
func (x *RunAsReq) GetScope() string {
if x != nil {
return x.Scope
}
return ""
}
// 菜单列表
type MenuList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Menus []*Menu `protobuf:"bytes,1,rep,name=menus,proto3" json:"menus,omitempty"`
}
func (x *MenuList) Reset() {
*x = MenuList{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MenuList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MenuList) ProtoMessage() {}
func (x *MenuList) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_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 MenuList.ProtoReflect.Descriptor instead.
func (*MenuList) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescGZIP(), []int{11}
}
func (x *MenuList) GetMenus() []*Menu {
if x != nil {
return x.Menus
}
return nil
}
// 菜单
type Menu struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
ComponentName string `protobuf:"bytes,2,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
Redirect string `protobuf:"bytes,3,opt,name=redirect,proto3" json:"redirect,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
Meta *MenuMeta `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"`
Children []*Menu `protobuf:"bytes,6,rep,name=children,proto3" json:"children,omitempty"`
}
func (x *Menu) Reset() {
*x = Menu{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Menu) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Menu) ProtoMessage() {}
func (x *Menu) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_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 Menu.ProtoReflect.Descriptor instead.
func (*Menu) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescGZIP(), []int{12}
}
func (x *Menu) GetPath() string {
if x != nil {
return x.Path
}
return ""
}
func (x *Menu) GetComponentName() string {
if x != nil {
return x.ComponentName
}
return ""
}
func (x *Menu) GetRedirect() string {
if x != nil {
return x.Redirect
}
return ""
}
func (x *Menu) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Menu) GetMeta() *MenuMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *Menu) GetChildren() []*Menu {
if x != nil {
return x.Children
}
return nil
}
// 菜单Meta
type MenuMeta struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
Icon string `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"`
Hidden bool `protobuf:"varint,4,opt,name=hidden,proto3" json:"hidden,omitempty"`
KeepAlive bool `protobuf:"varint,5,opt,name=keep_alive,json=keepAlive,proto3" json:"keep_alive,omitempty"`
}
func (x *MenuMeta) Reset() {
*x = MenuMeta{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MenuMeta) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MenuMeta) ProtoMessage() {}
func (x *MenuMeta) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_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 MenuMeta.ProtoReflect.Descriptor instead.
func (*MenuMeta) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescGZIP(), []int{13}
}
func (x *MenuMeta) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *MenuMeta) GetIcon() string {
if x != nil {
return x.Icon
}
return ""
}
func (x *MenuMeta) GetHidden() bool {
if x != nil {
return x.Hidden
}
return false
}
func (x *MenuMeta) GetKeepAlive() bool {
if x != nil {
return x.KeepAlive
}
return false
}
type TreeModel struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 资源ID
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// 资源名称
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
// 父级ID
ParentId string `protobuf:"bytes,3,opt,name=parentId,proto3" json:"parentId,omitempty"`
// 子节点
Children []*TreeModel `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"`
}
func (x *TreeModel) Reset() {
*x = TreeModel{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TreeModel) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TreeModel) ProtoMessage() {}
func (x *TreeModel) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_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 TreeModel.ProtoReflect.Descriptor instead.
func (*TreeModel) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescGZIP(), []int{14}
}
func (x *TreeModel) GetValue() string {
if x != nil {
return x.Value
}
return ""
}
func (x *TreeModel) GetLabel() string {
if x != nil {
return x.Label
}
return ""
}
func (x *TreeModel) GetParentId() string {
if x != nil {
return x.ParentId
}
return ""
}
func (x *TreeModel) GetChildren() []*TreeModel {
if x != nil {
return x.Children
}
return nil
}
type TreeList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Results []*TreeModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
}
func (x *TreeList) Reset() {
*x = TreeList{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TreeList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TreeList) ProtoMessage() {}
func (x *TreeList) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_auth_message_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 TreeList.ProtoReflect.Descriptor instead.
func (*TreeList) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescGZIP(), []int{15}
}
func (x *TreeList) GetResults() []*TreeModel {
if x != nil {
return x.Results
}
return nil
}
var File_jmash_rbac_protobuf_rbac_auth_message_proto protoreflect.FileDescriptor
var file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDesc = []byte{
0x0a, 0x2b, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2f, 0x72, 0x62, 0x61, 0x63, 0x2f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x72, 0x62, 0x61, 0x63, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x5f,
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x6a,
0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x22, 0xa3, 0x01, 0x0a, 0x10, 0x53, 0x65,
0x6e, 0x64, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16,
0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69,
0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a,
0x0a, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
0x09, 0x52, 0x09, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c,
0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x43, 0x6f, 0x64, 0x65, 0x22,
0xb4, 0x01, 0x0a, 0x11, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67,
0x69, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x21, 0x0a,
0x0c, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64,
0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x63, 0x6f,
0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x43,
0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64,
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64,
0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x22, 0xf6, 0x01, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x69, 0x6e,
0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x64,
0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0b, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x1b,
0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65,
0x6e, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x70, 0x77, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
0x09, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x50, 0x77, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c,
0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63,
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65,
0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x1d, 0x0a,
0x0a, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28,
0x09, 0x52, 0x09, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c,
0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x43, 0x6f, 0x64, 0x65, 0x22,
0x91, 0x01, 0x0a, 0x09, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a,
0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x69, 0x6e, 0x18, 0x02,
0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x49, 0x6e, 0x12,
0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54,
0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x74, 0x79,
0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x54,
0x79, 0x70, 0x65, 0x22, 0x63, 0x0a, 0x09, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71,
0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65,
0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69,
0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f,
0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63,
0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x6b, 0x0a, 0x0f, 0x52, 0x65, 0x66, 0x72,
0x65, 0x73, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74,
0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e,
0x61, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74,
0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x72,
0x65, 0x73, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65,
0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69,
0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x23, 0x0a, 0x09, 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x52,
0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x22, 0x42, 0x0a, 0x0d, 0x41, 0x63,
0x74, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74,
0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e,
0x61, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18,
0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x22, 0x4b,
0x0a, 0x0b, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x53, 0x65, 0x74, 0x12, 0x1d, 0x0a,
0x0a, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
0x09, 0x52, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
0x70, 0x65, 0x72, 0x6d, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,
0x52, 0x09, 0x70, 0x65, 0x72, 0x6d, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x72, 0x0a, 0x0c, 0x43,
0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x77, 0x64, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74,
0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e,
0x61, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x6f, 0x6c,
0x64, 0x5f, 0x70, 0x77, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x6e, 0x63,
0x6f, 0x64, 0x65, 0x4f, 0x6c, 0x64, 0x50, 0x77, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x6e, 0x63,
0x6f, 0x64, 0x65, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x77, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0c, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x4e, 0x65, 0x77, 0x50, 0x77, 0x64, 0x22,
0x51, 0x0a, 0x08, 0x52, 0x75, 0x6e, 0x41, 0x73, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74,
0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e,
0x61, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05,
0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f,
0x70, 0x65, 0x22, 0x32, 0x0a, 0x08, 0x4d, 0x65, 0x6e, 0x75, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x26,
0x0a, 0x05, 0x6d, 0x65, 0x6e, 0x75, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e,
0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x4d, 0x65, 0x6e, 0x75, 0x52,
0x05, 0x6d, 0x65, 0x6e, 0x75, 0x73, 0x22, 0xc9, 0x01, 0x0a, 0x04, 0x4d, 0x65, 0x6e, 0x75, 0x12,
0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70,
0x61, 0x74, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74,
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d,
0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65,
0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65,
0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04,
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x6d, 0x65,
0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68,
0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x4d, 0x65, 0x6e, 0x75, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04,
0x6d, 0x65, 0x74, 0x61, 0x12, 0x2c, 0x0a, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e,
0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72,
0x62, 0x61, 0x63, 0x2e, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72,
0x65, 0x6e, 0x22, 0x6b, 0x0a, 0x08, 0x4d, 0x65, 0x6e, 0x75, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x14,
0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74,
0x69, 0x74, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01,
0x28, 0x09, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x69, 0x64, 0x64,
0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e,
0x12, 0x1d, 0x0a, 0x0a, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x05,
0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x22,
0x86, 0x01, 0x0a, 0x09, 0x54, 0x72, 0x65, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x14, 0x0a,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x72,
0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x72,
0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65,
0x6e, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e,
0x72, 0x62, 0x61, 0x63, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x08,
0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x22, 0x3b, 0x0a, 0x08, 0x54, 0x72, 0x65, 0x65,
0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18,
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62,
0x61, 0x63, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x07, 0x72, 0x65,
0x73, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x33, 0x0a, 0x13, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72,
0x62, 0x61, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 0x09, 0x41, 0x75,
0x74, 0x68, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x0f, 0x6a, 0x6d, 0x61, 0x73, 0x68,
0x2f, 0x72, 0x62, 0x61, 0x63, 0x3b, 0x72, 0x62, 0x61, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
}
var (
file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescOnce sync.Once
file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescData = file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDesc
)
func file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescGZIP() []byte {
file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescOnce.Do(func() {
file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescData)
})
return file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDescData
}
var file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
var file_jmash_rbac_protobuf_rbac_auth_message_proto_goTypes = []interface{}{
(*SendValidCodeReq)(nil), // 0: jmash.rbac.SendValidCodeReq
(*ValidCodeLoginReq)(nil), // 1: jmash.rbac.ValidCodeLoginReq
(*LoginReq)(nil), // 2: jmash.rbac.LoginReq
(*TokenResp)(nil), // 3: jmash.rbac.TokenResp
(*LogoutReq)(nil), // 4: jmash.rbac.LogoutReq
(*RefreshTokenReq)(nil), // 5: jmash.rbac.RefreshTokenReq
(*TenantReq)(nil), // 6: jmash.rbac.TenantReq
(*ActiveRoleReq)(nil), // 7: jmash.rbac.ActiveRoleReq
(*RolePermSet)(nil), // 8: jmash.rbac.RolePermSet
(*ChangePwdReq)(nil), // 9: jmash.rbac.ChangePwdReq
(*RunAsReq)(nil), // 10: jmash.rbac.RunAsReq
(*MenuList)(nil), // 11: jmash.rbac.MenuList
(*Menu)(nil), // 12: jmash.rbac.Menu
(*MenuMeta)(nil), // 13: jmash.rbac.MenuMeta
(*TreeModel)(nil), // 14: jmash.rbac.TreeModel
(*TreeList)(nil), // 15: jmash.rbac.TreeList
}
var file_jmash_rbac_protobuf_rbac_auth_message_proto_depIdxs = []int32{
12, // 0: jmash.rbac.MenuList.menus:type_name -> jmash.rbac.Menu
13, // 1: jmash.rbac.Menu.meta:type_name -> jmash.rbac.MenuMeta
12, // 2: jmash.rbac.Menu.children:type_name -> jmash.rbac.Menu
14, // 3: jmash.rbac.TreeModel.children:type_name -> jmash.rbac.TreeModel
14, // 4: jmash.rbac.TreeList.results:type_name -> jmash.rbac.TreeModel
5, // [5:5] is the sub-list for method output_type
5, // [5:5] is the sub-list for method input_type
5, // [5:5] is the sub-list for extension type_name
5, // [5:5] is the sub-list for extension extendee
0, // [0:5] is the sub-list for field type_name
}
func init() { file_jmash_rbac_protobuf_rbac_auth_message_proto_init() }
func file_jmash_rbac_protobuf_rbac_auth_message_proto_init() {
if File_jmash_rbac_protobuf_rbac_auth_message_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SendValidCodeReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ValidCodeLoginReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[2].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_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TokenResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LogoutReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RefreshTokenReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TenantReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ActiveRoleReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RolePermSet); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ChangePwdReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RunAsReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MenuList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Menu); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MenuMeta); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TreeModel); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TreeList); 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_jmash_rbac_protobuf_rbac_auth_message_proto_rawDesc,
NumEnums: 0,
NumMessages: 16,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_jmash_rbac_protobuf_rbac_auth_message_proto_goTypes,
DependencyIndexes: file_jmash_rbac_protobuf_rbac_auth_message_proto_depIdxs,
MessageInfos: file_jmash_rbac_protobuf_rbac_auth_message_proto_msgTypes,
}.Build()
File_jmash_rbac_protobuf_rbac_auth_message_proto = out.File
file_jmash_rbac_protobuf_rbac_auth_message_proto_rawDesc = nil
file_jmash_rbac_protobuf_rbac_auth_message_proto_goTypes = nil
file_jmash_rbac_protobuf_rbac_auth_message_proto_depIdxs = nil
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/jmash/rbac.git
git@gitee.com:jmash/rbac.git
jmash
rbac
rbac
14f349c9227c

搜索帮助