golang-im聊天
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

2989 lines
102 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0
  4. // protoc v3.14.0
  5. // source: logic.ext.proto_back
  6. package pb
  7. import (
  8. context "context"
  9. grpc "google.golang.org/grpc"
  10. codes "google.golang.org/grpc/codes"
  11. status "google.golang.org/grpc/status"
  12. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  13. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  14. reflect "reflect"
  15. sync "sync"
  16. )
  17. const (
  18. // Verify that this generated code is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  20. // Verify that runtime/protoimpl is sufficiently up-to-date.
  21. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  22. )
  23. type MemberType int32
  24. const (
  25. MemberType_GMT_UNKNOWN MemberType = 0 // 未知
  26. MemberType_GMT_ADMIN MemberType = 1 // 管理员
  27. MemberType_GMT_MEMBER MemberType = 2 // 成员
  28. )
  29. // Enum value maps for MemberType.
  30. var (
  31. MemberType_name = map[int32]string{
  32. 0: "GMT_UNKNOWN",
  33. 1: "GMT_ADMIN",
  34. 2: "GMT_MEMBER",
  35. }
  36. MemberType_value = map[string]int32{
  37. "GMT_UNKNOWN": 0,
  38. "GMT_ADMIN": 1,
  39. "GMT_MEMBER": 2,
  40. }
  41. )
  42. func (x MemberType) Enum() *MemberType {
  43. p := new(MemberType)
  44. *p = x
  45. return p
  46. }
  47. func (x MemberType) String() string {
  48. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  49. }
  50. func (MemberType) Descriptor() protoreflect.EnumDescriptor {
  51. return file_logic_ext_proto_enumTypes[0].Descriptor()
  52. }
  53. func (MemberType) Type() protoreflect.EnumType {
  54. return &file_logic_ext_proto_enumTypes[0]
  55. }
  56. func (x MemberType) Number() protoreflect.EnumNumber {
  57. return protoreflect.EnumNumber(x)
  58. }
  59. // Deprecated: Use MemberType.Descriptor instead.
  60. func (MemberType) EnumDescriptor() ([]byte, []int) {
  61. return file_logic_ext_proto_rawDescGZIP(), []int{0}
  62. }
  63. type RegisterDeviceReq struct {
  64. state protoimpl.MessageState
  65. sizeCache protoimpl.SizeCache
  66. unknownFields protoimpl.UnknownFields
  67. Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` // 设备类型
  68. Brand string `protobuf:"bytes,3,opt,name=brand,proto3" json:"brand,omitempty"` // 厂商
  69. Model string `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"` // 机型
  70. SystemVersion string `protobuf:"bytes,5,opt,name=system_version,json=systemVersion,proto3" json:"system_version,omitempty"` // 系统版本
  71. SdkVersion string `protobuf:"bytes,6,opt,name=sdk_version,json=sdkVersion,proto3" json:"sdk_version,omitempty"` // sdk版本号
  72. }
  73. func (x *RegisterDeviceReq) Reset() {
  74. *x = RegisterDeviceReq{}
  75. if protoimpl.UnsafeEnabled {
  76. mi := &file_logic_ext_proto_msgTypes[0]
  77. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  78. ms.StoreMessageInfo(mi)
  79. }
  80. }
  81. func (x *RegisterDeviceReq) String() string {
  82. return protoimpl.X.MessageStringOf(x)
  83. }
  84. func (*RegisterDeviceReq) ProtoMessage() {}
  85. func (x *RegisterDeviceReq) ProtoReflect() protoreflect.Message {
  86. mi := &file_logic_ext_proto_msgTypes[0]
  87. if protoimpl.UnsafeEnabled && x != nil {
  88. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  89. if ms.LoadMessageInfo() == nil {
  90. ms.StoreMessageInfo(mi)
  91. }
  92. return ms
  93. }
  94. return mi.MessageOf(x)
  95. }
  96. // Deprecated: Use RegisterDeviceReq.ProtoReflect.Descriptor instead.
  97. func (*RegisterDeviceReq) Descriptor() ([]byte, []int) {
  98. return file_logic_ext_proto_rawDescGZIP(), []int{0}
  99. }
  100. func (x *RegisterDeviceReq) GetType() int32 {
  101. if x != nil {
  102. return x.Type
  103. }
  104. return 0
  105. }
  106. func (x *RegisterDeviceReq) GetBrand() string {
  107. if x != nil {
  108. return x.Brand
  109. }
  110. return ""
  111. }
  112. func (x *RegisterDeviceReq) GetModel() string {
  113. if x != nil {
  114. return x.Model
  115. }
  116. return ""
  117. }
  118. func (x *RegisterDeviceReq) GetSystemVersion() string {
  119. if x != nil {
  120. return x.SystemVersion
  121. }
  122. return ""
  123. }
  124. func (x *RegisterDeviceReq) GetSdkVersion() string {
  125. if x != nil {
  126. return x.SdkVersion
  127. }
  128. return ""
  129. }
  130. type RegisterDeviceResp struct {
  131. state protoimpl.MessageState
  132. sizeCache protoimpl.SizeCache
  133. unknownFields protoimpl.UnknownFields
  134. DeviceId int64 `protobuf:"varint,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // 设备id
  135. }
  136. func (x *RegisterDeviceResp) Reset() {
  137. *x = RegisterDeviceResp{}
  138. if protoimpl.UnsafeEnabled {
  139. mi := &file_logic_ext_proto_msgTypes[1]
  140. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  141. ms.StoreMessageInfo(mi)
  142. }
  143. }
  144. func (x *RegisterDeviceResp) String() string {
  145. return protoimpl.X.MessageStringOf(x)
  146. }
  147. func (*RegisterDeviceResp) ProtoMessage() {}
  148. func (x *RegisterDeviceResp) ProtoReflect() protoreflect.Message {
  149. mi := &file_logic_ext_proto_msgTypes[1]
  150. if protoimpl.UnsafeEnabled && x != nil {
  151. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  152. if ms.LoadMessageInfo() == nil {
  153. ms.StoreMessageInfo(mi)
  154. }
  155. return ms
  156. }
  157. return mi.MessageOf(x)
  158. }
  159. // Deprecated: Use RegisterDeviceResp.ProtoReflect.Descriptor instead.
  160. func (*RegisterDeviceResp) Descriptor() ([]byte, []int) {
  161. return file_logic_ext_proto_rawDescGZIP(), []int{1}
  162. }
  163. func (x *RegisterDeviceResp) GetDeviceId() int64 {
  164. if x != nil {
  165. return x.DeviceId
  166. }
  167. return 0
  168. }
  169. type SendMessageReq struct {
  170. state protoimpl.MessageState
  171. sizeCache protoimpl.SizeCache
  172. unknownFields protoimpl.UnknownFields
  173. ReceiverType ReceiverType `protobuf:"varint,1,opt,name=receiver_type,json=receiverType,proto3,enum=pb.ReceiverType" json:"receiver_type,omitempty"` // 接收者类型,1:user;2:group
  174. ReceiverId int64 `protobuf:"varint,2,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id,omitempty"` // 用户id或者群组id
  175. ToUserIds []int64 `protobuf:"varint,3,rep,packed,name=to_user_ids,json=toUserIds,proto3" json:"to_user_ids,omitempty"` // 需要@的用户id列表
  176. MessageType MessageType `protobuf:"varint,4,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"` // 消息类型
  177. MessageContent []byte `protobuf:"bytes,5,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // 消息内容
  178. SendTime int64 `protobuf:"varint,6,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"` // 消息发送时间戳,精确到毫秒
  179. IsPersist bool `protobuf:"varint,7,opt,name=is_persist,json=isPersist,proto3" json:"is_persist,omitempty"` // 是否将消息持久化到数据库
  180. MessageContentBack string `protobuf:"bytes,8,opt,name=message_content_back,json=messageContentBack,proto3" json:"message_content_back,omitempty"`
  181. }
  182. func (x *SendMessageReq) Reset() {
  183. *x = SendMessageReq{}
  184. if protoimpl.UnsafeEnabled {
  185. mi := &file_logic_ext_proto_msgTypes[2]
  186. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  187. ms.StoreMessageInfo(mi)
  188. }
  189. }
  190. func (x *SendMessageReq) String() string {
  191. return protoimpl.X.MessageStringOf(x)
  192. }
  193. func (*SendMessageReq) ProtoMessage() {}
  194. func (x *SendMessageReq) ProtoReflect() protoreflect.Message {
  195. mi := &file_logic_ext_proto_msgTypes[2]
  196. if protoimpl.UnsafeEnabled && x != nil {
  197. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  198. if ms.LoadMessageInfo() == nil {
  199. ms.StoreMessageInfo(mi)
  200. }
  201. return ms
  202. }
  203. return mi.MessageOf(x)
  204. }
  205. // Deprecated: Use SendMessageReq.ProtoReflect.Descriptor instead.
  206. func (*SendMessageReq) Descriptor() ([]byte, []int) {
  207. return file_logic_ext_proto_rawDescGZIP(), []int{2}
  208. }
  209. func (x *SendMessageReq) GetReceiverType() ReceiverType {
  210. if x != nil {
  211. return x.ReceiverType
  212. }
  213. return ReceiverType_RT_UNKNOWN
  214. }
  215. func (x *SendMessageReq) GetReceiverId() int64 {
  216. if x != nil {
  217. return x.ReceiverId
  218. }
  219. return 0
  220. }
  221. func (x *SendMessageReq) GetToUserIds() []int64 {
  222. if x != nil {
  223. return x.ToUserIds
  224. }
  225. return nil
  226. }
  227. func (x *SendMessageReq) GetMessageType() MessageType {
  228. if x != nil {
  229. return x.MessageType
  230. }
  231. return MessageType_MT_UNKNOWN
  232. }
  233. func (x *SendMessageReq) GetMessageContent() []byte {
  234. if x != nil {
  235. return x.MessageContent
  236. }
  237. return nil
  238. }
  239. func (x *SendMessageReq) GetSendTime() int64 {
  240. if x != nil {
  241. return x.SendTime
  242. }
  243. return 0
  244. }
  245. func (x *SendMessageReq) GetIsPersist() bool {
  246. if x != nil {
  247. return x.IsPersist
  248. }
  249. return false
  250. }
  251. type SendMessageResp struct {
  252. state protoimpl.MessageState
  253. sizeCache protoimpl.SizeCache
  254. unknownFields protoimpl.UnknownFields
  255. Seq int64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` // 消息序列号
  256. }
  257. func (x *SendMessageResp) Reset() {
  258. *x = SendMessageResp{}
  259. if protoimpl.UnsafeEnabled {
  260. mi := &file_logic_ext_proto_msgTypes[3]
  261. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  262. ms.StoreMessageInfo(mi)
  263. }
  264. }
  265. func (x *SendMessageResp) String() string {
  266. return protoimpl.X.MessageStringOf(x)
  267. }
  268. func (*SendMessageResp) ProtoMessage() {}
  269. func (x *SendMessageResp) ProtoReflect() protoreflect.Message {
  270. mi := &file_logic_ext_proto_msgTypes[3]
  271. if protoimpl.UnsafeEnabled && x != nil {
  272. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  273. if ms.LoadMessageInfo() == nil {
  274. ms.StoreMessageInfo(mi)
  275. }
  276. return ms
  277. }
  278. return mi.MessageOf(x)
  279. }
  280. // Deprecated: Use SendMessageResp.ProtoReflect.Descriptor instead.
  281. func (*SendMessageResp) Descriptor() ([]byte, []int) {
  282. return file_logic_ext_proto_rawDescGZIP(), []int{3}
  283. }
  284. func (x *SendMessageResp) GetSeq() int64 {
  285. if x != nil {
  286. return x.Seq
  287. }
  288. return 0
  289. }
  290. type PushRoomReq struct {
  291. state protoimpl.MessageState
  292. sizeCache protoimpl.SizeCache
  293. unknownFields protoimpl.UnknownFields
  294. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // 房间id
  295. MessageType MessageType `protobuf:"varint,2,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"` // 消息类型
  296. MessageContent []byte `protobuf:"bytes,3,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // 消息内容
  297. SendTime int64 `protobuf:"varint,4,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"` // 消息发送时间戳,精确到毫秒
  298. IsPersist bool `protobuf:"varint,5,opt,name=is_persist,json=isPersist,proto3" json:"is_persist,omitempty"` // 是否将消息持久化
  299. IsPriority bool `protobuf:"varint,6,opt,name=is_priority,json=isPriority,proto3" json:"is_priority,omitempty"` // 是否优先推送
  300. }
  301. func (x *PushRoomReq) Reset() {
  302. *x = PushRoomReq{}
  303. if protoimpl.UnsafeEnabled {
  304. mi := &file_logic_ext_proto_msgTypes[4]
  305. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  306. ms.StoreMessageInfo(mi)
  307. }
  308. }
  309. func (x *PushRoomReq) String() string {
  310. return protoimpl.X.MessageStringOf(x)
  311. }
  312. func (*PushRoomReq) ProtoMessage() {}
  313. func (x *PushRoomReq) ProtoReflect() protoreflect.Message {
  314. mi := &file_logic_ext_proto_msgTypes[4]
  315. if protoimpl.UnsafeEnabled && x != nil {
  316. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  317. if ms.LoadMessageInfo() == nil {
  318. ms.StoreMessageInfo(mi)
  319. }
  320. return ms
  321. }
  322. return mi.MessageOf(x)
  323. }
  324. // Deprecated: Use PushRoomReq.ProtoReflect.Descriptor instead.
  325. func (*PushRoomReq) Descriptor() ([]byte, []int) {
  326. return file_logic_ext_proto_rawDescGZIP(), []int{4}
  327. }
  328. func (x *PushRoomReq) GetRoomId() int64 {
  329. if x != nil {
  330. return x.RoomId
  331. }
  332. return 0
  333. }
  334. func (x *PushRoomReq) GetMessageType() MessageType {
  335. if x != nil {
  336. return x.MessageType
  337. }
  338. return MessageType_MT_UNKNOWN
  339. }
  340. func (x *PushRoomReq) GetMessageContent() []byte {
  341. if x != nil {
  342. return x.MessageContent
  343. }
  344. return nil
  345. }
  346. func (x *PushRoomReq) GetSendTime() int64 {
  347. if x != nil {
  348. return x.SendTime
  349. }
  350. return 0
  351. }
  352. func (x *PushRoomReq) GetIsPersist() bool {
  353. if x != nil {
  354. return x.IsPersist
  355. }
  356. return false
  357. }
  358. func (x *PushRoomReq) GetIsPriority() bool {
  359. if x != nil {
  360. return x.IsPriority
  361. }
  362. return false
  363. }
  364. type AddFriendReq struct {
  365. state protoimpl.MessageState
  366. sizeCache protoimpl.SizeCache
  367. unknownFields protoimpl.UnknownFields
  368. FriendId int64 `protobuf:"varint,1,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // 用户id
  369. Remarks string `protobuf:"bytes,2,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  370. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // 描述
  371. }
  372. func (x *AddFriendReq) Reset() {
  373. *x = AddFriendReq{}
  374. if protoimpl.UnsafeEnabled {
  375. mi := &file_logic_ext_proto_msgTypes[5]
  376. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  377. ms.StoreMessageInfo(mi)
  378. }
  379. }
  380. func (x *AddFriendReq) String() string {
  381. return protoimpl.X.MessageStringOf(x)
  382. }
  383. func (*AddFriendReq) ProtoMessage() {}
  384. func (x *AddFriendReq) ProtoReflect() protoreflect.Message {
  385. mi := &file_logic_ext_proto_msgTypes[5]
  386. if protoimpl.UnsafeEnabled && x != nil {
  387. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  388. if ms.LoadMessageInfo() == nil {
  389. ms.StoreMessageInfo(mi)
  390. }
  391. return ms
  392. }
  393. return mi.MessageOf(x)
  394. }
  395. // Deprecated: Use AddFriendReq.ProtoReflect.Descriptor instead.
  396. func (*AddFriendReq) Descriptor() ([]byte, []int) {
  397. return file_logic_ext_proto_rawDescGZIP(), []int{5}
  398. }
  399. func (x *AddFriendReq) GetFriendId() int64 {
  400. if x != nil {
  401. return x.FriendId
  402. }
  403. return 0
  404. }
  405. func (x *AddFriendReq) GetRemarks() string {
  406. if x != nil {
  407. return x.Remarks
  408. }
  409. return ""
  410. }
  411. func (x *AddFriendReq) GetDescription() string {
  412. if x != nil {
  413. return x.Description
  414. }
  415. return ""
  416. }
  417. type AgreeAddFriendReq struct {
  418. state protoimpl.MessageState
  419. sizeCache protoimpl.SizeCache
  420. unknownFields protoimpl.UnknownFields
  421. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  422. Remarks string `protobuf:"bytes,2,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  423. }
  424. func (x *AgreeAddFriendReq) Reset() {
  425. *x = AgreeAddFriendReq{}
  426. if protoimpl.UnsafeEnabled {
  427. mi := &file_logic_ext_proto_msgTypes[6]
  428. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  429. ms.StoreMessageInfo(mi)
  430. }
  431. }
  432. func (x *AgreeAddFriendReq) String() string {
  433. return protoimpl.X.MessageStringOf(x)
  434. }
  435. func (*AgreeAddFriendReq) ProtoMessage() {}
  436. func (x *AgreeAddFriendReq) ProtoReflect() protoreflect.Message {
  437. mi := &file_logic_ext_proto_msgTypes[6]
  438. if protoimpl.UnsafeEnabled && x != nil {
  439. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  440. if ms.LoadMessageInfo() == nil {
  441. ms.StoreMessageInfo(mi)
  442. }
  443. return ms
  444. }
  445. return mi.MessageOf(x)
  446. }
  447. // Deprecated: Use AgreeAddFriendReq.ProtoReflect.Descriptor instead.
  448. func (*AgreeAddFriendReq) Descriptor() ([]byte, []int) {
  449. return file_logic_ext_proto_rawDescGZIP(), []int{6}
  450. }
  451. func (x *AgreeAddFriendReq) GetUserId() int64 {
  452. if x != nil {
  453. return x.UserId
  454. }
  455. return 0
  456. }
  457. func (x *AgreeAddFriendReq) GetRemarks() string {
  458. if x != nil {
  459. return x.Remarks
  460. }
  461. return ""
  462. }
  463. type SetFriendReq struct {
  464. state protoimpl.MessageState
  465. sizeCache protoimpl.SizeCache
  466. unknownFields protoimpl.UnknownFields
  467. FriendId int64 `protobuf:"varint,1,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // 好友id
  468. Remarks string `protobuf:"bytes,2,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  469. Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  470. }
  471. func (x *SetFriendReq) Reset() {
  472. *x = SetFriendReq{}
  473. if protoimpl.UnsafeEnabled {
  474. mi := &file_logic_ext_proto_msgTypes[7]
  475. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  476. ms.StoreMessageInfo(mi)
  477. }
  478. }
  479. func (x *SetFriendReq) String() string {
  480. return protoimpl.X.MessageStringOf(x)
  481. }
  482. func (*SetFriendReq) ProtoMessage() {}
  483. func (x *SetFriendReq) ProtoReflect() protoreflect.Message {
  484. mi := &file_logic_ext_proto_msgTypes[7]
  485. if protoimpl.UnsafeEnabled && x != nil {
  486. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  487. if ms.LoadMessageInfo() == nil {
  488. ms.StoreMessageInfo(mi)
  489. }
  490. return ms
  491. }
  492. return mi.MessageOf(x)
  493. }
  494. // Deprecated: Use SetFriendReq.ProtoReflect.Descriptor instead.
  495. func (*SetFriendReq) Descriptor() ([]byte, []int) {
  496. return file_logic_ext_proto_rawDescGZIP(), []int{7}
  497. }
  498. func (x *SetFriendReq) GetFriendId() int64 {
  499. if x != nil {
  500. return x.FriendId
  501. }
  502. return 0
  503. }
  504. func (x *SetFriendReq) GetRemarks() string {
  505. if x != nil {
  506. return x.Remarks
  507. }
  508. return ""
  509. }
  510. func (x *SetFriendReq) GetExtra() string {
  511. if x != nil {
  512. return x.Extra
  513. }
  514. return ""
  515. }
  516. type SetFriendResp struct {
  517. state protoimpl.MessageState
  518. sizeCache protoimpl.SizeCache
  519. unknownFields protoimpl.UnknownFields
  520. FriendId int64 `protobuf:"varint,1,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // 好友id
  521. Remarks string `protobuf:"bytes,2,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  522. Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  523. }
  524. func (x *SetFriendResp) Reset() {
  525. *x = SetFriendResp{}
  526. if protoimpl.UnsafeEnabled {
  527. mi := &file_logic_ext_proto_msgTypes[8]
  528. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  529. ms.StoreMessageInfo(mi)
  530. }
  531. }
  532. func (x *SetFriendResp) String() string {
  533. return protoimpl.X.MessageStringOf(x)
  534. }
  535. func (*SetFriendResp) ProtoMessage() {}
  536. func (x *SetFriendResp) ProtoReflect() protoreflect.Message {
  537. mi := &file_logic_ext_proto_msgTypes[8]
  538. if protoimpl.UnsafeEnabled && x != nil {
  539. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  540. if ms.LoadMessageInfo() == nil {
  541. ms.StoreMessageInfo(mi)
  542. }
  543. return ms
  544. }
  545. return mi.MessageOf(x)
  546. }
  547. // Deprecated: Use SetFriendResp.ProtoReflect.Descriptor instead.
  548. func (*SetFriendResp) Descriptor() ([]byte, []int) {
  549. return file_logic_ext_proto_rawDescGZIP(), []int{8}
  550. }
  551. func (x *SetFriendResp) GetFriendId() int64 {
  552. if x != nil {
  553. return x.FriendId
  554. }
  555. return 0
  556. }
  557. func (x *SetFriendResp) GetRemarks() string {
  558. if x != nil {
  559. return x.Remarks
  560. }
  561. return ""
  562. }
  563. func (x *SetFriendResp) GetExtra() string {
  564. if x != nil {
  565. return x.Extra
  566. }
  567. return ""
  568. }
  569. type Friend struct {
  570. state protoimpl.MessageState
  571. sizeCache protoimpl.SizeCache
  572. unknownFields protoimpl.UnknownFields
  573. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  574. PhoneNumber string `protobuf:"bytes,2,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // 电话号码
  575. Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  576. Sex int32 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex,omitempty"` // 性别
  577. AvatarUrl string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
  578. UserExtra string `protobuf:"bytes,6,opt,name=user_extra,json=userExtra,proto3" json:"user_extra,omitempty"` // 用户附加字段
  579. Remarks string `protobuf:"bytes,7,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  580. Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  581. }
  582. func (x *Friend) Reset() {
  583. *x = Friend{}
  584. if protoimpl.UnsafeEnabled {
  585. mi := &file_logic_ext_proto_msgTypes[9]
  586. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  587. ms.StoreMessageInfo(mi)
  588. }
  589. }
  590. func (x *Friend) String() string {
  591. return protoimpl.X.MessageStringOf(x)
  592. }
  593. func (*Friend) ProtoMessage() {}
  594. func (x *Friend) ProtoReflect() protoreflect.Message {
  595. mi := &file_logic_ext_proto_msgTypes[9]
  596. if protoimpl.UnsafeEnabled && x != nil {
  597. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  598. if ms.LoadMessageInfo() == nil {
  599. ms.StoreMessageInfo(mi)
  600. }
  601. return ms
  602. }
  603. return mi.MessageOf(x)
  604. }
  605. // Deprecated: Use Friend.ProtoReflect.Descriptor instead.
  606. func (*Friend) Descriptor() ([]byte, []int) {
  607. return file_logic_ext_proto_rawDescGZIP(), []int{9}
  608. }
  609. func (x *Friend) GetUserId() int64 {
  610. if x != nil {
  611. return x.UserId
  612. }
  613. return 0
  614. }
  615. func (x *Friend) GetPhoneNumber() string {
  616. if x != nil {
  617. return x.PhoneNumber
  618. }
  619. return ""
  620. }
  621. func (x *Friend) GetNickname() string {
  622. if x != nil {
  623. return x.Nickname
  624. }
  625. return ""
  626. }
  627. func (x *Friend) GetSex() int32 {
  628. if x != nil {
  629. return x.Sex
  630. }
  631. return 0
  632. }
  633. func (x *Friend) GetAvatarUrl() string {
  634. if x != nil {
  635. return x.AvatarUrl
  636. }
  637. return ""
  638. }
  639. func (x *Friend) GetUserExtra() string {
  640. if x != nil {
  641. return x.UserExtra
  642. }
  643. return ""
  644. }
  645. func (x *Friend) GetRemarks() string {
  646. if x != nil {
  647. return x.Remarks
  648. }
  649. return ""
  650. }
  651. func (x *Friend) GetExtra() string {
  652. if x != nil {
  653. return x.Extra
  654. }
  655. return ""
  656. }
  657. type GetFriendsResp struct {
  658. state protoimpl.MessageState
  659. sizeCache protoimpl.SizeCache
  660. unknownFields protoimpl.UnknownFields
  661. Friends []*Friend `protobuf:"bytes,1,rep,name=friends,proto3" json:"friends,omitempty"`
  662. }
  663. func (x *GetFriendsResp) Reset() {
  664. *x = GetFriendsResp{}
  665. if protoimpl.UnsafeEnabled {
  666. mi := &file_logic_ext_proto_msgTypes[10]
  667. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  668. ms.StoreMessageInfo(mi)
  669. }
  670. }
  671. func (x *GetFriendsResp) String() string {
  672. return protoimpl.X.MessageStringOf(x)
  673. }
  674. func (*GetFriendsResp) ProtoMessage() {}
  675. func (x *GetFriendsResp) ProtoReflect() protoreflect.Message {
  676. mi := &file_logic_ext_proto_msgTypes[10]
  677. if protoimpl.UnsafeEnabled && x != nil {
  678. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  679. if ms.LoadMessageInfo() == nil {
  680. ms.StoreMessageInfo(mi)
  681. }
  682. return ms
  683. }
  684. return mi.MessageOf(x)
  685. }
  686. // Deprecated: Use GetFriendsResp.ProtoReflect.Descriptor instead.
  687. func (*GetFriendsResp) Descriptor() ([]byte, []int) {
  688. return file_logic_ext_proto_rawDescGZIP(), []int{10}
  689. }
  690. func (x *GetFriendsResp) GetFriends() []*Friend {
  691. if x != nil {
  692. return x.Friends
  693. }
  694. return nil
  695. }
  696. type CreateGroupReq struct {
  697. state protoimpl.MessageState
  698. sizeCache protoimpl.SizeCache
  699. unknownFields protoimpl.UnknownFields
  700. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 名称
  701. AvatarUrl string `protobuf:"bytes,2,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
  702. Introduction string `protobuf:"bytes,3,opt,name=introduction,proto3" json:"introduction,omitempty"` // 简介
  703. Extra string `protobuf:"bytes,4,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  704. MemberIds []int64 `protobuf:"varint,5,rep,packed,name=member_ids,json=memberIds,proto3" json:"member_ids,omitempty"` // 群组成员ID列表
  705. }
  706. func (x *CreateGroupReq) Reset() {
  707. *x = CreateGroupReq{}
  708. if protoimpl.UnsafeEnabled {
  709. mi := &file_logic_ext_proto_msgTypes[11]
  710. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  711. ms.StoreMessageInfo(mi)
  712. }
  713. }
  714. func (x *CreateGroupReq) String() string {
  715. return protoimpl.X.MessageStringOf(x)
  716. }
  717. func (*CreateGroupReq) ProtoMessage() {}
  718. func (x *CreateGroupReq) ProtoReflect() protoreflect.Message {
  719. mi := &file_logic_ext_proto_msgTypes[11]
  720. if protoimpl.UnsafeEnabled && x != nil {
  721. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  722. if ms.LoadMessageInfo() == nil {
  723. ms.StoreMessageInfo(mi)
  724. }
  725. return ms
  726. }
  727. return mi.MessageOf(x)
  728. }
  729. // Deprecated: Use CreateGroupReq.ProtoReflect.Descriptor instead.
  730. func (*CreateGroupReq) Descriptor() ([]byte, []int) {
  731. return file_logic_ext_proto_rawDescGZIP(), []int{11}
  732. }
  733. func (x *CreateGroupReq) GetName() string {
  734. if x != nil {
  735. return x.Name
  736. }
  737. return ""
  738. }
  739. func (x *CreateGroupReq) GetAvatarUrl() string {
  740. if x != nil {
  741. return x.AvatarUrl
  742. }
  743. return ""
  744. }
  745. func (x *CreateGroupReq) GetIntroduction() string {
  746. if x != nil {
  747. return x.Introduction
  748. }
  749. return ""
  750. }
  751. func (x *CreateGroupReq) GetExtra() string {
  752. if x != nil {
  753. return x.Extra
  754. }
  755. return ""
  756. }
  757. func (x *CreateGroupReq) GetMemberIds() []int64 {
  758. if x != nil {
  759. return x.MemberIds
  760. }
  761. return nil
  762. }
  763. type CreateGroupResp struct {
  764. state protoimpl.MessageState
  765. sizeCache protoimpl.SizeCache
  766. unknownFields protoimpl.UnknownFields
  767. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  768. }
  769. func (x *CreateGroupResp) Reset() {
  770. *x = CreateGroupResp{}
  771. if protoimpl.UnsafeEnabled {
  772. mi := &file_logic_ext_proto_msgTypes[12]
  773. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  774. ms.StoreMessageInfo(mi)
  775. }
  776. }
  777. func (x *CreateGroupResp) String() string {
  778. return protoimpl.X.MessageStringOf(x)
  779. }
  780. func (*CreateGroupResp) ProtoMessage() {}
  781. func (x *CreateGroupResp) ProtoReflect() protoreflect.Message {
  782. mi := &file_logic_ext_proto_msgTypes[12]
  783. if protoimpl.UnsafeEnabled && x != nil {
  784. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  785. if ms.LoadMessageInfo() == nil {
  786. ms.StoreMessageInfo(mi)
  787. }
  788. return ms
  789. }
  790. return mi.MessageOf(x)
  791. }
  792. // Deprecated: Use CreateGroupResp.ProtoReflect.Descriptor instead.
  793. func (*CreateGroupResp) Descriptor() ([]byte, []int) {
  794. return file_logic_ext_proto_rawDescGZIP(), []int{12}
  795. }
  796. func (x *CreateGroupResp) GetGroupId() int64 {
  797. if x != nil {
  798. return x.GroupId
  799. }
  800. return 0
  801. }
  802. type UpdateGroupReq struct {
  803. state protoimpl.MessageState
  804. sizeCache protoimpl.SizeCache
  805. unknownFields protoimpl.UnknownFields
  806. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  807. AvatarUrl string `protobuf:"bytes,2,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
  808. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 名称
  809. Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction,omitempty"` // 简介
  810. Extra string `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  811. }
  812. func (x *UpdateGroupReq) Reset() {
  813. *x = UpdateGroupReq{}
  814. if protoimpl.UnsafeEnabled {
  815. mi := &file_logic_ext_proto_msgTypes[13]
  816. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  817. ms.StoreMessageInfo(mi)
  818. }
  819. }
  820. func (x *UpdateGroupReq) String() string {
  821. return protoimpl.X.MessageStringOf(x)
  822. }
  823. func (*UpdateGroupReq) ProtoMessage() {}
  824. func (x *UpdateGroupReq) ProtoReflect() protoreflect.Message {
  825. mi := &file_logic_ext_proto_msgTypes[13]
  826. if protoimpl.UnsafeEnabled && x != nil {
  827. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  828. if ms.LoadMessageInfo() == nil {
  829. ms.StoreMessageInfo(mi)
  830. }
  831. return ms
  832. }
  833. return mi.MessageOf(x)
  834. }
  835. // Deprecated: Use UpdateGroupReq.ProtoReflect.Descriptor instead.
  836. func (*UpdateGroupReq) Descriptor() ([]byte, []int) {
  837. return file_logic_ext_proto_rawDescGZIP(), []int{13}
  838. }
  839. func (x *UpdateGroupReq) GetGroupId() int64 {
  840. if x != nil {
  841. return x.GroupId
  842. }
  843. return 0
  844. }
  845. func (x *UpdateGroupReq) GetAvatarUrl() string {
  846. if x != nil {
  847. return x.AvatarUrl
  848. }
  849. return ""
  850. }
  851. func (x *UpdateGroupReq) GetName() string {
  852. if x != nil {
  853. return x.Name
  854. }
  855. return ""
  856. }
  857. func (x *UpdateGroupReq) GetIntroduction() string {
  858. if x != nil {
  859. return x.Introduction
  860. }
  861. return ""
  862. }
  863. func (x *UpdateGroupReq) GetExtra() string {
  864. if x != nil {
  865. return x.Extra
  866. }
  867. return ""
  868. }
  869. type GetGroupReq struct {
  870. state protoimpl.MessageState
  871. sizeCache protoimpl.SizeCache
  872. unknownFields protoimpl.UnknownFields
  873. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
  874. }
  875. func (x *GetGroupReq) Reset() {
  876. *x = GetGroupReq{}
  877. if protoimpl.UnsafeEnabled {
  878. mi := &file_logic_ext_proto_msgTypes[14]
  879. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  880. ms.StoreMessageInfo(mi)
  881. }
  882. }
  883. func (x *GetGroupReq) String() string {
  884. return protoimpl.X.MessageStringOf(x)
  885. }
  886. func (*GetGroupReq) ProtoMessage() {}
  887. func (x *GetGroupReq) ProtoReflect() protoreflect.Message {
  888. mi := &file_logic_ext_proto_msgTypes[14]
  889. if protoimpl.UnsafeEnabled && x != nil {
  890. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  891. if ms.LoadMessageInfo() == nil {
  892. ms.StoreMessageInfo(mi)
  893. }
  894. return ms
  895. }
  896. return mi.MessageOf(x)
  897. }
  898. // Deprecated: Use GetGroupReq.ProtoReflect.Descriptor instead.
  899. func (*GetGroupReq) Descriptor() ([]byte, []int) {
  900. return file_logic_ext_proto_rawDescGZIP(), []int{14}
  901. }
  902. func (x *GetGroupReq) GetGroupId() int64 {
  903. if x != nil {
  904. return x.GroupId
  905. }
  906. return 0
  907. }
  908. type GetGroupResp struct {
  909. state protoimpl.MessageState
  910. sizeCache protoimpl.SizeCache
  911. unknownFields protoimpl.UnknownFields
  912. Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
  913. }
  914. func (x *GetGroupResp) Reset() {
  915. *x = GetGroupResp{}
  916. if protoimpl.UnsafeEnabled {
  917. mi := &file_logic_ext_proto_msgTypes[15]
  918. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  919. ms.StoreMessageInfo(mi)
  920. }
  921. }
  922. func (x *GetGroupResp) String() string {
  923. return protoimpl.X.MessageStringOf(x)
  924. }
  925. func (*GetGroupResp) ProtoMessage() {}
  926. func (x *GetGroupResp) ProtoReflect() protoreflect.Message {
  927. mi := &file_logic_ext_proto_msgTypes[15]
  928. if protoimpl.UnsafeEnabled && x != nil {
  929. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  930. if ms.LoadMessageInfo() == nil {
  931. ms.StoreMessageInfo(mi)
  932. }
  933. return ms
  934. }
  935. return mi.MessageOf(x)
  936. }
  937. // Deprecated: Use GetGroupResp.ProtoReflect.Descriptor instead.
  938. func (*GetGroupResp) Descriptor() ([]byte, []int) {
  939. return file_logic_ext_proto_rawDescGZIP(), []int{15}
  940. }
  941. func (x *GetGroupResp) GetGroup() *Group {
  942. if x != nil {
  943. return x.Group
  944. }
  945. return nil
  946. }
  947. type Group struct {
  948. state protoimpl.MessageState
  949. sizeCache protoimpl.SizeCache
  950. unknownFields protoimpl.UnknownFields
  951. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  952. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 名称
  953. AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
  954. Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction,omitempty"` // 简介
  955. UserMum int32 `protobuf:"varint,5,opt,name=user_mum,json=userMum,proto3" json:"user_mum,omitempty"` // 用户数
  956. Extra string `protobuf:"bytes,6,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  957. CreateTime int64 `protobuf:"varint,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // 创建时间
  958. UpdateTime int64 `protobuf:"varint,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // 更新时间
  959. }
  960. func (x *Group) Reset() {
  961. *x = Group{}
  962. if protoimpl.UnsafeEnabled {
  963. mi := &file_logic_ext_proto_msgTypes[16]
  964. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  965. ms.StoreMessageInfo(mi)
  966. }
  967. }
  968. func (x *Group) String() string {
  969. return protoimpl.X.MessageStringOf(x)
  970. }
  971. func (*Group) ProtoMessage() {}
  972. func (x *Group) ProtoReflect() protoreflect.Message {
  973. mi := &file_logic_ext_proto_msgTypes[16]
  974. if protoimpl.UnsafeEnabled && x != nil {
  975. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  976. if ms.LoadMessageInfo() == nil {
  977. ms.StoreMessageInfo(mi)
  978. }
  979. return ms
  980. }
  981. return mi.MessageOf(x)
  982. }
  983. // Deprecated: Use Group.ProtoReflect.Descriptor instead.
  984. func (*Group) Descriptor() ([]byte, []int) {
  985. return file_logic_ext_proto_rawDescGZIP(), []int{16}
  986. }
  987. func (x *Group) GetGroupId() int64 {
  988. if x != nil {
  989. return x.GroupId
  990. }
  991. return 0
  992. }
  993. func (x *Group) GetName() string {
  994. if x != nil {
  995. return x.Name
  996. }
  997. return ""
  998. }
  999. func (x *Group) GetAvatarUrl() string {
  1000. if x != nil {
  1001. return x.AvatarUrl
  1002. }
  1003. return ""
  1004. }
  1005. func (x *Group) GetIntroduction() string {
  1006. if x != nil {
  1007. return x.Introduction
  1008. }
  1009. return ""
  1010. }
  1011. func (x *Group) GetUserMum() int32 {
  1012. if x != nil {
  1013. return x.UserMum
  1014. }
  1015. return 0
  1016. }
  1017. func (x *Group) GetExtra() string {
  1018. if x != nil {
  1019. return x.Extra
  1020. }
  1021. return ""
  1022. }
  1023. func (x *Group) GetCreateTime() int64 {
  1024. if x != nil {
  1025. return x.CreateTime
  1026. }
  1027. return 0
  1028. }
  1029. func (x *Group) GetUpdateTime() int64 {
  1030. if x != nil {
  1031. return x.UpdateTime
  1032. }
  1033. return 0
  1034. }
  1035. type GetGroupsResp struct {
  1036. state protoimpl.MessageState
  1037. sizeCache protoimpl.SizeCache
  1038. unknownFields protoimpl.UnknownFields
  1039. Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
  1040. }
  1041. func (x *GetGroupsResp) Reset() {
  1042. *x = GetGroupsResp{}
  1043. if protoimpl.UnsafeEnabled {
  1044. mi := &file_logic_ext_proto_msgTypes[17]
  1045. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1046. ms.StoreMessageInfo(mi)
  1047. }
  1048. }
  1049. func (x *GetGroupsResp) String() string {
  1050. return protoimpl.X.MessageStringOf(x)
  1051. }
  1052. func (*GetGroupsResp) ProtoMessage() {}
  1053. func (x *GetGroupsResp) ProtoReflect() protoreflect.Message {
  1054. mi := &file_logic_ext_proto_msgTypes[17]
  1055. if protoimpl.UnsafeEnabled && x != nil {
  1056. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1057. if ms.LoadMessageInfo() == nil {
  1058. ms.StoreMessageInfo(mi)
  1059. }
  1060. return ms
  1061. }
  1062. return mi.MessageOf(x)
  1063. }
  1064. // Deprecated: Use GetGroupsResp.ProtoReflect.Descriptor instead.
  1065. func (*GetGroupsResp) Descriptor() ([]byte, []int) {
  1066. return file_logic_ext_proto_rawDescGZIP(), []int{17}
  1067. }
  1068. func (x *GetGroupsResp) GetGroups() []*Group {
  1069. if x != nil {
  1070. return x.Groups
  1071. }
  1072. return nil
  1073. }
  1074. type AddGroupMembersReq struct {
  1075. state protoimpl.MessageState
  1076. sizeCache protoimpl.SizeCache
  1077. unknownFields protoimpl.UnknownFields
  1078. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  1079. UserIds []int64 `protobuf:"varint,2,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // 用户id列表
  1080. }
  1081. func (x *AddGroupMembersReq) Reset() {
  1082. *x = AddGroupMembersReq{}
  1083. if protoimpl.UnsafeEnabled {
  1084. mi := &file_logic_ext_proto_msgTypes[18]
  1085. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1086. ms.StoreMessageInfo(mi)
  1087. }
  1088. }
  1089. func (x *AddGroupMembersReq) String() string {
  1090. return protoimpl.X.MessageStringOf(x)
  1091. }
  1092. func (*AddGroupMembersReq) ProtoMessage() {}
  1093. func (x *AddGroupMembersReq) ProtoReflect() protoreflect.Message {
  1094. mi := &file_logic_ext_proto_msgTypes[18]
  1095. if protoimpl.UnsafeEnabled && x != nil {
  1096. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1097. if ms.LoadMessageInfo() == nil {
  1098. ms.StoreMessageInfo(mi)
  1099. }
  1100. return ms
  1101. }
  1102. return mi.MessageOf(x)
  1103. }
  1104. // Deprecated: Use AddGroupMembersReq.ProtoReflect.Descriptor instead.
  1105. func (*AddGroupMembersReq) Descriptor() ([]byte, []int) {
  1106. return file_logic_ext_proto_rawDescGZIP(), []int{18}
  1107. }
  1108. func (x *AddGroupMembersReq) GetGroupId() int64 {
  1109. if x != nil {
  1110. return x.GroupId
  1111. }
  1112. return 0
  1113. }
  1114. func (x *AddGroupMembersReq) GetUserIds() []int64 {
  1115. if x != nil {
  1116. return x.UserIds
  1117. }
  1118. return nil
  1119. }
  1120. type AddGroupMembersResp struct {
  1121. state protoimpl.MessageState
  1122. sizeCache protoimpl.SizeCache
  1123. unknownFields protoimpl.UnknownFields
  1124. UserIds []int64 `protobuf:"varint,1,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // 已经在群组的用户id列表
  1125. }
  1126. func (x *AddGroupMembersResp) Reset() {
  1127. *x = AddGroupMembersResp{}
  1128. if protoimpl.UnsafeEnabled {
  1129. mi := &file_logic_ext_proto_msgTypes[19]
  1130. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1131. ms.StoreMessageInfo(mi)
  1132. }
  1133. }
  1134. func (x *AddGroupMembersResp) String() string {
  1135. return protoimpl.X.MessageStringOf(x)
  1136. }
  1137. func (*AddGroupMembersResp) ProtoMessage() {}
  1138. func (x *AddGroupMembersResp) ProtoReflect() protoreflect.Message {
  1139. mi := &file_logic_ext_proto_msgTypes[19]
  1140. if protoimpl.UnsafeEnabled && x != nil {
  1141. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1142. if ms.LoadMessageInfo() == nil {
  1143. ms.StoreMessageInfo(mi)
  1144. }
  1145. return ms
  1146. }
  1147. return mi.MessageOf(x)
  1148. }
  1149. // Deprecated: Use AddGroupMembersResp.ProtoReflect.Descriptor instead.
  1150. func (*AddGroupMembersResp) Descriptor() ([]byte, []int) {
  1151. return file_logic_ext_proto_rawDescGZIP(), []int{19}
  1152. }
  1153. func (x *AddGroupMembersResp) GetUserIds() []int64 {
  1154. if x != nil {
  1155. return x.UserIds
  1156. }
  1157. return nil
  1158. }
  1159. type UpdateGroupMemberReq struct {
  1160. state protoimpl.MessageState
  1161. sizeCache protoimpl.SizeCache
  1162. unknownFields protoimpl.UnknownFields
  1163. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  1164. UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  1165. MemberType MemberType `protobuf:"varint,3,opt,name=member_type,json=memberType,proto3,enum=pb.MemberType" json:"member_type,omitempty"` // 成员类型
  1166. Remarks string `protobuf:"bytes,4,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  1167. Extra string `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  1168. }
  1169. func (x *UpdateGroupMemberReq) Reset() {
  1170. *x = UpdateGroupMemberReq{}
  1171. if protoimpl.UnsafeEnabled {
  1172. mi := &file_logic_ext_proto_msgTypes[20]
  1173. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1174. ms.StoreMessageInfo(mi)
  1175. }
  1176. }
  1177. func (x *UpdateGroupMemberReq) String() string {
  1178. return protoimpl.X.MessageStringOf(x)
  1179. }
  1180. func (*UpdateGroupMemberReq) ProtoMessage() {}
  1181. func (x *UpdateGroupMemberReq) ProtoReflect() protoreflect.Message {
  1182. mi := &file_logic_ext_proto_msgTypes[20]
  1183. if protoimpl.UnsafeEnabled && x != nil {
  1184. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1185. if ms.LoadMessageInfo() == nil {
  1186. ms.StoreMessageInfo(mi)
  1187. }
  1188. return ms
  1189. }
  1190. return mi.MessageOf(x)
  1191. }
  1192. // Deprecated: Use UpdateGroupMemberReq.ProtoReflect.Descriptor instead.
  1193. func (*UpdateGroupMemberReq) Descriptor() ([]byte, []int) {
  1194. return file_logic_ext_proto_rawDescGZIP(), []int{20}
  1195. }
  1196. func (x *UpdateGroupMemberReq) GetGroupId() int64 {
  1197. if x != nil {
  1198. return x.GroupId
  1199. }
  1200. return 0
  1201. }
  1202. func (x *UpdateGroupMemberReq) GetUserId() int64 {
  1203. if x != nil {
  1204. return x.UserId
  1205. }
  1206. return 0
  1207. }
  1208. func (x *UpdateGroupMemberReq) GetMemberType() MemberType {
  1209. if x != nil {
  1210. return x.MemberType
  1211. }
  1212. return MemberType_GMT_UNKNOWN
  1213. }
  1214. func (x *UpdateGroupMemberReq) GetRemarks() string {
  1215. if x != nil {
  1216. return x.Remarks
  1217. }
  1218. return ""
  1219. }
  1220. func (x *UpdateGroupMemberReq) GetExtra() string {
  1221. if x != nil {
  1222. return x.Extra
  1223. }
  1224. return ""
  1225. }
  1226. type DeleteGroupMemberReq struct {
  1227. state protoimpl.MessageState
  1228. sizeCache protoimpl.SizeCache
  1229. unknownFields protoimpl.UnknownFields
  1230. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 群组id
  1231. UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  1232. }
  1233. func (x *DeleteGroupMemberReq) Reset() {
  1234. *x = DeleteGroupMemberReq{}
  1235. if protoimpl.UnsafeEnabled {
  1236. mi := &file_logic_ext_proto_msgTypes[21]
  1237. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1238. ms.StoreMessageInfo(mi)
  1239. }
  1240. }
  1241. func (x *DeleteGroupMemberReq) String() string {
  1242. return protoimpl.X.MessageStringOf(x)
  1243. }
  1244. func (*DeleteGroupMemberReq) ProtoMessage() {}
  1245. func (x *DeleteGroupMemberReq) ProtoReflect() protoreflect.Message {
  1246. mi := &file_logic_ext_proto_msgTypes[21]
  1247. if protoimpl.UnsafeEnabled && x != nil {
  1248. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1249. if ms.LoadMessageInfo() == nil {
  1250. ms.StoreMessageInfo(mi)
  1251. }
  1252. return ms
  1253. }
  1254. return mi.MessageOf(x)
  1255. }
  1256. // Deprecated: Use DeleteGroupMemberReq.ProtoReflect.Descriptor instead.
  1257. func (*DeleteGroupMemberReq) Descriptor() ([]byte, []int) {
  1258. return file_logic_ext_proto_rawDescGZIP(), []int{21}
  1259. }
  1260. func (x *DeleteGroupMemberReq) GetGroupId() int64 {
  1261. if x != nil {
  1262. return x.GroupId
  1263. }
  1264. return 0
  1265. }
  1266. func (x *DeleteGroupMemberReq) GetUserId() int64 {
  1267. if x != nil {
  1268. return x.UserId
  1269. }
  1270. return 0
  1271. }
  1272. type GetGroupMembersReq struct {
  1273. state protoimpl.MessageState
  1274. sizeCache protoimpl.SizeCache
  1275. unknownFields protoimpl.UnknownFields
  1276. GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
  1277. }
  1278. func (x *GetGroupMembersReq) Reset() {
  1279. *x = GetGroupMembersReq{}
  1280. if protoimpl.UnsafeEnabled {
  1281. mi := &file_logic_ext_proto_msgTypes[22]
  1282. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1283. ms.StoreMessageInfo(mi)
  1284. }
  1285. }
  1286. func (x *GetGroupMembersReq) String() string {
  1287. return protoimpl.X.MessageStringOf(x)
  1288. }
  1289. func (*GetGroupMembersReq) ProtoMessage() {}
  1290. func (x *GetGroupMembersReq) ProtoReflect() protoreflect.Message {
  1291. mi := &file_logic_ext_proto_msgTypes[22]
  1292. if protoimpl.UnsafeEnabled && x != nil {
  1293. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1294. if ms.LoadMessageInfo() == nil {
  1295. ms.StoreMessageInfo(mi)
  1296. }
  1297. return ms
  1298. }
  1299. return mi.MessageOf(x)
  1300. }
  1301. // Deprecated: Use GetGroupMembersReq.ProtoReflect.Descriptor instead.
  1302. func (*GetGroupMembersReq) Descriptor() ([]byte, []int) {
  1303. return file_logic_ext_proto_rawDescGZIP(), []int{22}
  1304. }
  1305. func (x *GetGroupMembersReq) GetGroupId() int64 {
  1306. if x != nil {
  1307. return x.GroupId
  1308. }
  1309. return 0
  1310. }
  1311. type GetGroupMembersResp struct {
  1312. state protoimpl.MessageState
  1313. sizeCache protoimpl.SizeCache
  1314. unknownFields protoimpl.UnknownFields
  1315. Members []*GroupMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
  1316. }
  1317. func (x *GetGroupMembersResp) Reset() {
  1318. *x = GetGroupMembersResp{}
  1319. if protoimpl.UnsafeEnabled {
  1320. mi := &file_logic_ext_proto_msgTypes[23]
  1321. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1322. ms.StoreMessageInfo(mi)
  1323. }
  1324. }
  1325. func (x *GetGroupMembersResp) String() string {
  1326. return protoimpl.X.MessageStringOf(x)
  1327. }
  1328. func (*GetGroupMembersResp) ProtoMessage() {}
  1329. func (x *GetGroupMembersResp) ProtoReflect() protoreflect.Message {
  1330. mi := &file_logic_ext_proto_msgTypes[23]
  1331. if protoimpl.UnsafeEnabled && x != nil {
  1332. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1333. if ms.LoadMessageInfo() == nil {
  1334. ms.StoreMessageInfo(mi)
  1335. }
  1336. return ms
  1337. }
  1338. return mi.MessageOf(x)
  1339. }
  1340. // Deprecated: Use GetGroupMembersResp.ProtoReflect.Descriptor instead.
  1341. func (*GetGroupMembersResp) Descriptor() ([]byte, []int) {
  1342. return file_logic_ext_proto_rawDescGZIP(), []int{23}
  1343. }
  1344. func (x *GetGroupMembersResp) GetMembers() []*GroupMember {
  1345. if x != nil {
  1346. return x.Members
  1347. }
  1348. return nil
  1349. }
  1350. type GroupMember struct {
  1351. state protoimpl.MessageState
  1352. sizeCache protoimpl.SizeCache
  1353. unknownFields protoimpl.UnknownFields
  1354. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
  1355. Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  1356. Sex int32 `protobuf:"varint,3,opt,name=sex,proto3" json:"sex,omitempty"` // 性别
  1357. AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
  1358. UserExtra string `protobuf:"bytes,5,opt,name=user_extra,json=userExtra,proto3" json:"user_extra,omitempty"` // 用户附加字段
  1359. MemberType MemberType `protobuf:"varint,6,opt,name=member_type,json=memberType,proto3,enum=pb.MemberType" json:"member_type,omitempty"` // 成员类型
  1360. Remarks string `protobuf:"bytes,7,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  1361. Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` // 群组成员附加字段
  1362. }
  1363. func (x *GroupMember) Reset() {
  1364. *x = GroupMember{}
  1365. if protoimpl.UnsafeEnabled {
  1366. mi := &file_logic_ext_proto_msgTypes[24]
  1367. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1368. ms.StoreMessageInfo(mi)
  1369. }
  1370. }
  1371. func (x *GroupMember) String() string {
  1372. return protoimpl.X.MessageStringOf(x)
  1373. }
  1374. func (*GroupMember) ProtoMessage() {}
  1375. func (x *GroupMember) ProtoReflect() protoreflect.Message {
  1376. mi := &file_logic_ext_proto_msgTypes[24]
  1377. if protoimpl.UnsafeEnabled && x != nil {
  1378. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1379. if ms.LoadMessageInfo() == nil {
  1380. ms.StoreMessageInfo(mi)
  1381. }
  1382. return ms
  1383. }
  1384. return mi.MessageOf(x)
  1385. }
  1386. // Deprecated: Use GroupMember.ProtoReflect.Descriptor instead.
  1387. func (*GroupMember) Descriptor() ([]byte, []int) {
  1388. return file_logic_ext_proto_rawDescGZIP(), []int{24}
  1389. }
  1390. func (x *GroupMember) GetUserId() int64 {
  1391. if x != nil {
  1392. return x.UserId
  1393. }
  1394. return 0
  1395. }
  1396. func (x *GroupMember) GetNickname() string {
  1397. if x != nil {
  1398. return x.Nickname
  1399. }
  1400. return ""
  1401. }
  1402. func (x *GroupMember) GetSex() int32 {
  1403. if x != nil {
  1404. return x.Sex
  1405. }
  1406. return 0
  1407. }
  1408. func (x *GroupMember) GetAvatarUrl() string {
  1409. if x != nil {
  1410. return x.AvatarUrl
  1411. }
  1412. return ""
  1413. }
  1414. func (x *GroupMember) GetUserExtra() string {
  1415. if x != nil {
  1416. return x.UserExtra
  1417. }
  1418. return ""
  1419. }
  1420. func (x *GroupMember) GetMemberType() MemberType {
  1421. if x != nil {
  1422. return x.MemberType
  1423. }
  1424. return MemberType_GMT_UNKNOWN
  1425. }
  1426. func (x *GroupMember) GetRemarks() string {
  1427. if x != nil {
  1428. return x.Remarks
  1429. }
  1430. return ""
  1431. }
  1432. func (x *GroupMember) GetExtra() string {
  1433. if x != nil {
  1434. return x.Extra
  1435. }
  1436. return ""
  1437. }
  1438. var File_logic_ext_proto protoreflect.FileDescriptor
  1439. var file_logic_ext_proto_rawDesc = []byte{
  1440. 0x0a, 0x0f, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1441. 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x65, 0x78,
  1442. 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
  1443. 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, 0x01, 0x0a, 0x11, 0x52,
  1444. 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71,
  1445. 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
  1446. 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x18, 0x03, 0x20,
  1447. 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f,
  1448. 0x64, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
  1449. 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
  1450. 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d,
  1451. 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x64, 0x6b, 0x5f, 0x76,
  1452. 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x64,
  1453. 0x6b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x31, 0x0a, 0x12, 0x52, 0x65, 0x67, 0x69,
  1454. 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b,
  1455. 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  1456. 0x03, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x22, 0xa1, 0x02, 0x0a, 0x0e,
  1457. 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x35,
  1458. 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
  1459. 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69,
  1460. 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
  1461. 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
  1462. 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x65,
  1463. 0x69, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0b, 0x74, 0x6f, 0x5f, 0x75, 0x73, 0x65,
  1464. 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f, 0x55,
  1465. 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1466. 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70,
  1467. 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d,
  1468. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65,
  1469. 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20,
  1470. 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74,
  1471. 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,
  1472. 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65,
  1473. 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x18, 0x07,
  1474. 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x22,
  1475. 0x23, 0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65,
  1476. 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
  1477. 0x03, 0x73, 0x65, 0x71, 0x22, 0xe0, 0x01, 0x0a, 0x0b, 0x50, 0x75, 0x73, 0x68, 0x52, 0x6f, 0x6f,
  1478. 0x6d, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18,
  1479. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x32, 0x0a,
  1480. 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
  1481. 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1482. 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70,
  1483. 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e,
  1484. 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6d, 0x65, 0x73, 0x73,
  1485. 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65,
  1486. 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73,
  1487. 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x70, 0x65,
  1488. 0x72, 0x73, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x50,
  1489. 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x70, 0x72, 0x69,
  1490. 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x50,
  1491. 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x67, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x46, 0x72,
  1492. 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65, 0x6e,
  1493. 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69, 0x65,
  1494. 0x6e, 0x64, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18,
  1495. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x20,
  1496. 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
  1497. 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
  1498. 0x22, 0x46, 0x0a, 0x11, 0x41, 0x67, 0x72, 0x65, 0x65, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65,
  1499. 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64,
  1500. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18,
  1501. 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  1502. 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x22, 0x5b, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x46,
  1503. 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65,
  1504. 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69,
  1505. 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73,
  1506. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12,
  1507. 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  1508. 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x5c, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65,
  1509. 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64,
  1510. 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69, 0x65, 0x6e,
  1511. 0x64, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x02,
  1512. 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x14, 0x0a,
  1513. 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78,
  1514. 0x74, 0x72, 0x61, 0x22, 0xe0, 0x01, 0x0a, 0x06, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x17,
  1515. 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
  1516. 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65,
  1517. 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70,
  1518. 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69,
  1519. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69,
  1520. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x04, 0x20,
  1521. 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74,
  1522. 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76,
  1523. 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f,
  1524. 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65,
  1525. 0x72, 0x45, 0x78, 0x74, 0x72, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b,
  1526. 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73,
  1527. 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
  1528. 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x36, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69,
  1529. 0x65, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x24, 0x0a, 0x07, 0x66, 0x72, 0x69, 0x65,
  1530. 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x46,
  1531. 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x07, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x22, 0x9c,
  1532. 0x01, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65,
  1533. 0x71, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  1534. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f,
  1535. 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61,
  1536. 0x72, 0x55, 0x72, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63,
  1537. 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x72,
  1538. 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72,
  1539. 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x12, 0x1d,
  1540. 0x0a, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03,
  1541. 0x28, 0x03, 0x52, 0x09, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x2c, 0x0a,
  1542. 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70,
  1543. 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1544. 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x98, 0x01, 0x0a, 0x0e,
  1545. 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x12, 0x19,
  1546. 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  1547. 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61,
  1548. 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61,
  1549. 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  1550. 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c,
  1551. 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01,
  1552. 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  1553. 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
  1554. 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x28, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f,
  1555. 0x75, 0x70, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69,
  1556. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64,
  1557. 0x22, 0x2f, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70,
  1558. 0x12, 0x1f, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1559. 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75,
  1560. 0x70, 0x22, 0xec, 0x01, 0x0a, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x67,
  1561. 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67,
  1562. 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
  1563. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76,
  1564. 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
  1565. 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74,
  1566. 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
  1567. 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a,
  1568. 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6d, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52,
  1569. 0x07, 0x75, 0x73, 0x65, 0x72, 0x4d, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72,
  1570. 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x12, 0x1f,
  1571. 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20,
  1572. 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
  1573. 0x1f, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08,
  1574. 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
  1575. 0x22, 0x32, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73,
  1576. 0x70, 0x12, 0x21, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
  1577. 0x0b, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72,
  1578. 0x6f, 0x75, 0x70, 0x73, 0x22, 0x4a, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70,
  1579. 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72,
  1580. 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72,
  1581. 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64,
  1582. 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73,
  1583. 0x22, 0x30, 0x0a, 0x13, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62,
  1584. 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f,
  1585. 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49,
  1586. 0x64, 0x73, 0x22, 0xab, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f,
  1587. 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67,
  1588. 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67,
  1589. 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
  1590. 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12,
  1591. 0x2f, 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,
  1592. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  1593. 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65,
  1594. 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28,
  1595. 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78,
  1596. 0x74, 0x72, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61,
  1597. 0x22, 0x4a, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d,
  1598. 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75,
  1599. 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75,
  1600. 0x70, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02,
  1601. 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x2f, 0x0a, 0x12,
  1602. 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52,
  1603. 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01,
  1604. 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x40, 0x0a,
  1605. 0x13, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73,
  1606. 0x52, 0x65, 0x73, 0x70, 0x12, 0x29, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18,
  1607. 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70,
  1608. 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x22,
  1609. 0xf3, 0x01, 0x0a, 0x0b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12,
  1610. 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  1611. 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b,
  1612. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b,
  1613. 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28,
  1614. 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72,
  1615. 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74,
  1616. 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x65, 0x78,
  1617. 0x74, 0x72, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x45,
  1618. 0x78, 0x74, 0x72, 0x61, 0x12, 0x2f, 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x74,
  1619. 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x4d,
  1620. 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65,
  1621. 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73,
  1622. 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12,
  1623. 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  1624. 0x65, 0x78, 0x74, 0x72, 0x61, 0x2a, 0x3c, 0x0a, 0x0a, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54,
  1625. 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x4d, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f,
  1626. 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x47, 0x4d, 0x54, 0x5f, 0x41, 0x44, 0x4d, 0x49,
  1627. 0x4e, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x47, 0x4d, 0x54, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45,
  1628. 0x52, 0x10, 0x02, 0x32, 0xa4, 0x06, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x69, 0x63, 0x45, 0x78, 0x74,
  1629. 0x12, 0x3f, 0x0a, 0x0e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69,
  1630. 0x63, 0x65, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72,
  1631. 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x52,
  1632. 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73,
  1633. 0x70, 0x12, 0x36, 0x0a, 0x0b, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1634. 0x12, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1635. 0x65, 0x52, 0x65, 0x71, 0x1a, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x65,
  1636. 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x26, 0x0a, 0x08, 0x50, 0x75, 0x73,
  1637. 0x68, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x52,
  1638. 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74,
  1639. 0x79, 0x12, 0x28, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x10,
  1640. 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71,
  1641. 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x32, 0x0a, 0x0e, 0x41,
  1642. 0x67, 0x72, 0x65, 0x65, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x15, 0x2e,
  1643. 0x70, 0x62, 0x2e, 0x41, 0x67, 0x72, 0x65, 0x65, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69, 0x65, 0x6e,
  1644. 0x64, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12,
  1645. 0x30, 0x0a, 0x09, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x10, 0x2e, 0x70,
  1646. 0x62, 0x2e, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x11,
  1647. 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73,
  1648. 0x70, 0x12, 0x2b, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x12,
  1649. 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x12, 0x2e, 0x70, 0x62, 0x2e,
  1650. 0x47, 0x65, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x36,
  1651. 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x2e,
  1652. 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65,
  1653. 0x71, 0x1a, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f,
  1654. 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2c, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
  1655. 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
  1656. 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45,
  1657. 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70,
  1658. 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65,
  1659. 0x71, 0x1a, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
  1660. 0x65, 0x73, 0x70, 0x12, 0x29, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73,
  1661. 0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x11, 0x2e, 0x70, 0x62,
  1662. 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x42,
  1663. 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  1664. 0x73, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d,
  1665. 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x41,
  1666. 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65,
  1667. 0x73, 0x70, 0x12, 0x38, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75,
  1668. 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64,
  1669. 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65,
  1670. 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x38, 0x0a, 0x11,
  1671. 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65,
  1672. 0x72, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x6f,
  1673. 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62,
  1674. 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x42, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f,
  1675. 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x47,
  1676. 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65,
  1677. 0x71, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d,
  1678. 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x42, 0x0d, 0x5a, 0x0b, 0x67, 0x69,
  1679. 0x6d, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1680. 0x33,
  1681. }
  1682. var (
  1683. file_logic_ext_proto_rawDescOnce sync.Once
  1684. file_logic_ext_proto_rawDescData = file_logic_ext_proto_rawDesc
  1685. )
  1686. func file_logic_ext_proto_rawDescGZIP() []byte {
  1687. file_logic_ext_proto_rawDescOnce.Do(func() {
  1688. file_logic_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_logic_ext_proto_rawDescData)
  1689. })
  1690. return file_logic_ext_proto_rawDescData
  1691. }
  1692. var file_logic_ext_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  1693. var file_logic_ext_proto_msgTypes = make([]protoimpl.MessageInfo, 25)
  1694. var file_logic_ext_proto_goTypes = []interface{}{
  1695. (MemberType)(0), // 0: pb.MemberType
  1696. (*RegisterDeviceReq)(nil), // 1: pb.RegisterDeviceReq
  1697. (*RegisterDeviceResp)(nil), // 2: pb.RegisterDeviceResp
  1698. (*SendMessageReq)(nil), // 3: pb.SendMessageReq
  1699. (*SendMessageResp)(nil), // 4: pb.SendMessageResp
  1700. (*PushRoomReq)(nil), // 5: pb.PushRoomReq
  1701. (*AddFriendReq)(nil), // 6: pb.AddFriendReq
  1702. (*AgreeAddFriendReq)(nil), // 7: pb.AgreeAddFriendReq
  1703. (*SetFriendReq)(nil), // 8: pb.SetFriendReq
  1704. (*SetFriendResp)(nil), // 9: pb.SetFriendResp
  1705. (*Friend)(nil), // 10: pb.Friend
  1706. (*GetFriendsResp)(nil), // 11: pb.GetFriendsResp
  1707. (*CreateGroupReq)(nil), // 12: pb.CreateGroupReq
  1708. (*CreateGroupResp)(nil), // 13: pb.CreateGroupResp
  1709. (*UpdateGroupReq)(nil), // 14: pb.UpdateGroupReq
  1710. (*GetGroupReq)(nil), // 15: pb.GetGroupReq
  1711. (*GetGroupResp)(nil), // 16: pb.GetGroupResp
  1712. (*Group)(nil), // 17: pb.Group
  1713. (*GetGroupsResp)(nil), // 18: pb.GetGroupsResp
  1714. (*AddGroupMembersReq)(nil), // 19: pb.AddGroupMembersReq
  1715. (*AddGroupMembersResp)(nil), // 20: pb.AddGroupMembersResp
  1716. (*UpdateGroupMemberReq)(nil), // 21: pb.UpdateGroupMemberReq
  1717. (*DeleteGroupMemberReq)(nil), // 22: pb.DeleteGroupMemberReq
  1718. (*GetGroupMembersReq)(nil), // 23: pb.GetGroupMembersReq
  1719. (*GetGroupMembersResp)(nil), // 24: pb.GetGroupMembersResp
  1720. (*GroupMember)(nil), // 25: pb.GroupMember
  1721. (ReceiverType)(0), // 26: pb.ReceiverType
  1722. (MessageType)(0), // 27: pb.MessageType
  1723. (*Empty)(nil), // 28: pb.Empty
  1724. }
  1725. var file_logic_ext_proto_depIdxs = []int32{
  1726. 26, // 0: pb.SendMessageReq.receiver_type:type_name -> pb.ReceiverType
  1727. 27, // 1: pb.SendMessageReq.message_type:type_name -> pb.MessageType
  1728. 27, // 2: pb.PushRoomReq.message_type:type_name -> pb.MessageType
  1729. 10, // 3: pb.GetFriendsResp.friends:type_name -> pb.Friend
  1730. 17, // 4: pb.GetGroupResp.group:type_name -> pb.Group
  1731. 17, // 5: pb.GetGroupsResp.groups:type_name -> pb.Group
  1732. 0, // 6: pb.UpdateGroupMemberReq.member_type:type_name -> pb.MemberType
  1733. 25, // 7: pb.GetGroupMembersResp.members:type_name -> pb.GroupMember
  1734. 0, // 8: pb.GroupMember.member_type:type_name -> pb.MemberType
  1735. 1, // 9: pb.LogicExt.RegisterDevice:input_type -> pb.RegisterDeviceReq
  1736. 3, // 10: pb.LogicExt.SendMessage:input_type -> pb.SendMessageReq
  1737. 5, // 11: pb.LogicExt.PushRoom:input_type -> pb.PushRoomReq
  1738. 6, // 12: pb.LogicExt.AddFriend:input_type -> pb.AddFriendReq
  1739. 7, // 13: pb.LogicExt.AgreeAddFriend:input_type -> pb.AgreeAddFriendReq
  1740. 8, // 14: pb.LogicExt.SetFriend:input_type -> pb.SetFriendReq
  1741. 28, // 15: pb.LogicExt.GetFriends:input_type -> pb.Empty
  1742. 12, // 16: pb.LogicExt.CreateGroup:input_type -> pb.CreateGroupReq
  1743. 14, // 17: pb.LogicExt.UpdateGroup:input_type -> pb.UpdateGroupReq
  1744. 15, // 18: pb.LogicExt.GetGroup:input_type -> pb.GetGroupReq
  1745. 28, // 19: pb.LogicExt.GetGroups:input_type -> pb.Empty
  1746. 19, // 20: pb.LogicExt.AddGroupMembers:input_type -> pb.AddGroupMembersReq
  1747. 21, // 21: pb.LogicExt.UpdateGroupMember:input_type -> pb.UpdateGroupMemberReq
  1748. 22, // 22: pb.LogicExt.DeleteGroupMember:input_type -> pb.DeleteGroupMemberReq
  1749. 23, // 23: pb.LogicExt.GetGroupMembers:input_type -> pb.GetGroupMembersReq
  1750. 2, // 24: pb.LogicExt.RegisterDevice:output_type -> pb.RegisterDeviceResp
  1751. 4, // 25: pb.LogicExt.SendMessage:output_type -> pb.SendMessageResp
  1752. 28, // 26: pb.LogicExt.PushRoom:output_type -> pb.Empty
  1753. 28, // 27: pb.LogicExt.AddFriend:output_type -> pb.Empty
  1754. 28, // 28: pb.LogicExt.AgreeAddFriend:output_type -> pb.Empty
  1755. 9, // 29: pb.LogicExt.SetFriend:output_type -> pb.SetFriendResp
  1756. 11, // 30: pb.LogicExt.GetFriends:output_type -> pb.GetFriendsResp
  1757. 13, // 31: pb.LogicExt.CreateGroup:output_type -> pb.CreateGroupResp
  1758. 28, // 32: pb.LogicExt.UpdateGroup:output_type -> pb.Empty
  1759. 16, // 33: pb.LogicExt.GetGroup:output_type -> pb.GetGroupResp
  1760. 18, // 34: pb.LogicExt.GetGroups:output_type -> pb.GetGroupsResp
  1761. 20, // 35: pb.LogicExt.AddGroupMembers:output_type -> pb.AddGroupMembersResp
  1762. 28, // 36: pb.LogicExt.UpdateGroupMember:output_type -> pb.Empty
  1763. 28, // 37: pb.LogicExt.DeleteGroupMember:output_type -> pb.Empty
  1764. 24, // 38: pb.LogicExt.GetGroupMembers:output_type -> pb.GetGroupMembersResp
  1765. 24, // [24:39] is the sub-list for method output_type
  1766. 9, // [9:24] is the sub-list for method input_type
  1767. 9, // [9:9] is the sub-list for extension type_name
  1768. 9, // [9:9] is the sub-list for extension extendee
  1769. 0, // [0:9] is the sub-list for field type_name
  1770. }
  1771. func init() { file_logic_ext_proto_init() }
  1772. func file_logic_ext_proto_init() {
  1773. if File_logic_ext_proto != nil {
  1774. return
  1775. }
  1776. file_common_ext_proto_init()
  1777. file_connect_ext_proto_init()
  1778. if !protoimpl.UnsafeEnabled {
  1779. file_logic_ext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1780. switch v := v.(*RegisterDeviceReq); i {
  1781. case 0:
  1782. return &v.state
  1783. case 1:
  1784. return &v.sizeCache
  1785. case 2:
  1786. return &v.unknownFields
  1787. default:
  1788. return nil
  1789. }
  1790. }
  1791. file_logic_ext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1792. switch v := v.(*RegisterDeviceResp); i {
  1793. case 0:
  1794. return &v.state
  1795. case 1:
  1796. return &v.sizeCache
  1797. case 2:
  1798. return &v.unknownFields
  1799. default:
  1800. return nil
  1801. }
  1802. }
  1803. file_logic_ext_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1804. switch v := v.(*SendMessageReq); i {
  1805. case 0:
  1806. return &v.state
  1807. case 1:
  1808. return &v.sizeCache
  1809. case 2:
  1810. return &v.unknownFields
  1811. default:
  1812. return nil
  1813. }
  1814. }
  1815. file_logic_ext_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1816. switch v := v.(*SendMessageResp); i {
  1817. case 0:
  1818. return &v.state
  1819. case 1:
  1820. return &v.sizeCache
  1821. case 2:
  1822. return &v.unknownFields
  1823. default:
  1824. return nil
  1825. }
  1826. }
  1827. file_logic_ext_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1828. switch v := v.(*PushRoomReq); i {
  1829. case 0:
  1830. return &v.state
  1831. case 1:
  1832. return &v.sizeCache
  1833. case 2:
  1834. return &v.unknownFields
  1835. default:
  1836. return nil
  1837. }
  1838. }
  1839. file_logic_ext_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1840. switch v := v.(*AddFriendReq); i {
  1841. case 0:
  1842. return &v.state
  1843. case 1:
  1844. return &v.sizeCache
  1845. case 2:
  1846. return &v.unknownFields
  1847. default:
  1848. return nil
  1849. }
  1850. }
  1851. file_logic_ext_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1852. switch v := v.(*AgreeAddFriendReq); i {
  1853. case 0:
  1854. return &v.state
  1855. case 1:
  1856. return &v.sizeCache
  1857. case 2:
  1858. return &v.unknownFields
  1859. default:
  1860. return nil
  1861. }
  1862. }
  1863. file_logic_ext_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1864. switch v := v.(*SetFriendReq); i {
  1865. case 0:
  1866. return &v.state
  1867. case 1:
  1868. return &v.sizeCache
  1869. case 2:
  1870. return &v.unknownFields
  1871. default:
  1872. return nil
  1873. }
  1874. }
  1875. file_logic_ext_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1876. switch v := v.(*SetFriendResp); i {
  1877. case 0:
  1878. return &v.state
  1879. case 1:
  1880. return &v.sizeCache
  1881. case 2:
  1882. return &v.unknownFields
  1883. default:
  1884. return nil
  1885. }
  1886. }
  1887. file_logic_ext_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1888. switch v := v.(*Friend); i {
  1889. case 0:
  1890. return &v.state
  1891. case 1:
  1892. return &v.sizeCache
  1893. case 2:
  1894. return &v.unknownFields
  1895. default:
  1896. return nil
  1897. }
  1898. }
  1899. file_logic_ext_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1900. switch v := v.(*GetFriendsResp); i {
  1901. case 0:
  1902. return &v.state
  1903. case 1:
  1904. return &v.sizeCache
  1905. case 2:
  1906. return &v.unknownFields
  1907. default:
  1908. return nil
  1909. }
  1910. }
  1911. file_logic_ext_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1912. switch v := v.(*CreateGroupReq); i {
  1913. case 0:
  1914. return &v.state
  1915. case 1:
  1916. return &v.sizeCache
  1917. case 2:
  1918. return &v.unknownFields
  1919. default:
  1920. return nil
  1921. }
  1922. }
  1923. file_logic_ext_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1924. switch v := v.(*CreateGroupResp); i {
  1925. case 0:
  1926. return &v.state
  1927. case 1:
  1928. return &v.sizeCache
  1929. case 2:
  1930. return &v.unknownFields
  1931. default:
  1932. return nil
  1933. }
  1934. }
  1935. file_logic_ext_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1936. switch v := v.(*UpdateGroupReq); i {
  1937. case 0:
  1938. return &v.state
  1939. case 1:
  1940. return &v.sizeCache
  1941. case 2:
  1942. return &v.unknownFields
  1943. default:
  1944. return nil
  1945. }
  1946. }
  1947. file_logic_ext_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1948. switch v := v.(*GetGroupReq); i {
  1949. case 0:
  1950. return &v.state
  1951. case 1:
  1952. return &v.sizeCache
  1953. case 2:
  1954. return &v.unknownFields
  1955. default:
  1956. return nil
  1957. }
  1958. }
  1959. file_logic_ext_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1960. switch v := v.(*GetGroupResp); i {
  1961. case 0:
  1962. return &v.state
  1963. case 1:
  1964. return &v.sizeCache
  1965. case 2:
  1966. return &v.unknownFields
  1967. default:
  1968. return nil
  1969. }
  1970. }
  1971. file_logic_ext_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  1972. switch v := v.(*Group); i {
  1973. case 0:
  1974. return &v.state
  1975. case 1:
  1976. return &v.sizeCache
  1977. case 2:
  1978. return &v.unknownFields
  1979. default:
  1980. return nil
  1981. }
  1982. }
  1983. file_logic_ext_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  1984. switch v := v.(*GetGroupsResp); i {
  1985. case 0:
  1986. return &v.state
  1987. case 1:
  1988. return &v.sizeCache
  1989. case 2:
  1990. return &v.unknownFields
  1991. default:
  1992. return nil
  1993. }
  1994. }
  1995. file_logic_ext_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  1996. switch v := v.(*AddGroupMembersReq); i {
  1997. case 0:
  1998. return &v.state
  1999. case 1:
  2000. return &v.sizeCache
  2001. case 2:
  2002. return &v.unknownFields
  2003. default:
  2004. return nil
  2005. }
  2006. }
  2007. file_logic_ext_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  2008. switch v := v.(*AddGroupMembersResp); i {
  2009. case 0:
  2010. return &v.state
  2011. case 1:
  2012. return &v.sizeCache
  2013. case 2:
  2014. return &v.unknownFields
  2015. default:
  2016. return nil
  2017. }
  2018. }
  2019. file_logic_ext_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  2020. switch v := v.(*UpdateGroupMemberReq); i {
  2021. case 0:
  2022. return &v.state
  2023. case 1:
  2024. return &v.sizeCache
  2025. case 2:
  2026. return &v.unknownFields
  2027. default:
  2028. return nil
  2029. }
  2030. }
  2031. file_logic_ext_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  2032. switch v := v.(*DeleteGroupMemberReq); i {
  2033. case 0:
  2034. return &v.state
  2035. case 1:
  2036. return &v.sizeCache
  2037. case 2:
  2038. return &v.unknownFields
  2039. default:
  2040. return nil
  2041. }
  2042. }
  2043. file_logic_ext_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  2044. switch v := v.(*GetGroupMembersReq); i {
  2045. case 0:
  2046. return &v.state
  2047. case 1:
  2048. return &v.sizeCache
  2049. case 2:
  2050. return &v.unknownFields
  2051. default:
  2052. return nil
  2053. }
  2054. }
  2055. file_logic_ext_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  2056. switch v := v.(*GetGroupMembersResp); i {
  2057. case 0:
  2058. return &v.state
  2059. case 1:
  2060. return &v.sizeCache
  2061. case 2:
  2062. return &v.unknownFields
  2063. default:
  2064. return nil
  2065. }
  2066. }
  2067. file_logic_ext_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  2068. switch v := v.(*GroupMember); i {
  2069. case 0:
  2070. return &v.state
  2071. case 1:
  2072. return &v.sizeCache
  2073. case 2:
  2074. return &v.unknownFields
  2075. default:
  2076. return nil
  2077. }
  2078. }
  2079. }
  2080. type x struct{}
  2081. out := protoimpl.TypeBuilder{
  2082. File: protoimpl.DescBuilder{
  2083. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2084. RawDescriptor: file_logic_ext_proto_rawDesc,
  2085. NumEnums: 1,
  2086. NumMessages: 25,
  2087. NumExtensions: 0,
  2088. NumServices: 1,
  2089. },
  2090. GoTypes: file_logic_ext_proto_goTypes,
  2091. DependencyIndexes: file_logic_ext_proto_depIdxs,
  2092. EnumInfos: file_logic_ext_proto_enumTypes,
  2093. MessageInfos: file_logic_ext_proto_msgTypes,
  2094. }.Build()
  2095. File_logic_ext_proto = out.File
  2096. file_logic_ext_proto_rawDesc = nil
  2097. file_logic_ext_proto_goTypes = nil
  2098. file_logic_ext_proto_depIdxs = nil
  2099. }
  2100. // Reference imports to suppress errors if they are not otherwise used.
  2101. var _ context.Context
  2102. var _ grpc.ClientConnInterface
  2103. // This is a compile-time assertion to ensure that this generated file
  2104. // is compatible with the grpc package it is being compiled against.
  2105. const _ = grpc.SupportPackageIsVersion6
  2106. // LogicExtClient is the client API for LogicExt service.
  2107. //
  2108. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  2109. type LogicExtClient interface {
  2110. // 注册设备
  2111. RegisterDevice(ctx context.Context, in *RegisterDeviceReq, opts ...grpc.CallOption) (*RegisterDeviceResp, error)
  2112. // 发送消息
  2113. SendMessage(ctx context.Context, in *SendMessageReq, opts ...grpc.CallOption) (*SendMessageResp, error)
  2114. // 推送消息到房间
  2115. PushRoom(ctx context.Context, in *PushRoomReq, opts ...grpc.CallOption) (*Empty, error)
  2116. // 添加好友
  2117. AddFriend(ctx context.Context, in *AddFriendReq, opts ...grpc.CallOption) (*Empty, error)
  2118. // 同意添加好友
  2119. AgreeAddFriend(ctx context.Context, in *AgreeAddFriendReq, opts ...grpc.CallOption) (*Empty, error)
  2120. // 设置好友信息
  2121. SetFriend(ctx context.Context, in *SetFriendReq, opts ...grpc.CallOption) (*SetFriendResp, error)
  2122. // 获取好友列表
  2123. GetFriends(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetFriendsResp, error)
  2124. // 创建群组
  2125. CreateGroup(ctx context.Context, in *CreateGroupReq, opts ...grpc.CallOption) (*CreateGroupResp, error)
  2126. // 更新群组
  2127. UpdateGroup(ctx context.Context, in *UpdateGroupReq, opts ...grpc.CallOption) (*Empty, error)
  2128. // 获取群组信息
  2129. GetGroup(ctx context.Context, in *GetGroupReq, opts ...grpc.CallOption) (*GetGroupResp, error)
  2130. // 获取用户加入的所有群组
  2131. GetGroups(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetGroupsResp, error)
  2132. // 添加群组成员
  2133. AddGroupMembers(ctx context.Context, in *AddGroupMembersReq, opts ...grpc.CallOption) (*AddGroupMembersResp, error)
  2134. // 更新群组成员信息
  2135. UpdateGroupMember(ctx context.Context, in *UpdateGroupMemberReq, opts ...grpc.CallOption) (*Empty, error)
  2136. // 添加群组成员
  2137. DeleteGroupMember(ctx context.Context, in *DeleteGroupMemberReq, opts ...grpc.CallOption) (*Empty, error)
  2138. // 获取群组成员
  2139. GetGroupMembers(ctx context.Context, in *GetGroupMembersReq, opts ...grpc.CallOption) (*GetGroupMembersResp, error)
  2140. }
  2141. type logicExtClient struct {
  2142. cc grpc.ClientConnInterface
  2143. }
  2144. func NewLogicExtClient(cc grpc.ClientConnInterface) LogicExtClient {
  2145. return &logicExtClient{cc}
  2146. }
  2147. func (c *logicExtClient) RegisterDevice(ctx context.Context, in *RegisterDeviceReq, opts ...grpc.CallOption) (*RegisterDeviceResp, error) {
  2148. out := new(RegisterDeviceResp)
  2149. err := c.cc.Invoke(ctx, "/pb.LogicExt/RegisterDevice", in, out, opts...)
  2150. if err != nil {
  2151. return nil, err
  2152. }
  2153. return out, nil
  2154. }
  2155. func (c *logicExtClient) SendMessage(ctx context.Context, in *SendMessageReq, opts ...grpc.CallOption) (*SendMessageResp, error) {
  2156. out := new(SendMessageResp)
  2157. err := c.cc.Invoke(ctx, "/pb.LogicExt/SendMessage", in, out, opts...)
  2158. if err != nil {
  2159. return nil, err
  2160. }
  2161. return out, nil
  2162. }
  2163. func (c *logicExtClient) PushRoom(ctx context.Context, in *PushRoomReq, opts ...grpc.CallOption) (*Empty, error) {
  2164. out := new(Empty)
  2165. err := c.cc.Invoke(ctx, "/pb.LogicExt/PushRoom", in, out, opts...)
  2166. if err != nil {
  2167. return nil, err
  2168. }
  2169. return out, nil
  2170. }
  2171. func (c *logicExtClient) AddFriend(ctx context.Context, in *AddFriendReq, opts ...grpc.CallOption) (*Empty, error) {
  2172. out := new(Empty)
  2173. err := c.cc.Invoke(ctx, "/pb.LogicExt/AddFriend", in, out, opts...)
  2174. if err != nil {
  2175. return nil, err
  2176. }
  2177. return out, nil
  2178. }
  2179. func (c *logicExtClient) AgreeAddFriend(ctx context.Context, in *AgreeAddFriendReq, opts ...grpc.CallOption) (*Empty, error) {
  2180. out := new(Empty)
  2181. err := c.cc.Invoke(ctx, "/pb.LogicExt/AgreeAddFriend", in, out, opts...)
  2182. if err != nil {
  2183. return nil, err
  2184. }
  2185. return out, nil
  2186. }
  2187. func (c *logicExtClient) SetFriend(ctx context.Context, in *SetFriendReq, opts ...grpc.CallOption) (*SetFriendResp, error) {
  2188. out := new(SetFriendResp)
  2189. err := c.cc.Invoke(ctx, "/pb.LogicExt/SetFriend", in, out, opts...)
  2190. if err != nil {
  2191. return nil, err
  2192. }
  2193. return out, nil
  2194. }
  2195. func (c *logicExtClient) GetFriends(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetFriendsResp, error) {
  2196. out := new(GetFriendsResp)
  2197. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetFriends", in, out, opts...)
  2198. if err != nil {
  2199. return nil, err
  2200. }
  2201. return out, nil
  2202. }
  2203. func (c *logicExtClient) CreateGroup(ctx context.Context, in *CreateGroupReq, opts ...grpc.CallOption) (*CreateGroupResp, error) {
  2204. out := new(CreateGroupResp)
  2205. err := c.cc.Invoke(ctx, "/pb.LogicExt/CreateGroup", in, out, opts...)
  2206. if err != nil {
  2207. return nil, err
  2208. }
  2209. return out, nil
  2210. }
  2211. func (c *logicExtClient) UpdateGroup(ctx context.Context, in *UpdateGroupReq, opts ...grpc.CallOption) (*Empty, error) {
  2212. out := new(Empty)
  2213. err := c.cc.Invoke(ctx, "/pb.LogicExt/UpdateGroup", in, out, opts...)
  2214. if err != nil {
  2215. return nil, err
  2216. }
  2217. return out, nil
  2218. }
  2219. func (c *logicExtClient) GetGroup(ctx context.Context, in *GetGroupReq, opts ...grpc.CallOption) (*GetGroupResp, error) {
  2220. out := new(GetGroupResp)
  2221. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetGroup", in, out, opts...)
  2222. if err != nil {
  2223. return nil, err
  2224. }
  2225. return out, nil
  2226. }
  2227. func (c *logicExtClient) GetGroups(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetGroupsResp, error) {
  2228. out := new(GetGroupsResp)
  2229. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetGroups", in, out, opts...)
  2230. if err != nil {
  2231. return nil, err
  2232. }
  2233. return out, nil
  2234. }
  2235. func (c *logicExtClient) AddGroupMembers(ctx context.Context, in *AddGroupMembersReq, opts ...grpc.CallOption) (*AddGroupMembersResp, error) {
  2236. out := new(AddGroupMembersResp)
  2237. err := c.cc.Invoke(ctx, "/pb.LogicExt/AddGroupMembers", in, out, opts...)
  2238. if err != nil {
  2239. return nil, err
  2240. }
  2241. return out, nil
  2242. }
  2243. func (c *logicExtClient) UpdateGroupMember(ctx context.Context, in *UpdateGroupMemberReq, opts ...grpc.CallOption) (*Empty, error) {
  2244. out := new(Empty)
  2245. err := c.cc.Invoke(ctx, "/pb.LogicExt/UpdateGroupMember", in, out, opts...)
  2246. if err != nil {
  2247. return nil, err
  2248. }
  2249. return out, nil
  2250. }
  2251. func (c *logicExtClient) DeleteGroupMember(ctx context.Context, in *DeleteGroupMemberReq, opts ...grpc.CallOption) (*Empty, error) {
  2252. out := new(Empty)
  2253. err := c.cc.Invoke(ctx, "/pb.LogicExt/DeleteGroupMember", in, out, opts...)
  2254. if err != nil {
  2255. return nil, err
  2256. }
  2257. return out, nil
  2258. }
  2259. func (c *logicExtClient) GetGroupMembers(ctx context.Context, in *GetGroupMembersReq, opts ...grpc.CallOption) (*GetGroupMembersResp, error) {
  2260. out := new(GetGroupMembersResp)
  2261. err := c.cc.Invoke(ctx, "/pb.LogicExt/GetGroupMembers", in, out, opts...)
  2262. if err != nil {
  2263. return nil, err
  2264. }
  2265. return out, nil
  2266. }
  2267. // LogicExtServer is the server API for LogicExt service.
  2268. type LogicExtServer interface {
  2269. // 注册设备
  2270. RegisterDevice(context.Context, *RegisterDeviceReq) (*RegisterDeviceResp, error)
  2271. // 发送消息
  2272. SendMessage(context.Context, *SendMessageReq) (*SendMessageResp, error)
  2273. // 推送消息到房间
  2274. PushRoom(context.Context, *PushRoomReq) (*Empty, error)
  2275. // 添加好友
  2276. AddFriend(context.Context, *AddFriendReq) (*Empty, error)
  2277. // 同意添加好友
  2278. AgreeAddFriend(context.Context, *AgreeAddFriendReq) (*Empty, error)
  2279. // 设置好友信息
  2280. SetFriend(context.Context, *SetFriendReq) (*SetFriendResp, error)
  2281. // 获取好友列表
  2282. GetFriends(context.Context, *Empty) (*GetFriendsResp, error)
  2283. // 创建群组
  2284. CreateGroup(context.Context, *CreateGroupReq) (*CreateGroupResp, error)
  2285. // 更新群组
  2286. UpdateGroup(context.Context, *UpdateGroupReq) (*Empty, error)
  2287. // 获取群组信息
  2288. GetGroup(context.Context, *GetGroupReq) (*GetGroupResp, error)
  2289. // 获取用户加入的所有群组
  2290. GetGroups(context.Context, *Empty) (*GetGroupsResp, error)
  2291. // 添加群组成员
  2292. AddGroupMembers(context.Context, *AddGroupMembersReq) (*AddGroupMembersResp, error)
  2293. // 更新群组成员信息
  2294. UpdateGroupMember(context.Context, *UpdateGroupMemberReq) (*Empty, error)
  2295. // 添加群组成员
  2296. DeleteGroupMember(context.Context, *DeleteGroupMemberReq) (*Empty, error)
  2297. // 获取群组成员
  2298. GetGroupMembers(context.Context, *GetGroupMembersReq) (*GetGroupMembersResp, error)
  2299. }
  2300. // UnimplementedLogicExtServer can be embedded to have forward compatible implementations.
  2301. type UnimplementedLogicExtServer struct {
  2302. }
  2303. func (*UnimplementedLogicExtServer) RegisterDevice(context.Context, *RegisterDeviceReq) (*RegisterDeviceResp, error) {
  2304. return nil, status.Errorf(codes.Unimplemented, "method RegisterDevice not implemented")
  2305. }
  2306. func (*UnimplementedLogicExtServer) SendMessage(context.Context, *SendMessageReq) (*SendMessageResp, error) {
  2307. return nil, status.Errorf(codes.Unimplemented, "method SendMessage not implemented")
  2308. }
  2309. func (*UnimplementedLogicExtServer) PushRoom(context.Context, *PushRoomReq) (*Empty, error) {
  2310. return nil, status.Errorf(codes.Unimplemented, "method PushRoom not implemented")
  2311. }
  2312. func (*UnimplementedLogicExtServer) AddFriend(context.Context, *AddFriendReq) (*Empty, error) {
  2313. return nil, status.Errorf(codes.Unimplemented, "method AddFriend not implemented")
  2314. }
  2315. func (*UnimplementedLogicExtServer) AgreeAddFriend(context.Context, *AgreeAddFriendReq) (*Empty, error) {
  2316. return nil, status.Errorf(codes.Unimplemented, "method AgreeAddFriend not implemented")
  2317. }
  2318. func (*UnimplementedLogicExtServer) SetFriend(context.Context, *SetFriendReq) (*SetFriendResp, error) {
  2319. return nil, status.Errorf(codes.Unimplemented, "method SetFriend not implemented")
  2320. }
  2321. func (*UnimplementedLogicExtServer) GetFriends(context.Context, *Empty) (*GetFriendsResp, error) {
  2322. return nil, status.Errorf(codes.Unimplemented, "method GetFriends not implemented")
  2323. }
  2324. func (*UnimplementedLogicExtServer) CreateGroup(context.Context, *CreateGroupReq) (*CreateGroupResp, error) {
  2325. return nil, status.Errorf(codes.Unimplemented, "method CreateGroup not implemented")
  2326. }
  2327. func (*UnimplementedLogicExtServer) UpdateGroup(context.Context, *UpdateGroupReq) (*Empty, error) {
  2328. return nil, status.Errorf(codes.Unimplemented, "method UpdateGroup not implemented")
  2329. }
  2330. func (*UnimplementedLogicExtServer) GetGroup(context.Context, *GetGroupReq) (*GetGroupResp, error) {
  2331. return nil, status.Errorf(codes.Unimplemented, "method GetGroup not implemented")
  2332. }
  2333. func (*UnimplementedLogicExtServer) GetGroups(context.Context, *Empty) (*GetGroupsResp, error) {
  2334. return nil, status.Errorf(codes.Unimplemented, "method GetGroups not implemented")
  2335. }
  2336. func (*UnimplementedLogicExtServer) AddGroupMembers(context.Context, *AddGroupMembersReq) (*AddGroupMembersResp, error) {
  2337. return nil, status.Errorf(codes.Unimplemented, "method AddGroupMembers not implemented")
  2338. }
  2339. func (*UnimplementedLogicExtServer) UpdateGroupMember(context.Context, *UpdateGroupMemberReq) (*Empty, error) {
  2340. return nil, status.Errorf(codes.Unimplemented, "method UpdateGroupMember not implemented")
  2341. }
  2342. func (*UnimplementedLogicExtServer) DeleteGroupMember(context.Context, *DeleteGroupMemberReq) (*Empty, error) {
  2343. return nil, status.Errorf(codes.Unimplemented, "method DeleteGroupMember not implemented")
  2344. }
  2345. func (*UnimplementedLogicExtServer) GetGroupMembers(context.Context, *GetGroupMembersReq) (*GetGroupMembersResp, error) {
  2346. return nil, status.Errorf(codes.Unimplemented, "method GetGroupMembers not implemented")
  2347. }
  2348. func RegisterLogicExtServer(s *grpc.Server, srv LogicExtServer) {
  2349. s.RegisterService(&_LogicExt_serviceDesc, srv)
  2350. }
  2351. func _LogicExt_RegisterDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2352. in := new(RegisterDeviceReq)
  2353. if err := dec(in); err != nil {
  2354. return nil, err
  2355. }
  2356. if interceptor == nil {
  2357. return srv.(LogicExtServer).RegisterDevice(ctx, in)
  2358. }
  2359. info := &grpc.UnaryServerInfo{
  2360. Server: srv,
  2361. FullMethod: "/pb.LogicExt/RegisterDevice",
  2362. }
  2363. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2364. return srv.(LogicExtServer).RegisterDevice(ctx, req.(*RegisterDeviceReq))
  2365. }
  2366. return interceptor(ctx, in, info, handler)
  2367. }
  2368. func _LogicExt_SendMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2369. in := new(SendMessageReq)
  2370. if err := dec(in); err != nil {
  2371. return nil, err
  2372. }
  2373. if interceptor == nil {
  2374. return srv.(LogicExtServer).SendMessage(ctx, in)
  2375. }
  2376. info := &grpc.UnaryServerInfo{
  2377. Server: srv,
  2378. FullMethod: "/pb.LogicExt/SendMessage",
  2379. }
  2380. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2381. return srv.(LogicExtServer).SendMessage(ctx, req.(*SendMessageReq))
  2382. }
  2383. return interceptor(ctx, in, info, handler)
  2384. }
  2385. func _LogicExt_PushRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2386. in := new(PushRoomReq)
  2387. if err := dec(in); err != nil {
  2388. return nil, err
  2389. }
  2390. if interceptor == nil {
  2391. return srv.(LogicExtServer).PushRoom(ctx, in)
  2392. }
  2393. info := &grpc.UnaryServerInfo{
  2394. Server: srv,
  2395. FullMethod: "/pb.LogicExt/PushRoom",
  2396. }
  2397. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2398. return srv.(LogicExtServer).PushRoom(ctx, req.(*PushRoomReq))
  2399. }
  2400. return interceptor(ctx, in, info, handler)
  2401. }
  2402. func _LogicExt_AddFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2403. in := new(AddFriendReq)
  2404. if err := dec(in); err != nil {
  2405. return nil, err
  2406. }
  2407. if interceptor == nil {
  2408. return srv.(LogicExtServer).AddFriend(ctx, in)
  2409. }
  2410. info := &grpc.UnaryServerInfo{
  2411. Server: srv,
  2412. FullMethod: "/pb.LogicExt/AddFriend",
  2413. }
  2414. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2415. return srv.(LogicExtServer).AddFriend(ctx, req.(*AddFriendReq))
  2416. }
  2417. return interceptor(ctx, in, info, handler)
  2418. }
  2419. func _LogicExt_AgreeAddFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2420. in := new(AgreeAddFriendReq)
  2421. if err := dec(in); err != nil {
  2422. return nil, err
  2423. }
  2424. if interceptor == nil {
  2425. return srv.(LogicExtServer).AgreeAddFriend(ctx, in)
  2426. }
  2427. info := &grpc.UnaryServerInfo{
  2428. Server: srv,
  2429. FullMethod: "/pb.LogicExt/AgreeAddFriend",
  2430. }
  2431. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2432. return srv.(LogicExtServer).AgreeAddFriend(ctx, req.(*AgreeAddFriendReq))
  2433. }
  2434. return interceptor(ctx, in, info, handler)
  2435. }
  2436. func _LogicExt_SetFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2437. in := new(SetFriendReq)
  2438. if err := dec(in); err != nil {
  2439. return nil, err
  2440. }
  2441. if interceptor == nil {
  2442. return srv.(LogicExtServer).SetFriend(ctx, in)
  2443. }
  2444. info := &grpc.UnaryServerInfo{
  2445. Server: srv,
  2446. FullMethod: "/pb.LogicExt/SetFriend",
  2447. }
  2448. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2449. return srv.(LogicExtServer).SetFriend(ctx, req.(*SetFriendReq))
  2450. }
  2451. return interceptor(ctx, in, info, handler)
  2452. }
  2453. func _LogicExt_GetFriends_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2454. in := new(Empty)
  2455. if err := dec(in); err != nil {
  2456. return nil, err
  2457. }
  2458. if interceptor == nil {
  2459. return srv.(LogicExtServer).GetFriends(ctx, in)
  2460. }
  2461. info := &grpc.UnaryServerInfo{
  2462. Server: srv,
  2463. FullMethod: "/pb.LogicExt/GetFriends",
  2464. }
  2465. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2466. return srv.(LogicExtServer).GetFriends(ctx, req.(*Empty))
  2467. }
  2468. return interceptor(ctx, in, info, handler)
  2469. }
  2470. func _LogicExt_CreateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2471. in := new(CreateGroupReq)
  2472. if err := dec(in); err != nil {
  2473. return nil, err
  2474. }
  2475. if interceptor == nil {
  2476. return srv.(LogicExtServer).CreateGroup(ctx, in)
  2477. }
  2478. info := &grpc.UnaryServerInfo{
  2479. Server: srv,
  2480. FullMethod: "/pb.LogicExt/CreateGroup",
  2481. }
  2482. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2483. return srv.(LogicExtServer).CreateGroup(ctx, req.(*CreateGroupReq))
  2484. }
  2485. return interceptor(ctx, in, info, handler)
  2486. }
  2487. func _LogicExt_UpdateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2488. in := new(UpdateGroupReq)
  2489. if err := dec(in); err != nil {
  2490. return nil, err
  2491. }
  2492. if interceptor == nil {
  2493. return srv.(LogicExtServer).UpdateGroup(ctx, in)
  2494. }
  2495. info := &grpc.UnaryServerInfo{
  2496. Server: srv,
  2497. FullMethod: "/pb.LogicExt/UpdateGroup",
  2498. }
  2499. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2500. return srv.(LogicExtServer).UpdateGroup(ctx, req.(*UpdateGroupReq))
  2501. }
  2502. return interceptor(ctx, in, info, handler)
  2503. }
  2504. func _LogicExt_GetGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2505. in := new(GetGroupReq)
  2506. if err := dec(in); err != nil {
  2507. return nil, err
  2508. }
  2509. if interceptor == nil {
  2510. return srv.(LogicExtServer).GetGroup(ctx, in)
  2511. }
  2512. info := &grpc.UnaryServerInfo{
  2513. Server: srv,
  2514. FullMethod: "/pb.LogicExt/GetGroup",
  2515. }
  2516. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2517. return srv.(LogicExtServer).GetGroup(ctx, req.(*GetGroupReq))
  2518. }
  2519. return interceptor(ctx, in, info, handler)
  2520. }
  2521. func _LogicExt_GetGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2522. in := new(Empty)
  2523. if err := dec(in); err != nil {
  2524. return nil, err
  2525. }
  2526. if interceptor == nil {
  2527. return srv.(LogicExtServer).GetGroups(ctx, in)
  2528. }
  2529. info := &grpc.UnaryServerInfo{
  2530. Server: srv,
  2531. FullMethod: "/pb.LogicExt/GetGroups",
  2532. }
  2533. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2534. return srv.(LogicExtServer).GetGroups(ctx, req.(*Empty))
  2535. }
  2536. return interceptor(ctx, in, info, handler)
  2537. }
  2538. func _LogicExt_AddGroupMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2539. in := new(AddGroupMembersReq)
  2540. if err := dec(in); err != nil {
  2541. return nil, err
  2542. }
  2543. if interceptor == nil {
  2544. return srv.(LogicExtServer).AddGroupMembers(ctx, in)
  2545. }
  2546. info := &grpc.UnaryServerInfo{
  2547. Server: srv,
  2548. FullMethod: "/pb.LogicExt/AddGroupMembers",
  2549. }
  2550. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2551. return srv.(LogicExtServer).AddGroupMembers(ctx, req.(*AddGroupMembersReq))
  2552. }
  2553. return interceptor(ctx, in, info, handler)
  2554. }
  2555. func _LogicExt_UpdateGroupMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2556. in := new(UpdateGroupMemberReq)
  2557. if err := dec(in); err != nil {
  2558. return nil, err
  2559. }
  2560. if interceptor == nil {
  2561. return srv.(LogicExtServer).UpdateGroupMember(ctx, in)
  2562. }
  2563. info := &grpc.UnaryServerInfo{
  2564. Server: srv,
  2565. FullMethod: "/pb.LogicExt/UpdateGroupMember",
  2566. }
  2567. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2568. return srv.(LogicExtServer).UpdateGroupMember(ctx, req.(*UpdateGroupMemberReq))
  2569. }
  2570. return interceptor(ctx, in, info, handler)
  2571. }
  2572. func _LogicExt_DeleteGroupMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2573. in := new(DeleteGroupMemberReq)
  2574. if err := dec(in); err != nil {
  2575. return nil, err
  2576. }
  2577. if interceptor == nil {
  2578. return srv.(LogicExtServer).DeleteGroupMember(ctx, in)
  2579. }
  2580. info := &grpc.UnaryServerInfo{
  2581. Server: srv,
  2582. FullMethod: "/pb.LogicExt/DeleteGroupMember",
  2583. }
  2584. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2585. return srv.(LogicExtServer).DeleteGroupMember(ctx, req.(*DeleteGroupMemberReq))
  2586. }
  2587. return interceptor(ctx, in, info, handler)
  2588. }
  2589. func _LogicExt_GetGroupMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2590. in := new(GetGroupMembersReq)
  2591. if err := dec(in); err != nil {
  2592. return nil, err
  2593. }
  2594. if interceptor == nil {
  2595. return srv.(LogicExtServer).GetGroupMembers(ctx, in)
  2596. }
  2597. info := &grpc.UnaryServerInfo{
  2598. Server: srv,
  2599. FullMethod: "/pb.LogicExt/GetGroupMembers",
  2600. }
  2601. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2602. return srv.(LogicExtServer).GetGroupMembers(ctx, req.(*GetGroupMembersReq))
  2603. }
  2604. return interceptor(ctx, in, info, handler)
  2605. }
  2606. var _LogicExt_serviceDesc = grpc.ServiceDesc{
  2607. ServiceName: "pb.LogicExt",
  2608. HandlerType: (*LogicExtServer)(nil),
  2609. Methods: []grpc.MethodDesc{
  2610. {
  2611. MethodName: "RegisterDevice",
  2612. Handler: _LogicExt_RegisterDevice_Handler,
  2613. },
  2614. {
  2615. MethodName: "SendMessage",
  2616. Handler: _LogicExt_SendMessage_Handler,
  2617. },
  2618. {
  2619. MethodName: "PushRoom",
  2620. Handler: _LogicExt_PushRoom_Handler,
  2621. },
  2622. {
  2623. MethodName: "AddFriend",
  2624. Handler: _LogicExt_AddFriend_Handler,
  2625. },
  2626. {
  2627. MethodName: "AgreeAddFriend",
  2628. Handler: _LogicExt_AgreeAddFriend_Handler,
  2629. },
  2630. {
  2631. MethodName: "SetFriend",
  2632. Handler: _LogicExt_SetFriend_Handler,
  2633. },
  2634. {
  2635. MethodName: "GetFriends",
  2636. Handler: _LogicExt_GetFriends_Handler,
  2637. },
  2638. {
  2639. MethodName: "CreateGroup",
  2640. Handler: _LogicExt_CreateGroup_Handler,
  2641. },
  2642. {
  2643. MethodName: "UpdateGroup",
  2644. Handler: _LogicExt_UpdateGroup_Handler,
  2645. },
  2646. {
  2647. MethodName: "GetGroup",
  2648. Handler: _LogicExt_GetGroup_Handler,
  2649. },
  2650. {
  2651. MethodName: "GetGroups",
  2652. Handler: _LogicExt_GetGroups_Handler,
  2653. },
  2654. {
  2655. MethodName: "AddGroupMembers",
  2656. Handler: _LogicExt_AddGroupMembers_Handler,
  2657. },
  2658. {
  2659. MethodName: "UpdateGroupMember",
  2660. Handler: _LogicExt_UpdateGroupMember_Handler,
  2661. },
  2662. {
  2663. MethodName: "DeleteGroupMember",
  2664. Handler: _LogicExt_DeleteGroupMember_Handler,
  2665. },
  2666. {
  2667. MethodName: "GetGroupMembers",
  2668. Handler: _LogicExt_GetGroupMembers_Handler,
  2669. },
  2670. },
  2671. Streams: []grpc.StreamDesc{},
  2672. Metadata: "logic.ext.proto_back",
  2673. }