Medal.pb.go 71 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: v1/Medal.proto
  3. package v1
  4. import proto "github.com/gogo/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "github.com/gogo/protobuf/gogoproto"
  8. import io "io"
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  18. type MedalCreateReq struct {
  19. //
  20. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
  21. //
  22. Source int64 `protobuf:"varint,2,opt,name=source,proto3" json:"source"`
  23. }
  24. func (m *MedalCreateReq) Reset() { *m = MedalCreateReq{} }
  25. func (m *MedalCreateReq) String() string { return proto.CompactTextString(m) }
  26. func (*MedalCreateReq) ProtoMessage() {}
  27. func (*MedalCreateReq) Descriptor() ([]byte, []int) {
  28. return fileDescriptor_Medal_320108735012f73b, []int{0}
  29. }
  30. func (m *MedalCreateReq) XXX_Unmarshal(b []byte) error {
  31. return m.Unmarshal(b)
  32. }
  33. func (m *MedalCreateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  34. if deterministic {
  35. return xxx_messageInfo_MedalCreateReq.Marshal(b, m, deterministic)
  36. } else {
  37. b = b[:cap(b)]
  38. n, err := m.MarshalTo(b)
  39. if err != nil {
  40. return nil, err
  41. }
  42. return b[:n], nil
  43. }
  44. }
  45. func (dst *MedalCreateReq) XXX_Merge(src proto.Message) {
  46. xxx_messageInfo_MedalCreateReq.Merge(dst, src)
  47. }
  48. func (m *MedalCreateReq) XXX_Size() int {
  49. return m.Size()
  50. }
  51. func (m *MedalCreateReq) XXX_DiscardUnknown() {
  52. xxx_messageInfo_MedalCreateReq.DiscardUnknown(m)
  53. }
  54. var xxx_messageInfo_MedalCreateReq proto.InternalMessageInfo
  55. func (m *MedalCreateReq) GetUid() int64 {
  56. if m != nil {
  57. return m.Uid
  58. }
  59. return 0
  60. }
  61. func (m *MedalCreateReq) GetSource() int64 {
  62. if m != nil {
  63. return m.Source
  64. }
  65. return 0
  66. }
  67. type MedalCreateResp struct {
  68. //
  69. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  70. //
  71. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  72. //
  73. Data *MedalCreateResp_Data `protobuf:"bytes,3,opt,name=data" json:"data"`
  74. }
  75. func (m *MedalCreateResp) Reset() { *m = MedalCreateResp{} }
  76. func (m *MedalCreateResp) String() string { return proto.CompactTextString(m) }
  77. func (*MedalCreateResp) ProtoMessage() {}
  78. func (*MedalCreateResp) Descriptor() ([]byte, []int) {
  79. return fileDescriptor_Medal_320108735012f73b, []int{1}
  80. }
  81. func (m *MedalCreateResp) XXX_Unmarshal(b []byte) error {
  82. return m.Unmarshal(b)
  83. }
  84. func (m *MedalCreateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  85. if deterministic {
  86. return xxx_messageInfo_MedalCreateResp.Marshal(b, m, deterministic)
  87. } else {
  88. b = b[:cap(b)]
  89. n, err := m.MarshalTo(b)
  90. if err != nil {
  91. return nil, err
  92. }
  93. return b[:n], nil
  94. }
  95. }
  96. func (dst *MedalCreateResp) XXX_Merge(src proto.Message) {
  97. xxx_messageInfo_MedalCreateResp.Merge(dst, src)
  98. }
  99. func (m *MedalCreateResp) XXX_Size() int {
  100. return m.Size()
  101. }
  102. func (m *MedalCreateResp) XXX_DiscardUnknown() {
  103. xxx_messageInfo_MedalCreateResp.DiscardUnknown(m)
  104. }
  105. var xxx_messageInfo_MedalCreateResp proto.InternalMessageInfo
  106. func (m *MedalCreateResp) GetCode() int64 {
  107. if m != nil {
  108. return m.Code
  109. }
  110. return 0
  111. }
  112. func (m *MedalCreateResp) GetMsg() string {
  113. if m != nil {
  114. return m.Msg
  115. }
  116. return ""
  117. }
  118. func (m *MedalCreateResp) GetData() *MedalCreateResp_Data {
  119. if m != nil {
  120. return m.Data
  121. }
  122. return nil
  123. }
  124. type MedalCreateResp_Data struct {
  125. // 勋章ID
  126. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  127. // up主uid
  128. Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid"`
  129. // 勋章名称
  130. MedalName string `protobuf:"bytes,3,opt,name=medal_name,json=medalName,proto3" json:"medal_name"`
  131. // 直播开通状态 0 冻结 1 可用
  132. LiveStatus int64 `protobuf:"varint,4,opt,name=live_status,json=liveStatus,proto3" json:"live_status"`
  133. // 主站开通状态 0 冻结 1 可用
  134. MasterStatus int64 `protobuf:"varint,5,opt,name=master_status,json=masterStatus,proto3" json:"master_status"`
  135. // 勋章审核状态 -1已拒绝 0未申请 1已申请 2已开通
  136. Status int64 `protobuf:"varint,6,opt,name=status,proto3" json:"status"`
  137. // 审核不通过通过的理由
  138. Reason string `protobuf:"bytes,7,opt,name=reason,proto3" json:"reason"`
  139. // 申请来源
  140. ApplySource int64 `protobuf:"varint,8,opt,name=apply_source,json=applySource,proto3" json:"apply_source"`
  141. // 最后一次修改勋章名称的时间戳
  142. LastRenameTime int64 `protobuf:"varint,9,opt,name=last_rename_time,json=lastRenameTime,proto3" json:"last_rename_time"`
  143. // 改名状态
  144. RenameStatus int64 `protobuf:"varint,10,opt,name=rename_status,json=renameStatus,proto3" json:"rename_status"`
  145. // 充电超过该数值可获得勋章
  146. ChargeNum int64 `protobuf:"varint,11,opt,name=charge_num,json=chargeNum,proto3" json:"charge_num"`
  147. // 投币超过该数值可获得勋章
  148. CoinNum int64 `protobuf:"varint,12,opt,name=coin_num,json=coinNum,proto3" json:"coin_num"`
  149. // 没有勋章时为 true
  150. IsNull bool `protobuf:"varint,13,opt,name=is_null,json=isNull,proto3" json:"is_null"`
  151. }
  152. func (m *MedalCreateResp_Data) Reset() { *m = MedalCreateResp_Data{} }
  153. func (m *MedalCreateResp_Data) String() string { return proto.CompactTextString(m) }
  154. func (*MedalCreateResp_Data) ProtoMessage() {}
  155. func (*MedalCreateResp_Data) Descriptor() ([]byte, []int) {
  156. return fileDescriptor_Medal_320108735012f73b, []int{1, 0}
  157. }
  158. func (m *MedalCreateResp_Data) XXX_Unmarshal(b []byte) error {
  159. return m.Unmarshal(b)
  160. }
  161. func (m *MedalCreateResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  162. if deterministic {
  163. return xxx_messageInfo_MedalCreateResp_Data.Marshal(b, m, deterministic)
  164. } else {
  165. b = b[:cap(b)]
  166. n, err := m.MarshalTo(b)
  167. if err != nil {
  168. return nil, err
  169. }
  170. return b[:n], nil
  171. }
  172. }
  173. func (dst *MedalCreateResp_Data) XXX_Merge(src proto.Message) {
  174. xxx_messageInfo_MedalCreateResp_Data.Merge(dst, src)
  175. }
  176. func (m *MedalCreateResp_Data) XXX_Size() int {
  177. return m.Size()
  178. }
  179. func (m *MedalCreateResp_Data) XXX_DiscardUnknown() {
  180. xxx_messageInfo_MedalCreateResp_Data.DiscardUnknown(m)
  181. }
  182. var xxx_messageInfo_MedalCreateResp_Data proto.InternalMessageInfo
  183. func (m *MedalCreateResp_Data) GetId() int64 {
  184. if m != nil {
  185. return m.Id
  186. }
  187. return 0
  188. }
  189. func (m *MedalCreateResp_Data) GetUid() int64 {
  190. if m != nil {
  191. return m.Uid
  192. }
  193. return 0
  194. }
  195. func (m *MedalCreateResp_Data) GetMedalName() string {
  196. if m != nil {
  197. return m.MedalName
  198. }
  199. return ""
  200. }
  201. func (m *MedalCreateResp_Data) GetLiveStatus() int64 {
  202. if m != nil {
  203. return m.LiveStatus
  204. }
  205. return 0
  206. }
  207. func (m *MedalCreateResp_Data) GetMasterStatus() int64 {
  208. if m != nil {
  209. return m.MasterStatus
  210. }
  211. return 0
  212. }
  213. func (m *MedalCreateResp_Data) GetStatus() int64 {
  214. if m != nil {
  215. return m.Status
  216. }
  217. return 0
  218. }
  219. func (m *MedalCreateResp_Data) GetReason() string {
  220. if m != nil {
  221. return m.Reason
  222. }
  223. return ""
  224. }
  225. func (m *MedalCreateResp_Data) GetApplySource() int64 {
  226. if m != nil {
  227. return m.ApplySource
  228. }
  229. return 0
  230. }
  231. func (m *MedalCreateResp_Data) GetLastRenameTime() int64 {
  232. if m != nil {
  233. return m.LastRenameTime
  234. }
  235. return 0
  236. }
  237. func (m *MedalCreateResp_Data) GetRenameStatus() int64 {
  238. if m != nil {
  239. return m.RenameStatus
  240. }
  241. return 0
  242. }
  243. func (m *MedalCreateResp_Data) GetChargeNum() int64 {
  244. if m != nil {
  245. return m.ChargeNum
  246. }
  247. return 0
  248. }
  249. func (m *MedalCreateResp_Data) GetCoinNum() int64 {
  250. if m != nil {
  251. return m.CoinNum
  252. }
  253. return 0
  254. }
  255. func (m *MedalCreateResp_Data) GetIsNull() bool {
  256. if m != nil {
  257. return m.IsNull
  258. }
  259. return false
  260. }
  261. type MedalQueryReq struct {
  262. //
  263. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
  264. //
  265. Source int64 `protobuf:"varint,2,opt,name=source,proto3" json:"source"`
  266. }
  267. func (m *MedalQueryReq) Reset() { *m = MedalQueryReq{} }
  268. func (m *MedalQueryReq) String() string { return proto.CompactTextString(m) }
  269. func (*MedalQueryReq) ProtoMessage() {}
  270. func (*MedalQueryReq) Descriptor() ([]byte, []int) {
  271. return fileDescriptor_Medal_320108735012f73b, []int{2}
  272. }
  273. func (m *MedalQueryReq) XXX_Unmarshal(b []byte) error {
  274. return m.Unmarshal(b)
  275. }
  276. func (m *MedalQueryReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  277. if deterministic {
  278. return xxx_messageInfo_MedalQueryReq.Marshal(b, m, deterministic)
  279. } else {
  280. b = b[:cap(b)]
  281. n, err := m.MarshalTo(b)
  282. if err != nil {
  283. return nil, err
  284. }
  285. return b[:n], nil
  286. }
  287. }
  288. func (dst *MedalQueryReq) XXX_Merge(src proto.Message) {
  289. xxx_messageInfo_MedalQueryReq.Merge(dst, src)
  290. }
  291. func (m *MedalQueryReq) XXX_Size() int {
  292. return m.Size()
  293. }
  294. func (m *MedalQueryReq) XXX_DiscardUnknown() {
  295. xxx_messageInfo_MedalQueryReq.DiscardUnknown(m)
  296. }
  297. var xxx_messageInfo_MedalQueryReq proto.InternalMessageInfo
  298. func (m *MedalQueryReq) GetUid() int64 {
  299. if m != nil {
  300. return m.Uid
  301. }
  302. return 0
  303. }
  304. func (m *MedalQueryReq) GetSource() int64 {
  305. if m != nil {
  306. return m.Source
  307. }
  308. return 0
  309. }
  310. type MedalQueryResp struct {
  311. //
  312. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  313. //
  314. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  315. //
  316. Data *MedalQueryResp_Data `protobuf:"bytes,3,opt,name=data" json:"data"`
  317. }
  318. func (m *MedalQueryResp) Reset() { *m = MedalQueryResp{} }
  319. func (m *MedalQueryResp) String() string { return proto.CompactTextString(m) }
  320. func (*MedalQueryResp) ProtoMessage() {}
  321. func (*MedalQueryResp) Descriptor() ([]byte, []int) {
  322. return fileDescriptor_Medal_320108735012f73b, []int{3}
  323. }
  324. func (m *MedalQueryResp) XXX_Unmarshal(b []byte) error {
  325. return m.Unmarshal(b)
  326. }
  327. func (m *MedalQueryResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  328. if deterministic {
  329. return xxx_messageInfo_MedalQueryResp.Marshal(b, m, deterministic)
  330. } else {
  331. b = b[:cap(b)]
  332. n, err := m.MarshalTo(b)
  333. if err != nil {
  334. return nil, err
  335. }
  336. return b[:n], nil
  337. }
  338. }
  339. func (dst *MedalQueryResp) XXX_Merge(src proto.Message) {
  340. xxx_messageInfo_MedalQueryResp.Merge(dst, src)
  341. }
  342. func (m *MedalQueryResp) XXX_Size() int {
  343. return m.Size()
  344. }
  345. func (m *MedalQueryResp) XXX_DiscardUnknown() {
  346. xxx_messageInfo_MedalQueryResp.DiscardUnknown(m)
  347. }
  348. var xxx_messageInfo_MedalQueryResp proto.InternalMessageInfo
  349. func (m *MedalQueryResp) GetCode() int64 {
  350. if m != nil {
  351. return m.Code
  352. }
  353. return 0
  354. }
  355. func (m *MedalQueryResp) GetMsg() string {
  356. if m != nil {
  357. return m.Msg
  358. }
  359. return ""
  360. }
  361. func (m *MedalQueryResp) GetData() *MedalQueryResp_Data {
  362. if m != nil {
  363. return m.Data
  364. }
  365. return nil
  366. }
  367. type MedalQueryResp_Data struct {
  368. // 勋章ID
  369. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  370. // up主uid
  371. Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid"`
  372. // 勋章名称
  373. MedalName string `protobuf:"bytes,3,opt,name=medal_name,json=medalName,proto3" json:"medal_name"`
  374. // 直播开通状态 0 冻结 1 可用
  375. LiveStatus int64 `protobuf:"varint,4,opt,name=live_status,json=liveStatus,proto3" json:"live_status"`
  376. // 主站开通状态 0 冻结 1 可用
  377. MasterStatus int64 `protobuf:"varint,5,opt,name=master_status,json=masterStatus,proto3" json:"master_status"`
  378. // 勋章审核状态 -1已拒绝 0未申请 1已申请 2已开通
  379. Status int64 `protobuf:"varint,6,opt,name=status,proto3" json:"status"`
  380. // 审核不通过通过的理由
  381. Reason string `protobuf:"bytes,7,opt,name=reason,proto3" json:"reason"`
  382. // 申请来源
  383. ApplySource int64 `protobuf:"varint,8,opt,name=apply_source,json=applySource,proto3" json:"apply_source"`
  384. // 最后一次修改勋章名称的时间戳
  385. LastRenameTime int64 `protobuf:"varint,9,opt,name=last_rename_time,json=lastRenameTime,proto3" json:"last_rename_time"`
  386. // 改名状态
  387. RenameStatus int64 `protobuf:"varint,10,opt,name=rename_status,json=renameStatus,proto3" json:"rename_status"`
  388. // 充电超过该数值可获得勋章
  389. ChargeNum int64 `protobuf:"varint,11,opt,name=charge_num,json=chargeNum,proto3" json:"charge_num"`
  390. // 投币超过该数值可获得勋章
  391. CoinNum int64 `protobuf:"varint,12,opt,name=coin_num,json=coinNum,proto3" json:"coin_num"`
  392. // 没有勋章时为 true
  393. IsNull bool `protobuf:"varint,13,opt,name=is_null,json=isNull,proto3" json:"is_null"`
  394. }
  395. func (m *MedalQueryResp_Data) Reset() { *m = MedalQueryResp_Data{} }
  396. func (m *MedalQueryResp_Data) String() string { return proto.CompactTextString(m) }
  397. func (*MedalQueryResp_Data) ProtoMessage() {}
  398. func (*MedalQueryResp_Data) Descriptor() ([]byte, []int) {
  399. return fileDescriptor_Medal_320108735012f73b, []int{3, 0}
  400. }
  401. func (m *MedalQueryResp_Data) XXX_Unmarshal(b []byte) error {
  402. return m.Unmarshal(b)
  403. }
  404. func (m *MedalQueryResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  405. if deterministic {
  406. return xxx_messageInfo_MedalQueryResp_Data.Marshal(b, m, deterministic)
  407. } else {
  408. b = b[:cap(b)]
  409. n, err := m.MarshalTo(b)
  410. if err != nil {
  411. return nil, err
  412. }
  413. return b[:n], nil
  414. }
  415. }
  416. func (dst *MedalQueryResp_Data) XXX_Merge(src proto.Message) {
  417. xxx_messageInfo_MedalQueryResp_Data.Merge(dst, src)
  418. }
  419. func (m *MedalQueryResp_Data) XXX_Size() int {
  420. return m.Size()
  421. }
  422. func (m *MedalQueryResp_Data) XXX_DiscardUnknown() {
  423. xxx_messageInfo_MedalQueryResp_Data.DiscardUnknown(m)
  424. }
  425. var xxx_messageInfo_MedalQueryResp_Data proto.InternalMessageInfo
  426. func (m *MedalQueryResp_Data) GetId() int64 {
  427. if m != nil {
  428. return m.Id
  429. }
  430. return 0
  431. }
  432. func (m *MedalQueryResp_Data) GetUid() int64 {
  433. if m != nil {
  434. return m.Uid
  435. }
  436. return 0
  437. }
  438. func (m *MedalQueryResp_Data) GetMedalName() string {
  439. if m != nil {
  440. return m.MedalName
  441. }
  442. return ""
  443. }
  444. func (m *MedalQueryResp_Data) GetLiveStatus() int64 {
  445. if m != nil {
  446. return m.LiveStatus
  447. }
  448. return 0
  449. }
  450. func (m *MedalQueryResp_Data) GetMasterStatus() int64 {
  451. if m != nil {
  452. return m.MasterStatus
  453. }
  454. return 0
  455. }
  456. func (m *MedalQueryResp_Data) GetStatus() int64 {
  457. if m != nil {
  458. return m.Status
  459. }
  460. return 0
  461. }
  462. func (m *MedalQueryResp_Data) GetReason() string {
  463. if m != nil {
  464. return m.Reason
  465. }
  466. return ""
  467. }
  468. func (m *MedalQueryResp_Data) GetApplySource() int64 {
  469. if m != nil {
  470. return m.ApplySource
  471. }
  472. return 0
  473. }
  474. func (m *MedalQueryResp_Data) GetLastRenameTime() int64 {
  475. if m != nil {
  476. return m.LastRenameTime
  477. }
  478. return 0
  479. }
  480. func (m *MedalQueryResp_Data) GetRenameStatus() int64 {
  481. if m != nil {
  482. return m.RenameStatus
  483. }
  484. return 0
  485. }
  486. func (m *MedalQueryResp_Data) GetChargeNum() int64 {
  487. if m != nil {
  488. return m.ChargeNum
  489. }
  490. return 0
  491. }
  492. func (m *MedalQueryResp_Data) GetCoinNum() int64 {
  493. if m != nil {
  494. return m.CoinNum
  495. }
  496. return 0
  497. }
  498. func (m *MedalQueryResp_Data) GetIsNull() bool {
  499. if m != nil {
  500. return m.IsNull
  501. }
  502. return false
  503. }
  504. type MedalQueryIdReq struct {
  505. //
  506. MedalId int64 `protobuf:"varint,1,opt,name=medal_id,json=medalId,proto3" json:"medal_id"`
  507. }
  508. func (m *MedalQueryIdReq) Reset() { *m = MedalQueryIdReq{} }
  509. func (m *MedalQueryIdReq) String() string { return proto.CompactTextString(m) }
  510. func (*MedalQueryIdReq) ProtoMessage() {}
  511. func (*MedalQueryIdReq) Descriptor() ([]byte, []int) {
  512. return fileDescriptor_Medal_320108735012f73b, []int{4}
  513. }
  514. func (m *MedalQueryIdReq) XXX_Unmarshal(b []byte) error {
  515. return m.Unmarshal(b)
  516. }
  517. func (m *MedalQueryIdReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  518. if deterministic {
  519. return xxx_messageInfo_MedalQueryIdReq.Marshal(b, m, deterministic)
  520. } else {
  521. b = b[:cap(b)]
  522. n, err := m.MarshalTo(b)
  523. if err != nil {
  524. return nil, err
  525. }
  526. return b[:n], nil
  527. }
  528. }
  529. func (dst *MedalQueryIdReq) XXX_Merge(src proto.Message) {
  530. xxx_messageInfo_MedalQueryIdReq.Merge(dst, src)
  531. }
  532. func (m *MedalQueryIdReq) XXX_Size() int {
  533. return m.Size()
  534. }
  535. func (m *MedalQueryIdReq) XXX_DiscardUnknown() {
  536. xxx_messageInfo_MedalQueryIdReq.DiscardUnknown(m)
  537. }
  538. var xxx_messageInfo_MedalQueryIdReq proto.InternalMessageInfo
  539. func (m *MedalQueryIdReq) GetMedalId() int64 {
  540. if m != nil {
  541. return m.MedalId
  542. }
  543. return 0
  544. }
  545. type MedalQueryIdResp struct {
  546. //
  547. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  548. //
  549. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  550. //
  551. Data *MedalQueryIdResp_Data `protobuf:"bytes,3,opt,name=data" json:"data"`
  552. }
  553. func (m *MedalQueryIdResp) Reset() { *m = MedalQueryIdResp{} }
  554. func (m *MedalQueryIdResp) String() string { return proto.CompactTextString(m) }
  555. func (*MedalQueryIdResp) ProtoMessage() {}
  556. func (*MedalQueryIdResp) Descriptor() ([]byte, []int) {
  557. return fileDescriptor_Medal_320108735012f73b, []int{5}
  558. }
  559. func (m *MedalQueryIdResp) XXX_Unmarshal(b []byte) error {
  560. return m.Unmarshal(b)
  561. }
  562. func (m *MedalQueryIdResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  563. if deterministic {
  564. return xxx_messageInfo_MedalQueryIdResp.Marshal(b, m, deterministic)
  565. } else {
  566. b = b[:cap(b)]
  567. n, err := m.MarshalTo(b)
  568. if err != nil {
  569. return nil, err
  570. }
  571. return b[:n], nil
  572. }
  573. }
  574. func (dst *MedalQueryIdResp) XXX_Merge(src proto.Message) {
  575. xxx_messageInfo_MedalQueryIdResp.Merge(dst, src)
  576. }
  577. func (m *MedalQueryIdResp) XXX_Size() int {
  578. return m.Size()
  579. }
  580. func (m *MedalQueryIdResp) XXX_DiscardUnknown() {
  581. xxx_messageInfo_MedalQueryIdResp.DiscardUnknown(m)
  582. }
  583. var xxx_messageInfo_MedalQueryIdResp proto.InternalMessageInfo
  584. func (m *MedalQueryIdResp) GetCode() int64 {
  585. if m != nil {
  586. return m.Code
  587. }
  588. return 0
  589. }
  590. func (m *MedalQueryIdResp) GetMsg() string {
  591. if m != nil {
  592. return m.Msg
  593. }
  594. return ""
  595. }
  596. func (m *MedalQueryIdResp) GetData() *MedalQueryIdResp_Data {
  597. if m != nil {
  598. return m.Data
  599. }
  600. return nil
  601. }
  602. type MedalQueryIdResp_Data struct {
  603. //
  604. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  605. //
  606. Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid"`
  607. //
  608. MedalName string `protobuf:"bytes,3,opt,name=medal_name,json=medalName,proto3" json:"medal_name"`
  609. //
  610. LiveStatus int64 `protobuf:"varint,4,opt,name=live_status,json=liveStatus,proto3" json:"live_status"`
  611. //
  612. MasterStatus int64 `protobuf:"varint,5,opt,name=master_status,json=masterStatus,proto3" json:"master_status"`
  613. //
  614. Status int64 `protobuf:"varint,6,opt,name=status,proto3" json:"status"`
  615. //
  616. Reason int64 `protobuf:"varint,7,opt,name=reason,proto3" json:"reason"`
  617. //
  618. LastRenameTime int64 `protobuf:"varint,8,opt,name=last_rename_time,json=lastRenameTime,proto3" json:"last_rename_time"`
  619. //
  620. IsNull bool `protobuf:"varint,9,opt,name=is_null,json=isNull,proto3" json:"is_null"`
  621. }
  622. func (m *MedalQueryIdResp_Data) Reset() { *m = MedalQueryIdResp_Data{} }
  623. func (m *MedalQueryIdResp_Data) String() string { return proto.CompactTextString(m) }
  624. func (*MedalQueryIdResp_Data) ProtoMessage() {}
  625. func (*MedalQueryIdResp_Data) Descriptor() ([]byte, []int) {
  626. return fileDescriptor_Medal_320108735012f73b, []int{5, 0}
  627. }
  628. func (m *MedalQueryIdResp_Data) XXX_Unmarshal(b []byte) error {
  629. return m.Unmarshal(b)
  630. }
  631. func (m *MedalQueryIdResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  632. if deterministic {
  633. return xxx_messageInfo_MedalQueryIdResp_Data.Marshal(b, m, deterministic)
  634. } else {
  635. b = b[:cap(b)]
  636. n, err := m.MarshalTo(b)
  637. if err != nil {
  638. return nil, err
  639. }
  640. return b[:n], nil
  641. }
  642. }
  643. func (dst *MedalQueryIdResp_Data) XXX_Merge(src proto.Message) {
  644. xxx_messageInfo_MedalQueryIdResp_Data.Merge(dst, src)
  645. }
  646. func (m *MedalQueryIdResp_Data) XXX_Size() int {
  647. return m.Size()
  648. }
  649. func (m *MedalQueryIdResp_Data) XXX_DiscardUnknown() {
  650. xxx_messageInfo_MedalQueryIdResp_Data.DiscardUnknown(m)
  651. }
  652. var xxx_messageInfo_MedalQueryIdResp_Data proto.InternalMessageInfo
  653. func (m *MedalQueryIdResp_Data) GetId() int64 {
  654. if m != nil {
  655. return m.Id
  656. }
  657. return 0
  658. }
  659. func (m *MedalQueryIdResp_Data) GetUid() int64 {
  660. if m != nil {
  661. return m.Uid
  662. }
  663. return 0
  664. }
  665. func (m *MedalQueryIdResp_Data) GetMedalName() string {
  666. if m != nil {
  667. return m.MedalName
  668. }
  669. return ""
  670. }
  671. func (m *MedalQueryIdResp_Data) GetLiveStatus() int64 {
  672. if m != nil {
  673. return m.LiveStatus
  674. }
  675. return 0
  676. }
  677. func (m *MedalQueryIdResp_Data) GetMasterStatus() int64 {
  678. if m != nil {
  679. return m.MasterStatus
  680. }
  681. return 0
  682. }
  683. func (m *MedalQueryIdResp_Data) GetStatus() int64 {
  684. if m != nil {
  685. return m.Status
  686. }
  687. return 0
  688. }
  689. func (m *MedalQueryIdResp_Data) GetReason() int64 {
  690. if m != nil {
  691. return m.Reason
  692. }
  693. return 0
  694. }
  695. func (m *MedalQueryIdResp_Data) GetLastRenameTime() int64 {
  696. if m != nil {
  697. return m.LastRenameTime
  698. }
  699. return 0
  700. }
  701. func (m *MedalQueryIdResp_Data) GetIsNull() bool {
  702. if m != nil {
  703. return m.IsNull
  704. }
  705. return false
  706. }
  707. func init() {
  708. proto.RegisterType((*MedalCreateReq)(nil), "fans_medal.v1.MedalCreateReq")
  709. proto.RegisterType((*MedalCreateResp)(nil), "fans_medal.v1.MedalCreateResp")
  710. proto.RegisterType((*MedalCreateResp_Data)(nil), "fans_medal.v1.MedalCreateResp.Data")
  711. proto.RegisterType((*MedalQueryReq)(nil), "fans_medal.v1.MedalQueryReq")
  712. proto.RegisterType((*MedalQueryResp)(nil), "fans_medal.v1.MedalQueryResp")
  713. proto.RegisterType((*MedalQueryResp_Data)(nil), "fans_medal.v1.MedalQueryResp.Data")
  714. proto.RegisterType((*MedalQueryIdReq)(nil), "fans_medal.v1.MedalQueryIdReq")
  715. proto.RegisterType((*MedalQueryIdResp)(nil), "fans_medal.v1.MedalQueryIdResp")
  716. proto.RegisterType((*MedalQueryIdResp_Data)(nil), "fans_medal.v1.MedalQueryIdResp.Data")
  717. }
  718. func (m *MedalCreateReq) Marshal() (dAtA []byte, err error) {
  719. size := m.Size()
  720. dAtA = make([]byte, size)
  721. n, err := m.MarshalTo(dAtA)
  722. if err != nil {
  723. return nil, err
  724. }
  725. return dAtA[:n], nil
  726. }
  727. func (m *MedalCreateReq) MarshalTo(dAtA []byte) (int, error) {
  728. var i int
  729. _ = i
  730. var l int
  731. _ = l
  732. if m.Uid != 0 {
  733. dAtA[i] = 0x8
  734. i++
  735. i = encodeVarintMedal(dAtA, i, uint64(m.Uid))
  736. }
  737. if m.Source != 0 {
  738. dAtA[i] = 0x10
  739. i++
  740. i = encodeVarintMedal(dAtA, i, uint64(m.Source))
  741. }
  742. return i, nil
  743. }
  744. func (m *MedalCreateResp) Marshal() (dAtA []byte, err error) {
  745. size := m.Size()
  746. dAtA = make([]byte, size)
  747. n, err := m.MarshalTo(dAtA)
  748. if err != nil {
  749. return nil, err
  750. }
  751. return dAtA[:n], nil
  752. }
  753. func (m *MedalCreateResp) MarshalTo(dAtA []byte) (int, error) {
  754. var i int
  755. _ = i
  756. var l int
  757. _ = l
  758. if m.Code != 0 {
  759. dAtA[i] = 0x8
  760. i++
  761. i = encodeVarintMedal(dAtA, i, uint64(m.Code))
  762. }
  763. if len(m.Msg) > 0 {
  764. dAtA[i] = 0x12
  765. i++
  766. i = encodeVarintMedal(dAtA, i, uint64(len(m.Msg)))
  767. i += copy(dAtA[i:], m.Msg)
  768. }
  769. if m.Data != nil {
  770. dAtA[i] = 0x1a
  771. i++
  772. i = encodeVarintMedal(dAtA, i, uint64(m.Data.Size()))
  773. n1, err := m.Data.MarshalTo(dAtA[i:])
  774. if err != nil {
  775. return 0, err
  776. }
  777. i += n1
  778. }
  779. return i, nil
  780. }
  781. func (m *MedalCreateResp_Data) Marshal() (dAtA []byte, err error) {
  782. size := m.Size()
  783. dAtA = make([]byte, size)
  784. n, err := m.MarshalTo(dAtA)
  785. if err != nil {
  786. return nil, err
  787. }
  788. return dAtA[:n], nil
  789. }
  790. func (m *MedalCreateResp_Data) MarshalTo(dAtA []byte) (int, error) {
  791. var i int
  792. _ = i
  793. var l int
  794. _ = l
  795. if m.Id != 0 {
  796. dAtA[i] = 0x8
  797. i++
  798. i = encodeVarintMedal(dAtA, i, uint64(m.Id))
  799. }
  800. if m.Uid != 0 {
  801. dAtA[i] = 0x10
  802. i++
  803. i = encodeVarintMedal(dAtA, i, uint64(m.Uid))
  804. }
  805. if len(m.MedalName) > 0 {
  806. dAtA[i] = 0x1a
  807. i++
  808. i = encodeVarintMedal(dAtA, i, uint64(len(m.MedalName)))
  809. i += copy(dAtA[i:], m.MedalName)
  810. }
  811. if m.LiveStatus != 0 {
  812. dAtA[i] = 0x20
  813. i++
  814. i = encodeVarintMedal(dAtA, i, uint64(m.LiveStatus))
  815. }
  816. if m.MasterStatus != 0 {
  817. dAtA[i] = 0x28
  818. i++
  819. i = encodeVarintMedal(dAtA, i, uint64(m.MasterStatus))
  820. }
  821. if m.Status != 0 {
  822. dAtA[i] = 0x30
  823. i++
  824. i = encodeVarintMedal(dAtA, i, uint64(m.Status))
  825. }
  826. if len(m.Reason) > 0 {
  827. dAtA[i] = 0x3a
  828. i++
  829. i = encodeVarintMedal(dAtA, i, uint64(len(m.Reason)))
  830. i += copy(dAtA[i:], m.Reason)
  831. }
  832. if m.ApplySource != 0 {
  833. dAtA[i] = 0x40
  834. i++
  835. i = encodeVarintMedal(dAtA, i, uint64(m.ApplySource))
  836. }
  837. if m.LastRenameTime != 0 {
  838. dAtA[i] = 0x48
  839. i++
  840. i = encodeVarintMedal(dAtA, i, uint64(m.LastRenameTime))
  841. }
  842. if m.RenameStatus != 0 {
  843. dAtA[i] = 0x50
  844. i++
  845. i = encodeVarintMedal(dAtA, i, uint64(m.RenameStatus))
  846. }
  847. if m.ChargeNum != 0 {
  848. dAtA[i] = 0x58
  849. i++
  850. i = encodeVarintMedal(dAtA, i, uint64(m.ChargeNum))
  851. }
  852. if m.CoinNum != 0 {
  853. dAtA[i] = 0x60
  854. i++
  855. i = encodeVarintMedal(dAtA, i, uint64(m.CoinNum))
  856. }
  857. if m.IsNull {
  858. dAtA[i] = 0x68
  859. i++
  860. if m.IsNull {
  861. dAtA[i] = 1
  862. } else {
  863. dAtA[i] = 0
  864. }
  865. i++
  866. }
  867. return i, nil
  868. }
  869. func (m *MedalQueryReq) Marshal() (dAtA []byte, err error) {
  870. size := m.Size()
  871. dAtA = make([]byte, size)
  872. n, err := m.MarshalTo(dAtA)
  873. if err != nil {
  874. return nil, err
  875. }
  876. return dAtA[:n], nil
  877. }
  878. func (m *MedalQueryReq) MarshalTo(dAtA []byte) (int, error) {
  879. var i int
  880. _ = i
  881. var l int
  882. _ = l
  883. if m.Uid != 0 {
  884. dAtA[i] = 0x8
  885. i++
  886. i = encodeVarintMedal(dAtA, i, uint64(m.Uid))
  887. }
  888. if m.Source != 0 {
  889. dAtA[i] = 0x10
  890. i++
  891. i = encodeVarintMedal(dAtA, i, uint64(m.Source))
  892. }
  893. return i, nil
  894. }
  895. func (m *MedalQueryResp) Marshal() (dAtA []byte, err error) {
  896. size := m.Size()
  897. dAtA = make([]byte, size)
  898. n, err := m.MarshalTo(dAtA)
  899. if err != nil {
  900. return nil, err
  901. }
  902. return dAtA[:n], nil
  903. }
  904. func (m *MedalQueryResp) MarshalTo(dAtA []byte) (int, error) {
  905. var i int
  906. _ = i
  907. var l int
  908. _ = l
  909. if m.Code != 0 {
  910. dAtA[i] = 0x8
  911. i++
  912. i = encodeVarintMedal(dAtA, i, uint64(m.Code))
  913. }
  914. if len(m.Msg) > 0 {
  915. dAtA[i] = 0x12
  916. i++
  917. i = encodeVarintMedal(dAtA, i, uint64(len(m.Msg)))
  918. i += copy(dAtA[i:], m.Msg)
  919. }
  920. if m.Data != nil {
  921. dAtA[i] = 0x1a
  922. i++
  923. i = encodeVarintMedal(dAtA, i, uint64(m.Data.Size()))
  924. n2, err := m.Data.MarshalTo(dAtA[i:])
  925. if err != nil {
  926. return 0, err
  927. }
  928. i += n2
  929. }
  930. return i, nil
  931. }
  932. func (m *MedalQueryResp_Data) Marshal() (dAtA []byte, err error) {
  933. size := m.Size()
  934. dAtA = make([]byte, size)
  935. n, err := m.MarshalTo(dAtA)
  936. if err != nil {
  937. return nil, err
  938. }
  939. return dAtA[:n], nil
  940. }
  941. func (m *MedalQueryResp_Data) MarshalTo(dAtA []byte) (int, error) {
  942. var i int
  943. _ = i
  944. var l int
  945. _ = l
  946. if m.Id != 0 {
  947. dAtA[i] = 0x8
  948. i++
  949. i = encodeVarintMedal(dAtA, i, uint64(m.Id))
  950. }
  951. if m.Uid != 0 {
  952. dAtA[i] = 0x10
  953. i++
  954. i = encodeVarintMedal(dAtA, i, uint64(m.Uid))
  955. }
  956. if len(m.MedalName) > 0 {
  957. dAtA[i] = 0x1a
  958. i++
  959. i = encodeVarintMedal(dAtA, i, uint64(len(m.MedalName)))
  960. i += copy(dAtA[i:], m.MedalName)
  961. }
  962. if m.LiveStatus != 0 {
  963. dAtA[i] = 0x20
  964. i++
  965. i = encodeVarintMedal(dAtA, i, uint64(m.LiveStatus))
  966. }
  967. if m.MasterStatus != 0 {
  968. dAtA[i] = 0x28
  969. i++
  970. i = encodeVarintMedal(dAtA, i, uint64(m.MasterStatus))
  971. }
  972. if m.Status != 0 {
  973. dAtA[i] = 0x30
  974. i++
  975. i = encodeVarintMedal(dAtA, i, uint64(m.Status))
  976. }
  977. if len(m.Reason) > 0 {
  978. dAtA[i] = 0x3a
  979. i++
  980. i = encodeVarintMedal(dAtA, i, uint64(len(m.Reason)))
  981. i += copy(dAtA[i:], m.Reason)
  982. }
  983. if m.ApplySource != 0 {
  984. dAtA[i] = 0x40
  985. i++
  986. i = encodeVarintMedal(dAtA, i, uint64(m.ApplySource))
  987. }
  988. if m.LastRenameTime != 0 {
  989. dAtA[i] = 0x48
  990. i++
  991. i = encodeVarintMedal(dAtA, i, uint64(m.LastRenameTime))
  992. }
  993. if m.RenameStatus != 0 {
  994. dAtA[i] = 0x50
  995. i++
  996. i = encodeVarintMedal(dAtA, i, uint64(m.RenameStatus))
  997. }
  998. if m.ChargeNum != 0 {
  999. dAtA[i] = 0x58
  1000. i++
  1001. i = encodeVarintMedal(dAtA, i, uint64(m.ChargeNum))
  1002. }
  1003. if m.CoinNum != 0 {
  1004. dAtA[i] = 0x60
  1005. i++
  1006. i = encodeVarintMedal(dAtA, i, uint64(m.CoinNum))
  1007. }
  1008. if m.IsNull {
  1009. dAtA[i] = 0x68
  1010. i++
  1011. if m.IsNull {
  1012. dAtA[i] = 1
  1013. } else {
  1014. dAtA[i] = 0
  1015. }
  1016. i++
  1017. }
  1018. return i, nil
  1019. }
  1020. func (m *MedalQueryIdReq) Marshal() (dAtA []byte, err error) {
  1021. size := m.Size()
  1022. dAtA = make([]byte, size)
  1023. n, err := m.MarshalTo(dAtA)
  1024. if err != nil {
  1025. return nil, err
  1026. }
  1027. return dAtA[:n], nil
  1028. }
  1029. func (m *MedalQueryIdReq) MarshalTo(dAtA []byte) (int, error) {
  1030. var i int
  1031. _ = i
  1032. var l int
  1033. _ = l
  1034. if m.MedalId != 0 {
  1035. dAtA[i] = 0x8
  1036. i++
  1037. i = encodeVarintMedal(dAtA, i, uint64(m.MedalId))
  1038. }
  1039. return i, nil
  1040. }
  1041. func (m *MedalQueryIdResp) Marshal() (dAtA []byte, err error) {
  1042. size := m.Size()
  1043. dAtA = make([]byte, size)
  1044. n, err := m.MarshalTo(dAtA)
  1045. if err != nil {
  1046. return nil, err
  1047. }
  1048. return dAtA[:n], nil
  1049. }
  1050. func (m *MedalQueryIdResp) MarshalTo(dAtA []byte) (int, error) {
  1051. var i int
  1052. _ = i
  1053. var l int
  1054. _ = l
  1055. if m.Code != 0 {
  1056. dAtA[i] = 0x8
  1057. i++
  1058. i = encodeVarintMedal(dAtA, i, uint64(m.Code))
  1059. }
  1060. if len(m.Msg) > 0 {
  1061. dAtA[i] = 0x12
  1062. i++
  1063. i = encodeVarintMedal(dAtA, i, uint64(len(m.Msg)))
  1064. i += copy(dAtA[i:], m.Msg)
  1065. }
  1066. if m.Data != nil {
  1067. dAtA[i] = 0x1a
  1068. i++
  1069. i = encodeVarintMedal(dAtA, i, uint64(m.Data.Size()))
  1070. n3, err := m.Data.MarshalTo(dAtA[i:])
  1071. if err != nil {
  1072. return 0, err
  1073. }
  1074. i += n3
  1075. }
  1076. return i, nil
  1077. }
  1078. func (m *MedalQueryIdResp_Data) Marshal() (dAtA []byte, err error) {
  1079. size := m.Size()
  1080. dAtA = make([]byte, size)
  1081. n, err := m.MarshalTo(dAtA)
  1082. if err != nil {
  1083. return nil, err
  1084. }
  1085. return dAtA[:n], nil
  1086. }
  1087. func (m *MedalQueryIdResp_Data) MarshalTo(dAtA []byte) (int, error) {
  1088. var i int
  1089. _ = i
  1090. var l int
  1091. _ = l
  1092. if m.Id != 0 {
  1093. dAtA[i] = 0x8
  1094. i++
  1095. i = encodeVarintMedal(dAtA, i, uint64(m.Id))
  1096. }
  1097. if m.Uid != 0 {
  1098. dAtA[i] = 0x10
  1099. i++
  1100. i = encodeVarintMedal(dAtA, i, uint64(m.Uid))
  1101. }
  1102. if len(m.MedalName) > 0 {
  1103. dAtA[i] = 0x1a
  1104. i++
  1105. i = encodeVarintMedal(dAtA, i, uint64(len(m.MedalName)))
  1106. i += copy(dAtA[i:], m.MedalName)
  1107. }
  1108. if m.LiveStatus != 0 {
  1109. dAtA[i] = 0x20
  1110. i++
  1111. i = encodeVarintMedal(dAtA, i, uint64(m.LiveStatus))
  1112. }
  1113. if m.MasterStatus != 0 {
  1114. dAtA[i] = 0x28
  1115. i++
  1116. i = encodeVarintMedal(dAtA, i, uint64(m.MasterStatus))
  1117. }
  1118. if m.Status != 0 {
  1119. dAtA[i] = 0x30
  1120. i++
  1121. i = encodeVarintMedal(dAtA, i, uint64(m.Status))
  1122. }
  1123. if m.Reason != 0 {
  1124. dAtA[i] = 0x38
  1125. i++
  1126. i = encodeVarintMedal(dAtA, i, uint64(m.Reason))
  1127. }
  1128. if m.LastRenameTime != 0 {
  1129. dAtA[i] = 0x40
  1130. i++
  1131. i = encodeVarintMedal(dAtA, i, uint64(m.LastRenameTime))
  1132. }
  1133. if m.IsNull {
  1134. dAtA[i] = 0x48
  1135. i++
  1136. if m.IsNull {
  1137. dAtA[i] = 1
  1138. } else {
  1139. dAtA[i] = 0
  1140. }
  1141. i++
  1142. }
  1143. return i, nil
  1144. }
  1145. func encodeVarintMedal(dAtA []byte, offset int, v uint64) int {
  1146. for v >= 1<<7 {
  1147. dAtA[offset] = uint8(v&0x7f | 0x80)
  1148. v >>= 7
  1149. offset++
  1150. }
  1151. dAtA[offset] = uint8(v)
  1152. return offset + 1
  1153. }
  1154. func (m *MedalCreateReq) Size() (n int) {
  1155. if m == nil {
  1156. return 0
  1157. }
  1158. var l int
  1159. _ = l
  1160. if m.Uid != 0 {
  1161. n += 1 + sovMedal(uint64(m.Uid))
  1162. }
  1163. if m.Source != 0 {
  1164. n += 1 + sovMedal(uint64(m.Source))
  1165. }
  1166. return n
  1167. }
  1168. func (m *MedalCreateResp) Size() (n int) {
  1169. if m == nil {
  1170. return 0
  1171. }
  1172. var l int
  1173. _ = l
  1174. if m.Code != 0 {
  1175. n += 1 + sovMedal(uint64(m.Code))
  1176. }
  1177. l = len(m.Msg)
  1178. if l > 0 {
  1179. n += 1 + l + sovMedal(uint64(l))
  1180. }
  1181. if m.Data != nil {
  1182. l = m.Data.Size()
  1183. n += 1 + l + sovMedal(uint64(l))
  1184. }
  1185. return n
  1186. }
  1187. func (m *MedalCreateResp_Data) Size() (n int) {
  1188. if m == nil {
  1189. return 0
  1190. }
  1191. var l int
  1192. _ = l
  1193. if m.Id != 0 {
  1194. n += 1 + sovMedal(uint64(m.Id))
  1195. }
  1196. if m.Uid != 0 {
  1197. n += 1 + sovMedal(uint64(m.Uid))
  1198. }
  1199. l = len(m.MedalName)
  1200. if l > 0 {
  1201. n += 1 + l + sovMedal(uint64(l))
  1202. }
  1203. if m.LiveStatus != 0 {
  1204. n += 1 + sovMedal(uint64(m.LiveStatus))
  1205. }
  1206. if m.MasterStatus != 0 {
  1207. n += 1 + sovMedal(uint64(m.MasterStatus))
  1208. }
  1209. if m.Status != 0 {
  1210. n += 1 + sovMedal(uint64(m.Status))
  1211. }
  1212. l = len(m.Reason)
  1213. if l > 0 {
  1214. n += 1 + l + sovMedal(uint64(l))
  1215. }
  1216. if m.ApplySource != 0 {
  1217. n += 1 + sovMedal(uint64(m.ApplySource))
  1218. }
  1219. if m.LastRenameTime != 0 {
  1220. n += 1 + sovMedal(uint64(m.LastRenameTime))
  1221. }
  1222. if m.RenameStatus != 0 {
  1223. n += 1 + sovMedal(uint64(m.RenameStatus))
  1224. }
  1225. if m.ChargeNum != 0 {
  1226. n += 1 + sovMedal(uint64(m.ChargeNum))
  1227. }
  1228. if m.CoinNum != 0 {
  1229. n += 1 + sovMedal(uint64(m.CoinNum))
  1230. }
  1231. if m.IsNull {
  1232. n += 2
  1233. }
  1234. return n
  1235. }
  1236. func (m *MedalQueryReq) Size() (n int) {
  1237. if m == nil {
  1238. return 0
  1239. }
  1240. var l int
  1241. _ = l
  1242. if m.Uid != 0 {
  1243. n += 1 + sovMedal(uint64(m.Uid))
  1244. }
  1245. if m.Source != 0 {
  1246. n += 1 + sovMedal(uint64(m.Source))
  1247. }
  1248. return n
  1249. }
  1250. func (m *MedalQueryResp) Size() (n int) {
  1251. if m == nil {
  1252. return 0
  1253. }
  1254. var l int
  1255. _ = l
  1256. if m.Code != 0 {
  1257. n += 1 + sovMedal(uint64(m.Code))
  1258. }
  1259. l = len(m.Msg)
  1260. if l > 0 {
  1261. n += 1 + l + sovMedal(uint64(l))
  1262. }
  1263. if m.Data != nil {
  1264. l = m.Data.Size()
  1265. n += 1 + l + sovMedal(uint64(l))
  1266. }
  1267. return n
  1268. }
  1269. func (m *MedalQueryResp_Data) Size() (n int) {
  1270. if m == nil {
  1271. return 0
  1272. }
  1273. var l int
  1274. _ = l
  1275. if m.Id != 0 {
  1276. n += 1 + sovMedal(uint64(m.Id))
  1277. }
  1278. if m.Uid != 0 {
  1279. n += 1 + sovMedal(uint64(m.Uid))
  1280. }
  1281. l = len(m.MedalName)
  1282. if l > 0 {
  1283. n += 1 + l + sovMedal(uint64(l))
  1284. }
  1285. if m.LiveStatus != 0 {
  1286. n += 1 + sovMedal(uint64(m.LiveStatus))
  1287. }
  1288. if m.MasterStatus != 0 {
  1289. n += 1 + sovMedal(uint64(m.MasterStatus))
  1290. }
  1291. if m.Status != 0 {
  1292. n += 1 + sovMedal(uint64(m.Status))
  1293. }
  1294. l = len(m.Reason)
  1295. if l > 0 {
  1296. n += 1 + l + sovMedal(uint64(l))
  1297. }
  1298. if m.ApplySource != 0 {
  1299. n += 1 + sovMedal(uint64(m.ApplySource))
  1300. }
  1301. if m.LastRenameTime != 0 {
  1302. n += 1 + sovMedal(uint64(m.LastRenameTime))
  1303. }
  1304. if m.RenameStatus != 0 {
  1305. n += 1 + sovMedal(uint64(m.RenameStatus))
  1306. }
  1307. if m.ChargeNum != 0 {
  1308. n += 1 + sovMedal(uint64(m.ChargeNum))
  1309. }
  1310. if m.CoinNum != 0 {
  1311. n += 1 + sovMedal(uint64(m.CoinNum))
  1312. }
  1313. if m.IsNull {
  1314. n += 2
  1315. }
  1316. return n
  1317. }
  1318. func (m *MedalQueryIdReq) Size() (n int) {
  1319. if m == nil {
  1320. return 0
  1321. }
  1322. var l int
  1323. _ = l
  1324. if m.MedalId != 0 {
  1325. n += 1 + sovMedal(uint64(m.MedalId))
  1326. }
  1327. return n
  1328. }
  1329. func (m *MedalQueryIdResp) Size() (n int) {
  1330. if m == nil {
  1331. return 0
  1332. }
  1333. var l int
  1334. _ = l
  1335. if m.Code != 0 {
  1336. n += 1 + sovMedal(uint64(m.Code))
  1337. }
  1338. l = len(m.Msg)
  1339. if l > 0 {
  1340. n += 1 + l + sovMedal(uint64(l))
  1341. }
  1342. if m.Data != nil {
  1343. l = m.Data.Size()
  1344. n += 1 + l + sovMedal(uint64(l))
  1345. }
  1346. return n
  1347. }
  1348. func (m *MedalQueryIdResp_Data) Size() (n int) {
  1349. if m == nil {
  1350. return 0
  1351. }
  1352. var l int
  1353. _ = l
  1354. if m.Id != 0 {
  1355. n += 1 + sovMedal(uint64(m.Id))
  1356. }
  1357. if m.Uid != 0 {
  1358. n += 1 + sovMedal(uint64(m.Uid))
  1359. }
  1360. l = len(m.MedalName)
  1361. if l > 0 {
  1362. n += 1 + l + sovMedal(uint64(l))
  1363. }
  1364. if m.LiveStatus != 0 {
  1365. n += 1 + sovMedal(uint64(m.LiveStatus))
  1366. }
  1367. if m.MasterStatus != 0 {
  1368. n += 1 + sovMedal(uint64(m.MasterStatus))
  1369. }
  1370. if m.Status != 0 {
  1371. n += 1 + sovMedal(uint64(m.Status))
  1372. }
  1373. if m.Reason != 0 {
  1374. n += 1 + sovMedal(uint64(m.Reason))
  1375. }
  1376. if m.LastRenameTime != 0 {
  1377. n += 1 + sovMedal(uint64(m.LastRenameTime))
  1378. }
  1379. if m.IsNull {
  1380. n += 2
  1381. }
  1382. return n
  1383. }
  1384. func sovMedal(x uint64) (n int) {
  1385. for {
  1386. n++
  1387. x >>= 7
  1388. if x == 0 {
  1389. break
  1390. }
  1391. }
  1392. return n
  1393. }
  1394. func sozMedal(x uint64) (n int) {
  1395. return sovMedal(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1396. }
  1397. func (m *MedalCreateReq) Unmarshal(dAtA []byte) error {
  1398. l := len(dAtA)
  1399. iNdEx := 0
  1400. for iNdEx < l {
  1401. preIndex := iNdEx
  1402. var wire uint64
  1403. for shift := uint(0); ; shift += 7 {
  1404. if shift >= 64 {
  1405. return ErrIntOverflowMedal
  1406. }
  1407. if iNdEx >= l {
  1408. return io.ErrUnexpectedEOF
  1409. }
  1410. b := dAtA[iNdEx]
  1411. iNdEx++
  1412. wire |= (uint64(b) & 0x7F) << shift
  1413. if b < 0x80 {
  1414. break
  1415. }
  1416. }
  1417. fieldNum := int32(wire >> 3)
  1418. wireType := int(wire & 0x7)
  1419. if wireType == 4 {
  1420. return fmt.Errorf("proto: MedalCreateReq: wiretype end group for non-group")
  1421. }
  1422. if fieldNum <= 0 {
  1423. return fmt.Errorf("proto: MedalCreateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  1424. }
  1425. switch fieldNum {
  1426. case 1:
  1427. if wireType != 0 {
  1428. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  1429. }
  1430. m.Uid = 0
  1431. for shift := uint(0); ; shift += 7 {
  1432. if shift >= 64 {
  1433. return ErrIntOverflowMedal
  1434. }
  1435. if iNdEx >= l {
  1436. return io.ErrUnexpectedEOF
  1437. }
  1438. b := dAtA[iNdEx]
  1439. iNdEx++
  1440. m.Uid |= (int64(b) & 0x7F) << shift
  1441. if b < 0x80 {
  1442. break
  1443. }
  1444. }
  1445. case 2:
  1446. if wireType != 0 {
  1447. return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
  1448. }
  1449. m.Source = 0
  1450. for shift := uint(0); ; shift += 7 {
  1451. if shift >= 64 {
  1452. return ErrIntOverflowMedal
  1453. }
  1454. if iNdEx >= l {
  1455. return io.ErrUnexpectedEOF
  1456. }
  1457. b := dAtA[iNdEx]
  1458. iNdEx++
  1459. m.Source |= (int64(b) & 0x7F) << shift
  1460. if b < 0x80 {
  1461. break
  1462. }
  1463. }
  1464. default:
  1465. iNdEx = preIndex
  1466. skippy, err := skipMedal(dAtA[iNdEx:])
  1467. if err != nil {
  1468. return err
  1469. }
  1470. if skippy < 0 {
  1471. return ErrInvalidLengthMedal
  1472. }
  1473. if (iNdEx + skippy) > l {
  1474. return io.ErrUnexpectedEOF
  1475. }
  1476. iNdEx += skippy
  1477. }
  1478. }
  1479. if iNdEx > l {
  1480. return io.ErrUnexpectedEOF
  1481. }
  1482. return nil
  1483. }
  1484. func (m *MedalCreateResp) Unmarshal(dAtA []byte) error {
  1485. l := len(dAtA)
  1486. iNdEx := 0
  1487. for iNdEx < l {
  1488. preIndex := iNdEx
  1489. var wire uint64
  1490. for shift := uint(0); ; shift += 7 {
  1491. if shift >= 64 {
  1492. return ErrIntOverflowMedal
  1493. }
  1494. if iNdEx >= l {
  1495. return io.ErrUnexpectedEOF
  1496. }
  1497. b := dAtA[iNdEx]
  1498. iNdEx++
  1499. wire |= (uint64(b) & 0x7F) << shift
  1500. if b < 0x80 {
  1501. break
  1502. }
  1503. }
  1504. fieldNum := int32(wire >> 3)
  1505. wireType := int(wire & 0x7)
  1506. if wireType == 4 {
  1507. return fmt.Errorf("proto: MedalCreateResp: wiretype end group for non-group")
  1508. }
  1509. if fieldNum <= 0 {
  1510. return fmt.Errorf("proto: MedalCreateResp: illegal tag %d (wire type %d)", fieldNum, wire)
  1511. }
  1512. switch fieldNum {
  1513. case 1:
  1514. if wireType != 0 {
  1515. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  1516. }
  1517. m.Code = 0
  1518. for shift := uint(0); ; shift += 7 {
  1519. if shift >= 64 {
  1520. return ErrIntOverflowMedal
  1521. }
  1522. if iNdEx >= l {
  1523. return io.ErrUnexpectedEOF
  1524. }
  1525. b := dAtA[iNdEx]
  1526. iNdEx++
  1527. m.Code |= (int64(b) & 0x7F) << shift
  1528. if b < 0x80 {
  1529. break
  1530. }
  1531. }
  1532. case 2:
  1533. if wireType != 2 {
  1534. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  1535. }
  1536. var stringLen uint64
  1537. for shift := uint(0); ; shift += 7 {
  1538. if shift >= 64 {
  1539. return ErrIntOverflowMedal
  1540. }
  1541. if iNdEx >= l {
  1542. return io.ErrUnexpectedEOF
  1543. }
  1544. b := dAtA[iNdEx]
  1545. iNdEx++
  1546. stringLen |= (uint64(b) & 0x7F) << shift
  1547. if b < 0x80 {
  1548. break
  1549. }
  1550. }
  1551. intStringLen := int(stringLen)
  1552. if intStringLen < 0 {
  1553. return ErrInvalidLengthMedal
  1554. }
  1555. postIndex := iNdEx + intStringLen
  1556. if postIndex > l {
  1557. return io.ErrUnexpectedEOF
  1558. }
  1559. m.Msg = string(dAtA[iNdEx:postIndex])
  1560. iNdEx = postIndex
  1561. case 3:
  1562. if wireType != 2 {
  1563. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  1564. }
  1565. var msglen int
  1566. for shift := uint(0); ; shift += 7 {
  1567. if shift >= 64 {
  1568. return ErrIntOverflowMedal
  1569. }
  1570. if iNdEx >= l {
  1571. return io.ErrUnexpectedEOF
  1572. }
  1573. b := dAtA[iNdEx]
  1574. iNdEx++
  1575. msglen |= (int(b) & 0x7F) << shift
  1576. if b < 0x80 {
  1577. break
  1578. }
  1579. }
  1580. if msglen < 0 {
  1581. return ErrInvalidLengthMedal
  1582. }
  1583. postIndex := iNdEx + msglen
  1584. if postIndex > l {
  1585. return io.ErrUnexpectedEOF
  1586. }
  1587. if m.Data == nil {
  1588. m.Data = &MedalCreateResp_Data{}
  1589. }
  1590. if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1591. return err
  1592. }
  1593. iNdEx = postIndex
  1594. default:
  1595. iNdEx = preIndex
  1596. skippy, err := skipMedal(dAtA[iNdEx:])
  1597. if err != nil {
  1598. return err
  1599. }
  1600. if skippy < 0 {
  1601. return ErrInvalidLengthMedal
  1602. }
  1603. if (iNdEx + skippy) > l {
  1604. return io.ErrUnexpectedEOF
  1605. }
  1606. iNdEx += skippy
  1607. }
  1608. }
  1609. if iNdEx > l {
  1610. return io.ErrUnexpectedEOF
  1611. }
  1612. return nil
  1613. }
  1614. func (m *MedalCreateResp_Data) Unmarshal(dAtA []byte) error {
  1615. l := len(dAtA)
  1616. iNdEx := 0
  1617. for iNdEx < l {
  1618. preIndex := iNdEx
  1619. var wire uint64
  1620. for shift := uint(0); ; shift += 7 {
  1621. if shift >= 64 {
  1622. return ErrIntOverflowMedal
  1623. }
  1624. if iNdEx >= l {
  1625. return io.ErrUnexpectedEOF
  1626. }
  1627. b := dAtA[iNdEx]
  1628. iNdEx++
  1629. wire |= (uint64(b) & 0x7F) << shift
  1630. if b < 0x80 {
  1631. break
  1632. }
  1633. }
  1634. fieldNum := int32(wire >> 3)
  1635. wireType := int(wire & 0x7)
  1636. if wireType == 4 {
  1637. return fmt.Errorf("proto: Data: wiretype end group for non-group")
  1638. }
  1639. if fieldNum <= 0 {
  1640. return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire)
  1641. }
  1642. switch fieldNum {
  1643. case 1:
  1644. if wireType != 0 {
  1645. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  1646. }
  1647. m.Id = 0
  1648. for shift := uint(0); ; shift += 7 {
  1649. if shift >= 64 {
  1650. return ErrIntOverflowMedal
  1651. }
  1652. if iNdEx >= l {
  1653. return io.ErrUnexpectedEOF
  1654. }
  1655. b := dAtA[iNdEx]
  1656. iNdEx++
  1657. m.Id |= (int64(b) & 0x7F) << shift
  1658. if b < 0x80 {
  1659. break
  1660. }
  1661. }
  1662. case 2:
  1663. if wireType != 0 {
  1664. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  1665. }
  1666. m.Uid = 0
  1667. for shift := uint(0); ; shift += 7 {
  1668. if shift >= 64 {
  1669. return ErrIntOverflowMedal
  1670. }
  1671. if iNdEx >= l {
  1672. return io.ErrUnexpectedEOF
  1673. }
  1674. b := dAtA[iNdEx]
  1675. iNdEx++
  1676. m.Uid |= (int64(b) & 0x7F) << shift
  1677. if b < 0x80 {
  1678. break
  1679. }
  1680. }
  1681. case 3:
  1682. if wireType != 2 {
  1683. return fmt.Errorf("proto: wrong wireType = %d for field MedalName", wireType)
  1684. }
  1685. var stringLen uint64
  1686. for shift := uint(0); ; shift += 7 {
  1687. if shift >= 64 {
  1688. return ErrIntOverflowMedal
  1689. }
  1690. if iNdEx >= l {
  1691. return io.ErrUnexpectedEOF
  1692. }
  1693. b := dAtA[iNdEx]
  1694. iNdEx++
  1695. stringLen |= (uint64(b) & 0x7F) << shift
  1696. if b < 0x80 {
  1697. break
  1698. }
  1699. }
  1700. intStringLen := int(stringLen)
  1701. if intStringLen < 0 {
  1702. return ErrInvalidLengthMedal
  1703. }
  1704. postIndex := iNdEx + intStringLen
  1705. if postIndex > l {
  1706. return io.ErrUnexpectedEOF
  1707. }
  1708. m.MedalName = string(dAtA[iNdEx:postIndex])
  1709. iNdEx = postIndex
  1710. case 4:
  1711. if wireType != 0 {
  1712. return fmt.Errorf("proto: wrong wireType = %d for field LiveStatus", wireType)
  1713. }
  1714. m.LiveStatus = 0
  1715. for shift := uint(0); ; shift += 7 {
  1716. if shift >= 64 {
  1717. return ErrIntOverflowMedal
  1718. }
  1719. if iNdEx >= l {
  1720. return io.ErrUnexpectedEOF
  1721. }
  1722. b := dAtA[iNdEx]
  1723. iNdEx++
  1724. m.LiveStatus |= (int64(b) & 0x7F) << shift
  1725. if b < 0x80 {
  1726. break
  1727. }
  1728. }
  1729. case 5:
  1730. if wireType != 0 {
  1731. return fmt.Errorf("proto: wrong wireType = %d for field MasterStatus", wireType)
  1732. }
  1733. m.MasterStatus = 0
  1734. for shift := uint(0); ; shift += 7 {
  1735. if shift >= 64 {
  1736. return ErrIntOverflowMedal
  1737. }
  1738. if iNdEx >= l {
  1739. return io.ErrUnexpectedEOF
  1740. }
  1741. b := dAtA[iNdEx]
  1742. iNdEx++
  1743. m.MasterStatus |= (int64(b) & 0x7F) << shift
  1744. if b < 0x80 {
  1745. break
  1746. }
  1747. }
  1748. case 6:
  1749. if wireType != 0 {
  1750. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  1751. }
  1752. m.Status = 0
  1753. for shift := uint(0); ; shift += 7 {
  1754. if shift >= 64 {
  1755. return ErrIntOverflowMedal
  1756. }
  1757. if iNdEx >= l {
  1758. return io.ErrUnexpectedEOF
  1759. }
  1760. b := dAtA[iNdEx]
  1761. iNdEx++
  1762. m.Status |= (int64(b) & 0x7F) << shift
  1763. if b < 0x80 {
  1764. break
  1765. }
  1766. }
  1767. case 7:
  1768. if wireType != 2 {
  1769. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  1770. }
  1771. var stringLen uint64
  1772. for shift := uint(0); ; shift += 7 {
  1773. if shift >= 64 {
  1774. return ErrIntOverflowMedal
  1775. }
  1776. if iNdEx >= l {
  1777. return io.ErrUnexpectedEOF
  1778. }
  1779. b := dAtA[iNdEx]
  1780. iNdEx++
  1781. stringLen |= (uint64(b) & 0x7F) << shift
  1782. if b < 0x80 {
  1783. break
  1784. }
  1785. }
  1786. intStringLen := int(stringLen)
  1787. if intStringLen < 0 {
  1788. return ErrInvalidLengthMedal
  1789. }
  1790. postIndex := iNdEx + intStringLen
  1791. if postIndex > l {
  1792. return io.ErrUnexpectedEOF
  1793. }
  1794. m.Reason = string(dAtA[iNdEx:postIndex])
  1795. iNdEx = postIndex
  1796. case 8:
  1797. if wireType != 0 {
  1798. return fmt.Errorf("proto: wrong wireType = %d for field ApplySource", wireType)
  1799. }
  1800. m.ApplySource = 0
  1801. for shift := uint(0); ; shift += 7 {
  1802. if shift >= 64 {
  1803. return ErrIntOverflowMedal
  1804. }
  1805. if iNdEx >= l {
  1806. return io.ErrUnexpectedEOF
  1807. }
  1808. b := dAtA[iNdEx]
  1809. iNdEx++
  1810. m.ApplySource |= (int64(b) & 0x7F) << shift
  1811. if b < 0x80 {
  1812. break
  1813. }
  1814. }
  1815. case 9:
  1816. if wireType != 0 {
  1817. return fmt.Errorf("proto: wrong wireType = %d for field LastRenameTime", wireType)
  1818. }
  1819. m.LastRenameTime = 0
  1820. for shift := uint(0); ; shift += 7 {
  1821. if shift >= 64 {
  1822. return ErrIntOverflowMedal
  1823. }
  1824. if iNdEx >= l {
  1825. return io.ErrUnexpectedEOF
  1826. }
  1827. b := dAtA[iNdEx]
  1828. iNdEx++
  1829. m.LastRenameTime |= (int64(b) & 0x7F) << shift
  1830. if b < 0x80 {
  1831. break
  1832. }
  1833. }
  1834. case 10:
  1835. if wireType != 0 {
  1836. return fmt.Errorf("proto: wrong wireType = %d for field RenameStatus", wireType)
  1837. }
  1838. m.RenameStatus = 0
  1839. for shift := uint(0); ; shift += 7 {
  1840. if shift >= 64 {
  1841. return ErrIntOverflowMedal
  1842. }
  1843. if iNdEx >= l {
  1844. return io.ErrUnexpectedEOF
  1845. }
  1846. b := dAtA[iNdEx]
  1847. iNdEx++
  1848. m.RenameStatus |= (int64(b) & 0x7F) << shift
  1849. if b < 0x80 {
  1850. break
  1851. }
  1852. }
  1853. case 11:
  1854. if wireType != 0 {
  1855. return fmt.Errorf("proto: wrong wireType = %d for field ChargeNum", wireType)
  1856. }
  1857. m.ChargeNum = 0
  1858. for shift := uint(0); ; shift += 7 {
  1859. if shift >= 64 {
  1860. return ErrIntOverflowMedal
  1861. }
  1862. if iNdEx >= l {
  1863. return io.ErrUnexpectedEOF
  1864. }
  1865. b := dAtA[iNdEx]
  1866. iNdEx++
  1867. m.ChargeNum |= (int64(b) & 0x7F) << shift
  1868. if b < 0x80 {
  1869. break
  1870. }
  1871. }
  1872. case 12:
  1873. if wireType != 0 {
  1874. return fmt.Errorf("proto: wrong wireType = %d for field CoinNum", wireType)
  1875. }
  1876. m.CoinNum = 0
  1877. for shift := uint(0); ; shift += 7 {
  1878. if shift >= 64 {
  1879. return ErrIntOverflowMedal
  1880. }
  1881. if iNdEx >= l {
  1882. return io.ErrUnexpectedEOF
  1883. }
  1884. b := dAtA[iNdEx]
  1885. iNdEx++
  1886. m.CoinNum |= (int64(b) & 0x7F) << shift
  1887. if b < 0x80 {
  1888. break
  1889. }
  1890. }
  1891. case 13:
  1892. if wireType != 0 {
  1893. return fmt.Errorf("proto: wrong wireType = %d for field IsNull", wireType)
  1894. }
  1895. var v int
  1896. for shift := uint(0); ; shift += 7 {
  1897. if shift >= 64 {
  1898. return ErrIntOverflowMedal
  1899. }
  1900. if iNdEx >= l {
  1901. return io.ErrUnexpectedEOF
  1902. }
  1903. b := dAtA[iNdEx]
  1904. iNdEx++
  1905. v |= (int(b) & 0x7F) << shift
  1906. if b < 0x80 {
  1907. break
  1908. }
  1909. }
  1910. m.IsNull = bool(v != 0)
  1911. default:
  1912. iNdEx = preIndex
  1913. skippy, err := skipMedal(dAtA[iNdEx:])
  1914. if err != nil {
  1915. return err
  1916. }
  1917. if skippy < 0 {
  1918. return ErrInvalidLengthMedal
  1919. }
  1920. if (iNdEx + skippy) > l {
  1921. return io.ErrUnexpectedEOF
  1922. }
  1923. iNdEx += skippy
  1924. }
  1925. }
  1926. if iNdEx > l {
  1927. return io.ErrUnexpectedEOF
  1928. }
  1929. return nil
  1930. }
  1931. func (m *MedalQueryReq) Unmarshal(dAtA []byte) error {
  1932. l := len(dAtA)
  1933. iNdEx := 0
  1934. for iNdEx < l {
  1935. preIndex := iNdEx
  1936. var wire uint64
  1937. for shift := uint(0); ; shift += 7 {
  1938. if shift >= 64 {
  1939. return ErrIntOverflowMedal
  1940. }
  1941. if iNdEx >= l {
  1942. return io.ErrUnexpectedEOF
  1943. }
  1944. b := dAtA[iNdEx]
  1945. iNdEx++
  1946. wire |= (uint64(b) & 0x7F) << shift
  1947. if b < 0x80 {
  1948. break
  1949. }
  1950. }
  1951. fieldNum := int32(wire >> 3)
  1952. wireType := int(wire & 0x7)
  1953. if wireType == 4 {
  1954. return fmt.Errorf("proto: MedalQueryReq: wiretype end group for non-group")
  1955. }
  1956. if fieldNum <= 0 {
  1957. return fmt.Errorf("proto: MedalQueryReq: illegal tag %d (wire type %d)", fieldNum, wire)
  1958. }
  1959. switch fieldNum {
  1960. case 1:
  1961. if wireType != 0 {
  1962. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  1963. }
  1964. m.Uid = 0
  1965. for shift := uint(0); ; shift += 7 {
  1966. if shift >= 64 {
  1967. return ErrIntOverflowMedal
  1968. }
  1969. if iNdEx >= l {
  1970. return io.ErrUnexpectedEOF
  1971. }
  1972. b := dAtA[iNdEx]
  1973. iNdEx++
  1974. m.Uid |= (int64(b) & 0x7F) << shift
  1975. if b < 0x80 {
  1976. break
  1977. }
  1978. }
  1979. case 2:
  1980. if wireType != 0 {
  1981. return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
  1982. }
  1983. m.Source = 0
  1984. for shift := uint(0); ; shift += 7 {
  1985. if shift >= 64 {
  1986. return ErrIntOverflowMedal
  1987. }
  1988. if iNdEx >= l {
  1989. return io.ErrUnexpectedEOF
  1990. }
  1991. b := dAtA[iNdEx]
  1992. iNdEx++
  1993. m.Source |= (int64(b) & 0x7F) << shift
  1994. if b < 0x80 {
  1995. break
  1996. }
  1997. }
  1998. default:
  1999. iNdEx = preIndex
  2000. skippy, err := skipMedal(dAtA[iNdEx:])
  2001. if err != nil {
  2002. return err
  2003. }
  2004. if skippy < 0 {
  2005. return ErrInvalidLengthMedal
  2006. }
  2007. if (iNdEx + skippy) > l {
  2008. return io.ErrUnexpectedEOF
  2009. }
  2010. iNdEx += skippy
  2011. }
  2012. }
  2013. if iNdEx > l {
  2014. return io.ErrUnexpectedEOF
  2015. }
  2016. return nil
  2017. }
  2018. func (m *MedalQueryResp) Unmarshal(dAtA []byte) error {
  2019. l := len(dAtA)
  2020. iNdEx := 0
  2021. for iNdEx < l {
  2022. preIndex := iNdEx
  2023. var wire uint64
  2024. for shift := uint(0); ; shift += 7 {
  2025. if shift >= 64 {
  2026. return ErrIntOverflowMedal
  2027. }
  2028. if iNdEx >= l {
  2029. return io.ErrUnexpectedEOF
  2030. }
  2031. b := dAtA[iNdEx]
  2032. iNdEx++
  2033. wire |= (uint64(b) & 0x7F) << shift
  2034. if b < 0x80 {
  2035. break
  2036. }
  2037. }
  2038. fieldNum := int32(wire >> 3)
  2039. wireType := int(wire & 0x7)
  2040. if wireType == 4 {
  2041. return fmt.Errorf("proto: MedalQueryResp: wiretype end group for non-group")
  2042. }
  2043. if fieldNum <= 0 {
  2044. return fmt.Errorf("proto: MedalQueryResp: illegal tag %d (wire type %d)", fieldNum, wire)
  2045. }
  2046. switch fieldNum {
  2047. case 1:
  2048. if wireType != 0 {
  2049. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  2050. }
  2051. m.Code = 0
  2052. for shift := uint(0); ; shift += 7 {
  2053. if shift >= 64 {
  2054. return ErrIntOverflowMedal
  2055. }
  2056. if iNdEx >= l {
  2057. return io.ErrUnexpectedEOF
  2058. }
  2059. b := dAtA[iNdEx]
  2060. iNdEx++
  2061. m.Code |= (int64(b) & 0x7F) << shift
  2062. if b < 0x80 {
  2063. break
  2064. }
  2065. }
  2066. case 2:
  2067. if wireType != 2 {
  2068. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  2069. }
  2070. var stringLen uint64
  2071. for shift := uint(0); ; shift += 7 {
  2072. if shift >= 64 {
  2073. return ErrIntOverflowMedal
  2074. }
  2075. if iNdEx >= l {
  2076. return io.ErrUnexpectedEOF
  2077. }
  2078. b := dAtA[iNdEx]
  2079. iNdEx++
  2080. stringLen |= (uint64(b) & 0x7F) << shift
  2081. if b < 0x80 {
  2082. break
  2083. }
  2084. }
  2085. intStringLen := int(stringLen)
  2086. if intStringLen < 0 {
  2087. return ErrInvalidLengthMedal
  2088. }
  2089. postIndex := iNdEx + intStringLen
  2090. if postIndex > l {
  2091. return io.ErrUnexpectedEOF
  2092. }
  2093. m.Msg = string(dAtA[iNdEx:postIndex])
  2094. iNdEx = postIndex
  2095. case 3:
  2096. if wireType != 2 {
  2097. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  2098. }
  2099. var msglen int
  2100. for shift := uint(0); ; shift += 7 {
  2101. if shift >= 64 {
  2102. return ErrIntOverflowMedal
  2103. }
  2104. if iNdEx >= l {
  2105. return io.ErrUnexpectedEOF
  2106. }
  2107. b := dAtA[iNdEx]
  2108. iNdEx++
  2109. msglen |= (int(b) & 0x7F) << shift
  2110. if b < 0x80 {
  2111. break
  2112. }
  2113. }
  2114. if msglen < 0 {
  2115. return ErrInvalidLengthMedal
  2116. }
  2117. postIndex := iNdEx + msglen
  2118. if postIndex > l {
  2119. return io.ErrUnexpectedEOF
  2120. }
  2121. if m.Data == nil {
  2122. m.Data = &MedalQueryResp_Data{}
  2123. }
  2124. if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2125. return err
  2126. }
  2127. iNdEx = postIndex
  2128. default:
  2129. iNdEx = preIndex
  2130. skippy, err := skipMedal(dAtA[iNdEx:])
  2131. if err != nil {
  2132. return err
  2133. }
  2134. if skippy < 0 {
  2135. return ErrInvalidLengthMedal
  2136. }
  2137. if (iNdEx + skippy) > l {
  2138. return io.ErrUnexpectedEOF
  2139. }
  2140. iNdEx += skippy
  2141. }
  2142. }
  2143. if iNdEx > l {
  2144. return io.ErrUnexpectedEOF
  2145. }
  2146. return nil
  2147. }
  2148. func (m *MedalQueryResp_Data) Unmarshal(dAtA []byte) error {
  2149. l := len(dAtA)
  2150. iNdEx := 0
  2151. for iNdEx < l {
  2152. preIndex := iNdEx
  2153. var wire uint64
  2154. for shift := uint(0); ; shift += 7 {
  2155. if shift >= 64 {
  2156. return ErrIntOverflowMedal
  2157. }
  2158. if iNdEx >= l {
  2159. return io.ErrUnexpectedEOF
  2160. }
  2161. b := dAtA[iNdEx]
  2162. iNdEx++
  2163. wire |= (uint64(b) & 0x7F) << shift
  2164. if b < 0x80 {
  2165. break
  2166. }
  2167. }
  2168. fieldNum := int32(wire >> 3)
  2169. wireType := int(wire & 0x7)
  2170. if wireType == 4 {
  2171. return fmt.Errorf("proto: Data: wiretype end group for non-group")
  2172. }
  2173. if fieldNum <= 0 {
  2174. return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire)
  2175. }
  2176. switch fieldNum {
  2177. case 1:
  2178. if wireType != 0 {
  2179. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  2180. }
  2181. m.Id = 0
  2182. for shift := uint(0); ; shift += 7 {
  2183. if shift >= 64 {
  2184. return ErrIntOverflowMedal
  2185. }
  2186. if iNdEx >= l {
  2187. return io.ErrUnexpectedEOF
  2188. }
  2189. b := dAtA[iNdEx]
  2190. iNdEx++
  2191. m.Id |= (int64(b) & 0x7F) << shift
  2192. if b < 0x80 {
  2193. break
  2194. }
  2195. }
  2196. case 2:
  2197. if wireType != 0 {
  2198. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  2199. }
  2200. m.Uid = 0
  2201. for shift := uint(0); ; shift += 7 {
  2202. if shift >= 64 {
  2203. return ErrIntOverflowMedal
  2204. }
  2205. if iNdEx >= l {
  2206. return io.ErrUnexpectedEOF
  2207. }
  2208. b := dAtA[iNdEx]
  2209. iNdEx++
  2210. m.Uid |= (int64(b) & 0x7F) << shift
  2211. if b < 0x80 {
  2212. break
  2213. }
  2214. }
  2215. case 3:
  2216. if wireType != 2 {
  2217. return fmt.Errorf("proto: wrong wireType = %d for field MedalName", wireType)
  2218. }
  2219. var stringLen uint64
  2220. for shift := uint(0); ; shift += 7 {
  2221. if shift >= 64 {
  2222. return ErrIntOverflowMedal
  2223. }
  2224. if iNdEx >= l {
  2225. return io.ErrUnexpectedEOF
  2226. }
  2227. b := dAtA[iNdEx]
  2228. iNdEx++
  2229. stringLen |= (uint64(b) & 0x7F) << shift
  2230. if b < 0x80 {
  2231. break
  2232. }
  2233. }
  2234. intStringLen := int(stringLen)
  2235. if intStringLen < 0 {
  2236. return ErrInvalidLengthMedal
  2237. }
  2238. postIndex := iNdEx + intStringLen
  2239. if postIndex > l {
  2240. return io.ErrUnexpectedEOF
  2241. }
  2242. m.MedalName = string(dAtA[iNdEx:postIndex])
  2243. iNdEx = postIndex
  2244. case 4:
  2245. if wireType != 0 {
  2246. return fmt.Errorf("proto: wrong wireType = %d for field LiveStatus", wireType)
  2247. }
  2248. m.LiveStatus = 0
  2249. for shift := uint(0); ; shift += 7 {
  2250. if shift >= 64 {
  2251. return ErrIntOverflowMedal
  2252. }
  2253. if iNdEx >= l {
  2254. return io.ErrUnexpectedEOF
  2255. }
  2256. b := dAtA[iNdEx]
  2257. iNdEx++
  2258. m.LiveStatus |= (int64(b) & 0x7F) << shift
  2259. if b < 0x80 {
  2260. break
  2261. }
  2262. }
  2263. case 5:
  2264. if wireType != 0 {
  2265. return fmt.Errorf("proto: wrong wireType = %d for field MasterStatus", wireType)
  2266. }
  2267. m.MasterStatus = 0
  2268. for shift := uint(0); ; shift += 7 {
  2269. if shift >= 64 {
  2270. return ErrIntOverflowMedal
  2271. }
  2272. if iNdEx >= l {
  2273. return io.ErrUnexpectedEOF
  2274. }
  2275. b := dAtA[iNdEx]
  2276. iNdEx++
  2277. m.MasterStatus |= (int64(b) & 0x7F) << shift
  2278. if b < 0x80 {
  2279. break
  2280. }
  2281. }
  2282. case 6:
  2283. if wireType != 0 {
  2284. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  2285. }
  2286. m.Status = 0
  2287. for shift := uint(0); ; shift += 7 {
  2288. if shift >= 64 {
  2289. return ErrIntOverflowMedal
  2290. }
  2291. if iNdEx >= l {
  2292. return io.ErrUnexpectedEOF
  2293. }
  2294. b := dAtA[iNdEx]
  2295. iNdEx++
  2296. m.Status |= (int64(b) & 0x7F) << shift
  2297. if b < 0x80 {
  2298. break
  2299. }
  2300. }
  2301. case 7:
  2302. if wireType != 2 {
  2303. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  2304. }
  2305. var stringLen uint64
  2306. for shift := uint(0); ; shift += 7 {
  2307. if shift >= 64 {
  2308. return ErrIntOverflowMedal
  2309. }
  2310. if iNdEx >= l {
  2311. return io.ErrUnexpectedEOF
  2312. }
  2313. b := dAtA[iNdEx]
  2314. iNdEx++
  2315. stringLen |= (uint64(b) & 0x7F) << shift
  2316. if b < 0x80 {
  2317. break
  2318. }
  2319. }
  2320. intStringLen := int(stringLen)
  2321. if intStringLen < 0 {
  2322. return ErrInvalidLengthMedal
  2323. }
  2324. postIndex := iNdEx + intStringLen
  2325. if postIndex > l {
  2326. return io.ErrUnexpectedEOF
  2327. }
  2328. m.Reason = string(dAtA[iNdEx:postIndex])
  2329. iNdEx = postIndex
  2330. case 8:
  2331. if wireType != 0 {
  2332. return fmt.Errorf("proto: wrong wireType = %d for field ApplySource", wireType)
  2333. }
  2334. m.ApplySource = 0
  2335. for shift := uint(0); ; shift += 7 {
  2336. if shift >= 64 {
  2337. return ErrIntOverflowMedal
  2338. }
  2339. if iNdEx >= l {
  2340. return io.ErrUnexpectedEOF
  2341. }
  2342. b := dAtA[iNdEx]
  2343. iNdEx++
  2344. m.ApplySource |= (int64(b) & 0x7F) << shift
  2345. if b < 0x80 {
  2346. break
  2347. }
  2348. }
  2349. case 9:
  2350. if wireType != 0 {
  2351. return fmt.Errorf("proto: wrong wireType = %d for field LastRenameTime", wireType)
  2352. }
  2353. m.LastRenameTime = 0
  2354. for shift := uint(0); ; shift += 7 {
  2355. if shift >= 64 {
  2356. return ErrIntOverflowMedal
  2357. }
  2358. if iNdEx >= l {
  2359. return io.ErrUnexpectedEOF
  2360. }
  2361. b := dAtA[iNdEx]
  2362. iNdEx++
  2363. m.LastRenameTime |= (int64(b) & 0x7F) << shift
  2364. if b < 0x80 {
  2365. break
  2366. }
  2367. }
  2368. case 10:
  2369. if wireType != 0 {
  2370. return fmt.Errorf("proto: wrong wireType = %d for field RenameStatus", wireType)
  2371. }
  2372. m.RenameStatus = 0
  2373. for shift := uint(0); ; shift += 7 {
  2374. if shift >= 64 {
  2375. return ErrIntOverflowMedal
  2376. }
  2377. if iNdEx >= l {
  2378. return io.ErrUnexpectedEOF
  2379. }
  2380. b := dAtA[iNdEx]
  2381. iNdEx++
  2382. m.RenameStatus |= (int64(b) & 0x7F) << shift
  2383. if b < 0x80 {
  2384. break
  2385. }
  2386. }
  2387. case 11:
  2388. if wireType != 0 {
  2389. return fmt.Errorf("proto: wrong wireType = %d for field ChargeNum", wireType)
  2390. }
  2391. m.ChargeNum = 0
  2392. for shift := uint(0); ; shift += 7 {
  2393. if shift >= 64 {
  2394. return ErrIntOverflowMedal
  2395. }
  2396. if iNdEx >= l {
  2397. return io.ErrUnexpectedEOF
  2398. }
  2399. b := dAtA[iNdEx]
  2400. iNdEx++
  2401. m.ChargeNum |= (int64(b) & 0x7F) << shift
  2402. if b < 0x80 {
  2403. break
  2404. }
  2405. }
  2406. case 12:
  2407. if wireType != 0 {
  2408. return fmt.Errorf("proto: wrong wireType = %d for field CoinNum", wireType)
  2409. }
  2410. m.CoinNum = 0
  2411. for shift := uint(0); ; shift += 7 {
  2412. if shift >= 64 {
  2413. return ErrIntOverflowMedal
  2414. }
  2415. if iNdEx >= l {
  2416. return io.ErrUnexpectedEOF
  2417. }
  2418. b := dAtA[iNdEx]
  2419. iNdEx++
  2420. m.CoinNum |= (int64(b) & 0x7F) << shift
  2421. if b < 0x80 {
  2422. break
  2423. }
  2424. }
  2425. case 13:
  2426. if wireType != 0 {
  2427. return fmt.Errorf("proto: wrong wireType = %d for field IsNull", wireType)
  2428. }
  2429. var v int
  2430. for shift := uint(0); ; shift += 7 {
  2431. if shift >= 64 {
  2432. return ErrIntOverflowMedal
  2433. }
  2434. if iNdEx >= l {
  2435. return io.ErrUnexpectedEOF
  2436. }
  2437. b := dAtA[iNdEx]
  2438. iNdEx++
  2439. v |= (int(b) & 0x7F) << shift
  2440. if b < 0x80 {
  2441. break
  2442. }
  2443. }
  2444. m.IsNull = bool(v != 0)
  2445. default:
  2446. iNdEx = preIndex
  2447. skippy, err := skipMedal(dAtA[iNdEx:])
  2448. if err != nil {
  2449. return err
  2450. }
  2451. if skippy < 0 {
  2452. return ErrInvalidLengthMedal
  2453. }
  2454. if (iNdEx + skippy) > l {
  2455. return io.ErrUnexpectedEOF
  2456. }
  2457. iNdEx += skippy
  2458. }
  2459. }
  2460. if iNdEx > l {
  2461. return io.ErrUnexpectedEOF
  2462. }
  2463. return nil
  2464. }
  2465. func (m *MedalQueryIdReq) Unmarshal(dAtA []byte) error {
  2466. l := len(dAtA)
  2467. iNdEx := 0
  2468. for iNdEx < l {
  2469. preIndex := iNdEx
  2470. var wire uint64
  2471. for shift := uint(0); ; shift += 7 {
  2472. if shift >= 64 {
  2473. return ErrIntOverflowMedal
  2474. }
  2475. if iNdEx >= l {
  2476. return io.ErrUnexpectedEOF
  2477. }
  2478. b := dAtA[iNdEx]
  2479. iNdEx++
  2480. wire |= (uint64(b) & 0x7F) << shift
  2481. if b < 0x80 {
  2482. break
  2483. }
  2484. }
  2485. fieldNum := int32(wire >> 3)
  2486. wireType := int(wire & 0x7)
  2487. if wireType == 4 {
  2488. return fmt.Errorf("proto: MedalQueryIdReq: wiretype end group for non-group")
  2489. }
  2490. if fieldNum <= 0 {
  2491. return fmt.Errorf("proto: MedalQueryIdReq: illegal tag %d (wire type %d)", fieldNum, wire)
  2492. }
  2493. switch fieldNum {
  2494. case 1:
  2495. if wireType != 0 {
  2496. return fmt.Errorf("proto: wrong wireType = %d for field MedalId", wireType)
  2497. }
  2498. m.MedalId = 0
  2499. for shift := uint(0); ; shift += 7 {
  2500. if shift >= 64 {
  2501. return ErrIntOverflowMedal
  2502. }
  2503. if iNdEx >= l {
  2504. return io.ErrUnexpectedEOF
  2505. }
  2506. b := dAtA[iNdEx]
  2507. iNdEx++
  2508. m.MedalId |= (int64(b) & 0x7F) << shift
  2509. if b < 0x80 {
  2510. break
  2511. }
  2512. }
  2513. default:
  2514. iNdEx = preIndex
  2515. skippy, err := skipMedal(dAtA[iNdEx:])
  2516. if err != nil {
  2517. return err
  2518. }
  2519. if skippy < 0 {
  2520. return ErrInvalidLengthMedal
  2521. }
  2522. if (iNdEx + skippy) > l {
  2523. return io.ErrUnexpectedEOF
  2524. }
  2525. iNdEx += skippy
  2526. }
  2527. }
  2528. if iNdEx > l {
  2529. return io.ErrUnexpectedEOF
  2530. }
  2531. return nil
  2532. }
  2533. func (m *MedalQueryIdResp) Unmarshal(dAtA []byte) error {
  2534. l := len(dAtA)
  2535. iNdEx := 0
  2536. for iNdEx < l {
  2537. preIndex := iNdEx
  2538. var wire uint64
  2539. for shift := uint(0); ; shift += 7 {
  2540. if shift >= 64 {
  2541. return ErrIntOverflowMedal
  2542. }
  2543. if iNdEx >= l {
  2544. return io.ErrUnexpectedEOF
  2545. }
  2546. b := dAtA[iNdEx]
  2547. iNdEx++
  2548. wire |= (uint64(b) & 0x7F) << shift
  2549. if b < 0x80 {
  2550. break
  2551. }
  2552. }
  2553. fieldNum := int32(wire >> 3)
  2554. wireType := int(wire & 0x7)
  2555. if wireType == 4 {
  2556. return fmt.Errorf("proto: MedalQueryIdResp: wiretype end group for non-group")
  2557. }
  2558. if fieldNum <= 0 {
  2559. return fmt.Errorf("proto: MedalQueryIdResp: illegal tag %d (wire type %d)", fieldNum, wire)
  2560. }
  2561. switch fieldNum {
  2562. case 1:
  2563. if wireType != 0 {
  2564. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  2565. }
  2566. m.Code = 0
  2567. for shift := uint(0); ; shift += 7 {
  2568. if shift >= 64 {
  2569. return ErrIntOverflowMedal
  2570. }
  2571. if iNdEx >= l {
  2572. return io.ErrUnexpectedEOF
  2573. }
  2574. b := dAtA[iNdEx]
  2575. iNdEx++
  2576. m.Code |= (int64(b) & 0x7F) << shift
  2577. if b < 0x80 {
  2578. break
  2579. }
  2580. }
  2581. case 2:
  2582. if wireType != 2 {
  2583. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  2584. }
  2585. var stringLen uint64
  2586. for shift := uint(0); ; shift += 7 {
  2587. if shift >= 64 {
  2588. return ErrIntOverflowMedal
  2589. }
  2590. if iNdEx >= l {
  2591. return io.ErrUnexpectedEOF
  2592. }
  2593. b := dAtA[iNdEx]
  2594. iNdEx++
  2595. stringLen |= (uint64(b) & 0x7F) << shift
  2596. if b < 0x80 {
  2597. break
  2598. }
  2599. }
  2600. intStringLen := int(stringLen)
  2601. if intStringLen < 0 {
  2602. return ErrInvalidLengthMedal
  2603. }
  2604. postIndex := iNdEx + intStringLen
  2605. if postIndex > l {
  2606. return io.ErrUnexpectedEOF
  2607. }
  2608. m.Msg = string(dAtA[iNdEx:postIndex])
  2609. iNdEx = postIndex
  2610. case 3:
  2611. if wireType != 2 {
  2612. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  2613. }
  2614. var msglen int
  2615. for shift := uint(0); ; shift += 7 {
  2616. if shift >= 64 {
  2617. return ErrIntOverflowMedal
  2618. }
  2619. if iNdEx >= l {
  2620. return io.ErrUnexpectedEOF
  2621. }
  2622. b := dAtA[iNdEx]
  2623. iNdEx++
  2624. msglen |= (int(b) & 0x7F) << shift
  2625. if b < 0x80 {
  2626. break
  2627. }
  2628. }
  2629. if msglen < 0 {
  2630. return ErrInvalidLengthMedal
  2631. }
  2632. postIndex := iNdEx + msglen
  2633. if postIndex > l {
  2634. return io.ErrUnexpectedEOF
  2635. }
  2636. if m.Data == nil {
  2637. m.Data = &MedalQueryIdResp_Data{}
  2638. }
  2639. if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2640. return err
  2641. }
  2642. iNdEx = postIndex
  2643. default:
  2644. iNdEx = preIndex
  2645. skippy, err := skipMedal(dAtA[iNdEx:])
  2646. if err != nil {
  2647. return err
  2648. }
  2649. if skippy < 0 {
  2650. return ErrInvalidLengthMedal
  2651. }
  2652. if (iNdEx + skippy) > l {
  2653. return io.ErrUnexpectedEOF
  2654. }
  2655. iNdEx += skippy
  2656. }
  2657. }
  2658. if iNdEx > l {
  2659. return io.ErrUnexpectedEOF
  2660. }
  2661. return nil
  2662. }
  2663. func (m *MedalQueryIdResp_Data) Unmarshal(dAtA []byte) error {
  2664. l := len(dAtA)
  2665. iNdEx := 0
  2666. for iNdEx < l {
  2667. preIndex := iNdEx
  2668. var wire uint64
  2669. for shift := uint(0); ; shift += 7 {
  2670. if shift >= 64 {
  2671. return ErrIntOverflowMedal
  2672. }
  2673. if iNdEx >= l {
  2674. return io.ErrUnexpectedEOF
  2675. }
  2676. b := dAtA[iNdEx]
  2677. iNdEx++
  2678. wire |= (uint64(b) & 0x7F) << shift
  2679. if b < 0x80 {
  2680. break
  2681. }
  2682. }
  2683. fieldNum := int32(wire >> 3)
  2684. wireType := int(wire & 0x7)
  2685. if wireType == 4 {
  2686. return fmt.Errorf("proto: Data: wiretype end group for non-group")
  2687. }
  2688. if fieldNum <= 0 {
  2689. return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire)
  2690. }
  2691. switch fieldNum {
  2692. case 1:
  2693. if wireType != 0 {
  2694. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  2695. }
  2696. m.Id = 0
  2697. for shift := uint(0); ; shift += 7 {
  2698. if shift >= 64 {
  2699. return ErrIntOverflowMedal
  2700. }
  2701. if iNdEx >= l {
  2702. return io.ErrUnexpectedEOF
  2703. }
  2704. b := dAtA[iNdEx]
  2705. iNdEx++
  2706. m.Id |= (int64(b) & 0x7F) << shift
  2707. if b < 0x80 {
  2708. break
  2709. }
  2710. }
  2711. case 2:
  2712. if wireType != 0 {
  2713. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  2714. }
  2715. m.Uid = 0
  2716. for shift := uint(0); ; shift += 7 {
  2717. if shift >= 64 {
  2718. return ErrIntOverflowMedal
  2719. }
  2720. if iNdEx >= l {
  2721. return io.ErrUnexpectedEOF
  2722. }
  2723. b := dAtA[iNdEx]
  2724. iNdEx++
  2725. m.Uid |= (int64(b) & 0x7F) << shift
  2726. if b < 0x80 {
  2727. break
  2728. }
  2729. }
  2730. case 3:
  2731. if wireType != 2 {
  2732. return fmt.Errorf("proto: wrong wireType = %d for field MedalName", wireType)
  2733. }
  2734. var stringLen uint64
  2735. for shift := uint(0); ; shift += 7 {
  2736. if shift >= 64 {
  2737. return ErrIntOverflowMedal
  2738. }
  2739. if iNdEx >= l {
  2740. return io.ErrUnexpectedEOF
  2741. }
  2742. b := dAtA[iNdEx]
  2743. iNdEx++
  2744. stringLen |= (uint64(b) & 0x7F) << shift
  2745. if b < 0x80 {
  2746. break
  2747. }
  2748. }
  2749. intStringLen := int(stringLen)
  2750. if intStringLen < 0 {
  2751. return ErrInvalidLengthMedal
  2752. }
  2753. postIndex := iNdEx + intStringLen
  2754. if postIndex > l {
  2755. return io.ErrUnexpectedEOF
  2756. }
  2757. m.MedalName = string(dAtA[iNdEx:postIndex])
  2758. iNdEx = postIndex
  2759. case 4:
  2760. if wireType != 0 {
  2761. return fmt.Errorf("proto: wrong wireType = %d for field LiveStatus", wireType)
  2762. }
  2763. m.LiveStatus = 0
  2764. for shift := uint(0); ; shift += 7 {
  2765. if shift >= 64 {
  2766. return ErrIntOverflowMedal
  2767. }
  2768. if iNdEx >= l {
  2769. return io.ErrUnexpectedEOF
  2770. }
  2771. b := dAtA[iNdEx]
  2772. iNdEx++
  2773. m.LiveStatus |= (int64(b) & 0x7F) << shift
  2774. if b < 0x80 {
  2775. break
  2776. }
  2777. }
  2778. case 5:
  2779. if wireType != 0 {
  2780. return fmt.Errorf("proto: wrong wireType = %d for field MasterStatus", wireType)
  2781. }
  2782. m.MasterStatus = 0
  2783. for shift := uint(0); ; shift += 7 {
  2784. if shift >= 64 {
  2785. return ErrIntOverflowMedal
  2786. }
  2787. if iNdEx >= l {
  2788. return io.ErrUnexpectedEOF
  2789. }
  2790. b := dAtA[iNdEx]
  2791. iNdEx++
  2792. m.MasterStatus |= (int64(b) & 0x7F) << shift
  2793. if b < 0x80 {
  2794. break
  2795. }
  2796. }
  2797. case 6:
  2798. if wireType != 0 {
  2799. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  2800. }
  2801. m.Status = 0
  2802. for shift := uint(0); ; shift += 7 {
  2803. if shift >= 64 {
  2804. return ErrIntOverflowMedal
  2805. }
  2806. if iNdEx >= l {
  2807. return io.ErrUnexpectedEOF
  2808. }
  2809. b := dAtA[iNdEx]
  2810. iNdEx++
  2811. m.Status |= (int64(b) & 0x7F) << shift
  2812. if b < 0x80 {
  2813. break
  2814. }
  2815. }
  2816. case 7:
  2817. if wireType != 0 {
  2818. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  2819. }
  2820. m.Reason = 0
  2821. for shift := uint(0); ; shift += 7 {
  2822. if shift >= 64 {
  2823. return ErrIntOverflowMedal
  2824. }
  2825. if iNdEx >= l {
  2826. return io.ErrUnexpectedEOF
  2827. }
  2828. b := dAtA[iNdEx]
  2829. iNdEx++
  2830. m.Reason |= (int64(b) & 0x7F) << shift
  2831. if b < 0x80 {
  2832. break
  2833. }
  2834. }
  2835. case 8:
  2836. if wireType != 0 {
  2837. return fmt.Errorf("proto: wrong wireType = %d for field LastRenameTime", wireType)
  2838. }
  2839. m.LastRenameTime = 0
  2840. for shift := uint(0); ; shift += 7 {
  2841. if shift >= 64 {
  2842. return ErrIntOverflowMedal
  2843. }
  2844. if iNdEx >= l {
  2845. return io.ErrUnexpectedEOF
  2846. }
  2847. b := dAtA[iNdEx]
  2848. iNdEx++
  2849. m.LastRenameTime |= (int64(b) & 0x7F) << shift
  2850. if b < 0x80 {
  2851. break
  2852. }
  2853. }
  2854. case 9:
  2855. if wireType != 0 {
  2856. return fmt.Errorf("proto: wrong wireType = %d for field IsNull", wireType)
  2857. }
  2858. var v int
  2859. for shift := uint(0); ; shift += 7 {
  2860. if shift >= 64 {
  2861. return ErrIntOverflowMedal
  2862. }
  2863. if iNdEx >= l {
  2864. return io.ErrUnexpectedEOF
  2865. }
  2866. b := dAtA[iNdEx]
  2867. iNdEx++
  2868. v |= (int(b) & 0x7F) << shift
  2869. if b < 0x80 {
  2870. break
  2871. }
  2872. }
  2873. m.IsNull = bool(v != 0)
  2874. default:
  2875. iNdEx = preIndex
  2876. skippy, err := skipMedal(dAtA[iNdEx:])
  2877. if err != nil {
  2878. return err
  2879. }
  2880. if skippy < 0 {
  2881. return ErrInvalidLengthMedal
  2882. }
  2883. if (iNdEx + skippy) > l {
  2884. return io.ErrUnexpectedEOF
  2885. }
  2886. iNdEx += skippy
  2887. }
  2888. }
  2889. if iNdEx > l {
  2890. return io.ErrUnexpectedEOF
  2891. }
  2892. return nil
  2893. }
  2894. func skipMedal(dAtA []byte) (n int, err error) {
  2895. l := len(dAtA)
  2896. iNdEx := 0
  2897. for iNdEx < l {
  2898. var wire uint64
  2899. for shift := uint(0); ; shift += 7 {
  2900. if shift >= 64 {
  2901. return 0, ErrIntOverflowMedal
  2902. }
  2903. if iNdEx >= l {
  2904. return 0, io.ErrUnexpectedEOF
  2905. }
  2906. b := dAtA[iNdEx]
  2907. iNdEx++
  2908. wire |= (uint64(b) & 0x7F) << shift
  2909. if b < 0x80 {
  2910. break
  2911. }
  2912. }
  2913. wireType := int(wire & 0x7)
  2914. switch wireType {
  2915. case 0:
  2916. for shift := uint(0); ; shift += 7 {
  2917. if shift >= 64 {
  2918. return 0, ErrIntOverflowMedal
  2919. }
  2920. if iNdEx >= l {
  2921. return 0, io.ErrUnexpectedEOF
  2922. }
  2923. iNdEx++
  2924. if dAtA[iNdEx-1] < 0x80 {
  2925. break
  2926. }
  2927. }
  2928. return iNdEx, nil
  2929. case 1:
  2930. iNdEx += 8
  2931. return iNdEx, nil
  2932. case 2:
  2933. var length int
  2934. for shift := uint(0); ; shift += 7 {
  2935. if shift >= 64 {
  2936. return 0, ErrIntOverflowMedal
  2937. }
  2938. if iNdEx >= l {
  2939. return 0, io.ErrUnexpectedEOF
  2940. }
  2941. b := dAtA[iNdEx]
  2942. iNdEx++
  2943. length |= (int(b) & 0x7F) << shift
  2944. if b < 0x80 {
  2945. break
  2946. }
  2947. }
  2948. iNdEx += length
  2949. if length < 0 {
  2950. return 0, ErrInvalidLengthMedal
  2951. }
  2952. return iNdEx, nil
  2953. case 3:
  2954. for {
  2955. var innerWire uint64
  2956. var start int = iNdEx
  2957. for shift := uint(0); ; shift += 7 {
  2958. if shift >= 64 {
  2959. return 0, ErrIntOverflowMedal
  2960. }
  2961. if iNdEx >= l {
  2962. return 0, io.ErrUnexpectedEOF
  2963. }
  2964. b := dAtA[iNdEx]
  2965. iNdEx++
  2966. innerWire |= (uint64(b) & 0x7F) << shift
  2967. if b < 0x80 {
  2968. break
  2969. }
  2970. }
  2971. innerWireType := int(innerWire & 0x7)
  2972. if innerWireType == 4 {
  2973. break
  2974. }
  2975. next, err := skipMedal(dAtA[start:])
  2976. if err != nil {
  2977. return 0, err
  2978. }
  2979. iNdEx = start + next
  2980. }
  2981. return iNdEx, nil
  2982. case 4:
  2983. return iNdEx, nil
  2984. case 5:
  2985. iNdEx += 4
  2986. return iNdEx, nil
  2987. default:
  2988. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  2989. }
  2990. }
  2991. panic("unreachable")
  2992. }
  2993. var (
  2994. ErrInvalidLengthMedal = fmt.Errorf("proto: negative length found during unmarshaling")
  2995. ErrIntOverflowMedal = fmt.Errorf("proto: integer overflow")
  2996. )
  2997. func init() { proto.RegisterFile("v1/Medal.proto", fileDescriptor_Medal_320108735012f73b) }
  2998. var fileDescriptor_Medal_320108735012f73b = []byte{
  2999. // 707 bytes of a gzipped FileDescriptorProto
  3000. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x56, 0x4d, 0x6b, 0xdb, 0x4c,
  3001. 0x10, 0x8e, 0xfc, 0x29, 0x8f, 0x3f, 0x92, 0x77, 0x79, 0x79, 0xd1, 0x6b, 0x12, 0x29, 0xb8, 0x81,
  3002. 0xe4, 0x12, 0xa7, 0x49, 0xa0, 0x87, 0x1e, 0x4a, 0xeb, 0x06, 0x4a, 0x28, 0x75, 0xe9, 0xa6, 0xa7,
  3003. 0x5e, 0xc4, 0xc6, 0xda, 0x38, 0x02, 0xc9, 0xb2, 0xf5, 0x61, 0xc8, 0xad, 0x3f, 0xa1, 0xf4, 0x3f,
  3004. 0x15, 0x7a, 0x0c, 0x94, 0x42, 0x4f, 0xa2, 0xc4, 0x37, 0xfd, 0x8a, 0xb2, 0xa3, 0xb5, 0x63, 0xa5,
  3005. 0x8e, 0x4b, 0x49, 0x7b, 0xcb, 0x65, 0x35, 0xf3, 0xcc, 0x97, 0xc6, 0x33, 0x8f, 0xbc, 0xd0, 0x18,
  3006. 0xef, 0xef, 0xbd, 0xe2, 0x16, 0x73, 0xda, 0x43, 0xdf, 0x0b, 0x3d, 0x52, 0x3f, 0x63, 0x83, 0xc0,
  3007. 0x74, 0x11, 0x19, 0xef, 0x37, 0x77, 0xfb, 0x76, 0x78, 0x1e, 0x9d, 0xb6, 0x7b, 0x9e, 0xbb, 0xd7,
  3008. 0xf7, 0xfa, 0xde, 0x1e, 0x7a, 0x9d, 0x46, 0x67, 0xa8, 0xa1, 0x82, 0x52, 0x1a, 0xdd, 0x7a, 0x0d,
  3009. 0x0d, 0x4c, 0xf6, 0xdc, 0xe7, 0x2c, 0xe4, 0x94, 0x8f, 0xc8, 0xff, 0x90, 0x8f, 0x6c, 0x4b, 0x53,
  3010. 0x36, 0x95, 0x9d, 0x7c, 0xa7, 0x9c, 0xc4, 0x86, 0x50, 0xa9, 0x38, 0x48, 0x0b, 0x4a, 0x81, 0x17,
  3011. 0xf9, 0x3d, 0xae, 0xe5, 0xd0, 0x0a, 0x49, 0x6c, 0x48, 0x84, 0xca, 0x67, 0xeb, 0x6b, 0x11, 0x56,
  3012. 0x33, 0x19, 0x83, 0x21, 0x59, 0x87, 0x42, 0xcf, 0xb3, 0xb8, 0xcc, 0xa9, 0x26, 0xb1, 0x81, 0x3a,
  3013. 0xc5, 0x53, 0x14, 0x74, 0x83, 0x3e, 0xa6, 0xac, 0xa4, 0x05, 0xdd, 0xa0, 0x4f, 0xc5, 0x41, 0x9e,
  3014. 0x41, 0xc1, 0x62, 0x21, 0xd3, 0xf2, 0x9b, 0xca, 0x4e, 0xf5, 0xe0, 0x41, 0x3b, 0xd3, 0x6a, 0xfb,
  3015. 0x46, 0x99, 0xf6, 0x11, 0x0b, 0x59, 0x9a, 0x5d, 0x04, 0x51, 0x3c, 0x9b, 0x9f, 0x0a, 0x50, 0x10,
  3016. 0x06, 0xf2, 0x1f, 0xe4, 0x66, 0x6d, 0x95, 0x92, 0xd8, 0xc8, 0xd9, 0x16, 0xcd, 0xd9, 0xd6, 0xb4,
  3017. 0xdf, 0xdc, 0x82, 0x7e, 0x77, 0x01, 0xb0, 0x98, 0x39, 0x60, 0x2e, 0xc7, 0x97, 0xa8, 0x74, 0x1a,
  3018. 0x49, 0x6c, 0xcc, 0xa1, 0xb4, 0x82, 0x72, 0x97, 0xb9, 0x9c, 0x3c, 0x84, 0xaa, 0x63, 0x8f, 0xb9,
  3019. 0x19, 0x84, 0x2c, 0x8c, 0x02, 0xad, 0x80, 0x19, 0x57, 0x93, 0xd8, 0x98, 0x87, 0x29, 0x08, 0xe5,
  3020. 0x04, 0x65, 0xf2, 0x08, 0xea, 0x2e, 0x0b, 0x42, 0xee, 0x4f, 0x63, 0x8a, 0x18, 0xf3, 0x4f, 0x12,
  3021. 0x1b, 0x59, 0x03, 0xad, 0xa5, 0xaa, 0x8c, 0x13, 0x83, 0x48, 0x03, 0x4a, 0x73, 0x83, 0x48, 0x3d,
  3022. 0xe5, 0x53, 0xf8, 0xf8, 0x9c, 0x05, 0xde, 0x40, 0x2b, 0xe3, 0x8b, 0xa3, 0x4f, 0x8a, 0x50, 0xf9,
  3023. 0x24, 0x87, 0x50, 0x63, 0xc3, 0xa1, 0x73, 0x61, 0xca, 0xb1, 0xaa, 0x98, 0x6d, 0x2d, 0x89, 0x8d,
  3024. 0x0c, 0x4e, 0xab, 0xa8, 0x9d, 0xa0, 0x42, 0x9e, 0xc0, 0x9a, 0xc3, 0x82, 0xd0, 0xf4, 0xb9, 0xf8,
  3025. 0x01, 0xcc, 0xd0, 0x76, 0xb9, 0x56, 0xc1, 0xc0, 0x7f, 0x93, 0xd8, 0xf8, 0xc9, 0x46, 0x1b, 0x02,
  3026. 0xa1, 0x08, 0xbc, 0xb5, 0x5d, 0x2e, 0x9a, 0x96, 0x66, 0xd9, 0x03, 0x5c, 0x37, 0x9d, 0x31, 0xd0,
  3027. 0x5a, 0xaa, 0xca, 0xa6, 0x77, 0x01, 0x7a, 0xe7, 0xcc, 0xef, 0x73, 0x73, 0x10, 0xb9, 0x5a, 0x15,
  3028. 0x83, 0x70, 0x1a, 0xd7, 0x28, 0xad, 0xa4, 0x72, 0x37, 0x72, 0xc9, 0x36, 0xa8, 0x3d, 0xcf, 0x1e,
  3029. 0xa0, 0x73, 0x0d, 0x9d, 0x6b, 0x49, 0x6c, 0xcc, 0x30, 0x5a, 0x16, 0x92, 0x70, 0xdc, 0x82, 0xb2,
  3030. 0x1d, 0x98, 0x83, 0xc8, 0x71, 0xb4, 0xfa, 0xa6, 0xb2, 0xa3, 0x76, 0xaa, 0x49, 0x6c, 0x4c, 0x21,
  3031. 0x5a, 0xb2, 0x83, 0x6e, 0xe4, 0x38, 0xad, 0x2e, 0xd4, 0x71, 0xdf, 0xde, 0x44, 0xdc, 0xbf, 0xf8,
  3032. 0x03, 0x3c, 0xf9, 0x52, 0x94, 0xcc, 0x93, 0x09, 0xef, 0x42, 0x93, 0xa7, 0x19, 0x9a, 0xb4, 0x16,
  3033. 0xd1, 0x64, 0x56, 0xe5, 0x9e, 0x25, 0xf7, 0x2c, 0xf9, 0x7b, 0x2c, 0x79, 0x2c, 0x3f, 0xfe, 0xb8,
  3034. 0x6e, 0xc7, 0x96, 0xe0, 0xc9, 0x36, 0xa8, 0xe9, 0x22, 0xcc, 0xf6, 0x0a, 0x2b, 0x4c, 0x31, 0x5a,
  3035. 0x46, 0xe9, 0xd8, 0x6a, 0x7d, 0x2c, 0xc0, 0x5a, 0x36, 0xf8, 0x2e, 0x9c, 0xe8, 0x64, 0x38, 0xb1,
  3036. 0x75, 0x2b, 0x27, 0xd2, 0x3a, 0x8b, 0x59, 0xf1, 0x3e, 0x7f, 0xcf, 0x8a, 0x6b, 0x9f, 0x1b, 0xac,
  3037. 0x58, 0xb4, 0xe0, 0xea, 0x6f, 0x2c, 0xf8, 0xdc, 0x42, 0x55, 0x6e, 0x5d, 0xa8, 0x83, 0x89, 0x02,
  3038. 0x45, 0x1c, 0x16, 0x79, 0x01, 0xa5, 0x1e, 0xfe, 0xd7, 0x93, 0x8d, 0x65, 0xf7, 0x80, 0x51, 0x53,
  3039. 0x5f, 0x7e, 0x4d, 0x20, 0x47, 0x50, 0x1c, 0x89, 0xc9, 0x93, 0xf5, 0x25, 0x1f, 0xca, 0x51, 0x73,
  3040. 0x63, 0xe9, 0x67, 0x94, 0xbc, 0x04, 0x15, 0xb3, 0x98, 0xb6, 0x45, 0xf4, 0xa5, 0xdb, 0x35, 0x6a,
  3041. 0x1a, 0xbf, 0xd8, 0xbe, 0xce, 0xfa, 0xe7, 0x2b, 0x5d, 0xb9, 0xbc, 0xd2, 0x95, 0xef, 0x57, 0xba,
  3042. 0xf2, 0x61, 0xa2, 0xaf, 0x5c, 0x4e, 0xf4, 0x95, 0x6f, 0x13, 0x7d, 0xe5, 0x5d, 0x6e, 0xbc, 0x7f,
  3043. 0x5a, 0xc2, 0xab, 0xda, 0xe1, 0x8f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x21, 0xc5, 0xeb, 0x40, 0xfa,
  3044. 0x09, 0x00, 0x00,
  3045. }