// Code generated by protoc-gen-go. DO NOT EDIT. // source: menu.proto package user import ( fmt "fmt" proto "github.com/golang/protobuf/proto" math "math" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type MenuTree struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Sort int32 `protobuf:"varint,3,opt,name=sort,proto3" json:"sort,omitempty"` Children []*MenuTree `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *MenuTree) Reset() { *m = MenuTree{} } func (m *MenuTree) String() string { return proto.CompactTextString(m) } func (*MenuTree) ProtoMessage() {} func (*MenuTree) Descriptor() ([]byte, []int) { return fileDescriptor_0357f39af0c26546, []int{0} } func (m *MenuTree) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MenuTree.Unmarshal(m, b) } func (m *MenuTree) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MenuTree.Marshal(b, m, deterministic) } func (m *MenuTree) XXX_Merge(src proto.Message) { xxx_messageInfo_MenuTree.Merge(m, src) } func (m *MenuTree) XXX_Size() int { return xxx_messageInfo_MenuTree.Size(m) } func (m *MenuTree) XXX_DiscardUnknown() { xxx_messageInfo_MenuTree.DiscardUnknown(m) } var xxx_messageInfo_MenuTree proto.InternalMessageInfo func (m *MenuTree) GetId() string { if m != nil { return m.Id } return "" } func (m *MenuTree) GetName() string { if m != nil { return m.Name } return "" } func (m *MenuTree) GetSort() int32 { if m != nil { return m.Sort } return 0 } func (m *MenuTree) GetChildren() []*MenuTree { if m != nil { return m.Children } return nil } type GetMenuTreeReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetMenuTreeReq) Reset() { *m = GetMenuTreeReq{} } func (m *GetMenuTreeReq) String() string { return proto.CompactTextString(m) } func (*GetMenuTreeReq) ProtoMessage() {} func (*GetMenuTreeReq) Descriptor() ([]byte, []int) { return fileDescriptor_0357f39af0c26546, []int{1} } func (m *GetMenuTreeReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetMenuTreeReq.Unmarshal(m, b) } func (m *GetMenuTreeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetMenuTreeReq.Marshal(b, m, deterministic) } func (m *GetMenuTreeReq) XXX_Merge(src proto.Message) { xxx_messageInfo_GetMenuTreeReq.Merge(m, src) } func (m *GetMenuTreeReq) XXX_Size() int { return xxx_messageInfo_GetMenuTreeReq.Size(m) } func (m *GetMenuTreeReq) XXX_DiscardUnknown() { xxx_messageInfo_GetMenuTreeReq.DiscardUnknown(m) } var xxx_messageInfo_GetMenuTreeReq proto.InternalMessageInfo func (m *GetMenuTreeReq) GetUserId() string { if m != nil { return m.UserId } return "" } type GetMenuTreeReply struct { Menus []*MenuTree `protobuf:"bytes,1,rep,name=menus,proto3" json:"menus,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetMenuTreeReply) Reset() { *m = GetMenuTreeReply{} } func (m *GetMenuTreeReply) String() string { return proto.CompactTextString(m) } func (*GetMenuTreeReply) ProtoMessage() {} func (*GetMenuTreeReply) Descriptor() ([]byte, []int) { return fileDescriptor_0357f39af0c26546, []int{2} } func (m *GetMenuTreeReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetMenuTreeReply.Unmarshal(m, b) } func (m *GetMenuTreeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetMenuTreeReply.Marshal(b, m, deterministic) } func (m *GetMenuTreeReply) XXX_Merge(src proto.Message) { xxx_messageInfo_GetMenuTreeReply.Merge(m, src) } func (m *GetMenuTreeReply) XXX_Size() int { return xxx_messageInfo_GetMenuTreeReply.Size(m) } func (m *GetMenuTreeReply) XXX_DiscardUnknown() { xxx_messageInfo_GetMenuTreeReply.DiscardUnknown(m) } var xxx_messageInfo_GetMenuTreeReply proto.InternalMessageInfo func (m *GetMenuTreeReply) GetMenus() []*MenuTree { if m != nil { return m.Menus } return nil } type SaveMenuReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ParentId string `protobuf:"bytes,2,opt,name=parentId,proto3" json:"parentId,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Module string `protobuf:"bytes,4,opt,name=module,proto3" json:"module,omitempty"` Permission string `protobuf:"bytes,5,opt,name=permission,proto3" json:"permission,omitempty"` Sort int32 `protobuf:"varint,6,opt,name=sort,proto3" json:"sort,omitempty"` Icon string `protobuf:"bytes,7,opt,name=icon,proto3" json:"icon,omitempty"` Url string `protobuf:"bytes,8,opt,name=url,proto3" json:"url,omitempty"` Enable bool `protobuf:"varint,9,opt,name=enable,proto3" json:"enable,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *SaveMenuReq) Reset() { *m = SaveMenuReq{} } func (m *SaveMenuReq) String() string { return proto.CompactTextString(m) } func (*SaveMenuReq) ProtoMessage() {} func (*SaveMenuReq) Descriptor() ([]byte, []int) { return fileDescriptor_0357f39af0c26546, []int{3} } func (m *SaveMenuReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SaveMenuReq.Unmarshal(m, b) } func (m *SaveMenuReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SaveMenuReq.Marshal(b, m, deterministic) } func (m *SaveMenuReq) XXX_Merge(src proto.Message) { xxx_messageInfo_SaveMenuReq.Merge(m, src) } func (m *SaveMenuReq) XXX_Size() int { return xxx_messageInfo_SaveMenuReq.Size(m) } func (m *SaveMenuReq) XXX_DiscardUnknown() { xxx_messageInfo_SaveMenuReq.DiscardUnknown(m) } var xxx_messageInfo_SaveMenuReq proto.InternalMessageInfo func (m *SaveMenuReq) GetId() string { if m != nil { return m.Id } return "" } func (m *SaveMenuReq) GetParentId() string { if m != nil { return m.ParentId } return "" } func (m *SaveMenuReq) GetName() string { if m != nil { return m.Name } return "" } func (m *SaveMenuReq) GetModule() string { if m != nil { return m.Module } return "" } func (m *SaveMenuReq) GetPermission() string { if m != nil { return m.Permission } return "" } func (m *SaveMenuReq) GetSort() int32 { if m != nil { return m.Sort } return 0 } func (m *SaveMenuReq) GetIcon() string { if m != nil { return m.Icon } return "" } func (m *SaveMenuReq) GetUrl() string { if m != nil { return m.Url } return "" } func (m *SaveMenuReq) GetEnable() bool { if m != nil { return m.Enable } return false } type SaveMenuReply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *SaveMenuReply) Reset() { *m = SaveMenuReply{} } func (m *SaveMenuReply) String() string { return proto.CompactTextString(m) } func (*SaveMenuReply) ProtoMessage() {} func (*SaveMenuReply) Descriptor() ([]byte, []int) { return fileDescriptor_0357f39af0c26546, []int{4} } func (m *SaveMenuReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SaveMenuReply.Unmarshal(m, b) } func (m *SaveMenuReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SaveMenuReply.Marshal(b, m, deterministic) } func (m *SaveMenuReply) XXX_Merge(src proto.Message) { xxx_messageInfo_SaveMenuReply.Merge(m, src) } func (m *SaveMenuReply) XXX_Size() int { return xxx_messageInfo_SaveMenuReply.Size(m) } func (m *SaveMenuReply) XXX_DiscardUnknown() { xxx_messageInfo_SaveMenuReply.DiscardUnknown(m) } var xxx_messageInfo_SaveMenuReply proto.InternalMessageInfo func init() { proto.RegisterType((*MenuTree)(nil), "user.MenuTree") proto.RegisterType((*GetMenuTreeReq)(nil), "user.GetMenuTreeReq") proto.RegisterType((*GetMenuTreeReply)(nil), "user.GetMenuTreeReply") proto.RegisterType((*SaveMenuReq)(nil), "user.SaveMenuReq") proto.RegisterType((*SaveMenuReply)(nil), "user.SaveMenuReply") } func init() { proto.RegisterFile("menu.proto", fileDescriptor_0357f39af0c26546) } var fileDescriptor_0357f39af0c26546 = []byte{ // 335 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0xb1, 0x6e, 0xab, 0x40, 0x10, 0x7c, 0x67, 0x30, 0x0f, 0x2f, 0x8a, 0xe3, 0x6c, 0x22, 0xeb, 0xe4, 0x22, 0x42, 0x28, 0x05, 0x4a, 0xe1, 0xc2, 0x49, 0x91, 0x26, 0x75, 0xe4, 0x22, 0x0d, 0xce, 0x0f, 0x60, 0xb3, 0x52, 0x4e, 0x3a, 0x0e, 0x72, 0x80, 0x25, 0xb7, 0xf9, 0xc9, 0xfc, 0x4e, 0x74, 0x87, 0x21, 0xd8, 0x72, 0xb7, 0x33, 0xbb, 0xcc, 0x30, 0xa3, 0x03, 0xc8, 0x49, 0x35, 0xcb, 0x52, 0x17, 0x75, 0x81, 0x6e, 0x53, 0x91, 0x8e, 0x14, 0xf8, 0xef, 0xa4, 0x9a, 0x0f, 0x4d, 0x84, 0x53, 0x18, 0x89, 0x8c, 0xb3, 0x90, 0xc5, 0x93, 0x64, 0x24, 0x32, 0x44, 0x70, 0x55, 0x9a, 0x13, 0x1f, 0x59, 0xc6, 0xce, 0x86, 0xab, 0x0a, 0x5d, 0x73, 0x27, 0x64, 0xf1, 0x38, 0xb1, 0x33, 0x3e, 0x82, 0xbf, 0xfb, 0x14, 0x32,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