2 Star 0 Fork 0

jmash / rbac

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
rbac_module_message.pb.go 39.97 KB
一键复制 编辑 原始数据 按行查看 历史
flowcloud0102/wangyh 提交于 2024-02-22 18:37 . 业务修改
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182
// 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_module_message.proto
package rbac
import (
basic "gitee.com/jmash/jmash/trunk/jmash-core-gateway/src/jmash/basic"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
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 ModuleReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 当前页码
CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"`
// 页尺寸
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// 模块编码
ModuleCode string `protobuf:"bytes,4,opt,name=module_code,json=moduleCode,proto3" json:"module_code,omitempty"`
// 模块名称
LikeModuleName string `protobuf:"bytes,5,opt,name=like_module_name,json=likeModuleName,proto3" json:"like_module_name,omitempty"`
// 排序名称
OrderName string `protobuf:"bytes,6,opt,name=order_name,json=orderName,proto3" json:"order_name,omitempty"`
// 是否升序排序
OrderAsc bool `protobuf:"varint,7,opt,name=order_asc,json=orderAsc,proto3" json:"order_asc,omitempty"`
}
func (x *ModuleReq) Reset() {
*x = ModuleReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ModuleReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ModuleReq) ProtoMessage() {}
func (x *ModuleReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_module_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 ModuleReq.ProtoReflect.Descriptor instead.
func (*ModuleReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_module_message_proto_rawDescGZIP(), []int{0}
}
func (x *ModuleReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *ModuleReq) GetCurPage() int32 {
if x != nil {
return x.CurPage
}
return 0
}
func (x *ModuleReq) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *ModuleReq) GetModuleCode() string {
if x != nil {
return x.ModuleCode
}
return ""
}
func (x *ModuleReq) GetLikeModuleName() string {
if x != nil {
return x.LikeModuleName
}
return ""
}
func (x *ModuleReq) GetOrderName() string {
if x != nil {
return x.OrderName
}
return ""
}
func (x *ModuleReq) GetOrderAsc() bool {
if x != nil {
return x.OrderAsc
}
return false
}
// 系统模块实体
type ModuleModel struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 模块ID
ModuleId string `protobuf:"bytes,1,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"`
// 模块编码
ModuleCode string `protobuf:"bytes,2,opt,name=module_code,json=moduleCode,proto3" json:"module_code,omitempty"`
// 模块名称
ModuleName string `protobuf:"bytes,3,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"`
// 模块排序
OrderBy int32 `protobuf:"varint,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// 模块描述
Description_ string `protobuf:"bytes,5,opt,name=description_,json=description,proto3" json:"description_,omitempty"`
}
func (x *ModuleModel) Reset() {
*x = ModuleModel{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ModuleModel) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ModuleModel) ProtoMessage() {}
func (x *ModuleModel) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_module_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 ModuleModel.ProtoReflect.Descriptor instead.
func (*ModuleModel) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_module_message_proto_rawDescGZIP(), []int{1}
}
func (x *ModuleModel) GetModuleId() string {
if x != nil {
return x.ModuleId
}
return ""
}
func (x *ModuleModel) GetModuleCode() string {
if x != nil {
return x.ModuleCode
}
return ""
}
func (x *ModuleModel) GetModuleName() string {
if x != nil {
return x.ModuleName
}
return ""
}
func (x *ModuleModel) GetOrderBy() int32 {
if x != nil {
return x.OrderBy
}
return 0
}
func (x *ModuleModel) GetDescription_() string {
if x != nil {
return x.Description_
}
return ""
}
// 系统模块列表
type ModuleList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 当前页内容
Results []*ModuleModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
}
func (x *ModuleList) Reset() {
*x = ModuleList{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ModuleList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ModuleList) ProtoMessage() {}
func (x *ModuleList) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_module_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 ModuleList.ProtoReflect.Descriptor instead.
func (*ModuleList) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_module_message_proto_rawDescGZIP(), []int{2}
}
func (x *ModuleList) GetResults() []*ModuleModel {
if x != nil {
return x.Results
}
return nil
}
// 系统模块分页
type ModulePage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 当前页内容
Results []*ModuleModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
// 当前页码
CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"`
// 页尺寸
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// 总记录数
TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
// 本页小计
SubTotalDto *ModuleModelTotal `protobuf:"bytes,5,opt,name=sub_total_dto,json=subTotalDto,proto3" json:"sub_total_dto,omitempty"`
// 合计
TotalDto *ModuleModelTotal `protobuf:"bytes,6,opt,name=total_dto,json=totalDto,proto3" json:"total_dto,omitempty"`
}
func (x *ModulePage) Reset() {
*x = ModulePage{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ModulePage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ModulePage) ProtoMessage() {}
func (x *ModulePage) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_module_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 ModulePage.ProtoReflect.Descriptor instead.
func (*ModulePage) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_module_message_proto_rawDescGZIP(), []int{3}
}
func (x *ModulePage) GetResults() []*ModuleModel {
if x != nil {
return x.Results
}
return nil
}
func (x *ModulePage) GetCurPage() int32 {
if x != nil {
return x.CurPage
}
return 0
}
func (x *ModulePage) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *ModulePage) GetTotalSize() int32 {
if x != nil {
return x.TotalSize
}
return 0
}
func (x *ModulePage) GetSubTotalDto() *ModuleModelTotal {
if x != nil {
return x.SubTotalDto
}
return nil
}
func (x *ModulePage) GetTotalDto() *ModuleModelTotal {
if x != nil {
return x.TotalDto
}
return nil
}
// 合计
type ModuleModelTotal struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 总记录数
TotalSize int32 `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
}
func (x *ModuleModelTotal) Reset() {
*x = ModuleModelTotal{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ModuleModelTotal) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ModuleModelTotal) ProtoMessage() {}
func (x *ModuleModelTotal) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_module_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 ModuleModelTotal.ProtoReflect.Descriptor instead.
func (*ModuleModelTotal) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_module_message_proto_rawDescGZIP(), []int{4}
}
func (x *ModuleModelTotal) GetTotalSize() int32 {
if x != nil {
return x.TotalSize
}
return 0
}
// 系统模块List
type ModuleKeyList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 系统模块ID.
ModuleId []string `protobuf:"bytes,2,rep,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"`
}
func (x *ModuleKeyList) Reset() {
*x = ModuleKeyList{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ModuleKeyList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ModuleKeyList) ProtoMessage() {}
func (x *ModuleKeyList) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_module_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 ModuleKeyList.ProtoReflect.Descriptor instead.
func (*ModuleKeyList) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_module_message_proto_rawDescGZIP(), []int{5}
}
func (x *ModuleKeyList) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *ModuleKeyList) GetModuleId() []string {
if x != nil {
return x.ModuleId
}
return nil
}
// 系统模块Key.
type ModuleKey struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 系统模块ID.
ModuleId string `protobuf:"bytes,2,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"`
}
func (x *ModuleKey) Reset() {
*x = ModuleKey{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ModuleKey) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ModuleKey) ProtoMessage() {}
func (x *ModuleKey) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_module_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 ModuleKey.ProtoReflect.Descriptor instead.
func (*ModuleKey) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_module_message_proto_rawDescGZIP(), []int{6}
}
func (x *ModuleKey) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *ModuleKey) GetModuleId() string {
if x != nil {
return x.ModuleId
}
return ""
}
// 系统模块新增实体
type ModuleCreateReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 用于检测重复请求的唯一字符串ID
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// 如果为true,则表示给定的请求仅需要被检验,而不是被执行
ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// 模块编码
ModuleCode string `protobuf:"bytes,4,opt,name=module_code,json=moduleCode,proto3" json:"module_code,omitempty"`
// 模块名称
ModuleName string `protobuf:"bytes,5,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"`
// 模块描述
Description_ string `protobuf:"bytes,6,opt,name=description_,json=description,proto3" json:"description_,omitempty"`
}
func (x *ModuleCreateReq) Reset() {
*x = ModuleCreateReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ModuleCreateReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ModuleCreateReq) ProtoMessage() {}
func (x *ModuleCreateReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_module_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 ModuleCreateReq.ProtoReflect.Descriptor instead.
func (*ModuleCreateReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_module_message_proto_rawDescGZIP(), []int{7}
}
func (x *ModuleCreateReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *ModuleCreateReq) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *ModuleCreateReq) GetValidateOnly() bool {
if x != nil {
return x.ValidateOnly
}
return false
}
func (x *ModuleCreateReq) GetModuleCode() string {
if x != nil {
return x.ModuleCode
}
return ""
}
func (x *ModuleCreateReq) GetModuleName() string {
if x != nil {
return x.ModuleName
}
return ""
}
func (x *ModuleCreateReq) GetDescription_() string {
if x != nil {
return x.Description_
}
return ""
}
// 系统模块修改实体
type ModuleUpdateReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 用于检测重复请求的唯一字符串ID
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// 如果为true,则表示给定的请求仅需要被检验,而不是被执行
ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// 更新字段掩码.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// 模块ID
ModuleId string `protobuf:"bytes,5,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"`
// 模块编码
ModuleCode string `protobuf:"bytes,6,opt,name=module_code,json=moduleCode,proto3" json:"module_code,omitempty"`
// 模块名称
ModuleName string `protobuf:"bytes,7,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"`
// 模块描述
Description_ string `protobuf:"bytes,8,opt,name=description_,json=description,proto3" json:"description_,omitempty"`
}
func (x *ModuleUpdateReq) Reset() {
*x = ModuleUpdateReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ModuleUpdateReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ModuleUpdateReq) ProtoMessage() {}
func (x *ModuleUpdateReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_module_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 ModuleUpdateReq.ProtoReflect.Descriptor instead.
func (*ModuleUpdateReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_module_message_proto_rawDescGZIP(), []int{8}
}
func (x *ModuleUpdateReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *ModuleUpdateReq) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *ModuleUpdateReq) GetValidateOnly() bool {
if x != nil {
return x.ValidateOnly
}
return false
}
func (x *ModuleUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask {
if x != nil {
return x.UpdateMask
}
return nil
}
func (x *ModuleUpdateReq) GetModuleId() string {
if x != nil {
return x.ModuleId
}
return ""
}
func (x *ModuleUpdateReq) GetModuleCode() string {
if x != nil {
return x.ModuleCode
}
return ""
}
func (x *ModuleUpdateReq) GetModuleName() string {
if x != nil {
return x.ModuleName
}
return ""
}
func (x *ModuleUpdateReq) GetDescription_() string {
if x != nil {
return x.Description_
}
return ""
}
type ModuleExportReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 标题
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
// 字段列表
TableHeads []*basic.TableHead `protobuf:"bytes,2,rep,name=table_heads,json=tableHeads,proto3" json:"table_heads,omitempty"`
// 显示文件名
FileName string `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
// 筛选条件
Req *ModuleReq `protobuf:"bytes,4,opt,name=req,proto3" json:"req,omitempty"`
}
func (x *ModuleExportReq) Reset() {
*x = ModuleExportReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ModuleExportReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ModuleExportReq) ProtoMessage() {}
func (x *ModuleExportReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_module_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 ModuleExportReq.ProtoReflect.Descriptor instead.
func (*ModuleExportReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_module_message_proto_rawDescGZIP(), []int{9}
}
func (x *ModuleExportReq) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *ModuleExportReq) GetTableHeads() []*basic.TableHead {
if x != nil {
return x.TableHeads
}
return nil
}
func (x *ModuleExportReq) GetFileName() string {
if x != nil {
return x.FileName
}
return ""
}
func (x *ModuleExportReq) GetReq() *ModuleReq {
if x != nil {
return x.Req
}
return nil
}
type ModuleCheck struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 编码
ModuleCode string `protobuf:"bytes,2,opt,name=module_code,json=moduleCode,proto3" json:"module_code,omitempty"`
}
func (x *ModuleCheck) Reset() {
*x = ModuleCheck{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ModuleCheck) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ModuleCheck) ProtoMessage() {}
func (x *ModuleCheck) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_module_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 ModuleCheck.ProtoReflect.Descriptor instead.
func (*ModuleCheck) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_module_message_proto_rawDescGZIP(), []int{10}
}
func (x *ModuleCheck) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *ModuleCheck) GetModuleCode() string {
if x != nil {
return x.ModuleCode
}
return ""
}
var File_jmash_rbac_protobuf_rbac_module_message_proto protoreflect.FileDescriptor
var file_jmash_rbac_protobuf_rbac_module_message_proto_rawDesc = []byte{
0x0a, 0x2d, 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, 0x6d, 0x6f, 0x64, 0x75, 0x6c,
0x65, 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, 0x1a, 0x20, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65,
0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x6a,
0x6d, 0x61, 0x73, 0x68, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x62, 0x61,
0x73, 0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe2, 0x01, 0x0a, 0x09, 0x4d, 0x6f,
0x64, 0x75, 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, 0x63, 0x75, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x05, 0x52, 0x07, 0x63, 0x75, 0x72, 0x50, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61,
0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70,
0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c,
0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f,
0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x6c, 0x69, 0x6b, 0x65,
0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0e, 0x6c, 0x69, 0x6b, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4e, 0x61,
0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x61, 0x6d,
0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x73, 0x63, 0x18, 0x07,
0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x41, 0x73, 0x63, 0x22, 0xaa,
0x01, 0x0a, 0x0b, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x1b,
0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6d,
0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a,
0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52,
0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x63,
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3f, 0x0a, 0x0a, 0x4d,
0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x07, 0x72, 0x65, 0x73,
0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6a, 0x6d, 0x61,
0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x6f,
0x64, 0x65, 0x6c, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x93, 0x02, 0x0a,
0x0a, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x67, 0x65, 0x12, 0x31, 0x0a, 0x07, 0x72,
0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6a,
0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x19,
0x0a, 0x08, 0x63, 0x75, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
0x52, 0x07, 0x63, 0x75, 0x72, 0x50, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67,
0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61,
0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f,
0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61,
0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x40, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x5f, 0x74, 0x6f, 0x74,
0x61, 0x6c, 0x5f, 0x64, 0x74, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6a,
0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x0b, 0x73, 0x75, 0x62, 0x54,
0x6f, 0x74, 0x61, 0x6c, 0x44, 0x74, 0x6f, 0x12, 0x39, 0x0a, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c,
0x5f, 0x64, 0x74, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6a, 0x6d, 0x61,
0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x6f,
0x64, 0x65, 0x6c, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x08, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x44,
0x74, 0x6f, 0x22, 0x31, 0x0a, 0x10, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x6f, 0x64, 0x65,
0x6c, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f,
0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61,
0x6c, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x44, 0x0a, 0x0d, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4b,
0x65, 0x79, 0x4c, 0x69, 0x73, 0x74, 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, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28,
0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x40, 0x0a, 0x09, 0x4d,
0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4b, 0x65, 0x79, 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, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x22, 0xd2, 0x01,
0x0a, 0x0f, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 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, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x69,
0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1f, 0x0a,
0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1f,
0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12,
0x21, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x18,
0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
0x6f, 0x6e, 0x22, 0xac, 0x02, 0x0a, 0x0f, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x55, 0x70, 0x64,
0x61, 0x74, 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, 0x1d,
0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a,
0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03,
0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e,
0x6c, 0x79, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73,
0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d,
0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12,
0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01,
0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b,
0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a,
0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21,
0x0a, 0x0c, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x18, 0x08,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
0x6e, 0x22, 0xa9, 0x01, 0x0a, 0x0f, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x6f,
0x72, 0x74, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x3a, 0x0a, 0x0b, 0x74,
0x61, 0x62, 0x6c, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x19, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x65, 0x61, 0x64, 0x52, 0x0a, 0x74, 0x61, 0x62,
0x6c, 0x65, 0x48, 0x65, 0x61, 0x64, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f,
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65,
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x03, 0x72, 0x65, 0x71, 0x18, 0x04, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x15, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x4d,
0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x52, 0x03, 0x72, 0x65, 0x71, 0x22, 0x46, 0x0a,
0x0b, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 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, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x63,
0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c,
0x65, 0x43, 0x6f, 0x64, 0x65, 0x42, 0x35, 0x0a, 0x13, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72,
0x62, 0x61, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 0x0b, 0x4d, 0x6f,
0x64, 0x75, 0x6c, 0x65, 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_module_message_proto_rawDescOnce sync.Once
file_jmash_rbac_protobuf_rbac_module_message_proto_rawDescData = file_jmash_rbac_protobuf_rbac_module_message_proto_rawDesc
)
func file_jmash_rbac_protobuf_rbac_module_message_proto_rawDescGZIP() []byte {
file_jmash_rbac_protobuf_rbac_module_message_proto_rawDescOnce.Do(func() {
file_jmash_rbac_protobuf_rbac_module_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_jmash_rbac_protobuf_rbac_module_message_proto_rawDescData)
})
return file_jmash_rbac_protobuf_rbac_module_message_proto_rawDescData
}
var file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_jmash_rbac_protobuf_rbac_module_message_proto_goTypes = []interface{}{
(*ModuleReq)(nil), // 0: jmash.rbac.ModuleReq
(*ModuleModel)(nil), // 1: jmash.rbac.ModuleModel
(*ModuleList)(nil), // 2: jmash.rbac.ModuleList
(*ModulePage)(nil), // 3: jmash.rbac.ModulePage
(*ModuleModelTotal)(nil), // 4: jmash.rbac.ModuleModelTotal
(*ModuleKeyList)(nil), // 5: jmash.rbac.ModuleKeyList
(*ModuleKey)(nil), // 6: jmash.rbac.ModuleKey
(*ModuleCreateReq)(nil), // 7: jmash.rbac.ModuleCreateReq
(*ModuleUpdateReq)(nil), // 8: jmash.rbac.ModuleUpdateReq
(*ModuleExportReq)(nil), // 9: jmash.rbac.ModuleExportReq
(*ModuleCheck)(nil), // 10: jmash.rbac.ModuleCheck
(*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask
(*basic.TableHead)(nil), // 12: jmash.protobuf.TableHead
}
var file_jmash_rbac_protobuf_rbac_module_message_proto_depIdxs = []int32{
1, // 0: jmash.rbac.ModuleList.results:type_name -> jmash.rbac.ModuleModel
1, // 1: jmash.rbac.ModulePage.results:type_name -> jmash.rbac.ModuleModel
4, // 2: jmash.rbac.ModulePage.sub_total_dto:type_name -> jmash.rbac.ModuleModelTotal
4, // 3: jmash.rbac.ModulePage.total_dto:type_name -> jmash.rbac.ModuleModelTotal
11, // 4: jmash.rbac.ModuleUpdateReq.update_mask:type_name -> google.protobuf.FieldMask
12, // 5: jmash.rbac.ModuleExportReq.table_heads:type_name -> jmash.protobuf.TableHead
0, // 6: jmash.rbac.ModuleExportReq.req:type_name -> jmash.rbac.ModuleReq
7, // [7:7] is the sub-list for method output_type
7, // [7:7] is the sub-list for method input_type
7, // [7:7] is the sub-list for extension type_name
7, // [7:7] is the sub-list for extension extendee
0, // [0:7] is the sub-list for field type_name
}
func init() { file_jmash_rbac_protobuf_rbac_module_message_proto_init() }
func file_jmash_rbac_protobuf_rbac_module_message_proto_init() {
if File_jmash_rbac_protobuf_rbac_module_message_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ModuleReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ModuleModel); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ModuleList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ModulePage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ModuleModelTotal); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ModuleKeyList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ModuleKey); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ModuleCreateReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ModuleUpdateReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ModuleExportReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ModuleCheck); 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_module_message_proto_rawDesc,
NumEnums: 0,
NumMessages: 11,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_jmash_rbac_protobuf_rbac_module_message_proto_goTypes,
DependencyIndexes: file_jmash_rbac_protobuf_rbac_module_message_proto_depIdxs,
MessageInfos: file_jmash_rbac_protobuf_rbac_module_message_proto_msgTypes,
}.Build()
File_jmash_rbac_protobuf_rbac_module_message_proto = out.File
file_jmash_rbac_protobuf_rbac_module_message_proto_rawDesc = nil
file_jmash_rbac_protobuf_rbac_module_message_proto_goTypes = nil
file_jmash_rbac_protobuf_rbac_module_message_proto_depIdxs = nil
}
Java
1
https://gitee.com/jmash/rbac.git
git@gitee.com:jmash/rbac.git
jmash
rbac
rbac
65d8131b00f8

搜索帮助