message.pb.go 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: message.proto
  3. /*
  4. Package model is a generated protocol buffer package.
  5. It is generated from these files:
  6. message.proto
  7. It has these top-level messages:
  8. UpSpecial
  9. UpInfo
  10. UpGroup
  11. UpBaseStat
  12. PBSetUpSwitchRes
  13. PBUpSwitch
  14. */
  15. package model
  16. import proto "github.com/golang/protobuf/proto"
  17. import fmt "fmt"
  18. import math "math"
  19. import _ "github.com/gogo/protobuf/gogoproto"
  20. import go_common_library_time "go-common/library/time"
  21. import io "io"
  22. // Reference imports to suppress errors if they are not otherwise used.
  23. var _ = proto.Marshal
  24. var _ = fmt.Errorf
  25. var _ = math.Inf
  26. // This is a compile-time assertion to ensure that this generated file
  27. // is compatible with the proto package it is being compiled against.
  28. // A compilation error at this line likely means your copy of the
  29. // proto package needs to be updated.
  30. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  31. type UpSpecial struct {
  32. ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"id"`
  33. GroupID int64 `protobuf:"varint,2,opt,name=GroupID,proto3" json:"group_id"`
  34. GroupName string `protobuf:"bytes,3,opt,name=GroupName,proto3" json:"group_name"`
  35. GroupTag string `protobuf:"bytes,4,opt,name=GroupTag,proto3" json:"group_tag"`
  36. Mid int64 `protobuf:"varint,5,opt,name=Mid,proto3" json:"mid"`
  37. Note string `protobuf:"bytes,6,opt,name=Note,proto3" json:"note"`
  38. CTime go_common_library_time.Time `protobuf:"varint,7,opt,name=CTime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
  39. UID int64 `protobuf:"varint,8,opt,name=UID,proto3" json:"uid"`
  40. MTime go_common_library_time.Time `protobuf:"varint,9,opt,name=MTime,proto3,casttype=go-common/library/time.Time" json:"mtime"`
  41. FontColor string `protobuf:"bytes,10,opt,name=FontColor,proto3" json:"font_color"`
  42. BgColor string `protobuf:"bytes,11,opt,name=BgColor,proto3" json:"bg_color"`
  43. }
  44. func (m *UpSpecial) Reset() { *m = UpSpecial{} }
  45. func (m *UpSpecial) String() string { return proto.CompactTextString(m) }
  46. func (*UpSpecial) ProtoMessage() {}
  47. func (*UpSpecial) Descriptor() ([]byte, []int) { return fileDescriptorMessage, []int{0} }
  48. func (m *UpSpecial) GetID() int64 {
  49. if m != nil {
  50. return m.ID
  51. }
  52. return 0
  53. }
  54. func (m *UpSpecial) GetGroupID() int64 {
  55. if m != nil {
  56. return m.GroupID
  57. }
  58. return 0
  59. }
  60. func (m *UpSpecial) GetGroupName() string {
  61. if m != nil {
  62. return m.GroupName
  63. }
  64. return ""
  65. }
  66. func (m *UpSpecial) GetGroupTag() string {
  67. if m != nil {
  68. return m.GroupTag
  69. }
  70. return ""
  71. }
  72. func (m *UpSpecial) GetMid() int64 {
  73. if m != nil {
  74. return m.Mid
  75. }
  76. return 0
  77. }
  78. func (m *UpSpecial) GetNote() string {
  79. if m != nil {
  80. return m.Note
  81. }
  82. return ""
  83. }
  84. func (m *UpSpecial) GetCTime() go_common_library_time.Time {
  85. if m != nil {
  86. return m.CTime
  87. }
  88. return 0
  89. }
  90. func (m *UpSpecial) GetUID() int64 {
  91. if m != nil {
  92. return m.UID
  93. }
  94. return 0
  95. }
  96. func (m *UpSpecial) GetMTime() go_common_library_time.Time {
  97. if m != nil {
  98. return m.MTime
  99. }
  100. return 0
  101. }
  102. func (m *UpSpecial) GetFontColor() string {
  103. if m != nil {
  104. return m.FontColor
  105. }
  106. return ""
  107. }
  108. func (m *UpSpecial) GetBgColor() string {
  109. if m != nil {
  110. return m.BgColor
  111. }
  112. return ""
  113. }
  114. type UpInfo struct {
  115. IsAuthor int32 `protobuf:"varint,1,opt,name=isAuthor,proto3" json:"isAuthor"`
  116. }
  117. func (m *UpInfo) Reset() { *m = UpInfo{} }
  118. func (m *UpInfo) String() string { return proto.CompactTextString(m) }
  119. func (*UpInfo) ProtoMessage() {}
  120. func (*UpInfo) Descriptor() ([]byte, []int) { return fileDescriptorMessage, []int{1} }
  121. func (m *UpInfo) GetIsAuthor() int32 {
  122. if m != nil {
  123. return m.IsAuthor
  124. }
  125. return 0
  126. }
  127. type UpGroup struct {
  128. ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"id"`
  129. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  130. Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag"`
  131. ShortTag string `protobuf:"bytes,4,opt,name=short_tag,json=shortTag,proto3" json:"short_tag"`
  132. Remark string `protobuf:"bytes,5,opt,name=remark,proto3" json:"remark"`
  133. State int32 `protobuf:"varint,6,opt,name=state,proto3" json:"state"`
  134. FontColor string `protobuf:"bytes,7,opt,name=FontColor,proto3" json:"font_color"`
  135. BgColor string `protobuf:"bytes,8,opt,name=BgColor,proto3" json:"bg_color"`
  136. }
  137. func (m *UpGroup) Reset() { *m = UpGroup{} }
  138. func (m *UpGroup) String() string { return proto.CompactTextString(m) }
  139. func (*UpGroup) ProtoMessage() {}
  140. func (*UpGroup) Descriptor() ([]byte, []int) { return fileDescriptorMessage, []int{2} }
  141. func (m *UpGroup) GetID() int64 {
  142. if m != nil {
  143. return m.ID
  144. }
  145. return 0
  146. }
  147. func (m *UpGroup) GetName() string {
  148. if m != nil {
  149. return m.Name
  150. }
  151. return ""
  152. }
  153. func (m *UpGroup) GetTag() string {
  154. if m != nil {
  155. return m.Tag
  156. }
  157. return ""
  158. }
  159. func (m *UpGroup) GetShortTag() string {
  160. if m != nil {
  161. return m.ShortTag
  162. }
  163. return ""
  164. }
  165. func (m *UpGroup) GetRemark() string {
  166. if m != nil {
  167. return m.Remark
  168. }
  169. return ""
  170. }
  171. func (m *UpGroup) GetState() int32 {
  172. if m != nil {
  173. return m.State
  174. }
  175. return 0
  176. }
  177. func (m *UpGroup) GetFontColor() string {
  178. if m != nil {
  179. return m.FontColor
  180. }
  181. return ""
  182. }
  183. func (m *UpGroup) GetBgColor() string {
  184. if m != nil {
  185. return m.BgColor
  186. }
  187. return ""
  188. }
  189. type UpBaseStat struct {
  190. View int64 `protobuf:"varint,1,opt,name=View,proto3" json:"view"`
  191. Reply int64 `protobuf:"varint,2,opt,name=Reply,proto3" json:"reply"`
  192. Dm int64 `protobuf:"varint,3,opt,name=Dm,proto3" json:"dm"`
  193. Fans int64 `protobuf:"varint,4,opt,name=Fans,proto3" json:"fans"`
  194. Fav int64 `protobuf:"varint,5,opt,name=Fav,proto3" json:"fav"`
  195. Like int64 `protobuf:"varint,6,opt,name=Like,proto3" json:"like"`
  196. }
  197. func (m *UpBaseStat) Reset() { *m = UpBaseStat{} }
  198. func (m *UpBaseStat) String() string { return proto.CompactTextString(m) }
  199. func (*UpBaseStat) ProtoMessage() {}
  200. func (*UpBaseStat) Descriptor() ([]byte, []int) { return fileDescriptorMessage, []int{3} }
  201. func (m *UpBaseStat) GetView() int64 {
  202. if m != nil {
  203. return m.View
  204. }
  205. return 0
  206. }
  207. func (m *UpBaseStat) GetReply() int64 {
  208. if m != nil {
  209. return m.Reply
  210. }
  211. return 0
  212. }
  213. func (m *UpBaseStat) GetDm() int64 {
  214. if m != nil {
  215. return m.Dm
  216. }
  217. return 0
  218. }
  219. func (m *UpBaseStat) GetFans() int64 {
  220. if m != nil {
  221. return m.Fans
  222. }
  223. return 0
  224. }
  225. func (m *UpBaseStat) GetFav() int64 {
  226. if m != nil {
  227. return m.Fav
  228. }
  229. return 0
  230. }
  231. func (m *UpBaseStat) GetLike() int64 {
  232. if m != nil {
  233. return m.Like
  234. }
  235. return 0
  236. }
  237. type PBSetUpSwitchRes struct {
  238. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  239. }
  240. func (m *PBSetUpSwitchRes) Reset() { *m = PBSetUpSwitchRes{} }
  241. func (m *PBSetUpSwitchRes) String() string { return proto.CompactTextString(m) }
  242. func (*PBSetUpSwitchRes) ProtoMessage() {}
  243. func (*PBSetUpSwitchRes) Descriptor() ([]byte, []int) { return fileDescriptorMessage, []int{4} }
  244. func (m *PBSetUpSwitchRes) GetId() int64 {
  245. if m != nil {
  246. return m.Id
  247. }
  248. return 0
  249. }
  250. type PBUpSwitch struct {
  251. State int32 `protobuf:"varint,1,opt,name=state,proto3" json:"state"`
  252. }
  253. func (m *PBUpSwitch) Reset() { *m = PBUpSwitch{} }
  254. func (m *PBUpSwitch) String() string { return proto.CompactTextString(m) }
  255. func (*PBUpSwitch) ProtoMessage() {}
  256. func (*PBUpSwitch) Descriptor() ([]byte, []int) { return fileDescriptorMessage, []int{5} }
  257. func (m *PBUpSwitch) GetState() int32 {
  258. if m != nil {
  259. return m.State
  260. }
  261. return 0
  262. }
  263. func init() {
  264. proto.RegisterType((*UpSpecial)(nil), "model.UpSpecial")
  265. proto.RegisterType((*UpInfo)(nil), "model.UpInfo")
  266. proto.RegisterType((*UpGroup)(nil), "model.UpGroup")
  267. proto.RegisterType((*UpBaseStat)(nil), "model.UpBaseStat")
  268. proto.RegisterType((*PBSetUpSwitchRes)(nil), "model.PBSetUpSwitchRes")
  269. proto.RegisterType((*PBUpSwitch)(nil), "model.PBUpSwitch")
  270. }
  271. func (m *UpSpecial) Marshal() (dAtA []byte, err error) {
  272. size := m.Size()
  273. dAtA = make([]byte, size)
  274. n, err := m.MarshalTo(dAtA)
  275. if err != nil {
  276. return nil, err
  277. }
  278. return dAtA[:n], nil
  279. }
  280. func (m *UpSpecial) MarshalTo(dAtA []byte) (int, error) {
  281. var i int
  282. _ = i
  283. var l int
  284. _ = l
  285. if m.ID != 0 {
  286. dAtA[i] = 0x8
  287. i++
  288. i = encodeVarintMessage(dAtA, i, uint64(m.ID))
  289. }
  290. if m.GroupID != 0 {
  291. dAtA[i] = 0x10
  292. i++
  293. i = encodeVarintMessage(dAtA, i, uint64(m.GroupID))
  294. }
  295. if len(m.GroupName) > 0 {
  296. dAtA[i] = 0x1a
  297. i++
  298. i = encodeVarintMessage(dAtA, i, uint64(len(m.GroupName)))
  299. i += copy(dAtA[i:], m.GroupName)
  300. }
  301. if len(m.GroupTag) > 0 {
  302. dAtA[i] = 0x22
  303. i++
  304. i = encodeVarintMessage(dAtA, i, uint64(len(m.GroupTag)))
  305. i += copy(dAtA[i:], m.GroupTag)
  306. }
  307. if m.Mid != 0 {
  308. dAtA[i] = 0x28
  309. i++
  310. i = encodeVarintMessage(dAtA, i, uint64(m.Mid))
  311. }
  312. if len(m.Note) > 0 {
  313. dAtA[i] = 0x32
  314. i++
  315. i = encodeVarintMessage(dAtA, i, uint64(len(m.Note)))
  316. i += copy(dAtA[i:], m.Note)
  317. }
  318. if m.CTime != 0 {
  319. dAtA[i] = 0x38
  320. i++
  321. i = encodeVarintMessage(dAtA, i, uint64(m.CTime))
  322. }
  323. if m.UID != 0 {
  324. dAtA[i] = 0x40
  325. i++
  326. i = encodeVarintMessage(dAtA, i, uint64(m.UID))
  327. }
  328. if m.MTime != 0 {
  329. dAtA[i] = 0x48
  330. i++
  331. i = encodeVarintMessage(dAtA, i, uint64(m.MTime))
  332. }
  333. if len(m.FontColor) > 0 {
  334. dAtA[i] = 0x52
  335. i++
  336. i = encodeVarintMessage(dAtA, i, uint64(len(m.FontColor)))
  337. i += copy(dAtA[i:], m.FontColor)
  338. }
  339. if len(m.BgColor) > 0 {
  340. dAtA[i] = 0x5a
  341. i++
  342. i = encodeVarintMessage(dAtA, i, uint64(len(m.BgColor)))
  343. i += copy(dAtA[i:], m.BgColor)
  344. }
  345. return i, nil
  346. }
  347. func (m *UpInfo) Marshal() (dAtA []byte, err error) {
  348. size := m.Size()
  349. dAtA = make([]byte, size)
  350. n, err := m.MarshalTo(dAtA)
  351. if err != nil {
  352. return nil, err
  353. }
  354. return dAtA[:n], nil
  355. }
  356. func (m *UpInfo) MarshalTo(dAtA []byte) (int, error) {
  357. var i int
  358. _ = i
  359. var l int
  360. _ = l
  361. if m.IsAuthor != 0 {
  362. dAtA[i] = 0x8
  363. i++
  364. i = encodeVarintMessage(dAtA, i, uint64(m.IsAuthor))
  365. }
  366. return i, nil
  367. }
  368. func (m *UpGroup) Marshal() (dAtA []byte, err error) {
  369. size := m.Size()
  370. dAtA = make([]byte, size)
  371. n, err := m.MarshalTo(dAtA)
  372. if err != nil {
  373. return nil, err
  374. }
  375. return dAtA[:n], nil
  376. }
  377. func (m *UpGroup) MarshalTo(dAtA []byte) (int, error) {
  378. var i int
  379. _ = i
  380. var l int
  381. _ = l
  382. if m.ID != 0 {
  383. dAtA[i] = 0x8
  384. i++
  385. i = encodeVarintMessage(dAtA, i, uint64(m.ID))
  386. }
  387. if len(m.Name) > 0 {
  388. dAtA[i] = 0x12
  389. i++
  390. i = encodeVarintMessage(dAtA, i, uint64(len(m.Name)))
  391. i += copy(dAtA[i:], m.Name)
  392. }
  393. if len(m.Tag) > 0 {
  394. dAtA[i] = 0x1a
  395. i++
  396. i = encodeVarintMessage(dAtA, i, uint64(len(m.Tag)))
  397. i += copy(dAtA[i:], m.Tag)
  398. }
  399. if len(m.ShortTag) > 0 {
  400. dAtA[i] = 0x22
  401. i++
  402. i = encodeVarintMessage(dAtA, i, uint64(len(m.ShortTag)))
  403. i += copy(dAtA[i:], m.ShortTag)
  404. }
  405. if len(m.Remark) > 0 {
  406. dAtA[i] = 0x2a
  407. i++
  408. i = encodeVarintMessage(dAtA, i, uint64(len(m.Remark)))
  409. i += copy(dAtA[i:], m.Remark)
  410. }
  411. if m.State != 0 {
  412. dAtA[i] = 0x30
  413. i++
  414. i = encodeVarintMessage(dAtA, i, uint64(m.State))
  415. }
  416. if len(m.FontColor) > 0 {
  417. dAtA[i] = 0x3a
  418. i++
  419. i = encodeVarintMessage(dAtA, i, uint64(len(m.FontColor)))
  420. i += copy(dAtA[i:], m.FontColor)
  421. }
  422. if len(m.BgColor) > 0 {
  423. dAtA[i] = 0x42
  424. i++
  425. i = encodeVarintMessage(dAtA, i, uint64(len(m.BgColor)))
  426. i += copy(dAtA[i:], m.BgColor)
  427. }
  428. return i, nil
  429. }
  430. func (m *UpBaseStat) Marshal() (dAtA []byte, err error) {
  431. size := m.Size()
  432. dAtA = make([]byte, size)
  433. n, err := m.MarshalTo(dAtA)
  434. if err != nil {
  435. return nil, err
  436. }
  437. return dAtA[:n], nil
  438. }
  439. func (m *UpBaseStat) MarshalTo(dAtA []byte) (int, error) {
  440. var i int
  441. _ = i
  442. var l int
  443. _ = l
  444. if m.View != 0 {
  445. dAtA[i] = 0x8
  446. i++
  447. i = encodeVarintMessage(dAtA, i, uint64(m.View))
  448. }
  449. if m.Reply != 0 {
  450. dAtA[i] = 0x10
  451. i++
  452. i = encodeVarintMessage(dAtA, i, uint64(m.Reply))
  453. }
  454. if m.Dm != 0 {
  455. dAtA[i] = 0x18
  456. i++
  457. i = encodeVarintMessage(dAtA, i, uint64(m.Dm))
  458. }
  459. if m.Fans != 0 {
  460. dAtA[i] = 0x20
  461. i++
  462. i = encodeVarintMessage(dAtA, i, uint64(m.Fans))
  463. }
  464. if m.Fav != 0 {
  465. dAtA[i] = 0x28
  466. i++
  467. i = encodeVarintMessage(dAtA, i, uint64(m.Fav))
  468. }
  469. if m.Like != 0 {
  470. dAtA[i] = 0x30
  471. i++
  472. i = encodeVarintMessage(dAtA, i, uint64(m.Like))
  473. }
  474. return i, nil
  475. }
  476. func (m *PBSetUpSwitchRes) Marshal() (dAtA []byte, err error) {
  477. size := m.Size()
  478. dAtA = make([]byte, size)
  479. n, err := m.MarshalTo(dAtA)
  480. if err != nil {
  481. return nil, err
  482. }
  483. return dAtA[:n], nil
  484. }
  485. func (m *PBSetUpSwitchRes) MarshalTo(dAtA []byte) (int, error) {
  486. var i int
  487. _ = i
  488. var l int
  489. _ = l
  490. if m.Id != 0 {
  491. dAtA[i] = 0x8
  492. i++
  493. i = encodeVarintMessage(dAtA, i, uint64(m.Id))
  494. }
  495. return i, nil
  496. }
  497. func (m *PBUpSwitch) Marshal() (dAtA []byte, err error) {
  498. size := m.Size()
  499. dAtA = make([]byte, size)
  500. n, err := m.MarshalTo(dAtA)
  501. if err != nil {
  502. return nil, err
  503. }
  504. return dAtA[:n], nil
  505. }
  506. func (m *PBUpSwitch) MarshalTo(dAtA []byte) (int, error) {
  507. var i int
  508. _ = i
  509. var l int
  510. _ = l
  511. if m.State != 0 {
  512. dAtA[i] = 0x8
  513. i++
  514. i = encodeVarintMessage(dAtA, i, uint64(m.State))
  515. }
  516. return i, nil
  517. }
  518. func encodeVarintMessage(dAtA []byte, offset int, v uint64) int {
  519. for v >= 1<<7 {
  520. dAtA[offset] = uint8(v&0x7f | 0x80)
  521. v >>= 7
  522. offset++
  523. }
  524. dAtA[offset] = uint8(v)
  525. return offset + 1
  526. }
  527. func (m *UpSpecial) Size() (n int) {
  528. var l int
  529. _ = l
  530. if m.ID != 0 {
  531. n += 1 + sovMessage(uint64(m.ID))
  532. }
  533. if m.GroupID != 0 {
  534. n += 1 + sovMessage(uint64(m.GroupID))
  535. }
  536. l = len(m.GroupName)
  537. if l > 0 {
  538. n += 1 + l + sovMessage(uint64(l))
  539. }
  540. l = len(m.GroupTag)
  541. if l > 0 {
  542. n += 1 + l + sovMessage(uint64(l))
  543. }
  544. if m.Mid != 0 {
  545. n += 1 + sovMessage(uint64(m.Mid))
  546. }
  547. l = len(m.Note)
  548. if l > 0 {
  549. n += 1 + l + sovMessage(uint64(l))
  550. }
  551. if m.CTime != 0 {
  552. n += 1 + sovMessage(uint64(m.CTime))
  553. }
  554. if m.UID != 0 {
  555. n += 1 + sovMessage(uint64(m.UID))
  556. }
  557. if m.MTime != 0 {
  558. n += 1 + sovMessage(uint64(m.MTime))
  559. }
  560. l = len(m.FontColor)
  561. if l > 0 {
  562. n += 1 + l + sovMessage(uint64(l))
  563. }
  564. l = len(m.BgColor)
  565. if l > 0 {
  566. n += 1 + l + sovMessage(uint64(l))
  567. }
  568. return n
  569. }
  570. func (m *UpInfo) Size() (n int) {
  571. var l int
  572. _ = l
  573. if m.IsAuthor != 0 {
  574. n += 1 + sovMessage(uint64(m.IsAuthor))
  575. }
  576. return n
  577. }
  578. func (m *UpGroup) Size() (n int) {
  579. var l int
  580. _ = l
  581. if m.ID != 0 {
  582. n += 1 + sovMessage(uint64(m.ID))
  583. }
  584. l = len(m.Name)
  585. if l > 0 {
  586. n += 1 + l + sovMessage(uint64(l))
  587. }
  588. l = len(m.Tag)
  589. if l > 0 {
  590. n += 1 + l + sovMessage(uint64(l))
  591. }
  592. l = len(m.ShortTag)
  593. if l > 0 {
  594. n += 1 + l + sovMessage(uint64(l))
  595. }
  596. l = len(m.Remark)
  597. if l > 0 {
  598. n += 1 + l + sovMessage(uint64(l))
  599. }
  600. if m.State != 0 {
  601. n += 1 + sovMessage(uint64(m.State))
  602. }
  603. l = len(m.FontColor)
  604. if l > 0 {
  605. n += 1 + l + sovMessage(uint64(l))
  606. }
  607. l = len(m.BgColor)
  608. if l > 0 {
  609. n += 1 + l + sovMessage(uint64(l))
  610. }
  611. return n
  612. }
  613. func (m *UpBaseStat) Size() (n int) {
  614. var l int
  615. _ = l
  616. if m.View != 0 {
  617. n += 1 + sovMessage(uint64(m.View))
  618. }
  619. if m.Reply != 0 {
  620. n += 1 + sovMessage(uint64(m.Reply))
  621. }
  622. if m.Dm != 0 {
  623. n += 1 + sovMessage(uint64(m.Dm))
  624. }
  625. if m.Fans != 0 {
  626. n += 1 + sovMessage(uint64(m.Fans))
  627. }
  628. if m.Fav != 0 {
  629. n += 1 + sovMessage(uint64(m.Fav))
  630. }
  631. if m.Like != 0 {
  632. n += 1 + sovMessage(uint64(m.Like))
  633. }
  634. return n
  635. }
  636. func (m *PBSetUpSwitchRes) Size() (n int) {
  637. var l int
  638. _ = l
  639. if m.Id != 0 {
  640. n += 1 + sovMessage(uint64(m.Id))
  641. }
  642. return n
  643. }
  644. func (m *PBUpSwitch) Size() (n int) {
  645. var l int
  646. _ = l
  647. if m.State != 0 {
  648. n += 1 + sovMessage(uint64(m.State))
  649. }
  650. return n
  651. }
  652. func sovMessage(x uint64) (n int) {
  653. for {
  654. n++
  655. x >>= 7
  656. if x == 0 {
  657. break
  658. }
  659. }
  660. return n
  661. }
  662. func sozMessage(x uint64) (n int) {
  663. return sovMessage(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  664. }
  665. func (m *UpSpecial) Unmarshal(dAtA []byte) error {
  666. l := len(dAtA)
  667. iNdEx := 0
  668. for iNdEx < l {
  669. preIndex := iNdEx
  670. var wire uint64
  671. for shift := uint(0); ; shift += 7 {
  672. if shift >= 64 {
  673. return ErrIntOverflowMessage
  674. }
  675. if iNdEx >= l {
  676. return io.ErrUnexpectedEOF
  677. }
  678. b := dAtA[iNdEx]
  679. iNdEx++
  680. wire |= (uint64(b) & 0x7F) << shift
  681. if b < 0x80 {
  682. break
  683. }
  684. }
  685. fieldNum := int32(wire >> 3)
  686. wireType := int(wire & 0x7)
  687. if wireType == 4 {
  688. return fmt.Errorf("proto: UpSpecial: wiretype end group for non-group")
  689. }
  690. if fieldNum <= 0 {
  691. return fmt.Errorf("proto: UpSpecial: illegal tag %d (wire type %d)", fieldNum, wire)
  692. }
  693. switch fieldNum {
  694. case 1:
  695. if wireType != 0 {
  696. return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  697. }
  698. m.ID = 0
  699. for shift := uint(0); ; shift += 7 {
  700. if shift >= 64 {
  701. return ErrIntOverflowMessage
  702. }
  703. if iNdEx >= l {
  704. return io.ErrUnexpectedEOF
  705. }
  706. b := dAtA[iNdEx]
  707. iNdEx++
  708. m.ID |= (int64(b) & 0x7F) << shift
  709. if b < 0x80 {
  710. break
  711. }
  712. }
  713. case 2:
  714. if wireType != 0 {
  715. return fmt.Errorf("proto: wrong wireType = %d for field GroupID", wireType)
  716. }
  717. m.GroupID = 0
  718. for shift := uint(0); ; shift += 7 {
  719. if shift >= 64 {
  720. return ErrIntOverflowMessage
  721. }
  722. if iNdEx >= l {
  723. return io.ErrUnexpectedEOF
  724. }
  725. b := dAtA[iNdEx]
  726. iNdEx++
  727. m.GroupID |= (int64(b) & 0x7F) << shift
  728. if b < 0x80 {
  729. break
  730. }
  731. }
  732. case 3:
  733. if wireType != 2 {
  734. return fmt.Errorf("proto: wrong wireType = %d for field GroupName", wireType)
  735. }
  736. var stringLen uint64
  737. for shift := uint(0); ; shift += 7 {
  738. if shift >= 64 {
  739. return ErrIntOverflowMessage
  740. }
  741. if iNdEx >= l {
  742. return io.ErrUnexpectedEOF
  743. }
  744. b := dAtA[iNdEx]
  745. iNdEx++
  746. stringLen |= (uint64(b) & 0x7F) << shift
  747. if b < 0x80 {
  748. break
  749. }
  750. }
  751. intStringLen := int(stringLen)
  752. if intStringLen < 0 {
  753. return ErrInvalidLengthMessage
  754. }
  755. postIndex := iNdEx + intStringLen
  756. if postIndex > l {
  757. return io.ErrUnexpectedEOF
  758. }
  759. m.GroupName = string(dAtA[iNdEx:postIndex])
  760. iNdEx = postIndex
  761. case 4:
  762. if wireType != 2 {
  763. return fmt.Errorf("proto: wrong wireType = %d for field GroupTag", wireType)
  764. }
  765. var stringLen uint64
  766. for shift := uint(0); ; shift += 7 {
  767. if shift >= 64 {
  768. return ErrIntOverflowMessage
  769. }
  770. if iNdEx >= l {
  771. return io.ErrUnexpectedEOF
  772. }
  773. b := dAtA[iNdEx]
  774. iNdEx++
  775. stringLen |= (uint64(b) & 0x7F) << shift
  776. if b < 0x80 {
  777. break
  778. }
  779. }
  780. intStringLen := int(stringLen)
  781. if intStringLen < 0 {
  782. return ErrInvalidLengthMessage
  783. }
  784. postIndex := iNdEx + intStringLen
  785. if postIndex > l {
  786. return io.ErrUnexpectedEOF
  787. }
  788. m.GroupTag = string(dAtA[iNdEx:postIndex])
  789. iNdEx = postIndex
  790. case 5:
  791. if wireType != 0 {
  792. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  793. }
  794. m.Mid = 0
  795. for shift := uint(0); ; shift += 7 {
  796. if shift >= 64 {
  797. return ErrIntOverflowMessage
  798. }
  799. if iNdEx >= l {
  800. return io.ErrUnexpectedEOF
  801. }
  802. b := dAtA[iNdEx]
  803. iNdEx++
  804. m.Mid |= (int64(b) & 0x7F) << shift
  805. if b < 0x80 {
  806. break
  807. }
  808. }
  809. case 6:
  810. if wireType != 2 {
  811. return fmt.Errorf("proto: wrong wireType = %d for field Note", wireType)
  812. }
  813. var stringLen uint64
  814. for shift := uint(0); ; shift += 7 {
  815. if shift >= 64 {
  816. return ErrIntOverflowMessage
  817. }
  818. if iNdEx >= l {
  819. return io.ErrUnexpectedEOF
  820. }
  821. b := dAtA[iNdEx]
  822. iNdEx++
  823. stringLen |= (uint64(b) & 0x7F) << shift
  824. if b < 0x80 {
  825. break
  826. }
  827. }
  828. intStringLen := int(stringLen)
  829. if intStringLen < 0 {
  830. return ErrInvalidLengthMessage
  831. }
  832. postIndex := iNdEx + intStringLen
  833. if postIndex > l {
  834. return io.ErrUnexpectedEOF
  835. }
  836. m.Note = string(dAtA[iNdEx:postIndex])
  837. iNdEx = postIndex
  838. case 7:
  839. if wireType != 0 {
  840. return fmt.Errorf("proto: wrong wireType = %d for field CTime", wireType)
  841. }
  842. m.CTime = 0
  843. for shift := uint(0); ; shift += 7 {
  844. if shift >= 64 {
  845. return ErrIntOverflowMessage
  846. }
  847. if iNdEx >= l {
  848. return io.ErrUnexpectedEOF
  849. }
  850. b := dAtA[iNdEx]
  851. iNdEx++
  852. m.CTime |= (go_common_library_time.Time(b) & 0x7F) << shift
  853. if b < 0x80 {
  854. break
  855. }
  856. }
  857. case 8:
  858. if wireType != 0 {
  859. return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
  860. }
  861. m.UID = 0
  862. for shift := uint(0); ; shift += 7 {
  863. if shift >= 64 {
  864. return ErrIntOverflowMessage
  865. }
  866. if iNdEx >= l {
  867. return io.ErrUnexpectedEOF
  868. }
  869. b := dAtA[iNdEx]
  870. iNdEx++
  871. m.UID |= (int64(b) & 0x7F) << shift
  872. if b < 0x80 {
  873. break
  874. }
  875. }
  876. case 9:
  877. if wireType != 0 {
  878. return fmt.Errorf("proto: wrong wireType = %d for field MTime", wireType)
  879. }
  880. m.MTime = 0
  881. for shift := uint(0); ; shift += 7 {
  882. if shift >= 64 {
  883. return ErrIntOverflowMessage
  884. }
  885. if iNdEx >= l {
  886. return io.ErrUnexpectedEOF
  887. }
  888. b := dAtA[iNdEx]
  889. iNdEx++
  890. m.MTime |= (go_common_library_time.Time(b) & 0x7F) << shift
  891. if b < 0x80 {
  892. break
  893. }
  894. }
  895. case 10:
  896. if wireType != 2 {
  897. return fmt.Errorf("proto: wrong wireType = %d for field FontColor", wireType)
  898. }
  899. var stringLen uint64
  900. for shift := uint(0); ; shift += 7 {
  901. if shift >= 64 {
  902. return ErrIntOverflowMessage
  903. }
  904. if iNdEx >= l {
  905. return io.ErrUnexpectedEOF
  906. }
  907. b := dAtA[iNdEx]
  908. iNdEx++
  909. stringLen |= (uint64(b) & 0x7F) << shift
  910. if b < 0x80 {
  911. break
  912. }
  913. }
  914. intStringLen := int(stringLen)
  915. if intStringLen < 0 {
  916. return ErrInvalidLengthMessage
  917. }
  918. postIndex := iNdEx + intStringLen
  919. if postIndex > l {
  920. return io.ErrUnexpectedEOF
  921. }
  922. m.FontColor = string(dAtA[iNdEx:postIndex])
  923. iNdEx = postIndex
  924. case 11:
  925. if wireType != 2 {
  926. return fmt.Errorf("proto: wrong wireType = %d for field BgColor", wireType)
  927. }
  928. var stringLen uint64
  929. for shift := uint(0); ; shift += 7 {
  930. if shift >= 64 {
  931. return ErrIntOverflowMessage
  932. }
  933. if iNdEx >= l {
  934. return io.ErrUnexpectedEOF
  935. }
  936. b := dAtA[iNdEx]
  937. iNdEx++
  938. stringLen |= (uint64(b) & 0x7F) << shift
  939. if b < 0x80 {
  940. break
  941. }
  942. }
  943. intStringLen := int(stringLen)
  944. if intStringLen < 0 {
  945. return ErrInvalidLengthMessage
  946. }
  947. postIndex := iNdEx + intStringLen
  948. if postIndex > l {
  949. return io.ErrUnexpectedEOF
  950. }
  951. m.BgColor = string(dAtA[iNdEx:postIndex])
  952. iNdEx = postIndex
  953. default:
  954. iNdEx = preIndex
  955. skippy, err := skipMessage(dAtA[iNdEx:])
  956. if err != nil {
  957. return err
  958. }
  959. if skippy < 0 {
  960. return ErrInvalidLengthMessage
  961. }
  962. if (iNdEx + skippy) > l {
  963. return io.ErrUnexpectedEOF
  964. }
  965. iNdEx += skippy
  966. }
  967. }
  968. if iNdEx > l {
  969. return io.ErrUnexpectedEOF
  970. }
  971. return nil
  972. }
  973. func (m *UpInfo) Unmarshal(dAtA []byte) error {
  974. l := len(dAtA)
  975. iNdEx := 0
  976. for iNdEx < l {
  977. preIndex := iNdEx
  978. var wire uint64
  979. for shift := uint(0); ; shift += 7 {
  980. if shift >= 64 {
  981. return ErrIntOverflowMessage
  982. }
  983. if iNdEx >= l {
  984. return io.ErrUnexpectedEOF
  985. }
  986. b := dAtA[iNdEx]
  987. iNdEx++
  988. wire |= (uint64(b) & 0x7F) << shift
  989. if b < 0x80 {
  990. break
  991. }
  992. }
  993. fieldNum := int32(wire >> 3)
  994. wireType := int(wire & 0x7)
  995. if wireType == 4 {
  996. return fmt.Errorf("proto: UpInfo: wiretype end group for non-group")
  997. }
  998. if fieldNum <= 0 {
  999. return fmt.Errorf("proto: UpInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  1000. }
  1001. switch fieldNum {
  1002. case 1:
  1003. if wireType != 0 {
  1004. return fmt.Errorf("proto: wrong wireType = %d for field IsAuthor", wireType)
  1005. }
  1006. m.IsAuthor = 0
  1007. for shift := uint(0); ; shift += 7 {
  1008. if shift >= 64 {
  1009. return ErrIntOverflowMessage
  1010. }
  1011. if iNdEx >= l {
  1012. return io.ErrUnexpectedEOF
  1013. }
  1014. b := dAtA[iNdEx]
  1015. iNdEx++
  1016. m.IsAuthor |= (int32(b) & 0x7F) << shift
  1017. if b < 0x80 {
  1018. break
  1019. }
  1020. }
  1021. default:
  1022. iNdEx = preIndex
  1023. skippy, err := skipMessage(dAtA[iNdEx:])
  1024. if err != nil {
  1025. return err
  1026. }
  1027. if skippy < 0 {
  1028. return ErrInvalidLengthMessage
  1029. }
  1030. if (iNdEx + skippy) > l {
  1031. return io.ErrUnexpectedEOF
  1032. }
  1033. iNdEx += skippy
  1034. }
  1035. }
  1036. if iNdEx > l {
  1037. return io.ErrUnexpectedEOF
  1038. }
  1039. return nil
  1040. }
  1041. func (m *UpGroup) Unmarshal(dAtA []byte) error {
  1042. l := len(dAtA)
  1043. iNdEx := 0
  1044. for iNdEx < l {
  1045. preIndex := iNdEx
  1046. var wire uint64
  1047. for shift := uint(0); ; shift += 7 {
  1048. if shift >= 64 {
  1049. return ErrIntOverflowMessage
  1050. }
  1051. if iNdEx >= l {
  1052. return io.ErrUnexpectedEOF
  1053. }
  1054. b := dAtA[iNdEx]
  1055. iNdEx++
  1056. wire |= (uint64(b) & 0x7F) << shift
  1057. if b < 0x80 {
  1058. break
  1059. }
  1060. }
  1061. fieldNum := int32(wire >> 3)
  1062. wireType := int(wire & 0x7)
  1063. if wireType == 4 {
  1064. return fmt.Errorf("proto: UpGroup: wiretype end group for non-group")
  1065. }
  1066. if fieldNum <= 0 {
  1067. return fmt.Errorf("proto: UpGroup: illegal tag %d (wire type %d)", fieldNum, wire)
  1068. }
  1069. switch fieldNum {
  1070. case 1:
  1071. if wireType != 0 {
  1072. return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  1073. }
  1074. m.ID = 0
  1075. for shift := uint(0); ; shift += 7 {
  1076. if shift >= 64 {
  1077. return ErrIntOverflowMessage
  1078. }
  1079. if iNdEx >= l {
  1080. return io.ErrUnexpectedEOF
  1081. }
  1082. b := dAtA[iNdEx]
  1083. iNdEx++
  1084. m.ID |= (int64(b) & 0x7F) << shift
  1085. if b < 0x80 {
  1086. break
  1087. }
  1088. }
  1089. case 2:
  1090. if wireType != 2 {
  1091. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  1092. }
  1093. var stringLen uint64
  1094. for shift := uint(0); ; shift += 7 {
  1095. if shift >= 64 {
  1096. return ErrIntOverflowMessage
  1097. }
  1098. if iNdEx >= l {
  1099. return io.ErrUnexpectedEOF
  1100. }
  1101. b := dAtA[iNdEx]
  1102. iNdEx++
  1103. stringLen |= (uint64(b) & 0x7F) << shift
  1104. if b < 0x80 {
  1105. break
  1106. }
  1107. }
  1108. intStringLen := int(stringLen)
  1109. if intStringLen < 0 {
  1110. return ErrInvalidLengthMessage
  1111. }
  1112. postIndex := iNdEx + intStringLen
  1113. if postIndex > l {
  1114. return io.ErrUnexpectedEOF
  1115. }
  1116. m.Name = string(dAtA[iNdEx:postIndex])
  1117. iNdEx = postIndex
  1118. case 3:
  1119. if wireType != 2 {
  1120. return fmt.Errorf("proto: wrong wireType = %d for field Tag", wireType)
  1121. }
  1122. var stringLen uint64
  1123. for shift := uint(0); ; shift += 7 {
  1124. if shift >= 64 {
  1125. return ErrIntOverflowMessage
  1126. }
  1127. if iNdEx >= l {
  1128. return io.ErrUnexpectedEOF
  1129. }
  1130. b := dAtA[iNdEx]
  1131. iNdEx++
  1132. stringLen |= (uint64(b) & 0x7F) << shift
  1133. if b < 0x80 {
  1134. break
  1135. }
  1136. }
  1137. intStringLen := int(stringLen)
  1138. if intStringLen < 0 {
  1139. return ErrInvalidLengthMessage
  1140. }
  1141. postIndex := iNdEx + intStringLen
  1142. if postIndex > l {
  1143. return io.ErrUnexpectedEOF
  1144. }
  1145. m.Tag = string(dAtA[iNdEx:postIndex])
  1146. iNdEx = postIndex
  1147. case 4:
  1148. if wireType != 2 {
  1149. return fmt.Errorf("proto: wrong wireType = %d for field ShortTag", wireType)
  1150. }
  1151. var stringLen uint64
  1152. for shift := uint(0); ; shift += 7 {
  1153. if shift >= 64 {
  1154. return ErrIntOverflowMessage
  1155. }
  1156. if iNdEx >= l {
  1157. return io.ErrUnexpectedEOF
  1158. }
  1159. b := dAtA[iNdEx]
  1160. iNdEx++
  1161. stringLen |= (uint64(b) & 0x7F) << shift
  1162. if b < 0x80 {
  1163. break
  1164. }
  1165. }
  1166. intStringLen := int(stringLen)
  1167. if intStringLen < 0 {
  1168. return ErrInvalidLengthMessage
  1169. }
  1170. postIndex := iNdEx + intStringLen
  1171. if postIndex > l {
  1172. return io.ErrUnexpectedEOF
  1173. }
  1174. m.ShortTag = string(dAtA[iNdEx:postIndex])
  1175. iNdEx = postIndex
  1176. case 5:
  1177. if wireType != 2 {
  1178. return fmt.Errorf("proto: wrong wireType = %d for field Remark", wireType)
  1179. }
  1180. var stringLen uint64
  1181. for shift := uint(0); ; shift += 7 {
  1182. if shift >= 64 {
  1183. return ErrIntOverflowMessage
  1184. }
  1185. if iNdEx >= l {
  1186. return io.ErrUnexpectedEOF
  1187. }
  1188. b := dAtA[iNdEx]
  1189. iNdEx++
  1190. stringLen |= (uint64(b) & 0x7F) << shift
  1191. if b < 0x80 {
  1192. break
  1193. }
  1194. }
  1195. intStringLen := int(stringLen)
  1196. if intStringLen < 0 {
  1197. return ErrInvalidLengthMessage
  1198. }
  1199. postIndex := iNdEx + intStringLen
  1200. if postIndex > l {
  1201. return io.ErrUnexpectedEOF
  1202. }
  1203. m.Remark = string(dAtA[iNdEx:postIndex])
  1204. iNdEx = postIndex
  1205. case 6:
  1206. if wireType != 0 {
  1207. return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
  1208. }
  1209. m.State = 0
  1210. for shift := uint(0); ; shift += 7 {
  1211. if shift >= 64 {
  1212. return ErrIntOverflowMessage
  1213. }
  1214. if iNdEx >= l {
  1215. return io.ErrUnexpectedEOF
  1216. }
  1217. b := dAtA[iNdEx]
  1218. iNdEx++
  1219. m.State |= (int32(b) & 0x7F) << shift
  1220. if b < 0x80 {
  1221. break
  1222. }
  1223. }
  1224. case 7:
  1225. if wireType != 2 {
  1226. return fmt.Errorf("proto: wrong wireType = %d for field FontColor", wireType)
  1227. }
  1228. var stringLen uint64
  1229. for shift := uint(0); ; shift += 7 {
  1230. if shift >= 64 {
  1231. return ErrIntOverflowMessage
  1232. }
  1233. if iNdEx >= l {
  1234. return io.ErrUnexpectedEOF
  1235. }
  1236. b := dAtA[iNdEx]
  1237. iNdEx++
  1238. stringLen |= (uint64(b) & 0x7F) << shift
  1239. if b < 0x80 {
  1240. break
  1241. }
  1242. }
  1243. intStringLen := int(stringLen)
  1244. if intStringLen < 0 {
  1245. return ErrInvalidLengthMessage
  1246. }
  1247. postIndex := iNdEx + intStringLen
  1248. if postIndex > l {
  1249. return io.ErrUnexpectedEOF
  1250. }
  1251. m.FontColor = string(dAtA[iNdEx:postIndex])
  1252. iNdEx = postIndex
  1253. case 8:
  1254. if wireType != 2 {
  1255. return fmt.Errorf("proto: wrong wireType = %d for field BgColor", wireType)
  1256. }
  1257. var stringLen uint64
  1258. for shift := uint(0); ; shift += 7 {
  1259. if shift >= 64 {
  1260. return ErrIntOverflowMessage
  1261. }
  1262. if iNdEx >= l {
  1263. return io.ErrUnexpectedEOF
  1264. }
  1265. b := dAtA[iNdEx]
  1266. iNdEx++
  1267. stringLen |= (uint64(b) & 0x7F) << shift
  1268. if b < 0x80 {
  1269. break
  1270. }
  1271. }
  1272. intStringLen := int(stringLen)
  1273. if intStringLen < 0 {
  1274. return ErrInvalidLengthMessage
  1275. }
  1276. postIndex := iNdEx + intStringLen
  1277. if postIndex > l {
  1278. return io.ErrUnexpectedEOF
  1279. }
  1280. m.BgColor = string(dAtA[iNdEx:postIndex])
  1281. iNdEx = postIndex
  1282. default:
  1283. iNdEx = preIndex
  1284. skippy, err := skipMessage(dAtA[iNdEx:])
  1285. if err != nil {
  1286. return err
  1287. }
  1288. if skippy < 0 {
  1289. return ErrInvalidLengthMessage
  1290. }
  1291. if (iNdEx + skippy) > l {
  1292. return io.ErrUnexpectedEOF
  1293. }
  1294. iNdEx += skippy
  1295. }
  1296. }
  1297. if iNdEx > l {
  1298. return io.ErrUnexpectedEOF
  1299. }
  1300. return nil
  1301. }
  1302. func (m *UpBaseStat) Unmarshal(dAtA []byte) error {
  1303. l := len(dAtA)
  1304. iNdEx := 0
  1305. for iNdEx < l {
  1306. preIndex := iNdEx
  1307. var wire uint64
  1308. for shift := uint(0); ; shift += 7 {
  1309. if shift >= 64 {
  1310. return ErrIntOverflowMessage
  1311. }
  1312. if iNdEx >= l {
  1313. return io.ErrUnexpectedEOF
  1314. }
  1315. b := dAtA[iNdEx]
  1316. iNdEx++
  1317. wire |= (uint64(b) & 0x7F) << shift
  1318. if b < 0x80 {
  1319. break
  1320. }
  1321. }
  1322. fieldNum := int32(wire >> 3)
  1323. wireType := int(wire & 0x7)
  1324. if wireType == 4 {
  1325. return fmt.Errorf("proto: UpBaseStat: wiretype end group for non-group")
  1326. }
  1327. if fieldNum <= 0 {
  1328. return fmt.Errorf("proto: UpBaseStat: illegal tag %d (wire type %d)", fieldNum, wire)
  1329. }
  1330. switch fieldNum {
  1331. case 1:
  1332. if wireType != 0 {
  1333. return fmt.Errorf("proto: wrong wireType = %d for field View", wireType)
  1334. }
  1335. m.View = 0
  1336. for shift := uint(0); ; shift += 7 {
  1337. if shift >= 64 {
  1338. return ErrIntOverflowMessage
  1339. }
  1340. if iNdEx >= l {
  1341. return io.ErrUnexpectedEOF
  1342. }
  1343. b := dAtA[iNdEx]
  1344. iNdEx++
  1345. m.View |= (int64(b) & 0x7F) << shift
  1346. if b < 0x80 {
  1347. break
  1348. }
  1349. }
  1350. case 2:
  1351. if wireType != 0 {
  1352. return fmt.Errorf("proto: wrong wireType = %d for field Reply", wireType)
  1353. }
  1354. m.Reply = 0
  1355. for shift := uint(0); ; shift += 7 {
  1356. if shift >= 64 {
  1357. return ErrIntOverflowMessage
  1358. }
  1359. if iNdEx >= l {
  1360. return io.ErrUnexpectedEOF
  1361. }
  1362. b := dAtA[iNdEx]
  1363. iNdEx++
  1364. m.Reply |= (int64(b) & 0x7F) << shift
  1365. if b < 0x80 {
  1366. break
  1367. }
  1368. }
  1369. case 3:
  1370. if wireType != 0 {
  1371. return fmt.Errorf("proto: wrong wireType = %d for field Dm", wireType)
  1372. }
  1373. m.Dm = 0
  1374. for shift := uint(0); ; shift += 7 {
  1375. if shift >= 64 {
  1376. return ErrIntOverflowMessage
  1377. }
  1378. if iNdEx >= l {
  1379. return io.ErrUnexpectedEOF
  1380. }
  1381. b := dAtA[iNdEx]
  1382. iNdEx++
  1383. m.Dm |= (int64(b) & 0x7F) << shift
  1384. if b < 0x80 {
  1385. break
  1386. }
  1387. }
  1388. case 4:
  1389. if wireType != 0 {
  1390. return fmt.Errorf("proto: wrong wireType = %d for field Fans", wireType)
  1391. }
  1392. m.Fans = 0
  1393. for shift := uint(0); ; shift += 7 {
  1394. if shift >= 64 {
  1395. return ErrIntOverflowMessage
  1396. }
  1397. if iNdEx >= l {
  1398. return io.ErrUnexpectedEOF
  1399. }
  1400. b := dAtA[iNdEx]
  1401. iNdEx++
  1402. m.Fans |= (int64(b) & 0x7F) << shift
  1403. if b < 0x80 {
  1404. break
  1405. }
  1406. }
  1407. case 5:
  1408. if wireType != 0 {
  1409. return fmt.Errorf("proto: wrong wireType = %d for field Fav", wireType)
  1410. }
  1411. m.Fav = 0
  1412. for shift := uint(0); ; shift += 7 {
  1413. if shift >= 64 {
  1414. return ErrIntOverflowMessage
  1415. }
  1416. if iNdEx >= l {
  1417. return io.ErrUnexpectedEOF
  1418. }
  1419. b := dAtA[iNdEx]
  1420. iNdEx++
  1421. m.Fav |= (int64(b) & 0x7F) << shift
  1422. if b < 0x80 {
  1423. break
  1424. }
  1425. }
  1426. case 6:
  1427. if wireType != 0 {
  1428. return fmt.Errorf("proto: wrong wireType = %d for field Like", wireType)
  1429. }
  1430. m.Like = 0
  1431. for shift := uint(0); ; shift += 7 {
  1432. if shift >= 64 {
  1433. return ErrIntOverflowMessage
  1434. }
  1435. if iNdEx >= l {
  1436. return io.ErrUnexpectedEOF
  1437. }
  1438. b := dAtA[iNdEx]
  1439. iNdEx++
  1440. m.Like |= (int64(b) & 0x7F) << shift
  1441. if b < 0x80 {
  1442. break
  1443. }
  1444. }
  1445. default:
  1446. iNdEx = preIndex
  1447. skippy, err := skipMessage(dAtA[iNdEx:])
  1448. if err != nil {
  1449. return err
  1450. }
  1451. if skippy < 0 {
  1452. return ErrInvalidLengthMessage
  1453. }
  1454. if (iNdEx + skippy) > l {
  1455. return io.ErrUnexpectedEOF
  1456. }
  1457. iNdEx += skippy
  1458. }
  1459. }
  1460. if iNdEx > l {
  1461. return io.ErrUnexpectedEOF
  1462. }
  1463. return nil
  1464. }
  1465. func (m *PBSetUpSwitchRes) Unmarshal(dAtA []byte) error {
  1466. l := len(dAtA)
  1467. iNdEx := 0
  1468. for iNdEx < l {
  1469. preIndex := iNdEx
  1470. var wire uint64
  1471. for shift := uint(0); ; shift += 7 {
  1472. if shift >= 64 {
  1473. return ErrIntOverflowMessage
  1474. }
  1475. if iNdEx >= l {
  1476. return io.ErrUnexpectedEOF
  1477. }
  1478. b := dAtA[iNdEx]
  1479. iNdEx++
  1480. wire |= (uint64(b) & 0x7F) << shift
  1481. if b < 0x80 {
  1482. break
  1483. }
  1484. }
  1485. fieldNum := int32(wire >> 3)
  1486. wireType := int(wire & 0x7)
  1487. if wireType == 4 {
  1488. return fmt.Errorf("proto: PBSetUpSwitchRes: wiretype end group for non-group")
  1489. }
  1490. if fieldNum <= 0 {
  1491. return fmt.Errorf("proto: PBSetUpSwitchRes: illegal tag %d (wire type %d)", fieldNum, wire)
  1492. }
  1493. switch fieldNum {
  1494. case 1:
  1495. if wireType != 0 {
  1496. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  1497. }
  1498. m.Id = 0
  1499. for shift := uint(0); ; shift += 7 {
  1500. if shift >= 64 {
  1501. return ErrIntOverflowMessage
  1502. }
  1503. if iNdEx >= l {
  1504. return io.ErrUnexpectedEOF
  1505. }
  1506. b := dAtA[iNdEx]
  1507. iNdEx++
  1508. m.Id |= (int64(b) & 0x7F) << shift
  1509. if b < 0x80 {
  1510. break
  1511. }
  1512. }
  1513. default:
  1514. iNdEx = preIndex
  1515. skippy, err := skipMessage(dAtA[iNdEx:])
  1516. if err != nil {
  1517. return err
  1518. }
  1519. if skippy < 0 {
  1520. return ErrInvalidLengthMessage
  1521. }
  1522. if (iNdEx + skippy) > l {
  1523. return io.ErrUnexpectedEOF
  1524. }
  1525. iNdEx += skippy
  1526. }
  1527. }
  1528. if iNdEx > l {
  1529. return io.ErrUnexpectedEOF
  1530. }
  1531. return nil
  1532. }
  1533. func (m *PBUpSwitch) Unmarshal(dAtA []byte) error {
  1534. l := len(dAtA)
  1535. iNdEx := 0
  1536. for iNdEx < l {
  1537. preIndex := iNdEx
  1538. var wire uint64
  1539. for shift := uint(0); ; shift += 7 {
  1540. if shift >= 64 {
  1541. return ErrIntOverflowMessage
  1542. }
  1543. if iNdEx >= l {
  1544. return io.ErrUnexpectedEOF
  1545. }
  1546. b := dAtA[iNdEx]
  1547. iNdEx++
  1548. wire |= (uint64(b) & 0x7F) << shift
  1549. if b < 0x80 {
  1550. break
  1551. }
  1552. }
  1553. fieldNum := int32(wire >> 3)
  1554. wireType := int(wire & 0x7)
  1555. if wireType == 4 {
  1556. return fmt.Errorf("proto: PBUpSwitch: wiretype end group for non-group")
  1557. }
  1558. if fieldNum <= 0 {
  1559. return fmt.Errorf("proto: PBUpSwitch: illegal tag %d (wire type %d)", fieldNum, wire)
  1560. }
  1561. switch fieldNum {
  1562. case 1:
  1563. if wireType != 0 {
  1564. return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
  1565. }
  1566. m.State = 0
  1567. for shift := uint(0); ; shift += 7 {
  1568. if shift >= 64 {
  1569. return ErrIntOverflowMessage
  1570. }
  1571. if iNdEx >= l {
  1572. return io.ErrUnexpectedEOF
  1573. }
  1574. b := dAtA[iNdEx]
  1575. iNdEx++
  1576. m.State |= (int32(b) & 0x7F) << shift
  1577. if b < 0x80 {
  1578. break
  1579. }
  1580. }
  1581. default:
  1582. iNdEx = preIndex
  1583. skippy, err := skipMessage(dAtA[iNdEx:])
  1584. if err != nil {
  1585. return err
  1586. }
  1587. if skippy < 0 {
  1588. return ErrInvalidLengthMessage
  1589. }
  1590. if (iNdEx + skippy) > l {
  1591. return io.ErrUnexpectedEOF
  1592. }
  1593. iNdEx += skippy
  1594. }
  1595. }
  1596. if iNdEx > l {
  1597. return io.ErrUnexpectedEOF
  1598. }
  1599. return nil
  1600. }
  1601. func skipMessage(dAtA []byte) (n int, err error) {
  1602. l := len(dAtA)
  1603. iNdEx := 0
  1604. for iNdEx < l {
  1605. var wire uint64
  1606. for shift := uint(0); ; shift += 7 {
  1607. if shift >= 64 {
  1608. return 0, ErrIntOverflowMessage
  1609. }
  1610. if iNdEx >= l {
  1611. return 0, io.ErrUnexpectedEOF
  1612. }
  1613. b := dAtA[iNdEx]
  1614. iNdEx++
  1615. wire |= (uint64(b) & 0x7F) << shift
  1616. if b < 0x80 {
  1617. break
  1618. }
  1619. }
  1620. wireType := int(wire & 0x7)
  1621. switch wireType {
  1622. case 0:
  1623. for shift := uint(0); ; shift += 7 {
  1624. if shift >= 64 {
  1625. return 0, ErrIntOverflowMessage
  1626. }
  1627. if iNdEx >= l {
  1628. return 0, io.ErrUnexpectedEOF
  1629. }
  1630. iNdEx++
  1631. if dAtA[iNdEx-1] < 0x80 {
  1632. break
  1633. }
  1634. }
  1635. return iNdEx, nil
  1636. case 1:
  1637. iNdEx += 8
  1638. return iNdEx, nil
  1639. case 2:
  1640. var length int
  1641. for shift := uint(0); ; shift += 7 {
  1642. if shift >= 64 {
  1643. return 0, ErrIntOverflowMessage
  1644. }
  1645. if iNdEx >= l {
  1646. return 0, io.ErrUnexpectedEOF
  1647. }
  1648. b := dAtA[iNdEx]
  1649. iNdEx++
  1650. length |= (int(b) & 0x7F) << shift
  1651. if b < 0x80 {
  1652. break
  1653. }
  1654. }
  1655. iNdEx += length
  1656. if length < 0 {
  1657. return 0, ErrInvalidLengthMessage
  1658. }
  1659. return iNdEx, nil
  1660. case 3:
  1661. for {
  1662. var innerWire uint64
  1663. var start int = iNdEx
  1664. for shift := uint(0); ; shift += 7 {
  1665. if shift >= 64 {
  1666. return 0, ErrIntOverflowMessage
  1667. }
  1668. if iNdEx >= l {
  1669. return 0, io.ErrUnexpectedEOF
  1670. }
  1671. b := dAtA[iNdEx]
  1672. iNdEx++
  1673. innerWire |= (uint64(b) & 0x7F) << shift
  1674. if b < 0x80 {
  1675. break
  1676. }
  1677. }
  1678. innerWireType := int(innerWire & 0x7)
  1679. if innerWireType == 4 {
  1680. break
  1681. }
  1682. next, err := skipMessage(dAtA[start:])
  1683. if err != nil {
  1684. return 0, err
  1685. }
  1686. iNdEx = start + next
  1687. }
  1688. return iNdEx, nil
  1689. case 4:
  1690. return iNdEx, nil
  1691. case 5:
  1692. iNdEx += 4
  1693. return iNdEx, nil
  1694. default:
  1695. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  1696. }
  1697. }
  1698. panic("unreachable")
  1699. }
  1700. var (
  1701. ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling")
  1702. ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow")
  1703. )
  1704. func init() { proto.RegisterFile("message.proto", fileDescriptorMessage) }
  1705. var fileDescriptorMessage = []byte{
  1706. // 633 bytes of a gzipped FileDescriptorProto
  1707. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xc1, 0x6e, 0xd3, 0x4c,
  1708. 0x14, 0x85, 0x7f, 0x27, 0x71, 0x62, 0xcf, 0x4f, 0x51, 0xe5, 0x05, 0x32, 0x50, 0xc5, 0x55, 0x16,
  1709. 0x28, 0x54, 0xb4, 0x91, 0x60, 0x8f, 0x84, 0x6b, 0x15, 0x45, 0xa2, 0x55, 0x35, 0xa9, 0xd9, 0x56,
  1710. 0x93, 0x78, 0xe2, 0x8c, 0xea, 0xf1, 0x58, 0xf6, 0xa4, 0x55, 0xdf, 0x84, 0x2d, 0xaf, 0xc1, 0x13,
  1711. 0xb0, 0x42, 0x3c, 0x81, 0x85, 0xca, 0xce, 0x8f, 0xc0, 0x0a, 0xdd, 0x6b, 0xa7, 0x2e, 0x08, 0x10,
  1712. 0x6c, 0xec, 0x99, 0x73, 0xcf, 0xbd, 0x33, 0xfa, 0x4e, 0x1c, 0xb2, 0x25, 0x79, 0x51, 0xb0, 0x98,
  1713. 0x1f, 0x64, 0xb9, 0xd2, 0xca, 0x31, 0xa5, 0x8a, 0x78, 0xf2, 0x68, 0x3f, 0x16, 0x7a, 0xb5, 0x9e,
  1714. 0x1f, 0x2c, 0x94, 0x9c, 0xc4, 0x2a, 0x56, 0x13, 0xac, 0xce, 0xd7, 0x4b, 0xdc, 0xe1, 0x06, 0x57,
  1715. 0x75, 0xd7, 0xe8, 0x53, 0x97, 0xd8, 0x61, 0x36, 0xcb, 0xf8, 0x42, 0xb0, 0xc4, 0x79, 0x40, 0x3a,
  1716. 0xd3, 0xc0, 0x35, 0x76, 0x8d, 0x71, 0xd7, 0xef, 0x57, 0xa5, 0xd7, 0x11, 0x11, 0xed, 0x4c, 0x03,
  1717. 0xe7, 0x09, 0x19, 0xbc, 0xce, 0xd5, 0x3a, 0x9b, 0x06, 0x6e, 0x07, 0x8b, 0xf7, 0xaa, 0xd2, 0xb3,
  1718. 0x62, 0x90, 0xce, 0x45, 0x44, 0x37, 0x45, 0xe7, 0x19, 0xb1, 0x71, 0x79, 0xc2, 0x24, 0x77, 0xbb,
  1719. 0xbb, 0xc6, 0xd8, 0xf6, 0xef, 0x57, 0xa5, 0x47, 0x6a, 0x67, 0xca, 0x24, 0xa7, 0xad, 0xc1, 0x79,
  1720. 0x4a, 0x2c, 0xdc, 0x9c, 0xb1, 0xd8, 0xed, 0xa1, 0x79, 0xab, 0x2a, 0x3d, 0xbb, 0x36, 0x6b, 0x16,
  1721. 0xd3, 0xdb, 0xb2, 0xf3, 0x90, 0x74, 0x8f, 0x45, 0xe4, 0x9a, 0x78, 0xf8, 0xa0, 0x2a, 0xbd, 0xae,
  1722. 0x14, 0x11, 0x05, 0xcd, 0xd9, 0x21, 0xbd, 0x13, 0xa5, 0xb9, 0xdb, 0xc7, 0x09, 0x56, 0x55, 0x7a,
  1723. 0xbd, 0x54, 0x69, 0x4e, 0x51, 0x75, 0x5e, 0x12, 0xf3, 0xf0, 0x4c, 0x48, 0xee, 0x0e, 0xb0, 0x75,
  1724. 0x5c, 0x95, 0x9e, 0xb9, 0xd0, 0x42, 0xf2, 0x6f, 0xa5, 0xf7, 0x38, 0x56, 0xfb, 0x0b, 0x25, 0xa5,
  1725. 0x4a, 0x27, 0x89, 0x98, 0xe7, 0x2c, 0xbf, 0x9e, 0x40, 0xe5, 0x00, 0xfc, 0xb4, 0x6e, 0x83, 0x83,
  1726. 0xc3, 0x69, 0xe0, 0x5a, 0xed, 0xc1, 0x6b, 0x38, 0x38, 0x9c, 0x06, 0x30, 0xfa, 0x18, 0x47, 0xdb,
  1727. 0xed, 0x68, 0xf9, 0x57, 0xa3, 0xb1, 0x0d, 0x60, 0x1d, 0xa9, 0x54, 0x1f, 0xaa, 0x44, 0xe5, 0x2e,
  1728. 0x69, 0x61, 0x2d, 0x55, 0xaa, 0xcf, 0x17, 0xa0, 0xd2, 0xd6, 0x00, 0x11, 0xf8, 0x71, 0xed, 0xfd,
  1729. 0x1f, 0xbd, 0x18, 0xc1, 0x3c, 0x6e, 0x9c, 0x9b, 0xe2, 0xe8, 0x39, 0xe9, 0x87, 0xd9, 0x34, 0x5d,
  1730. 0x2a, 0x67, 0x4c, 0x2c, 0x51, 0xbc, 0x5a, 0xeb, 0x95, 0xca, 0x31, 0x52, 0xb3, 0x6e, 0xd9, 0x68,
  1731. 0xf4, 0x76, 0x35, 0x7a, 0xdf, 0x21, 0x83, 0x30, 0x43, 0xd8, 0xbf, 0xfd, 0x09, 0xec, 0x90, 0x1e,
  1732. 0xe4, 0x87, 0xf9, 0x6f, 0x30, 0x43, 0x9e, 0xf8, 0x04, 0x4c, 0x9a, 0xc5, 0x4d, 0xe4, 0x88, 0x09,
  1733. 0xf2, 0x83, 0x87, 0xb3, 0x47, 0xec, 0x62, 0xa5, 0x72, 0x0d, 0x89, 0xde, 0x8d, 0xf9, 0x56, 0xa4,
  1734. 0x16, 0x2e, 0x21, 0xe6, 0x11, 0xe9, 0xe7, 0x5c, 0xb2, 0xfc, 0x02, 0x93, 0xb6, 0x7d, 0x52, 0x95,
  1735. 0x5e, 0xa3, 0xd0, 0xe6, 0xed, 0x78, 0xc4, 0x2c, 0x34, 0x6b, 0x02, 0x37, 0x7d, 0x1b, 0xb0, 0xa3,
  1736. 0x40, 0xeb, 0xd7, 0x8f, 0x5c, 0x07, 0xff, 0xc0, 0xd5, 0xfa, 0x13, 0xd7, 0x0f, 0x06, 0x21, 0x61,
  1737. 0xe6, 0xb3, 0x82, 0xcf, 0x34, 0xd3, 0x80, 0xe3, 0xad, 0xe0, 0x57, 0x0d, 0x28, 0xc4, 0x71, 0x29,
  1738. 0xf8, 0x15, 0x45, 0x15, 0xee, 0x48, 0x79, 0x96, 0x5c, 0x37, 0x5f, 0x0b, 0xde, 0x31, 0x07, 0x81,
  1739. 0xd6, 0x3a, 0x50, 0x0e, 0x24, 0xe2, 0x6a, 0x28, 0x47, 0x92, 0x76, 0x02, 0x09, 0x63, 0x8f, 0x58,
  1740. 0x5a, 0x20, 0xa7, 0x66, 0xec, 0x92, 0xa5, 0x05, 0x45, 0x15, 0x28, 0x1f, 0xb1, 0xcb, 0xbb, 0x5f,
  1741. 0xc1, 0x92, 0x5d, 0x52, 0xd0, 0xa0, 0xf1, 0x8d, 0xb8, 0xa8, 0xa1, 0x34, 0x8d, 0x89, 0xb8, 0xe0,
  1742. 0x14, 0xd5, 0xd1, 0x1e, 0xd9, 0x3e, 0xf5, 0x67, 0x5c, 0x87, 0xd9, 0xec, 0x4a, 0xe8, 0xc5, 0x8a,
  1743. 0xf2, 0x02, 0xae, 0x20, 0xa2, 0x9f, 0x83, 0x16, 0xd1, 0x68, 0x9f, 0x90, 0x53, 0x7f, 0x63, 0x6c,
  1744. 0x69, 0x1b, 0xbf, 0xa6, 0xed, 0x6f, 0x7f, 0xbc, 0x19, 0x1a, 0x9f, 0x6f, 0x86, 0xc6, 0x97, 0x9b,
  1745. 0xa1, 0xf1, 0xee, 0xeb, 0xf0, 0xbf, 0x79, 0x1f, 0xff, 0x59, 0x5e, 0x7c, 0x0f, 0x00, 0x00, 0xff,
  1746. 0xff, 0xa2, 0xc0, 0x88, 0x6f, 0xa0, 0x04, 0x00, 0x00,
  1747. }