2 Star 0 Fork 0

jmash / rbac

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
rbac_operation_message.pb.go 39.95 KB
AI 代码解读
一键复制 编辑 原始数据 按行查看 历史
百圆汽车保养 提交于 2024-02-25 00:39 . 接口调整.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145
// 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_operation_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 OperationReq 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"`
// 操作编码
OperationCode string `protobuf:"bytes,4,opt,name=operation_code,json=operationCode,proto3" json:"operation_code,omitempty"`
// 操作名称
LikeOperationName string `protobuf:"bytes,5,opt,name=like_operation_name,json=likeOperationName,proto3" json:"like_operation_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 *OperationReq) Reset() {
*x = OperationReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OperationReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OperationReq) ProtoMessage() {}
func (x *OperationReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_operation_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 OperationReq.ProtoReflect.Descriptor instead.
func (*OperationReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_operation_message_proto_rawDescGZIP(), []int{0}
}
func (x *OperationReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *OperationReq) GetCurPage() int32 {
if x != nil {
return x.CurPage
}
return 0
}
func (x *OperationReq) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *OperationReq) GetOperationCode() string {
if x != nil {
return x.OperationCode
}
return ""
}
func (x *OperationReq) GetLikeOperationName() string {
if x != nil {
return x.LikeOperationName
}
return ""
}
func (x *OperationReq) GetOrderName() string {
if x != nil {
return x.OrderName
}
return ""
}
func (x *OperationReq) GetOrderAsc() bool {
if x != nil {
return x.OrderAsc
}
return false
}
// 操作表实体
type OperationModel struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 操作ID
OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
// 操作编码
OperationCode string `protobuf:"bytes,2,opt,name=operation_code,json=operationCode,proto3" json:"operation_code,omitempty"`
// 操作名称
OperationName string `protobuf:"bytes,3,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"`
}
func (x *OperationModel) Reset() {
*x = OperationModel{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OperationModel) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OperationModel) ProtoMessage() {}
func (x *OperationModel) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_operation_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 OperationModel.ProtoReflect.Descriptor instead.
func (*OperationModel) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_operation_message_proto_rawDescGZIP(), []int{1}
}
func (x *OperationModel) GetOperationId() string {
if x != nil {
return x.OperationId
}
return ""
}
func (x *OperationModel) GetOperationCode() string {
if x != nil {
return x.OperationCode
}
return ""
}
func (x *OperationModel) GetOperationName() string {
if x != nil {
return x.OperationName
}
return ""
}
// 操作表列表
type OperationList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 当前页内容
Results []*OperationModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
}
func (x *OperationList) Reset() {
*x = OperationList{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OperationList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OperationList) ProtoMessage() {}
func (x *OperationList) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_operation_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 OperationList.ProtoReflect.Descriptor instead.
func (*OperationList) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_operation_message_proto_rawDescGZIP(), []int{2}
}
func (x *OperationList) GetResults() []*OperationModel {
if x != nil {
return x.Results
}
return nil
}
// 操作表分页
type OperationPage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 当前页内容
Results []*OperationModel `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 *OperationModelTotal `protobuf:"bytes,5,opt,name=sub_total_dto,json=subTotalDto,proto3" json:"sub_total_dto,omitempty"`
// 合计
TotalDto *OperationModelTotal `protobuf:"bytes,6,opt,name=total_dto,json=totalDto,proto3" json:"total_dto,omitempty"`
}
func (x *OperationPage) Reset() {
*x = OperationPage{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OperationPage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OperationPage) ProtoMessage() {}
func (x *OperationPage) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_operation_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 OperationPage.ProtoReflect.Descriptor instead.
func (*OperationPage) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_operation_message_proto_rawDescGZIP(), []int{3}
}
func (x *OperationPage) GetResults() []*OperationModel {
if x != nil {
return x.Results
}
return nil
}
func (x *OperationPage) GetCurPage() int32 {
if x != nil {
return x.CurPage
}
return 0
}
func (x *OperationPage) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *OperationPage) GetTotalSize() int32 {
if x != nil {
return x.TotalSize
}
return 0
}
func (x *OperationPage) GetSubTotalDto() *OperationModelTotal {
if x != nil {
return x.SubTotalDto
}
return nil
}
func (x *OperationPage) GetTotalDto() *OperationModelTotal {
if x != nil {
return x.TotalDto
}
return nil
}
// 合计
type OperationModelTotal 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 *OperationModelTotal) Reset() {
*x = OperationModelTotal{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OperationModelTotal) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OperationModelTotal) ProtoMessage() {}
func (x *OperationModelTotal) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_operation_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 OperationModelTotal.ProtoReflect.Descriptor instead.
func (*OperationModelTotal) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_operation_message_proto_rawDescGZIP(), []int{4}
}
func (x *OperationModelTotal) GetTotalSize() int32 {
if x != nil {
return x.TotalSize
}
return 0
}
// 操作表List
type OperationKey struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
OperationId string `protobuf:"bytes,2,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
}
func (x *OperationKey) Reset() {
*x = OperationKey{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OperationKey) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OperationKey) ProtoMessage() {}
func (x *OperationKey) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_operation_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 OperationKey.ProtoReflect.Descriptor instead.
func (*OperationKey) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_operation_message_proto_rawDescGZIP(), []int{5}
}
func (x *OperationKey) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *OperationKey) GetOperationId() string {
if x != nil {
return x.OperationId
}
return ""
}
// 操作表List
type OperationKeyList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
OperationId []string `protobuf:"bytes,2,rep,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
}
func (x *OperationKeyList) Reset() {
*x = OperationKeyList{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OperationKeyList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OperationKeyList) ProtoMessage() {}
func (x *OperationKeyList) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_operation_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 OperationKeyList.ProtoReflect.Descriptor instead.
func (*OperationKeyList) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_operation_message_proto_rawDescGZIP(), []int{6}
}
func (x *OperationKeyList) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *OperationKeyList) GetOperationId() []string {
if x != nil {
return x.OperationId
}
return nil
}
// 操作校验
type OperationCheck struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 操作编码
OperationCode string `protobuf:"bytes,2,opt,name=operation_code,json=operationCode,proto3" json:"operation_code,omitempty"`
}
func (x *OperationCheck) Reset() {
*x = OperationCheck{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OperationCheck) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OperationCheck) ProtoMessage() {}
func (x *OperationCheck) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_operation_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 OperationCheck.ProtoReflect.Descriptor instead.
func (*OperationCheck) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_operation_message_proto_rawDescGZIP(), []int{7}
}
func (x *OperationCheck) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *OperationCheck) GetOperationCode() string {
if x != nil {
return x.OperationCode
}
return ""
}
// 操作表新增实体
type OperationCreateReq 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"`
// 操作编码
OperationCode string `protobuf:"bytes,4,opt,name=operation_code,json=operationCode,proto3" json:"operation_code,omitempty"`
// 操作名称
OperationName string `protobuf:"bytes,5,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"`
}
func (x *OperationCreateReq) Reset() {
*x = OperationCreateReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OperationCreateReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OperationCreateReq) ProtoMessage() {}
func (x *OperationCreateReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_operation_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 OperationCreateReq.ProtoReflect.Descriptor instead.
func (*OperationCreateReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_operation_message_proto_rawDescGZIP(), []int{8}
}
func (x *OperationCreateReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *OperationCreateReq) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *OperationCreateReq) GetValidateOnly() bool {
if x != nil {
return x.ValidateOnly
}
return false
}
func (x *OperationCreateReq) GetOperationCode() string {
if x != nil {
return x.OperationCode
}
return ""
}
func (x *OperationCreateReq) GetOperationName() string {
if x != nil {
return x.OperationName
}
return ""
}
// 操作表修改实体
type OperationUpdateReq 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
OperationId string `protobuf:"bytes,5,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
// 操作编码
OperationCode string `protobuf:"bytes,6,opt,name=operation_code,json=operationCode,proto3" json:"operation_code,omitempty"`
// 操作名称
OperationName string `protobuf:"bytes,7,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"`
}
func (x *OperationUpdateReq) Reset() {
*x = OperationUpdateReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OperationUpdateReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OperationUpdateReq) ProtoMessage() {}
func (x *OperationUpdateReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_operation_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 OperationUpdateReq.ProtoReflect.Descriptor instead.
func (*OperationUpdateReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_operation_message_proto_rawDescGZIP(), []int{9}
}
func (x *OperationUpdateReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *OperationUpdateReq) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *OperationUpdateReq) GetValidateOnly() bool {
if x != nil {
return x.ValidateOnly
}
return false
}
func (x *OperationUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask {
if x != nil {
return x.UpdateMask
}
return nil
}
func (x *OperationUpdateReq) GetOperationId() string {
if x != nil {
return x.OperationId
}
return ""
}
func (x *OperationUpdateReq) GetOperationCode() string {
if x != nil {
return x.OperationCode
}
return ""
}
func (x *OperationUpdateReq) GetOperationName() string {
if x != nil {
return x.OperationName
}
return ""
}
type OperationExportReq 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 *OperationReq `protobuf:"bytes,4,opt,name=req,proto3" json:"req,omitempty"`
}
func (x *OperationExportReq) Reset() {
*x = OperationExportReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OperationExportReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OperationExportReq) ProtoMessage() {}
func (x *OperationExportReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_rbac_protobuf_rbac_operation_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 OperationExportReq.ProtoReflect.Descriptor instead.
func (*OperationExportReq) Descriptor() ([]byte, []int) {
return file_jmash_rbac_protobuf_rbac_operation_message_proto_rawDescGZIP(), []int{10}
}
func (x *OperationExportReq) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *OperationExportReq) GetTableHeads() []*basic.TableHead {
if x != nil {
return x.TableHeads
}
return nil
}
func (x *OperationExportReq) GetFileName() string {
if x != nil {
return x.FileName
}
return ""
}
func (x *OperationExportReq) GetReq() *OperationReq {
if x != nil {
return x.Req
}
return nil
}
var File_jmash_rbac_protobuf_rbac_operation_message_proto protoreflect.FileDescriptor
var file_jmash_rbac_protobuf_rbac_operation_message_proto_rawDesc = []byte{
0x0a, 0x30, 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, 0x6f, 0x70, 0x65, 0x72, 0x61,
0x74, 0x69, 0x6f, 0x6e, 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, 0xf1, 0x01, 0x0a,
0x0c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 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, 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, 0x25, 0x0a,
0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18,
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x43, 0x6f, 0x64, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x6c, 0x69, 0x6b, 0x65, 0x5f, 0x6f, 0x70, 0x65,
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
0x09, 0x52, 0x11, 0x6c, 0x69, 0x6b, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
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, 0x81, 0x01, 0x0a, 0x0e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f,
0x64, 0x65, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a,
0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x4e, 0x61, 0x6d, 0x65, 0x22, 0x45, 0x0a, 0x0d, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73,
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72,
0x62, 0x61, 0x63, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64,
0x65, 0x6c, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x9f, 0x02, 0x0a, 0x0d,
0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x67, 0x65, 0x12, 0x34, 0x0a,
0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a,
0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x4f, 0x70, 0x65, 0x72,
0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x43, 0x0a, 0x0d, 0x73, 0x75,
0x62, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x64, 0x74, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x1f, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x4f,
0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x6f, 0x74,
0x61, 0x6c, 0x52, 0x0b, 0x73, 0x75, 0x62, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x44, 0x74, 0x6f, 0x12,
0x3c, 0x0a, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x64, 0x74, 0x6f, 0x18, 0x06, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e,
0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x6f,
0x74, 0x61, 0x6c, 0x52, 0x08, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x44, 0x74, 0x6f, 0x22, 0x34, 0x0a,
0x13, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x49, 0x0a, 0x0c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
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, 0x21, 0x0a, 0x0c, 0x6f,
0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x4d,
0x0a, 0x10, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x21, 0x0a, 0x0c, 0x6f, 0x70,
0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,
0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x4f, 0x0a,
0x0e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x22, 0xbe,
0x01, 0x0a, 0x12, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63,
0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22,
0x9e, 0x02, 0x0a, 0x12, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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,
0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18,
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65,
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65,
0x22, 0xaf, 0x01, 0x0a, 0x12, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x2a, 0x0a, 0x03, 0x72, 0x65, 0x71, 0x18, 0x04, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63,
0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x52, 0x03, 0x72,
0x65, 0x71, 0x42, 0x38, 0x0a, 0x13, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x72, 0x62, 0x61, 0x63,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 0x0e, 0x4f, 0x70, 0x65, 0x72, 0x61,
0x74, 0x69, 0x6f, 0x6e, 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_operation_message_proto_rawDescOnce sync.Once
file_jmash_rbac_protobuf_rbac_operation_message_proto_rawDescData = file_jmash_rbac_protobuf_rbac_operation_message_proto_rawDesc
)
func file_jmash_rbac_protobuf_rbac_operation_message_proto_rawDescGZIP() []byte {
file_jmash_rbac_protobuf_rbac_operation_message_proto_rawDescOnce.Do(func() {
file_jmash_rbac_protobuf_rbac_operation_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_jmash_rbac_protobuf_rbac_operation_message_proto_rawDescData)
})
return file_jmash_rbac_protobuf_rbac_operation_message_proto_rawDescData
}
var file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_jmash_rbac_protobuf_rbac_operation_message_proto_goTypes = []interface{}{
(*OperationReq)(nil), // 0: jmash.rbac.OperationReq
(*OperationModel)(nil), // 1: jmash.rbac.OperationModel
(*OperationList)(nil), // 2: jmash.rbac.OperationList
(*OperationPage)(nil), // 3: jmash.rbac.OperationPage
(*OperationModelTotal)(nil), // 4: jmash.rbac.OperationModelTotal
(*OperationKey)(nil), // 5: jmash.rbac.OperationKey
(*OperationKeyList)(nil), // 6: jmash.rbac.OperationKeyList
(*OperationCheck)(nil), // 7: jmash.rbac.OperationCheck
(*OperationCreateReq)(nil), // 8: jmash.rbac.OperationCreateReq
(*OperationUpdateReq)(nil), // 9: jmash.rbac.OperationUpdateReq
(*OperationExportReq)(nil), // 10: jmash.rbac.OperationExportReq
(*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask
(*basic.TableHead)(nil), // 12: jmash.protobuf.TableHead
}
var file_jmash_rbac_protobuf_rbac_operation_message_proto_depIdxs = []int32{
1, // 0: jmash.rbac.OperationList.results:type_name -> jmash.rbac.OperationModel
1, // 1: jmash.rbac.OperationPage.results:type_name -> jmash.rbac.OperationModel
4, // 2: jmash.rbac.OperationPage.sub_total_dto:type_name -> jmash.rbac.OperationModelTotal
4, // 3: jmash.rbac.OperationPage.total_dto:type_name -> jmash.rbac.OperationModelTotal
11, // 4: jmash.rbac.OperationUpdateReq.update_mask:type_name -> google.protobuf.FieldMask
12, // 5: jmash.rbac.OperationExportReq.table_heads:type_name -> jmash.protobuf.TableHead
0, // 6: jmash.rbac.OperationExportReq.req:type_name -> jmash.rbac.OperationReq
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_operation_message_proto_init() }
func file_jmash_rbac_protobuf_rbac_operation_message_proto_init() {
if File_jmash_rbac_protobuf_rbac_operation_message_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OperationReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OperationModel); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OperationList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OperationPage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OperationModelTotal); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OperationKey); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OperationKeyList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OperationCheck); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OperationCreateReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OperationUpdateReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OperationExportReq); 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_operation_message_proto_rawDesc,
NumEnums: 0,
NumMessages: 11,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_jmash_rbac_protobuf_rbac_operation_message_proto_goTypes,
DependencyIndexes: file_jmash_rbac_protobuf_rbac_operation_message_proto_depIdxs,
MessageInfos: file_jmash_rbac_protobuf_rbac_operation_message_proto_msgTypes,
}.Build()
File_jmash_rbac_protobuf_rbac_operation_message_proto = out.File
file_jmash_rbac_protobuf_rbac_operation_message_proto_rawDesc = nil
file_jmash_rbac_protobuf_rbac_operation_message_proto_goTypes = nil
file_jmash_rbac_protobuf_rbac_operation_message_proto_depIdxs = nil
}
Java
1
https://gitee.com/jmash/rbac.git
git@gitee.com:jmash/rbac.git
jmash
rbac
rbac
14f349c9227c

搜索帮助