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.
 
 
 
 

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