蛋蛋星球RabbitMq消费项目
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.

im.connect.ext.pb.go 79 KiB

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