附近小店
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.

преди 3 месеца
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461
  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. // 群组用户状态
  395. type GroupUserStatusType int32
  396. const (
  397. GroupUserStatusType_GROUP_USER_STATUS_NORMAL GroupUserStatusType = 0 // 正常
  398. GroupUserStatusType_GROUP_USER_STATUS_Banned GroupUserStatusType = 1 // 禁言
  399. )
  400. // Enum value maps for GroupUserStatusType.
  401. var (
  402. GroupUserStatusType_name = map[int32]string{
  403. 0: "GROUP_USER_STATUS_NORMAL",
  404. 1: "GROUP_USER_STATUS_Banned",
  405. }
  406. GroupUserStatusType_value = map[string]int32{
  407. "GROUP_USER_STATUS_NORMAL": 0,
  408. "GROUP_USER_STATUS_Banned": 1,
  409. }
  410. )
  411. func (x GroupUserStatusType) Enum() *GroupUserStatusType {
  412. p := new(GroupUserStatusType)
  413. *p = x
  414. return p
  415. }
  416. func (x GroupUserStatusType) String() string {
  417. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  418. }
  419. func (GroupUserStatusType) Descriptor() protoreflect.EnumDescriptor {
  420. return file_connect_ext_proto_enumTypes[8].Descriptor()
  421. }
  422. func (GroupUserStatusType) Type() protoreflect.EnumType {
  423. return &file_connect_ext_proto_enumTypes[8]
  424. }
  425. func (x GroupUserStatusType) Number() protoreflect.EnumNumber {
  426. return protoreflect.EnumNumber(x)
  427. }
  428. // Deprecated: Use GroupUserStatusType.Descriptor instead.
  429. func (GroupUserStatusType) EnumDescriptor() ([]byte, []int) {
  430. return file_connect_ext_proto_rawDescGZIP(), []int{8}
  431. }
  432. // 单条消息投递内容(估算大约100个字节),todo 通知栏提醒
  433. type Message struct {
  434. state protoimpl.MessageState
  435. sizeCache protoimpl.SizeCache
  436. unknownFields protoimpl.UnknownFields
  437. Sender *Sender `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // 发送者
  438. ReceiverType ReceiverType `protobuf:"varint,2,opt,name=receiver_type,json=receiverType,proto3,enum=pb.ReceiverType" json:"receiver_type,omitempty"` // 接收者类型,1:user;2:group
  439. ReceiverId int64 `protobuf:"varint,3,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id,omitempty"` // 用户id或者群组id
  440. ToUserIds []int64 `protobuf:"varint,4,rep,packed,name=to_user_ids,json=toUserIds,proto3" json:"to_user_ids,omitempty"` // 需要@的用户id列表
  441. MessageType MessageType `protobuf:"varint,5,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"` // 消息类型
  442. MessageContent []byte `protobuf:"bytes,6,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // 消息内容
  443. Seq int64 `protobuf:"varint,7,opt,name=seq,proto3" json:"seq,omitempty"` // 用户消息发送序列号
  444. SendTime int64 `protobuf:"varint,8,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"` // 消息发送时间戳,精确到毫秒
  445. Status MessageStatus `protobuf:"varint,9,opt,name=status,proto3,enum=pb.MessageStatus" json:"status,omitempty"` // 消息状态
  446. }
  447. func (x *Message) Reset() {
  448. *x = Message{}
  449. if protoimpl.UnsafeEnabled {
  450. mi := &file_connect_ext_proto_msgTypes[0]
  451. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  452. ms.StoreMessageInfo(mi)
  453. }
  454. }
  455. func (x *Message) String() string {
  456. return protoimpl.X.MessageStringOf(x)
  457. }
  458. func (*Message) ProtoMessage() {}
  459. func (x *Message) ProtoReflect() protoreflect.Message {
  460. mi := &file_connect_ext_proto_msgTypes[0]
  461. if protoimpl.UnsafeEnabled && x != nil {
  462. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  463. if ms.LoadMessageInfo() == nil {
  464. ms.StoreMessageInfo(mi)
  465. }
  466. return ms
  467. }
  468. return mi.MessageOf(x)
  469. }
  470. // Deprecated: Use Message.ProtoReflect.Descriptor instead.
  471. func (*Message) Descriptor() ([]byte, []int) {
  472. return file_connect_ext_proto_rawDescGZIP(), []int{0}
  473. }
  474. func (x *Message) GetSender() *Sender {
  475. if x != nil {
  476. return x.Sender
  477. }
  478. return nil
  479. }
  480. func (x *Message) GetReceiverType() ReceiverType {
  481. if x != nil {
  482. return x.ReceiverType
  483. }
  484. return ReceiverType_RT_UNKNOWN
  485. }
  486. func (x *Message) GetReceiverId() int64 {
  487. if x != nil {
  488. return x.ReceiverId
  489. }
  490. return 0
  491. }
  492. func (x *Message) GetToUserIds() []int64 {
  493. if x != nil {
  494. return x.ToUserIds
  495. }
  496. return nil
  497. }
  498. func (x *Message) GetMessageType() MessageType {
  499. if x != nil {
  500. return x.MessageType
  501. }
  502. return MessageType_MT_UNKNOWN
  503. }
  504. func (x *Message) GetMessageContent() []byte {
  505. if x != nil {
  506. return x.MessageContent
  507. }
  508. return nil
  509. }
  510. func (x *Message) GetSeq() int64 {
  511. if x != nil {
  512. return x.Seq
  513. }
  514. return 0
  515. }
  516. func (x *Message) GetSendTime() int64 {
  517. if x != nil {
  518. return x.SendTime
  519. }
  520. return 0
  521. }
  522. func (x *Message) GetStatus() MessageStatus {
  523. if x != nil {
  524. return x.Status
  525. }
  526. return MessageStatus_MS_UNKNOWN
  527. }
  528. type Sender struct {
  529. state protoimpl.MessageState
  530. sizeCache protoimpl.SizeCache
  531. unknownFields protoimpl.UnknownFields
  532. SenderType SenderType `protobuf:"varint,1,opt,name=sender_type,json=senderType,proto3,enum=pb.SenderType" json:"sender_type,omitempty"` // 发送者类型,1:系统,2:用户,3:第三方业务系统
  533. SenderId int64 `protobuf:"varint,2,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"` // 发送者id
  534. DeviceId int64 `protobuf:"varint,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // 发送者设备id
  535. AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
  536. Nickname string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
  537. Extra string `protobuf:"bytes,6,opt,name=extra,proto3" json:"extra,omitempty"` // 扩展字段
  538. }
  539. func (x *Sender) Reset() {
  540. *x = Sender{}
  541. if protoimpl.UnsafeEnabled {
  542. mi := &file_connect_ext_proto_msgTypes[1]
  543. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  544. ms.StoreMessageInfo(mi)
  545. }
  546. }
  547. func (x *Sender) String() string {
  548. return protoimpl.X.MessageStringOf(x)
  549. }
  550. func (*Sender) ProtoMessage() {}
  551. func (x *Sender) ProtoReflect() protoreflect.Message {
  552. mi := &file_connect_ext_proto_msgTypes[1]
  553. if protoimpl.UnsafeEnabled && x != nil {
  554. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  555. if ms.LoadMessageInfo() == nil {
  556. ms.StoreMessageInfo(mi)
  557. }
  558. return ms
  559. }
  560. return mi.MessageOf(x)
  561. }
  562. // Deprecated: Use Sender.ProtoReflect.Descriptor instead.
  563. func (*Sender) Descriptor() ([]byte, []int) {
  564. return file_connect_ext_proto_rawDescGZIP(), []int{1}
  565. }
  566. func (x *Sender) GetSenderType() SenderType {
  567. if x != nil {
  568. return x.SenderType
  569. }
  570. return SenderType_ST_UNKNOWN
  571. }
  572. func (x *Sender) GetSenderId() int64 {
  573. if x != nil {
  574. return x.SenderId
  575. }
  576. return 0
  577. }
  578. func (x *Sender) GetDeviceId() int64 {
  579. if x != nil {
  580. return x.DeviceId
  581. }
  582. return 0
  583. }
  584. func (x *Sender) GetAvatarUrl() string {
  585. if x != nil {
  586. return x.AvatarUrl
  587. }
  588. return ""
  589. }
  590. func (x *Sender) GetNickname() string {
  591. if x != nil {
  592. return x.Nickname
  593. }
  594. return ""
  595. }
  596. func (x *Sender) GetExtra() string {
  597. if x != nil {
  598. return x.Extra
  599. }
  600. return ""
  601. }
  602. // 文本消息
  603. type Text struct {
  604. state protoimpl.MessageState
  605. sizeCache protoimpl.SizeCache
  606. unknownFields protoimpl.UnknownFields
  607. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // 文本消息内容
  608. }
  609. func (x *Text) Reset() {
  610. *x = Text{}
  611. if protoimpl.UnsafeEnabled {
  612. mi := &file_connect_ext_proto_msgTypes[2]
  613. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  614. ms.StoreMessageInfo(mi)
  615. }
  616. }
  617. func (x *Text) String() string {
  618. return protoimpl.X.MessageStringOf(x)
  619. }
  620. func (*Text) ProtoMessage() {}
  621. func (x *Text) ProtoReflect() protoreflect.Message {
  622. mi := &file_connect_ext_proto_msgTypes[2]
  623. if protoimpl.UnsafeEnabled && x != nil {
  624. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  625. if ms.LoadMessageInfo() == nil {
  626. ms.StoreMessageInfo(mi)
  627. }
  628. return ms
  629. }
  630. return mi.MessageOf(x)
  631. }
  632. // Deprecated: Use Text.ProtoReflect.Descriptor instead.
  633. func (*Text) Descriptor() ([]byte, []int) {
  634. return file_connect_ext_proto_rawDescGZIP(), []int{2}
  635. }
  636. func (x *Text) GetText() string {
  637. if x != nil {
  638. return x.Text
  639. }
  640. return ""
  641. }
  642. // 表情消息
  643. type Face struct {
  644. state protoimpl.MessageState
  645. sizeCache protoimpl.SizeCache
  646. unknownFields protoimpl.UnknownFields
  647. FaceId int64 `protobuf:"varint,1,opt,name=face_id,json=faceId,proto3" json:"face_id,omitempty"`
  648. FaceUrl string `protobuf:"bytes,2,opt,name=face_url,json=faceUrl,proto3" json:"face_url,omitempty"`
  649. }
  650. func (x *Face) Reset() {
  651. *x = Face{}
  652. if protoimpl.UnsafeEnabled {
  653. mi := &file_connect_ext_proto_msgTypes[3]
  654. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  655. ms.StoreMessageInfo(mi)
  656. }
  657. }
  658. func (x *Face) String() string {
  659. return protoimpl.X.MessageStringOf(x)
  660. }
  661. func (*Face) ProtoMessage() {}
  662. func (x *Face) ProtoReflect() protoreflect.Message {
  663. mi := &file_connect_ext_proto_msgTypes[3]
  664. if protoimpl.UnsafeEnabled && x != nil {
  665. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  666. if ms.LoadMessageInfo() == nil {
  667. ms.StoreMessageInfo(mi)
  668. }
  669. return ms
  670. }
  671. return mi.MessageOf(x)
  672. }
  673. // Deprecated: Use Face.ProtoReflect.Descriptor instead.
  674. func (*Face) Descriptor() ([]byte, []int) {
  675. return file_connect_ext_proto_rawDescGZIP(), []int{3}
  676. }
  677. func (x *Face) GetFaceId() int64 {
  678. if x != nil {
  679. return x.FaceId
  680. }
  681. return 0
  682. }
  683. func (x *Face) GetFaceUrl() string {
  684. if x != nil {
  685. return x.FaceUrl
  686. }
  687. return ""
  688. }
  689. // 语音消息
  690. type Voice struct {
  691. state protoimpl.MessageState
  692. sizeCache protoimpl.SizeCache
  693. unknownFields protoimpl.UnknownFields
  694. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 语音包id
  695. Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // 语音包大小
  696. Duration int32 `protobuf:"varint,3,opt,name=duration,proto3" json:"duration,omitempty"` // 语音时长
  697. Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // 语音文件URL
  698. }
  699. func (x *Voice) Reset() {
  700. *x = Voice{}
  701. if protoimpl.UnsafeEnabled {
  702. mi := &file_connect_ext_proto_msgTypes[4]
  703. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  704. ms.StoreMessageInfo(mi)
  705. }
  706. }
  707. func (x *Voice) String() string {
  708. return protoimpl.X.MessageStringOf(x)
  709. }
  710. func (*Voice) ProtoMessage() {}
  711. func (x *Voice) ProtoReflect() protoreflect.Message {
  712. mi := &file_connect_ext_proto_msgTypes[4]
  713. if protoimpl.UnsafeEnabled && x != nil {
  714. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  715. if ms.LoadMessageInfo() == nil {
  716. ms.StoreMessageInfo(mi)
  717. }
  718. return ms
  719. }
  720. return mi.MessageOf(x)
  721. }
  722. // Deprecated: Use Voice.ProtoReflect.Descriptor instead.
  723. func (*Voice) Descriptor() ([]byte, []int) {
  724. return file_connect_ext_proto_rawDescGZIP(), []int{4}
  725. }
  726. func (x *Voice) GetId() string {
  727. if x != nil {
  728. return x.Id
  729. }
  730. return ""
  731. }
  732. func (x *Voice) GetSize() int32 {
  733. if x != nil {
  734. return x.Size
  735. }
  736. return 0
  737. }
  738. func (x *Voice) GetDuration() int32 {
  739. if x != nil {
  740. return x.Duration
  741. }
  742. return 0
  743. }
  744. func (x *Voice) GetUrl() string {
  745. if x != nil {
  746. return x.Url
  747. }
  748. return ""
  749. }
  750. // 图片消息
  751. type Image struct {
  752. state protoimpl.MessageState
  753. sizeCache protoimpl.SizeCache
  754. unknownFields protoimpl.UnknownFields
  755. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 图片id
  756. Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` // 图片宽度
  757. Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // 图片长度
  758. Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // 图片URL
  759. ThumbnailUrl string `protobuf:"bytes,5,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"` // 图片缩略图url
  760. }
  761. func (x *Image) Reset() {
  762. *x = Image{}
  763. if protoimpl.UnsafeEnabled {
  764. mi := &file_connect_ext_proto_msgTypes[5]
  765. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  766. ms.StoreMessageInfo(mi)
  767. }
  768. }
  769. func (x *Image) String() string {
  770. return protoimpl.X.MessageStringOf(x)
  771. }
  772. func (*Image) ProtoMessage() {}
  773. func (x *Image) ProtoReflect() protoreflect.Message {
  774. mi := &file_connect_ext_proto_msgTypes[5]
  775. if protoimpl.UnsafeEnabled && x != nil {
  776. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  777. if ms.LoadMessageInfo() == nil {
  778. ms.StoreMessageInfo(mi)
  779. }
  780. return ms
  781. }
  782. return mi.MessageOf(x)
  783. }
  784. // Deprecated: Use Image.ProtoReflect.Descriptor instead.
  785. func (*Image) Descriptor() ([]byte, []int) {
  786. return file_connect_ext_proto_rawDescGZIP(), []int{5}
  787. }
  788. func (x *Image) GetId() string {
  789. if x != nil {
  790. return x.Id
  791. }
  792. return ""
  793. }
  794. func (x *Image) GetWidth() int32 {
  795. if x != nil {
  796. return x.Width
  797. }
  798. return 0
  799. }
  800. func (x *Image) GetHeight() int32 {
  801. if x != nil {
  802. return x.Height
  803. }
  804. return 0
  805. }
  806. func (x *Image) GetUrl() string {
  807. if x != nil {
  808. return x.Url
  809. }
  810. return ""
  811. }
  812. func (x *Image) GetThumbnailUrl() string {
  813. if x != nil {
  814. return x.ThumbnailUrl
  815. }
  816. return ""
  817. }
  818. // 文件消息
  819. type File struct {
  820. state protoimpl.MessageState
  821. sizeCache protoimpl.SizeCache
  822. unknownFields protoimpl.UnknownFields
  823. Id int64 `protobuf:"varint,12,opt,name=id,proto3" json:"id,omitempty"` // 文件id
  824. Name string `protobuf:"bytes,13,opt,name=name,proto3" json:"name,omitempty"` // 文件名
  825. Size int64 `protobuf:"varint,14,opt,name=size,proto3" json:"size,omitempty"` // 文件大小
  826. Url string `protobuf:"bytes,15,opt,name=url,proto3" json:"url,omitempty"` // 文件url
  827. }
  828. func (x *File) Reset() {
  829. *x = File{}
  830. if protoimpl.UnsafeEnabled {
  831. mi := &file_connect_ext_proto_msgTypes[6]
  832. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  833. ms.StoreMessageInfo(mi)
  834. }
  835. }
  836. func (x *File) String() string {
  837. return protoimpl.X.MessageStringOf(x)
  838. }
  839. func (*File) ProtoMessage() {}
  840. func (x *File) ProtoReflect() protoreflect.Message {
  841. mi := &file_connect_ext_proto_msgTypes[6]
  842. if protoimpl.UnsafeEnabled && x != nil {
  843. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  844. if ms.LoadMessageInfo() == nil {
  845. ms.StoreMessageInfo(mi)
  846. }
  847. return ms
  848. }
  849. return mi.MessageOf(x)
  850. }
  851. // Deprecated: Use File.ProtoReflect.Descriptor instead.
  852. func (*File) Descriptor() ([]byte, []int) {
  853. return file_connect_ext_proto_rawDescGZIP(), []int{6}
  854. }
  855. func (x *File) GetId() int64 {
  856. if x != nil {
  857. return x.Id
  858. }
  859. return 0
  860. }
  861. func (x *File) GetName() string {
  862. if x != nil {
  863. return x.Name
  864. }
  865. return ""
  866. }
  867. func (x *File) GetSize() int64 {
  868. if x != nil {
  869. return x.Size
  870. }
  871. return 0
  872. }
  873. func (x *File) GetUrl() string {
  874. if x != nil {
  875. return x.Url
  876. }
  877. return ""
  878. }
  879. // 地理位置消息
  880. type Location struct {
  881. state protoimpl.MessageState
  882. sizeCache protoimpl.SizeCache
  883. unknownFields protoimpl.UnknownFields
  884. Desc string `protobuf:"bytes,1,opt,name=desc,proto3" json:"desc,omitempty"` // 描述
  885. Latitude float64 `protobuf:"fixed64,2,opt,name=latitude,proto3" json:"latitude,omitempty"` // 经度
  886. Longitude float64 `protobuf:"fixed64,3,opt,name=longitude,proto3" json:"longitude,omitempty"` // 纬度
  887. }
  888. func (x *Location) Reset() {
  889. *x = Location{}
  890. if protoimpl.UnsafeEnabled {
  891. mi := &file_connect_ext_proto_msgTypes[7]
  892. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  893. ms.StoreMessageInfo(mi)
  894. }
  895. }
  896. func (x *Location) String() string {
  897. return protoimpl.X.MessageStringOf(x)
  898. }
  899. func (*Location) ProtoMessage() {}
  900. func (x *Location) ProtoReflect() protoreflect.Message {
  901. mi := &file_connect_ext_proto_msgTypes[7]
  902. if protoimpl.UnsafeEnabled && x != nil {
  903. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  904. if ms.LoadMessageInfo() == nil {
  905. ms.StoreMessageInfo(mi)
  906. }
  907. return ms
  908. }
  909. return mi.MessageOf(x)
  910. }
  911. // Deprecated: Use Location.ProtoReflect.Descriptor instead.
  912. func (*Location) Descriptor() ([]byte, []int) {
  913. return file_connect_ext_proto_rawDescGZIP(), []int{7}
  914. }
  915. func (x *Location) GetDesc() string {
  916. if x != nil {
  917. return x.Desc
  918. }
  919. return ""
  920. }
  921. func (x *Location) GetLatitude() float64 {
  922. if x != nil {
  923. return x.Latitude
  924. }
  925. return 0
  926. }
  927. func (x *Location) GetLongitude() float64 {
  928. if x != nil {
  929. return x.Longitude
  930. }
  931. return 0
  932. }
  933. // Command 指令推送,1000以下,IM内部用,1000以上,留给业务用
  934. type Command struct {
  935. state protoimpl.MessageState
  936. sizeCache protoimpl.SizeCache
  937. unknownFields protoimpl.UnknownFields
  938. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 指令码
  939. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // 数据内容
  940. }
  941. func (x *Command) Reset() {
  942. *x = Command{}
  943. if protoimpl.UnsafeEnabled {
  944. mi := &file_connect_ext_proto_msgTypes[8]
  945. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  946. ms.StoreMessageInfo(mi)
  947. }
  948. }
  949. func (x *Command) String() string {
  950. return protoimpl.X.MessageStringOf(x)
  951. }
  952. func (*Command) ProtoMessage() {}
  953. func (x *Command) ProtoReflect() protoreflect.Message {
  954. mi := &file_connect_ext_proto_msgTypes[8]
  955. if protoimpl.UnsafeEnabled && x != nil {
  956. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  957. if ms.LoadMessageInfo() == nil {
  958. ms.StoreMessageInfo(mi)
  959. }
  960. return ms
  961. }
  962. return mi.MessageOf(x)
  963. }
  964. // Deprecated: Use Command.ProtoReflect.Descriptor instead.
  965. func (*Command) Descriptor() ([]byte, []int) {
  966. return file_connect_ext_proto_rawDescGZIP(), []int{8}
  967. }
  968. func (x *Command) GetCode() int32 {
  969. if x != nil {
  970. return x.Code
  971. }
  972. return 0
  973. }
  974. func (x *Command) GetData() []byte {
  975. if x != nil {
  976. return x.Data
  977. }
  978. return nil
  979. }
  980. // 自定义消息
  981. type Custom struct {
  982. state protoimpl.MessageState
  983. sizeCache protoimpl.SizeCache
  984. unknownFields protoimpl.UnknownFields
  985. Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // 自定义数据
  986. }
  987. func (x *Custom) Reset() {
  988. *x = Custom{}
  989. if protoimpl.UnsafeEnabled {
  990. mi := &file_connect_ext_proto_msgTypes[9]
  991. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  992. ms.StoreMessageInfo(mi)
  993. }
  994. }
  995. func (x *Custom) String() string {
  996. return protoimpl.X.MessageStringOf(x)
  997. }
  998. func (*Custom) ProtoMessage() {}
  999. func (x *Custom) ProtoReflect() protoreflect.Message {
  1000. mi := &file_connect_ext_proto_msgTypes[9]
  1001. if protoimpl.UnsafeEnabled && x != nil {
  1002. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1003. if ms.LoadMessageInfo() == nil {
  1004. ms.StoreMessageInfo(mi)
  1005. }
  1006. return ms
  1007. }
  1008. return mi.MessageOf(x)
  1009. }
  1010. // Deprecated: Use Custom.ProtoReflect.Descriptor instead.
  1011. func (*Custom) Descriptor() ([]byte, []int) {
  1012. return file_connect_ext_proto_rawDescGZIP(), []int{9}
  1013. }
  1014. func (x *Custom) GetData() string {
  1015. if x != nil {
  1016. return x.Data
  1017. }
  1018. return ""
  1019. }
  1020. // 撤回消息
  1021. type RECALL struct {
  1022. state protoimpl.MessageState
  1023. sizeCache protoimpl.SizeCache
  1024. unknownFields protoimpl.UnknownFields
  1025. RecallSeq int64 `protobuf:"varint,1,opt,name=recall_seq,json=recallSeq,proto3" json:"recall_seq,omitempty"` // 撤回消息seq
  1026. }
  1027. func (x *RECALL) Reset() {
  1028. *x = RECALL{}
  1029. if protoimpl.UnsafeEnabled {
  1030. mi := &file_connect_ext_proto_msgTypes[10]
  1031. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1032. ms.StoreMessageInfo(mi)
  1033. }
  1034. }
  1035. func (x *RECALL) String() string {
  1036. return protoimpl.X.MessageStringOf(x)
  1037. }
  1038. func (*RECALL) ProtoMessage() {}
  1039. func (x *RECALL) ProtoReflect() protoreflect.Message {
  1040. mi := &file_connect_ext_proto_msgTypes[10]
  1041. if protoimpl.UnsafeEnabled && x != nil {
  1042. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1043. if ms.LoadMessageInfo() == nil {
  1044. ms.StoreMessageInfo(mi)
  1045. }
  1046. return ms
  1047. }
  1048. return mi.MessageOf(x)
  1049. }
  1050. // Deprecated: Use RECALL.ProtoReflect.Descriptor instead.
  1051. func (*RECALL) Descriptor() ([]byte, []int) {
  1052. return file_connect_ext_proto_rawDescGZIP(), []int{10}
  1053. }
  1054. func (x *RECALL) GetRecallSeq() int64 {
  1055. if x != nil {
  1056. return x.RecallSeq
  1057. }
  1058. return 0
  1059. }
  1060. // 红包消息
  1061. type RED_PACKAGE struct {
  1062. state protoimpl.MessageState
  1063. sizeCache protoimpl.SizeCache
  1064. unknownFields protoimpl.UnknownFields
  1065. RedMessageType RedPacketMessageType `protobuf:"varint,1,opt,name=red_message_type,json=redMessageType,proto3,enum=pb.RedPacketMessageType" json:"red_message_type,omitempty"` // 红包消息类型
  1066. RedPacketType RedPacketType `protobuf:"varint,2,opt,name=red_packet_type,json=redPacketType,proto3,enum=pb.RedPacketType" json:"red_packet_type,omitempty"` // 红包类型
  1067. RedPacketContent string `protobuf:"bytes,3,opt,name=red_packet_content,json=redPacketContent,proto3" json:"red_packet_content,omitempty"` // 红包文字内容
  1068. RedPacketAmount float32 `protobuf:"fixed32,6,opt,name=red_packet_amount,json=redPacketAmount,proto3" json:"red_packet_amount,omitempty"` // 红包金额
  1069. RedPacketNums int32 `protobuf:"varint,5,opt,name=red_packet_nums,json=redPacketNums,proto3" json:"red_packet_nums,omitempty"` // 红包数量
  1070. RedPacketBalanceAmount float32 `protobuf:"fixed32,7,opt,name=red_packet_balance_amount,json=redPacketBalanceAmount,proto3" json:"red_packet_balance_amount,omitempty"` // 红包余额
  1071. ReceivedUserId int64 `protobuf:"varint,8,opt,name=received_user_id,json=receivedUserId,proto3" json:"received_user_id,omitempty"` // 领取用户id
  1072. ReceivedUserAmount float32 `protobuf:"fixed32,9,opt,name=received_user_amount,json=receivedUserAmount,proto3" json:"received_user_amount,omitempty"` // 领取用户金额
  1073. ReceivedUserNickname string `protobuf:"bytes,10,opt,name=received_user_nickname,json=receivedUserNickname,proto3" json:"received_user_nickname,omitempty"` // 领取用户昵称
  1074. RedPacketStatusType RedPacketStatusType `protobuf:"varint,11,opt,name=red_packet_status_type,json=redPacketStatusType,proto3,enum=pb.RedPacketStatusType" json:"red_packet_status_type,omitempty"` // 领取状态
  1075. RedPacketId int64 `protobuf:"varint,12,opt,name=red_packet_id,json=redPacketId,proto3" json:"red_packet_id,omitempty"` // 红包id
  1076. SendRedPacketUid int64 `protobuf:"varint,13,opt,name=send_red_packet_uid,json=sendRedPacketUid,proto3" json:"send_red_packet_uid,omitempty"` // 红包发送者uid
  1077. SendRedPacketNickname string `protobuf:"bytes,14,opt,name=send_red_packet_nickname,json=sendRedPacketNickname,proto3" json:"send_red_packet_nickname,omitempty"` // 红包发送者昵称
  1078. SendRedPacketAvatarUrl string `protobuf:"bytes,15,opt,name=send_red_packet_avatar_url,json=sendRedPacketAvatarUrl,proto3" json:"send_red_packet_avatar_url,omitempty"` // 红包发送者头像
  1079. RedPacketSmallContent string `protobuf:"bytes,16,opt,name=red_packet_small_content,json=redPacketSmallContent,proto3" json:"red_packet_small_content,omitempty"` // 红包小文字内容
  1080. RedPacketCover string `protobuf:"bytes,17,opt,name=red_packet_cover,json=redPacketCover,proto3" json:"red_packet_cover,omitempty"` // 红包封面
  1081. }
  1082. func (x *RED_PACKAGE) Reset() {
  1083. *x = RED_PACKAGE{}
  1084. if protoimpl.UnsafeEnabled {
  1085. mi := &file_connect_ext_proto_msgTypes[11]
  1086. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1087. ms.StoreMessageInfo(mi)
  1088. }
  1089. }
  1090. func (x *RED_PACKAGE) String() string {
  1091. return protoimpl.X.MessageStringOf(x)
  1092. }
  1093. func (*RED_PACKAGE) ProtoMessage() {}
  1094. func (x *RED_PACKAGE) ProtoReflect() protoreflect.Message {
  1095. mi := &file_connect_ext_proto_msgTypes[11]
  1096. if protoimpl.UnsafeEnabled && x != nil {
  1097. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1098. if ms.LoadMessageInfo() == nil {
  1099. ms.StoreMessageInfo(mi)
  1100. }
  1101. return ms
  1102. }
  1103. return mi.MessageOf(x)
  1104. }
  1105. // Deprecated: Use RED_PACKAGE.ProtoReflect.Descriptor instead.
  1106. func (*RED_PACKAGE) Descriptor() ([]byte, []int) {
  1107. return file_connect_ext_proto_rawDescGZIP(), []int{11}
  1108. }
  1109. func (x *RED_PACKAGE) GetRedMessageType() RedPacketMessageType {
  1110. if x != nil {
  1111. return x.RedMessageType
  1112. }
  1113. return RedPacketMessageType_RMT_UNKNOWN
  1114. }
  1115. func (x *RED_PACKAGE) GetRedPacketType() RedPacketType {
  1116. if x != nil {
  1117. return x.RedPacketType
  1118. }
  1119. return RedPacketType_RPT_UNKNOWN
  1120. }
  1121. func (x *RED_PACKAGE) GetRedPacketContent() string {
  1122. if x != nil {
  1123. return x.RedPacketContent
  1124. }
  1125. return ""
  1126. }
  1127. func (x *RED_PACKAGE) GetRedPacketAmount() float32 {
  1128. if x != nil {
  1129. return x.RedPacketAmount
  1130. }
  1131. return 0
  1132. }
  1133. func (x *RED_PACKAGE) GetRedPacketNums() int32 {
  1134. if x != nil {
  1135. return x.RedPacketNums
  1136. }
  1137. return 0
  1138. }
  1139. func (x *RED_PACKAGE) GetRedPacketBalanceAmount() float32 {
  1140. if x != nil {
  1141. return x.RedPacketBalanceAmount
  1142. }
  1143. return 0
  1144. }
  1145. func (x *RED_PACKAGE) GetReceivedUserId() int64 {
  1146. if x != nil {
  1147. return x.ReceivedUserId
  1148. }
  1149. return 0
  1150. }
  1151. func (x *RED_PACKAGE) GetReceivedUserAmount() float32 {
  1152. if x != nil {
  1153. return x.ReceivedUserAmount
  1154. }
  1155. return 0
  1156. }
  1157. func (x *RED_PACKAGE) GetReceivedUserNickname() string {
  1158. if x != nil {
  1159. return x.ReceivedUserNickname
  1160. }
  1161. return ""
  1162. }
  1163. func (x *RED_PACKAGE) GetRedPacketStatusType() RedPacketStatusType {
  1164. if x != nil {
  1165. return x.RedPacketStatusType
  1166. }
  1167. return RedPacketStatusType_RPS_NOT_DRAW
  1168. }
  1169. func (x *RED_PACKAGE) GetRedPacketId() int64 {
  1170. if x != nil {
  1171. return x.RedPacketId
  1172. }
  1173. return 0
  1174. }
  1175. func (x *RED_PACKAGE) GetSendRedPacketUid() int64 {
  1176. if x != nil {
  1177. return x.SendRedPacketUid
  1178. }
  1179. return 0
  1180. }
  1181. func (x *RED_PACKAGE) GetSendRedPacketNickname() string {
  1182. if x != nil {
  1183. return x.SendRedPacketNickname
  1184. }
  1185. return ""
  1186. }
  1187. func (x *RED_PACKAGE) GetSendRedPacketAvatarUrl() string {
  1188. if x != nil {
  1189. return x.SendRedPacketAvatarUrl
  1190. }
  1191. return ""
  1192. }
  1193. func (x *RED_PACKAGE) GetRedPacketSmallContent() string {
  1194. if x != nil {
  1195. return x.RedPacketSmallContent
  1196. }
  1197. return ""
  1198. }
  1199. func (x *RED_PACKAGE) GetRedPacketCover() string {
  1200. if x != nil {
  1201. return x.RedPacketCover
  1202. }
  1203. return ""
  1204. }
  1205. // 上行数据
  1206. type Input struct {
  1207. state protoimpl.MessageState
  1208. sizeCache protoimpl.SizeCache
  1209. unknownFields protoimpl.UnknownFields
  1210. Type PackageType `protobuf:"varint,1,opt,name=type,proto3,enum=pb.PackageType" json:"type,omitempty"` // 包的类型
  1211. RequestId int64 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 请求id
  1212. Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // 数据
  1213. }
  1214. func (x *Input) Reset() {
  1215. *x = Input{}
  1216. if protoimpl.UnsafeEnabled {
  1217. mi := &file_connect_ext_proto_msgTypes[12]
  1218. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1219. ms.StoreMessageInfo(mi)
  1220. }
  1221. }
  1222. func (x *Input) String() string {
  1223. return protoimpl.X.MessageStringOf(x)
  1224. }
  1225. func (*Input) ProtoMessage() {}
  1226. func (x *Input) ProtoReflect() protoreflect.Message {
  1227. mi := &file_connect_ext_proto_msgTypes[12]
  1228. if protoimpl.UnsafeEnabled && x != nil {
  1229. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1230. if ms.LoadMessageInfo() == nil {
  1231. ms.StoreMessageInfo(mi)
  1232. }
  1233. return ms
  1234. }
  1235. return mi.MessageOf(x)
  1236. }
  1237. // Deprecated: Use Input.ProtoReflect.Descriptor instead.
  1238. func (*Input) Descriptor() ([]byte, []int) {
  1239. return file_connect_ext_proto_rawDescGZIP(), []int{12}
  1240. }
  1241. func (x *Input) GetType() PackageType {
  1242. if x != nil {
  1243. return x.Type
  1244. }
  1245. return PackageType_PT_UNKNOWN
  1246. }
  1247. func (x *Input) GetRequestId() int64 {
  1248. if x != nil {
  1249. return x.RequestId
  1250. }
  1251. return 0
  1252. }
  1253. func (x *Input) GetData() []byte {
  1254. if x != nil {
  1255. return x.Data
  1256. }
  1257. return nil
  1258. }
  1259. // 下行数据
  1260. type Output struct {
  1261. state protoimpl.MessageState
  1262. sizeCache protoimpl.SizeCache
  1263. unknownFields protoimpl.UnknownFields
  1264. Type PackageType `protobuf:"varint,1,opt,name=type,proto3,enum=pb.PackageType" json:"type,omitempty"` // 包的类型
  1265. RequestId int64 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 请求id
  1266. Code int32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"` // 错误码
  1267. Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // 错误信息
  1268. Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // 数据
  1269. }
  1270. func (x *Output) Reset() {
  1271. *x = Output{}
  1272. if protoimpl.UnsafeEnabled {
  1273. mi := &file_connect_ext_proto_msgTypes[13]
  1274. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1275. ms.StoreMessageInfo(mi)
  1276. }
  1277. }
  1278. func (x *Output) String() string {
  1279. return protoimpl.X.MessageStringOf(x)
  1280. }
  1281. func (*Output) ProtoMessage() {}
  1282. func (x *Output) ProtoReflect() protoreflect.Message {
  1283. mi := &file_connect_ext_proto_msgTypes[13]
  1284. if protoimpl.UnsafeEnabled && x != nil {
  1285. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1286. if ms.LoadMessageInfo() == nil {
  1287. ms.StoreMessageInfo(mi)
  1288. }
  1289. return ms
  1290. }
  1291. return mi.MessageOf(x)
  1292. }
  1293. // Deprecated: Use Output.ProtoReflect.Descriptor instead.
  1294. func (*Output) Descriptor() ([]byte, []int) {
  1295. return file_connect_ext_proto_rawDescGZIP(), []int{13}
  1296. }
  1297. func (x *Output) GetType() PackageType {
  1298. if x != nil {
  1299. return x.Type
  1300. }
  1301. return PackageType_PT_UNKNOWN
  1302. }
  1303. func (x *Output) GetRequestId() int64 {
  1304. if x != nil {
  1305. return x.RequestId
  1306. }
  1307. return 0
  1308. }
  1309. func (x *Output) GetCode() int32 {
  1310. if x != nil {
  1311. return x.Code
  1312. }
  1313. return 0
  1314. }
  1315. func (x *Output) GetMessage() string {
  1316. if x != nil {
  1317. return x.Message
  1318. }
  1319. return ""
  1320. }
  1321. func (x *Output) GetData() []byte {
  1322. if x != nil {
  1323. return x.Data
  1324. }
  1325. return nil
  1326. }
  1327. // 设备登录,package_type:1
  1328. type SignInInput struct {
  1329. state protoimpl.MessageState
  1330. sizeCache protoimpl.SizeCache
  1331. unknownFields protoimpl.UnknownFields
  1332. DeviceId int64 `protobuf:"varint,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // 设备id
  1333. UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  1334. Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // 秘钥
  1335. }
  1336. func (x *SignInInput) Reset() {
  1337. *x = SignInInput{}
  1338. if protoimpl.UnsafeEnabled {
  1339. mi := &file_connect_ext_proto_msgTypes[14]
  1340. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1341. ms.StoreMessageInfo(mi)
  1342. }
  1343. }
  1344. func (x *SignInInput) String() string {
  1345. return protoimpl.X.MessageStringOf(x)
  1346. }
  1347. func (*SignInInput) ProtoMessage() {}
  1348. func (x *SignInInput) ProtoReflect() protoreflect.Message {
  1349. mi := &file_connect_ext_proto_msgTypes[14]
  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 SignInInput.ProtoReflect.Descriptor instead.
  1360. func (*SignInInput) Descriptor() ([]byte, []int) {
  1361. return file_connect_ext_proto_rawDescGZIP(), []int{14}
  1362. }
  1363. func (x *SignInInput) GetDeviceId() int64 {
  1364. if x != nil {
  1365. return x.DeviceId
  1366. }
  1367. return 0
  1368. }
  1369. func (x *SignInInput) GetUserId() int64 {
  1370. if x != nil {
  1371. return x.UserId
  1372. }
  1373. return 0
  1374. }
  1375. func (x *SignInInput) GetToken() string {
  1376. if x != nil {
  1377. return x.Token
  1378. }
  1379. return ""
  1380. }
  1381. // 消息同步请求,package_type:2
  1382. type SyncInput struct {
  1383. state protoimpl.MessageState
  1384. sizeCache protoimpl.SizeCache
  1385. unknownFields protoimpl.UnknownFields
  1386. Seq int64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` // 客户端已经同步的序列号
  1387. }
  1388. func (x *SyncInput) Reset() {
  1389. *x = SyncInput{}
  1390. if protoimpl.UnsafeEnabled {
  1391. mi := &file_connect_ext_proto_msgTypes[15]
  1392. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1393. ms.StoreMessageInfo(mi)
  1394. }
  1395. }
  1396. func (x *SyncInput) String() string {
  1397. return protoimpl.X.MessageStringOf(x)
  1398. }
  1399. func (*SyncInput) ProtoMessage() {}
  1400. func (x *SyncInput) ProtoReflect() protoreflect.Message {
  1401. mi := &file_connect_ext_proto_msgTypes[15]
  1402. if protoimpl.UnsafeEnabled && x != nil {
  1403. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1404. if ms.LoadMessageInfo() == nil {
  1405. ms.StoreMessageInfo(mi)
  1406. }
  1407. return ms
  1408. }
  1409. return mi.MessageOf(x)
  1410. }
  1411. // Deprecated: Use SyncInput.ProtoReflect.Descriptor instead.
  1412. func (*SyncInput) Descriptor() ([]byte, []int) {
  1413. return file_connect_ext_proto_rawDescGZIP(), []int{15}
  1414. }
  1415. func (x *SyncInput) GetSeq() int64 {
  1416. if x != nil {
  1417. return x.Seq
  1418. }
  1419. return 0
  1420. }
  1421. // 消息同步响应,package_type:2
  1422. type SyncOutput struct {
  1423. state protoimpl.MessageState
  1424. sizeCache protoimpl.SizeCache
  1425. unknownFields protoimpl.UnknownFields
  1426. Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // 消息列表
  1427. HasMore bool `protobuf:"varint,2,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"` // 是否有更多数据
  1428. }
  1429. func (x *SyncOutput) Reset() {
  1430. *x = SyncOutput{}
  1431. if protoimpl.UnsafeEnabled {
  1432. mi := &file_connect_ext_proto_msgTypes[16]
  1433. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1434. ms.StoreMessageInfo(mi)
  1435. }
  1436. }
  1437. func (x *SyncOutput) String() string {
  1438. return protoimpl.X.MessageStringOf(x)
  1439. }
  1440. func (*SyncOutput) ProtoMessage() {}
  1441. func (x *SyncOutput) ProtoReflect() protoreflect.Message {
  1442. mi := &file_connect_ext_proto_msgTypes[16]
  1443. if protoimpl.UnsafeEnabled && x != nil {
  1444. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1445. if ms.LoadMessageInfo() == nil {
  1446. ms.StoreMessageInfo(mi)
  1447. }
  1448. return ms
  1449. }
  1450. return mi.MessageOf(x)
  1451. }
  1452. // Deprecated: Use SyncOutput.ProtoReflect.Descriptor instead.
  1453. func (*SyncOutput) Descriptor() ([]byte, []int) {
  1454. return file_connect_ext_proto_rawDescGZIP(), []int{16}
  1455. }
  1456. func (x *SyncOutput) GetMessages() []*Message {
  1457. if x != nil {
  1458. return x.Messages
  1459. }
  1460. return nil
  1461. }
  1462. func (x *SyncOutput) GetHasMore() bool {
  1463. if x != nil {
  1464. return x.HasMore
  1465. }
  1466. return false
  1467. }
  1468. // 订阅房间请求
  1469. type SubscribeRoomInput struct {
  1470. state protoimpl.MessageState
  1471. sizeCache protoimpl.SizeCache
  1472. unknownFields protoimpl.UnknownFields
  1473. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // 房间ID,如果为0,取消房间订阅
  1474. Seq int64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"` // 消息消息序列号,
  1475. }
  1476. func (x *SubscribeRoomInput) Reset() {
  1477. *x = SubscribeRoomInput{}
  1478. if protoimpl.UnsafeEnabled {
  1479. mi := &file_connect_ext_proto_msgTypes[17]
  1480. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1481. ms.StoreMessageInfo(mi)
  1482. }
  1483. }
  1484. func (x *SubscribeRoomInput) String() string {
  1485. return protoimpl.X.MessageStringOf(x)
  1486. }
  1487. func (*SubscribeRoomInput) ProtoMessage() {}
  1488. func (x *SubscribeRoomInput) ProtoReflect() protoreflect.Message {
  1489. mi := &file_connect_ext_proto_msgTypes[17]
  1490. if protoimpl.UnsafeEnabled && x != nil {
  1491. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1492. if ms.LoadMessageInfo() == nil {
  1493. ms.StoreMessageInfo(mi)
  1494. }
  1495. return ms
  1496. }
  1497. return mi.MessageOf(x)
  1498. }
  1499. // Deprecated: Use SubscribeRoomInput.ProtoReflect.Descriptor instead.
  1500. func (*SubscribeRoomInput) Descriptor() ([]byte, []int) {
  1501. return file_connect_ext_proto_rawDescGZIP(), []int{17}
  1502. }
  1503. func (x *SubscribeRoomInput) GetRoomId() int64 {
  1504. if x != nil {
  1505. return x.RoomId
  1506. }
  1507. return 0
  1508. }
  1509. func (x *SubscribeRoomInput) GetSeq() int64 {
  1510. if x != nil {
  1511. return x.Seq
  1512. }
  1513. return 0
  1514. }
  1515. // 消息投递,package_type:4
  1516. type MessageSend struct {
  1517. state protoimpl.MessageState
  1518. sizeCache protoimpl.SizeCache
  1519. unknownFields protoimpl.UnknownFields
  1520. Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // 消息
  1521. }
  1522. func (x *MessageSend) Reset() {
  1523. *x = MessageSend{}
  1524. if protoimpl.UnsafeEnabled {
  1525. mi := &file_connect_ext_proto_msgTypes[18]
  1526. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1527. ms.StoreMessageInfo(mi)
  1528. }
  1529. }
  1530. func (x *MessageSend) String() string {
  1531. return protoimpl.X.MessageStringOf(x)
  1532. }
  1533. func (*MessageSend) ProtoMessage() {}
  1534. func (x *MessageSend) ProtoReflect() protoreflect.Message {
  1535. mi := &file_connect_ext_proto_msgTypes[18]
  1536. if protoimpl.UnsafeEnabled && x != nil {
  1537. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1538. if ms.LoadMessageInfo() == nil {
  1539. ms.StoreMessageInfo(mi)
  1540. }
  1541. return ms
  1542. }
  1543. return mi.MessageOf(x)
  1544. }
  1545. // Deprecated: Use MessageSend.ProtoReflect.Descriptor instead.
  1546. func (*MessageSend) Descriptor() ([]byte, []int) {
  1547. return file_connect_ext_proto_rawDescGZIP(), []int{18}
  1548. }
  1549. func (x *MessageSend) GetMessage() *Message {
  1550. if x != nil {
  1551. return x.Message
  1552. }
  1553. return nil
  1554. }
  1555. // 投递消息回执,package_type:4
  1556. type MessageACK struct {
  1557. state protoimpl.MessageState
  1558. sizeCache protoimpl.SizeCache
  1559. unknownFields protoimpl.UnknownFields
  1560. DeviceAck int64 `protobuf:"varint,2,opt,name=device_ack,json=deviceAck,proto3" json:"device_ack,omitempty"` // 设备收到消息的确认号
  1561. ReceiveTime int64 `protobuf:"varint,3,opt,name=receive_time,json=receiveTime,proto3" json:"receive_time,omitempty"` // 消息接收时间戳,精确到毫秒
  1562. }
  1563. func (x *MessageACK) Reset() {
  1564. *x = MessageACK{}
  1565. if protoimpl.UnsafeEnabled {
  1566. mi := &file_connect_ext_proto_msgTypes[19]
  1567. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1568. ms.StoreMessageInfo(mi)
  1569. }
  1570. }
  1571. func (x *MessageACK) String() string {
  1572. return protoimpl.X.MessageStringOf(x)
  1573. }
  1574. func (*MessageACK) ProtoMessage() {}
  1575. func (x *MessageACK) ProtoReflect() protoreflect.Message {
  1576. mi := &file_connect_ext_proto_msgTypes[19]
  1577. if protoimpl.UnsafeEnabled && x != nil {
  1578. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1579. if ms.LoadMessageInfo() == nil {
  1580. ms.StoreMessageInfo(mi)
  1581. }
  1582. return ms
  1583. }
  1584. return mi.MessageOf(x)
  1585. }
  1586. // Deprecated: Use MessageACK.ProtoReflect.Descriptor instead.
  1587. func (*MessageACK) Descriptor() ([]byte, []int) {
  1588. return file_connect_ext_proto_rawDescGZIP(), []int{19}
  1589. }
  1590. func (x *MessageACK) GetDeviceAck() int64 {
  1591. if x != nil {
  1592. return x.DeviceAck
  1593. }
  1594. return 0
  1595. }
  1596. func (x *MessageACK) GetReceiveTime() int64 {
  1597. if x != nil {
  1598. return x.ReceiveTime
  1599. }
  1600. return 0
  1601. }
  1602. var File_connect_ext_proto protoreflect.FileDescriptor
  1603. var file_connect_ext_proto_rawDesc = []byte{
  1604. 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72,
  1605. 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xdc, 0x02, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73,
  1606. 0x61, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20,
  1607. 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52,
  1608. 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69,
  1609. 0x76, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10,
  1610. 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65,
  1611. 0x52, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f,
  1612. 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
  1613. 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12,
  1614. 0x1e, 0x0a, 0x0b, 0x74, 0x6f, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04,
  1615. 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12,
  1616. 0x32, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
  1617. 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
  1618. 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54,
  1619. 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x63,
  1620. 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6d, 0x65,
  1621. 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03,
  1622. 0x73, 0x65, 0x71, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x71, 0x12, 0x1b,
  1623. 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
  1624. 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x73,
  1625. 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x70, 0x62,
  1626. 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06,
  1627. 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x06, 0x53, 0x65, 0x6e, 0x64, 0x65,
  1628. 0x72, 0x12, 0x2f, 0x0a, 0x0b, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65,
  1629. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x6e, 0x64,
  1630. 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x54, 0x79,
  1631. 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
  1632. 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12,
  1633. 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
  1634. 0x28, 0x03, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a,
  1635. 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
  1636. 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6e,
  1637. 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e,
  1638. 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61,
  1639. 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x1a, 0x0a,
  1640. 0x04, 0x54, 0x65, 0x78, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20,
  1641. 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x22, 0x3a, 0x0a, 0x04, 0x46, 0x61, 0x63,
  1642. 0x65, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1643. 0x28, 0x03, 0x52, 0x06, 0x66, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x61,
  1644. 0x63, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x61,
  1645. 0x63, 0x65, 0x55, 0x72, 0x6c, 0x22, 0x59, 0x0a, 0x05, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x0e,
  1646. 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12,
  1647. 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69,
  1648. 0x7a, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
  1649. 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10,
  1650. 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c,
  1651. 0x22, 0x7c, 0x0a, 0x05, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
  1652. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64,
  1653. 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12,
  1654. 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
  1655. 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x04,
  1656. 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x68, 0x75,
  1657. 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
  1658. 0x52, 0x0c, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x55, 0x72, 0x6c, 0x22, 0x50,
  1659. 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01,
  1660. 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0d,
  1661. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69,
  1662. 0x7a, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x10,
  1663. 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c,
  1664. 0x22, 0x58, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04,
  1665. 0x64, 0x65, 0x73, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, 0x73, 0x63,
  1666. 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01,
  1667. 0x28, 0x01, 0x52, 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09,
  1668. 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52,
  1669. 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x65, 0x22, 0x31, 0x0a, 0x07, 0x43, 0x6f,
  1670. 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
  1671. 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74,
  1672. 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x1c, 0x0a,
  1673. 0x06, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
  1674. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x27, 0x0a, 0x06, 0x52,
  1675. 0x45, 0x43, 0x41, 0x4c, 0x4c, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x5f,
  1676. 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x63, 0x61, 0x6c,
  1677. 0x6c, 0x53, 0x65, 0x71, 0x22, 0xd4, 0x06, 0x0a, 0x0b, 0x52, 0x45, 0x44, 0x5f, 0x50, 0x41, 0x43,
  1678. 0x4b, 0x41, 0x47, 0x45, 0x12, 0x42, 0x0a, 0x10, 0x72, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73,
  1679. 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18,
  1680. 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x4d, 0x65, 0x73,
  1681. 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x72, 0x65, 0x64, 0x4d, 0x65, 0x73,
  1682. 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x39, 0x0a, 0x0f, 0x72, 0x65, 0x64, 0x5f,
  1683. 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  1684. 0x0e, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74,
  1685. 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x54,
  1686. 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65,
  1687. 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  1688. 0x10, 0x72, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
  1689. 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f,
  1690. 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0f, 0x72, 0x65,
  1691. 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x26, 0x0a,
  1692. 0x0f, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x73,
  1693. 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65,
  1694. 0x74, 0x4e, 0x75, 0x6d, 0x73, 0x12, 0x39, 0x0a, 0x19, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63,
  1695. 0x6b, 0x65, 0x74, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75,
  1696. 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x02, 0x52, 0x16, 0x72, 0x65, 0x64, 0x50, 0x61, 0x63,
  1697. 0x6b, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
  1698. 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65,
  1699. 0x72, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72, 0x65, 0x63, 0x65,
  1700. 0x69, 0x76, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x72, 0x65,
  1701. 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x6d, 0x6f, 0x75,
  1702. 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x02, 0x52, 0x12, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76,
  1703. 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x16,
  1704. 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x69,
  1705. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x72, 0x65,
  1706. 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61,
  1707. 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x16, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74,
  1708. 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01,
  1709. 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65,
  1710. 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x13, 0x72, 0x65, 0x64,
  1711. 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65,
  1712. 0x12, 0x22, 0x0a, 0x0d, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x69,
  1713. 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x72, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b,
  1714. 0x65, 0x74, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x13, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x72, 0x65, 0x64,
  1715. 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28,
  1716. 0x03, 0x52, 0x10, 0x73, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74,
  1717. 0x55, 0x69, 0x64, 0x12, 0x37, 0x0a, 0x18, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x72, 0x65, 0x64, 0x5f,
  1718. 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  1719. 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x73, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x64, 0x50, 0x61,
  1720. 0x63, 0x6b, 0x65, 0x74, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x1a,
  1721. 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f,
  1722. 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09,
  1723. 0x52, 0x16, 0x73, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x41,
  1724. 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x37, 0x0a, 0x18, 0x72, 0x65, 0x64, 0x5f,
  1725. 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x5f, 0x63, 0x6f, 0x6e,
  1726. 0x74, 0x65, 0x6e, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x72, 0x65, 0x64, 0x50,
  1727. 0x61, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x6d, 0x61, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
  1728. 0x74, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f,
  1729. 0x63, 0x6f, 0x76, 0x65, 0x72, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x64,
  1730. 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x76, 0x65, 0x72, 0x22, 0x5f, 0x0a, 0x05, 0x49,
  1731. 0x6e, 0x70, 0x75, 0x74, 0x12, 0x23, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
  1732. 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54,
  1733. 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71,
  1734. 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72,
  1735. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
  1736. 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x8e, 0x01, 0x0a,
  1737. 0x06, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x23, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
  1738. 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61,
  1739. 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
  1740. 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
  1741. 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63,
  1742. 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12,
  1743. 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
  1744. 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74,
  1745. 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x59, 0x0a,
  1746. 0x0b, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x1b, 0x0a, 0x09,
  1747. 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
  1748. 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65,
  1749. 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72,
  1750. 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
  1751. 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x1d, 0x0a, 0x09, 0x53, 0x79, 0x6e, 0x63,
  1752. 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01,
  1753. 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x71, 0x22, 0x50, 0x0a, 0x0a, 0x53, 0x79, 0x6e, 0x63, 0x4f,
  1754. 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x27, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1755. 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73,
  1756. 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x19,
  1757. 0x0a, 0x08, 0x68, 0x61, 0x73, 0x5f, 0x6d, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
  1758. 0x52, 0x07, 0x68, 0x61, 0x73, 0x4d, 0x6f, 0x72, 0x65, 0x22, 0x3f, 0x0a, 0x12, 0x53, 0x75, 0x62,
  1759. 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12,
  1760. 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  1761. 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18,
  1762. 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x71, 0x22, 0x34, 0x0a, 0x0b, 0x4d, 0x65,
  1763. 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x6e, 0x64, 0x12, 0x25, 0x0a, 0x07, 0x6d, 0x65, 0x73,
  1764. 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e,
  1765. 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  1766. 0x22, 0x4e, 0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x43, 0x4b, 0x12, 0x1d,
  1767. 0x0a, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01,
  1768. 0x28, 0x03, 0x52, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x6b, 0x12, 0x21, 0x0a,
  1769. 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20,
  1770. 0x01, 0x28, 0x03, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65,
  1771. 0x2a, 0x73, 0x0a, 0x0b, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12,
  1772. 0x0e, 0x0a, 0x0a, 0x50, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12,
  1773. 0x0e, 0x0a, 0x0a, 0x50, 0x54, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x49, 0x4e, 0x10, 0x01, 0x12,
  1774. 0x0b, 0x0a, 0x07, 0x50, 0x54, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c,
  1775. 0x50, 0x54, 0x5f, 0x48, 0x45, 0x41, 0x52, 0x54, 0x42, 0x45, 0x41, 0x54, 0x10, 0x03, 0x12, 0x0e,
  1776. 0x0a, 0x0a, 0x50, 0x54, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x04, 0x12, 0x15,
  1777. 0x0a, 0x11, 0x50, 0x54, 0x5f, 0x53, 0x55, 0x42, 0x53, 0x43, 0x52, 0x49, 0x42, 0x45, 0x5f, 0x52,
  1778. 0x4f, 0x4f, 0x4d, 0x10, 0x05, 0x2a, 0xb3, 0x01, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  1779. 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e,
  1780. 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x54, 0x5f, 0x54, 0x45, 0x58, 0x54,
  1781. 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x54, 0x5f, 0x46, 0x41, 0x43, 0x45, 0x10, 0x02, 0x12,
  1782. 0x0c, 0x0a, 0x08, 0x4d, 0x54, 0x5f, 0x56, 0x4f, 0x49, 0x43, 0x45, 0x10, 0x03, 0x12, 0x0c, 0x0a,
  1783. 0x08, 0x4d, 0x54, 0x5f, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x4d,
  1784. 0x54, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x54, 0x5f, 0x4c,
  1785. 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x06, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x54, 0x5f,
  1786. 0x43, 0x4f, 0x4d, 0x4d, 0x41, 0x4e, 0x44, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x54, 0x5f,
  1787. 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, 0x08, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x54, 0x5f, 0x52,
  1788. 0x45, 0x43, 0x41, 0x4c, 0x4c, 0x10, 0x09, 0x12, 0x12, 0x0a, 0x0e, 0x4d, 0x54, 0x5f, 0x52, 0x45,
  1789. 0x44, 0x5f, 0x50, 0x41, 0x43, 0x4b, 0x41, 0x47, 0x45, 0x10, 0x0a, 0x2a, 0x87, 0x01, 0x0a, 0x0d,
  1790. 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a,
  1791. 0x0b, 0x52, 0x50, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0e,
  1792. 0x0a, 0x0a, 0x52, 0x50, 0x54, 0x5f, 0x46, 0x52, 0x49, 0x45, 0x4e, 0x44, 0x10, 0x01, 0x12, 0x14,
  1793. 0x0a, 0x10, 0x52, 0x50, 0x54, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x4e, 0x4f, 0x52, 0x4d,
  1794. 0x41, 0x4c, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x50, 0x54, 0x5f, 0x47, 0x52, 0x4f, 0x55,
  1795. 0x50, 0x5f, 0x4c, 0x55, 0x43, 0x4b, 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x50, 0x54, 0x5f,
  1796. 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x53, 0x50, 0x45, 0x43, 0x49, 0x41, 0x4c, 0x4c, 0x59, 0x10,
  1797. 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x50, 0x54, 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f,
  1798. 0x46, 0x4f, 0x52, 0x10, 0x05, 0x2a, 0x43, 0x0a, 0x14, 0x52, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b,
  1799. 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a,
  1800. 0x0b, 0x52, 0x4d, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0c,
  1801. 0x0a, 0x08, 0x52, 0x4d, 0x54, 0x5f, 0x53, 0x45, 0x4e, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08,
  1802. 0x52, 0x4d, 0x54, 0x5f, 0x47, 0x52, 0x41, 0x42, 0x10, 0x02, 0x2a, 0x5b, 0x0a, 0x13, 0x52, 0x65,
  1803. 0x64, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70,
  1804. 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x50, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x44, 0x52, 0x41,
  1805. 0x57, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x50, 0x53, 0x5f, 0x44, 0x52, 0x41, 0x57, 0x49,
  1806. 0x4e, 0x47, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x50, 0x53, 0x5f, 0x44, 0x52, 0x41, 0x57,
  1807. 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x50, 0x53, 0x5f, 0x45,
  1808. 0x58, 0x50, 0x49, 0x52, 0x45, 0x10, 0x03, 0x2a, 0x46, 0x0a, 0x0c, 0x52, 0x65, 0x63, 0x65, 0x69,
  1809. 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x54, 0x5f, 0x55, 0x4e,
  1810. 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x54, 0x5f, 0x55, 0x53,
  1811. 0x45, 0x52, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x54, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50,
  1812. 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x54, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x10, 0x03, 0x2a,
  1813. 0x49, 0x0a, 0x0a, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a,
  1814. 0x0a, 0x53, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a,
  1815. 0x09, 0x53, 0x54, 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07,
  1816. 0x53, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x54, 0x5f,
  1817. 0x42, 0x55, 0x53, 0x49, 0x4e, 0x45, 0x53, 0x53, 0x10, 0x03, 0x2a, 0x3d, 0x0a, 0x0d, 0x4d, 0x65,
  1818. 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0e, 0x0a, 0x0a, 0x4d,
  1819. 0x53, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4d,
  1820. 0x53, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x53,
  1821. 0x5f, 0x52, 0x45, 0x43, 0x41, 0x4c, 0x4c, 0x10, 0x02, 0x2a, 0x51, 0x0a, 0x13, 0x47, 0x72, 0x6f,
  1822. 0x75, 0x70, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65,
  1823. 0x12, 0x1c, 0x0a, 0x18, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x53,
  1824. 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x00, 0x12, 0x1c,
  1825. 0x0a, 0x18, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41,
  1826. 0x54, 0x55, 0x53, 0x5f, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x10, 0x01, 0x42, 0x0d, 0x5a, 0x0b,
  1827. 0x67, 0x69, 0x6d, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f,
  1828. 0x74, 0x6f, 0x33,
  1829. }
  1830. var (
  1831. file_connect_ext_proto_rawDescOnce sync.Once
  1832. file_connect_ext_proto_rawDescData = file_connect_ext_proto_rawDesc
  1833. )
  1834. func file_connect_ext_proto_rawDescGZIP() []byte {
  1835. file_connect_ext_proto_rawDescOnce.Do(func() {
  1836. file_connect_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_connect_ext_proto_rawDescData)
  1837. })
  1838. return file_connect_ext_proto_rawDescData
  1839. }
  1840. var file_connect_ext_proto_enumTypes = make([]protoimpl.EnumInfo, 9)
  1841. var file_connect_ext_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
  1842. var file_connect_ext_proto_goTypes = []interface{}{
  1843. (PackageType)(0), // 0: pb.PackageType
  1844. (MessageType)(0), // 1: pb.MessageType
  1845. (RedPacketType)(0), // 2: pb.RedPacketType
  1846. (RedPacketMessageType)(0), // 3: pb.RedPacketMessageType
  1847. (RedPacketStatusType)(0), // 4: pb.RedPacketStatusType
  1848. (ReceiverType)(0), // 5: pb.ReceiverType
  1849. (SenderType)(0), // 6: pb.SenderType
  1850. (MessageStatus)(0), // 7: pb.MessageStatus
  1851. (GroupUserStatusType)(0), // 8: pb.GroupUserStatusType
  1852. (*Message)(nil), // 9: pb.Message
  1853. (*Sender)(nil), // 10: pb.Sender
  1854. (*Text)(nil), // 11: pb.Text
  1855. (*Face)(nil), // 12: pb.Face
  1856. (*Voice)(nil), // 13: pb.Voice
  1857. (*Image)(nil), // 14: pb.Image
  1858. (*File)(nil), // 15: pb.File
  1859. (*Location)(nil), // 16: pb.Location
  1860. (*Command)(nil), // 17: pb.Command
  1861. (*Custom)(nil), // 18: pb.Custom
  1862. (*RECALL)(nil), // 19: pb.RECALL
  1863. (*RED_PACKAGE)(nil), // 20: pb.RED_PACKAGE
  1864. (*Input)(nil), // 21: pb.Input
  1865. (*Output)(nil), // 22: pb.Output
  1866. (*SignInInput)(nil), // 23: pb.SignInInput
  1867. (*SyncInput)(nil), // 24: pb.SyncInput
  1868. (*SyncOutput)(nil), // 25: pb.SyncOutput
  1869. (*SubscribeRoomInput)(nil), // 26: pb.SubscribeRoomInput
  1870. (*MessageSend)(nil), // 27: pb.MessageSend
  1871. (*MessageACK)(nil), // 28: pb.MessageACK
  1872. }
  1873. var file_connect_ext_proto_depIdxs = []int32{
  1874. 10, // 0: pb.Message.sender:type_name -> pb.Sender
  1875. 5, // 1: pb.Message.receiver_type:type_name -> pb.ReceiverType
  1876. 1, // 2: pb.Message.message_type:type_name -> pb.MessageType
  1877. 7, // 3: pb.Message.status:type_name -> pb.MessageStatus
  1878. 6, // 4: pb.Sender.sender_type:type_name -> pb.SenderType
  1879. 3, // 5: pb.RED_PACKAGE.red_message_type:type_name -> pb.RedPacketMessageType
  1880. 2, // 6: pb.RED_PACKAGE.red_packet_type:type_name -> pb.RedPacketType
  1881. 4, // 7: pb.RED_PACKAGE.red_packet_status_type:type_name -> pb.RedPacketStatusType
  1882. 0, // 8: pb.Input.type:type_name -> pb.PackageType
  1883. 0, // 9: pb.Output.type:type_name -> pb.PackageType
  1884. 9, // 10: pb.SyncOutput.messages:type_name -> pb.Message
  1885. 9, // 11: pb.MessageSend.message:type_name -> pb.Message
  1886. 12, // [12:12] is the sub-list for method output_type
  1887. 12, // [12:12] is the sub-list for method input_type
  1888. 12, // [12:12] is the sub-list for extension type_name
  1889. 12, // [12:12] is the sub-list for extension extendee
  1890. 0, // [0:12] is the sub-list for field type_name
  1891. }
  1892. func init() { file_connect_ext_proto_init() }
  1893. func file_connect_ext_proto_init() {
  1894. if File_connect_ext_proto != nil {
  1895. return
  1896. }
  1897. if !protoimpl.UnsafeEnabled {
  1898. file_connect_ext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1899. switch v := v.(*Message); i {
  1900. case 0:
  1901. return &v.state
  1902. case 1:
  1903. return &v.sizeCache
  1904. case 2:
  1905. return &v.unknownFields
  1906. default:
  1907. return nil
  1908. }
  1909. }
  1910. file_connect_ext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1911. switch v := v.(*Sender); i {
  1912. case 0:
  1913. return &v.state
  1914. case 1:
  1915. return &v.sizeCache
  1916. case 2:
  1917. return &v.unknownFields
  1918. default:
  1919. return nil
  1920. }
  1921. }
  1922. file_connect_ext_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1923. switch v := v.(*Text); i {
  1924. case 0:
  1925. return &v.state
  1926. case 1:
  1927. return &v.sizeCache
  1928. case 2:
  1929. return &v.unknownFields
  1930. default:
  1931. return nil
  1932. }
  1933. }
  1934. file_connect_ext_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1935. switch v := v.(*Face); i {
  1936. case 0:
  1937. return &v.state
  1938. case 1:
  1939. return &v.sizeCache
  1940. case 2:
  1941. return &v.unknownFields
  1942. default:
  1943. return nil
  1944. }
  1945. }
  1946. file_connect_ext_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1947. switch v := v.(*Voice); i {
  1948. case 0:
  1949. return &v.state
  1950. case 1:
  1951. return &v.sizeCache
  1952. case 2:
  1953. return &v.unknownFields
  1954. default:
  1955. return nil
  1956. }
  1957. }
  1958. file_connect_ext_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1959. switch v := v.(*Image); i {
  1960. case 0:
  1961. return &v.state
  1962. case 1:
  1963. return &v.sizeCache
  1964. case 2:
  1965. return &v.unknownFields
  1966. default:
  1967. return nil
  1968. }
  1969. }
  1970. file_connect_ext_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1971. switch v := v.(*File); i {
  1972. case 0:
  1973. return &v.state
  1974. case 1:
  1975. return &v.sizeCache
  1976. case 2:
  1977. return &v.unknownFields
  1978. default:
  1979. return nil
  1980. }
  1981. }
  1982. file_connect_ext_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1983. switch v := v.(*Location); i {
  1984. case 0:
  1985. return &v.state
  1986. case 1:
  1987. return &v.sizeCache
  1988. case 2:
  1989. return &v.unknownFields
  1990. default:
  1991. return nil
  1992. }
  1993. }
  1994. file_connect_ext_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1995. switch v := v.(*Command); i {
  1996. case 0:
  1997. return &v.state
  1998. case 1:
  1999. return &v.sizeCache
  2000. case 2:
  2001. return &v.unknownFields
  2002. default:
  2003. return nil
  2004. }
  2005. }
  2006. file_connect_ext_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  2007. switch v := v.(*Custom); i {
  2008. case 0:
  2009. return &v.state
  2010. case 1:
  2011. return &v.sizeCache
  2012. case 2:
  2013. return &v.unknownFields
  2014. default:
  2015. return nil
  2016. }
  2017. }
  2018. file_connect_ext_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2019. switch v := v.(*RECALL); i {
  2020. case 0:
  2021. return &v.state
  2022. case 1:
  2023. return &v.sizeCache
  2024. case 2:
  2025. return &v.unknownFields
  2026. default:
  2027. return nil
  2028. }
  2029. }
  2030. file_connect_ext_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2031. switch v := v.(*RED_PACKAGE); i {
  2032. case 0:
  2033. return &v.state
  2034. case 1:
  2035. return &v.sizeCache
  2036. case 2:
  2037. return &v.unknownFields
  2038. default:
  2039. return nil
  2040. }
  2041. }
  2042. file_connect_ext_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2043. switch v := v.(*Input); i {
  2044. case 0:
  2045. return &v.state
  2046. case 1:
  2047. return &v.sizeCache
  2048. case 2:
  2049. return &v.unknownFields
  2050. default:
  2051. return nil
  2052. }
  2053. }
  2054. file_connect_ext_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  2055. switch v := v.(*Output); i {
  2056. case 0:
  2057. return &v.state
  2058. case 1:
  2059. return &v.sizeCache
  2060. case 2:
  2061. return &v.unknownFields
  2062. default:
  2063. return nil
  2064. }
  2065. }
  2066. file_connect_ext_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2067. switch v := v.(*SignInInput); i {
  2068. case 0:
  2069. return &v.state
  2070. case 1:
  2071. return &v.sizeCache
  2072. case 2:
  2073. return &v.unknownFields
  2074. default:
  2075. return nil
  2076. }
  2077. }
  2078. file_connect_ext_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2079. switch v := v.(*SyncInput); i {
  2080. case 0:
  2081. return &v.state
  2082. case 1:
  2083. return &v.sizeCache
  2084. case 2:
  2085. return &v.unknownFields
  2086. default:
  2087. return nil
  2088. }
  2089. }
  2090. file_connect_ext_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  2091. switch v := v.(*SyncOutput); i {
  2092. case 0:
  2093. return &v.state
  2094. case 1:
  2095. return &v.sizeCache
  2096. case 2:
  2097. return &v.unknownFields
  2098. default:
  2099. return nil
  2100. }
  2101. }
  2102. file_connect_ext_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  2103. switch v := v.(*SubscribeRoomInput); i {
  2104. case 0:
  2105. return &v.state
  2106. case 1:
  2107. return &v.sizeCache
  2108. case 2:
  2109. return &v.unknownFields
  2110. default:
  2111. return nil
  2112. }
  2113. }
  2114. file_connect_ext_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  2115. switch v := v.(*MessageSend); i {
  2116. case 0:
  2117. return &v.state
  2118. case 1:
  2119. return &v.sizeCache
  2120. case 2:
  2121. return &v.unknownFields
  2122. default:
  2123. return nil
  2124. }
  2125. }
  2126. file_connect_ext_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  2127. switch v := v.(*MessageACK); i {
  2128. case 0:
  2129. return &v.state
  2130. case 1:
  2131. return &v.sizeCache
  2132. case 2:
  2133. return &v.unknownFields
  2134. default:
  2135. return nil
  2136. }
  2137. }
  2138. }
  2139. type x struct{}
  2140. out := protoimpl.TypeBuilder{
  2141. File: protoimpl.DescBuilder{
  2142. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2143. RawDescriptor: file_connect_ext_proto_rawDesc,
  2144. NumEnums: 9,
  2145. NumMessages: 20,
  2146. NumExtensions: 0,
  2147. NumServices: 0,
  2148. },
  2149. GoTypes: file_connect_ext_proto_goTypes,
  2150. DependencyIndexes: file_connect_ext_proto_depIdxs,
  2151. EnumInfos: file_connect_ext_proto_enumTypes,
  2152. MessageInfos: file_connect_ext_proto_msgTypes,
  2153. }.Build()
  2154. File_connect_ext_proto = out.File
  2155. file_connect_ext_proto_rawDesc = nil
  2156. file_connect_ext_proto_goTypes = nil
  2157. file_connect_ext_proto_depIdxs = nil
  2158. }