123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.35.2
- // protoc v3.19.4
- // source: proto/iam.proto
- package iam
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- type GetAdminUserByIDReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- UID int64 `protobuf:"varint,1,opt,name=UID,proto3" json:"UID,omitempty"`
- }
- func (x *GetAdminUserByIDReq) Reset() {
- *x = GetAdminUserByIDReq{}
- mi := &file_proto_iam_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GetAdminUserByIDReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetAdminUserByIDReq) ProtoMessage() {}
- func (x *GetAdminUserByIDReq) ProtoReflect() protoreflect.Message {
- mi := &file_proto_iam_proto_msgTypes[0]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetAdminUserByIDReq.ProtoReflect.Descriptor instead.
- func (*GetAdminUserByIDReq) Descriptor() ([]byte, []int) {
- return file_proto_iam_proto_rawDescGZIP(), []int{0}
- }
- func (x *GetAdminUserByIDReq) GetUID() int64 {
- if x != nil {
- return x.UID
- }
- return 0
- }
- type GetAdminUserByIDResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Code int64 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
- Data *AdminUserInfo `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"`
- }
- func (x *GetAdminUserByIDResp) Reset() {
- *x = GetAdminUserByIDResp{}
- mi := &file_proto_iam_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GetAdminUserByIDResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetAdminUserByIDResp) ProtoMessage() {}
- func (x *GetAdminUserByIDResp) ProtoReflect() protoreflect.Message {
- mi := &file_proto_iam_proto_msgTypes[1]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetAdminUserByIDResp.ProtoReflect.Descriptor instead.
- func (*GetAdminUserByIDResp) Descriptor() ([]byte, []int) {
- return file_proto_iam_proto_rawDescGZIP(), []int{1}
- }
- func (x *GetAdminUserByIDResp) GetCode() int64 {
- if x != nil {
- return x.Code
- }
- return 0
- }
- func (x *GetAdminUserByIDResp) GetMsg() string {
- if x != nil {
- return x.Msg
- }
- return ""
- }
- func (x *GetAdminUserByIDResp) GetData() *AdminUserInfo {
- if x != nil {
- return x.Data
- }
- return nil
- }
- type BatchGetAdminUserReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- UIds []int64 `protobuf:"varint,1,rep,packed,name=UIds,proto3" json:"UIds,omitempty"`
- }
- func (x *BatchGetAdminUserReq) Reset() {
- *x = BatchGetAdminUserReq{}
- mi := &file_proto_iam_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *BatchGetAdminUserReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*BatchGetAdminUserReq) ProtoMessage() {}
- func (x *BatchGetAdminUserReq) ProtoReflect() protoreflect.Message {
- mi := &file_proto_iam_proto_msgTypes[2]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use BatchGetAdminUserReq.ProtoReflect.Descriptor instead.
- func (*BatchGetAdminUserReq) Descriptor() ([]byte, []int) {
- return file_proto_iam_proto_rawDescGZIP(), []int{2}
- }
- func (x *BatchGetAdminUserReq) GetUIds() []int64 {
- if x != nil {
- return x.UIds
- }
- return nil
- }
- type AdminUserInfo struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
- RoleID int64 `protobuf:"varint,2,opt,name=RoleID,proto3" json:"RoleID,omitempty"`
- UserName string `protobuf:"bytes,3,opt,name=UserName,proto3" json:"UserName,omitempty"`
- NickName string `protobuf:"bytes,4,opt,name=NickName,proto3" json:"NickName,omitempty"`
- Status int64 `protobuf:"varint,5,opt,name=Status,proto3" json:"Status,omitempty"`
- }
- func (x *AdminUserInfo) Reset() {
- *x = AdminUserInfo{}
- mi := &file_proto_iam_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *AdminUserInfo) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AdminUserInfo) ProtoMessage() {}
- func (x *AdminUserInfo) ProtoReflect() protoreflect.Message {
- mi := &file_proto_iam_proto_msgTypes[3]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use AdminUserInfo.ProtoReflect.Descriptor instead.
- func (*AdminUserInfo) Descriptor() ([]byte, []int) {
- return file_proto_iam_proto_rawDescGZIP(), []int{3}
- }
- func (x *AdminUserInfo) GetID() int64 {
- if x != nil {
- return x.ID
- }
- return 0
- }
- func (x *AdminUserInfo) GetRoleID() int64 {
- if x != nil {
- return x.RoleID
- }
- return 0
- }
- func (x *AdminUserInfo) GetUserName() string {
- if x != nil {
- return x.UserName
- }
- return ""
- }
- func (x *AdminUserInfo) GetNickName() string {
- if x != nil {
- return x.NickName
- }
- return ""
- }
- func (x *AdminUserInfo) GetStatus() int64 {
- if x != nil {
- return x.Status
- }
- return 0
- }
- type BatchGetAdminUserResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Code int64 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
- Data []*AdminUserInfo `protobuf:"bytes,3,rep,name=Data,proto3" json:"Data,omitempty"`
- }
- func (x *BatchGetAdminUserResp) Reset() {
- *x = BatchGetAdminUserResp{}
- mi := &file_proto_iam_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *BatchGetAdminUserResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*BatchGetAdminUserResp) ProtoMessage() {}
- func (x *BatchGetAdminUserResp) ProtoReflect() protoreflect.Message {
- mi := &file_proto_iam_proto_msgTypes[4]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use BatchGetAdminUserResp.ProtoReflect.Descriptor instead.
- func (*BatchGetAdminUserResp) Descriptor() ([]byte, []int) {
- return file_proto_iam_proto_rawDescGZIP(), []int{4}
- }
- func (x *BatchGetAdminUserResp) GetCode() int64 {
- if x != nil {
- return x.Code
- }
- return 0
- }
- func (x *BatchGetAdminUserResp) GetMsg() string {
- if x != nil {
- return x.Msg
- }
- return ""
- }
- func (x *BatchGetAdminUserResp) GetData() []*AdminUserInfo {
- if x != nil {
- return x.Data
- }
- return nil
- }
- type GetAdminUserByNickNameReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- NickName string `protobuf:"bytes,1,opt,name=NickName,proto3" json:"NickName,omitempty"`
- }
- func (x *GetAdminUserByNickNameReq) Reset() {
- *x = GetAdminUserByNickNameReq{}
- mi := &file_proto_iam_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GetAdminUserByNickNameReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetAdminUserByNickNameReq) ProtoMessage() {}
- func (x *GetAdminUserByNickNameReq) ProtoReflect() protoreflect.Message {
- mi := &file_proto_iam_proto_msgTypes[5]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetAdminUserByNickNameReq.ProtoReflect.Descriptor instead.
- func (*GetAdminUserByNickNameReq) Descriptor() ([]byte, []int) {
- return file_proto_iam_proto_rawDescGZIP(), []int{5}
- }
- func (x *GetAdminUserByNickNameReq) GetNickName() string {
- if x != nil {
- return x.NickName
- }
- return ""
- }
- type GetAdminUserByNickNameResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Code int64 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
- Data *AdminUserInfo `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"`
- }
- func (x *GetAdminUserByNickNameResp) Reset() {
- *x = GetAdminUserByNickNameResp{}
- mi := &file_proto_iam_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GetAdminUserByNickNameResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetAdminUserByNickNameResp) ProtoMessage() {}
- func (x *GetAdminUserByNickNameResp) ProtoReflect() protoreflect.Message {
- mi := &file_proto_iam_proto_msgTypes[6]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetAdminUserByNickNameResp.ProtoReflect.Descriptor instead.
- func (*GetAdminUserByNickNameResp) Descriptor() ([]byte, []int) {
- return file_proto_iam_proto_rawDescGZIP(), []int{6}
- }
- func (x *GetAdminUserByNickNameResp) GetCode() int64 {
- if x != nil {
- return x.Code
- }
- return 0
- }
- func (x *GetAdminUserByNickNameResp) GetMsg() string {
- if x != nil {
- return x.Msg
- }
- return ""
- }
- func (x *GetAdminUserByNickNameResp) GetData() *AdminUserInfo {
- if x != nil {
- return x.Data
- }
- return nil
- }
- type GetRoleSystemsReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- RoleID int64 `protobuf:"varint,1,opt,name=RoleID,proto3" json:"RoleID,omitempty"`
- }
- func (x *GetRoleSystemsReq) Reset() {
- *x = GetRoleSystemsReq{}
- mi := &file_proto_iam_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GetRoleSystemsReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetRoleSystemsReq) ProtoMessage() {}
- func (x *GetRoleSystemsReq) ProtoReflect() protoreflect.Message {
- mi := &file_proto_iam_proto_msgTypes[7]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetRoleSystemsReq.ProtoReflect.Descriptor instead.
- func (*GetRoleSystemsReq) Descriptor() ([]byte, []int) {
- return file_proto_iam_proto_rawDescGZIP(), []int{7}
- }
- func (x *GetRoleSystemsReq) GetRoleID() int64 {
- if x != nil {
- return x.RoleID
- }
- return 0
- }
- type SystemInfo struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
- Url string `protobuf:"bytes,3,opt,name=Url,proto3" json:"Url,omitempty"`
- }
- func (x *SystemInfo) Reset() {
- *x = SystemInfo{}
- mi := &file_proto_iam_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SystemInfo) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SystemInfo) ProtoMessage() {}
- func (x *SystemInfo) ProtoReflect() protoreflect.Message {
- mi := &file_proto_iam_proto_msgTypes[8]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SystemInfo.ProtoReflect.Descriptor instead.
- func (*SystemInfo) Descriptor() ([]byte, []int) {
- return file_proto_iam_proto_rawDescGZIP(), []int{8}
- }
- func (x *SystemInfo) GetID() int64 {
- if x != nil {
- return x.ID
- }
- return 0
- }
- func (x *SystemInfo) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *SystemInfo) GetUrl() string {
- if x != nil {
- return x.Url
- }
- return ""
- }
- type GetRoleSystemsResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Code int64 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
- Data []*SystemInfo `protobuf:"bytes,3,rep,name=Data,proto3" json:"Data,omitempty"`
- }
- func (x *GetRoleSystemsResp) Reset() {
- *x = GetRoleSystemsResp{}
- mi := &file_proto_iam_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GetRoleSystemsResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetRoleSystemsResp) ProtoMessage() {}
- func (x *GetRoleSystemsResp) ProtoReflect() protoreflect.Message {
- mi := &file_proto_iam_proto_msgTypes[9]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetRoleSystemsResp.ProtoReflect.Descriptor instead.
- func (*GetRoleSystemsResp) Descriptor() ([]byte, []int) {
- return file_proto_iam_proto_rawDescGZIP(), []int{9}
- }
- func (x *GetRoleSystemsResp) GetCode() int64 {
- if x != nil {
- return x.Code
- }
- return 0
- }
- func (x *GetRoleSystemsResp) GetMsg() string {
- if x != nil {
- return x.Msg
- }
- return ""
- }
- func (x *GetRoleSystemsResp) GetData() []*SystemInfo {
- if x != nil {
- return x.Data
- }
- return nil
- }
- var File_proto_iam_proto protoreflect.FileDescriptor
- var file_proto_iam_proto_rawDesc = []byte{
- 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x12, 0x03, 0x69, 0x61, 0x6d, 0x22, 0x27, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d,
- 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a,
- 0x03, 0x55, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x55, 0x49, 0x44, 0x22,
- 0x64, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42,
- 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4d,
- 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x26, 0x0a,
- 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x69, 0x61,
- 0x6d, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52,
- 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x2a, 0x0a, 0x14, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65,
- 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a,
- 0x04, 0x55, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x04, 0x55, 0x49, 0x64,
- 0x73, 0x22, 0x87, 0x01, 0x0a, 0x0d, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x49,
- 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x02, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x44, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x06, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x55,
- 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x55,
- 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x4e,
- 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x4e,
- 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x65, 0x0a, 0x15, 0x42,
- 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72,
- 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x03, 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x26, 0x0a, 0x04, 0x44, 0x61,
- 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x41,
- 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x44, 0x61,
- 0x74, 0x61, 0x22, 0x37, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73,
- 0x65, 0x72, 0x42, 0x79, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x12,
- 0x1a, 0x0a, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x6a, 0x0a, 0x1a, 0x47,
- 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x69, 0x63,
- 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x64,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a,
- 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x12,
- 0x26, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e,
- 0x69, 0x61, 0x6d, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66,
- 0x6f, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x2b, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x52, 0x6f,
- 0x6c, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06,
- 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x52, 0x6f,
- 0x6c, 0x65, 0x49, 0x44, 0x22, 0x42, 0x0a, 0x0a, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x6e,
- 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02,
- 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x03, 0x55, 0x72, 0x6c, 0x22, 0x5f, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x52,
- 0x6f, 0x6c, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12,
- 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x43, 0x6f,
- 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x03, 0x4d, 0x73, 0x67, 0x12, 0x23, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49,
- 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x32, 0xc0, 0x02, 0x0a, 0x03, 0x49, 0x61,
- 0x6d, 0x12, 0x49, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65,
- 0x72, 0x42, 0x79, 0x49, 0x44, 0x12, 0x18, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x47, 0x65, 0x74, 0x41,
- 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x1a,
- 0x19, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73,
- 0x65, 0x72, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x11,
- 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65,
- 0x72, 0x12, 0x19, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74,
- 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x69,
- 0x61, 0x6d, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e,
- 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x16, 0x47, 0x65,
- 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x69, 0x63, 0x6b,
- 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64,
- 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d,
- 0x65, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64,
- 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d,
- 0x65, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x52, 0x6f,
- 0x6c, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x16, 0x2e, 0x69, 0x61, 0x6d, 0x2e,
- 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65,
- 0x71, 0x1a, 0x17, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x53,
- 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x42, 0x07, 0x5a, 0x05,
- 0x2e, 0x2f, 0x69, 0x61, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_proto_iam_proto_rawDescOnce sync.Once
- file_proto_iam_proto_rawDescData = file_proto_iam_proto_rawDesc
- )
- func file_proto_iam_proto_rawDescGZIP() []byte {
- file_proto_iam_proto_rawDescOnce.Do(func() {
- file_proto_iam_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_iam_proto_rawDescData)
- })
- return file_proto_iam_proto_rawDescData
- }
- var file_proto_iam_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
- var file_proto_iam_proto_goTypes = []any{
- (*GetAdminUserByIDReq)(nil), // 0: iam.GetAdminUserByIDReq
- (*GetAdminUserByIDResp)(nil), // 1: iam.GetAdminUserByIDResp
- (*BatchGetAdminUserReq)(nil), // 2: iam.BatchGetAdminUserReq
- (*AdminUserInfo)(nil), // 3: iam.AdminUserInfo
- (*BatchGetAdminUserResp)(nil), // 4: iam.BatchGetAdminUserResp
- (*GetAdminUserByNickNameReq)(nil), // 5: iam.GetAdminUserByNickNameReq
- (*GetAdminUserByNickNameResp)(nil), // 6: iam.GetAdminUserByNickNameResp
- (*GetRoleSystemsReq)(nil), // 7: iam.GetRoleSystemsReq
- (*SystemInfo)(nil), // 8: iam.SystemInfo
- (*GetRoleSystemsResp)(nil), // 9: iam.GetRoleSystemsResp
- }
- var file_proto_iam_proto_depIdxs = []int32{
- 3, // 0: iam.GetAdminUserByIDResp.Data:type_name -> iam.AdminUserInfo
- 3, // 1: iam.BatchGetAdminUserResp.Data:type_name -> iam.AdminUserInfo
- 3, // 2: iam.GetAdminUserByNickNameResp.Data:type_name -> iam.AdminUserInfo
- 8, // 3: iam.GetRoleSystemsResp.Data:type_name -> iam.SystemInfo
- 0, // 4: iam.Iam.GetAdminUserByID:input_type -> iam.GetAdminUserByIDReq
- 2, // 5: iam.Iam.BatchGetAdminUser:input_type -> iam.BatchGetAdminUserReq
- 5, // 6: iam.Iam.GetAdminUserByNickName:input_type -> iam.GetAdminUserByNickNameReq
- 7, // 7: iam.Iam.GetRoleSystems:input_type -> iam.GetRoleSystemsReq
- 1, // 8: iam.Iam.GetAdminUserByID:output_type -> iam.GetAdminUserByIDResp
- 4, // 9: iam.Iam.BatchGetAdminUser:output_type -> iam.BatchGetAdminUserResp
- 6, // 10: iam.Iam.GetAdminUserByNickName:output_type -> iam.GetAdminUserByNickNameResp
- 9, // 11: iam.Iam.GetRoleSystems:output_type -> iam.GetRoleSystemsResp
- 8, // [8:12] is the sub-list for method output_type
- 4, // [4:8] is the sub-list for method input_type
- 4, // [4:4] is the sub-list for extension type_name
- 4, // [4:4] is the sub-list for extension extendee
- 0, // [0:4] is the sub-list for field type_name
- }
- func init() { file_proto_iam_proto_init() }
- func file_proto_iam_proto_init() {
- if File_proto_iam_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_proto_iam_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 10,
- NumExtensions: 0,
- NumServices: 1,
- },
- GoTypes: file_proto_iam_proto_goTypes,
- DependencyIndexes: file_proto_iam_proto_depIdxs,
- MessageInfos: file_proto_iam_proto_msgTypes,
- }.Build()
- File_proto_iam_proto = out.File
- file_proto_iam_proto_rawDesc = nil
- file_proto_iam_proto_goTypes = nil
- file_proto_iam_proto_depIdxs = nil
- }
|