golang-im聊天
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

3360 rader
116 KiB

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