api.pb.go 78 KB

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