golang-im聊天
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 

2386 Zeilen
77 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: connect.ext.proto
  6. package pb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type PackageType int32
  20. const (
  21. PackageType_PT_UNKNOWN PackageType = 0 // 未知
  22. PackageType_PT_SIGN_IN PackageType = 1 // 设备登录请求
  23. PackageType_PT_SYNC PackageType = 2 // 消息同步触发
  24. PackageType_PT_HEARTBEAT PackageType = 3 // 心跳
  25. PackageType_PT_MESSAGE PackageType = 4 // 消息投递
  26. PackageType_PT_SUBSCRIBE_ROOM PackageType = 5 // 订阅房间
  27. )
  28. // Enum value maps for PackageType.
  29. var (
  30. PackageType_name = map[int32]string{
  31. 0: "PT_UNKNOWN",
  32. 1: "PT_SIGN_IN",
  33. 2: "PT_SYNC",
  34. 3: "PT_HEARTBEAT",
  35. 4: "PT_MESSAGE",
  36. 5: "PT_SUBSCRIBE_ROOM",
  37. }
  38. PackageType_value = map[string]int32{
  39. "PT_UNKNOWN": 0,
  40. "PT_SIGN_IN": 1,
  41. "PT_SYNC": 2,
  42. "PT_HEARTBEAT": 3,
  43. "PT_MESSAGE": 4,
  44. "PT_SUBSCRIBE_ROOM": 5,
  45. }
  46. )
  47. func (x PackageType) Enum() *PackageType {
  48. p := new(PackageType)
  49. *p = x
  50. return p
  51. }
  52. func (x PackageType) String() string {
  53. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  54. }
  55. func (PackageType) Descriptor() protoreflect.EnumDescriptor {
  56. return file_connect_ext_proto_enumTypes[0].Descriptor()
  57. }
  58. func (PackageType) Type() protoreflect.EnumType {
  59. return &file_connect_ext_proto_enumTypes[0]
  60. }
  61. func (x PackageType) Number() protoreflect.EnumNumber {
  62. return protoreflect.EnumNumber(x)
  63. }
  64. // Deprecated: Use PackageType.Descriptor instead.
  65. func (PackageType) EnumDescriptor() ([]byte, []int) {
  66. return file_connect_ext_proto_rawDescGZIP(), []int{0}
  67. }
  68. // 消息类型
  69. type MessageType int32
  70. const (
  71. MessageType_MT_UNKNOWN MessageType = 0 // 未知
  72. MessageType_MT_TEXT MessageType = 1 // 文本
  73. MessageType_MT_FACE MessageType = 2 // 表情
  74. MessageType_MT_VOICE MessageType = 3 // 语音消息
  75. MessageType_MT_IMAGE MessageType = 4 // 图片
  76. MessageType_MT_FILE MessageType = 5 // 文件
  77. MessageType_MT_LOCATION MessageType = 6 // 地理位置
  78. MessageType_MT_COMMAND MessageType = 7 // 指令推送
  79. MessageType_MT_CUSTOM MessageType = 8 // 自定义
  80. MessageType_MT_RECALL MessageType = 9 // 撤回消息
  81. MessageType_MT_RED_PACKAGE MessageType = 10 // 红包消息
  82. )
  83. // Enum value maps for MessageType.
  84. var (
  85. MessageType_name = map[int32]string{
  86. 0: "MT_UNKNOWN",
  87. 1: "MT_TEXT",
  88. 2: "MT_FACE",
  89. 3: "MT_VOICE",
  90. 4: "MT_IMAGE",
  91. 5: "MT_FILE",
  92. 6: "MT_LOCATION",
  93. 7: "MT_COMMAND",
  94. 8: "MT_CUSTOM",
  95. 9: "MT_RECALL",
  96. 10: "MT_RED_PACKAGE",
  97. }
  98. MessageType_value = map[string]int32{
  99. "MT_UNKNOWN": 0,
  100. "MT_TEXT": 1,
  101. "MT_FACE": 2,
  102. "MT_VOICE": 3,
  103. "MT_IMAGE": 4,
  104. "MT_FILE": 5,
  105. "MT_LOCATION": 6,
  106. "MT_COMMAND": 7,
  107. "MT_CUSTOM": 8,
  108. "MT_RECALL": 9,
  109. "MT_RED_PACKAGE": 10,
  110. }
  111. )
  112. func (x MessageType) Enum() *MessageType {
  113. p := new(MessageType)
  114. *p = x
  115. return p
  116. }
  117. func (x MessageType) String() string {
  118. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  119. }
  120. func (MessageType) Descriptor() protoreflect.EnumDescriptor {
  121. return file_connect_ext_proto_enumTypes[1].Descriptor()
  122. }
  123. func (MessageType) Type() protoreflect.EnumType {
  124. return &file_connect_ext_proto_enumTypes[1]
  125. }
  126. func (x MessageType) Number() protoreflect.EnumNumber {
  127. return protoreflect.EnumNumber(x)
  128. }
  129. // Deprecated: Use MessageType.Descriptor instead.
  130. func (MessageType) EnumDescriptor() ([]byte, []int) {
  131. return file_connect_ext_proto_rawDescGZIP(), []int{1}
  132. }
  133. // 红包类型
  134. type RedPacketType int32
  135. const (
  136. RedPacketType_RPT_UNKNOWN RedPacketType = 0 // 未知
  137. RedPacketType_RPT_FRIEND RedPacketType = 1 // 好友红包
  138. RedPacketType_RPT_GROUP_NORMAL RedPacketType = 2 // 群组普通红包
  139. RedPacketType_RPT_GROUP_LUCK RedPacketType = 3 // 群组手气红包
  140. RedPacketType_RPT_GROUP_SPECIALLY RedPacketType = 4 // 群组专属红包
  141. RedPacketType_RPT_SYSTEM_FOR RedPacketType = 5 // 系统红包
  142. )
  143. // Enum value maps for RedPacketType.
  144. var (
  145. RedPacketType_name = map[int32]string{
  146. 0: "RPT_UNKNOWN",
  147. 1: "RPT_FRIEND",
  148. 2: "RPT_GROUP_NORMAL",
  149. 3: "RPT_GROUP_LUCK",
  150. 4: "RPT_GROUP_SPECIALLY",
  151. 5: "RPT_SYSTEM_FOR",
  152. }
  153. RedPacketType_value = map[string]int32{
  154. "RPT_UNKNOWN": 0,
  155. "RPT_FRIEND": 1,
  156. "RPT_GROUP_NORMAL": 2,
  157. "RPT_GROUP_LUCK": 3,
  158. "RPT_GROUP_SPECIALLY": 4,
  159. "RPT_SYSTEM_FOR": 5,
  160. }
  161. )
  162. func (x RedPacketType) Enum() *RedPacketType {
  163. p := new(RedPacketType)
  164. *p = x
  165. return p
  166. }
  167. func (x RedPacketType) String() string {
  168. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  169. }
  170. func (RedPacketType) Descriptor() protoreflect.EnumDescriptor {
  171. return file_connect_ext_proto_enumTypes[2].Descriptor()
  172. }
  173. func (RedPacketType) Type() protoreflect.EnumType {
  174. return &file_connect_ext_proto_enumTypes[2]
  175. }
  176. func (x RedPacketType) Number() protoreflect.EnumNumber {
  177. return protoreflect.EnumNumber(x)
  178. }
  179. // Deprecated: Use RedPacketType.Descriptor instead.
  180. func (RedPacketType) EnumDescriptor() ([]byte, []int) {
  181. return file_connect_ext_proto_rawDescGZIP(), []int{2}
  182. }
  183. // 红包消息类型
  184. type RedPacketMessageType int32
  185. const (
  186. RedPacketMessageType_RMT_UNKNOWN RedPacketMessageType = 0 // 未知
  187. RedPacketMessageType_RMT_SEND RedPacketMessageType = 1 // 发红包
  188. RedPacketMessageType_RMT_GRAB RedPacketMessageType = 2 // 抢红包
  189. )
  190. // Enum value maps for RedPacketMessageType.
  191. var (
  192. RedPacketMessageType_name = map[int32]string{
  193. 0: "RMT_UNKNOWN",
  194. 1: "RMT_SEND",
  195. 2: "RMT_GRAB",
  196. }
  197. RedPacketMessageType_value = map[string]int32{
  198. "RMT_UNKNOWN": 0,
  199. "RMT_SEND": 1,
  200. "RMT_GRAB": 2,
  201. }
  202. )
  203. func (x RedPacketMessageType) Enum() *RedPacketMessageType {
  204. p := new(RedPacketMessageType)
  205. *p = x
  206. return p
  207. }
  208. func (x RedPacketMessageType) String() string {
  209. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  210. }
  211. func (RedPacketMessageType) Descriptor() protoreflect.EnumDescriptor {
  212. return file_connect_ext_proto_enumTypes[3].Descriptor()
  213. }
  214. func (RedPacketMessageType) Type() protoreflect.EnumType {
  215. return &file_connect_ext_proto_enumTypes[3]
  216. }
  217. func (x RedPacketMessageType) Number() protoreflect.EnumNumber {
  218. return protoreflect.EnumNumber(x)
  219. }
  220. // Deprecated: Use RedPacketMessageType.Descriptor instead.
  221. func (RedPacketMessageType) EnumDescriptor() ([]byte, []int) {
  222. return file_connect_ext_proto_rawDescGZIP(), []int{3}
  223. }
  224. // 红包状态类型
  225. type RedPacketStatusType int32
  226. const (
  227. RedPacketStatusType_RPS_NOT_DRAW RedPacketStatusType = 0 // 未领取
  228. RedPacketStatusType_RPS_DRAWING RedPacketStatusType = 1 // 领取中
  229. RedPacketStatusType_RPS_DRAW_OVER RedPacketStatusType = 2 // 领取完
  230. RedPacketStatusType_RPS_EXPIRE RedPacketStatusType = 3 //已过期
  231. )
  232. // Enum value maps for RedPacketStatusType.
  233. var (
  234. RedPacketStatusType_name = map[int32]string{
  235. 0: "RPS_NOT_DRAW",
  236. 1: "RPS_DRAWING",
  237. 2: "RPS_DRAW_OVER",
  238. 3: "RPS_EXPIRE",
  239. }
  240. RedPacketStatusType_value = map[string]int32{
  241. "RPS_NOT_DRAW": 0,
  242. "RPS_DRAWING": 1,
  243. "RPS_DRAW_OVER": 2,
  244. "RPS_EXPIRE": 3,
  245. }
  246. )
  247. func (x RedPacketStatusType) Enum() *RedPacketStatusType {
  248. p := new(RedPacketStatusType)
  249. *p = x
  250. return p
  251. }
  252. func (x RedPacketStatusType) String() string {
  253. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  254. }
  255. func (RedPacketStatusType) Descriptor() protoreflect.EnumDescriptor {
  256. return file_connect_ext_proto_enumTypes[4].Descriptor()
  257. }
  258. func (RedPacketStatusType) Type() protoreflect.EnumType {
  259. return &file_connect_ext_proto_enumTypes[4]
  260. }
  261. func (x RedPacketStatusType) Number() protoreflect.EnumNumber {
  262. return protoreflect.EnumNumber(x)
  263. }
  264. // Deprecated: Use RedPacketStatusType.Descriptor instead.
  265. func (RedPacketStatusType) EnumDescriptor() ([]byte, []int) {
  266. return file_connect_ext_proto_rawDescGZIP(), []int{4}
  267. }
  268. type ReceiverType int32
  269. const (
  270. ReceiverType_RT_UNKNOWN ReceiverType = 0 // 未知
  271. ReceiverType_RT_USER ReceiverType = 1 // 用户
  272. ReceiverType_RT_GROUP ReceiverType = 2 // 群组
  273. ReceiverType_RT_ROOM ReceiverType = 3 // 房间
  274. )
  275. // Enum value maps for ReceiverType.
  276. var (
  277. ReceiverType_name = map[int32]string{
  278. 0: "RT_UNKNOWN",
  279. 1: "RT_USER",
  280. 2: "RT_GROUP",
  281. 3: "RT_ROOM",
  282. }
  283. ReceiverType_value = map[string]int32{
  284. "RT_UNKNOWN": 0,
  285. "RT_USER": 1,
  286. "RT_GROUP": 2,
  287. "RT_ROOM": 3,
  288. }
  289. )
  290. func (x ReceiverType) Enum() *ReceiverType {
  291. p := new(ReceiverType)
  292. *p = x
  293. return p
  294. }
  295. func (x ReceiverType) String() string {
  296. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  297. }
  298. func (ReceiverType) Descriptor() protoreflect.EnumDescriptor {
  299. return file_connect_ext_proto_enumTypes[5].Descriptor()
  300. }
  301. func (ReceiverType) Type() protoreflect.EnumType {
  302. return &file_connect_ext_proto_enumTypes[5]
  303. }
  304. func (x ReceiverType) Number() protoreflect.EnumNumber {
  305. return protoreflect.EnumNumber(x)
  306. }
  307. // Deprecated: Use ReceiverType.Descriptor instead.
  308. func (ReceiverType) EnumDescriptor() ([]byte, []int) {
  309. return file_connect_ext_proto_rawDescGZIP(), []int{5}
  310. }
  311. type SenderType int32
  312. const (
  313. SenderType_ST_UNKNOWN SenderType = 0 // 未知的
  314. SenderType_ST_SYSTEM SenderType = 1 // IM系统
  315. SenderType_ST_USER SenderType = 2 // 用户
  316. SenderType_ST_BUSINESS SenderType = 3 // 业务方
  317. )
  318. // Enum value maps for SenderType.
  319. var (
  320. SenderType_name = map[int32]string{
  321. 0: "ST_UNKNOWN",
  322. 1: "ST_SYSTEM",
  323. 2: "ST_USER",
  324. 3: "ST_BUSINESS",
  325. }
  326. SenderType_value = map[string]int32{
  327. "ST_UNKNOWN": 0,
  328. "ST_SYSTEM": 1,
  329. "ST_USER": 2,
  330. "ST_BUSINESS": 3,
  331. }
  332. )
  333. func (x SenderType) Enum() *SenderType {
  334. p := new(SenderType)
  335. *p = x
  336. return p
  337. }
  338. func (x SenderType) String() string {
  339. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  340. }
  341. func (SenderType) Descriptor() protoreflect.EnumDescriptor {
  342. return file_connect_ext_proto_enumTypes[6].Descriptor()
  343. }
  344. func (SenderType) Type() protoreflect.EnumType {
  345. return &file_connect_ext_proto_enumTypes[6]
  346. }
  347. func (x SenderType) Number() protoreflect.EnumNumber {
  348. return protoreflect.EnumNumber(x)
  349. }
  350. // Deprecated: Use SenderType.Descriptor instead.
  351. func (SenderType) EnumDescriptor() ([]byte, []int) {
  352. return file_connect_ext_proto_rawDescGZIP(), []int{6}
  353. }
  354. type MessageStatus int32
  355. const (
  356. MessageStatus_MS_UNKNOWN MessageStatus = 0 // 未知的
  357. MessageStatus_MS_NORMAL MessageStatus = 1 // 正常的
  358. MessageStatus_MS_RECALL MessageStatus = 2 // 撤回
  359. )
  360. // Enum value maps for MessageStatus.
  361. var (
  362. MessageStatus_name = map[int32]string{
  363. 0: "MS_UNKNOWN",
  364. 1: "MS_NORMAL",
  365. 2: "MS_RECALL",
  366. }
  367. MessageStatus_value = map[string]int32{
  368. "MS_UNKNOWN": 0,
  369. "MS_NORMAL": 1,
  370. "MS_RECALL": 2,
  371. }
  372. )
  373. func (x MessageStatus) Enum() *MessageStatus {
  374. p := new(MessageStatus)
  375. *p = x
  376. return p
  377. }
  378. func (x MessageStatus) String() string {
  379. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  380. }
  381. func (MessageStatus) Descriptor() protoreflect.EnumDescriptor {
  382. return file_connect_ext_proto_enumTypes[7].Descriptor()
  383. }
  384. func (MessageStatus) Type() protoreflect.EnumType {
  385. return &file_connect_ext_proto_enumTypes[7]
  386. }
  387. func (x MessageStatus) Number() protoreflect.EnumNumber {
  388. return protoreflect.EnumNumber(x)
  389. }
  390. // Deprecated: Use MessageStatus.Descriptor instead.
  391. func (MessageStatus) EnumDescriptor() ([]byte, []int) {
  392. return file_connect_ext_proto_rawDescGZIP(), []int{7}
  393. }
  394. // 单条消息投递内容(估算大约100个字节),todo 通知栏提醒
  395. type Message struct {
  396. state protoimpl.MessageState
  397. sizeCache protoimpl.SizeCache
  398. unknownFields protoimpl.UnknownFields
  399. Sender *Sender `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // 发送者
  400. ReceiverType ReceiverType `protobuf:"varint,2,opt,name=receiver_type,json=receiverType,proto3,enum=pb.ReceiverType" json:"receiver_type,omitempty"` // 接收者类型,1:user;2:group
  401. ReceiverId int64 `protobuf:"varint,3,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id,omitempty"` // 用户id或者群组id
  402. ToUserIds []int64 `protobuf:"varint,4,rep,packed,name=to_user_ids,json=toUserIds,proto3" json:"to_user_ids,omitempty"` // 需要@的用户id列表
  403. MessageType MessageType `protobuf:"varint,5,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"` // 消息类型
  404. MessageContent []byte `protobuf:"bytes,6,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // 消息内容
  405. Seq int64 `protobuf:"varint,7,opt,name=seq,proto3" json:"seq,omitempty"` // 用户消息发送序列号
  406. SendTime int64 `protobuf:"varint,8,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"` // 消息发送时间戳,精确到毫秒
  407. Status MessageStatus `protobuf:"varint,9,opt,name=status,proto3,enum=pb.MessageStatus" json:"status,omitempty"` // 消息状态
  408. }
  409. func (x *Message) Reset() {
  410. *x = Message{}
  411. if protoimpl.UnsafeEnabled {
  412. mi := &file_connect_ext_proto_msgTypes[0]
  413. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  414. ms.StoreMessageInfo(mi)
  415. }
  416. }
  417. func (x *Message) String() string {
  418. return protoimpl.X.MessageStringOf(x)
  419. }
  420. func (*Message) ProtoMessage() {}
  421. func (x *Message) ProtoReflect() protoreflect.Message {
  422. mi := &file_connect_ext_proto_msgTypes[0]
  423. if protoimpl.UnsafeEnabled && x != nil {
  424. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  425. if ms.LoadMessageInfo() == nil {
  426. ms.StoreMessageInfo(mi)
  427. }
  428. return ms
  429. }
  430. return mi.MessageOf(x)
  431. }
  432. // Deprecated: Use Message.ProtoReflect.Descriptor instead.
  433. func (*Message) Descriptor() ([]byte, []int) {
  434. return file_connect_ext_proto_rawDescGZIP(), []int{0}
  435. }
  436. func (x *Message) GetSender() *Sender {
  437. if x != nil {
  438. return x.Sender
  439. }
  440. return nil
  441. }
  442. func (x *Message) GetReceiverType() ReceiverType {
  443. if x != nil {
  444. return x.ReceiverType
  445. }
  446. return ReceiverType_RT_UNKNOWN
  447. }
  448. func (x *Message) GetReceiverId() int64 {
  449. if x != nil {
  450. return x.ReceiverId
  451. }
  452. return 0
  453. }
  454. func (x *Message) GetToUserIds() []int64 {
  455. if x != nil {
  456. return x.ToUserIds
  457. }
  458. return nil
  459. }
  460. func (x *Message) GetMessageType() MessageType {
  461. if x != nil {
  462. return x.MessageType
  463. }
  464. return MessageType_MT_UNKNOWN
  465. }
  466. func (x *Message) GetMessageContent() []byte {
  467. if x != nil {
  468. return x.MessageContent
  469. }
  470. return nil
  471. }
  472. func (x *Message) GetSeq() int64 {
  473. if x != nil {
  474. return x.Seq
  475. }
  476. return 0
  477. }
  478. func (x *Message) GetSendTime() int64 {
  479. if x != nil {
  480. return x.SendTime
  481. }
  482. return 0
  483. }
  484. func (x *Message) GetStatus() MessageStatus {
  485. if x != nil {
  486. return x.Status
  487. }
  488. return MessageStatus_MS_UNKNOWN
  489. }
  490. type Sender struct {
  491. state protoimpl.MessageState
  492. sizeCache protoimpl.SizeCache
  493. unknownFields protoimpl.UnknownFields
  494. SenderType SenderType `protobuf:"varint,1,opt,name=sender_type,json=senderType,proto3,enum=pb.SenderType" json:"sender_type,omitempty"` // 发送者类型,1:系统,2:用户,3:第三方业务系统
  495. SenderId int64 `protobuf:"varint,2,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"` // 发送者id
  496. DeviceId int64 `protobuf:"varint,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // 发送者设备id
  497. AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
  498. Nickname string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  499. Extra string `protobuf:"bytes,6,opt,name=extra,proto3" json:"extra,omitempty"` // 扩展字段
  500. }
  501. func (x *Sender) Reset() {
  502. *x = Sender{}
  503. if protoimpl.UnsafeEnabled {
  504. mi := &file_connect_ext_proto_msgTypes[1]
  505. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  506. ms.StoreMessageInfo(mi)
  507. }
  508. }
  509. func (x *Sender) String() string {
  510. return protoimpl.X.MessageStringOf(x)
  511. }
  512. func (*Sender) ProtoMessage() {}
  513. func (x *Sender) ProtoReflect() protoreflect.Message {
  514. mi := &file_connect_ext_proto_msgTypes[1]
  515. if protoimpl.UnsafeEnabled && x != nil {
  516. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  517. if ms.LoadMessageInfo() == nil {
  518. ms.StoreMessageInfo(mi)
  519. }
  520. return ms
  521. }
  522. return mi.MessageOf(x)
  523. }
  524. // Deprecated: Use Sender.ProtoReflect.Descriptor instead.
  525. func (*Sender) Descriptor() ([]byte, []int) {
  526. return file_connect_ext_proto_rawDescGZIP(), []int{1}
  527. }
  528. func (x *Sender) GetSenderType() SenderType {
  529. if x != nil {
  530. return x.SenderType
  531. }
  532. return SenderType_ST_UNKNOWN
  533. }
  534. func (x *Sender) GetSenderId() int64 {
  535. if x != nil {
  536. return x.SenderId
  537. }
  538. return 0
  539. }
  540. func (x *Sender) GetDeviceId() int64 {
  541. if x != nil {
  542. return x.DeviceId
  543. }
  544. return 0
  545. }
  546. func (x *Sender) GetAvatarUrl() string {
  547. if x != nil {
  548. return x.AvatarUrl
  549. }
  550. return ""
  551. }
  552. func (x *Sender) GetNickname() string {
  553. if x != nil {
  554. return x.Nickname
  555. }
  556. return ""
  557. }
  558. func (x *Sender) GetExtra() string {
  559. if x != nil {
  560. return x.Extra
  561. }
  562. return ""
  563. }
  564. // 文本消息
  565. type Text struct {
  566. state protoimpl.MessageState
  567. sizeCache protoimpl.SizeCache
  568. unknownFields protoimpl.UnknownFields
  569. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // 文本消息内容
  570. }
  571. func (x *Text) Reset() {
  572. *x = Text{}
  573. if protoimpl.UnsafeEnabled {
  574. mi := &file_connect_ext_proto_msgTypes[2]
  575. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  576. ms.StoreMessageInfo(mi)
  577. }
  578. }
  579. func (x *Text) String() string {
  580. return protoimpl.X.MessageStringOf(x)
  581. }
  582. func (*Text) ProtoMessage() {}
  583. func (x *Text) ProtoReflect() protoreflect.Message {
  584. mi := &file_connect_ext_proto_msgTypes[2]
  585. if protoimpl.UnsafeEnabled && x != nil {
  586. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  587. if ms.LoadMessageInfo() == nil {
  588. ms.StoreMessageInfo(mi)
  589. }
  590. return ms
  591. }
  592. return mi.MessageOf(x)
  593. }
  594. // Deprecated: Use Text.ProtoReflect.Descriptor instead.
  595. func (*Text) Descriptor() ([]byte, []int) {
  596. return file_connect_ext_proto_rawDescGZIP(), []int{2}
  597. }
  598. func (x *Text) GetText() string {
  599. if x != nil {
  600. return x.Text
  601. }
  602. return ""
  603. }
  604. // 表情消息
  605. type Face struct {
  606. state protoimpl.MessageState
  607. sizeCache protoimpl.SizeCache
  608. unknownFields protoimpl.UnknownFields
  609. FaceId int64 `protobuf:"varint,1,opt,name=face_id,json=faceId,proto3" json:"face_id,omitempty"`
  610. FaceUrl string `protobuf:"bytes,2,opt,name=face_url,json=faceUrl,proto3" json:"face_url,omitempty"`
  611. }
  612. func (x *Face) Reset() {
  613. *x = Face{}
  614. if protoimpl.UnsafeEnabled {
  615. mi := &file_connect_ext_proto_msgTypes[3]
  616. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  617. ms.StoreMessageInfo(mi)
  618. }
  619. }
  620. func (x *Face) String() string {
  621. return protoimpl.X.MessageStringOf(x)
  622. }
  623. func (*Face) ProtoMessage() {}
  624. func (x *Face) ProtoReflect() protoreflect.Message {
  625. mi := &file_connect_ext_proto_msgTypes[3]
  626. if protoimpl.UnsafeEnabled && x != nil {
  627. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  628. if ms.LoadMessageInfo() == nil {
  629. ms.StoreMessageInfo(mi)
  630. }
  631. return ms
  632. }
  633. return mi.MessageOf(x)
  634. }
  635. // Deprecated: Use Face.ProtoReflect.Descriptor instead.
  636. func (*Face) Descriptor() ([]byte, []int) {
  637. return file_connect_ext_proto_rawDescGZIP(), []int{3}
  638. }
  639. func (x *Face) GetFaceId() int64 {
  640. if x != nil {
  641. return x.FaceId
  642. }
  643. return 0
  644. }
  645. func (x *Face) GetFaceUrl() string {
  646. if x != nil {
  647. return x.FaceUrl
  648. }
  649. return ""
  650. }
  651. // 语音消息
  652. type Voice struct {
  653. state protoimpl.MessageState
  654. sizeCache protoimpl.SizeCache
  655. unknownFields protoimpl.UnknownFields
  656. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 语音包id
  657. Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // 语音包大小
  658. Duration int32 `protobuf:"varint,3,opt,name=duration,proto3" json:"duration,omitempty"` // 语音时长
  659. Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // 语音文件URL
  660. }
  661. func (x *Voice) Reset() {
  662. *x = Voice{}
  663. if protoimpl.UnsafeEnabled {
  664. mi := &file_connect_ext_proto_msgTypes[4]
  665. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  666. ms.StoreMessageInfo(mi)
  667. }
  668. }
  669. func (x *Voice) String() string {
  670. return protoimpl.X.MessageStringOf(x)
  671. }
  672. func (*Voice) ProtoMessage() {}
  673. func (x *Voice) ProtoReflect() protoreflect.Message {
  674. mi := &file_connect_ext_proto_msgTypes[4]
  675. if protoimpl.UnsafeEnabled && x != nil {
  676. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  677. if ms.LoadMessageInfo() == nil {
  678. ms.StoreMessageInfo(mi)
  679. }
  680. return ms
  681. }
  682. return mi.MessageOf(x)
  683. }
  684. // Deprecated: Use Voice.ProtoReflect.Descriptor instead.
  685. func (*Voice) Descriptor() ([]byte, []int) {
  686. return file_connect_ext_proto_rawDescGZIP(), []int{4}
  687. }
  688. func (x *Voice) GetId() string {
  689. if x != nil {
  690. return x.Id
  691. }
  692. return ""
  693. }
  694. func (x *Voice) GetSize() int32 {
  695. if x != nil {
  696. return x.Size
  697. }
  698. return 0
  699. }
  700. func (x *Voice) GetDuration() int32 {
  701. if x != nil {
  702. return x.Duration
  703. }
  704. return 0
  705. }
  706. func (x *Voice) GetUrl() string {
  707. if x != nil {
  708. return x.Url
  709. }
  710. return ""
  711. }
  712. // 图片消息
  713. type Image struct {
  714. state protoimpl.MessageState
  715. sizeCache protoimpl.SizeCache
  716. unknownFields protoimpl.UnknownFields
  717. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 图片id
  718. Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` // 图片宽度
  719. Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // 图片长度
  720. Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // 图片URL
  721. ThumbnailUrl string `protobuf:"bytes,5,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"` // 图片缩略图url
  722. }
  723. func (x *Image) Reset() {
  724. *x = Image{}
  725. if protoimpl.UnsafeEnabled {
  726. mi := &file_connect_ext_proto_msgTypes[5]
  727. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  728. ms.StoreMessageInfo(mi)
  729. }
  730. }
  731. func (x *Image) String() string {
  732. return protoimpl.X.MessageStringOf(x)
  733. }
  734. func (*Image) ProtoMessage() {}
  735. func (x *Image) ProtoReflect() protoreflect.Message {
  736. mi := &file_connect_ext_proto_msgTypes[5]
  737. if protoimpl.UnsafeEnabled && x != nil {
  738. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  739. if ms.LoadMessageInfo() == nil {
  740. ms.StoreMessageInfo(mi)
  741. }
  742. return ms
  743. }
  744. return mi.MessageOf(x)
  745. }
  746. // Deprecated: Use Image.ProtoReflect.Descriptor instead.
  747. func (*Image) Descriptor() ([]byte, []int) {
  748. return file_connect_ext_proto_rawDescGZIP(), []int{5}
  749. }
  750. func (x *Image) GetId() string {
  751. if x != nil {
  752. return x.Id
  753. }
  754. return ""
  755. }
  756. func (x *Image) GetWidth() int32 {
  757. if x != nil {
  758. return x.Width
  759. }
  760. return 0
  761. }
  762. func (x *Image) GetHeight() int32 {
  763. if x != nil {
  764. return x.Height
  765. }
  766. return 0
  767. }
  768. func (x *Image) GetUrl() string {
  769. if x != nil {
  770. return x.Url
  771. }
  772. return ""
  773. }
  774. func (x *Image) GetThumbnailUrl() string {
  775. if x != nil {
  776. return x.ThumbnailUrl
  777. }
  778. return ""
  779. }
  780. // 文件消息
  781. type File struct {
  782. state protoimpl.MessageState
  783. sizeCache protoimpl.SizeCache
  784. unknownFields protoimpl.UnknownFields
  785. Id int64 `protobuf:"varint,12,opt,name=id,proto3" json:"id,omitempty"` // 文件id
  786. Name string `protobuf:"bytes,13,opt,name=name,proto3" json:"name,omitempty"` // 文件名
  787. Size int64 `protobuf:"varint,14,opt,name=size,proto3" json:"size,omitempty"` // 文件大小
  788. Url string `protobuf:"bytes,15,opt,name=url,proto3" json:"url,omitempty"` // 文件url
  789. }
  790. func (x *File) Reset() {
  791. *x = File{}
  792. if protoimpl.UnsafeEnabled {
  793. mi := &file_connect_ext_proto_msgTypes[6]
  794. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  795. ms.StoreMessageInfo(mi)
  796. }
  797. }
  798. func (x *File) String() string {
  799. return protoimpl.X.MessageStringOf(x)
  800. }
  801. func (*File) ProtoMessage() {}
  802. func (x *File) ProtoReflect() protoreflect.Message {
  803. mi := &file_connect_ext_proto_msgTypes[6]
  804. if protoimpl.UnsafeEnabled && x != nil {
  805. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  806. if ms.LoadMessageInfo() == nil {
  807. ms.StoreMessageInfo(mi)
  808. }
  809. return ms
  810. }
  811. return mi.MessageOf(x)
  812. }
  813. // Deprecated: Use File.ProtoReflect.Descriptor instead.
  814. func (*File) Descriptor() ([]byte, []int) {
  815. return file_connect_ext_proto_rawDescGZIP(), []int{6}
  816. }
  817. func (x *File) GetId() int64 {
  818. if x != nil {
  819. return x.Id
  820. }
  821. return 0
  822. }
  823. func (x *File) GetName() string {
  824. if x != nil {
  825. return x.Name
  826. }
  827. return ""
  828. }
  829. func (x *File) GetSize() int64 {
  830. if x != nil {
  831. return x.Size
  832. }
  833. return 0
  834. }
  835. func (x *File) GetUrl() string {
  836. if x != nil {
  837. return x.Url
  838. }
  839. return ""
  840. }
  841. // 地理位置消息
  842. type Location struct {
  843. state protoimpl.MessageState
  844. sizeCache protoimpl.SizeCache
  845. unknownFields protoimpl.UnknownFields
  846. Desc string `protobuf:"bytes,1,opt,name=desc,proto3" json:"desc,omitempty"` // 描述
  847. Latitude float64 `protobuf:"fixed64,2,opt,name=latitude,proto3" json:"latitude,omitempty"` // 经度
  848. Longitude float64 `protobuf:"fixed64,3,opt,name=longitude,proto3" json:"longitude,omitempty"` // 纬度
  849. }
  850. func (x *Location) Reset() {
  851. *x = Location{}
  852. if protoimpl.UnsafeEnabled {
  853. mi := &file_connect_ext_proto_msgTypes[7]
  854. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  855. ms.StoreMessageInfo(mi)
  856. }
  857. }
  858. func (x *Location) String() string {
  859. return protoimpl.X.MessageStringOf(x)
  860. }
  861. func (*Location) ProtoMessage() {}
  862. func (x *Location) ProtoReflect() protoreflect.Message {
  863. mi := &file_connect_ext_proto_msgTypes[7]
  864. if protoimpl.UnsafeEnabled && x != nil {
  865. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  866. if ms.LoadMessageInfo() == nil {
  867. ms.StoreMessageInfo(mi)
  868. }
  869. return ms
  870. }
  871. return mi.MessageOf(x)
  872. }
  873. // Deprecated: Use Location.ProtoReflect.Descriptor instead.
  874. func (*Location) Descriptor() ([]byte, []int) {
  875. return file_connect_ext_proto_rawDescGZIP(), []int{7}
  876. }
  877. func (x *Location) GetDesc() string {
  878. if x != nil {
  879. return x.Desc
  880. }
  881. return ""
  882. }
  883. func (x *Location) GetLatitude() float64 {
  884. if x != nil {
  885. return x.Latitude
  886. }
  887. return 0
  888. }
  889. func (x *Location) GetLongitude() float64 {
  890. if x != nil {
  891. return x.Longitude
  892. }
  893. return 0
  894. }
  895. // Command 指令推送,1000以下,IM内部用,1000以上,留给业务用
  896. type Command struct {
  897. state protoimpl.MessageState
  898. sizeCache protoimpl.SizeCache
  899. unknownFields protoimpl.UnknownFields
  900. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 指令码
  901. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // 数据内容
  902. }
  903. func (x *Command) Reset() {
  904. *x = Command{}
  905. if protoimpl.UnsafeEnabled {
  906. mi := &file_connect_ext_proto_msgTypes[8]
  907. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  908. ms.StoreMessageInfo(mi)
  909. }
  910. }
  911. func (x *Command) String() string {
  912. return protoimpl.X.MessageStringOf(x)
  913. }
  914. func (*Command) ProtoMessage() {}
  915. func (x *Command) ProtoReflect() protoreflect.Message {
  916. mi := &file_connect_ext_proto_msgTypes[8]
  917. if protoimpl.UnsafeEnabled && x != nil {
  918. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  919. if ms.LoadMessageInfo() == nil {
  920. ms.StoreMessageInfo(mi)
  921. }
  922. return ms
  923. }
  924. return mi.MessageOf(x)
  925. }
  926. // Deprecated: Use Command.ProtoReflect.Descriptor instead.
  927. func (*Command) Descriptor() ([]byte, []int) {
  928. return file_connect_ext_proto_rawDescGZIP(), []int{8}
  929. }
  930. func (x *Command) GetCode() int32 {
  931. if x != nil {
  932. return x.Code
  933. }
  934. return 0
  935. }
  936. func (x *Command) GetData() []byte {
  937. if x != nil {
  938. return x.Data
  939. }
  940. return nil
  941. }
  942. // 自定义消息
  943. type Custom struct {
  944. state protoimpl.MessageState
  945. sizeCache protoimpl.SizeCache
  946. unknownFields protoimpl.UnknownFields
  947. Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // 自定义数据
  948. }
  949. func (x *Custom) Reset() {
  950. *x = Custom{}
  951. if protoimpl.UnsafeEnabled {
  952. mi := &file_connect_ext_proto_msgTypes[9]
  953. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  954. ms.StoreMessageInfo(mi)
  955. }
  956. }
  957. func (x *Custom) String() string {
  958. return protoimpl.X.MessageStringOf(x)
  959. }
  960. func (*Custom) ProtoMessage() {}
  961. func (x *Custom) ProtoReflect() protoreflect.Message {
  962. mi := &file_connect_ext_proto_msgTypes[9]
  963. if protoimpl.UnsafeEnabled && x != nil {
  964. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  965. if ms.LoadMessageInfo() == nil {
  966. ms.StoreMessageInfo(mi)
  967. }
  968. return ms
  969. }
  970. return mi.MessageOf(x)
  971. }
  972. // Deprecated: Use Custom.ProtoReflect.Descriptor instead.
  973. func (*Custom) Descriptor() ([]byte, []int) {
  974. return file_connect_ext_proto_rawDescGZIP(), []int{9}
  975. }
  976. func (x *Custom) GetData() string {
  977. if x != nil {
  978. return x.Data
  979. }
  980. return ""
  981. }
  982. // 撤回消息
  983. type RECALL struct {
  984. state protoimpl.MessageState
  985. sizeCache protoimpl.SizeCache
  986. unknownFields protoimpl.UnknownFields
  987. RecallSeq int64 `protobuf:"varint,1,opt,name=recall_seq,json=recallSeq,proto3" json:"recall_seq,omitempty"` // 撤回消息seq
  988. }
  989. func (x *RECALL) Reset() {
  990. *x = RECALL{}
  991. if protoimpl.UnsafeEnabled {
  992. mi := &file_connect_ext_proto_msgTypes[10]
  993. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  994. ms.StoreMessageInfo(mi)
  995. }
  996. }
  997. func (x *RECALL) String() string {
  998. return protoimpl.X.MessageStringOf(x)
  999. }
  1000. func (*RECALL) ProtoMessage() {}
  1001. func (x *RECALL) ProtoReflect() protoreflect.Message {
  1002. mi := &file_connect_ext_proto_msgTypes[10]
  1003. if protoimpl.UnsafeEnabled && x != nil {
  1004. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1005. if ms.LoadMessageInfo() == nil {
  1006. ms.StoreMessageInfo(mi)
  1007. }
  1008. return ms
  1009. }
  1010. return mi.MessageOf(x)
  1011. }
  1012. // Deprecated: Use RECALL.ProtoReflect.Descriptor instead.
  1013. func (*RECALL) Descriptor() ([]byte, []int) {
  1014. return file_connect_ext_proto_rawDescGZIP(), []int{10}
  1015. }
  1016. func (x *RECALL) GetRecallSeq() int64 {
  1017. if x != nil {
  1018. return x.RecallSeq
  1019. }
  1020. return 0
  1021. }
  1022. // 红包消息
  1023. type RED_PACKAGE struct {
  1024. state protoimpl.MessageState
  1025. sizeCache protoimpl.SizeCache
  1026. unknownFields protoimpl.UnknownFields
  1027. RedMessageType RedPacketMessageType `protobuf:"varint,1,opt,name=red_message_type,json=redMessageType,proto3,enum=pb.RedPacketMessageType" json:"red_message_type,omitempty"` // 红包消息类型
  1028. RedPacketType RedPacketType `protobuf:"varint,2,opt,name=red_packet_type,json=redPacketType,proto3,enum=pb.RedPacketType" json:"red_packet_type,omitempty"` // 红包类型
  1029. RedPacketContent string `protobuf:"bytes,3,opt,name=red_packet_content,json=redPacketContent,proto3" json:"red_packet_content,omitempty"` // 红包文字内容
  1030. RedPacketAmount float32 `protobuf:"fixed32,6,opt,name=red_packet_amount,json=redPacketAmount,proto3" json:"red_packet_amount,omitempty"` // 红包金额
  1031. RedPacketNums int32 `protobuf:"varint,5,opt,name=red_packet_nums,json=redPacketNums,proto3" json:"red_packet_nums,omitempty"` // 红包数量
  1032. RedPacketBalanceAmount float32 `protobuf:"fixed32,7,opt,name=red_packet_balance_amount,json=redPacketBalanceAmount,proto3" json:"red_packet_balance_amount,omitempty"` // 红包余额
  1033. ReceivedUserId int64 `protobuf:"varint,8,opt,name=received_user_id,json=receivedUserId,proto3" json:"received_user_id,omitempty"` // 领取用户id
  1034. ReceivedUserAmount float32 `protobuf:"fixed32,9,opt,name=received_user_amount,json=receivedUserAmount,proto3" json:"received_user_amount,omitempty"` // 领取用户金额
  1035. ReceivedUserNickname string `protobuf:"bytes,10,opt,name=received_user_nickname,json=receivedUserNickname,proto3" json:"received_user_nickname,omitempty"` // 领取用户昵称
  1036. RedPacketStatusType RedPacketStatusType `protobuf:"varint,11,opt,name=red_packet_status_type,json=redPacketStatusType,proto3,enum=pb.RedPacketStatusType" json:"red_packet_status_type,omitempty"` // 领取状态
  1037. RedPacketId int64 `protobuf:"varint,12,opt,name=red_packet_id,json=redPacketId,proto3" json:"red_packet_id,omitempty"` // 红包id
  1038. SendRedPacketUid int64 `protobuf:"varint,13,opt,name=send_red_packet_uid,json=sendRedPacketUid,proto3" json:"send_red_packet_uid,omitempty"` // 红包发送者uid
  1039. SendRedPacketNickname string `protobuf:"bytes,14,opt,name=send_red_packet_nickname,json=sendRedPacketNickname,proto3" json:"send_red_packet_nickname,omitempty"` // 红包发送者昵称
  1040. RedPacketSmallContent string `protobuf:"bytes,15,opt,name=red_packet_small_content,json=redPacketSmallContent,proto3" json:"red_packet_small_content,omitempty"` // 红包小文字内容
  1041. }
  1042. func (x *RED_PACKAGE) Reset() {
  1043. *x = RED_PACKAGE{}
  1044. if protoimpl.UnsafeEnabled {
  1045. mi := &file_connect_ext_proto_msgTypes[11]
  1046. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1047. ms.StoreMessageInfo(mi)
  1048. }
  1049. }
  1050. func (x *RED_PACKAGE) String() string {
  1051. return protoimpl.X.MessageStringOf(x)
  1052. }
  1053. func (*RED_PACKAGE) ProtoMessage() {}
  1054. func (x *RED_PACKAGE) ProtoReflect() protoreflect.Message {
  1055. mi := &file_connect_ext_proto_msgTypes[11]
  1056. if protoimpl.UnsafeEnabled && x != nil {
  1057. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1058. if ms.LoadMessageInfo() == nil {
  1059. ms.StoreMessageInfo(mi)
  1060. }
  1061. return ms
  1062. }
  1063. return mi.MessageOf(x)
  1064. }
  1065. // Deprecated: Use RED_PACKAGE.ProtoReflect.Descriptor instead.
  1066. func (*RED_PACKAGE) Descriptor() ([]byte, []int) {
  1067. return file_connect_ext_proto_rawDescGZIP(), []int{11}
  1068. }
  1069. func (x *RED_PACKAGE) GetRedMessageType() RedPacketMessageType {
  1070. if x != nil {
  1071. return x.RedMessageType
  1072. }
  1073. return RedPacketMessageType_RMT_UNKNOWN
  1074. }
  1075. func (x *RED_PACKAGE) GetRedPacketType() RedPacketType {
  1076. if x != nil {
  1077. return x.RedPacketType
  1078. }
  1079. return RedPacketType_RPT_UNKNOWN
  1080. }
  1081. func (x *RED_PACKAGE) GetRedPacketContent() string {
  1082. if x != nil {
  1083. return x.RedPacketContent
  1084. }
  1085. return ""
  1086. }
  1087. func (x *RED_PACKAGE) GetRedPacketAmount() float32 {
  1088. if x != nil {
  1089. return x.RedPacketAmount
  1090. }
  1091. return 0
  1092. }
  1093. func (x *RED_PACKAGE) GetRedPacketNums() int32 {
  1094. if x != nil {
  1095. return x.RedPacketNums
  1096. }
  1097. return 0
  1098. }
  1099. func (x *RED_PACKAGE) GetRedPacketBalanceAmount() float32 {
  1100. if x != nil {
  1101. return x.RedPacketBalanceAmount
  1102. }
  1103. return 0
  1104. }
  1105. func (x *RED_PACKAGE) GetReceivedUserId() int64 {
  1106. if x != nil {
  1107. return x.ReceivedUserId
  1108. }
  1109. return 0
  1110. }
  1111. func (x *RED_PACKAGE) GetReceivedUserAmount() float32 {
  1112. if x != nil {
  1113. return x.ReceivedUserAmount
  1114. }
  1115. return 0
  1116. }
  1117. func (x *RED_PACKAGE) GetReceivedUserNickname() string {
  1118. if x != nil {
  1119. return x.ReceivedUserNickname
  1120. }
  1121. return ""
  1122. }
  1123. func (x *RED_PACKAGE) GetRedPacketStatusType() RedPacketStatusType {
  1124. if x != nil {
  1125. return x.RedPacketStatusType
  1126. }
  1127. return RedPacketStatusType_RPS_NOT_DRAW
  1128. }
  1129. func (x *RED_PACKAGE) GetRedPacketId() int64 {
  1130. if x != nil {
  1131. return x.RedPacketId
  1132. }
  1133. return 0
  1134. }
  1135. func (x *RED_PACKAGE) GetSendRedPacketUid() int64 {
  1136. if x != nil {
  1137. return x.SendRedPacketUid
  1138. }
  1139. return 0
  1140. }
  1141. func (x *RED_PACKAGE) GetSendRedPacketNickname() string {
  1142. if x != nil {
  1143. return x.SendRedPacketNickname
  1144. }
  1145. return ""
  1146. }
  1147. func (x *RED_PACKAGE) GetRedPacketSmallContent() string {
  1148. if x != nil {
  1149. return x.RedPacketSmallContent
  1150. }
  1151. return ""
  1152. }
  1153. // 上行数据
  1154. type Input struct {
  1155. state protoimpl.MessageState
  1156. sizeCache protoimpl.SizeCache
  1157. unknownFields protoimpl.UnknownFields
  1158. Type PackageType `protobuf:"varint,1,opt,name=type,proto3,enum=pb.PackageType" json:"type,omitempty"` // 包的类型
  1159. RequestId int64 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 请求id
  1160. Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // 数据
  1161. }
  1162. func (x *Input) Reset() {
  1163. *x = Input{}
  1164. if protoimpl.UnsafeEnabled {
  1165. mi := &file_connect_ext_proto_msgTypes[12]
  1166. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1167. ms.StoreMessageInfo(mi)
  1168. }
  1169. }
  1170. func (x *Input) String() string {
  1171. return protoimpl.X.MessageStringOf(x)
  1172. }
  1173. func (*Input) ProtoMessage() {}
  1174. func (x *Input) ProtoReflect() protoreflect.Message {
  1175. mi := &file_connect_ext_proto_msgTypes[12]
  1176. if protoimpl.UnsafeEnabled && x != nil {
  1177. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1178. if ms.LoadMessageInfo() == nil {
  1179. ms.StoreMessageInfo(mi)
  1180. }
  1181. return ms
  1182. }
  1183. return mi.MessageOf(x)
  1184. }
  1185. // Deprecated: Use Input.ProtoReflect.Descriptor instead.
  1186. func (*Input) Descriptor() ([]byte, []int) {
  1187. return file_connect_ext_proto_rawDescGZIP(), []int{12}
  1188. }
  1189. func (x *Input) GetType() PackageType {
  1190. if x != nil {
  1191. return x.Type
  1192. }
  1193. return PackageType_PT_UNKNOWN
  1194. }
  1195. func (x *Input) GetRequestId() int64 {
  1196. if x != nil {
  1197. return x.RequestId
  1198. }
  1199. return 0
  1200. }
  1201. func (x *Input) GetData() []byte {
  1202. if x != nil {
  1203. return x.Data
  1204. }
  1205. return nil
  1206. }
  1207. // 下行数据
  1208. type Output struct {
  1209. state protoimpl.MessageState
  1210. sizeCache protoimpl.SizeCache
  1211. unknownFields protoimpl.UnknownFields
  1212. Type PackageType `protobuf:"varint,1,opt,name=type,proto3,enum=pb.PackageType" json:"type,omitempty"` // 包的类型
  1213. RequestId int64 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 请求id
  1214. Code int32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"` // 错误码
  1215. Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // 错误信息
  1216. Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // 数据
  1217. }
  1218. func (x *Output) Reset() {
  1219. *x = Output{}
  1220. if protoimpl.UnsafeEnabled {
  1221. mi := &file_connect_ext_proto_msgTypes[13]
  1222. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1223. ms.StoreMessageInfo(mi)
  1224. }
  1225. }
  1226. func (x *Output) String() string {
  1227. return protoimpl.X.MessageStringOf(x)
  1228. }
  1229. func (*Output) ProtoMessage() {}
  1230. func (x *Output) ProtoReflect() protoreflect.Message {
  1231. mi := &file_connect_ext_proto_msgTypes[13]
  1232. if protoimpl.UnsafeEnabled && x != nil {
  1233. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1234. if ms.LoadMessageInfo() == nil {
  1235. ms.StoreMessageInfo(mi)
  1236. }
  1237. return ms
  1238. }
  1239. return mi.MessageOf(x)
  1240. }
  1241. // Deprecated: Use Output.ProtoReflect.Descriptor instead.
  1242. func (*Output) Descriptor() ([]byte, []int) {
  1243. return file_connect_ext_proto_rawDescGZIP(), []int{13}
  1244. }
  1245. func (x *Output) GetType() PackageType {
  1246. if x != nil {
  1247. return x.Type
  1248. }
  1249. return PackageType_PT_UNKNOWN
  1250. }
  1251. func (x *Output) GetRequestId() int64 {
  1252. if x != nil {
  1253. return x.RequestId
  1254. }
  1255. return 0
  1256. }
  1257. func (x *Output) GetCode() int32 {
  1258. if x != nil {
  1259. return x.Code
  1260. }
  1261. return 0
  1262. }
  1263. func (x *Output) GetMessage() string {
  1264. if x != nil {
  1265. return x.Message
  1266. }
  1267. return ""
  1268. }
  1269. func (x *Output) GetData() []byte {
  1270. if x != nil {
  1271. return x.Data
  1272. }
  1273. return nil
  1274. }
  1275. // 设备登录,package_type:1
  1276. type SignInInput struct {
  1277. state protoimpl.MessageState
  1278. sizeCache protoimpl.SizeCache
  1279. unknownFields protoimpl.UnknownFields
  1280. DeviceId int64 `protobuf:"varint,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // 设备id
  1281. UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  1282. Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // 秘钥
  1283. }
  1284. func (x *SignInInput) Reset() {
  1285. *x = SignInInput{}
  1286. if protoimpl.UnsafeEnabled {
  1287. mi := &file_connect_ext_proto_msgTypes[14]
  1288. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1289. ms.StoreMessageInfo(mi)
  1290. }
  1291. }
  1292. func (x *SignInInput) String() string {
  1293. return protoimpl.X.MessageStringOf(x)
  1294. }
  1295. func (*SignInInput) ProtoMessage() {}
  1296. func (x *SignInInput) ProtoReflect() protoreflect.Message {
  1297. mi := &file_connect_ext_proto_msgTypes[14]
  1298. if protoimpl.UnsafeEnabled && x != nil {
  1299. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1300. if ms.LoadMessageInfo() == nil {
  1301. ms.StoreMessageInfo(mi)
  1302. }
  1303. return ms
  1304. }
  1305. return mi.MessageOf(x)
  1306. }
  1307. // Deprecated: Use SignInInput.ProtoReflect.Descriptor instead.
  1308. func (*SignInInput) Descriptor() ([]byte, []int) {
  1309. return file_connect_ext_proto_rawDescGZIP(), []int{14}
  1310. }
  1311. func (x *SignInInput) GetDeviceId() int64 {
  1312. if x != nil {
  1313. return x.DeviceId
  1314. }
  1315. return 0
  1316. }
  1317. func (x *SignInInput) GetUserId() int64 {
  1318. if x != nil {
  1319. return x.UserId
  1320. }
  1321. return 0
  1322. }
  1323. func (x *SignInInput) GetToken() string {
  1324. if x != nil {
  1325. return x.Token
  1326. }
  1327. return ""
  1328. }
  1329. // 消息同步请求,package_type:2
  1330. type SyncInput struct {
  1331. state protoimpl.MessageState
  1332. sizeCache protoimpl.SizeCache
  1333. unknownFields protoimpl.UnknownFields
  1334. Seq int64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` // 客户端已经同步的序列号
  1335. }
  1336. func (x *SyncInput) Reset() {
  1337. *x = SyncInput{}
  1338. if protoimpl.UnsafeEnabled {
  1339. mi := &file_connect_ext_proto_msgTypes[15]
  1340. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1341. ms.StoreMessageInfo(mi)
  1342. }
  1343. }
  1344. func (x *SyncInput) String() string {
  1345. return protoimpl.X.MessageStringOf(x)
  1346. }
  1347. func (*SyncInput) ProtoMessage() {}
  1348. func (x *SyncInput) ProtoReflect() protoreflect.Message {
  1349. mi := &file_connect_ext_proto_msgTypes[15]
  1350. if protoimpl.UnsafeEnabled && x != nil {
  1351. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1352. if ms.LoadMessageInfo() == nil {
  1353. ms.StoreMessageInfo(mi)
  1354. }
  1355. return ms
  1356. }
  1357. return mi.MessageOf(x)
  1358. }
  1359. // Deprecated: Use SyncInput.ProtoReflect.Descriptor instead.
  1360. func (*SyncInput) Descriptor() ([]byte, []int) {
  1361. return file_connect_ext_proto_rawDescGZIP(), []int{15}
  1362. }
  1363. func (x *SyncInput) GetSeq() int64 {
  1364. if x != nil {
  1365. return x.Seq
  1366. }
  1367. return 0
  1368. }
  1369. // 消息同步响应,package_type:2
  1370. type SyncOutput struct {
  1371. state protoimpl.MessageState
  1372. sizeCache protoimpl.SizeCache
  1373. unknownFields protoimpl.UnknownFields
  1374. Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // 消息列表
  1375. HasMore bool `protobuf:"varint,2,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"` // 是否有更多数据
  1376. }
  1377. func (x *SyncOutput) Reset() {
  1378. *x = SyncOutput{}
  1379. if protoimpl.UnsafeEnabled {
  1380. mi := &file_connect_ext_proto_msgTypes[16]
  1381. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1382. ms.StoreMessageInfo(mi)
  1383. }
  1384. }
  1385. func (x *SyncOutput) String() string {
  1386. return protoimpl.X.MessageStringOf(x)
  1387. }
  1388. func (*SyncOutput) ProtoMessage() {}
  1389. func (x *SyncOutput) ProtoReflect() protoreflect.Message {
  1390. mi := &file_connect_ext_proto_msgTypes[16]
  1391. if protoimpl.UnsafeEnabled && x != nil {
  1392. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1393. if ms.LoadMessageInfo() == nil {
  1394. ms.StoreMessageInfo(mi)
  1395. }
  1396. return ms
  1397. }
  1398. return mi.MessageOf(x)
  1399. }
  1400. // Deprecated: Use SyncOutput.ProtoReflect.Descriptor instead.
  1401. func (*SyncOutput) Descriptor() ([]byte, []int) {
  1402. return file_connect_ext_proto_rawDescGZIP(), []int{16}
  1403. }
  1404. func (x *SyncOutput) GetMessages() []*Message {
  1405. if x != nil {
  1406. return x.Messages
  1407. }
  1408. return nil
  1409. }
  1410. func (x *SyncOutput) GetHasMore() bool {
  1411. if x != nil {
  1412. return x.HasMore
  1413. }
  1414. return false
  1415. }
  1416. // 订阅房间请求
  1417. type SubscribeRoomInput struct {
  1418. state protoimpl.MessageState
  1419. sizeCache protoimpl.SizeCache
  1420. unknownFields protoimpl.UnknownFields
  1421. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // 房间ID,如果为0,取消房间订阅
  1422. Seq int64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"` // 消息消息序列号,
  1423. }
  1424. func (x *SubscribeRoomInput) Reset() {
  1425. *x = SubscribeRoomInput{}
  1426. if protoimpl.UnsafeEnabled {
  1427. mi := &file_connect_ext_proto_msgTypes[17]
  1428. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1429. ms.StoreMessageInfo(mi)
  1430. }
  1431. }
  1432. func (x *SubscribeRoomInput) String() string {
  1433. return protoimpl.X.MessageStringOf(x)
  1434. }
  1435. func (*SubscribeRoomInput) ProtoMessage() {}
  1436. func (x *SubscribeRoomInput) ProtoReflect() protoreflect.Message {
  1437. mi := &file_connect_ext_proto_msgTypes[17]
  1438. if protoimpl.UnsafeEnabled && x != nil {
  1439. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1440. if ms.LoadMessageInfo() == nil {
  1441. ms.StoreMessageInfo(mi)
  1442. }
  1443. return ms
  1444. }
  1445. return mi.MessageOf(x)
  1446. }
  1447. // Deprecated: Use SubscribeRoomInput.ProtoReflect.Descriptor instead.
  1448. func (*SubscribeRoomInput) Descriptor() ([]byte, []int) {
  1449. return file_connect_ext_proto_rawDescGZIP(), []int{17}
  1450. }
  1451. func (x *SubscribeRoomInput) GetRoomId() int64 {
  1452. if x != nil {
  1453. return x.RoomId
  1454. }
  1455. return 0
  1456. }
  1457. func (x *SubscribeRoomInput) GetSeq() int64 {
  1458. if x != nil {
  1459. return x.Seq
  1460. }
  1461. return 0
  1462. }
  1463. // 消息投递,package_type:4
  1464. type MessageSend struct {
  1465. state protoimpl.MessageState
  1466. sizeCache protoimpl.SizeCache
  1467. unknownFields protoimpl.UnknownFields
  1468. Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // 消息
  1469. }
  1470. func (x *MessageSend) Reset() {
  1471. *x = MessageSend{}
  1472. if protoimpl.UnsafeEnabled {
  1473. mi := &file_connect_ext_proto_msgTypes[18]
  1474. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1475. ms.StoreMessageInfo(mi)
  1476. }
  1477. }
  1478. func (x *MessageSend) String() string {
  1479. return protoimpl.X.MessageStringOf(x)
  1480. }
  1481. func (*MessageSend) ProtoMessage() {}
  1482. func (x *MessageSend) ProtoReflect() protoreflect.Message {
  1483. mi := &file_connect_ext_proto_msgTypes[18]
  1484. if protoimpl.UnsafeEnabled && x != nil {
  1485. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1486. if ms.LoadMessageInfo() == nil {
  1487. ms.StoreMessageInfo(mi)
  1488. }
  1489. return ms
  1490. }
  1491. return mi.MessageOf(x)
  1492. }
  1493. // Deprecated: Use MessageSend.ProtoReflect.Descriptor instead.
  1494. func (*MessageSend) Descriptor() ([]byte, []int) {
  1495. return file_connect_ext_proto_rawDescGZIP(), []int{18}
  1496. }
  1497. func (x *MessageSend) GetMessage() *Message {
  1498. if x != nil {
  1499. return x.Message
  1500. }
  1501. return nil
  1502. }
  1503. // 投递消息回执,package_type:4
  1504. type MessageACK struct {
  1505. state protoimpl.MessageState
  1506. sizeCache protoimpl.SizeCache
  1507. unknownFields protoimpl.UnknownFields
  1508. DeviceAck int64 `protobuf:"varint,2,opt,name=device_ack,json=deviceAck,proto3" json:"device_ack,omitempty"` // 设备收到消息的确认号
  1509. ReceiveTime int64 `protobuf:"varint,3,opt,name=receive_time,json=receiveTime,proto3" json:"receive_time,omitempty"` // 消息接收时间戳,精确到毫秒
  1510. }
  1511. func (x *MessageACK) Reset() {
  1512. *x = MessageACK{}
  1513. if protoimpl.UnsafeEnabled {
  1514. mi := &file_connect_ext_proto_msgTypes[19]
  1515. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1516. ms.StoreMessageInfo(mi)
  1517. }
  1518. }
  1519. func (x *MessageACK) String() string {
  1520. return protoimpl.X.MessageStringOf(x)
  1521. }
  1522. func (*MessageACK) ProtoMessage() {}
  1523. func (x *MessageACK) ProtoReflect() protoreflect.Message {
  1524. mi := &file_connect_ext_proto_msgTypes[19]
  1525. if protoimpl.UnsafeEnabled && x != nil {
  1526. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1527. if ms.LoadMessageInfo() == nil {
  1528. ms.StoreMessageInfo(mi)
  1529. }
  1530. return ms
  1531. }
  1532. return mi.MessageOf(x)
  1533. }
  1534. // Deprecated: Use MessageACK.ProtoReflect.Descriptor instead.
  1535. func (*MessageACK) Descriptor() ([]byte, []int) {
  1536. return file_connect_ext_proto_rawDescGZIP(), []int{19}
  1537. }
  1538. func (x *MessageACK) GetDeviceAck() int64 {
  1539. if x != nil {
  1540. return x.DeviceAck
  1541. }
  1542. return 0
  1543. }
  1544. func (x *MessageACK) GetReceiveTime() int64 {
  1545. if x != nil {
  1546. return x.ReceiveTime
  1547. }
  1548. return 0
  1549. }
  1550. var File_connect_ext_proto protoreflect.FileDescriptor
  1551. var file_connect_ext_proto_rawDesc = []byte{
  1552. 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72,
  1553. 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xdc, 0x02, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73,
  1554. 0x61, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20,
  1555. 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52,
  1556. 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69,
  1557. 0x76, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10,
  1558. 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65,
  1559. 0x52, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f,
  1560. 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
  1561. 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12,
  1562. 0x1e, 0x0a, 0x0b, 0x74, 0x6f, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04,
  1563. 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12,
  1564. 0x32, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
  1565. 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
  1566. 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54,
  1567. 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63,
  1568. 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6d, 0x65,
  1569. 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03,
  1570. 0x73, 0x65, 0x71, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x71, 0x12, 0x1b,
  1571. 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
  1572. 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x73,
  1573. 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x70, 0x62,
  1574. 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06,
  1575. 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x06, 0x53, 0x65, 0x6e, 0x64, 0x65,
  1576. 0x72, 0x12, 0x2f, 0x0a, 0x0b, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65,
  1577. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64,
  1578. 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x54, 0x79,
  1579. 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
  1580. 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12,
  1581. 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
  1582. 0x28, 0x03, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a,
  1583. 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
  1584. 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6e,
  1585. 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e,
  1586. 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61,
  1587. 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x1a, 0x0a,
  1588. 0x04, 0x54, 0x65, 0x78, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20,
  1589. 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x22, 0x3a, 0x0a, 0x04, 0x46, 0x61, 0x63,
  1590. 0x65, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1591. 0x28, 0x03, 0x52, 0x06, 0x66, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x61,
  1592. 0x63, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x61,
  1593. 0x63, 0x65, 0x55, 0x72, 0x6c, 0x22, 0x59, 0x0a, 0x05, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x0e,
  1594. 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12,
  1595. 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69,
  1596. 0x7a, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
  1597. 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10,
  1598. 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c,
  1599. 0x22, 0x7c, 0x0a, 0x05, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
  1600. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64,
  1601. 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12,
  1602. 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
  1603. 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x04,
  1604. 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x68, 0x75,
  1605. 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
  1606. 0x52, 0x0c, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x55, 0x72, 0x6c, 0x22, 0x50,
  1607. 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01,
  1608. 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0d,
  1609. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69,
  1610. 0x7a, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x10,
  1611. 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c,
  1612. 0x22, 0x58, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04,
  1613. 0x64, 0x65, 0x73, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, 0x73, 0x63,
  1614. 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01,
  1615. 0x28, 0x01, 0x52, 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09,
  1616. 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52,
  1617. 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x65, 0x22, 0x31, 0x0a, 0x07, 0x43, 0x6f,
  1618. 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
  1619. 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74,
  1620. 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x1c, 0x0a,
  1621. 0x06, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
  1622. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x27, 0x0a, 0x06, 0x52,
  1623. 0x45, 0x43, 0x41, 0x4c, 0x4c, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x5f,
  1624. 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x63, 0x61, 0x6c,
  1625. 0x6c, 0x53, 0x65, 0x71, 0x22, 0xee, 0x05, 0x0a, 0x0b, 0x52, 0x45, 0x44, 0x5f, 0x50, 0x41, 0x43,
  1626. 0x4b, 0x41, 0x47, 0x45, 0x12, 0x42, 0x0a, 0x10, 0x72, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73,
  1627. 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18,
  1628. 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x4d, 0x65, 0x73,
  1629. 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x72, 0x65, 0x64, 0x4d, 0x65, 0x73,
  1630. 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x39, 0x0a, 0x0f, 0x72, 0x65, 0x64, 0x5f,
  1631. 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  1632. 0x0e, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74,
  1633. 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x54,
  1634. 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65,
  1635. 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  1636. 0x10, 0x72, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
  1637. 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f,
  1638. 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0f, 0x72, 0x65,
  1639. 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x26, 0x0a,
  1640. 0x0f, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x73,
  1641. 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65,
  1642. 0x74, 0x4e, 0x75, 0x6d, 0x73, 0x12, 0x39, 0x0a, 0x19, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63,
  1643. 0x6b, 0x65, 0x74, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75,
  1644. 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x02, 0x52, 0x16, 0x72, 0x65, 0x64, 0x50, 0x61, 0x63,
  1645. 0x6b, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
  1646. 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65,
  1647. 0x72, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72, 0x65, 0x63, 0x65,
  1648. 0x69, 0x76, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x72, 0x65,
  1649. 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x6d, 0x6f, 0x75,
  1650. 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x02, 0x52, 0x12, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76,
  1651. 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x16,
  1652. 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x69,
  1653. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x72, 0x65,
  1654. 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61,
  1655. 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x16, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74,
  1656. 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01,
  1657. 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65,
  1658. 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x13, 0x72, 0x65, 0x64,
  1659. 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65,
  1660. 0x12, 0x22, 0x0a, 0x0d, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x69,
  1661. 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x72, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b,
  1662. 0x65, 0x74, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x13, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x72, 0x65, 0x64,
  1663. 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28,
  1664. 0x03, 0x52, 0x10, 0x73, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74,
  1665. 0x55, 0x69, 0x64, 0x12, 0x37, 0x0a, 0x18, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x72, 0x65, 0x64, 0x5f,
  1666. 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  1667. 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x73, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x64, 0x50, 0x61,
  1668. 0x63, 0x6b, 0x65, 0x74, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x18,
  1669. 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x73, 0x6d, 0x61, 0x6c, 0x6c,
  1670. 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15,
  1671. 0x72, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x6d, 0x61, 0x6c, 0x6c, 0x43, 0x6f,
  1672. 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x5f, 0x0a, 0x05, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x23,
  1673. 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70,
  1674. 0x62, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74,
  1675. 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69,
  1676. 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1677. 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c,
  1678. 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x8e, 0x01, 0x0a, 0x06, 0x4f, 0x75, 0x74, 0x70, 0x75,
  1679. 0x74, 0x12, 0x23, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
  1680. 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65,
  1681. 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
  1682. 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75,
  1683. 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20,
  1684. 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73,
  1685. 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73,
  1686. 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28,
  1687. 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x59, 0x0a, 0x0b, 0x53, 0x69, 0x67, 0x6e, 0x49,
  1688. 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
  1689. 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63,
  1690. 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02,
  1691. 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05,
  1692. 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b,
  1693. 0x65, 0x6e, 0x22, 0x1d, 0x0a, 0x09, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12,
  1694. 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65,
  1695. 0x71, 0x22, 0x50, 0x0a, 0x0a, 0x53, 0x79, 0x6e, 0x63, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12,
  1696. 0x27, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
  1697. 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08,
  1698. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x61, 0x73, 0x5f,
  1699. 0x6d, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x68, 0x61, 0x73, 0x4d,
  1700. 0x6f, 0x72, 0x65, 0x22, 0x3f, 0x0a, 0x12, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65,
  1701. 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f,
  1702. 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d,
  1703. 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
  1704. 0x03, 0x73, 0x65, 0x71, 0x22, 0x34, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53,
  1705. 0x65, 0x6e, 0x64, 0x12, 0x25, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01,
  1706. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1707. 0x65, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x4e, 0x0a, 0x0a, 0x4d, 0x65,
  1708. 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x43, 0x4b, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x65, 0x76, 0x69,
  1709. 0x63, 0x65, 0x5f, 0x61, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x64, 0x65,
  1710. 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69,
  1711. 0x76, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x72,
  1712. 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x2a, 0x73, 0x0a, 0x0b, 0x50, 0x61,
  1713. 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x54, 0x5f,
  1714. 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x54, 0x5f,
  1715. 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x54, 0x5f,
  1716. 0x53, 0x59, 0x4e, 0x43, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x54, 0x5f, 0x48, 0x45, 0x41,
  1717. 0x52, 0x54, 0x42, 0x45, 0x41, 0x54, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x54, 0x5f, 0x4d,
  1718. 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x54, 0x5f, 0x53,
  1719. 0x55, 0x42, 0x53, 0x43, 0x52, 0x49, 0x42, 0x45, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x10, 0x05, 0x2a,
  1720. 0xb3, 0x01, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12,
  1721. 0x0e, 0x0a, 0x0a, 0x4d, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12,
  1722. 0x0b, 0x0a, 0x07, 0x4d, 0x54, 0x5f, 0x54, 0x45, 0x58, 0x54, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07,
  1723. 0x4d, 0x54, 0x5f, 0x46, 0x41, 0x43, 0x45, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x54, 0x5f,
  1724. 0x56, 0x4f, 0x49, 0x43, 0x45, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x54, 0x5f, 0x49, 0x4d,
  1725. 0x41, 0x47, 0x45, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x54, 0x5f, 0x46, 0x49, 0x4c, 0x45,
  1726. 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x54, 0x5f, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f,
  1727. 0x4e, 0x10, 0x06, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x54, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x41, 0x4e,
  1728. 0x44, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d,
  1729. 0x10, 0x08, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x54, 0x5f, 0x52, 0x45, 0x43, 0x41, 0x4c, 0x4c, 0x10,
  1730. 0x09, 0x12, 0x12, 0x0a, 0x0e, 0x4d, 0x54, 0x5f, 0x52, 0x45, 0x44, 0x5f, 0x50, 0x41, 0x43, 0x4b,
  1731. 0x41, 0x47, 0x45, 0x10, 0x0a, 0x2a, 0x87, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63,
  1732. 0x6b, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x50, 0x54, 0x5f, 0x55,
  1733. 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x50, 0x54, 0x5f,
  1734. 0x46, 0x52, 0x49, 0x45, 0x4e, 0x44, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x50, 0x54, 0x5f,
  1735. 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x02, 0x12, 0x12,
  1736. 0x0a, 0x0e, 0x52, 0x50, 0x54, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x4c, 0x55, 0x43, 0x4b,
  1737. 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x50, 0x54, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f,
  1738. 0x53, 0x50, 0x45, 0x43, 0x49, 0x41, 0x4c, 0x4c, 0x59, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x52,
  1739. 0x50, 0x54, 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x46, 0x4f, 0x52, 0x10, 0x05, 0x2a,
  1740. 0x43, 0x0a, 0x14, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73,
  1741. 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x4d, 0x54, 0x5f, 0x55,
  1742. 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x4d, 0x54, 0x5f,
  1743. 0x53, 0x45, 0x4e, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x4d, 0x54, 0x5f, 0x47, 0x52,
  1744. 0x41, 0x42, 0x10, 0x02, 0x2a, 0x5b, 0x0a, 0x13, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65,
  1745. 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x52,
  1746. 0x50, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x44, 0x52, 0x41, 0x57, 0x10, 0x00, 0x12, 0x0f, 0x0a,
  1747. 0x0b, 0x52, 0x50, 0x53, 0x5f, 0x44, 0x52, 0x41, 0x57, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x11,
  1748. 0x0a, 0x0d, 0x52, 0x50, 0x53, 0x5f, 0x44, 0x52, 0x41, 0x57, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x10,
  1749. 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x50, 0x53, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x10,
  1750. 0x03, 0x2a, 0x46, 0x0a, 0x0c, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70,
  1751. 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10,
  1752. 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0c,
  1753. 0x0a, 0x08, 0x52, 0x54, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07,
  1754. 0x52, 0x54, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x10, 0x03, 0x2a, 0x49, 0x0a, 0x0a, 0x53, 0x65, 0x6e,
  1755. 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x54, 0x5f, 0x55, 0x4e,
  1756. 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x54, 0x5f, 0x53, 0x59,
  1757. 0x53, 0x54, 0x45, 0x4d, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x5f, 0x55, 0x53, 0x45,
  1758. 0x52, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x54, 0x5f, 0x42, 0x55, 0x53, 0x49, 0x4e, 0x45,
  1759. 0x53, 0x53, 0x10, 0x03, 0x2a, 0x3d, 0x0a, 0x0d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53,
  1760. 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x53, 0x5f, 0x55, 0x4e, 0x4b, 0x4e,
  1761. 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x53, 0x5f, 0x4e, 0x4f, 0x52, 0x4d,
  1762. 0x41, 0x4c, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x53, 0x5f, 0x52, 0x45, 0x43, 0x41, 0x4c,
  1763. 0x4c, 0x10, 0x02, 0x42, 0x0d, 0x5a, 0x0b, 0x67, 0x69, 0x6d, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70,
  1764. 0x62, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1765. }
  1766. var (
  1767. file_connect_ext_proto_rawDescOnce sync.Once
  1768. file_connect_ext_proto_rawDescData = file_connect_ext_proto_rawDesc
  1769. )
  1770. func file_connect_ext_proto_rawDescGZIP() []byte {
  1771. file_connect_ext_proto_rawDescOnce.Do(func() {
  1772. file_connect_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_connect_ext_proto_rawDescData)
  1773. })
  1774. return file_connect_ext_proto_rawDescData
  1775. }
  1776. var file_connect_ext_proto_enumTypes = make([]protoimpl.EnumInfo, 8)
  1777. var file_connect_ext_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
  1778. var file_connect_ext_proto_goTypes = []interface{}{
  1779. (PackageType)(0), // 0: pb.PackageType
  1780. (MessageType)(0), // 1: pb.MessageType
  1781. (RedPacketType)(0), // 2: pb.RedPacketType
  1782. (RedPacketMessageType)(0), // 3: pb.RedPacketMessageType
  1783. (RedPacketStatusType)(0), // 4: pb.RedPacketStatusType
  1784. (ReceiverType)(0), // 5: pb.ReceiverType
  1785. (SenderType)(0), // 6: pb.SenderType
  1786. (MessageStatus)(0), // 7: pb.MessageStatus
  1787. (*Message)(nil), // 8: pb.Message
  1788. (*Sender)(nil), // 9: pb.Sender
  1789. (*Text)(nil), // 10: pb.Text
  1790. (*Face)(nil), // 11: pb.Face
  1791. (*Voice)(nil), // 12: pb.Voice
  1792. (*Image)(nil), // 13: pb.Image
  1793. (*File)(nil), // 14: pb.File
  1794. (*Location)(nil), // 15: pb.Location
  1795. (*Command)(nil), // 16: pb.Command
  1796. (*Custom)(nil), // 17: pb.Custom
  1797. (*RECALL)(nil), // 18: pb.RECALL
  1798. (*RED_PACKAGE)(nil), // 19: pb.RED_PACKAGE
  1799. (*Input)(nil), // 20: pb.Input
  1800. (*Output)(nil), // 21: pb.Output
  1801. (*SignInInput)(nil), // 22: pb.SignInInput
  1802. (*SyncInput)(nil), // 23: pb.SyncInput
  1803. (*SyncOutput)(nil), // 24: pb.SyncOutput
  1804. (*SubscribeRoomInput)(nil), // 25: pb.SubscribeRoomInput
  1805. (*MessageSend)(nil), // 26: pb.MessageSend
  1806. (*MessageACK)(nil), // 27: pb.MessageACK
  1807. }
  1808. var file_connect_ext_proto_depIdxs = []int32{
  1809. 9, // 0: pb.Message.sender:type_name -> pb.Sender
  1810. 5, // 1: pb.Message.receiver_type:type_name -> pb.ReceiverType
  1811. 1, // 2: pb.Message.message_type:type_name -> pb.MessageType
  1812. 7, // 3: pb.Message.status:type_name -> pb.MessageStatus
  1813. 6, // 4: pb.Sender.sender_type:type_name -> pb.SenderType
  1814. 3, // 5: pb.RED_PACKAGE.red_message_type:type_name -> pb.RedPacketMessageType
  1815. 2, // 6: pb.RED_PACKAGE.red_packet_type:type_name -> pb.RedPacketType
  1816. 4, // 7: pb.RED_PACKAGE.red_packet_status_type:type_name -> pb.RedPacketStatusType
  1817. 0, // 8: pb.Input.type:type_name -> pb.PackageType
  1818. 0, // 9: pb.Output.type:type_name -> pb.PackageType
  1819. 8, // 10: pb.SyncOutput.messages:type_name -> pb.Message
  1820. 8, // 11: pb.MessageSend.message:type_name -> pb.Message
  1821. 12, // [12:12] is the sub-list for method output_type
  1822. 12, // [12:12] is the sub-list for method input_type
  1823. 12, // [12:12] is the sub-list for extension type_name
  1824. 12, // [12:12] is the sub-list for extension extendee
  1825. 0, // [0:12] is the sub-list for field type_name
  1826. }
  1827. func init() { file_connect_ext_proto_init() }
  1828. func file_connect_ext_proto_init() {
  1829. if File_connect_ext_proto != nil {
  1830. return
  1831. }
  1832. if !protoimpl.UnsafeEnabled {
  1833. file_connect_ext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1834. switch v := v.(*Message); i {
  1835. case 0:
  1836. return &v.state
  1837. case 1:
  1838. return &v.sizeCache
  1839. case 2:
  1840. return &v.unknownFields
  1841. default:
  1842. return nil
  1843. }
  1844. }
  1845. file_connect_ext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1846. switch v := v.(*Sender); i {
  1847. case 0:
  1848. return &v.state
  1849. case 1:
  1850. return &v.sizeCache
  1851. case 2:
  1852. return &v.unknownFields
  1853. default:
  1854. return nil
  1855. }
  1856. }
  1857. file_connect_ext_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1858. switch v := v.(*Text); i {
  1859. case 0:
  1860. return &v.state
  1861. case 1:
  1862. return &v.sizeCache
  1863. case 2:
  1864. return &v.unknownFields
  1865. default:
  1866. return nil
  1867. }
  1868. }
  1869. file_connect_ext_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1870. switch v := v.(*Face); i {
  1871. case 0:
  1872. return &v.state
  1873. case 1:
  1874. return &v.sizeCache
  1875. case 2:
  1876. return &v.unknownFields
  1877. default:
  1878. return nil
  1879. }
  1880. }
  1881. file_connect_ext_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1882. switch v := v.(*Voice); i {
  1883. case 0:
  1884. return &v.state
  1885. case 1:
  1886. return &v.sizeCache
  1887. case 2:
  1888. return &v.unknownFields
  1889. default:
  1890. return nil
  1891. }
  1892. }
  1893. file_connect_ext_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1894. switch v := v.(*Image); i {
  1895. case 0:
  1896. return &v.state
  1897. case 1:
  1898. return &v.sizeCache
  1899. case 2:
  1900. return &v.unknownFields
  1901. default:
  1902. return nil
  1903. }
  1904. }
  1905. file_connect_ext_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1906. switch v := v.(*File); i {
  1907. case 0:
  1908. return &v.state
  1909. case 1:
  1910. return &v.sizeCache
  1911. case 2:
  1912. return &v.unknownFields
  1913. default:
  1914. return nil
  1915. }
  1916. }
  1917. file_connect_ext_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1918. switch v := v.(*Location); i {
  1919. case 0:
  1920. return &v.state
  1921. case 1:
  1922. return &v.sizeCache
  1923. case 2:
  1924. return &v.unknownFields
  1925. default:
  1926. return nil
  1927. }
  1928. }
  1929. file_connect_ext_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1930. switch v := v.(*Command); i {
  1931. case 0:
  1932. return &v.state
  1933. case 1:
  1934. return &v.sizeCache
  1935. case 2:
  1936. return &v.unknownFields
  1937. default:
  1938. return nil
  1939. }
  1940. }
  1941. file_connect_ext_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1942. switch v := v.(*Custom); i {
  1943. case 0:
  1944. return &v.state
  1945. case 1:
  1946. return &v.sizeCache
  1947. case 2:
  1948. return &v.unknownFields
  1949. default:
  1950. return nil
  1951. }
  1952. }
  1953. file_connect_ext_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1954. switch v := v.(*RECALL); i {
  1955. case 0:
  1956. return &v.state
  1957. case 1:
  1958. return &v.sizeCache
  1959. case 2:
  1960. return &v.unknownFields
  1961. default:
  1962. return nil
  1963. }
  1964. }
  1965. file_connect_ext_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1966. switch v := v.(*RED_PACKAGE); i {
  1967. case 0:
  1968. return &v.state
  1969. case 1:
  1970. return &v.sizeCache
  1971. case 2:
  1972. return &v.unknownFields
  1973. default:
  1974. return nil
  1975. }
  1976. }
  1977. file_connect_ext_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1978. switch v := v.(*Input); i {
  1979. case 0:
  1980. return &v.state
  1981. case 1:
  1982. return &v.sizeCache
  1983. case 2:
  1984. return &v.unknownFields
  1985. default:
  1986. return nil
  1987. }
  1988. }
  1989. file_connect_ext_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1990. switch v := v.(*Output); i {
  1991. case 0:
  1992. return &v.state
  1993. case 1:
  1994. return &v.sizeCache
  1995. case 2:
  1996. return &v.unknownFields
  1997. default:
  1998. return nil
  1999. }
  2000. }
  2001. file_connect_ext_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2002. switch v := v.(*SignInInput); i {
  2003. case 0:
  2004. return &v.state
  2005. case 1:
  2006. return &v.sizeCache
  2007. case 2:
  2008. return &v.unknownFields
  2009. default:
  2010. return nil
  2011. }
  2012. }
  2013. file_connect_ext_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2014. switch v := v.(*SyncInput); i {
  2015. case 0:
  2016. return &v.state
  2017. case 1:
  2018. return &v.sizeCache
  2019. case 2:
  2020. return &v.unknownFields
  2021. default:
  2022. return nil
  2023. }
  2024. }
  2025. file_connect_ext_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  2026. switch v := v.(*SyncOutput); i {
  2027. case 0:
  2028. return &v.state
  2029. case 1:
  2030. return &v.sizeCache
  2031. case 2:
  2032. return &v.unknownFields
  2033. default:
  2034. return nil
  2035. }
  2036. }
  2037. file_connect_ext_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  2038. switch v := v.(*SubscribeRoomInput); i {
  2039. case 0:
  2040. return &v.state
  2041. case 1:
  2042. return &v.sizeCache
  2043. case 2:
  2044. return &v.unknownFields
  2045. default:
  2046. return nil
  2047. }
  2048. }
  2049. file_connect_ext_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  2050. switch v := v.(*MessageSend); i {
  2051. case 0:
  2052. return &v.state
  2053. case 1:
  2054. return &v.sizeCache
  2055. case 2:
  2056. return &v.unknownFields
  2057. default:
  2058. return nil
  2059. }
  2060. }
  2061. file_connect_ext_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  2062. switch v := v.(*MessageACK); i {
  2063. case 0:
  2064. return &v.state
  2065. case 1:
  2066. return &v.sizeCache
  2067. case 2:
  2068. return &v.unknownFields
  2069. default:
  2070. return nil
  2071. }
  2072. }
  2073. }
  2074. type x struct{}
  2075. out := protoimpl.TypeBuilder{
  2076. File: protoimpl.DescBuilder{
  2077. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2078. RawDescriptor: file_connect_ext_proto_rawDesc,
  2079. NumEnums: 8,
  2080. NumMessages: 20,
  2081. NumExtensions: 0,
  2082. NumServices: 0,
  2083. },
  2084. GoTypes: file_connect_ext_proto_goTypes,
  2085. DependencyIndexes: file_connect_ext_proto_depIdxs,
  2086. EnumInfos: file_connect_ext_proto_enumTypes,
  2087. MessageInfos: file_connect_ext_proto_msgTypes,
  2088. }.Build()
  2089. File_connect_ext_proto = out.File
  2090. file_connect_ext_proto_rawDesc = nil
  2091. file_connect_ext_proto_goTypes = nil
  2092. file_connect_ext_proto_depIdxs = nil
  2093. }