Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
im-microservice
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Li Feifei
im-microservice
Commits
79dee922
Commit
79dee922
authored
Jul 07, 2020
by
Li Feifei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add protobuf file
parent
7b3f643c
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1516 additions
and
117 deletions
+1516
-117
im_chat_room_user.pb.go
pb/im_chat_room_user.pb.go
+1205
-0
im_chat_room_user.validator.pb.go
pb/im_chat_room_user.validator.pb.go
+115
-0
im_user.pb.go
pb/im_user.pb.go
+112
-113
im_user.validator.pb.go
pb/im_user.validator.pb.go
+0
-3
im_chat_room_user.proto
u-proto/im_chat_room_user.proto
+83
-0
im_user.proto
u-proto/im_user.proto
+1
-1
No files found.
pb/im_chat_room_user.pb.go
0 → 100644
View file @
79dee922
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.12.3
// source: u-proto/im_chat_room_user.proto
package
pb
import
(
context
"context"
proto
"github.com/golang/protobuf/proto"
_
"github.com/mwitkow/go-proto-validators"
grpc
"google.golang.org/grpc"
codes
"google.golang.org/grpc/codes"
status
"google.golang.org/grpc/status"
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
)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const
_
=
proto
.
ProtoPackageIsVersion4
//添加操作者(创建者)
type
RoomUserAddOpeRequest
struct
{
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
unknownFields
protoimpl
.
UnknownFields
Common
*
Common
`protobuf:"bytes,1,opt,name=Common,proto3" json:"Common,omitempty"`
RoomId
int64
`protobuf:"varint,2,opt,name=RoomId,proto3" json:"RoomId,omitempty"`
Operator
string
`protobuf:"bytes,3,opt,name=Operator,proto3" json:"Operator,omitempty"`
}
func
(
x
*
RoomUserAddOpeRequest
)
Reset
()
{
*
x
=
RoomUserAddOpeRequest
{}
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_u_proto_im_chat_room_user_proto_msgTypes
[
0
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
}
}
func
(
x
*
RoomUserAddOpeRequest
)
String
()
string
{
return
protoimpl
.
X
.
MessageStringOf
(
x
)
}
func
(
*
RoomUserAddOpeRequest
)
ProtoMessage
()
{}
func
(
x
*
RoomUserAddOpeRequest
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_u_proto_im_chat_room_user_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 RoomUserAddOpeRequest.ProtoReflect.Descriptor instead.
func
(
*
RoomUserAddOpeRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_u_proto_im_chat_room_user_proto_rawDescGZIP
(),
[]
int
{
0
}
}
func
(
x
*
RoomUserAddOpeRequest
)
GetCommon
()
*
Common
{
if
x
!=
nil
{
return
x
.
Common
}
return
nil
}
func
(
x
*
RoomUserAddOpeRequest
)
GetRoomId
()
int64
{
if
x
!=
nil
{
return
x
.
RoomId
}
return
0
}
func
(
x
*
RoomUserAddOpeRequest
)
GetOperator
()
string
{
if
x
!=
nil
{
return
x
.
Operator
}
return
""
}
//添加用户
type
RoomUserAddRequest
struct
{
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
unknownFields
protoimpl
.
UnknownFields
Common
*
Common
`protobuf:"bytes,1,opt,name=Common,proto3" json:"Common,omitempty"`
RoomId
int64
`protobuf:"varint,2,opt,name=RoomId,proto3" json:"RoomId,omitempty"`
Accid
string
`protobuf:"bytes,4,opt,name=Accid,proto3" json:"Accid,omitempty"`
}
func
(
x
*
RoomUserAddRequest
)
Reset
()
{
*
x
=
RoomUserAddRequest
{}
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_u_proto_im_chat_room_user_proto_msgTypes
[
1
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
}
}
func
(
x
*
RoomUserAddRequest
)
String
()
string
{
return
protoimpl
.
X
.
MessageStringOf
(
x
)
}
func
(
*
RoomUserAddRequest
)
ProtoMessage
()
{}
func
(
x
*
RoomUserAddRequest
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_u_proto_im_chat_room_user_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 RoomUserAddRequest.ProtoReflect.Descriptor instead.
func
(
*
RoomUserAddRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_u_proto_im_chat_room_user_proto_rawDescGZIP
(),
[]
int
{
1
}
}
func
(
x
*
RoomUserAddRequest
)
GetCommon
()
*
Common
{
if
x
!=
nil
{
return
x
.
Common
}
return
nil
}
func
(
x
*
RoomUserAddRequest
)
GetRoomId
()
int64
{
if
x
!=
nil
{
return
x
.
RoomId
}
return
0
}
func
(
x
*
RoomUserAddRequest
)
GetAccid
()
string
{
if
x
!=
nil
{
return
x
.
Accid
}
return
""
}
//设置权限
type
RoomUserSetRoleRequest
struct
{
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
unknownFields
protoimpl
.
UnknownFields
Common
*
Common
`protobuf:"bytes,1,opt,name=Common,proto3" json:"Common,omitempty"`
RoomId
int64
`protobuf:"varint,2,opt,name=RoomId,proto3" json:"RoomId,omitempty"`
Operator
string
`protobuf:"bytes,3,opt,name=Operator,proto3" json:"Operator,omitempty"`
Accid
string
`protobuf:"bytes,4,opt,name=Accid,proto3" json:"Accid,omitempty"`
Role
int64
`protobuf:"varint,5,opt,name=Role,proto3" json:"Role,omitempty"`
}
func
(
x
*
RoomUserSetRoleRequest
)
Reset
()
{
*
x
=
RoomUserSetRoleRequest
{}
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_u_proto_im_chat_room_user_proto_msgTypes
[
2
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
}
}
func
(
x
*
RoomUserSetRoleRequest
)
String
()
string
{
return
protoimpl
.
X
.
MessageStringOf
(
x
)
}
func
(
*
RoomUserSetRoleRequest
)
ProtoMessage
()
{}
func
(
x
*
RoomUserSetRoleRequest
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_u_proto_im_chat_room_user_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 RoomUserSetRoleRequest.ProtoReflect.Descriptor instead.
func
(
*
RoomUserSetRoleRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_u_proto_im_chat_room_user_proto_rawDescGZIP
(),
[]
int
{
2
}
}
func
(
x
*
RoomUserSetRoleRequest
)
GetCommon
()
*
Common
{
if
x
!=
nil
{
return
x
.
Common
}
return
nil
}
func
(
x
*
RoomUserSetRoleRequest
)
GetRoomId
()
int64
{
if
x
!=
nil
{
return
x
.
RoomId
}
return
0
}
func
(
x
*
RoomUserSetRoleRequest
)
GetOperator
()
string
{
if
x
!=
nil
{
return
x
.
Operator
}
return
""
}
func
(
x
*
RoomUserSetRoleRequest
)
GetAccid
()
string
{
if
x
!=
nil
{
return
x
.
Accid
}
return
""
}
func
(
x
*
RoomUserSetRoleRequest
)
GetRole
()
int64
{
if
x
!=
nil
{
return
x
.
Role
}
return
0
}
//设置用户返回
type
RoomUserReply
struct
{
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
unknownFields
protoimpl
.
UnknownFields
RoomId
int64
`protobuf:"varint,1,opt,name=RoomId,proto3" json:"RoomId,omitempty"`
Operator
string
`protobuf:"bytes,2,opt,name=Operator,proto3" json:"Operator,omitempty"`
Accid
string
`protobuf:"bytes,3,opt,name=Accid,proto3" json:"Accid,omitempty"`
Role
int64
`protobuf:"varint,4,opt,name=Role,proto3" json:"Role,omitempty"`
}
func
(
x
*
RoomUserReply
)
Reset
()
{
*
x
=
RoomUserReply
{}
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_u_proto_im_chat_room_user_proto_msgTypes
[
3
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
}
}
func
(
x
*
RoomUserReply
)
String
()
string
{
return
protoimpl
.
X
.
MessageStringOf
(
x
)
}
func
(
*
RoomUserReply
)
ProtoMessage
()
{}
func
(
x
*
RoomUserReply
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_u_proto_im_chat_room_user_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 RoomUserReply.ProtoReflect.Descriptor instead.
func
(
*
RoomUserReply
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_u_proto_im_chat_room_user_proto_rawDescGZIP
(),
[]
int
{
3
}
}
func
(
x
*
RoomUserReply
)
GetRoomId
()
int64
{
if
x
!=
nil
{
return
x
.
RoomId
}
return
0
}
func
(
x
*
RoomUserReply
)
GetOperator
()
string
{
if
x
!=
nil
{
return
x
.
Operator
}
return
""
}
func
(
x
*
RoomUserReply
)
GetAccid
()
string
{
if
x
!=
nil
{
return
x
.
Accid
}
return
""
}
func
(
x
*
RoomUserReply
)
GetRole
()
int64
{
if
x
!=
nil
{
return
x
.
Role
}
return
0
}
//获取房间单个用户属性
type
RoomUserOneRequest
struct
{
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
unknownFields
protoimpl
.
UnknownFields
Common
*
Common
`protobuf:"bytes,1,opt,name=Common,proto3" json:"Common,omitempty"`
RoomId
int64
`protobuf:"varint,2,opt,name=RoomId,proto3" json:"RoomId,omitempty"`
Accid
string
`protobuf:"bytes,3,opt,name=Accid,proto3" json:"Accid,omitempty"`
}
func
(
x
*
RoomUserOneRequest
)
Reset
()
{
*
x
=
RoomUserOneRequest
{}
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_u_proto_im_chat_room_user_proto_msgTypes
[
4
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
}
}
func
(
x
*
RoomUserOneRequest
)
String
()
string
{
return
protoimpl
.
X
.
MessageStringOf
(
x
)
}
func
(
*
RoomUserOneRequest
)
ProtoMessage
()
{}
func
(
x
*
RoomUserOneRequest
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_u_proto_im_chat_room_user_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 RoomUserOneRequest.ProtoReflect.Descriptor instead.
func
(
*
RoomUserOneRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_u_proto_im_chat_room_user_proto_rawDescGZIP
(),
[]
int
{
4
}
}
func
(
x
*
RoomUserOneRequest
)
GetCommon
()
*
Common
{
if
x
!=
nil
{
return
x
.
Common
}
return
nil
}
func
(
x
*
RoomUserOneRequest
)
GetRoomId
()
int64
{
if
x
!=
nil
{
return
x
.
RoomId
}
return
0
}
func
(
x
*
RoomUserOneRequest
)
GetAccid
()
string
{
if
x
!=
nil
{
return
x
.
Accid
}
return
""
}
//返回房间单个用户属性
type
RoomUserOneReply
struct
{
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
unknownFields
protoimpl
.
UnknownFields
Id
int64
`protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
RoomId
int64
`protobuf:"varint,2,opt,name=RoomId,proto3" json:"RoomId,omitempty"`
Operator
string
`protobuf:"bytes,3,opt,name=Operator,proto3" json:"Operator,omitempty"`
Accid
string
`protobuf:"bytes,4,opt,name=Accid,proto3" json:"Accid,omitempty"`
Role
int64
`protobuf:"varint,5,opt,name=Role,proto3" json:"Role,omitempty"`
Createtime
string
`protobuf:"bytes,6,opt,name=Createtime,proto3" json:"Createtime,omitempty"`
Updatetime
string
`protobuf:"bytes,7,opt,name=Updatetime,proto3" json:"Updatetime,omitempty"`
}
func
(
x
*
RoomUserOneReply
)
Reset
()
{
*
x
=
RoomUserOneReply
{}
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_u_proto_im_chat_room_user_proto_msgTypes
[
5
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
}
}
func
(
x
*
RoomUserOneReply
)
String
()
string
{
return
protoimpl
.
X
.
MessageStringOf
(
x
)
}
func
(
*
RoomUserOneReply
)
ProtoMessage
()
{}
func
(
x
*
RoomUserOneReply
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_u_proto_im_chat_room_user_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 RoomUserOneReply.ProtoReflect.Descriptor instead.
func
(
*
RoomUserOneReply
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_u_proto_im_chat_room_user_proto_rawDescGZIP
(),
[]
int
{
5
}
}
func
(
x
*
RoomUserOneReply
)
GetId
()
int64
{
if
x
!=
nil
{
return
x
.
Id
}
return
0
}
func
(
x
*
RoomUserOneReply
)
GetRoomId
()
int64
{
if
x
!=
nil
{
return
x
.
RoomId
}
return
0
}
func
(
x
*
RoomUserOneReply
)
GetOperator
()
string
{
if
x
!=
nil
{
return
x
.
Operator
}
return
""
}
func
(
x
*
RoomUserOneReply
)
GetAccid
()
string
{
if
x
!=
nil
{
return
x
.
Accid
}
return
""
}
func
(
x
*
RoomUserOneReply
)
GetRole
()
int64
{
if
x
!=
nil
{
return
x
.
Role
}
return
0
}
func
(
x
*
RoomUserOneReply
)
GetCreatetime
()
string
{
if
x
!=
nil
{
return
x
.
Createtime
}
return
""
}
func
(
x
*
RoomUserOneReply
)
GetUpdatetime
()
string
{
if
x
!=
nil
{
return
x
.
Updatetime
}
return
""
}
//获取房间用户列表
type
RoomUserListRequest
struct
{
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
unknownFields
protoimpl
.
UnknownFields
Common
*
Common
`protobuf:"bytes,1,opt,name=Common,proto3" json:"Common,omitempty"`
Page
int64
`protobuf:"varint,2,opt,name=Page,proto3" json:"Page,omitempty"`
RoomId
int64
`protobuf:"varint,3,opt,name=RoomId,proto3" json:"RoomId,omitempty"`
Role
int64
`protobuf:"varint,4,opt,name=Role,proto3" json:"Role,omitempty"`
Accid
string
`protobuf:"bytes,5,opt,name=Accid,proto3" json:"Accid,omitempty"`
}
func
(
x
*
RoomUserListRequest
)
Reset
()
{
*
x
=
RoomUserListRequest
{}
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_u_proto_im_chat_room_user_proto_msgTypes
[
6
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
}
}
func
(
x
*
RoomUserListRequest
)
String
()
string
{
return
protoimpl
.
X
.
MessageStringOf
(
x
)
}
func
(
*
RoomUserListRequest
)
ProtoMessage
()
{}
func
(
x
*
RoomUserListRequest
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_u_proto_im_chat_room_user_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 RoomUserListRequest.ProtoReflect.Descriptor instead.
func
(
*
RoomUserListRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_u_proto_im_chat_room_user_proto_rawDescGZIP
(),
[]
int
{
6
}
}
func
(
x
*
RoomUserListRequest
)
GetCommon
()
*
Common
{
if
x
!=
nil
{
return
x
.
Common
}
return
nil
}
func
(
x
*
RoomUserListRequest
)
GetPage
()
int64
{
if
x
!=
nil
{
return
x
.
Page
}
return
0
}
func
(
x
*
RoomUserListRequest
)
GetRoomId
()
int64
{
if
x
!=
nil
{
return
x
.
RoomId
}
return
0
}
func
(
x
*
RoomUserListRequest
)
GetRole
()
int64
{
if
x
!=
nil
{
return
x
.
Role
}
return
0
}
func
(
x
*
RoomUserListRequest
)
GetAccid
()
string
{
if
x
!=
nil
{
return
x
.
Accid
}
return
""
}
//返回房间用户列表
type
RoomUserListReply
struct
{
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
unknownFields
protoimpl
.
UnknownFields
List
[]
*
RoomUserOneReply
`protobuf:"bytes,1,rep,name=List,proto3" json:"List,omitempty"`
Paginate
*
Page
`protobuf:"bytes,2,opt,name=Paginate,proto3" json:"Paginate,omitempty"`
}
func
(
x
*
RoomUserListReply
)
Reset
()
{
*
x
=
RoomUserListReply
{}
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_u_proto_im_chat_room_user_proto_msgTypes
[
7
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
}
}
func
(
x
*
RoomUserListReply
)
String
()
string
{
return
protoimpl
.
X
.
MessageStringOf
(
x
)
}
func
(
*
RoomUserListReply
)
ProtoMessage
()
{}
func
(
x
*
RoomUserListReply
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_u_proto_im_chat_room_user_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 RoomUserListReply.ProtoReflect.Descriptor instead.
func
(
*
RoomUserListReply
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_u_proto_im_chat_room_user_proto_rawDescGZIP
(),
[]
int
{
7
}
}
func
(
x
*
RoomUserListReply
)
GetList
()
[]
*
RoomUserOneReply
{
if
x
!=
nil
{
return
x
.
List
}
return
nil
}
func
(
x
*
RoomUserListReply
)
GetPaginate
()
*
Page
{
if
x
!=
nil
{
return
x
.
Paginate
}
return
nil
}
//删除房间用户
type
RoomUserDelReply
struct
{
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
unknownFields
protoimpl
.
UnknownFields
}
func
(
x
*
RoomUserDelReply
)
Reset
()
{
*
x
=
RoomUserDelReply
{}
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_u_proto_im_chat_room_user_proto_msgTypes
[
8
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
}
}
func
(
x
*
RoomUserDelReply
)
String
()
string
{
return
protoimpl
.
X
.
MessageStringOf
(
x
)
}
func
(
*
RoomUserDelReply
)
ProtoMessage
()
{}
func
(
x
*
RoomUserDelReply
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_u_proto_im_chat_room_user_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 RoomUserDelReply.ProtoReflect.Descriptor instead.
func
(
*
RoomUserDelReply
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_u_proto_im_chat_room_user_proto_rawDescGZIP
(),
[]
int
{
8
}
}
var
File_u_proto_im_chat_room_user_proto
protoreflect
.
FileDescriptor
var
file_u_proto_im_chat_room_user_proto_rawDesc
=
[]
byte
{
0x0a
,
0x1f
,
0x75
,
0x2d
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x2f
,
0x69
,
0x6d
,
0x5f
,
0x63
,
0x68
,
0x61
,
0x74
,
0x5f
,
0x72
,
0x6f
,
0x6f
,
0x6d
,
0x5f
,
0x75
,
0x73
,
0x65
,
0x72
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x12
,
0x02
,
0x70
,
0x62
,
0x1a
,
0x14
,
0x75
,
0x2d
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x2f
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x1a
,
0x36
,
0x67
,
0x69
,
0x74
,
0x68
,
0x75
,
0x62
,
0x2e
,
0x63
,
0x6f
,
0x6d
,
0x2f
,
0x6d
,
0x77
,
0x69
,
0x74
,
0x6b
,
0x6f
,
0x77
,
0x2f
,
0x67
,
0x6f
,
0x2d
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x2d
,
0x76
,
0x61
,
0x6c
,
0x69
,
0x64
,
0x61
,
0x74
,
0x6f
,
0x72
,
0x73
,
0x2f
,
0x76
,
0x61
,
0x6c
,
0x69
,
0x64
,
0x61
,
0x74
,
0x6f
,
0x72
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x22
,
0x7f
,
0x0a
,
0x15
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x41
,
0x64
,
0x64
,
0x4f
,
0x70
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x1e
,
0x0a
,
0x06
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x49
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x03
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x10
,
0x00
,
0x52
,
0x06
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x49
,
0x64
,
0x12
,
0x22
,
0x0a
,
0x08
,
0x4f
,
0x70
,
0x65
,
0x72
,
0x61
,
0x74
,
0x6f
,
0x72
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x08
,
0x4f
,
0x70
,
0x65
,
0x72
,
0x61
,
0x74
,
0x6f
,
0x72
,
0x22
,
0x76
,
0x0a
,
0x12
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x41
,
0x64
,
0x64
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x1e
,
0x0a
,
0x06
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x49
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x03
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x10
,
0x00
,
0x52
,
0x06
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x49
,
0x64
,
0x12
,
0x1c
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x22
,
0xbc
,
0x01
,
0x0a
,
0x16
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x6f
,
0x6c
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x1e
,
0x0a
,
0x06
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x49
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x03
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x10
,
0x00
,
0x52
,
0x06
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x49
,
0x64
,
0x12
,
0x22
,
0x0a
,
0x08
,
0x4f
,
0x70
,
0x65
,
0x72
,
0x61
,
0x74
,
0x6f
,
0x72
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x08
,
0x4f
,
0x70
,
0x65
,
0x72
,
0x61
,
0x74
,
0x6f
,
0x72
,
0x12
,
0x1c
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x12
,
0x1c
,
0x0a
,
0x04
,
0x52
,
0x6f
,
0x6c
,
0x65
,
0x18
,
0x05
,
0x20
,
0x01
,
0x28
,
0x03
,
0x42
,
0x08
,
0xe2
,
0xdf
,
0x1f
,
0x04
,
0x10
,
0x00
,
0x18
,
0x05
,
0x52
,
0x04
,
0x52
,
0x6f
,
0x6c
,
0x65
,
0x22
,
0x6d
,
0x0a
,
0x0d
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x49
,
0x64
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x06
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x49
,
0x64
,
0x12
,
0x1a
,
0x0a
,
0x08
,
0x4f
,
0x70
,
0x65
,
0x72
,
0x61
,
0x74
,
0x6f
,
0x72
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x08
,
0x4f
,
0x70
,
0x65
,
0x72
,
0x61
,
0x74
,
0x6f
,
0x72
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x52
,
0x6f
,
0x6c
,
0x65
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x04
,
0x52
,
0x6f
,
0x6c
,
0x65
,
0x22
,
0x76
,
0x0a
,
0x12
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x1e
,
0x0a
,
0x06
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x49
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x03
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x10
,
0x00
,
0x52
,
0x06
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x49
,
0x64
,
0x12
,
0x1c
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x22
,
0xc0
,
0x01
,
0x0a
,
0x10
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x12
,
0x0e
,
0x0a
,
0x02
,
0x49
,
0x64
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x02
,
0x49
,
0x64
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x49
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x06
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x49
,
0x64
,
0x12
,
0x1a
,
0x0a
,
0x08
,
0x4f
,
0x70
,
0x65
,
0x72
,
0x61
,
0x74
,
0x6f
,
0x72
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x08
,
0x4f
,
0x70
,
0x65
,
0x72
,
0x61
,
0x74
,
0x6f
,
0x72
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x52
,
0x6f
,
0x6c
,
0x65
,
0x18
,
0x05
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x04
,
0x52
,
0x6f
,
0x6c
,
0x65
,
0x12
,
0x1e
,
0x0a
,
0x0a
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x18
,
0x06
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x0a
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x12
,
0x1e
,
0x0a
,
0x0a
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x18
,
0x07
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x0a
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x22
,
0x8f
,
0x01
,
0x0a
,
0x13
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x50
,
0x61
,
0x67
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x04
,
0x50
,
0x61
,
0x67
,
0x65
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x49
,
0x64
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x06
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x49
,
0x64
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x52
,
0x6f
,
0x6c
,
0x65
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x04
,
0x52
,
0x6f
,
0x6c
,
0x65
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x05
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x22
,
0x63
,
0x0a
,
0x11
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x12
,
0x28
,
0x0a
,
0x04
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x18
,
0x01
,
0x20
,
0x03
,
0x28
,
0x0b
,
0x32
,
0x14
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x52
,
0x04
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x12
,
0x24
,
0x0a
,
0x08
,
0x50
,
0x61
,
0x67
,
0x69
,
0x6e
,
0x61
,
0x74
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x08
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x50
,
0x61
,
0x67
,
0x65
,
0x52
,
0x08
,
0x50
,
0x61
,
0x67
,
0x69
,
0x6e
,
0x61
,
0x74
,
0x65
,
0x22
,
0x12
,
0x0a
,
0x10
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x44
,
0x65
,
0x6c
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x32
,
0xa1
,
0x03
,
0x0a
,
0x0c
,
0x43
,
0x68
,
0x61
,
0x74
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x12
,
0x3d
,
0x0a
,
0x0b
,
0x41
,
0x64
,
0x64
,
0x4f
,
0x70
,
0x65
,
0x72
,
0x61
,
0x74
,
0x6f
,
0x72
,
0x12
,
0x19
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x41
,
0x64
,
0x64
,
0x4f
,
0x70
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x11
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x3e
,
0x0a
,
0x0f
,
0x43
,
0x68
,
0x61
,
0x74
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x41
,
0x64
,
0x64
,
0x12
,
0x16
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x41
,
0x64
,
0x64
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x11
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x46
,
0x0a
,
0x13
,
0x43
,
0x68
,
0x61
,
0x74
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x6f
,
0x6c
,
0x65
,
0x12
,
0x1a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x6f
,
0x6c
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x11
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x41
,
0x0a
,
0x0f
,
0x43
,
0x68
,
0x61
,
0x74
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x12
,
0x16
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x14
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x44
,
0x0a
,
0x10
,
0x43
,
0x68
,
0x61
,
0x74
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x12
,
0x17
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x15
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x41
,
0x0a
,
0x0f
,
0x43
,
0x68
,
0x61
,
0x74
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x44
,
0x65
,
0x6c
,
0x12
,
0x16
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x14
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x52
,
0x6f
,
0x6f
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x44
,
0x65
,
0x6c
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x62
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
}
var
(
file_u_proto_im_chat_room_user_proto_rawDescOnce
sync
.
Once
file_u_proto_im_chat_room_user_proto_rawDescData
=
file_u_proto_im_chat_room_user_proto_rawDesc
)
func
file_u_proto_im_chat_room_user_proto_rawDescGZIP
()
[]
byte
{
file_u_proto_im_chat_room_user_proto_rawDescOnce
.
Do
(
func
()
{
file_u_proto_im_chat_room_user_proto_rawDescData
=
protoimpl
.
X
.
CompressGZIP
(
file_u_proto_im_chat_room_user_proto_rawDescData
)
})
return
file_u_proto_im_chat_room_user_proto_rawDescData
}
var
file_u_proto_im_chat_room_user_proto_msgTypes
=
make
([]
protoimpl
.
MessageInfo
,
9
)
var
file_u_proto_im_chat_room_user_proto_goTypes
=
[]
interface
{}{
(
*
RoomUserAddOpeRequest
)(
nil
),
// 0: pb.RoomUserAddOpeRequest
(
*
RoomUserAddRequest
)(
nil
),
// 1: pb.RoomUserAddRequest
(
*
RoomUserSetRoleRequest
)(
nil
),
// 2: pb.RoomUserSetRoleRequest
(
*
RoomUserReply
)(
nil
),
// 3: pb.RoomUserReply
(
*
RoomUserOneRequest
)(
nil
),
// 4: pb.RoomUserOneRequest
(
*
RoomUserOneReply
)(
nil
),
// 5: pb.RoomUserOneReply
(
*
RoomUserListRequest
)(
nil
),
// 6: pb.RoomUserListRequest
(
*
RoomUserListReply
)(
nil
),
// 7: pb.RoomUserListReply
(
*
RoomUserDelReply
)(
nil
),
// 8: pb.RoomUserDelReply
(
*
Common
)(
nil
),
// 9: pb.Common
(
*
Page
)(
nil
),
// 10: pb.Page
}
var
file_u_proto_im_chat_room_user_proto_depIdxs
=
[]
int32
{
9
,
// 0: pb.RoomUserAddOpeRequest.Common:type_name -> pb.Common
9
,
// 1: pb.RoomUserAddRequest.Common:type_name -> pb.Common
9
,
// 2: pb.RoomUserSetRoleRequest.Common:type_name -> pb.Common
9
,
// 3: pb.RoomUserOneRequest.Common:type_name -> pb.Common
9
,
// 4: pb.RoomUserListRequest.Common:type_name -> pb.Common
5
,
// 5: pb.RoomUserListReply.List:type_name -> pb.RoomUserOneReply
10
,
// 6: pb.RoomUserListReply.Paginate:type_name -> pb.Page
0
,
// 7: pb.ChatRoomUser.AddOperator:input_type -> pb.RoomUserAddOpeRequest
1
,
// 8: pb.ChatRoomUser.ChatRoomUserAdd:input_type -> pb.RoomUserAddRequest
2
,
// 9: pb.ChatRoomUser.ChatRoomUserSetRole:input_type -> pb.RoomUserSetRoleRequest
4
,
// 10: pb.ChatRoomUser.ChatRoomUserOne:input_type -> pb.RoomUserOneRequest
6
,
// 11: pb.ChatRoomUser.ChatRoomUserList:input_type -> pb.RoomUserListRequest
4
,
// 12: pb.ChatRoomUser.ChatRoomUserDel:input_type -> pb.RoomUserOneRequest
3
,
// 13: pb.ChatRoomUser.AddOperator:output_type -> pb.RoomUserReply
3
,
// 14: pb.ChatRoomUser.ChatRoomUserAdd:output_type -> pb.RoomUserReply
3
,
// 15: pb.ChatRoomUser.ChatRoomUserSetRole:output_type -> pb.RoomUserReply
5
,
// 16: pb.ChatRoomUser.ChatRoomUserOne:output_type -> pb.RoomUserOneReply
7
,
// 17: pb.ChatRoomUser.ChatRoomUserList:output_type -> pb.RoomUserListReply
8
,
// 18: pb.ChatRoomUser.ChatRoomUserDel:output_type -> pb.RoomUserDelReply
13
,
// [13:19] is the sub-list for method output_type
7
,
// [7:13] 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_u_proto_im_chat_room_user_proto_init
()
}
func
file_u_proto_im_chat_room_user_proto_init
()
{
if
File_u_proto_im_chat_room_user_proto
!=
nil
{
return
}
file_u_proto_common_proto_init
()
if
!
protoimpl
.
UnsafeEnabled
{
file_u_proto_im_chat_room_user_proto_msgTypes
[
0
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
RoomUserAddOpeRequest
);
i
{
case
0
:
return
&
v
.
state
case
1
:
return
&
v
.
sizeCache
case
2
:
return
&
v
.
unknownFields
default
:
return
nil
}
}
file_u_proto_im_chat_room_user_proto_msgTypes
[
1
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
RoomUserAddRequest
);
i
{
case
0
:
return
&
v
.
state
case
1
:
return
&
v
.
sizeCache
case
2
:
return
&
v
.
unknownFields
default
:
return
nil
}
}
file_u_proto_im_chat_room_user_proto_msgTypes
[
2
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
RoomUserSetRoleRequest
);
i
{
case
0
:
return
&
v
.
state
case
1
:
return
&
v
.
sizeCache
case
2
:
return
&
v
.
unknownFields
default
:
return
nil
}
}
file_u_proto_im_chat_room_user_proto_msgTypes
[
3
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
RoomUserReply
);
i
{
case
0
:
return
&
v
.
state
case
1
:
return
&
v
.
sizeCache
case
2
:
return
&
v
.
unknownFields
default
:
return
nil
}
}
file_u_proto_im_chat_room_user_proto_msgTypes
[
4
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
RoomUserOneRequest
);
i
{
case
0
:
return
&
v
.
state
case
1
:
return
&
v
.
sizeCache
case
2
:
return
&
v
.
unknownFields
default
:
return
nil
}
}
file_u_proto_im_chat_room_user_proto_msgTypes
[
5
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
RoomUserOneReply
);
i
{
case
0
:
return
&
v
.
state
case
1
:
return
&
v
.
sizeCache
case
2
:
return
&
v
.
unknownFields
default
:
return
nil
}
}
file_u_proto_im_chat_room_user_proto_msgTypes
[
6
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
RoomUserListRequest
);
i
{
case
0
:
return
&
v
.
state
case
1
:
return
&
v
.
sizeCache
case
2
:
return
&
v
.
unknownFields
default
:
return
nil
}
}
file_u_proto_im_chat_room_user_proto_msgTypes
[
7
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
RoomUserListReply
);
i
{
case
0
:
return
&
v
.
state
case
1
:
return
&
v
.
sizeCache
case
2
:
return
&
v
.
unknownFields
default
:
return
nil
}
}
file_u_proto_im_chat_room_user_proto_msgTypes
[
8
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
RoomUserDelReply
);
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_u_proto_im_chat_room_user_proto_rawDesc
,
NumEnums
:
0
,
NumMessages
:
9
,
NumExtensions
:
0
,
NumServices
:
1
,
},
GoTypes
:
file_u_proto_im_chat_room_user_proto_goTypes
,
DependencyIndexes
:
file_u_proto_im_chat_room_user_proto_depIdxs
,
MessageInfos
:
file_u_proto_im_chat_room_user_proto_msgTypes
,
}
.
Build
()
File_u_proto_im_chat_room_user_proto
=
out
.
File
file_u_proto_im_chat_room_user_proto_rawDesc
=
nil
file_u_proto_im_chat_room_user_proto_goTypes
=
nil
file_u_proto_im_chat_room_user_proto_depIdxs
=
nil
}
// Reference imports to suppress errors if they are not otherwise used.
var
_
context
.
Context
var
_
grpc
.
ClientConnInterface
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const
_
=
grpc
.
SupportPackageIsVersion6
// ChatRoomUserClient is the client API for ChatRoomUser service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type
ChatRoomUserClient
interface
{
AddOperator
(
ctx
context
.
Context
,
in
*
RoomUserAddOpeRequest
,
opts
...
grpc
.
CallOption
)
(
*
RoomUserReply
,
error
)
ChatRoomUserAdd
(
ctx
context
.
Context
,
in
*
RoomUserAddRequest
,
opts
...
grpc
.
CallOption
)
(
*
RoomUserReply
,
error
)
ChatRoomUserSetRole
(
ctx
context
.
Context
,
in
*
RoomUserSetRoleRequest
,
opts
...
grpc
.
CallOption
)
(
*
RoomUserReply
,
error
)
ChatRoomUserOne
(
ctx
context
.
Context
,
in
*
RoomUserOneRequest
,
opts
...
grpc
.
CallOption
)
(
*
RoomUserOneReply
,
error
)
ChatRoomUserList
(
ctx
context
.
Context
,
in
*
RoomUserListRequest
,
opts
...
grpc
.
CallOption
)
(
*
RoomUserListReply
,
error
)
ChatRoomUserDel
(
ctx
context
.
Context
,
in
*
RoomUserOneRequest
,
opts
...
grpc
.
CallOption
)
(
*
RoomUserDelReply
,
error
)
}
type
chatRoomUserClient
struct
{
cc
grpc
.
ClientConnInterface
}
func
NewChatRoomUserClient
(
cc
grpc
.
ClientConnInterface
)
ChatRoomUserClient
{
return
&
chatRoomUserClient
{
cc
}
}
func
(
c
*
chatRoomUserClient
)
AddOperator
(
ctx
context
.
Context
,
in
*
RoomUserAddOpeRequest
,
opts
...
grpc
.
CallOption
)
(
*
RoomUserReply
,
error
)
{
out
:=
new
(
RoomUserReply
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/pb.ChatRoomUser/AddOperator"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
return
out
,
nil
}
func
(
c
*
chatRoomUserClient
)
ChatRoomUserAdd
(
ctx
context
.
Context
,
in
*
RoomUserAddRequest
,
opts
...
grpc
.
CallOption
)
(
*
RoomUserReply
,
error
)
{
out
:=
new
(
RoomUserReply
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/pb.ChatRoomUser/ChatRoomUserAdd"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
return
out
,
nil
}
func
(
c
*
chatRoomUserClient
)
ChatRoomUserSetRole
(
ctx
context
.
Context
,
in
*
RoomUserSetRoleRequest
,
opts
...
grpc
.
CallOption
)
(
*
RoomUserReply
,
error
)
{
out
:=
new
(
RoomUserReply
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/pb.ChatRoomUser/ChatRoomUserSetRole"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
return
out
,
nil
}
func
(
c
*
chatRoomUserClient
)
ChatRoomUserOne
(
ctx
context
.
Context
,
in
*
RoomUserOneRequest
,
opts
...
grpc
.
CallOption
)
(
*
RoomUserOneReply
,
error
)
{
out
:=
new
(
RoomUserOneReply
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/pb.ChatRoomUser/ChatRoomUserOne"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
return
out
,
nil
}
func
(
c
*
chatRoomUserClient
)
ChatRoomUserList
(
ctx
context
.
Context
,
in
*
RoomUserListRequest
,
opts
...
grpc
.
CallOption
)
(
*
RoomUserListReply
,
error
)
{
out
:=
new
(
RoomUserListReply
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/pb.ChatRoomUser/ChatRoomUserList"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
return
out
,
nil
}
func
(
c
*
chatRoomUserClient
)
ChatRoomUserDel
(
ctx
context
.
Context
,
in
*
RoomUserOneRequest
,
opts
...
grpc
.
CallOption
)
(
*
RoomUserDelReply
,
error
)
{
out
:=
new
(
RoomUserDelReply
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/pb.ChatRoomUser/ChatRoomUserDel"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
return
out
,
nil
}
// ChatRoomUserServer is the server API for ChatRoomUser service.
type
ChatRoomUserServer
interface
{
AddOperator
(
context
.
Context
,
*
RoomUserAddOpeRequest
)
(
*
RoomUserReply
,
error
)
ChatRoomUserAdd
(
context
.
Context
,
*
RoomUserAddRequest
)
(
*
RoomUserReply
,
error
)
ChatRoomUserSetRole
(
context
.
Context
,
*
RoomUserSetRoleRequest
)
(
*
RoomUserReply
,
error
)
ChatRoomUserOne
(
context
.
Context
,
*
RoomUserOneRequest
)
(
*
RoomUserOneReply
,
error
)
ChatRoomUserList
(
context
.
Context
,
*
RoomUserListRequest
)
(
*
RoomUserListReply
,
error
)
ChatRoomUserDel
(
context
.
Context
,
*
RoomUserOneRequest
)
(
*
RoomUserDelReply
,
error
)
}
// UnimplementedChatRoomUserServer can be embedded to have forward compatible implementations.
type
UnimplementedChatRoomUserServer
struct
{
}
func
(
*
UnimplementedChatRoomUserServer
)
AddOperator
(
context
.
Context
,
*
RoomUserAddOpeRequest
)
(
*
RoomUserReply
,
error
)
{
return
nil
,
status
.
Errorf
(
codes
.
Unimplemented
,
"method AddOperator not implemented"
)
}
func
(
*
UnimplementedChatRoomUserServer
)
ChatRoomUserAdd
(
context
.
Context
,
*
RoomUserAddRequest
)
(
*
RoomUserReply
,
error
)
{
return
nil
,
status
.
Errorf
(
codes
.
Unimplemented
,
"method ChatRoomUserAdd not implemented"
)
}
func
(
*
UnimplementedChatRoomUserServer
)
ChatRoomUserSetRole
(
context
.
Context
,
*
RoomUserSetRoleRequest
)
(
*
RoomUserReply
,
error
)
{
return
nil
,
status
.
Errorf
(
codes
.
Unimplemented
,
"method ChatRoomUserSetRole not implemented"
)
}
func
(
*
UnimplementedChatRoomUserServer
)
ChatRoomUserOne
(
context
.
Context
,
*
RoomUserOneRequest
)
(
*
RoomUserOneReply
,
error
)
{
return
nil
,
status
.
Errorf
(
codes
.
Unimplemented
,
"method ChatRoomUserOne not implemented"
)
}
func
(
*
UnimplementedChatRoomUserServer
)
ChatRoomUserList
(
context
.
Context
,
*
RoomUserListRequest
)
(
*
RoomUserListReply
,
error
)
{
return
nil
,
status
.
Errorf
(
codes
.
Unimplemented
,
"method ChatRoomUserList not implemented"
)
}
func
(
*
UnimplementedChatRoomUserServer
)
ChatRoomUserDel
(
context
.
Context
,
*
RoomUserOneRequest
)
(
*
RoomUserDelReply
,
error
)
{
return
nil
,
status
.
Errorf
(
codes
.
Unimplemented
,
"method ChatRoomUserDel not implemented"
)
}
func
RegisterChatRoomUserServer
(
s
*
grpc
.
Server
,
srv
ChatRoomUserServer
)
{
s
.
RegisterService
(
&
_ChatRoomUser_serviceDesc
,
srv
)
}
func
_ChatRoomUser_AddOperator_Handler
(
srv
interface
{},
ctx
context
.
Context
,
dec
func
(
interface
{})
error
,
interceptor
grpc
.
UnaryServerInterceptor
)
(
interface
{},
error
)
{
in
:=
new
(
RoomUserAddOpeRequest
)
if
err
:=
dec
(
in
);
err
!=
nil
{
return
nil
,
err
}
if
interceptor
==
nil
{
return
srv
.
(
ChatRoomUserServer
)
.
AddOperator
(
ctx
,
in
)
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
"/pb.ChatRoomUser/AddOperator"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ChatRoomUserServer
)
.
AddOperator
(
ctx
,
req
.
(
*
RoomUserAddOpeRequest
))
}
return
interceptor
(
ctx
,
in
,
info
,
handler
)
}
func
_ChatRoomUser_ChatRoomUserAdd_Handler
(
srv
interface
{},
ctx
context
.
Context
,
dec
func
(
interface
{})
error
,
interceptor
grpc
.
UnaryServerInterceptor
)
(
interface
{},
error
)
{
in
:=
new
(
RoomUserAddRequest
)
if
err
:=
dec
(
in
);
err
!=
nil
{
return
nil
,
err
}
if
interceptor
==
nil
{
return
srv
.
(
ChatRoomUserServer
)
.
ChatRoomUserAdd
(
ctx
,
in
)
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
"/pb.ChatRoomUser/ChatRoomUserAdd"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ChatRoomUserServer
)
.
ChatRoomUserAdd
(
ctx
,
req
.
(
*
RoomUserAddRequest
))
}
return
interceptor
(
ctx
,
in
,
info
,
handler
)
}
func
_ChatRoomUser_ChatRoomUserSetRole_Handler
(
srv
interface
{},
ctx
context
.
Context
,
dec
func
(
interface
{})
error
,
interceptor
grpc
.
UnaryServerInterceptor
)
(
interface
{},
error
)
{
in
:=
new
(
RoomUserSetRoleRequest
)
if
err
:=
dec
(
in
);
err
!=
nil
{
return
nil
,
err
}
if
interceptor
==
nil
{
return
srv
.
(
ChatRoomUserServer
)
.
ChatRoomUserSetRole
(
ctx
,
in
)
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
"/pb.ChatRoomUser/ChatRoomUserSetRole"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ChatRoomUserServer
)
.
ChatRoomUserSetRole
(
ctx
,
req
.
(
*
RoomUserSetRoleRequest
))
}
return
interceptor
(
ctx
,
in
,
info
,
handler
)
}
func
_ChatRoomUser_ChatRoomUserOne_Handler
(
srv
interface
{},
ctx
context
.
Context
,
dec
func
(
interface
{})
error
,
interceptor
grpc
.
UnaryServerInterceptor
)
(
interface
{},
error
)
{
in
:=
new
(
RoomUserOneRequest
)
if
err
:=
dec
(
in
);
err
!=
nil
{
return
nil
,
err
}
if
interceptor
==
nil
{
return
srv
.
(
ChatRoomUserServer
)
.
ChatRoomUserOne
(
ctx
,
in
)
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
"/pb.ChatRoomUser/ChatRoomUserOne"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ChatRoomUserServer
)
.
ChatRoomUserOne
(
ctx
,
req
.
(
*
RoomUserOneRequest
))
}
return
interceptor
(
ctx
,
in
,
info
,
handler
)
}
func
_ChatRoomUser_ChatRoomUserList_Handler
(
srv
interface
{},
ctx
context
.
Context
,
dec
func
(
interface
{})
error
,
interceptor
grpc
.
UnaryServerInterceptor
)
(
interface
{},
error
)
{
in
:=
new
(
RoomUserListRequest
)
if
err
:=
dec
(
in
);
err
!=
nil
{
return
nil
,
err
}
if
interceptor
==
nil
{
return
srv
.
(
ChatRoomUserServer
)
.
ChatRoomUserList
(
ctx
,
in
)
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
"/pb.ChatRoomUser/ChatRoomUserList"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ChatRoomUserServer
)
.
ChatRoomUserList
(
ctx
,
req
.
(
*
RoomUserListRequest
))
}
return
interceptor
(
ctx
,
in
,
info
,
handler
)
}
func
_ChatRoomUser_ChatRoomUserDel_Handler
(
srv
interface
{},
ctx
context
.
Context
,
dec
func
(
interface
{})
error
,
interceptor
grpc
.
UnaryServerInterceptor
)
(
interface
{},
error
)
{
in
:=
new
(
RoomUserOneRequest
)
if
err
:=
dec
(
in
);
err
!=
nil
{
return
nil
,
err
}
if
interceptor
==
nil
{
return
srv
.
(
ChatRoomUserServer
)
.
ChatRoomUserDel
(
ctx
,
in
)
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
"/pb.ChatRoomUser/ChatRoomUserDel"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ChatRoomUserServer
)
.
ChatRoomUserDel
(
ctx
,
req
.
(
*
RoomUserOneRequest
))
}
return
interceptor
(
ctx
,
in
,
info
,
handler
)
}
var
_ChatRoomUser_serviceDesc
=
grpc
.
ServiceDesc
{
ServiceName
:
"pb.ChatRoomUser"
,
HandlerType
:
(
*
ChatRoomUserServer
)(
nil
),
Methods
:
[]
grpc
.
MethodDesc
{
{
MethodName
:
"AddOperator"
,
Handler
:
_ChatRoomUser_AddOperator_Handler
,
},
{
MethodName
:
"ChatRoomUserAdd"
,
Handler
:
_ChatRoomUser_ChatRoomUserAdd_Handler
,
},
{
MethodName
:
"ChatRoomUserSetRole"
,
Handler
:
_ChatRoomUser_ChatRoomUserSetRole_Handler
,
},
{
MethodName
:
"ChatRoomUserOne"
,
Handler
:
_ChatRoomUser_ChatRoomUserOne_Handler
,
},
{
MethodName
:
"ChatRoomUserList"
,
Handler
:
_ChatRoomUser_ChatRoomUserList_Handler
,
},
{
MethodName
:
"ChatRoomUserDel"
,
Handler
:
_ChatRoomUser_ChatRoomUserDel_Handler
,
},
},
Streams
:
[]
grpc
.
StreamDesc
{},
Metadata
:
"u-proto/im_chat_room_user.proto"
,
}
pb/im_chat_room_user.validator.pb.go
0 → 100644
View file @
79dee922
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: u-proto/im_chat_room_user.proto
package
pb
import
(
fmt
"fmt"
math
"math"
proto
"github.com/golang/protobuf/proto"
_
"github.com/mwitkow/go-proto-validators"
github_com_mwitkow_go_proto_validators
"github.com/mwitkow/go-proto-validators"
)
// Reference imports to suppress errors if they are not otherwise used.
var
_
=
proto
.
Marshal
var
_
=
fmt
.
Errorf
var
_
=
math
.
Inf
func
(
this
*
RoomUserAddOpeRequest
)
Validate
()
error
{
if
this
.
Common
!=
nil
{
if
err
:=
github_com_mwitkow_go_proto_validators
.
CallValidatorIfExists
(
this
.
Common
);
err
!=
nil
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Common"
,
err
)
}
}
if
!
(
this
.
RoomId
>
0
)
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"RoomId"
,
fmt
.
Errorf
(
`value '%v' must be greater than '0'`
,
this
.
RoomId
))
}
if
this
.
Operator
==
""
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Operator"
,
fmt
.
Errorf
(
`value '%v' must not be an empty string`
,
this
.
Operator
))
}
return
nil
}
func
(
this
*
RoomUserAddRequest
)
Validate
()
error
{
if
this
.
Common
!=
nil
{
if
err
:=
github_com_mwitkow_go_proto_validators
.
CallValidatorIfExists
(
this
.
Common
);
err
!=
nil
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Common"
,
err
)
}
}
if
!
(
this
.
RoomId
>
0
)
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"RoomId"
,
fmt
.
Errorf
(
`value '%v' must be greater than '0'`
,
this
.
RoomId
))
}
if
this
.
Accid
==
""
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Accid"
,
fmt
.
Errorf
(
`value '%v' must not be an empty string`
,
this
.
Accid
))
}
return
nil
}
func
(
this
*
RoomUserSetRoleRequest
)
Validate
()
error
{
if
this
.
Common
!=
nil
{
if
err
:=
github_com_mwitkow_go_proto_validators
.
CallValidatorIfExists
(
this
.
Common
);
err
!=
nil
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Common"
,
err
)
}
}
if
!
(
this
.
RoomId
>
0
)
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"RoomId"
,
fmt
.
Errorf
(
`value '%v' must be greater than '0'`
,
this
.
RoomId
))
}
if
this
.
Operator
==
""
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Operator"
,
fmt
.
Errorf
(
`value '%v' must not be an empty string`
,
this
.
Operator
))
}
if
this
.
Accid
==
""
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Accid"
,
fmt
.
Errorf
(
`value '%v' must not be an empty string`
,
this
.
Accid
))
}
if
!
(
this
.
Role
>
0
)
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Role"
,
fmt
.
Errorf
(
`value '%v' must be greater than '0'`
,
this
.
Role
))
}
if
!
(
this
.
Role
<
5
)
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Role"
,
fmt
.
Errorf
(
`value '%v' must be less than '5'`
,
this
.
Role
))
}
return
nil
}
func
(
this
*
RoomUserReply
)
Validate
()
error
{
return
nil
}
func
(
this
*
RoomUserOneRequest
)
Validate
()
error
{
if
this
.
Common
!=
nil
{
if
err
:=
github_com_mwitkow_go_proto_validators
.
CallValidatorIfExists
(
this
.
Common
);
err
!=
nil
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Common"
,
err
)
}
}
if
!
(
this
.
RoomId
>
0
)
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"RoomId"
,
fmt
.
Errorf
(
`value '%v' must be greater than '0'`
,
this
.
RoomId
))
}
if
this
.
Accid
==
""
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Accid"
,
fmt
.
Errorf
(
`value '%v' must not be an empty string`
,
this
.
Accid
))
}
return
nil
}
func
(
this
*
RoomUserOneReply
)
Validate
()
error
{
return
nil
}
func
(
this
*
RoomUserListRequest
)
Validate
()
error
{
if
this
.
Common
!=
nil
{
if
err
:=
github_com_mwitkow_go_proto_validators
.
CallValidatorIfExists
(
this
.
Common
);
err
!=
nil
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Common"
,
err
)
}
}
return
nil
}
func
(
this
*
RoomUserListReply
)
Validate
()
error
{
for
_
,
item
:=
range
this
.
List
{
if
item
!=
nil
{
if
err
:=
github_com_mwitkow_go_proto_validators
.
CallValidatorIfExists
(
item
);
err
!=
nil
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"List"
,
err
)
}
}
}
if
this
.
Paginate
!=
nil
{
if
err
:=
github_com_mwitkow_go_proto_validators
.
CallValidatorIfExists
(
this
.
Paginate
);
err
!=
nil
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Paginate"
,
err
)
}
}
return
nil
}
func
(
this
*
RoomUserDelReply
)
Validate
()
error
{
return
nil
}
pb/im_user.pb.go
View file @
79dee922
...
...
@@ -730,123 +730,122 @@ var file_u_proto_im_user_proto_rawDesc = []byte{
0x6f
,
0x1a
,
0x36
,
0x67
,
0x69
,
0x74
,
0x68
,
0x75
,
0x62
,
0x2e
,
0x63
,
0x6f
,
0x6d
,
0x2f
,
0x6d
,
0x77
,
0x69
,
0x74
,
0x6b
,
0x6f
,
0x77
,
0x2f
,
0x67
,
0x6f
,
0x2d
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x2d
,
0x76
,
0x61
,
0x6c
,
0x69
,
0x64
,
0x61
,
0x74
,
0x6f
,
0x72
,
0x73
,
0x2f
,
0x76
,
0x61
,
0x6c
,
0x69
,
0x64
,
0x61
,
0x74
,
0x6f
,
0x72
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x22
,
0x
b2
,
0x01
,
0x0a
,
0x0d
,
0x49
,
0x6d
,
0x74
,
0x6f
,
0x72
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x22
,
0x
aa
,
0x01
,
0x0a
,
0x0d
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x1a
,
0x0a
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x12
,
0x21
,
0x0a
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x09
,
0xe2
,
0xdf
,
0x1f
,
0x05
,
0x58
,
0x01
,
0x80
,
0x01
,
0x0b
,
0x52
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x12
,
0x1a
,
0x0a
,
0x04
,
0x43
,
0x6f
,
0x64
,
0x65
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x04
,
0x43
,
0x6f
,
0x64
,
0x65
,
0x12
,
0x22
,
0x0a
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x18
,
0x05
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x22
,
0x23
,
0x0a
,
0x0b
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x22
,
0x78
,
0x0a
,
0x10
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x75
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x1c
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x12
,
0x22
,
0x0a
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x22
,
0x68
,
0x0a
,
0x10
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x08
,
0x52
,
0x04
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x12
,
0x1c
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x22
,
0x10
,
0x0a
,
0x0e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x54
,
0x0a
,
0x10
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x1c
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x12
,
0x0a
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x12
,
0x21
,
0x0a
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x09
,
0xe2
,
0xdf
,
0x1f
,
0x05
,
0x58
,
0x01
,
0x80
,
0x01
,
0x0b
,
0x52
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x12
,
0x1a
,
0x0a
,
0x04
,
0x43
,
0x6f
,
0x64
,
0x65
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x04
,
0x43
,
0x6f
,
0x64
,
0x65
,
0x12
,
0x22
,
0x0a
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x18
,
0x05
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x22
,
0x23
,
0x0a
,
0x0b
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x22
,
0x78
,
0x0a
,
0x10
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x75
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x1c
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x12
,
0x22
,
0x0a
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x22
,
0x68
,
0x0a
,
0x10
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x08
,
0x52
,
0x04
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x12
,
0x1c
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x22
,
0xf2
,
0x02
,
0x0a
,
0x0e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x12
,
0x0e
,
0x0a
,
0x02
,
0x49
,
0x64
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x02
,
0x49
,
0x64
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x12
,
0x18
,
0x0a
,
0x07
,
0x44
,
0x69
,
0x73
,
0x61
,
0x62
,
0x6c
,
0x65
,
0x18
,
0x05
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x07
,
0x44
,
0x69
,
0x73
,
0x61
,
0x62
,
0x6c
,
0x65
,
0x12
,
0x22
,
0x0a
,
0x0c
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x45
,
0x73
,
0x74
,
0x6f
,
0x70
,
0x70
,
0x65
,
0x6c
,
0x18
,
0x06
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x0c
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x45
,
0x73
,
0x74
,
0x6f
,
0x70
,
0x70
,
0x65
,
0x6c
,
0x12
,
0x26
,
0x0a
,
0x0e
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x41
,
0x75
,
0x64
,
0x69
,
0x6f
,
0x56
,
0x69
,
0x64
,
0x65
,
0x6f
,
0x18
,
0x07
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x0e
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x41
,
0x75
,
0x64
,
0x69
,
0x6f
,
0x56
,
0x69
,
0x64
,
0x65
,
0x6f
,
0x12
,
0x10
,
0x0a
,
0x03
,
0x45
,
0x78
,
0x74
,
0x18
,
0x08
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x03
,
0x45
,
0x78
,
0x74
,
0x12
,
0x1e
,
0x0a
,
0x0a
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x18
,
0x09
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x0a
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x12
,
0x1e
,
0x0a
,
0x0a
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x18
,
0x0a
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x0a
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x12
,
0x20
,
0x0a
,
0x0b
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x53
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x18
,
0x0b
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x0b
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x53
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x12
,
0x1a
,
0x0a
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x18
,
0x0c
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x12
,
0x18
,
0x0a
,
0x07
,
0x45
,
0x64
,
0x69
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x18
,
0x0d
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x07
,
0x45
,
0x64
,
0x69
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x22
,
0x87
,
0x03
,
0x0a
,
0x11
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x50
,
0x61
,
0x67
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x04
,
0x50
,
0x61
,
0x67
,
0x65
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x12
,
0x18
,
0x0a
,
0x07
,
0x44
,
0x69
,
0x73
,
0x61
,
0x62
,
0x6c
,
0x65
,
0x18
,
0x05
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x07
,
0x44
,
0x69
,
0x73
,
0x61
,
0x62
,
0x6c
,
0x65
,
0x12
,
0x22
,
0x0a
,
0x0c
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x45
,
0x73
,
0x74
,
0x6f
,
0x70
,
0x70
,
0x65
,
0x6c
,
0x18
,
0x06
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x0c
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x45
,
0x73
,
0x74
,
0x6f
,
0x70
,
0x70
,
0x65
,
0x6c
,
0x12
,
0x26
,
0x0a
,
0x0e
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x41
,
0x75
,
0x64
,
0x69
,
0x6f
,
0x56
,
0x69
,
0x64
,
0x65
,
0x6f
,
0x18
,
0x07
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x0e
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x41
,
0x75
,
0x64
,
0x69
,
0x6f
,
0x56
,
0x69
,
0x64
,
0x65
,
0x6f
,
0x12
,
0x10
,
0x0a
,
0x03
,
0x45
,
0x78
,
0x74
,
0x18
,
0x08
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x03
,
0x45
,
0x78
,
0x74
,
0x12
,
0x1e
,
0x0a
,
0x0a
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x18
,
0x09
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x0a
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x12
,
0x1e
,
0x0a
,
0x0a
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x18
,
0x0a
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x0a
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x12
,
0x20
,
0x0a
,
0x0b
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x53
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x18
,
0x0b
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x0b
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x53
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x12
,
0x1a
,
0x0a
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x18
,
0x0c
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x12
,
0x18
,
0x0a
,
0x07
,
0x45
,
0x64
,
0x69
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x18
,
0x0d
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x07
,
0x45
,
0x64
,
0x69
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x22
,
0x5f
,
0x0a
,
0x0f
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x12
,
0x26
,
0x0a
,
0x04
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x18
,
0x01
,
0x20
,
0x03
,
0x28
,
0x0b
,
0x32
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x52
,
0x04
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x12
,
0x24
,
0x0a
,
0x08
,
0x50
,
0x61
,
0x67
,
0x69
,
0x6e
,
0x61
,
0x74
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x08
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x50
,
0x61
,
0x67
,
0x65
,
0x52
,
0x08
,
0x50
,
0x61
,
0x67
,
0x69
,
0x6e
,
0x61
,
0x74
,
0x65
,
0x32
,
0xad
,
0x03
,
0x0a
,
0x06
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x12
,
0x36
,
0x0a
,
0x0e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x67
,
0x69
,
0x73
,
0x74
,
0x65
,
0x72
,
0x12
,
0x11
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x0f
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x33
,
0x0a
,
0x0b
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x12
,
0x11
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x0f
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x3c
,
0x0a
,
0x0e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x4f
,
0x75
,
0x74
,
0x12
,
0x14
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x75
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x42
,
0x0a
,
0x14
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x46
,
0x6f
,
0x72
,
0x62
,
0x69
,
0x64
,
0x64
,
0x65
,
0x6e
,
0x57
,
0x6f
,
0x72
,
0x64
,
0x73
,
0x12
,
0x14
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x3f
,
0x0a
,
0x11
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x46
,
0x6f
,
0x72
,
0x62
,
0x69
,
0x64
,
0x64
,
0x65
,
0x6e
,
0x41
,
0x56
,
0x12
,
0x14
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x37
,
0x0a
,
0x09
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x12
,
0x14
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x3a
,
0x0a
,
0x0a
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x12
,
0x15
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x13
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x62
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
0x10
,
0x0a
,
0x0e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x54
,
0x0a
,
0x10
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x1c
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x22
,
0xf2
,
0x02
,
0x0a
,
0x0e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x12
,
0x0e
,
0x0a
,
0x02
,
0x49
,
0x64
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x02
,
0x49
,
0x64
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x12
,
0x18
,
0x0a
,
0x07
,
0x44
,
0x69
,
0x73
,
0x61
,
0x62
,
0x6c
,
0x65
,
0x18
,
0x05
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x07
,
0x44
,
0x69
,
0x73
,
0x61
,
0x62
,
0x6c
,
0x65
,
0x12
,
0x22
,
0x0a
,
0x0c
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x45
,
0x73
,
0x74
,
0x6f
,
0x70
,
0x70
,
0x65
,
0x6c
,
0x18
,
0x06
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x0c
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x45
,
0x73
,
0x74
,
0x6f
,
0x70
,
0x70
,
0x65
,
0x6c
,
0x12
,
0x26
,
0x0a
,
0x0e
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x41
,
0x75
,
0x64
,
0x69
,
0x6f
,
0x56
,
0x69
,
0x64
,
0x65
,
0x6f
,
0x18
,
0x07
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x0e
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x41
,
0x75
,
0x64
,
0x69
,
0x6f
,
0x56
,
0x69
,
0x64
,
0x65
,
0x6f
,
0x12
,
0x10
,
0x0a
,
0x03
,
0x45
,
0x78
,
0x74
,
0x18
,
0x08
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x03
,
0x45
,
0x78
,
0x74
,
0x12
,
0x1e
,
0x0a
,
0x0a
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x18
,
0x09
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x0a
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x12
,
0x1e
,
0x0a
,
0x0a
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x18
,
0x0a
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x0a
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x12
,
0x20
,
0x0a
,
0x0b
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x53
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x18
,
0x0b
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x0b
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x53
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x12
,
0x1a
,
0x0a
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x18
,
0x0c
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x12
,
0x18
,
0x0a
,
0x07
,
0x45
,
0x64
,
0x69
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x18
,
0x0d
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x07
,
0x45
,
0x64
,
0x69
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x22
,
0x87
,
0x03
,
0x0a
,
0x11
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x50
,
0x61
,
0x67
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x04
,
0x50
,
0x61
,
0x67
,
0x65
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x12
,
0x18
,
0x0a
,
0x07
,
0x44
,
0x69
,
0x73
,
0x61
,
0x62
,
0x6c
,
0x65
,
0x18
,
0x05
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x07
,
0x44
,
0x69
,
0x73
,
0x61
,
0x62
,
0x6c
,
0x65
,
0x12
,
0x22
,
0x0a
,
0x0c
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x45
,
0x73
,
0x74
,
0x6f
,
0x70
,
0x70
,
0x65
,
0x6c
,
0x18
,
0x06
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x0c
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x45
,
0x73
,
0x74
,
0x6f
,
0x70
,
0x70
,
0x65
,
0x6c
,
0x12
,
0x26
,
0x0a
,
0x0e
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x41
,
0x75
,
0x64
,
0x69
,
0x6f
,
0x56
,
0x69
,
0x64
,
0x65
,
0x6f
,
0x18
,
0x07
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x0e
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x41
,
0x75
,
0x64
,
0x69
,
0x6f
,
0x56
,
0x69
,
0x64
,
0x65
,
0x6f
,
0x12
,
0x10
,
0x0a
,
0x03
,
0x45
,
0x78
,
0x74
,
0x18
,
0x08
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x03
,
0x45
,
0x78
,
0x74
,
0x12
,
0x1e
,
0x0a
,
0x0a
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x18
,
0x09
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x0a
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x12
,
0x1e
,
0x0a
,
0x0a
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x18
,
0x0a
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x0a
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x12
,
0x20
,
0x0a
,
0x0b
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x53
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x18
,
0x0b
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x0b
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x53
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x12
,
0x1a
,
0x0a
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x18
,
0x0c
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x12
,
0x18
,
0x0a
,
0x07
,
0x45
,
0x64
,
0x69
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x18
,
0x0d
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x07
,
0x45
,
0x64
,
0x69
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x22
,
0x5f
,
0x0a
,
0x0f
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x12
,
0x26
,
0x0a
,
0x04
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x18
,
0x01
,
0x20
,
0x03
,
0x28
,
0x0b
,
0x32
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x52
,
0x04
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x12
,
0x24
,
0x0a
,
0x08
,
0x50
,
0x61
,
0x67
,
0x69
,
0x6e
,
0x61
,
0x74
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x08
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x50
,
0x61
,
0x67
,
0x65
,
0x52
,
0x08
,
0x50
,
0x61
,
0x67
,
0x69
,
0x6e
,
0x61
,
0x74
,
0x65
,
0x32
,
0xad
,
0x03
,
0x0a
,
0x06
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x12
,
0x36
,
0x0a
,
0x0e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x67
,
0x69
,
0x73
,
0x74
,
0x65
,
0x72
,
0x12
,
0x11
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x0f
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x33
,
0x0a
,
0x0b
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x12
,
0x11
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x0f
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x3c
,
0x0a
,
0x0e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x4f
,
0x75
,
0x74
,
0x12
,
0x14
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x75
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x42
,
0x0a
,
0x14
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x46
,
0x6f
,
0x72
,
0x62
,
0x69
,
0x64
,
0x64
,
0x65
,
0x6e
,
0x57
,
0x6f
,
0x72
,
0x64
,
0x73
,
0x12
,
0x14
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x3f
,
0x0a
,
0x11
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x46
,
0x6f
,
0x72
,
0x62
,
0x69
,
0x64
,
0x64
,
0x65
,
0x6e
,
0x41
,
0x56
,
0x12
,
0x14
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x37
,
0x0a
,
0x09
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x12
,
0x14
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x3a
,
0x0a
,
0x0a
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x12
,
0x15
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x13
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x62
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
}
var
(
...
...
pb/im_user.validator.pb.go
View file @
79dee922
...
...
@@ -22,9 +22,6 @@ func (this *ImUserRequest) Validate() error {
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Common"
,
err
)
}
}
if
this
.
Name
==
""
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Name"
,
fmt
.
Errorf
(
`value '%v' must not be an empty string`
,
this
.
Name
))
}
if
this
.
Mobile
==
""
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Mobile"
,
fmt
.
Errorf
(
`value '%v' must not be an empty string`
,
this
.
Mobile
))
}
...
...
u-proto/im_chat_room_user.proto
0 → 100644
View file @
79dee922
syntax
=
"proto3"
;
package
pb
;
import
"u-proto/common.proto"
;
import
"github.com/mwitkow/go-proto-validators/validator.proto"
;
//添加操作者(创建者)
message
RoomUserAddOpeRequest
{
Common
Common
=
1
;
int64
RoomId
=
2
[(
validator.field
)
=
{
int_gt
:
0
}];
string
Operator
=
3
[(
validator.field
)
=
{
string_not_empty
:
true
}];
}
//添加用户
message
RoomUserAddRequest
{
Common
Common
=
1
;
int64
RoomId
=
2
[(
validator.field
)
=
{
int_gt
:
0
}];
string
Accid
=
4
[(
validator.field
)
=
{
string_not_empty
:
true
}];
}
//设置权限
message
RoomUserSetRoleRequest
{
Common
Common
=
1
;
int64
RoomId
=
2
[(
validator.field
)
=
{
int_gt
:
0
}];
string
Operator
=
3
[(
validator.field
)
=
{
string_not_empty
:
true
}];
string
Accid
=
4
[(
validator.field
)
=
{
string_not_empty
:
true
}];
int64
Role
=
5
[(
validator.field
)
=
{
int_gt
:
0
,
int_lt
:
5
}];
}
//设置用户返回
message
RoomUserReply
{
int64
RoomId
=
1
;
string
Operator
=
2
;
string
Accid
=
3
;
int64
Role
=
4
;
}
//获取房间单个用户属性
message
RoomUserOneRequest
{
Common
Common
=
1
;
int64
RoomId
=
2
[(
validator.field
)
=
{
int_gt
:
0
}];
string
Accid
=
3
[(
validator.field
)
=
{
string_not_empty
:
true
}];
}
//返回房间单个用户属性
message
RoomUserOneReply
{
int64
Id
=
1
;
int64
RoomId
=
2
;
string
Operator
=
3
;
string
Accid
=
4
;
int64
Role
=
5
;
string
Createtime
=
6
;
string
Updatetime
=
7
;
}
//获取房间用户列表
message
RoomUserListRequest
{
Common
Common
=
1
;
int64
Page
=
2
;
int64
RoomId
=
3
;
int64
Role
=
4
;
string
Accid
=
5
;
}
//返回房间用户列表
message
RoomUserListReply
{
repeated
RoomUserOneReply
List
=
1
;
Page
Paginate
=
2
;
}
//删除房间用户
message
RoomUserDelReply
{}
service
ChatRoomUser
{
rpc
AddOperator
(
RoomUserAddOpeRequest
)
returns
(
RoomUserReply
)
{}
rpc
ChatRoomUserAdd
(
RoomUserAddRequest
)
returns
(
RoomUserReply
)
{}
rpc
ChatRoomUserSetRole
(
RoomUserSetRoleRequest
)
returns
(
RoomUserReply
)
{}
rpc
ChatRoomUserOne
(
RoomUserOneRequest
)
returns
(
RoomUserOneReply
)
{}
rpc
ChatRoomUserList
(
RoomUserListRequest
)
returns
(
RoomUserListReply
)
{}
rpc
ChatRoomUserDel
(
RoomUserOneRequest
)
returns
(
RoomUserDelReply
){}
}
\ No newline at end of file
u-proto/im_user.proto
View file @
79dee922
...
...
@@ -8,7 +8,7 @@ import "github.com/mwitkow/go-proto-validators/validator.proto";
//注册登录
message
ImUserRequest
{
Common
Common
=
1
;
string
Name
=
2
[(
validator.field
)
=
{
string_not_empty
:
true
}]
;
string
Name
=
2
;
string
Mobile
=
3
[(
validator.field
)
=
{
string_not_empty
:
true
,
length_eq
:
11
}];
string
Code
=
4
[(
validator.field
)
=
{
string_not_empty
:
true
}];
string
Platform
=
5
[(
validator.field
)
=
{
string_not_empty
:
true
}];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment