DanmuConf.pb.go 58 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: v1/DanmuConf.proto
  3. package v1
  4. import proto "github.com/gogo/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "github.com/gogo/protobuf/gogoproto"
  8. import io "io"
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  18. type DanmuConfGetAllReq struct {
  19. // 房间号
  20. Roomid int64 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid"`
  21. // 用户id(优先取登录态)
  22. Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid"`
  23. }
  24. func (m *DanmuConfGetAllReq) Reset() { *m = DanmuConfGetAllReq{} }
  25. func (m *DanmuConfGetAllReq) String() string { return proto.CompactTextString(m) }
  26. func (*DanmuConfGetAllReq) ProtoMessage() {}
  27. func (*DanmuConfGetAllReq) Descriptor() ([]byte, []int) {
  28. return fileDescriptor_DanmuConf_aa3d2c061886559f, []int{0}
  29. }
  30. func (m *DanmuConfGetAllReq) XXX_Unmarshal(b []byte) error {
  31. return m.Unmarshal(b)
  32. }
  33. func (m *DanmuConfGetAllReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  34. if deterministic {
  35. return xxx_messageInfo_DanmuConfGetAllReq.Marshal(b, m, deterministic)
  36. } else {
  37. b = b[:cap(b)]
  38. n, err := m.MarshalTo(b)
  39. if err != nil {
  40. return nil, err
  41. }
  42. return b[:n], nil
  43. }
  44. }
  45. func (dst *DanmuConfGetAllReq) XXX_Merge(src proto.Message) {
  46. xxx_messageInfo_DanmuConfGetAllReq.Merge(dst, src)
  47. }
  48. func (m *DanmuConfGetAllReq) XXX_Size() int {
  49. return m.Size()
  50. }
  51. func (m *DanmuConfGetAllReq) XXX_DiscardUnknown() {
  52. xxx_messageInfo_DanmuConfGetAllReq.DiscardUnknown(m)
  53. }
  54. var xxx_messageInfo_DanmuConfGetAllReq proto.InternalMessageInfo
  55. func (m *DanmuConfGetAllReq) GetRoomid() int64 {
  56. if m != nil {
  57. return m.Roomid
  58. }
  59. return 0
  60. }
  61. func (m *DanmuConfGetAllReq) GetUid() int64 {
  62. if m != nil {
  63. return m.Uid
  64. }
  65. return 0
  66. }
  67. type DanmuConfGetAllResp struct {
  68. // code
  69. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  70. // msg
  71. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  72. //
  73. Data *DanmuConfGetAllResp_Data `protobuf:"bytes,3,opt,name=data" json:"data"`
  74. }
  75. func (m *DanmuConfGetAllResp) Reset() { *m = DanmuConfGetAllResp{} }
  76. func (m *DanmuConfGetAllResp) String() string { return proto.CompactTextString(m) }
  77. func (*DanmuConfGetAllResp) ProtoMessage() {}
  78. func (*DanmuConfGetAllResp) Descriptor() ([]byte, []int) {
  79. return fileDescriptor_DanmuConf_aa3d2c061886559f, []int{1}
  80. }
  81. func (m *DanmuConfGetAllResp) XXX_Unmarshal(b []byte) error {
  82. return m.Unmarshal(b)
  83. }
  84. func (m *DanmuConfGetAllResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  85. if deterministic {
  86. return xxx_messageInfo_DanmuConfGetAllResp.Marshal(b, m, deterministic)
  87. } else {
  88. b = b[:cap(b)]
  89. n, err := m.MarshalTo(b)
  90. if err != nil {
  91. return nil, err
  92. }
  93. return b[:n], nil
  94. }
  95. }
  96. func (dst *DanmuConfGetAllResp) XXX_Merge(src proto.Message) {
  97. xxx_messageInfo_DanmuConfGetAllResp.Merge(dst, src)
  98. }
  99. func (m *DanmuConfGetAllResp) XXX_Size() int {
  100. return m.Size()
  101. }
  102. func (m *DanmuConfGetAllResp) XXX_DiscardUnknown() {
  103. xxx_messageInfo_DanmuConfGetAllResp.DiscardUnknown(m)
  104. }
  105. var xxx_messageInfo_DanmuConfGetAllResp proto.InternalMessageInfo
  106. func (m *DanmuConfGetAllResp) GetCode() int64 {
  107. if m != nil {
  108. return m.Code
  109. }
  110. return 0
  111. }
  112. func (m *DanmuConfGetAllResp) GetMsg() string {
  113. if m != nil {
  114. return m.Msg
  115. }
  116. return ""
  117. }
  118. func (m *DanmuConfGetAllResp) GetData() *DanmuConfGetAllResp_Data {
  119. if m != nil {
  120. return m.Data
  121. }
  122. return nil
  123. }
  124. type DanmuConfGetAllResp_Data struct {
  125. // 模式
  126. Mode int64 `protobuf:"varint,1,opt,name=mode,proto3" json:"mode"`
  127. // 颜色
  128. Color int64 `protobuf:"varint,2,opt,name=color,proto3" json:"color"`
  129. // 长度
  130. Length int64 `protobuf:"varint,3,opt,name=length,proto3" json:"length"`
  131. // roomid
  132. Roomid int64 `protobuf:"varint,4,opt,name=roomid,proto3" json:"roomid"`
  133. }
  134. func (m *DanmuConfGetAllResp_Data) Reset() { *m = DanmuConfGetAllResp_Data{} }
  135. func (m *DanmuConfGetAllResp_Data) String() string { return proto.CompactTextString(m) }
  136. func (*DanmuConfGetAllResp_Data) ProtoMessage() {}
  137. func (*DanmuConfGetAllResp_Data) Descriptor() ([]byte, []int) {
  138. return fileDescriptor_DanmuConf_aa3d2c061886559f, []int{1, 0}
  139. }
  140. func (m *DanmuConfGetAllResp_Data) XXX_Unmarshal(b []byte) error {
  141. return m.Unmarshal(b)
  142. }
  143. func (m *DanmuConfGetAllResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  144. if deterministic {
  145. return xxx_messageInfo_DanmuConfGetAllResp_Data.Marshal(b, m, deterministic)
  146. } else {
  147. b = b[:cap(b)]
  148. n, err := m.MarshalTo(b)
  149. if err != nil {
  150. return nil, err
  151. }
  152. return b[:n], nil
  153. }
  154. }
  155. func (dst *DanmuConfGetAllResp_Data) XXX_Merge(src proto.Message) {
  156. xxx_messageInfo_DanmuConfGetAllResp_Data.Merge(dst, src)
  157. }
  158. func (m *DanmuConfGetAllResp_Data) XXX_Size() int {
  159. return m.Size()
  160. }
  161. func (m *DanmuConfGetAllResp_Data) XXX_DiscardUnknown() {
  162. xxx_messageInfo_DanmuConfGetAllResp_Data.DiscardUnknown(m)
  163. }
  164. var xxx_messageInfo_DanmuConfGetAllResp_Data proto.InternalMessageInfo
  165. func (m *DanmuConfGetAllResp_Data) GetMode() int64 {
  166. if m != nil {
  167. return m.Mode
  168. }
  169. return 0
  170. }
  171. func (m *DanmuConfGetAllResp_Data) GetColor() int64 {
  172. if m != nil {
  173. return m.Color
  174. }
  175. return 0
  176. }
  177. func (m *DanmuConfGetAllResp_Data) GetLength() int64 {
  178. if m != nil {
  179. return m.Length
  180. }
  181. return 0
  182. }
  183. func (m *DanmuConfGetAllResp_Data) GetRoomid() int64 {
  184. if m != nil {
  185. return m.Roomid
  186. }
  187. return 0
  188. }
  189. type DanmuConfAddByTypeReq struct {
  190. // color:颜色, mode:弹幕模式, length:弹幕长度
  191. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type"`
  192. // uid
  193. Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid"`
  194. // 房间号,传0为全局
  195. Roomid int64 `protobuf:"varint,3,opt,name=roomid,proto3" json:"roomid"`
  196. // 不填则为永久
  197. Expire int64 `protobuf:"varint,4,opt,name=expire,proto3" json:"expire"`
  198. // 配置值
  199. Value int64 `protobuf:"varint,5,opt,name=value,proto3" json:"value"`
  200. }
  201. func (m *DanmuConfAddByTypeReq) Reset() { *m = DanmuConfAddByTypeReq{} }
  202. func (m *DanmuConfAddByTypeReq) String() string { return proto.CompactTextString(m) }
  203. func (*DanmuConfAddByTypeReq) ProtoMessage() {}
  204. func (*DanmuConfAddByTypeReq) Descriptor() ([]byte, []int) {
  205. return fileDescriptor_DanmuConf_aa3d2c061886559f, []int{2}
  206. }
  207. func (m *DanmuConfAddByTypeReq) XXX_Unmarshal(b []byte) error {
  208. return m.Unmarshal(b)
  209. }
  210. func (m *DanmuConfAddByTypeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  211. if deterministic {
  212. return xxx_messageInfo_DanmuConfAddByTypeReq.Marshal(b, m, deterministic)
  213. } else {
  214. b = b[:cap(b)]
  215. n, err := m.MarshalTo(b)
  216. if err != nil {
  217. return nil, err
  218. }
  219. return b[:n], nil
  220. }
  221. }
  222. func (dst *DanmuConfAddByTypeReq) XXX_Merge(src proto.Message) {
  223. xxx_messageInfo_DanmuConfAddByTypeReq.Merge(dst, src)
  224. }
  225. func (m *DanmuConfAddByTypeReq) XXX_Size() int {
  226. return m.Size()
  227. }
  228. func (m *DanmuConfAddByTypeReq) XXX_DiscardUnknown() {
  229. xxx_messageInfo_DanmuConfAddByTypeReq.DiscardUnknown(m)
  230. }
  231. var xxx_messageInfo_DanmuConfAddByTypeReq proto.InternalMessageInfo
  232. func (m *DanmuConfAddByTypeReq) GetType() string {
  233. if m != nil {
  234. return m.Type
  235. }
  236. return ""
  237. }
  238. func (m *DanmuConfAddByTypeReq) GetUid() int64 {
  239. if m != nil {
  240. return m.Uid
  241. }
  242. return 0
  243. }
  244. func (m *DanmuConfAddByTypeReq) GetRoomid() int64 {
  245. if m != nil {
  246. return m.Roomid
  247. }
  248. return 0
  249. }
  250. func (m *DanmuConfAddByTypeReq) GetExpire() int64 {
  251. if m != nil {
  252. return m.Expire
  253. }
  254. return 0
  255. }
  256. func (m *DanmuConfAddByTypeReq) GetValue() int64 {
  257. if m != nil {
  258. return m.Value
  259. }
  260. return 0
  261. }
  262. type DanmuConfAddByTypeResp struct {
  263. // code
  264. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  265. // msg
  266. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  267. //
  268. Data *DanmuConfAddByTypeResp_Data `protobuf:"bytes,3,opt,name=data" json:"data"`
  269. }
  270. func (m *DanmuConfAddByTypeResp) Reset() { *m = DanmuConfAddByTypeResp{} }
  271. func (m *DanmuConfAddByTypeResp) String() string { return proto.CompactTextString(m) }
  272. func (*DanmuConfAddByTypeResp) ProtoMessage() {}
  273. func (*DanmuConfAddByTypeResp) Descriptor() ([]byte, []int) {
  274. return fileDescriptor_DanmuConf_aa3d2c061886559f, []int{3}
  275. }
  276. func (m *DanmuConfAddByTypeResp) XXX_Unmarshal(b []byte) error {
  277. return m.Unmarshal(b)
  278. }
  279. func (m *DanmuConfAddByTypeResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  280. if deterministic {
  281. return xxx_messageInfo_DanmuConfAddByTypeResp.Marshal(b, m, deterministic)
  282. } else {
  283. b = b[:cap(b)]
  284. n, err := m.MarshalTo(b)
  285. if err != nil {
  286. return nil, err
  287. }
  288. return b[:n], nil
  289. }
  290. }
  291. func (dst *DanmuConfAddByTypeResp) XXX_Merge(src proto.Message) {
  292. xxx_messageInfo_DanmuConfAddByTypeResp.Merge(dst, src)
  293. }
  294. func (m *DanmuConfAddByTypeResp) XXX_Size() int {
  295. return m.Size()
  296. }
  297. func (m *DanmuConfAddByTypeResp) XXX_DiscardUnknown() {
  298. xxx_messageInfo_DanmuConfAddByTypeResp.DiscardUnknown(m)
  299. }
  300. var xxx_messageInfo_DanmuConfAddByTypeResp proto.InternalMessageInfo
  301. func (m *DanmuConfAddByTypeResp) GetCode() int64 {
  302. if m != nil {
  303. return m.Code
  304. }
  305. return 0
  306. }
  307. func (m *DanmuConfAddByTypeResp) GetMsg() string {
  308. if m != nil {
  309. return m.Msg
  310. }
  311. return ""
  312. }
  313. func (m *DanmuConfAddByTypeResp) GetData() *DanmuConfAddByTypeResp_Data {
  314. if m != nil {
  315. return m.Data
  316. }
  317. return nil
  318. }
  319. type DanmuConfAddByTypeResp_Data struct {
  320. // true:操作成功 false:操作失败
  321. Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result"`
  322. }
  323. func (m *DanmuConfAddByTypeResp_Data) Reset() { *m = DanmuConfAddByTypeResp_Data{} }
  324. func (m *DanmuConfAddByTypeResp_Data) String() string { return proto.CompactTextString(m) }
  325. func (*DanmuConfAddByTypeResp_Data) ProtoMessage() {}
  326. func (*DanmuConfAddByTypeResp_Data) Descriptor() ([]byte, []int) {
  327. return fileDescriptor_DanmuConf_aa3d2c061886559f, []int{3, 0}
  328. }
  329. func (m *DanmuConfAddByTypeResp_Data) XXX_Unmarshal(b []byte) error {
  330. return m.Unmarshal(b)
  331. }
  332. func (m *DanmuConfAddByTypeResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  333. if deterministic {
  334. return xxx_messageInfo_DanmuConfAddByTypeResp_Data.Marshal(b, m, deterministic)
  335. } else {
  336. b = b[:cap(b)]
  337. n, err := m.MarshalTo(b)
  338. if err != nil {
  339. return nil, err
  340. }
  341. return b[:n], nil
  342. }
  343. }
  344. func (dst *DanmuConfAddByTypeResp_Data) XXX_Merge(src proto.Message) {
  345. xxx_messageInfo_DanmuConfAddByTypeResp_Data.Merge(dst, src)
  346. }
  347. func (m *DanmuConfAddByTypeResp_Data) XXX_Size() int {
  348. return m.Size()
  349. }
  350. func (m *DanmuConfAddByTypeResp_Data) XXX_DiscardUnknown() {
  351. xxx_messageInfo_DanmuConfAddByTypeResp_Data.DiscardUnknown(m)
  352. }
  353. var xxx_messageInfo_DanmuConfAddByTypeResp_Data proto.InternalMessageInfo
  354. func (m *DanmuConfAddByTypeResp_Data) GetResult() bool {
  355. if m != nil {
  356. return m.Result
  357. }
  358. return false
  359. }
  360. type DanmuConfGetAllPrivilegeReq struct {
  361. // 用户id
  362. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
  363. }
  364. func (m *DanmuConfGetAllPrivilegeReq) Reset() { *m = DanmuConfGetAllPrivilegeReq{} }
  365. func (m *DanmuConfGetAllPrivilegeReq) String() string { return proto.CompactTextString(m) }
  366. func (*DanmuConfGetAllPrivilegeReq) ProtoMessage() {}
  367. func (*DanmuConfGetAllPrivilegeReq) Descriptor() ([]byte, []int) {
  368. return fileDescriptor_DanmuConf_aa3d2c061886559f, []int{4}
  369. }
  370. func (m *DanmuConfGetAllPrivilegeReq) XXX_Unmarshal(b []byte) error {
  371. return m.Unmarshal(b)
  372. }
  373. func (m *DanmuConfGetAllPrivilegeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  374. if deterministic {
  375. return xxx_messageInfo_DanmuConfGetAllPrivilegeReq.Marshal(b, m, deterministic)
  376. } else {
  377. b = b[:cap(b)]
  378. n, err := m.MarshalTo(b)
  379. if err != nil {
  380. return nil, err
  381. }
  382. return b[:n], nil
  383. }
  384. }
  385. func (dst *DanmuConfGetAllPrivilegeReq) XXX_Merge(src proto.Message) {
  386. xxx_messageInfo_DanmuConfGetAllPrivilegeReq.Merge(dst, src)
  387. }
  388. func (m *DanmuConfGetAllPrivilegeReq) XXX_Size() int {
  389. return m.Size()
  390. }
  391. func (m *DanmuConfGetAllPrivilegeReq) XXX_DiscardUnknown() {
  392. xxx_messageInfo_DanmuConfGetAllPrivilegeReq.DiscardUnknown(m)
  393. }
  394. var xxx_messageInfo_DanmuConfGetAllPrivilegeReq proto.InternalMessageInfo
  395. func (m *DanmuConfGetAllPrivilegeReq) GetUid() int64 {
  396. if m != nil {
  397. return m.Uid
  398. }
  399. return 0
  400. }
  401. type DanmuConfGetAllPrivilegeResp struct {
  402. //
  403. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  404. //
  405. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  406. //
  407. Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message"`
  408. //
  409. Data []*DanmuConfGetAllPrivilegeResp_Data `protobuf:"bytes,4,rep,name=data" json:"data"`
  410. }
  411. func (m *DanmuConfGetAllPrivilegeResp) Reset() { *m = DanmuConfGetAllPrivilegeResp{} }
  412. func (m *DanmuConfGetAllPrivilegeResp) String() string { return proto.CompactTextString(m) }
  413. func (*DanmuConfGetAllPrivilegeResp) ProtoMessage() {}
  414. func (*DanmuConfGetAllPrivilegeResp) Descriptor() ([]byte, []int) {
  415. return fileDescriptor_DanmuConf_aa3d2c061886559f, []int{5}
  416. }
  417. func (m *DanmuConfGetAllPrivilegeResp) XXX_Unmarshal(b []byte) error {
  418. return m.Unmarshal(b)
  419. }
  420. func (m *DanmuConfGetAllPrivilegeResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  421. if deterministic {
  422. return xxx_messageInfo_DanmuConfGetAllPrivilegeResp.Marshal(b, m, deterministic)
  423. } else {
  424. b = b[:cap(b)]
  425. n, err := m.MarshalTo(b)
  426. if err != nil {
  427. return nil, err
  428. }
  429. return b[:n], nil
  430. }
  431. }
  432. func (dst *DanmuConfGetAllPrivilegeResp) XXX_Merge(src proto.Message) {
  433. xxx_messageInfo_DanmuConfGetAllPrivilegeResp.Merge(dst, src)
  434. }
  435. func (m *DanmuConfGetAllPrivilegeResp) XXX_Size() int {
  436. return m.Size()
  437. }
  438. func (m *DanmuConfGetAllPrivilegeResp) XXX_DiscardUnknown() {
  439. xxx_messageInfo_DanmuConfGetAllPrivilegeResp.DiscardUnknown(m)
  440. }
  441. var xxx_messageInfo_DanmuConfGetAllPrivilegeResp proto.InternalMessageInfo
  442. func (m *DanmuConfGetAllPrivilegeResp) GetCode() int64 {
  443. if m != nil {
  444. return m.Code
  445. }
  446. return 0
  447. }
  448. func (m *DanmuConfGetAllPrivilegeResp) GetMsg() string {
  449. if m != nil {
  450. return m.Msg
  451. }
  452. return ""
  453. }
  454. func (m *DanmuConfGetAllPrivilegeResp) GetMessage() string {
  455. if m != nil {
  456. return m.Message
  457. }
  458. return ""
  459. }
  460. func (m *DanmuConfGetAllPrivilegeResp) GetData() []*DanmuConfGetAllPrivilegeResp_Data {
  461. if m != nil {
  462. return m.Data
  463. }
  464. return nil
  465. }
  466. type DanmuConfGetAllPrivilegeResp_Data struct {
  467. // UID
  468. Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"`
  469. // roomID
  470. Roomid string `protobuf:"bytes,2,opt,name=roomid,proto3" json:"roomid"`
  471. // 0:color,1:mode,2:length
  472. Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type"`
  473. //
  474. Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value"`
  475. // 初始0,佩戴中1
  476. Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status"`
  477. //
  478. ExpiredAt string `protobuf:"bytes,6,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at"`
  479. }
  480. func (m *DanmuConfGetAllPrivilegeResp_Data) Reset() { *m = DanmuConfGetAllPrivilegeResp_Data{} }
  481. func (m *DanmuConfGetAllPrivilegeResp_Data) String() string { return proto.CompactTextString(m) }
  482. func (*DanmuConfGetAllPrivilegeResp_Data) ProtoMessage() {}
  483. func (*DanmuConfGetAllPrivilegeResp_Data) Descriptor() ([]byte, []int) {
  484. return fileDescriptor_DanmuConf_aa3d2c061886559f, []int{5, 0}
  485. }
  486. func (m *DanmuConfGetAllPrivilegeResp_Data) XXX_Unmarshal(b []byte) error {
  487. return m.Unmarshal(b)
  488. }
  489. func (m *DanmuConfGetAllPrivilegeResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  490. if deterministic {
  491. return xxx_messageInfo_DanmuConfGetAllPrivilegeResp_Data.Marshal(b, m, deterministic)
  492. } else {
  493. b = b[:cap(b)]
  494. n, err := m.MarshalTo(b)
  495. if err != nil {
  496. return nil, err
  497. }
  498. return b[:n], nil
  499. }
  500. }
  501. func (dst *DanmuConfGetAllPrivilegeResp_Data) XXX_Merge(src proto.Message) {
  502. xxx_messageInfo_DanmuConfGetAllPrivilegeResp_Data.Merge(dst, src)
  503. }
  504. func (m *DanmuConfGetAllPrivilegeResp_Data) XXX_Size() int {
  505. return m.Size()
  506. }
  507. func (m *DanmuConfGetAllPrivilegeResp_Data) XXX_DiscardUnknown() {
  508. xxx_messageInfo_DanmuConfGetAllPrivilegeResp_Data.DiscardUnknown(m)
  509. }
  510. var xxx_messageInfo_DanmuConfGetAllPrivilegeResp_Data proto.InternalMessageInfo
  511. func (m *DanmuConfGetAllPrivilegeResp_Data) GetUid() string {
  512. if m != nil {
  513. return m.Uid
  514. }
  515. return ""
  516. }
  517. func (m *DanmuConfGetAllPrivilegeResp_Data) GetRoomid() string {
  518. if m != nil {
  519. return m.Roomid
  520. }
  521. return ""
  522. }
  523. func (m *DanmuConfGetAllPrivilegeResp_Data) GetType() string {
  524. if m != nil {
  525. return m.Type
  526. }
  527. return ""
  528. }
  529. func (m *DanmuConfGetAllPrivilegeResp_Data) GetValue() string {
  530. if m != nil {
  531. return m.Value
  532. }
  533. return ""
  534. }
  535. func (m *DanmuConfGetAllPrivilegeResp_Data) GetStatus() string {
  536. if m != nil {
  537. return m.Status
  538. }
  539. return ""
  540. }
  541. func (m *DanmuConfGetAllPrivilegeResp_Data) GetExpiredAt() string {
  542. if m != nil {
  543. return m.ExpiredAt
  544. }
  545. return ""
  546. }
  547. func init() {
  548. proto.RegisterType((*DanmuConfGetAllReq)(nil), "userext.v1.DanmuConfGetAllReq")
  549. proto.RegisterType((*DanmuConfGetAllResp)(nil), "userext.v1.DanmuConfGetAllResp")
  550. proto.RegisterType((*DanmuConfGetAllResp_Data)(nil), "userext.v1.DanmuConfGetAllResp.Data")
  551. proto.RegisterType((*DanmuConfAddByTypeReq)(nil), "userext.v1.DanmuConfAddByTypeReq")
  552. proto.RegisterType((*DanmuConfAddByTypeResp)(nil), "userext.v1.DanmuConfAddByTypeResp")
  553. proto.RegisterType((*DanmuConfAddByTypeResp_Data)(nil), "userext.v1.DanmuConfAddByTypeResp.Data")
  554. proto.RegisterType((*DanmuConfGetAllPrivilegeReq)(nil), "userext.v1.DanmuConfGetAllPrivilegeReq")
  555. proto.RegisterType((*DanmuConfGetAllPrivilegeResp)(nil), "userext.v1.DanmuConfGetAllPrivilegeResp")
  556. proto.RegisterType((*DanmuConfGetAllPrivilegeResp_Data)(nil), "userext.v1.DanmuConfGetAllPrivilegeResp.Data")
  557. }
  558. func (m *DanmuConfGetAllReq) Marshal() (dAtA []byte, err error) {
  559. size := m.Size()
  560. dAtA = make([]byte, size)
  561. n, err := m.MarshalTo(dAtA)
  562. if err != nil {
  563. return nil, err
  564. }
  565. return dAtA[:n], nil
  566. }
  567. func (m *DanmuConfGetAllReq) MarshalTo(dAtA []byte) (int, error) {
  568. var i int
  569. _ = i
  570. var l int
  571. _ = l
  572. if m.Roomid != 0 {
  573. dAtA[i] = 0x8
  574. i++
  575. i = encodeVarintDanmuConf(dAtA, i, uint64(m.Roomid))
  576. }
  577. if m.Uid != 0 {
  578. dAtA[i] = 0x10
  579. i++
  580. i = encodeVarintDanmuConf(dAtA, i, uint64(m.Uid))
  581. }
  582. return i, nil
  583. }
  584. func (m *DanmuConfGetAllResp) Marshal() (dAtA []byte, err error) {
  585. size := m.Size()
  586. dAtA = make([]byte, size)
  587. n, err := m.MarshalTo(dAtA)
  588. if err != nil {
  589. return nil, err
  590. }
  591. return dAtA[:n], nil
  592. }
  593. func (m *DanmuConfGetAllResp) MarshalTo(dAtA []byte) (int, error) {
  594. var i int
  595. _ = i
  596. var l int
  597. _ = l
  598. if m.Code != 0 {
  599. dAtA[i] = 0x8
  600. i++
  601. i = encodeVarintDanmuConf(dAtA, i, uint64(m.Code))
  602. }
  603. if len(m.Msg) > 0 {
  604. dAtA[i] = 0x12
  605. i++
  606. i = encodeVarintDanmuConf(dAtA, i, uint64(len(m.Msg)))
  607. i += copy(dAtA[i:], m.Msg)
  608. }
  609. if m.Data != nil {
  610. dAtA[i] = 0x1a
  611. i++
  612. i = encodeVarintDanmuConf(dAtA, i, uint64(m.Data.Size()))
  613. n1, err := m.Data.MarshalTo(dAtA[i:])
  614. if err != nil {
  615. return 0, err
  616. }
  617. i += n1
  618. }
  619. return i, nil
  620. }
  621. func (m *DanmuConfGetAllResp_Data) Marshal() (dAtA []byte, err error) {
  622. size := m.Size()
  623. dAtA = make([]byte, size)
  624. n, err := m.MarshalTo(dAtA)
  625. if err != nil {
  626. return nil, err
  627. }
  628. return dAtA[:n], nil
  629. }
  630. func (m *DanmuConfGetAllResp_Data) MarshalTo(dAtA []byte) (int, error) {
  631. var i int
  632. _ = i
  633. var l int
  634. _ = l
  635. if m.Mode != 0 {
  636. dAtA[i] = 0x8
  637. i++
  638. i = encodeVarintDanmuConf(dAtA, i, uint64(m.Mode))
  639. }
  640. if m.Color != 0 {
  641. dAtA[i] = 0x10
  642. i++
  643. i = encodeVarintDanmuConf(dAtA, i, uint64(m.Color))
  644. }
  645. if m.Length != 0 {
  646. dAtA[i] = 0x18
  647. i++
  648. i = encodeVarintDanmuConf(dAtA, i, uint64(m.Length))
  649. }
  650. if m.Roomid != 0 {
  651. dAtA[i] = 0x20
  652. i++
  653. i = encodeVarintDanmuConf(dAtA, i, uint64(m.Roomid))
  654. }
  655. return i, nil
  656. }
  657. func (m *DanmuConfAddByTypeReq) Marshal() (dAtA []byte, err error) {
  658. size := m.Size()
  659. dAtA = make([]byte, size)
  660. n, err := m.MarshalTo(dAtA)
  661. if err != nil {
  662. return nil, err
  663. }
  664. return dAtA[:n], nil
  665. }
  666. func (m *DanmuConfAddByTypeReq) MarshalTo(dAtA []byte) (int, error) {
  667. var i int
  668. _ = i
  669. var l int
  670. _ = l
  671. if len(m.Type) > 0 {
  672. dAtA[i] = 0xa
  673. i++
  674. i = encodeVarintDanmuConf(dAtA, i, uint64(len(m.Type)))
  675. i += copy(dAtA[i:], m.Type)
  676. }
  677. if m.Uid != 0 {
  678. dAtA[i] = 0x10
  679. i++
  680. i = encodeVarintDanmuConf(dAtA, i, uint64(m.Uid))
  681. }
  682. if m.Roomid != 0 {
  683. dAtA[i] = 0x18
  684. i++
  685. i = encodeVarintDanmuConf(dAtA, i, uint64(m.Roomid))
  686. }
  687. if m.Expire != 0 {
  688. dAtA[i] = 0x20
  689. i++
  690. i = encodeVarintDanmuConf(dAtA, i, uint64(m.Expire))
  691. }
  692. if m.Value != 0 {
  693. dAtA[i] = 0x28
  694. i++
  695. i = encodeVarintDanmuConf(dAtA, i, uint64(m.Value))
  696. }
  697. return i, nil
  698. }
  699. func (m *DanmuConfAddByTypeResp) Marshal() (dAtA []byte, err error) {
  700. size := m.Size()
  701. dAtA = make([]byte, size)
  702. n, err := m.MarshalTo(dAtA)
  703. if err != nil {
  704. return nil, err
  705. }
  706. return dAtA[:n], nil
  707. }
  708. func (m *DanmuConfAddByTypeResp) MarshalTo(dAtA []byte) (int, error) {
  709. var i int
  710. _ = i
  711. var l int
  712. _ = l
  713. if m.Code != 0 {
  714. dAtA[i] = 0x8
  715. i++
  716. i = encodeVarintDanmuConf(dAtA, i, uint64(m.Code))
  717. }
  718. if len(m.Msg) > 0 {
  719. dAtA[i] = 0x12
  720. i++
  721. i = encodeVarintDanmuConf(dAtA, i, uint64(len(m.Msg)))
  722. i += copy(dAtA[i:], m.Msg)
  723. }
  724. if m.Data != nil {
  725. dAtA[i] = 0x1a
  726. i++
  727. i = encodeVarintDanmuConf(dAtA, i, uint64(m.Data.Size()))
  728. n2, err := m.Data.MarshalTo(dAtA[i:])
  729. if err != nil {
  730. return 0, err
  731. }
  732. i += n2
  733. }
  734. return i, nil
  735. }
  736. func (m *DanmuConfAddByTypeResp_Data) Marshal() (dAtA []byte, err error) {
  737. size := m.Size()
  738. dAtA = make([]byte, size)
  739. n, err := m.MarshalTo(dAtA)
  740. if err != nil {
  741. return nil, err
  742. }
  743. return dAtA[:n], nil
  744. }
  745. func (m *DanmuConfAddByTypeResp_Data) MarshalTo(dAtA []byte) (int, error) {
  746. var i int
  747. _ = i
  748. var l int
  749. _ = l
  750. if m.Result {
  751. dAtA[i] = 0x8
  752. i++
  753. if m.Result {
  754. dAtA[i] = 1
  755. } else {
  756. dAtA[i] = 0
  757. }
  758. i++
  759. }
  760. return i, nil
  761. }
  762. func (m *DanmuConfGetAllPrivilegeReq) Marshal() (dAtA []byte, err error) {
  763. size := m.Size()
  764. dAtA = make([]byte, size)
  765. n, err := m.MarshalTo(dAtA)
  766. if err != nil {
  767. return nil, err
  768. }
  769. return dAtA[:n], nil
  770. }
  771. func (m *DanmuConfGetAllPrivilegeReq) MarshalTo(dAtA []byte) (int, error) {
  772. var i int
  773. _ = i
  774. var l int
  775. _ = l
  776. if m.Uid != 0 {
  777. dAtA[i] = 0x8
  778. i++
  779. i = encodeVarintDanmuConf(dAtA, i, uint64(m.Uid))
  780. }
  781. return i, nil
  782. }
  783. func (m *DanmuConfGetAllPrivilegeResp) Marshal() (dAtA []byte, err error) {
  784. size := m.Size()
  785. dAtA = make([]byte, size)
  786. n, err := m.MarshalTo(dAtA)
  787. if err != nil {
  788. return nil, err
  789. }
  790. return dAtA[:n], nil
  791. }
  792. func (m *DanmuConfGetAllPrivilegeResp) MarshalTo(dAtA []byte) (int, error) {
  793. var i int
  794. _ = i
  795. var l int
  796. _ = l
  797. if m.Code != 0 {
  798. dAtA[i] = 0x8
  799. i++
  800. i = encodeVarintDanmuConf(dAtA, i, uint64(m.Code))
  801. }
  802. if len(m.Msg) > 0 {
  803. dAtA[i] = 0x12
  804. i++
  805. i = encodeVarintDanmuConf(dAtA, i, uint64(len(m.Msg)))
  806. i += copy(dAtA[i:], m.Msg)
  807. }
  808. if len(m.Message) > 0 {
  809. dAtA[i] = 0x1a
  810. i++
  811. i = encodeVarintDanmuConf(dAtA, i, uint64(len(m.Message)))
  812. i += copy(dAtA[i:], m.Message)
  813. }
  814. if len(m.Data) > 0 {
  815. for _, msg := range m.Data {
  816. dAtA[i] = 0x22
  817. i++
  818. i = encodeVarintDanmuConf(dAtA, i, uint64(msg.Size()))
  819. n, err := msg.MarshalTo(dAtA[i:])
  820. if err != nil {
  821. return 0, err
  822. }
  823. i += n
  824. }
  825. }
  826. return i, nil
  827. }
  828. func (m *DanmuConfGetAllPrivilegeResp_Data) Marshal() (dAtA []byte, err error) {
  829. size := m.Size()
  830. dAtA = make([]byte, size)
  831. n, err := m.MarshalTo(dAtA)
  832. if err != nil {
  833. return nil, err
  834. }
  835. return dAtA[:n], nil
  836. }
  837. func (m *DanmuConfGetAllPrivilegeResp_Data) MarshalTo(dAtA []byte) (int, error) {
  838. var i int
  839. _ = i
  840. var l int
  841. _ = l
  842. if len(m.Uid) > 0 {
  843. dAtA[i] = 0xa
  844. i++
  845. i = encodeVarintDanmuConf(dAtA, i, uint64(len(m.Uid)))
  846. i += copy(dAtA[i:], m.Uid)
  847. }
  848. if len(m.Roomid) > 0 {
  849. dAtA[i] = 0x12
  850. i++
  851. i = encodeVarintDanmuConf(dAtA, i, uint64(len(m.Roomid)))
  852. i += copy(dAtA[i:], m.Roomid)
  853. }
  854. if len(m.Type) > 0 {
  855. dAtA[i] = 0x1a
  856. i++
  857. i = encodeVarintDanmuConf(dAtA, i, uint64(len(m.Type)))
  858. i += copy(dAtA[i:], m.Type)
  859. }
  860. if len(m.Value) > 0 {
  861. dAtA[i] = 0x22
  862. i++
  863. i = encodeVarintDanmuConf(dAtA, i, uint64(len(m.Value)))
  864. i += copy(dAtA[i:], m.Value)
  865. }
  866. if len(m.Status) > 0 {
  867. dAtA[i] = 0x2a
  868. i++
  869. i = encodeVarintDanmuConf(dAtA, i, uint64(len(m.Status)))
  870. i += copy(dAtA[i:], m.Status)
  871. }
  872. if len(m.ExpiredAt) > 0 {
  873. dAtA[i] = 0x32
  874. i++
  875. i = encodeVarintDanmuConf(dAtA, i, uint64(len(m.ExpiredAt)))
  876. i += copy(dAtA[i:], m.ExpiredAt)
  877. }
  878. return i, nil
  879. }
  880. func encodeVarintDanmuConf(dAtA []byte, offset int, v uint64) int {
  881. for v >= 1<<7 {
  882. dAtA[offset] = uint8(v&0x7f | 0x80)
  883. v >>= 7
  884. offset++
  885. }
  886. dAtA[offset] = uint8(v)
  887. return offset + 1
  888. }
  889. func (m *DanmuConfGetAllReq) Size() (n int) {
  890. if m == nil {
  891. return 0
  892. }
  893. var l int
  894. _ = l
  895. if m.Roomid != 0 {
  896. n += 1 + sovDanmuConf(uint64(m.Roomid))
  897. }
  898. if m.Uid != 0 {
  899. n += 1 + sovDanmuConf(uint64(m.Uid))
  900. }
  901. return n
  902. }
  903. func (m *DanmuConfGetAllResp) Size() (n int) {
  904. if m == nil {
  905. return 0
  906. }
  907. var l int
  908. _ = l
  909. if m.Code != 0 {
  910. n += 1 + sovDanmuConf(uint64(m.Code))
  911. }
  912. l = len(m.Msg)
  913. if l > 0 {
  914. n += 1 + l + sovDanmuConf(uint64(l))
  915. }
  916. if m.Data != nil {
  917. l = m.Data.Size()
  918. n += 1 + l + sovDanmuConf(uint64(l))
  919. }
  920. return n
  921. }
  922. func (m *DanmuConfGetAllResp_Data) Size() (n int) {
  923. if m == nil {
  924. return 0
  925. }
  926. var l int
  927. _ = l
  928. if m.Mode != 0 {
  929. n += 1 + sovDanmuConf(uint64(m.Mode))
  930. }
  931. if m.Color != 0 {
  932. n += 1 + sovDanmuConf(uint64(m.Color))
  933. }
  934. if m.Length != 0 {
  935. n += 1 + sovDanmuConf(uint64(m.Length))
  936. }
  937. if m.Roomid != 0 {
  938. n += 1 + sovDanmuConf(uint64(m.Roomid))
  939. }
  940. return n
  941. }
  942. func (m *DanmuConfAddByTypeReq) Size() (n int) {
  943. if m == nil {
  944. return 0
  945. }
  946. var l int
  947. _ = l
  948. l = len(m.Type)
  949. if l > 0 {
  950. n += 1 + l + sovDanmuConf(uint64(l))
  951. }
  952. if m.Uid != 0 {
  953. n += 1 + sovDanmuConf(uint64(m.Uid))
  954. }
  955. if m.Roomid != 0 {
  956. n += 1 + sovDanmuConf(uint64(m.Roomid))
  957. }
  958. if m.Expire != 0 {
  959. n += 1 + sovDanmuConf(uint64(m.Expire))
  960. }
  961. if m.Value != 0 {
  962. n += 1 + sovDanmuConf(uint64(m.Value))
  963. }
  964. return n
  965. }
  966. func (m *DanmuConfAddByTypeResp) Size() (n int) {
  967. if m == nil {
  968. return 0
  969. }
  970. var l int
  971. _ = l
  972. if m.Code != 0 {
  973. n += 1 + sovDanmuConf(uint64(m.Code))
  974. }
  975. l = len(m.Msg)
  976. if l > 0 {
  977. n += 1 + l + sovDanmuConf(uint64(l))
  978. }
  979. if m.Data != nil {
  980. l = m.Data.Size()
  981. n += 1 + l + sovDanmuConf(uint64(l))
  982. }
  983. return n
  984. }
  985. func (m *DanmuConfAddByTypeResp_Data) Size() (n int) {
  986. if m == nil {
  987. return 0
  988. }
  989. var l int
  990. _ = l
  991. if m.Result {
  992. n += 2
  993. }
  994. return n
  995. }
  996. func (m *DanmuConfGetAllPrivilegeReq) Size() (n int) {
  997. if m == nil {
  998. return 0
  999. }
  1000. var l int
  1001. _ = l
  1002. if m.Uid != 0 {
  1003. n += 1 + sovDanmuConf(uint64(m.Uid))
  1004. }
  1005. return n
  1006. }
  1007. func (m *DanmuConfGetAllPrivilegeResp) Size() (n int) {
  1008. if m == nil {
  1009. return 0
  1010. }
  1011. var l int
  1012. _ = l
  1013. if m.Code != 0 {
  1014. n += 1 + sovDanmuConf(uint64(m.Code))
  1015. }
  1016. l = len(m.Msg)
  1017. if l > 0 {
  1018. n += 1 + l + sovDanmuConf(uint64(l))
  1019. }
  1020. l = len(m.Message)
  1021. if l > 0 {
  1022. n += 1 + l + sovDanmuConf(uint64(l))
  1023. }
  1024. if len(m.Data) > 0 {
  1025. for _, e := range m.Data {
  1026. l = e.Size()
  1027. n += 1 + l + sovDanmuConf(uint64(l))
  1028. }
  1029. }
  1030. return n
  1031. }
  1032. func (m *DanmuConfGetAllPrivilegeResp_Data) Size() (n int) {
  1033. if m == nil {
  1034. return 0
  1035. }
  1036. var l int
  1037. _ = l
  1038. l = len(m.Uid)
  1039. if l > 0 {
  1040. n += 1 + l + sovDanmuConf(uint64(l))
  1041. }
  1042. l = len(m.Roomid)
  1043. if l > 0 {
  1044. n += 1 + l + sovDanmuConf(uint64(l))
  1045. }
  1046. l = len(m.Type)
  1047. if l > 0 {
  1048. n += 1 + l + sovDanmuConf(uint64(l))
  1049. }
  1050. l = len(m.Value)
  1051. if l > 0 {
  1052. n += 1 + l + sovDanmuConf(uint64(l))
  1053. }
  1054. l = len(m.Status)
  1055. if l > 0 {
  1056. n += 1 + l + sovDanmuConf(uint64(l))
  1057. }
  1058. l = len(m.ExpiredAt)
  1059. if l > 0 {
  1060. n += 1 + l + sovDanmuConf(uint64(l))
  1061. }
  1062. return n
  1063. }
  1064. func sovDanmuConf(x uint64) (n int) {
  1065. for {
  1066. n++
  1067. x >>= 7
  1068. if x == 0 {
  1069. break
  1070. }
  1071. }
  1072. return n
  1073. }
  1074. func sozDanmuConf(x uint64) (n int) {
  1075. return sovDanmuConf(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1076. }
  1077. func (m *DanmuConfGetAllReq) Unmarshal(dAtA []byte) error {
  1078. l := len(dAtA)
  1079. iNdEx := 0
  1080. for iNdEx < l {
  1081. preIndex := iNdEx
  1082. var wire uint64
  1083. for shift := uint(0); ; shift += 7 {
  1084. if shift >= 64 {
  1085. return ErrIntOverflowDanmuConf
  1086. }
  1087. if iNdEx >= l {
  1088. return io.ErrUnexpectedEOF
  1089. }
  1090. b := dAtA[iNdEx]
  1091. iNdEx++
  1092. wire |= (uint64(b) & 0x7F) << shift
  1093. if b < 0x80 {
  1094. break
  1095. }
  1096. }
  1097. fieldNum := int32(wire >> 3)
  1098. wireType := int(wire & 0x7)
  1099. if wireType == 4 {
  1100. return fmt.Errorf("proto: DanmuConfGetAllReq: wiretype end group for non-group")
  1101. }
  1102. if fieldNum <= 0 {
  1103. return fmt.Errorf("proto: DanmuConfGetAllReq: illegal tag %d (wire type %d)", fieldNum, wire)
  1104. }
  1105. switch fieldNum {
  1106. case 1:
  1107. if wireType != 0 {
  1108. return fmt.Errorf("proto: wrong wireType = %d for field Roomid", wireType)
  1109. }
  1110. m.Roomid = 0
  1111. for shift := uint(0); ; shift += 7 {
  1112. if shift >= 64 {
  1113. return ErrIntOverflowDanmuConf
  1114. }
  1115. if iNdEx >= l {
  1116. return io.ErrUnexpectedEOF
  1117. }
  1118. b := dAtA[iNdEx]
  1119. iNdEx++
  1120. m.Roomid |= (int64(b) & 0x7F) << shift
  1121. if b < 0x80 {
  1122. break
  1123. }
  1124. }
  1125. case 2:
  1126. if wireType != 0 {
  1127. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  1128. }
  1129. m.Uid = 0
  1130. for shift := uint(0); ; shift += 7 {
  1131. if shift >= 64 {
  1132. return ErrIntOverflowDanmuConf
  1133. }
  1134. if iNdEx >= l {
  1135. return io.ErrUnexpectedEOF
  1136. }
  1137. b := dAtA[iNdEx]
  1138. iNdEx++
  1139. m.Uid |= (int64(b) & 0x7F) << shift
  1140. if b < 0x80 {
  1141. break
  1142. }
  1143. }
  1144. default:
  1145. iNdEx = preIndex
  1146. skippy, err := skipDanmuConf(dAtA[iNdEx:])
  1147. if err != nil {
  1148. return err
  1149. }
  1150. if skippy < 0 {
  1151. return ErrInvalidLengthDanmuConf
  1152. }
  1153. if (iNdEx + skippy) > l {
  1154. return io.ErrUnexpectedEOF
  1155. }
  1156. iNdEx += skippy
  1157. }
  1158. }
  1159. if iNdEx > l {
  1160. return io.ErrUnexpectedEOF
  1161. }
  1162. return nil
  1163. }
  1164. func (m *DanmuConfGetAllResp) Unmarshal(dAtA []byte) error {
  1165. l := len(dAtA)
  1166. iNdEx := 0
  1167. for iNdEx < l {
  1168. preIndex := iNdEx
  1169. var wire uint64
  1170. for shift := uint(0); ; shift += 7 {
  1171. if shift >= 64 {
  1172. return ErrIntOverflowDanmuConf
  1173. }
  1174. if iNdEx >= l {
  1175. return io.ErrUnexpectedEOF
  1176. }
  1177. b := dAtA[iNdEx]
  1178. iNdEx++
  1179. wire |= (uint64(b) & 0x7F) << shift
  1180. if b < 0x80 {
  1181. break
  1182. }
  1183. }
  1184. fieldNum := int32(wire >> 3)
  1185. wireType := int(wire & 0x7)
  1186. if wireType == 4 {
  1187. return fmt.Errorf("proto: DanmuConfGetAllResp: wiretype end group for non-group")
  1188. }
  1189. if fieldNum <= 0 {
  1190. return fmt.Errorf("proto: DanmuConfGetAllResp: illegal tag %d (wire type %d)", fieldNum, wire)
  1191. }
  1192. switch fieldNum {
  1193. case 1:
  1194. if wireType != 0 {
  1195. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  1196. }
  1197. m.Code = 0
  1198. for shift := uint(0); ; shift += 7 {
  1199. if shift >= 64 {
  1200. return ErrIntOverflowDanmuConf
  1201. }
  1202. if iNdEx >= l {
  1203. return io.ErrUnexpectedEOF
  1204. }
  1205. b := dAtA[iNdEx]
  1206. iNdEx++
  1207. m.Code |= (int64(b) & 0x7F) << shift
  1208. if b < 0x80 {
  1209. break
  1210. }
  1211. }
  1212. case 2:
  1213. if wireType != 2 {
  1214. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  1215. }
  1216. var stringLen uint64
  1217. for shift := uint(0); ; shift += 7 {
  1218. if shift >= 64 {
  1219. return ErrIntOverflowDanmuConf
  1220. }
  1221. if iNdEx >= l {
  1222. return io.ErrUnexpectedEOF
  1223. }
  1224. b := dAtA[iNdEx]
  1225. iNdEx++
  1226. stringLen |= (uint64(b) & 0x7F) << shift
  1227. if b < 0x80 {
  1228. break
  1229. }
  1230. }
  1231. intStringLen := int(stringLen)
  1232. if intStringLen < 0 {
  1233. return ErrInvalidLengthDanmuConf
  1234. }
  1235. postIndex := iNdEx + intStringLen
  1236. if postIndex > l {
  1237. return io.ErrUnexpectedEOF
  1238. }
  1239. m.Msg = string(dAtA[iNdEx:postIndex])
  1240. iNdEx = postIndex
  1241. case 3:
  1242. if wireType != 2 {
  1243. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  1244. }
  1245. var msglen int
  1246. for shift := uint(0); ; shift += 7 {
  1247. if shift >= 64 {
  1248. return ErrIntOverflowDanmuConf
  1249. }
  1250. if iNdEx >= l {
  1251. return io.ErrUnexpectedEOF
  1252. }
  1253. b := dAtA[iNdEx]
  1254. iNdEx++
  1255. msglen |= (int(b) & 0x7F) << shift
  1256. if b < 0x80 {
  1257. break
  1258. }
  1259. }
  1260. if msglen < 0 {
  1261. return ErrInvalidLengthDanmuConf
  1262. }
  1263. postIndex := iNdEx + msglen
  1264. if postIndex > l {
  1265. return io.ErrUnexpectedEOF
  1266. }
  1267. if m.Data == nil {
  1268. m.Data = &DanmuConfGetAllResp_Data{}
  1269. }
  1270. if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1271. return err
  1272. }
  1273. iNdEx = postIndex
  1274. default:
  1275. iNdEx = preIndex
  1276. skippy, err := skipDanmuConf(dAtA[iNdEx:])
  1277. if err != nil {
  1278. return err
  1279. }
  1280. if skippy < 0 {
  1281. return ErrInvalidLengthDanmuConf
  1282. }
  1283. if (iNdEx + skippy) > l {
  1284. return io.ErrUnexpectedEOF
  1285. }
  1286. iNdEx += skippy
  1287. }
  1288. }
  1289. if iNdEx > l {
  1290. return io.ErrUnexpectedEOF
  1291. }
  1292. return nil
  1293. }
  1294. func (m *DanmuConfGetAllResp_Data) Unmarshal(dAtA []byte) error {
  1295. l := len(dAtA)
  1296. iNdEx := 0
  1297. for iNdEx < l {
  1298. preIndex := iNdEx
  1299. var wire uint64
  1300. for shift := uint(0); ; shift += 7 {
  1301. if shift >= 64 {
  1302. return ErrIntOverflowDanmuConf
  1303. }
  1304. if iNdEx >= l {
  1305. return io.ErrUnexpectedEOF
  1306. }
  1307. b := dAtA[iNdEx]
  1308. iNdEx++
  1309. wire |= (uint64(b) & 0x7F) << shift
  1310. if b < 0x80 {
  1311. break
  1312. }
  1313. }
  1314. fieldNum := int32(wire >> 3)
  1315. wireType := int(wire & 0x7)
  1316. if wireType == 4 {
  1317. return fmt.Errorf("proto: Data: wiretype end group for non-group")
  1318. }
  1319. if fieldNum <= 0 {
  1320. return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire)
  1321. }
  1322. switch fieldNum {
  1323. case 1:
  1324. if wireType != 0 {
  1325. return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType)
  1326. }
  1327. m.Mode = 0
  1328. for shift := uint(0); ; shift += 7 {
  1329. if shift >= 64 {
  1330. return ErrIntOverflowDanmuConf
  1331. }
  1332. if iNdEx >= l {
  1333. return io.ErrUnexpectedEOF
  1334. }
  1335. b := dAtA[iNdEx]
  1336. iNdEx++
  1337. m.Mode |= (int64(b) & 0x7F) << shift
  1338. if b < 0x80 {
  1339. break
  1340. }
  1341. }
  1342. case 2:
  1343. if wireType != 0 {
  1344. return fmt.Errorf("proto: wrong wireType = %d for field Color", wireType)
  1345. }
  1346. m.Color = 0
  1347. for shift := uint(0); ; shift += 7 {
  1348. if shift >= 64 {
  1349. return ErrIntOverflowDanmuConf
  1350. }
  1351. if iNdEx >= l {
  1352. return io.ErrUnexpectedEOF
  1353. }
  1354. b := dAtA[iNdEx]
  1355. iNdEx++
  1356. m.Color |= (int64(b) & 0x7F) << shift
  1357. if b < 0x80 {
  1358. break
  1359. }
  1360. }
  1361. case 3:
  1362. if wireType != 0 {
  1363. return fmt.Errorf("proto: wrong wireType = %d for field Length", wireType)
  1364. }
  1365. m.Length = 0
  1366. for shift := uint(0); ; shift += 7 {
  1367. if shift >= 64 {
  1368. return ErrIntOverflowDanmuConf
  1369. }
  1370. if iNdEx >= l {
  1371. return io.ErrUnexpectedEOF
  1372. }
  1373. b := dAtA[iNdEx]
  1374. iNdEx++
  1375. m.Length |= (int64(b) & 0x7F) << shift
  1376. if b < 0x80 {
  1377. break
  1378. }
  1379. }
  1380. case 4:
  1381. if wireType != 0 {
  1382. return fmt.Errorf("proto: wrong wireType = %d for field Roomid", wireType)
  1383. }
  1384. m.Roomid = 0
  1385. for shift := uint(0); ; shift += 7 {
  1386. if shift >= 64 {
  1387. return ErrIntOverflowDanmuConf
  1388. }
  1389. if iNdEx >= l {
  1390. return io.ErrUnexpectedEOF
  1391. }
  1392. b := dAtA[iNdEx]
  1393. iNdEx++
  1394. m.Roomid |= (int64(b) & 0x7F) << shift
  1395. if b < 0x80 {
  1396. break
  1397. }
  1398. }
  1399. default:
  1400. iNdEx = preIndex
  1401. skippy, err := skipDanmuConf(dAtA[iNdEx:])
  1402. if err != nil {
  1403. return err
  1404. }
  1405. if skippy < 0 {
  1406. return ErrInvalidLengthDanmuConf
  1407. }
  1408. if (iNdEx + skippy) > l {
  1409. return io.ErrUnexpectedEOF
  1410. }
  1411. iNdEx += skippy
  1412. }
  1413. }
  1414. if iNdEx > l {
  1415. return io.ErrUnexpectedEOF
  1416. }
  1417. return nil
  1418. }
  1419. func (m *DanmuConfAddByTypeReq) 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 ErrIntOverflowDanmuConf
  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: DanmuConfAddByTypeReq: wiretype end group for non-group")
  1443. }
  1444. if fieldNum <= 0 {
  1445. return fmt.Errorf("proto: DanmuConfAddByTypeReq: 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 Type", wireType)
  1451. }
  1452. var stringLen uint64
  1453. for shift := uint(0); ; shift += 7 {
  1454. if shift >= 64 {
  1455. return ErrIntOverflowDanmuConf
  1456. }
  1457. if iNdEx >= l {
  1458. return io.ErrUnexpectedEOF
  1459. }
  1460. b := dAtA[iNdEx]
  1461. iNdEx++
  1462. stringLen |= (uint64(b) & 0x7F) << shift
  1463. if b < 0x80 {
  1464. break
  1465. }
  1466. }
  1467. intStringLen := int(stringLen)
  1468. if intStringLen < 0 {
  1469. return ErrInvalidLengthDanmuConf
  1470. }
  1471. postIndex := iNdEx + intStringLen
  1472. if postIndex > l {
  1473. return io.ErrUnexpectedEOF
  1474. }
  1475. m.Type = string(dAtA[iNdEx:postIndex])
  1476. iNdEx = postIndex
  1477. case 2:
  1478. if wireType != 0 {
  1479. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  1480. }
  1481. m.Uid = 0
  1482. for shift := uint(0); ; shift += 7 {
  1483. if shift >= 64 {
  1484. return ErrIntOverflowDanmuConf
  1485. }
  1486. if iNdEx >= l {
  1487. return io.ErrUnexpectedEOF
  1488. }
  1489. b := dAtA[iNdEx]
  1490. iNdEx++
  1491. m.Uid |= (int64(b) & 0x7F) << shift
  1492. if b < 0x80 {
  1493. break
  1494. }
  1495. }
  1496. case 3:
  1497. if wireType != 0 {
  1498. return fmt.Errorf("proto: wrong wireType = %d for field Roomid", wireType)
  1499. }
  1500. m.Roomid = 0
  1501. for shift := uint(0); ; shift += 7 {
  1502. if shift >= 64 {
  1503. return ErrIntOverflowDanmuConf
  1504. }
  1505. if iNdEx >= l {
  1506. return io.ErrUnexpectedEOF
  1507. }
  1508. b := dAtA[iNdEx]
  1509. iNdEx++
  1510. m.Roomid |= (int64(b) & 0x7F) << shift
  1511. if b < 0x80 {
  1512. break
  1513. }
  1514. }
  1515. case 4:
  1516. if wireType != 0 {
  1517. return fmt.Errorf("proto: wrong wireType = %d for field Expire", wireType)
  1518. }
  1519. m.Expire = 0
  1520. for shift := uint(0); ; shift += 7 {
  1521. if shift >= 64 {
  1522. return ErrIntOverflowDanmuConf
  1523. }
  1524. if iNdEx >= l {
  1525. return io.ErrUnexpectedEOF
  1526. }
  1527. b := dAtA[iNdEx]
  1528. iNdEx++
  1529. m.Expire |= (int64(b) & 0x7F) << shift
  1530. if b < 0x80 {
  1531. break
  1532. }
  1533. }
  1534. case 5:
  1535. if wireType != 0 {
  1536. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  1537. }
  1538. m.Value = 0
  1539. for shift := uint(0); ; shift += 7 {
  1540. if shift >= 64 {
  1541. return ErrIntOverflowDanmuConf
  1542. }
  1543. if iNdEx >= l {
  1544. return io.ErrUnexpectedEOF
  1545. }
  1546. b := dAtA[iNdEx]
  1547. iNdEx++
  1548. m.Value |= (int64(b) & 0x7F) << shift
  1549. if b < 0x80 {
  1550. break
  1551. }
  1552. }
  1553. default:
  1554. iNdEx = preIndex
  1555. skippy, err := skipDanmuConf(dAtA[iNdEx:])
  1556. if err != nil {
  1557. return err
  1558. }
  1559. if skippy < 0 {
  1560. return ErrInvalidLengthDanmuConf
  1561. }
  1562. if (iNdEx + skippy) > l {
  1563. return io.ErrUnexpectedEOF
  1564. }
  1565. iNdEx += skippy
  1566. }
  1567. }
  1568. if iNdEx > l {
  1569. return io.ErrUnexpectedEOF
  1570. }
  1571. return nil
  1572. }
  1573. func (m *DanmuConfAddByTypeResp) Unmarshal(dAtA []byte) error {
  1574. l := len(dAtA)
  1575. iNdEx := 0
  1576. for iNdEx < l {
  1577. preIndex := iNdEx
  1578. var wire uint64
  1579. for shift := uint(0); ; shift += 7 {
  1580. if shift >= 64 {
  1581. return ErrIntOverflowDanmuConf
  1582. }
  1583. if iNdEx >= l {
  1584. return io.ErrUnexpectedEOF
  1585. }
  1586. b := dAtA[iNdEx]
  1587. iNdEx++
  1588. wire |= (uint64(b) & 0x7F) << shift
  1589. if b < 0x80 {
  1590. break
  1591. }
  1592. }
  1593. fieldNum := int32(wire >> 3)
  1594. wireType := int(wire & 0x7)
  1595. if wireType == 4 {
  1596. return fmt.Errorf("proto: DanmuConfAddByTypeResp: wiretype end group for non-group")
  1597. }
  1598. if fieldNum <= 0 {
  1599. return fmt.Errorf("proto: DanmuConfAddByTypeResp: illegal tag %d (wire type %d)", fieldNum, wire)
  1600. }
  1601. switch fieldNum {
  1602. case 1:
  1603. if wireType != 0 {
  1604. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  1605. }
  1606. m.Code = 0
  1607. for shift := uint(0); ; shift += 7 {
  1608. if shift >= 64 {
  1609. return ErrIntOverflowDanmuConf
  1610. }
  1611. if iNdEx >= l {
  1612. return io.ErrUnexpectedEOF
  1613. }
  1614. b := dAtA[iNdEx]
  1615. iNdEx++
  1616. m.Code |= (int64(b) & 0x7F) << shift
  1617. if b < 0x80 {
  1618. break
  1619. }
  1620. }
  1621. case 2:
  1622. if wireType != 2 {
  1623. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  1624. }
  1625. var stringLen uint64
  1626. for shift := uint(0); ; shift += 7 {
  1627. if shift >= 64 {
  1628. return ErrIntOverflowDanmuConf
  1629. }
  1630. if iNdEx >= l {
  1631. return io.ErrUnexpectedEOF
  1632. }
  1633. b := dAtA[iNdEx]
  1634. iNdEx++
  1635. stringLen |= (uint64(b) & 0x7F) << shift
  1636. if b < 0x80 {
  1637. break
  1638. }
  1639. }
  1640. intStringLen := int(stringLen)
  1641. if intStringLen < 0 {
  1642. return ErrInvalidLengthDanmuConf
  1643. }
  1644. postIndex := iNdEx + intStringLen
  1645. if postIndex > l {
  1646. return io.ErrUnexpectedEOF
  1647. }
  1648. m.Msg = string(dAtA[iNdEx:postIndex])
  1649. iNdEx = postIndex
  1650. case 3:
  1651. if wireType != 2 {
  1652. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  1653. }
  1654. var msglen int
  1655. for shift := uint(0); ; shift += 7 {
  1656. if shift >= 64 {
  1657. return ErrIntOverflowDanmuConf
  1658. }
  1659. if iNdEx >= l {
  1660. return io.ErrUnexpectedEOF
  1661. }
  1662. b := dAtA[iNdEx]
  1663. iNdEx++
  1664. msglen |= (int(b) & 0x7F) << shift
  1665. if b < 0x80 {
  1666. break
  1667. }
  1668. }
  1669. if msglen < 0 {
  1670. return ErrInvalidLengthDanmuConf
  1671. }
  1672. postIndex := iNdEx + msglen
  1673. if postIndex > l {
  1674. return io.ErrUnexpectedEOF
  1675. }
  1676. if m.Data == nil {
  1677. m.Data = &DanmuConfAddByTypeResp_Data{}
  1678. }
  1679. if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1680. return err
  1681. }
  1682. iNdEx = postIndex
  1683. default:
  1684. iNdEx = preIndex
  1685. skippy, err := skipDanmuConf(dAtA[iNdEx:])
  1686. if err != nil {
  1687. return err
  1688. }
  1689. if skippy < 0 {
  1690. return ErrInvalidLengthDanmuConf
  1691. }
  1692. if (iNdEx + skippy) > l {
  1693. return io.ErrUnexpectedEOF
  1694. }
  1695. iNdEx += skippy
  1696. }
  1697. }
  1698. if iNdEx > l {
  1699. return io.ErrUnexpectedEOF
  1700. }
  1701. return nil
  1702. }
  1703. func (m *DanmuConfAddByTypeResp_Data) Unmarshal(dAtA []byte) error {
  1704. l := len(dAtA)
  1705. iNdEx := 0
  1706. for iNdEx < l {
  1707. preIndex := iNdEx
  1708. var wire uint64
  1709. for shift := uint(0); ; shift += 7 {
  1710. if shift >= 64 {
  1711. return ErrIntOverflowDanmuConf
  1712. }
  1713. if iNdEx >= l {
  1714. return io.ErrUnexpectedEOF
  1715. }
  1716. b := dAtA[iNdEx]
  1717. iNdEx++
  1718. wire |= (uint64(b) & 0x7F) << shift
  1719. if b < 0x80 {
  1720. break
  1721. }
  1722. }
  1723. fieldNum := int32(wire >> 3)
  1724. wireType := int(wire & 0x7)
  1725. if wireType == 4 {
  1726. return fmt.Errorf("proto: Data: wiretype end group for non-group")
  1727. }
  1728. if fieldNum <= 0 {
  1729. return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire)
  1730. }
  1731. switch fieldNum {
  1732. case 1:
  1733. if wireType != 0 {
  1734. return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
  1735. }
  1736. var v int
  1737. for shift := uint(0); ; shift += 7 {
  1738. if shift >= 64 {
  1739. return ErrIntOverflowDanmuConf
  1740. }
  1741. if iNdEx >= l {
  1742. return io.ErrUnexpectedEOF
  1743. }
  1744. b := dAtA[iNdEx]
  1745. iNdEx++
  1746. v |= (int(b) & 0x7F) << shift
  1747. if b < 0x80 {
  1748. break
  1749. }
  1750. }
  1751. m.Result = bool(v != 0)
  1752. default:
  1753. iNdEx = preIndex
  1754. skippy, err := skipDanmuConf(dAtA[iNdEx:])
  1755. if err != nil {
  1756. return err
  1757. }
  1758. if skippy < 0 {
  1759. return ErrInvalidLengthDanmuConf
  1760. }
  1761. if (iNdEx + skippy) > l {
  1762. return io.ErrUnexpectedEOF
  1763. }
  1764. iNdEx += skippy
  1765. }
  1766. }
  1767. if iNdEx > l {
  1768. return io.ErrUnexpectedEOF
  1769. }
  1770. return nil
  1771. }
  1772. func (m *DanmuConfGetAllPrivilegeReq) Unmarshal(dAtA []byte) error {
  1773. l := len(dAtA)
  1774. iNdEx := 0
  1775. for iNdEx < l {
  1776. preIndex := iNdEx
  1777. var wire uint64
  1778. for shift := uint(0); ; shift += 7 {
  1779. if shift >= 64 {
  1780. return ErrIntOverflowDanmuConf
  1781. }
  1782. if iNdEx >= l {
  1783. return io.ErrUnexpectedEOF
  1784. }
  1785. b := dAtA[iNdEx]
  1786. iNdEx++
  1787. wire |= (uint64(b) & 0x7F) << shift
  1788. if b < 0x80 {
  1789. break
  1790. }
  1791. }
  1792. fieldNum := int32(wire >> 3)
  1793. wireType := int(wire & 0x7)
  1794. if wireType == 4 {
  1795. return fmt.Errorf("proto: DanmuConfGetAllPrivilegeReq: wiretype end group for non-group")
  1796. }
  1797. if fieldNum <= 0 {
  1798. return fmt.Errorf("proto: DanmuConfGetAllPrivilegeReq: illegal tag %d (wire type %d)", fieldNum, wire)
  1799. }
  1800. switch fieldNum {
  1801. case 1:
  1802. if wireType != 0 {
  1803. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  1804. }
  1805. m.Uid = 0
  1806. for shift := uint(0); ; shift += 7 {
  1807. if shift >= 64 {
  1808. return ErrIntOverflowDanmuConf
  1809. }
  1810. if iNdEx >= l {
  1811. return io.ErrUnexpectedEOF
  1812. }
  1813. b := dAtA[iNdEx]
  1814. iNdEx++
  1815. m.Uid |= (int64(b) & 0x7F) << shift
  1816. if b < 0x80 {
  1817. break
  1818. }
  1819. }
  1820. default:
  1821. iNdEx = preIndex
  1822. skippy, err := skipDanmuConf(dAtA[iNdEx:])
  1823. if err != nil {
  1824. return err
  1825. }
  1826. if skippy < 0 {
  1827. return ErrInvalidLengthDanmuConf
  1828. }
  1829. if (iNdEx + skippy) > l {
  1830. return io.ErrUnexpectedEOF
  1831. }
  1832. iNdEx += skippy
  1833. }
  1834. }
  1835. if iNdEx > l {
  1836. return io.ErrUnexpectedEOF
  1837. }
  1838. return nil
  1839. }
  1840. func (m *DanmuConfGetAllPrivilegeResp) Unmarshal(dAtA []byte) error {
  1841. l := len(dAtA)
  1842. iNdEx := 0
  1843. for iNdEx < l {
  1844. preIndex := iNdEx
  1845. var wire uint64
  1846. for shift := uint(0); ; shift += 7 {
  1847. if shift >= 64 {
  1848. return ErrIntOverflowDanmuConf
  1849. }
  1850. if iNdEx >= l {
  1851. return io.ErrUnexpectedEOF
  1852. }
  1853. b := dAtA[iNdEx]
  1854. iNdEx++
  1855. wire |= (uint64(b) & 0x7F) << shift
  1856. if b < 0x80 {
  1857. break
  1858. }
  1859. }
  1860. fieldNum := int32(wire >> 3)
  1861. wireType := int(wire & 0x7)
  1862. if wireType == 4 {
  1863. return fmt.Errorf("proto: DanmuConfGetAllPrivilegeResp: wiretype end group for non-group")
  1864. }
  1865. if fieldNum <= 0 {
  1866. return fmt.Errorf("proto: DanmuConfGetAllPrivilegeResp: illegal tag %d (wire type %d)", fieldNum, wire)
  1867. }
  1868. switch fieldNum {
  1869. case 1:
  1870. if wireType != 0 {
  1871. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  1872. }
  1873. m.Code = 0
  1874. for shift := uint(0); ; shift += 7 {
  1875. if shift >= 64 {
  1876. return ErrIntOverflowDanmuConf
  1877. }
  1878. if iNdEx >= l {
  1879. return io.ErrUnexpectedEOF
  1880. }
  1881. b := dAtA[iNdEx]
  1882. iNdEx++
  1883. m.Code |= (int64(b) & 0x7F) << shift
  1884. if b < 0x80 {
  1885. break
  1886. }
  1887. }
  1888. case 2:
  1889. if wireType != 2 {
  1890. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  1891. }
  1892. var stringLen uint64
  1893. for shift := uint(0); ; shift += 7 {
  1894. if shift >= 64 {
  1895. return ErrIntOverflowDanmuConf
  1896. }
  1897. if iNdEx >= l {
  1898. return io.ErrUnexpectedEOF
  1899. }
  1900. b := dAtA[iNdEx]
  1901. iNdEx++
  1902. stringLen |= (uint64(b) & 0x7F) << shift
  1903. if b < 0x80 {
  1904. break
  1905. }
  1906. }
  1907. intStringLen := int(stringLen)
  1908. if intStringLen < 0 {
  1909. return ErrInvalidLengthDanmuConf
  1910. }
  1911. postIndex := iNdEx + intStringLen
  1912. if postIndex > l {
  1913. return io.ErrUnexpectedEOF
  1914. }
  1915. m.Msg = string(dAtA[iNdEx:postIndex])
  1916. iNdEx = postIndex
  1917. case 3:
  1918. if wireType != 2 {
  1919. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  1920. }
  1921. var stringLen uint64
  1922. for shift := uint(0); ; shift += 7 {
  1923. if shift >= 64 {
  1924. return ErrIntOverflowDanmuConf
  1925. }
  1926. if iNdEx >= l {
  1927. return io.ErrUnexpectedEOF
  1928. }
  1929. b := dAtA[iNdEx]
  1930. iNdEx++
  1931. stringLen |= (uint64(b) & 0x7F) << shift
  1932. if b < 0x80 {
  1933. break
  1934. }
  1935. }
  1936. intStringLen := int(stringLen)
  1937. if intStringLen < 0 {
  1938. return ErrInvalidLengthDanmuConf
  1939. }
  1940. postIndex := iNdEx + intStringLen
  1941. if postIndex > l {
  1942. return io.ErrUnexpectedEOF
  1943. }
  1944. m.Message = string(dAtA[iNdEx:postIndex])
  1945. iNdEx = postIndex
  1946. case 4:
  1947. if wireType != 2 {
  1948. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  1949. }
  1950. var msglen int
  1951. for shift := uint(0); ; shift += 7 {
  1952. if shift >= 64 {
  1953. return ErrIntOverflowDanmuConf
  1954. }
  1955. if iNdEx >= l {
  1956. return io.ErrUnexpectedEOF
  1957. }
  1958. b := dAtA[iNdEx]
  1959. iNdEx++
  1960. msglen |= (int(b) & 0x7F) << shift
  1961. if b < 0x80 {
  1962. break
  1963. }
  1964. }
  1965. if msglen < 0 {
  1966. return ErrInvalidLengthDanmuConf
  1967. }
  1968. postIndex := iNdEx + msglen
  1969. if postIndex > l {
  1970. return io.ErrUnexpectedEOF
  1971. }
  1972. m.Data = append(m.Data, &DanmuConfGetAllPrivilegeResp_Data{})
  1973. if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1974. return err
  1975. }
  1976. iNdEx = postIndex
  1977. default:
  1978. iNdEx = preIndex
  1979. skippy, err := skipDanmuConf(dAtA[iNdEx:])
  1980. if err != nil {
  1981. return err
  1982. }
  1983. if skippy < 0 {
  1984. return ErrInvalidLengthDanmuConf
  1985. }
  1986. if (iNdEx + skippy) > l {
  1987. return io.ErrUnexpectedEOF
  1988. }
  1989. iNdEx += skippy
  1990. }
  1991. }
  1992. if iNdEx > l {
  1993. return io.ErrUnexpectedEOF
  1994. }
  1995. return nil
  1996. }
  1997. func (m *DanmuConfGetAllPrivilegeResp_Data) Unmarshal(dAtA []byte) error {
  1998. l := len(dAtA)
  1999. iNdEx := 0
  2000. for iNdEx < l {
  2001. preIndex := iNdEx
  2002. var wire uint64
  2003. for shift := uint(0); ; shift += 7 {
  2004. if shift >= 64 {
  2005. return ErrIntOverflowDanmuConf
  2006. }
  2007. if iNdEx >= l {
  2008. return io.ErrUnexpectedEOF
  2009. }
  2010. b := dAtA[iNdEx]
  2011. iNdEx++
  2012. wire |= (uint64(b) & 0x7F) << shift
  2013. if b < 0x80 {
  2014. break
  2015. }
  2016. }
  2017. fieldNum := int32(wire >> 3)
  2018. wireType := int(wire & 0x7)
  2019. if wireType == 4 {
  2020. return fmt.Errorf("proto: Data: wiretype end group for non-group")
  2021. }
  2022. if fieldNum <= 0 {
  2023. return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire)
  2024. }
  2025. switch fieldNum {
  2026. case 1:
  2027. if wireType != 2 {
  2028. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  2029. }
  2030. var stringLen uint64
  2031. for shift := uint(0); ; shift += 7 {
  2032. if shift >= 64 {
  2033. return ErrIntOverflowDanmuConf
  2034. }
  2035. if iNdEx >= l {
  2036. return io.ErrUnexpectedEOF
  2037. }
  2038. b := dAtA[iNdEx]
  2039. iNdEx++
  2040. stringLen |= (uint64(b) & 0x7F) << shift
  2041. if b < 0x80 {
  2042. break
  2043. }
  2044. }
  2045. intStringLen := int(stringLen)
  2046. if intStringLen < 0 {
  2047. return ErrInvalidLengthDanmuConf
  2048. }
  2049. postIndex := iNdEx + intStringLen
  2050. if postIndex > l {
  2051. return io.ErrUnexpectedEOF
  2052. }
  2053. m.Uid = string(dAtA[iNdEx:postIndex])
  2054. iNdEx = postIndex
  2055. case 2:
  2056. if wireType != 2 {
  2057. return fmt.Errorf("proto: wrong wireType = %d for field Roomid", wireType)
  2058. }
  2059. var stringLen uint64
  2060. for shift := uint(0); ; shift += 7 {
  2061. if shift >= 64 {
  2062. return ErrIntOverflowDanmuConf
  2063. }
  2064. if iNdEx >= l {
  2065. return io.ErrUnexpectedEOF
  2066. }
  2067. b := dAtA[iNdEx]
  2068. iNdEx++
  2069. stringLen |= (uint64(b) & 0x7F) << shift
  2070. if b < 0x80 {
  2071. break
  2072. }
  2073. }
  2074. intStringLen := int(stringLen)
  2075. if intStringLen < 0 {
  2076. return ErrInvalidLengthDanmuConf
  2077. }
  2078. postIndex := iNdEx + intStringLen
  2079. if postIndex > l {
  2080. return io.ErrUnexpectedEOF
  2081. }
  2082. m.Roomid = string(dAtA[iNdEx:postIndex])
  2083. iNdEx = postIndex
  2084. case 3:
  2085. if wireType != 2 {
  2086. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  2087. }
  2088. var stringLen uint64
  2089. for shift := uint(0); ; shift += 7 {
  2090. if shift >= 64 {
  2091. return ErrIntOverflowDanmuConf
  2092. }
  2093. if iNdEx >= l {
  2094. return io.ErrUnexpectedEOF
  2095. }
  2096. b := dAtA[iNdEx]
  2097. iNdEx++
  2098. stringLen |= (uint64(b) & 0x7F) << shift
  2099. if b < 0x80 {
  2100. break
  2101. }
  2102. }
  2103. intStringLen := int(stringLen)
  2104. if intStringLen < 0 {
  2105. return ErrInvalidLengthDanmuConf
  2106. }
  2107. postIndex := iNdEx + intStringLen
  2108. if postIndex > l {
  2109. return io.ErrUnexpectedEOF
  2110. }
  2111. m.Type = string(dAtA[iNdEx:postIndex])
  2112. iNdEx = postIndex
  2113. case 4:
  2114. if wireType != 2 {
  2115. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  2116. }
  2117. var stringLen uint64
  2118. for shift := uint(0); ; shift += 7 {
  2119. if shift >= 64 {
  2120. return ErrIntOverflowDanmuConf
  2121. }
  2122. if iNdEx >= l {
  2123. return io.ErrUnexpectedEOF
  2124. }
  2125. b := dAtA[iNdEx]
  2126. iNdEx++
  2127. stringLen |= (uint64(b) & 0x7F) << shift
  2128. if b < 0x80 {
  2129. break
  2130. }
  2131. }
  2132. intStringLen := int(stringLen)
  2133. if intStringLen < 0 {
  2134. return ErrInvalidLengthDanmuConf
  2135. }
  2136. postIndex := iNdEx + intStringLen
  2137. if postIndex > l {
  2138. return io.ErrUnexpectedEOF
  2139. }
  2140. m.Value = string(dAtA[iNdEx:postIndex])
  2141. iNdEx = postIndex
  2142. case 5:
  2143. if wireType != 2 {
  2144. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  2145. }
  2146. var stringLen uint64
  2147. for shift := uint(0); ; shift += 7 {
  2148. if shift >= 64 {
  2149. return ErrIntOverflowDanmuConf
  2150. }
  2151. if iNdEx >= l {
  2152. return io.ErrUnexpectedEOF
  2153. }
  2154. b := dAtA[iNdEx]
  2155. iNdEx++
  2156. stringLen |= (uint64(b) & 0x7F) << shift
  2157. if b < 0x80 {
  2158. break
  2159. }
  2160. }
  2161. intStringLen := int(stringLen)
  2162. if intStringLen < 0 {
  2163. return ErrInvalidLengthDanmuConf
  2164. }
  2165. postIndex := iNdEx + intStringLen
  2166. if postIndex > l {
  2167. return io.ErrUnexpectedEOF
  2168. }
  2169. m.Status = string(dAtA[iNdEx:postIndex])
  2170. iNdEx = postIndex
  2171. case 6:
  2172. if wireType != 2 {
  2173. return fmt.Errorf("proto: wrong wireType = %d for field ExpiredAt", wireType)
  2174. }
  2175. var stringLen uint64
  2176. for shift := uint(0); ; shift += 7 {
  2177. if shift >= 64 {
  2178. return ErrIntOverflowDanmuConf
  2179. }
  2180. if iNdEx >= l {
  2181. return io.ErrUnexpectedEOF
  2182. }
  2183. b := dAtA[iNdEx]
  2184. iNdEx++
  2185. stringLen |= (uint64(b) & 0x7F) << shift
  2186. if b < 0x80 {
  2187. break
  2188. }
  2189. }
  2190. intStringLen := int(stringLen)
  2191. if intStringLen < 0 {
  2192. return ErrInvalidLengthDanmuConf
  2193. }
  2194. postIndex := iNdEx + intStringLen
  2195. if postIndex > l {
  2196. return io.ErrUnexpectedEOF
  2197. }
  2198. m.ExpiredAt = string(dAtA[iNdEx:postIndex])
  2199. iNdEx = postIndex
  2200. default:
  2201. iNdEx = preIndex
  2202. skippy, err := skipDanmuConf(dAtA[iNdEx:])
  2203. if err != nil {
  2204. return err
  2205. }
  2206. if skippy < 0 {
  2207. return ErrInvalidLengthDanmuConf
  2208. }
  2209. if (iNdEx + skippy) > l {
  2210. return io.ErrUnexpectedEOF
  2211. }
  2212. iNdEx += skippy
  2213. }
  2214. }
  2215. if iNdEx > l {
  2216. return io.ErrUnexpectedEOF
  2217. }
  2218. return nil
  2219. }
  2220. func skipDanmuConf(dAtA []byte) (n int, err error) {
  2221. l := len(dAtA)
  2222. iNdEx := 0
  2223. for iNdEx < l {
  2224. var wire uint64
  2225. for shift := uint(0); ; shift += 7 {
  2226. if shift >= 64 {
  2227. return 0, ErrIntOverflowDanmuConf
  2228. }
  2229. if iNdEx >= l {
  2230. return 0, io.ErrUnexpectedEOF
  2231. }
  2232. b := dAtA[iNdEx]
  2233. iNdEx++
  2234. wire |= (uint64(b) & 0x7F) << shift
  2235. if b < 0x80 {
  2236. break
  2237. }
  2238. }
  2239. wireType := int(wire & 0x7)
  2240. switch wireType {
  2241. case 0:
  2242. for shift := uint(0); ; shift += 7 {
  2243. if shift >= 64 {
  2244. return 0, ErrIntOverflowDanmuConf
  2245. }
  2246. if iNdEx >= l {
  2247. return 0, io.ErrUnexpectedEOF
  2248. }
  2249. iNdEx++
  2250. if dAtA[iNdEx-1] < 0x80 {
  2251. break
  2252. }
  2253. }
  2254. return iNdEx, nil
  2255. case 1:
  2256. iNdEx += 8
  2257. return iNdEx, nil
  2258. case 2:
  2259. var length int
  2260. for shift := uint(0); ; shift += 7 {
  2261. if shift >= 64 {
  2262. return 0, ErrIntOverflowDanmuConf
  2263. }
  2264. if iNdEx >= l {
  2265. return 0, io.ErrUnexpectedEOF
  2266. }
  2267. b := dAtA[iNdEx]
  2268. iNdEx++
  2269. length |= (int(b) & 0x7F) << shift
  2270. if b < 0x80 {
  2271. break
  2272. }
  2273. }
  2274. iNdEx += length
  2275. if length < 0 {
  2276. return 0, ErrInvalidLengthDanmuConf
  2277. }
  2278. return iNdEx, nil
  2279. case 3:
  2280. for {
  2281. var innerWire uint64
  2282. var start int = iNdEx
  2283. for shift := uint(0); ; shift += 7 {
  2284. if shift >= 64 {
  2285. return 0, ErrIntOverflowDanmuConf
  2286. }
  2287. if iNdEx >= l {
  2288. return 0, io.ErrUnexpectedEOF
  2289. }
  2290. b := dAtA[iNdEx]
  2291. iNdEx++
  2292. innerWire |= (uint64(b) & 0x7F) << shift
  2293. if b < 0x80 {
  2294. break
  2295. }
  2296. }
  2297. innerWireType := int(innerWire & 0x7)
  2298. if innerWireType == 4 {
  2299. break
  2300. }
  2301. next, err := skipDanmuConf(dAtA[start:])
  2302. if err != nil {
  2303. return 0, err
  2304. }
  2305. iNdEx = start + next
  2306. }
  2307. return iNdEx, nil
  2308. case 4:
  2309. return iNdEx, nil
  2310. case 5:
  2311. iNdEx += 4
  2312. return iNdEx, nil
  2313. default:
  2314. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  2315. }
  2316. }
  2317. panic("unreachable")
  2318. }
  2319. var (
  2320. ErrInvalidLengthDanmuConf = fmt.Errorf("proto: negative length found during unmarshaling")
  2321. ErrIntOverflowDanmuConf = fmt.Errorf("proto: integer overflow")
  2322. )
  2323. func init() { proto.RegisterFile("v1/DanmuConf.proto", fileDescriptor_DanmuConf_aa3d2c061886559f) }
  2324. var fileDescriptor_DanmuConf_aa3d2c061886559f = []byte{
  2325. // 619 bytes of a gzipped FileDescriptorProto
  2326. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xcf, 0x6e, 0xd3, 0x4e,
  2327. 0x10, 0xae, 0x63, 0x37, 0xad, 0x27, 0xd2, 0xef, 0x27, 0x2d, 0x02, 0x85, 0x10, 0xd9, 0xc1, 0x02,
  2328. 0x35, 0x42, 0x8a, 0xa3, 0x84, 0x0b, 0xd7, 0x84, 0x22, 0x84, 0xb8, 0xa0, 0x85, 0x13, 0x17, 0xe4,
  2329. 0xc4, 0x5b, 0xd7, 0x92, 0x1d, 0x27, 0xf6, 0x3a, 0x6a, 0x1e, 0x02, 0xa9, 0xcf, 0x80, 0xc4, 0x43,
  2330. 0x70, 0xe7, 0xc0, 0xb1, 0x37, 0x38, 0x59, 0x28, 0xb9, 0xf9, 0x29, 0xd0, 0xfe, 0x49, 0x9a, 0xb4,
  2331. 0x4e, 0x52, 0xa9, 0x97, 0x99, 0x9d, 0xf1, 0xee, 0xcc, 0xb7, 0xdf, 0x7c, 0xb6, 0x01, 0x4d, 0x3b,
  2332. 0xed, 0x53, 0x67, 0x14, 0xa6, 0xaf, 0xa3, 0xd1, 0x99, 0x3d, 0x8e, 0x23, 0x1a, 0x21, 0x48, 0x13,
  2333. 0x12, 0x93, 0x0b, 0x6a, 0x4f, 0x3b, 0xb5, 0x96, 0xe7, 0xd3, 0xf3, 0x74, 0x60, 0x0f, 0xa3, 0xb0,
  2334. 0xed, 0x45, 0x5e, 0xd4, 0xe6, 0x5b, 0x06, 0xe9, 0x19, 0x8f, 0x78, 0xc0, 0x57, 0xe2, 0xa8, 0xf5,
  2335. 0x11, 0xd0, 0xaa, 0xda, 0x5b, 0x42, 0x7b, 0x41, 0x80, 0xc9, 0x04, 0x59, 0x50, 0x8e, 0xa3, 0x28,
  2336. 0xf4, 0xdd, 0xaa, 0xd2, 0x50, 0x9a, 0x6a, 0x1f, 0xf2, 0xcc, 0x94, 0x19, 0x2c, 0x3d, 0x7a, 0x0c,
  2337. 0x6a, 0xea, 0xbb, 0xd5, 0x12, 0xdf, 0x70, 0x94, 0x67, 0x26, 0x0b, 0x31, 0x33, 0xd6, 0xb7, 0x12,
  2338. 0x3c, 0xb8, 0x55, 0x35, 0x19, 0xa3, 0x3a, 0x68, 0xc3, 0xc8, 0x25, 0xb2, 0xe8, 0x71, 0x9e, 0x99,
  2339. 0x3c, 0xc6, 0xdc, 0xb2, 0x82, 0x61, 0xe2, 0xf1, 0x82, 0xba, 0x28, 0x18, 0x26, 0x1e, 0x66, 0x06,
  2340. 0xf5, 0x41, 0x73, 0x1d, 0xea, 0x54, 0xd5, 0x86, 0xd2, 0xac, 0x74, 0x9f, 0xd9, 0xd7, 0xf7, 0xb5,
  2341. 0x0b, 0xfa, 0xd8, 0xa7, 0x0e, 0x75, 0x44, 0x79, 0x76, 0x0a, 0x73, 0x5b, 0xfb, 0xaa, 0x80, 0xc6,
  2342. 0x1e, 0x30, 0x14, 0xe1, 0x0d, 0x14, 0x21, 0x47, 0xc1, 0x2c, 0x32, 0xe1, 0x70, 0x18, 0x05, 0x51,
  2343. 0x2c, 0x2f, 0xa6, 0xe7, 0x99, 0x29, 0x12, 0x58, 0x38, 0xc6, 0x4d, 0x40, 0x46, 0x1e, 0x3d, 0xe7,
  2344. 0x68, 0x24, 0x37, 0x22, 0x83, 0xa5, 0x5f, 0xe3, 0x4f, 0xdb, 0xc6, 0x9f, 0xf5, 0x43, 0x81, 0x87,
  2345. 0x2b, 0xf0, 0x3d, 0xd7, 0xed, 0xcf, 0x3e, 0xcd, 0xc6, 0x84, 0xb1, 0x5f, 0x07, 0x8d, 0xce, 0xc6,
  2346. 0x02, 0xa0, 0x2e, 0x00, 0xb2, 0x18, 0x73, 0xbb, 0x83, 0xf7, 0xb5, 0xb6, 0xea, 0xd6, 0xb1, 0x59,
  2347. 0x50, 0x26, 0x17, 0x63, 0x3f, 0x26, 0xeb, 0xd0, 0x44, 0x06, 0x4b, 0xcf, 0x38, 0x98, 0x3a, 0x41,
  2348. 0x4a, 0xaa, 0x87, 0xd7, 0x1c, 0xf0, 0x04, 0x16, 0xce, 0xfa, 0xa9, 0xc0, 0xa3, 0x22, 0xec, 0xf7,
  2349. 0x99, 0xf1, 0x9b, 0x8d, 0x19, 0x9f, 0x14, 0xce, 0x78, 0xa3, 0x55, 0xf1, 0x98, 0x5f, 0xc8, 0x29,
  2350. 0x33, 0x2e, 0x48, 0x92, 0x06, 0x94, 0x23, 0x39, 0x96, 0x5c, 0xf0, 0x0c, 0x96, 0xde, 0x7a, 0x05,
  2351. 0x4f, 0x6e, 0xc8, 0xe7, 0x43, 0xec, 0x4f, 0xfd, 0x80, 0x78, 0x7c, 0x0e, 0x92, 0x69, 0xa5, 0x40,
  2352. 0xe1, 0xdf, 0x55, 0xa8, 0x6f, 0x3f, 0x7a, 0x1f, 0x1a, 0x9e, 0xc3, 0x51, 0x48, 0x92, 0xc4, 0xf1,
  2353. 0x08, 0x67, 0x42, 0xef, 0x57, 0xf2, 0xcc, 0x5c, 0xa6, 0xf0, 0x72, 0x81, 0xde, 0x4b, 0xb6, 0xb4,
  2354. 0x86, 0xda, 0xac, 0x74, 0x5b, 0x3b, 0xde, 0x88, 0x0d, 0x5c, 0xc5, 0x9c, 0xfd, 0x5e, 0xbe, 0x1a,
  2355. 0x6b, 0x37, 0xd6, 0xb7, 0x6a, 0x4b, 0xa0, 0x2e, 0xd2, 0xd6, 0x52, 0xb8, 0x6a, 0xa1, 0x70, 0x57,
  2356. 0xaa, 0xd2, 0xf8, 0xe3, 0x5b, 0xaa, 0x62, 0x2d, 0x12, 0xea, 0xd0, 0x34, 0xe1, 0xba, 0x93, 0x2d,
  2357. 0x44, 0x06, 0x4b, 0x8f, 0x5a, 0x00, 0x42, 0xa4, 0xee, 0x17, 0x87, 0x56, 0xcb, 0x7c, 0xdf, 0x7f,
  2358. 0x79, 0x66, 0xae, 0x65, 0xb1, 0x2e, 0xd7, 0x3d, 0xda, 0xbd, 0x2c, 0x81, 0xbe, 0xe2, 0x03, 0xbd,
  2359. 0x83, 0xb2, 0xc7, 0x39, 0x41, 0xc6, 0xce, 0x4f, 0xc8, 0xa4, 0x66, 0xee, 0xf9, 0xc4, 0x20, 0x0c,
  2360. 0xba, 0xb3, 0x14, 0x23, 0x7a, 0xba, 0x4f, 0xac, 0x93, 0x9a, 0xb5, 0x5f, 0xcf, 0xc8, 0x85, 0xff,
  2361. 0xbd, 0xcd, 0x91, 0xa1, 0x93, 0xbb, 0x0d, 0x76, 0x52, 0x6b, 0xde, 0x55, 0x01, 0xfd, 0xfa, 0xaf,
  2362. 0xb9, 0xa1, 0x5c, 0xcd, 0x0d, 0xe5, 0xef, 0xdc, 0x50, 0x2e, 0x17, 0xc6, 0xc1, 0xd5, 0xc2, 0x38,
  2363. 0xf8, 0xb3, 0x30, 0x0e, 0x3e, 0x97, 0xa6, 0x9d, 0x41, 0x99, 0xff, 0x16, 0x5e, 0xfe, 0x0b, 0x00,
  2364. 0x00, 0xff, 0xff, 0xeb, 0xba, 0x22, 0x2a, 0x67, 0x06, 0x00, 0x00,
  2365. }