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

2342 lines
74 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. ReceivedUserIds []int64 `protobuf:"varint,8,rep,packed,name=received_user_ids,json=receivedUserIds,proto3" json:"received_user_ids,omitempty"` // 已领取用户id
  1034. ReceivedUserAmount []float32 `protobuf:"fixed32,9,rep,packed,name=received_user_amount,json=receivedUserAmount,proto3" json:"received_user_amount,omitempty"` // 已领取用户金额
  1035. ReceivedUserNickname []string `protobuf:"bytes,10,rep,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. }
  1038. func (x *RED_PACKAGE) Reset() {
  1039. *x = RED_PACKAGE{}
  1040. if protoimpl.UnsafeEnabled {
  1041. mi := &file_connect_ext_proto_msgTypes[11]
  1042. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1043. ms.StoreMessageInfo(mi)
  1044. }
  1045. }
  1046. func (x *RED_PACKAGE) String() string {
  1047. return protoimpl.X.MessageStringOf(x)
  1048. }
  1049. func (*RED_PACKAGE) ProtoMessage() {}
  1050. func (x *RED_PACKAGE) ProtoReflect() protoreflect.Message {
  1051. mi := &file_connect_ext_proto_msgTypes[11]
  1052. if protoimpl.UnsafeEnabled && x != nil {
  1053. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1054. if ms.LoadMessageInfo() == nil {
  1055. ms.StoreMessageInfo(mi)
  1056. }
  1057. return ms
  1058. }
  1059. return mi.MessageOf(x)
  1060. }
  1061. // Deprecated: Use RED_PACKAGE.ProtoReflect.Descriptor instead.
  1062. func (*RED_PACKAGE) Descriptor() ([]byte, []int) {
  1063. return file_connect_ext_proto_rawDescGZIP(), []int{11}
  1064. }
  1065. func (x *RED_PACKAGE) GetRedMessageType() RedPacketMessageType {
  1066. if x != nil {
  1067. return x.RedMessageType
  1068. }
  1069. return RedPacketMessageType_RMT_UNKNOWN
  1070. }
  1071. func (x *RED_PACKAGE) GetRedPacketType() RedPacketType {
  1072. if x != nil {
  1073. return x.RedPacketType
  1074. }
  1075. return RedPacketType_RPT_UNKNOWN
  1076. }
  1077. func (x *RED_PACKAGE) GetRedPacketContent() string {
  1078. if x != nil {
  1079. return x.RedPacketContent
  1080. }
  1081. return ""
  1082. }
  1083. func (x *RED_PACKAGE) GetRedPacketAmount() float32 {
  1084. if x != nil {
  1085. return x.RedPacketAmount
  1086. }
  1087. return 0
  1088. }
  1089. func (x *RED_PACKAGE) GetRedPacketNums() int32 {
  1090. if x != nil {
  1091. return x.RedPacketNums
  1092. }
  1093. return 0
  1094. }
  1095. func (x *RED_PACKAGE) GetRedPacketBalanceAmount() float32 {
  1096. if x != nil {
  1097. return x.RedPacketBalanceAmount
  1098. }
  1099. return 0
  1100. }
  1101. func (x *RED_PACKAGE) GetReceivedUserIds() []int64 {
  1102. if x != nil {
  1103. return x.ReceivedUserIds
  1104. }
  1105. return nil
  1106. }
  1107. func (x *RED_PACKAGE) GetReceivedUserAmount() []float32 {
  1108. if x != nil {
  1109. return x.ReceivedUserAmount
  1110. }
  1111. return nil
  1112. }
  1113. func (x *RED_PACKAGE) GetReceivedUserNickname() []string {
  1114. if x != nil {
  1115. return x.ReceivedUserNickname
  1116. }
  1117. return nil
  1118. }
  1119. func (x *RED_PACKAGE) GetRedPacketStatusType() RedPacketStatusType {
  1120. if x != nil {
  1121. return x.RedPacketStatusType
  1122. }
  1123. return RedPacketStatusType_RPS_NOT_DRAW
  1124. }
  1125. // 上行数据
  1126. type Input struct {
  1127. state protoimpl.MessageState
  1128. sizeCache protoimpl.SizeCache
  1129. unknownFields protoimpl.UnknownFields
  1130. Type PackageType `protobuf:"varint,1,opt,name=type,proto3,enum=pb.PackageType" json:"type,omitempty"` // 包的类型
  1131. RequestId int64 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 请求id
  1132. Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // 数据
  1133. }
  1134. func (x *Input) Reset() {
  1135. *x = Input{}
  1136. if protoimpl.UnsafeEnabled {
  1137. mi := &file_connect_ext_proto_msgTypes[12]
  1138. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1139. ms.StoreMessageInfo(mi)
  1140. }
  1141. }
  1142. func (x *Input) String() string {
  1143. return protoimpl.X.MessageStringOf(x)
  1144. }
  1145. func (*Input) ProtoMessage() {}
  1146. func (x *Input) ProtoReflect() protoreflect.Message {
  1147. mi := &file_connect_ext_proto_msgTypes[12]
  1148. if protoimpl.UnsafeEnabled && x != nil {
  1149. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1150. if ms.LoadMessageInfo() == nil {
  1151. ms.StoreMessageInfo(mi)
  1152. }
  1153. return ms
  1154. }
  1155. return mi.MessageOf(x)
  1156. }
  1157. // Deprecated: Use Input.ProtoReflect.Descriptor instead.
  1158. func (*Input) Descriptor() ([]byte, []int) {
  1159. return file_connect_ext_proto_rawDescGZIP(), []int{12}
  1160. }
  1161. func (x *Input) GetType() PackageType {
  1162. if x != nil {
  1163. return x.Type
  1164. }
  1165. return PackageType_PT_UNKNOWN
  1166. }
  1167. func (x *Input) GetRequestId() int64 {
  1168. if x != nil {
  1169. return x.RequestId
  1170. }
  1171. return 0
  1172. }
  1173. func (x *Input) GetData() []byte {
  1174. if x != nil {
  1175. return x.Data
  1176. }
  1177. return nil
  1178. }
  1179. // 下行数据
  1180. type Output struct {
  1181. state protoimpl.MessageState
  1182. sizeCache protoimpl.SizeCache
  1183. unknownFields protoimpl.UnknownFields
  1184. Type PackageType `protobuf:"varint,1,opt,name=type,proto3,enum=pb.PackageType" json:"type,omitempty"` // 包的类型
  1185. RequestId int64 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 请求id
  1186. Code int32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"` // 错误码
  1187. Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // 错误信息
  1188. Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // 数据
  1189. }
  1190. func (x *Output) Reset() {
  1191. *x = Output{}
  1192. if protoimpl.UnsafeEnabled {
  1193. mi := &file_connect_ext_proto_msgTypes[13]
  1194. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1195. ms.StoreMessageInfo(mi)
  1196. }
  1197. }
  1198. func (x *Output) String() string {
  1199. return protoimpl.X.MessageStringOf(x)
  1200. }
  1201. func (*Output) ProtoMessage() {}
  1202. func (x *Output) ProtoReflect() protoreflect.Message {
  1203. mi := &file_connect_ext_proto_msgTypes[13]
  1204. if protoimpl.UnsafeEnabled && x != nil {
  1205. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1206. if ms.LoadMessageInfo() == nil {
  1207. ms.StoreMessageInfo(mi)
  1208. }
  1209. return ms
  1210. }
  1211. return mi.MessageOf(x)
  1212. }
  1213. // Deprecated: Use Output.ProtoReflect.Descriptor instead.
  1214. func (*Output) Descriptor() ([]byte, []int) {
  1215. return file_connect_ext_proto_rawDescGZIP(), []int{13}
  1216. }
  1217. func (x *Output) GetType() PackageType {
  1218. if x != nil {
  1219. return x.Type
  1220. }
  1221. return PackageType_PT_UNKNOWN
  1222. }
  1223. func (x *Output) GetRequestId() int64 {
  1224. if x != nil {
  1225. return x.RequestId
  1226. }
  1227. return 0
  1228. }
  1229. func (x *Output) GetCode() int32 {
  1230. if x != nil {
  1231. return x.Code
  1232. }
  1233. return 0
  1234. }
  1235. func (x *Output) GetMessage() string {
  1236. if x != nil {
  1237. return x.Message
  1238. }
  1239. return ""
  1240. }
  1241. func (x *Output) GetData() []byte {
  1242. if x != nil {
  1243. return x.Data
  1244. }
  1245. return nil
  1246. }
  1247. // 设备登录,package_type:1
  1248. type SignInInput struct {
  1249. state protoimpl.MessageState
  1250. sizeCache protoimpl.SizeCache
  1251. unknownFields protoimpl.UnknownFields
  1252. DeviceId int64 `protobuf:"varint,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // 设备id
  1253. UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  1254. Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // 秘钥
  1255. }
  1256. func (x *SignInInput) Reset() {
  1257. *x = SignInInput{}
  1258. if protoimpl.UnsafeEnabled {
  1259. mi := &file_connect_ext_proto_msgTypes[14]
  1260. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1261. ms.StoreMessageInfo(mi)
  1262. }
  1263. }
  1264. func (x *SignInInput) String() string {
  1265. return protoimpl.X.MessageStringOf(x)
  1266. }
  1267. func (*SignInInput) ProtoMessage() {}
  1268. func (x *SignInInput) ProtoReflect() protoreflect.Message {
  1269. mi := &file_connect_ext_proto_msgTypes[14]
  1270. if protoimpl.UnsafeEnabled && x != nil {
  1271. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1272. if ms.LoadMessageInfo() == nil {
  1273. ms.StoreMessageInfo(mi)
  1274. }
  1275. return ms
  1276. }
  1277. return mi.MessageOf(x)
  1278. }
  1279. // Deprecated: Use SignInInput.ProtoReflect.Descriptor instead.
  1280. func (*SignInInput) Descriptor() ([]byte, []int) {
  1281. return file_connect_ext_proto_rawDescGZIP(), []int{14}
  1282. }
  1283. func (x *SignInInput) GetDeviceId() int64 {
  1284. if x != nil {
  1285. return x.DeviceId
  1286. }
  1287. return 0
  1288. }
  1289. func (x *SignInInput) GetUserId() int64 {
  1290. if x != nil {
  1291. return x.UserId
  1292. }
  1293. return 0
  1294. }
  1295. func (x *SignInInput) GetToken() string {
  1296. if x != nil {
  1297. return x.Token
  1298. }
  1299. return ""
  1300. }
  1301. // 消息同步请求,package_type:2
  1302. type SyncInput struct {
  1303. state protoimpl.MessageState
  1304. sizeCache protoimpl.SizeCache
  1305. unknownFields protoimpl.UnknownFields
  1306. Seq int64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` // 客户端已经同步的序列号
  1307. }
  1308. func (x *SyncInput) Reset() {
  1309. *x = SyncInput{}
  1310. if protoimpl.UnsafeEnabled {
  1311. mi := &file_connect_ext_proto_msgTypes[15]
  1312. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1313. ms.StoreMessageInfo(mi)
  1314. }
  1315. }
  1316. func (x *SyncInput) String() string {
  1317. return protoimpl.X.MessageStringOf(x)
  1318. }
  1319. func (*SyncInput) ProtoMessage() {}
  1320. func (x *SyncInput) ProtoReflect() protoreflect.Message {
  1321. mi := &file_connect_ext_proto_msgTypes[15]
  1322. if protoimpl.UnsafeEnabled && x != nil {
  1323. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1324. if ms.LoadMessageInfo() == nil {
  1325. ms.StoreMessageInfo(mi)
  1326. }
  1327. return ms
  1328. }
  1329. return mi.MessageOf(x)
  1330. }
  1331. // Deprecated: Use SyncInput.ProtoReflect.Descriptor instead.
  1332. func (*SyncInput) Descriptor() ([]byte, []int) {
  1333. return file_connect_ext_proto_rawDescGZIP(), []int{15}
  1334. }
  1335. func (x *SyncInput) GetSeq() int64 {
  1336. if x != nil {
  1337. return x.Seq
  1338. }
  1339. return 0
  1340. }
  1341. // 消息同步响应,package_type:2
  1342. type SyncOutput struct {
  1343. state protoimpl.MessageState
  1344. sizeCache protoimpl.SizeCache
  1345. unknownFields protoimpl.UnknownFields
  1346. Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // 消息列表
  1347. HasMore bool `protobuf:"varint,2,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"` // 是否有更多数据
  1348. }
  1349. func (x *SyncOutput) Reset() {
  1350. *x = SyncOutput{}
  1351. if protoimpl.UnsafeEnabled {
  1352. mi := &file_connect_ext_proto_msgTypes[16]
  1353. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1354. ms.StoreMessageInfo(mi)
  1355. }
  1356. }
  1357. func (x *SyncOutput) String() string {
  1358. return protoimpl.X.MessageStringOf(x)
  1359. }
  1360. func (*SyncOutput) ProtoMessage() {}
  1361. func (x *SyncOutput) ProtoReflect() protoreflect.Message {
  1362. mi := &file_connect_ext_proto_msgTypes[16]
  1363. if protoimpl.UnsafeEnabled && x != nil {
  1364. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1365. if ms.LoadMessageInfo() == nil {
  1366. ms.StoreMessageInfo(mi)
  1367. }
  1368. return ms
  1369. }
  1370. return mi.MessageOf(x)
  1371. }
  1372. // Deprecated: Use SyncOutput.ProtoReflect.Descriptor instead.
  1373. func (*SyncOutput) Descriptor() ([]byte, []int) {
  1374. return file_connect_ext_proto_rawDescGZIP(), []int{16}
  1375. }
  1376. func (x *SyncOutput) GetMessages() []*Message {
  1377. if x != nil {
  1378. return x.Messages
  1379. }
  1380. return nil
  1381. }
  1382. func (x *SyncOutput) GetHasMore() bool {
  1383. if x != nil {
  1384. return x.HasMore
  1385. }
  1386. return false
  1387. }
  1388. // 订阅房间请求
  1389. type SubscribeRoomInput struct {
  1390. state protoimpl.MessageState
  1391. sizeCache protoimpl.SizeCache
  1392. unknownFields protoimpl.UnknownFields
  1393. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // 房间ID,如果为0,取消房间订阅
  1394. Seq int64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"` // 消息消息序列号,
  1395. }
  1396. func (x *SubscribeRoomInput) Reset() {
  1397. *x = SubscribeRoomInput{}
  1398. if protoimpl.UnsafeEnabled {
  1399. mi := &file_connect_ext_proto_msgTypes[17]
  1400. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1401. ms.StoreMessageInfo(mi)
  1402. }
  1403. }
  1404. func (x *SubscribeRoomInput) String() string {
  1405. return protoimpl.X.MessageStringOf(x)
  1406. }
  1407. func (*SubscribeRoomInput) ProtoMessage() {}
  1408. func (x *SubscribeRoomInput) ProtoReflect() protoreflect.Message {
  1409. mi := &file_connect_ext_proto_msgTypes[17]
  1410. if protoimpl.UnsafeEnabled && x != nil {
  1411. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1412. if ms.LoadMessageInfo() == nil {
  1413. ms.StoreMessageInfo(mi)
  1414. }
  1415. return ms
  1416. }
  1417. return mi.MessageOf(x)
  1418. }
  1419. // Deprecated: Use SubscribeRoomInput.ProtoReflect.Descriptor instead.
  1420. func (*SubscribeRoomInput) Descriptor() ([]byte, []int) {
  1421. return file_connect_ext_proto_rawDescGZIP(), []int{17}
  1422. }
  1423. func (x *SubscribeRoomInput) GetRoomId() int64 {
  1424. if x != nil {
  1425. return x.RoomId
  1426. }
  1427. return 0
  1428. }
  1429. func (x *SubscribeRoomInput) GetSeq() int64 {
  1430. if x != nil {
  1431. return x.Seq
  1432. }
  1433. return 0
  1434. }
  1435. // 消息投递,package_type:4
  1436. type MessageSend struct {
  1437. state protoimpl.MessageState
  1438. sizeCache protoimpl.SizeCache
  1439. unknownFields protoimpl.UnknownFields
  1440. Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // 消息
  1441. }
  1442. func (x *MessageSend) Reset() {
  1443. *x = MessageSend{}
  1444. if protoimpl.UnsafeEnabled {
  1445. mi := &file_connect_ext_proto_msgTypes[18]
  1446. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1447. ms.StoreMessageInfo(mi)
  1448. }
  1449. }
  1450. func (x *MessageSend) String() string {
  1451. return protoimpl.X.MessageStringOf(x)
  1452. }
  1453. func (*MessageSend) ProtoMessage() {}
  1454. func (x *MessageSend) ProtoReflect() protoreflect.Message {
  1455. mi := &file_connect_ext_proto_msgTypes[18]
  1456. if protoimpl.UnsafeEnabled && x != nil {
  1457. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1458. if ms.LoadMessageInfo() == nil {
  1459. ms.StoreMessageInfo(mi)
  1460. }
  1461. return ms
  1462. }
  1463. return mi.MessageOf(x)
  1464. }
  1465. // Deprecated: Use MessageSend.ProtoReflect.Descriptor instead.
  1466. func (*MessageSend) Descriptor() ([]byte, []int) {
  1467. return file_connect_ext_proto_rawDescGZIP(), []int{18}
  1468. }
  1469. func (x *MessageSend) GetMessage() *Message {
  1470. if x != nil {
  1471. return x.Message
  1472. }
  1473. return nil
  1474. }
  1475. // 投递消息回执,package_type:4
  1476. type MessageACK struct {
  1477. state protoimpl.MessageState
  1478. sizeCache protoimpl.SizeCache
  1479. unknownFields protoimpl.UnknownFields
  1480. DeviceAck int64 `protobuf:"varint,2,opt,name=device_ack,json=deviceAck,proto3" json:"device_ack,omitempty"` // 设备收到消息的确认号
  1481. ReceiveTime int64 `protobuf:"varint,3,opt,name=receive_time,json=receiveTime,proto3" json:"receive_time,omitempty"` // 消息接收时间戳,精确到毫秒
  1482. }
  1483. func (x *MessageACK) Reset() {
  1484. *x = MessageACK{}
  1485. if protoimpl.UnsafeEnabled {
  1486. mi := &file_connect_ext_proto_msgTypes[19]
  1487. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1488. ms.StoreMessageInfo(mi)
  1489. }
  1490. }
  1491. func (x *MessageACK) String() string {
  1492. return protoimpl.X.MessageStringOf(x)
  1493. }
  1494. func (*MessageACK) ProtoMessage() {}
  1495. func (x *MessageACK) ProtoReflect() protoreflect.Message {
  1496. mi := &file_connect_ext_proto_msgTypes[19]
  1497. if protoimpl.UnsafeEnabled && x != nil {
  1498. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1499. if ms.LoadMessageInfo() == nil {
  1500. ms.StoreMessageInfo(mi)
  1501. }
  1502. return ms
  1503. }
  1504. return mi.MessageOf(x)
  1505. }
  1506. // Deprecated: Use MessageACK.ProtoReflect.Descriptor instead.
  1507. func (*MessageACK) Descriptor() ([]byte, []int) {
  1508. return file_connect_ext_proto_rawDescGZIP(), []int{19}
  1509. }
  1510. func (x *MessageACK) GetDeviceAck() int64 {
  1511. if x != nil {
  1512. return x.DeviceAck
  1513. }
  1514. return 0
  1515. }
  1516. func (x *MessageACK) GetReceiveTime() int64 {
  1517. if x != nil {
  1518. return x.ReceiveTime
  1519. }
  1520. return 0
  1521. }
  1522. var File_connect_ext_proto protoreflect.FileDescriptor
  1523. var file_connect_ext_proto_rawDesc = []byte{
  1524. 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72,
  1525. 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xdc, 0x02, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73,
  1526. 0x61, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20,
  1527. 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52,
  1528. 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69,
  1529. 0x76, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10,
  1530. 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65,
  1531. 0x52, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f,
  1532. 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
  1533. 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12,
  1534. 0x1e, 0x0a, 0x0b, 0x74, 0x6f, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04,
  1535. 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12,
  1536. 0x32, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
  1537. 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
  1538. 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54,
  1539. 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63,
  1540. 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6d, 0x65,
  1541. 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03,
  1542. 0x73, 0x65, 0x71, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x71, 0x12, 0x1b,
  1543. 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
  1544. 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x73,
  1545. 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x70, 0x62,
  1546. 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06,
  1547. 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x06, 0x53, 0x65, 0x6e, 0x64, 0x65,
  1548. 0x72, 0x12, 0x2f, 0x0a, 0x0b, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65,
  1549. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64,
  1550. 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x54, 0x79,
  1551. 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
  1552. 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12,
  1553. 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
  1554. 0x28, 0x03, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a,
  1555. 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
  1556. 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6e,
  1557. 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e,
  1558. 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61,
  1559. 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x1a, 0x0a,
  1560. 0x04, 0x54, 0x65, 0x78, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20,
  1561. 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x22, 0x3a, 0x0a, 0x04, 0x46, 0x61, 0x63,
  1562. 0x65, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1563. 0x28, 0x03, 0x52, 0x06, 0x66, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x61,
  1564. 0x63, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x61,
  1565. 0x63, 0x65, 0x55, 0x72, 0x6c, 0x22, 0x59, 0x0a, 0x05, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x0e,
  1566. 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12,
  1567. 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69,
  1568. 0x7a, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
  1569. 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10,
  1570. 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c,
  1571. 0x22, 0x7c, 0x0a, 0x05, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
  1572. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64,
  1573. 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12,
  1574. 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
  1575. 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x04,
  1576. 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x68, 0x75,
  1577. 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
  1578. 0x52, 0x0c, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x55, 0x72, 0x6c, 0x22, 0x50,
  1579. 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01,
  1580. 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0d,
  1581. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69,
  1582. 0x7a, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x10,
  1583. 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c,
  1584. 0x22, 0x58, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04,
  1585. 0x64, 0x65, 0x73, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, 0x73, 0x63,
  1586. 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01,
  1587. 0x28, 0x01, 0x52, 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09,
  1588. 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52,
  1589. 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x65, 0x22, 0x31, 0x0a, 0x07, 0x43, 0x6f,
  1590. 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
  1591. 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74,
  1592. 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x1c, 0x0a,
  1593. 0x06, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
  1594. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x27, 0x0a, 0x06, 0x52,
  1595. 0x45, 0x43, 0x41, 0x4c, 0x4c, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x5f,
  1596. 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x63, 0x61, 0x6c,
  1597. 0x6c, 0x53, 0x65, 0x71, 0x22, 0xab, 0x04, 0x0a, 0x0b, 0x52, 0x45, 0x44, 0x5f, 0x50, 0x41, 0x43,
  1598. 0x4b, 0x41, 0x47, 0x45, 0x12, 0x42, 0x0a, 0x10, 0x72, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73,
  1599. 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18,
  1600. 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x4d, 0x65, 0x73,
  1601. 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x72, 0x65, 0x64, 0x4d, 0x65, 0x73,
  1602. 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x39, 0x0a, 0x0f, 0x72, 0x65, 0x64, 0x5f,
  1603. 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  1604. 0x0e, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74,
  1605. 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x54,
  1606. 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65,
  1607. 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  1608. 0x10, 0x72, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
  1609. 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f,
  1610. 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0f, 0x72, 0x65,
  1611. 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x26, 0x0a,
  1612. 0x0f, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x73,
  1613. 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65,
  1614. 0x74, 0x4e, 0x75, 0x6d, 0x73, 0x12, 0x39, 0x0a, 0x19, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63,
  1615. 0x6b, 0x65, 0x74, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75,
  1616. 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x02, 0x52, 0x16, 0x72, 0x65, 0x64, 0x50, 0x61, 0x63,
  1617. 0x6b, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
  1618. 0x12, 0x2a, 0x0a, 0x11, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65,
  1619. 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0f, 0x72, 0x65, 0x63,
  1620. 0x65, 0x69, 0x76, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x30, 0x0a, 0x14,
  1621. 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x6d,
  1622. 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x02, 0x52, 0x12, 0x72, 0x65, 0x63, 0x65,
  1623. 0x69, 0x76, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34,
  1624. 0x0a, 0x16, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f,
  1625. 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14,
  1626. 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x69, 0x63, 0x6b,
  1627. 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x16, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b,
  1628. 0x65, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b,
  1629. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63,
  1630. 0x6b, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x13, 0x72,
  1631. 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79,
  1632. 0x70, 0x65, 0x22, 0x5f, 0x0a, 0x05, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x23, 0x0a, 0x04, 0x74,
  1633. 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x50,
  1634. 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
  1635. 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02,
  1636. 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12,
  1637. 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64,
  1638. 0x61, 0x74, 0x61, 0x22, 0x8e, 0x01, 0x0a, 0x06, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x23,
  1639. 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70,
  1640. 0x62, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74,
  1641. 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69,
  1642. 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1643. 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
  1644. 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1645. 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1646. 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04,
  1647. 0x64, 0x61, 0x74, 0x61, 0x22, 0x59, 0x0a, 0x0b, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e,
  1648. 0x70, 0x75, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64,
  1649. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64,
  1650. 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  1651. 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b,
  1652. 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22,
  1653. 0x1d, 0x0a, 0x09, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x10, 0x0a, 0x03,
  1654. 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x71, 0x22, 0x50,
  1655. 0x0a, 0x0a, 0x53, 0x79, 0x6e, 0x63, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x27, 0x0a, 0x08,
  1656. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b,
  1657. 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x73,
  1658. 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x61, 0x73, 0x5f, 0x6d, 0x6f, 0x72,
  1659. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x68, 0x61, 0x73, 0x4d, 0x6f, 0x72, 0x65,
  1660. 0x22, 0x3f, 0x0a, 0x12, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x6f, 0x6f,
  1661. 0x6d, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69,
  1662. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12,
  1663. 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65,
  1664. 0x71, 0x22, 0x34, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x6e, 0x64,
  1665. 0x12, 0x25, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  1666. 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07,
  1667. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x4e, 0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x73, 0x61,
  1668. 0x67, 0x65, 0x41, 0x43, 0x4b, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f,
  1669. 0x61, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63,
  1670. 0x65, 0x41, 0x63, 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f,
  1671. 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x65,
  1672. 0x69, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x2a, 0x73, 0x0a, 0x0b, 0x50, 0x61, 0x63, 0x6b, 0x61,
  1673. 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x54, 0x5f, 0x55, 0x4e, 0x4b,
  1674. 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x54, 0x5f, 0x53, 0x49, 0x47,
  1675. 0x4e, 0x5f, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x54, 0x5f, 0x53, 0x59, 0x4e,
  1676. 0x43, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x54, 0x5f, 0x48, 0x45, 0x41, 0x52, 0x54, 0x42,
  1677. 0x45, 0x41, 0x54, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x54, 0x5f, 0x4d, 0x45, 0x53, 0x53,
  1678. 0x41, 0x47, 0x45, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x54, 0x5f, 0x53, 0x55, 0x42, 0x53,
  1679. 0x43, 0x52, 0x49, 0x42, 0x45, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x10, 0x05, 0x2a, 0xb3, 0x01, 0x0a,
  1680. 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x0a,
  1681. 0x4d, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07,
  1682. 0x4d, 0x54, 0x5f, 0x54, 0x45, 0x58, 0x54, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x54, 0x5f,
  1683. 0x46, 0x41, 0x43, 0x45, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x54, 0x5f, 0x56, 0x4f, 0x49,
  1684. 0x43, 0x45, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x54, 0x5f, 0x49, 0x4d, 0x41, 0x47, 0x45,
  1685. 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x54, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x05, 0x12,
  1686. 0x0f, 0x0a, 0x0b, 0x4d, 0x54, 0x5f, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x06,
  1687. 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x54, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x41, 0x4e, 0x44, 0x10, 0x07,
  1688. 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, 0x08, 0x12,
  1689. 0x0d, 0x0a, 0x09, 0x4d, 0x54, 0x5f, 0x52, 0x45, 0x43, 0x41, 0x4c, 0x4c, 0x10, 0x09, 0x12, 0x12,
  1690. 0x0a, 0x0e, 0x4d, 0x54, 0x5f, 0x52, 0x45, 0x44, 0x5f, 0x50, 0x41, 0x43, 0x4b, 0x41, 0x47, 0x45,
  1691. 0x10, 0x0a, 0x2a, 0x87, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74,
  1692. 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x50, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e,
  1693. 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x50, 0x54, 0x5f, 0x46, 0x52, 0x49,
  1694. 0x45, 0x4e, 0x44, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x50, 0x54, 0x5f, 0x47, 0x52, 0x4f,
  1695. 0x55, 0x50, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x52,
  1696. 0x50, 0x54, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x4c, 0x55, 0x43, 0x4b, 0x10, 0x03, 0x12,
  1697. 0x17, 0x0a, 0x13, 0x52, 0x50, 0x54, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x53, 0x50, 0x45,
  1698. 0x43, 0x49, 0x41, 0x4c, 0x4c, 0x59, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x50, 0x54, 0x5f,
  1699. 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x46, 0x4f, 0x52, 0x10, 0x05, 0x2a, 0x43, 0x0a, 0x14,
  1700. 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1701. 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x4d, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e,
  1702. 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x4d, 0x54, 0x5f, 0x53, 0x45, 0x4e,
  1703. 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x4d, 0x54, 0x5f, 0x47, 0x52, 0x41, 0x42, 0x10,
  1704. 0x02, 0x2a, 0x5b, 0x0a, 0x13, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x74,
  1705. 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x50, 0x53, 0x5f,
  1706. 0x4e, 0x4f, 0x54, 0x5f, 0x44, 0x52, 0x41, 0x57, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x50,
  1707. 0x53, 0x5f, 0x44, 0x52, 0x41, 0x57, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x52,
  1708. 0x50, 0x53, 0x5f, 0x44, 0x52, 0x41, 0x57, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x10, 0x02, 0x12, 0x0e,
  1709. 0x0a, 0x0a, 0x52, 0x50, 0x53, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x10, 0x03, 0x2a, 0x46,
  1710. 0x0a, 0x0c, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e,
  1711. 0x0a, 0x0a, 0x52, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b,
  1712. 0x0a, 0x07, 0x52, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52,
  1713. 0x54, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x54, 0x5f,
  1714. 0x52, 0x4f, 0x4f, 0x4d, 0x10, 0x03, 0x2a, 0x49, 0x0a, 0x0a, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72,
  1715. 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f,
  1716. 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x54, 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45,
  1717. 0x4d, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, 0x02,
  1718. 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x54, 0x5f, 0x42, 0x55, 0x53, 0x49, 0x4e, 0x45, 0x53, 0x53, 0x10,
  1719. 0x03, 0x2a, 0x3d, 0x0a, 0x0d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74,
  1720. 0x75, 0x73, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x53, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
  1721. 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x53, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10,
  1722. 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x53, 0x5f, 0x52, 0x45, 0x43, 0x41, 0x4c, 0x4c, 0x10, 0x02,
  1723. 0x42, 0x0d, 0x5a, 0x0b, 0x67, 0x69, 0x6d, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x62,
  1724. 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1725. }
  1726. var (
  1727. file_connect_ext_proto_rawDescOnce sync.Once
  1728. file_connect_ext_proto_rawDescData = file_connect_ext_proto_rawDesc
  1729. )
  1730. func file_connect_ext_proto_rawDescGZIP() []byte {
  1731. file_connect_ext_proto_rawDescOnce.Do(func() {
  1732. file_connect_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_connect_ext_proto_rawDescData)
  1733. })
  1734. return file_connect_ext_proto_rawDescData
  1735. }
  1736. var file_connect_ext_proto_enumTypes = make([]protoimpl.EnumInfo, 8)
  1737. var file_connect_ext_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
  1738. var file_connect_ext_proto_goTypes = []interface{}{
  1739. (PackageType)(0), // 0: pb.PackageType
  1740. (MessageType)(0), // 1: pb.MessageType
  1741. (RedPacketType)(0), // 2: pb.RedPacketType
  1742. (RedPacketMessageType)(0), // 3: pb.RedPacketMessageType
  1743. (RedPacketStatusType)(0), // 4: pb.RedPacketStatusType
  1744. (ReceiverType)(0), // 5: pb.ReceiverType
  1745. (SenderType)(0), // 6: pb.SenderType
  1746. (MessageStatus)(0), // 7: pb.MessageStatus
  1747. (*Message)(nil), // 8: pb.Message
  1748. (*Sender)(nil), // 9: pb.Sender
  1749. (*Text)(nil), // 10: pb.Text
  1750. (*Face)(nil), // 11: pb.Face
  1751. (*Voice)(nil), // 12: pb.Voice
  1752. (*Image)(nil), // 13: pb.Image
  1753. (*File)(nil), // 14: pb.File
  1754. (*Location)(nil), // 15: pb.Location
  1755. (*Command)(nil), // 16: pb.Command
  1756. (*Custom)(nil), // 17: pb.Custom
  1757. (*RECALL)(nil), // 18: pb.RECALL
  1758. (*RED_PACKAGE)(nil), // 19: pb.RED_PACKAGE
  1759. (*Input)(nil), // 20: pb.Input
  1760. (*Output)(nil), // 21: pb.Output
  1761. (*SignInInput)(nil), // 22: pb.SignInInput
  1762. (*SyncInput)(nil), // 23: pb.SyncInput
  1763. (*SyncOutput)(nil), // 24: pb.SyncOutput
  1764. (*SubscribeRoomInput)(nil), // 25: pb.SubscribeRoomInput
  1765. (*MessageSend)(nil), // 26: pb.MessageSend
  1766. (*MessageACK)(nil), // 27: pb.MessageACK
  1767. }
  1768. var file_connect_ext_proto_depIdxs = []int32{
  1769. 9, // 0: pb.Message.sender:type_name -> pb.Sender
  1770. 5, // 1: pb.Message.receiver_type:type_name -> pb.ReceiverType
  1771. 1, // 2: pb.Message.message_type:type_name -> pb.MessageType
  1772. 7, // 3: pb.Message.status:type_name -> pb.MessageStatus
  1773. 6, // 4: pb.Sender.sender_type:type_name -> pb.SenderType
  1774. 3, // 5: pb.RED_PACKAGE.red_message_type:type_name -> pb.RedPacketMessageType
  1775. 2, // 6: pb.RED_PACKAGE.red_packet_type:type_name -> pb.RedPacketType
  1776. 4, // 7: pb.RED_PACKAGE.red_packet_status_type:type_name -> pb.RedPacketStatusType
  1777. 0, // 8: pb.Input.type:type_name -> pb.PackageType
  1778. 0, // 9: pb.Output.type:type_name -> pb.PackageType
  1779. 8, // 10: pb.SyncOutput.messages:type_name -> pb.Message
  1780. 8, // 11: pb.MessageSend.message:type_name -> pb.Message
  1781. 12, // [12:12] is the sub-list for method output_type
  1782. 12, // [12:12] is the sub-list for method input_type
  1783. 12, // [12:12] is the sub-list for extension type_name
  1784. 12, // [12:12] is the sub-list for extension extendee
  1785. 0, // [0:12] is the sub-list for field type_name
  1786. }
  1787. func init() { file_connect_ext_proto_init() }
  1788. func file_connect_ext_proto_init() {
  1789. if File_connect_ext_proto != nil {
  1790. return
  1791. }
  1792. if !protoimpl.UnsafeEnabled {
  1793. file_connect_ext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1794. switch v := v.(*Message); i {
  1795. case 0:
  1796. return &v.state
  1797. case 1:
  1798. return &v.sizeCache
  1799. case 2:
  1800. return &v.unknownFields
  1801. default:
  1802. return nil
  1803. }
  1804. }
  1805. file_connect_ext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1806. switch v := v.(*Sender); i {
  1807. case 0:
  1808. return &v.state
  1809. case 1:
  1810. return &v.sizeCache
  1811. case 2:
  1812. return &v.unknownFields
  1813. default:
  1814. return nil
  1815. }
  1816. }
  1817. file_connect_ext_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1818. switch v := v.(*Text); i {
  1819. case 0:
  1820. return &v.state
  1821. case 1:
  1822. return &v.sizeCache
  1823. case 2:
  1824. return &v.unknownFields
  1825. default:
  1826. return nil
  1827. }
  1828. }
  1829. file_connect_ext_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1830. switch v := v.(*Face); i {
  1831. case 0:
  1832. return &v.state
  1833. case 1:
  1834. return &v.sizeCache
  1835. case 2:
  1836. return &v.unknownFields
  1837. default:
  1838. return nil
  1839. }
  1840. }
  1841. file_connect_ext_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1842. switch v := v.(*Voice); i {
  1843. case 0:
  1844. return &v.state
  1845. case 1:
  1846. return &v.sizeCache
  1847. case 2:
  1848. return &v.unknownFields
  1849. default:
  1850. return nil
  1851. }
  1852. }
  1853. file_connect_ext_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1854. switch v := v.(*Image); i {
  1855. case 0:
  1856. return &v.state
  1857. case 1:
  1858. return &v.sizeCache
  1859. case 2:
  1860. return &v.unknownFields
  1861. default:
  1862. return nil
  1863. }
  1864. }
  1865. file_connect_ext_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1866. switch v := v.(*File); i {
  1867. case 0:
  1868. return &v.state
  1869. case 1:
  1870. return &v.sizeCache
  1871. case 2:
  1872. return &v.unknownFields
  1873. default:
  1874. return nil
  1875. }
  1876. }
  1877. file_connect_ext_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1878. switch v := v.(*Location); i {
  1879. case 0:
  1880. return &v.state
  1881. case 1:
  1882. return &v.sizeCache
  1883. case 2:
  1884. return &v.unknownFields
  1885. default:
  1886. return nil
  1887. }
  1888. }
  1889. file_connect_ext_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1890. switch v := v.(*Command); i {
  1891. case 0:
  1892. return &v.state
  1893. case 1:
  1894. return &v.sizeCache
  1895. case 2:
  1896. return &v.unknownFields
  1897. default:
  1898. return nil
  1899. }
  1900. }
  1901. file_connect_ext_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1902. switch v := v.(*Custom); i {
  1903. case 0:
  1904. return &v.state
  1905. case 1:
  1906. return &v.sizeCache
  1907. case 2:
  1908. return &v.unknownFields
  1909. default:
  1910. return nil
  1911. }
  1912. }
  1913. file_connect_ext_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1914. switch v := v.(*RECALL); i {
  1915. case 0:
  1916. return &v.state
  1917. case 1:
  1918. return &v.sizeCache
  1919. case 2:
  1920. return &v.unknownFields
  1921. default:
  1922. return nil
  1923. }
  1924. }
  1925. file_connect_ext_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1926. switch v := v.(*RED_PACKAGE); i {
  1927. case 0:
  1928. return &v.state
  1929. case 1:
  1930. return &v.sizeCache
  1931. case 2:
  1932. return &v.unknownFields
  1933. default:
  1934. return nil
  1935. }
  1936. }
  1937. file_connect_ext_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1938. switch v := v.(*Input); i {
  1939. case 0:
  1940. return &v.state
  1941. case 1:
  1942. return &v.sizeCache
  1943. case 2:
  1944. return &v.unknownFields
  1945. default:
  1946. return nil
  1947. }
  1948. }
  1949. file_connect_ext_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1950. switch v := v.(*Output); i {
  1951. case 0:
  1952. return &v.state
  1953. case 1:
  1954. return &v.sizeCache
  1955. case 2:
  1956. return &v.unknownFields
  1957. default:
  1958. return nil
  1959. }
  1960. }
  1961. file_connect_ext_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1962. switch v := v.(*SignInInput); i {
  1963. case 0:
  1964. return &v.state
  1965. case 1:
  1966. return &v.sizeCache
  1967. case 2:
  1968. return &v.unknownFields
  1969. default:
  1970. return nil
  1971. }
  1972. }
  1973. file_connect_ext_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1974. switch v := v.(*SyncInput); i {
  1975. case 0:
  1976. return &v.state
  1977. case 1:
  1978. return &v.sizeCache
  1979. case 2:
  1980. return &v.unknownFields
  1981. default:
  1982. return nil
  1983. }
  1984. }
  1985. file_connect_ext_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  1986. switch v := v.(*SyncOutput); i {
  1987. case 0:
  1988. return &v.state
  1989. case 1:
  1990. return &v.sizeCache
  1991. case 2:
  1992. return &v.unknownFields
  1993. default:
  1994. return nil
  1995. }
  1996. }
  1997. file_connect_ext_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  1998. switch v := v.(*SubscribeRoomInput); i {
  1999. case 0:
  2000. return &v.state
  2001. case 1:
  2002. return &v.sizeCache
  2003. case 2:
  2004. return &v.unknownFields
  2005. default:
  2006. return nil
  2007. }
  2008. }
  2009. file_connect_ext_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  2010. switch v := v.(*MessageSend); i {
  2011. case 0:
  2012. return &v.state
  2013. case 1:
  2014. return &v.sizeCache
  2015. case 2:
  2016. return &v.unknownFields
  2017. default:
  2018. return nil
  2019. }
  2020. }
  2021. file_connect_ext_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  2022. switch v := v.(*MessageACK); i {
  2023. case 0:
  2024. return &v.state
  2025. case 1:
  2026. return &v.sizeCache
  2027. case 2:
  2028. return &v.unknownFields
  2029. default:
  2030. return nil
  2031. }
  2032. }
  2033. }
  2034. type x struct{}
  2035. out := protoimpl.TypeBuilder{
  2036. File: protoimpl.DescBuilder{
  2037. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2038. RawDescriptor: file_connect_ext_proto_rawDesc,
  2039. NumEnums: 8,
  2040. NumMessages: 20,
  2041. NumExtensions: 0,
  2042. NumServices: 0,
  2043. },
  2044. GoTypes: file_connect_ext_proto_goTypes,
  2045. DependencyIndexes: file_connect_ext_proto_depIdxs,
  2046. EnumInfos: file_connect_ext_proto_enumTypes,
  2047. MessageInfos: file_connect_ext_proto_msgTypes,
  2048. }.Build()
  2049. File_connect_ext_proto = out.File
  2050. file_connect_ext_proto_rawDesc = nil
  2051. file_connect_ext_proto_goTypes = nil
  2052. file_connect_ext_proto_depIdxs = nil
  2053. }