gaea.pb.go 88 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: gaea.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. // 通过参数获取一条记录的信息
  19. type GetConfigReq struct {
  20. // team
  21. Team int64 `protobuf:"varint,1,opt,name=team,proto3" json:"team,omitempty" form:"team"`
  22. // 索引名称
  23. Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty" form:"keyword"`
  24. // id
  25. Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty" form:"id"`
  26. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  27. XXX_unrecognized []byte `json:"-"`
  28. XXX_sizecache int32 `json:"-"`
  29. }
  30. func (m *GetConfigReq) Reset() { *m = GetConfigReq{} }
  31. func (m *GetConfigReq) String() string { return proto.CompactTextString(m) }
  32. func (*GetConfigReq) ProtoMessage() {}
  33. func (*GetConfigReq) Descriptor() ([]byte, []int) {
  34. return fileDescriptor_gaea_50d23660558adc4f, []int{0}
  35. }
  36. func (m *GetConfigReq) XXX_Unmarshal(b []byte) error {
  37. return m.Unmarshal(b)
  38. }
  39. func (m *GetConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  40. if deterministic {
  41. return xxx_messageInfo_GetConfigReq.Marshal(b, m, deterministic)
  42. } else {
  43. b = b[:cap(b)]
  44. n, err := m.MarshalTo(b)
  45. if err != nil {
  46. return nil, err
  47. }
  48. return b[:n], nil
  49. }
  50. }
  51. func (dst *GetConfigReq) XXX_Merge(src proto.Message) {
  52. xxx_messageInfo_GetConfigReq.Merge(dst, src)
  53. }
  54. func (m *GetConfigReq) XXX_Size() int {
  55. return m.Size()
  56. }
  57. func (m *GetConfigReq) XXX_DiscardUnknown() {
  58. xxx_messageInfo_GetConfigReq.DiscardUnknown(m)
  59. }
  60. var xxx_messageInfo_GetConfigReq proto.InternalMessageInfo
  61. func (m *GetConfigReq) GetTeam() int64 {
  62. if m != nil {
  63. return m.Team
  64. }
  65. return 0
  66. }
  67. func (m *GetConfigReq) GetKeyword() string {
  68. if m != nil {
  69. return m.Keyword
  70. }
  71. return ""
  72. }
  73. func (m *GetConfigReq) GetId() int64 {
  74. if m != nil {
  75. return m.Id
  76. }
  77. return 0
  78. }
  79. type GetConfigResp struct {
  80. // team
  81. Team int64 `protobuf:"varint,1,opt,name=team,proto3" json:"team"`
  82. // 索引名称
  83. Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword"`
  84. // 配置值
  85. Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value"`
  86. // 配置解释
  87. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name"`
  88. // 创建时间
  89. Ctime string `protobuf:"bytes,5,opt,name=ctime,proto3" json:"ctime"`
  90. // 最近更新时间
  91. Mtime string `protobuf:"bytes,6,opt,name=mtime,proto3" json:"mtime"`
  92. // 状态
  93. Status int64 `protobuf:"varint,7,opt,name=status,proto3" json:"status"`
  94. // id
  95. Id int64 `protobuf:"varint,8,opt,name=id,proto3" json:"id"`
  96. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  97. XXX_unrecognized []byte `json:"-"`
  98. XXX_sizecache int32 `json:"-"`
  99. }
  100. func (m *GetConfigResp) Reset() { *m = GetConfigResp{} }
  101. func (m *GetConfigResp) String() string { return proto.CompactTextString(m) }
  102. func (*GetConfigResp) ProtoMessage() {}
  103. func (*GetConfigResp) Descriptor() ([]byte, []int) {
  104. return fileDescriptor_gaea_50d23660558adc4f, []int{1}
  105. }
  106. func (m *GetConfigResp) XXX_Unmarshal(b []byte) error {
  107. return m.Unmarshal(b)
  108. }
  109. func (m *GetConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  110. if deterministic {
  111. return xxx_messageInfo_GetConfigResp.Marshal(b, m, deterministic)
  112. } else {
  113. b = b[:cap(b)]
  114. n, err := m.MarshalTo(b)
  115. if err != nil {
  116. return nil, err
  117. }
  118. return b[:n], nil
  119. }
  120. }
  121. func (dst *GetConfigResp) XXX_Merge(src proto.Message) {
  122. xxx_messageInfo_GetConfigResp.Merge(dst, src)
  123. }
  124. func (m *GetConfigResp) XXX_Size() int {
  125. return m.Size()
  126. }
  127. func (m *GetConfigResp) XXX_DiscardUnknown() {
  128. xxx_messageInfo_GetConfigResp.DiscardUnknown(m)
  129. }
  130. var xxx_messageInfo_GetConfigResp proto.InternalMessageInfo
  131. func (m *GetConfigResp) GetTeam() int64 {
  132. if m != nil {
  133. return m.Team
  134. }
  135. return 0
  136. }
  137. func (m *GetConfigResp) GetKeyword() string {
  138. if m != nil {
  139. return m.Keyword
  140. }
  141. return ""
  142. }
  143. func (m *GetConfigResp) GetValue() string {
  144. if m != nil {
  145. return m.Value
  146. }
  147. return ""
  148. }
  149. func (m *GetConfigResp) GetName() string {
  150. if m != nil {
  151. return m.Name
  152. }
  153. return ""
  154. }
  155. func (m *GetConfigResp) GetCtime() string {
  156. if m != nil {
  157. return m.Ctime
  158. }
  159. return ""
  160. }
  161. func (m *GetConfigResp) GetMtime() string {
  162. if m != nil {
  163. return m.Mtime
  164. }
  165. return ""
  166. }
  167. func (m *GetConfigResp) GetStatus() int64 {
  168. if m != nil {
  169. return m.Status
  170. }
  171. return 0
  172. }
  173. func (m *GetConfigResp) GetId() int64 {
  174. if m != nil {
  175. return m.Id
  176. }
  177. return 0
  178. }
  179. // 设置某个key的信息
  180. type SetConfigReq struct {
  181. // team
  182. Team int64 `protobuf:"varint,1,opt,name=team,proto3" json:"team,omitempty" form:"team"`
  183. // 索引名称
  184. Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty" form:"keyword" validate:"required"`
  185. // 配置值
  186. Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty" form:"value" validate:"required"`
  187. // 配置解释
  188. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty" form:"name"`
  189. // 编辑时id
  190. Id int64 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty" form:"id"`
  191. // 状态
  192. Status int64 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty" form:"status"`
  193. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  194. XXX_unrecognized []byte `json:"-"`
  195. XXX_sizecache int32 `json:"-"`
  196. }
  197. func (m *SetConfigReq) Reset() { *m = SetConfigReq{} }
  198. func (m *SetConfigReq) String() string { return proto.CompactTextString(m) }
  199. func (*SetConfigReq) ProtoMessage() {}
  200. func (*SetConfigReq) Descriptor() ([]byte, []int) {
  201. return fileDescriptor_gaea_50d23660558adc4f, []int{2}
  202. }
  203. func (m *SetConfigReq) XXX_Unmarshal(b []byte) error {
  204. return m.Unmarshal(b)
  205. }
  206. func (m *SetConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  207. if deterministic {
  208. return xxx_messageInfo_SetConfigReq.Marshal(b, m, deterministic)
  209. } else {
  210. b = b[:cap(b)]
  211. n, err := m.MarshalTo(b)
  212. if err != nil {
  213. return nil, err
  214. }
  215. return b[:n], nil
  216. }
  217. }
  218. func (dst *SetConfigReq) XXX_Merge(src proto.Message) {
  219. xxx_messageInfo_SetConfigReq.Merge(dst, src)
  220. }
  221. func (m *SetConfigReq) XXX_Size() int {
  222. return m.Size()
  223. }
  224. func (m *SetConfigReq) XXX_DiscardUnknown() {
  225. xxx_messageInfo_SetConfigReq.DiscardUnknown(m)
  226. }
  227. var xxx_messageInfo_SetConfigReq proto.InternalMessageInfo
  228. func (m *SetConfigReq) GetTeam() int64 {
  229. if m != nil {
  230. return m.Team
  231. }
  232. return 0
  233. }
  234. func (m *SetConfigReq) GetKeyword() string {
  235. if m != nil {
  236. return m.Keyword
  237. }
  238. return ""
  239. }
  240. func (m *SetConfigReq) GetValue() string {
  241. if m != nil {
  242. return m.Value
  243. }
  244. return ""
  245. }
  246. func (m *SetConfigReq) GetName() string {
  247. if m != nil {
  248. return m.Name
  249. }
  250. return ""
  251. }
  252. func (m *SetConfigReq) GetId() int64 {
  253. if m != nil {
  254. return m.Id
  255. }
  256. return 0
  257. }
  258. func (m *SetConfigReq) GetStatus() int64 {
  259. if m != nil {
  260. return m.Status
  261. }
  262. return 0
  263. }
  264. type SetConfigResp struct {
  265. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  266. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  267. XXX_unrecognized []byte `json:"-"`
  268. XXX_sizecache int32 `json:"-"`
  269. }
  270. func (m *SetConfigResp) Reset() { *m = SetConfigResp{} }
  271. func (m *SetConfigResp) String() string { return proto.CompactTextString(m) }
  272. func (*SetConfigResp) ProtoMessage() {}
  273. func (*SetConfigResp) Descriptor() ([]byte, []int) {
  274. return fileDescriptor_gaea_50d23660558adc4f, []int{3}
  275. }
  276. func (m *SetConfigResp) XXX_Unmarshal(b []byte) error {
  277. return m.Unmarshal(b)
  278. }
  279. func (m *SetConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  280. if deterministic {
  281. return xxx_messageInfo_SetConfigResp.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 *SetConfigResp) XXX_Merge(src proto.Message) {
  292. xxx_messageInfo_SetConfigResp.Merge(dst, src)
  293. }
  294. func (m *SetConfigResp) XXX_Size() int {
  295. return m.Size()
  296. }
  297. func (m *SetConfigResp) XXX_DiscardUnknown() {
  298. xxx_messageInfo_SetConfigResp.DiscardUnknown(m)
  299. }
  300. var xxx_messageInfo_SetConfigResp proto.InternalMessageInfo
  301. func (m *SetConfigResp) GetId() int64 {
  302. if m != nil {
  303. return m.Id
  304. }
  305. return 0
  306. }
  307. // 管理后台通过参数获取列表
  308. type ParamsConfigReq struct {
  309. Team int64 `protobuf:"varint,1,opt,name=team,proto3" json:"team,omitempty" form:"team"`
  310. Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty" form:"keyword"`
  311. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" form:"name"`
  312. Status int64 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty" form:"status"`
  313. Page int64 `protobuf:"varint,5,opt,name=page,proto3" json:"page,omitempty" form:"page" validate:"required"`
  314. // 页量
  315. PageSize int64 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" form:"page_size" validate:"required"`
  316. // id
  317. Id int64 `protobuf:"varint,7,opt,name=id,proto3" json:"id,omitempty" form:"id"`
  318. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  319. XXX_unrecognized []byte `json:"-"`
  320. XXX_sizecache int32 `json:"-"`
  321. }
  322. func (m *ParamsConfigReq) Reset() { *m = ParamsConfigReq{} }
  323. func (m *ParamsConfigReq) String() string { return proto.CompactTextString(m) }
  324. func (*ParamsConfigReq) ProtoMessage() {}
  325. func (*ParamsConfigReq) Descriptor() ([]byte, []int) {
  326. return fileDescriptor_gaea_50d23660558adc4f, []int{4}
  327. }
  328. func (m *ParamsConfigReq) XXX_Unmarshal(b []byte) error {
  329. return m.Unmarshal(b)
  330. }
  331. func (m *ParamsConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  332. if deterministic {
  333. return xxx_messageInfo_ParamsConfigReq.Marshal(b, m, deterministic)
  334. } else {
  335. b = b[:cap(b)]
  336. n, err := m.MarshalTo(b)
  337. if err != nil {
  338. return nil, err
  339. }
  340. return b[:n], nil
  341. }
  342. }
  343. func (dst *ParamsConfigReq) XXX_Merge(src proto.Message) {
  344. xxx_messageInfo_ParamsConfigReq.Merge(dst, src)
  345. }
  346. func (m *ParamsConfigReq) XXX_Size() int {
  347. return m.Size()
  348. }
  349. func (m *ParamsConfigReq) XXX_DiscardUnknown() {
  350. xxx_messageInfo_ParamsConfigReq.DiscardUnknown(m)
  351. }
  352. var xxx_messageInfo_ParamsConfigReq proto.InternalMessageInfo
  353. func (m *ParamsConfigReq) GetTeam() int64 {
  354. if m != nil {
  355. return m.Team
  356. }
  357. return 0
  358. }
  359. func (m *ParamsConfigReq) GetKeyword() string {
  360. if m != nil {
  361. return m.Keyword
  362. }
  363. return ""
  364. }
  365. func (m *ParamsConfigReq) GetName() string {
  366. if m != nil {
  367. return m.Name
  368. }
  369. return ""
  370. }
  371. func (m *ParamsConfigReq) GetStatus() int64 {
  372. if m != nil {
  373. return m.Status
  374. }
  375. return 0
  376. }
  377. func (m *ParamsConfigReq) GetPage() int64 {
  378. if m != nil {
  379. return m.Page
  380. }
  381. return 0
  382. }
  383. func (m *ParamsConfigReq) GetPageSize() int64 {
  384. if m != nil {
  385. return m.PageSize
  386. }
  387. return 0
  388. }
  389. func (m *ParamsConfigReq) GetId() int64 {
  390. if m != nil {
  391. return m.Id
  392. }
  393. return 0
  394. }
  395. type ParamsConfigResp struct {
  396. List []*List `protobuf:"bytes,1,rep,name=list" json:"list"`
  397. // 记录总数
  398. TotalNum int64 `protobuf:"varint,2,opt,name=total_num,json=totalNum,proto3" json:"total_num"`
  399. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  400. XXX_unrecognized []byte `json:"-"`
  401. XXX_sizecache int32 `json:"-"`
  402. }
  403. func (m *ParamsConfigResp) Reset() { *m = ParamsConfigResp{} }
  404. func (m *ParamsConfigResp) String() string { return proto.CompactTextString(m) }
  405. func (*ParamsConfigResp) ProtoMessage() {}
  406. func (*ParamsConfigResp) Descriptor() ([]byte, []int) {
  407. return fileDescriptor_gaea_50d23660558adc4f, []int{5}
  408. }
  409. func (m *ParamsConfigResp) XXX_Unmarshal(b []byte) error {
  410. return m.Unmarshal(b)
  411. }
  412. func (m *ParamsConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  413. if deterministic {
  414. return xxx_messageInfo_ParamsConfigResp.Marshal(b, m, deterministic)
  415. } else {
  416. b = b[:cap(b)]
  417. n, err := m.MarshalTo(b)
  418. if err != nil {
  419. return nil, err
  420. }
  421. return b[:n], nil
  422. }
  423. }
  424. func (dst *ParamsConfigResp) XXX_Merge(src proto.Message) {
  425. xxx_messageInfo_ParamsConfigResp.Merge(dst, src)
  426. }
  427. func (m *ParamsConfigResp) XXX_Size() int {
  428. return m.Size()
  429. }
  430. func (m *ParamsConfigResp) XXX_DiscardUnknown() {
  431. xxx_messageInfo_ParamsConfigResp.DiscardUnknown(m)
  432. }
  433. var xxx_messageInfo_ParamsConfigResp proto.InternalMessageInfo
  434. func (m *ParamsConfigResp) GetList() []*List {
  435. if m != nil {
  436. return m.List
  437. }
  438. return nil
  439. }
  440. func (m *ParamsConfigResp) GetTotalNum() int64 {
  441. if m != nil {
  442. return m.TotalNum
  443. }
  444. return 0
  445. }
  446. type TeamConfigReq struct {
  447. // team
  448. Team string `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty" form:"team" validate:"required"`
  449. // 页码 从1开始
  450. Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty" form:"page" validate:"required"`
  451. // 页量
  452. PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" form:"page_size" validate:"required"`
  453. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  454. XXX_unrecognized []byte `json:"-"`
  455. XXX_sizecache int32 `json:"-"`
  456. }
  457. func (m *TeamConfigReq) Reset() { *m = TeamConfigReq{} }
  458. func (m *TeamConfigReq) String() string { return proto.CompactTextString(m) }
  459. func (*TeamConfigReq) ProtoMessage() {}
  460. func (*TeamConfigReq) Descriptor() ([]byte, []int) {
  461. return fileDescriptor_gaea_50d23660558adc4f, []int{6}
  462. }
  463. func (m *TeamConfigReq) XXX_Unmarshal(b []byte) error {
  464. return m.Unmarshal(b)
  465. }
  466. func (m *TeamConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  467. if deterministic {
  468. return xxx_messageInfo_TeamConfigReq.Marshal(b, m, deterministic)
  469. } else {
  470. b = b[:cap(b)]
  471. n, err := m.MarshalTo(b)
  472. if err != nil {
  473. return nil, err
  474. }
  475. return b[:n], nil
  476. }
  477. }
  478. func (dst *TeamConfigReq) XXX_Merge(src proto.Message) {
  479. xxx_messageInfo_TeamConfigReq.Merge(dst, src)
  480. }
  481. func (m *TeamConfigReq) XXX_Size() int {
  482. return m.Size()
  483. }
  484. func (m *TeamConfigReq) XXX_DiscardUnknown() {
  485. xxx_messageInfo_TeamConfigReq.DiscardUnknown(m)
  486. }
  487. var xxx_messageInfo_TeamConfigReq proto.InternalMessageInfo
  488. func (m *TeamConfigReq) GetTeam() string {
  489. if m != nil {
  490. return m.Team
  491. }
  492. return ""
  493. }
  494. func (m *TeamConfigReq) GetPage() int64 {
  495. if m != nil {
  496. return m.Page
  497. }
  498. return 0
  499. }
  500. func (m *TeamConfigReq) GetPageSize() int64 {
  501. if m != nil {
  502. return m.PageSize
  503. }
  504. return 0
  505. }
  506. type TeamConfigResp struct {
  507. // 数据列表
  508. List []*List `protobuf:"bytes,1,rep,name=list" json:"list"`
  509. // 记录总数
  510. TotalNum int64 `protobuf:"varint,2,opt,name=total_num,json=totalNum,proto3" json:"total_num"`
  511. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  512. XXX_unrecognized []byte `json:"-"`
  513. XXX_sizecache int32 `json:"-"`
  514. }
  515. func (m *TeamConfigResp) Reset() { *m = TeamConfigResp{} }
  516. func (m *TeamConfigResp) String() string { return proto.CompactTextString(m) }
  517. func (*TeamConfigResp) ProtoMessage() {}
  518. func (*TeamConfigResp) Descriptor() ([]byte, []int) {
  519. return fileDescriptor_gaea_50d23660558adc4f, []int{7}
  520. }
  521. func (m *TeamConfigResp) XXX_Unmarshal(b []byte) error {
  522. return m.Unmarshal(b)
  523. }
  524. func (m *TeamConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  525. if deterministic {
  526. return xxx_messageInfo_TeamConfigResp.Marshal(b, m, deterministic)
  527. } else {
  528. b = b[:cap(b)]
  529. n, err := m.MarshalTo(b)
  530. if err != nil {
  531. return nil, err
  532. }
  533. return b[:n], nil
  534. }
  535. }
  536. func (dst *TeamConfigResp) XXX_Merge(src proto.Message) {
  537. xxx_messageInfo_TeamConfigResp.Merge(dst, src)
  538. }
  539. func (m *TeamConfigResp) XXX_Size() int {
  540. return m.Size()
  541. }
  542. func (m *TeamConfigResp) XXX_DiscardUnknown() {
  543. xxx_messageInfo_TeamConfigResp.DiscardUnknown(m)
  544. }
  545. var xxx_messageInfo_TeamConfigResp proto.InternalMessageInfo
  546. func (m *TeamConfigResp) GetList() []*List {
  547. if m != nil {
  548. return m.List
  549. }
  550. return nil
  551. }
  552. func (m *TeamConfigResp) GetTotalNum() int64 {
  553. if m != nil {
  554. return m.TotalNum
  555. }
  556. return 0
  557. }
  558. type GetConfigsReq struct {
  559. // 索引名称
  560. Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty" form:"keyword" validate:"required"`
  561. // 页码
  562. Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty" form:"page" validate:"required"`
  563. // 页量
  564. PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" form:"page_size" validate:"required"`
  565. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  566. XXX_unrecognized []byte `json:"-"`
  567. XXX_sizecache int32 `json:"-"`
  568. }
  569. func (m *GetConfigsReq) Reset() { *m = GetConfigsReq{} }
  570. func (m *GetConfigsReq) String() string { return proto.CompactTextString(m) }
  571. func (*GetConfigsReq) ProtoMessage() {}
  572. func (*GetConfigsReq) Descriptor() ([]byte, []int) {
  573. return fileDescriptor_gaea_50d23660558adc4f, []int{8}
  574. }
  575. func (m *GetConfigsReq) XXX_Unmarshal(b []byte) error {
  576. return m.Unmarshal(b)
  577. }
  578. func (m *GetConfigsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  579. if deterministic {
  580. return xxx_messageInfo_GetConfigsReq.Marshal(b, m, deterministic)
  581. } else {
  582. b = b[:cap(b)]
  583. n, err := m.MarshalTo(b)
  584. if err != nil {
  585. return nil, err
  586. }
  587. return b[:n], nil
  588. }
  589. }
  590. func (dst *GetConfigsReq) XXX_Merge(src proto.Message) {
  591. xxx_messageInfo_GetConfigsReq.Merge(dst, src)
  592. }
  593. func (m *GetConfigsReq) XXX_Size() int {
  594. return m.Size()
  595. }
  596. func (m *GetConfigsReq) XXX_DiscardUnknown() {
  597. xxx_messageInfo_GetConfigsReq.DiscardUnknown(m)
  598. }
  599. var xxx_messageInfo_GetConfigsReq proto.InternalMessageInfo
  600. func (m *GetConfigsReq) GetKeyword() string {
  601. if m != nil {
  602. return m.Keyword
  603. }
  604. return ""
  605. }
  606. func (m *GetConfigsReq) GetPage() int64 {
  607. if m != nil {
  608. return m.Page
  609. }
  610. return 0
  611. }
  612. func (m *GetConfigsReq) GetPageSize() int64 {
  613. if m != nil {
  614. return m.PageSize
  615. }
  616. return 0
  617. }
  618. type GetConfigsResp struct {
  619. // 数据列表
  620. List []*List `protobuf:"bytes,1,rep,name=list" json:"list"`
  621. // 记录总数
  622. TotalNum int64 `protobuf:"varint,2,opt,name=total_num,json=totalNum,proto3" json:"total_num"`
  623. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  624. XXX_unrecognized []byte `json:"-"`
  625. XXX_sizecache int32 `json:"-"`
  626. }
  627. func (m *GetConfigsResp) Reset() { *m = GetConfigsResp{} }
  628. func (m *GetConfigsResp) String() string { return proto.CompactTextString(m) }
  629. func (*GetConfigsResp) ProtoMessage() {}
  630. func (*GetConfigsResp) Descriptor() ([]byte, []int) {
  631. return fileDescriptor_gaea_50d23660558adc4f, []int{9}
  632. }
  633. func (m *GetConfigsResp) XXX_Unmarshal(b []byte) error {
  634. return m.Unmarshal(b)
  635. }
  636. func (m *GetConfigsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  637. if deterministic {
  638. return xxx_messageInfo_GetConfigsResp.Marshal(b, m, deterministic)
  639. } else {
  640. b = b[:cap(b)]
  641. n, err := m.MarshalTo(b)
  642. if err != nil {
  643. return nil, err
  644. }
  645. return b[:n], nil
  646. }
  647. }
  648. func (dst *GetConfigsResp) XXX_Merge(src proto.Message) {
  649. xxx_messageInfo_GetConfigsResp.Merge(dst, src)
  650. }
  651. func (m *GetConfigsResp) XXX_Size() int {
  652. return m.Size()
  653. }
  654. func (m *GetConfigsResp) XXX_DiscardUnknown() {
  655. xxx_messageInfo_GetConfigsResp.DiscardUnknown(m)
  656. }
  657. var xxx_messageInfo_GetConfigsResp proto.InternalMessageInfo
  658. func (m *GetConfigsResp) GetList() []*List {
  659. if m != nil {
  660. return m.List
  661. }
  662. return nil
  663. }
  664. func (m *GetConfigsResp) GetTotalNum() int64 {
  665. if m != nil {
  666. return m.TotalNum
  667. }
  668. return 0
  669. }
  670. type List struct {
  671. // Id
  672. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  673. // team
  674. Team int64 `protobuf:"varint,2,opt,name=team,proto3" json:"team"`
  675. // 索引名称
  676. Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword"`
  677. // 配置值
  678. Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value"`
  679. // 配置解释
  680. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name"`
  681. // 创建时间
  682. Ctime string `protobuf:"bytes,6,opt,name=ctime,proto3" json:"ctime"`
  683. // 最近更新时间
  684. Mtime string `protobuf:"bytes,7,opt,name=mtime,proto3" json:"mtime"`
  685. // 状态
  686. Status int64 `protobuf:"varint,8,opt,name=status,proto3" json:"status"`
  687. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  688. XXX_unrecognized []byte `json:"-"`
  689. XXX_sizecache int32 `json:"-"`
  690. }
  691. func (m *List) Reset() { *m = List{} }
  692. func (m *List) String() string { return proto.CompactTextString(m) }
  693. func (*List) ProtoMessage() {}
  694. func (*List) Descriptor() ([]byte, []int) {
  695. return fileDescriptor_gaea_50d23660558adc4f, []int{10}
  696. }
  697. func (m *List) XXX_Unmarshal(b []byte) error {
  698. return m.Unmarshal(b)
  699. }
  700. func (m *List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  701. if deterministic {
  702. return xxx_messageInfo_List.Marshal(b, m, deterministic)
  703. } else {
  704. b = b[:cap(b)]
  705. n, err := m.MarshalTo(b)
  706. if err != nil {
  707. return nil, err
  708. }
  709. return b[:n], nil
  710. }
  711. }
  712. func (dst *List) XXX_Merge(src proto.Message) {
  713. xxx_messageInfo_List.Merge(dst, src)
  714. }
  715. func (m *List) XXX_Size() int {
  716. return m.Size()
  717. }
  718. func (m *List) XXX_DiscardUnknown() {
  719. xxx_messageInfo_List.DiscardUnknown(m)
  720. }
  721. var xxx_messageInfo_List proto.InternalMessageInfo
  722. func (m *List) GetId() int64 {
  723. if m != nil {
  724. return m.Id
  725. }
  726. return 0
  727. }
  728. func (m *List) GetTeam() int64 {
  729. if m != nil {
  730. return m.Team
  731. }
  732. return 0
  733. }
  734. func (m *List) GetKeyword() string {
  735. if m != nil {
  736. return m.Keyword
  737. }
  738. return ""
  739. }
  740. func (m *List) GetValue() string {
  741. if m != nil {
  742. return m.Value
  743. }
  744. return ""
  745. }
  746. func (m *List) GetName() string {
  747. if m != nil {
  748. return m.Name
  749. }
  750. return ""
  751. }
  752. func (m *List) GetCtime() string {
  753. if m != nil {
  754. return m.Ctime
  755. }
  756. return ""
  757. }
  758. func (m *List) GetMtime() string {
  759. if m != nil {
  760. return m.Mtime
  761. }
  762. return ""
  763. }
  764. func (m *List) GetStatus() int64 {
  765. if m != nil {
  766. return m.Status
  767. }
  768. return 0
  769. }
  770. type TeamsConfigReq struct {
  771. // team
  772. Team []int64 `protobuf:"varint,1,rep,packed,name=team" json:"team,omitempty" form:"team" validate:"required"`
  773. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  774. XXX_unrecognized []byte `json:"-"`
  775. XXX_sizecache int32 `json:"-"`
  776. }
  777. func (m *TeamsConfigReq) Reset() { *m = TeamsConfigReq{} }
  778. func (m *TeamsConfigReq) String() string { return proto.CompactTextString(m) }
  779. func (*TeamsConfigReq) ProtoMessage() {}
  780. func (*TeamsConfigReq) Descriptor() ([]byte, []int) {
  781. return fileDescriptor_gaea_50d23660558adc4f, []int{11}
  782. }
  783. func (m *TeamsConfigReq) XXX_Unmarshal(b []byte) error {
  784. return m.Unmarshal(b)
  785. }
  786. func (m *TeamsConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  787. if deterministic {
  788. return xxx_messageInfo_TeamsConfigReq.Marshal(b, m, deterministic)
  789. } else {
  790. b = b[:cap(b)]
  791. n, err := m.MarshalTo(b)
  792. if err != nil {
  793. return nil, err
  794. }
  795. return b[:n], nil
  796. }
  797. }
  798. func (dst *TeamsConfigReq) XXX_Merge(src proto.Message) {
  799. xxx_messageInfo_TeamsConfigReq.Merge(dst, src)
  800. }
  801. func (m *TeamsConfigReq) XXX_Size() int {
  802. return m.Size()
  803. }
  804. func (m *TeamsConfigReq) XXX_DiscardUnknown() {
  805. xxx_messageInfo_TeamsConfigReq.DiscardUnknown(m)
  806. }
  807. var xxx_messageInfo_TeamsConfigReq proto.InternalMessageInfo
  808. func (m *TeamsConfigReq) GetTeam() []int64 {
  809. if m != nil {
  810. return m.Team
  811. }
  812. return nil
  813. }
  814. type TeamsConfigResp struct {
  815. List string `protobuf:"bytes,1,opt,name=list,proto3" json:"list"`
  816. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  817. XXX_unrecognized []byte `json:"-"`
  818. XXX_sizecache int32 `json:"-"`
  819. }
  820. func (m *TeamsConfigResp) Reset() { *m = TeamsConfigResp{} }
  821. func (m *TeamsConfigResp) String() string { return proto.CompactTextString(m) }
  822. func (*TeamsConfigResp) ProtoMessage() {}
  823. func (*TeamsConfigResp) Descriptor() ([]byte, []int) {
  824. return fileDescriptor_gaea_50d23660558adc4f, []int{12}
  825. }
  826. func (m *TeamsConfigResp) XXX_Unmarshal(b []byte) error {
  827. return m.Unmarshal(b)
  828. }
  829. func (m *TeamsConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  830. if deterministic {
  831. return xxx_messageInfo_TeamsConfigResp.Marshal(b, m, deterministic)
  832. } else {
  833. b = b[:cap(b)]
  834. n, err := m.MarshalTo(b)
  835. if err != nil {
  836. return nil, err
  837. }
  838. return b[:n], nil
  839. }
  840. }
  841. func (dst *TeamsConfigResp) XXX_Merge(src proto.Message) {
  842. xxx_messageInfo_TeamsConfigResp.Merge(dst, src)
  843. }
  844. func (m *TeamsConfigResp) XXX_Size() int {
  845. return m.Size()
  846. }
  847. func (m *TeamsConfigResp) XXX_DiscardUnknown() {
  848. xxx_messageInfo_TeamsConfigResp.DiscardUnknown(m)
  849. }
  850. var xxx_messageInfo_TeamsConfigResp proto.InternalMessageInfo
  851. func (m *TeamsConfigResp) GetList() string {
  852. if m != nil {
  853. return m.List
  854. }
  855. return ""
  856. }
  857. func init() {
  858. proto.RegisterType((*GetConfigReq)(nil), "live.liveadmin.v1.GetConfigReq")
  859. proto.RegisterType((*GetConfigResp)(nil), "live.liveadmin.v1.GetConfigResp")
  860. proto.RegisterType((*SetConfigReq)(nil), "live.liveadmin.v1.SetConfigReq")
  861. proto.RegisterType((*SetConfigResp)(nil), "live.liveadmin.v1.SetConfigResp")
  862. proto.RegisterType((*ParamsConfigReq)(nil), "live.liveadmin.v1.ParamsConfigReq")
  863. proto.RegisterType((*ParamsConfigResp)(nil), "live.liveadmin.v1.ParamsConfigResp")
  864. proto.RegisterType((*TeamConfigReq)(nil), "live.liveadmin.v1.TeamConfigReq")
  865. proto.RegisterType((*TeamConfigResp)(nil), "live.liveadmin.v1.TeamConfigResp")
  866. proto.RegisterType((*GetConfigsReq)(nil), "live.liveadmin.v1.GetConfigsReq")
  867. proto.RegisterType((*GetConfigsResp)(nil), "live.liveadmin.v1.GetConfigsResp")
  868. proto.RegisterType((*List)(nil), "live.liveadmin.v1.List")
  869. proto.RegisterType((*TeamsConfigReq)(nil), "live.liveadmin.v1.TeamsConfigReq")
  870. proto.RegisterType((*TeamsConfigResp)(nil), "live.liveadmin.v1.TeamsConfigResp")
  871. }
  872. func (m *GetConfigReq) Marshal() (dAtA []byte, err error) {
  873. size := m.Size()
  874. dAtA = make([]byte, size)
  875. n, err := m.MarshalTo(dAtA)
  876. if err != nil {
  877. return nil, err
  878. }
  879. return dAtA[:n], nil
  880. }
  881. func (m *GetConfigReq) MarshalTo(dAtA []byte) (int, error) {
  882. var i int
  883. _ = i
  884. var l int
  885. _ = l
  886. if m.Team != 0 {
  887. dAtA[i] = 0x8
  888. i++
  889. i = encodeVarintGaea(dAtA, i, uint64(m.Team))
  890. }
  891. if len(m.Keyword) > 0 {
  892. dAtA[i] = 0x12
  893. i++
  894. i = encodeVarintGaea(dAtA, i, uint64(len(m.Keyword)))
  895. i += copy(dAtA[i:], m.Keyword)
  896. }
  897. if m.Id != 0 {
  898. dAtA[i] = 0x18
  899. i++
  900. i = encodeVarintGaea(dAtA, i, uint64(m.Id))
  901. }
  902. if m.XXX_unrecognized != nil {
  903. i += copy(dAtA[i:], m.XXX_unrecognized)
  904. }
  905. return i, nil
  906. }
  907. func (m *GetConfigResp) Marshal() (dAtA []byte, err error) {
  908. size := m.Size()
  909. dAtA = make([]byte, size)
  910. n, err := m.MarshalTo(dAtA)
  911. if err != nil {
  912. return nil, err
  913. }
  914. return dAtA[:n], nil
  915. }
  916. func (m *GetConfigResp) MarshalTo(dAtA []byte) (int, error) {
  917. var i int
  918. _ = i
  919. var l int
  920. _ = l
  921. if m.Team != 0 {
  922. dAtA[i] = 0x8
  923. i++
  924. i = encodeVarintGaea(dAtA, i, uint64(m.Team))
  925. }
  926. if len(m.Keyword) > 0 {
  927. dAtA[i] = 0x12
  928. i++
  929. i = encodeVarintGaea(dAtA, i, uint64(len(m.Keyword)))
  930. i += copy(dAtA[i:], m.Keyword)
  931. }
  932. if len(m.Value) > 0 {
  933. dAtA[i] = 0x1a
  934. i++
  935. i = encodeVarintGaea(dAtA, i, uint64(len(m.Value)))
  936. i += copy(dAtA[i:], m.Value)
  937. }
  938. if len(m.Name) > 0 {
  939. dAtA[i] = 0x22
  940. i++
  941. i = encodeVarintGaea(dAtA, i, uint64(len(m.Name)))
  942. i += copy(dAtA[i:], m.Name)
  943. }
  944. if len(m.Ctime) > 0 {
  945. dAtA[i] = 0x2a
  946. i++
  947. i = encodeVarintGaea(dAtA, i, uint64(len(m.Ctime)))
  948. i += copy(dAtA[i:], m.Ctime)
  949. }
  950. if len(m.Mtime) > 0 {
  951. dAtA[i] = 0x32
  952. i++
  953. i = encodeVarintGaea(dAtA, i, uint64(len(m.Mtime)))
  954. i += copy(dAtA[i:], m.Mtime)
  955. }
  956. if m.Status != 0 {
  957. dAtA[i] = 0x38
  958. i++
  959. i = encodeVarintGaea(dAtA, i, uint64(m.Status))
  960. }
  961. if m.Id != 0 {
  962. dAtA[i] = 0x40
  963. i++
  964. i = encodeVarintGaea(dAtA, i, uint64(m.Id))
  965. }
  966. if m.XXX_unrecognized != nil {
  967. i += copy(dAtA[i:], m.XXX_unrecognized)
  968. }
  969. return i, nil
  970. }
  971. func (m *SetConfigReq) Marshal() (dAtA []byte, err error) {
  972. size := m.Size()
  973. dAtA = make([]byte, size)
  974. n, err := m.MarshalTo(dAtA)
  975. if err != nil {
  976. return nil, err
  977. }
  978. return dAtA[:n], nil
  979. }
  980. func (m *SetConfigReq) MarshalTo(dAtA []byte) (int, error) {
  981. var i int
  982. _ = i
  983. var l int
  984. _ = l
  985. if m.Team != 0 {
  986. dAtA[i] = 0x8
  987. i++
  988. i = encodeVarintGaea(dAtA, i, uint64(m.Team))
  989. }
  990. if len(m.Keyword) > 0 {
  991. dAtA[i] = 0x12
  992. i++
  993. i = encodeVarintGaea(dAtA, i, uint64(len(m.Keyword)))
  994. i += copy(dAtA[i:], m.Keyword)
  995. }
  996. if len(m.Value) > 0 {
  997. dAtA[i] = 0x1a
  998. i++
  999. i = encodeVarintGaea(dAtA, i, uint64(len(m.Value)))
  1000. i += copy(dAtA[i:], m.Value)
  1001. }
  1002. if len(m.Name) > 0 {
  1003. dAtA[i] = 0x22
  1004. i++
  1005. i = encodeVarintGaea(dAtA, i, uint64(len(m.Name)))
  1006. i += copy(dAtA[i:], m.Name)
  1007. }
  1008. if m.Id != 0 {
  1009. dAtA[i] = 0x28
  1010. i++
  1011. i = encodeVarintGaea(dAtA, i, uint64(m.Id))
  1012. }
  1013. if m.Status != 0 {
  1014. dAtA[i] = 0x30
  1015. i++
  1016. i = encodeVarintGaea(dAtA, i, uint64(m.Status))
  1017. }
  1018. if m.XXX_unrecognized != nil {
  1019. i += copy(dAtA[i:], m.XXX_unrecognized)
  1020. }
  1021. return i, nil
  1022. }
  1023. func (m *SetConfigResp) Marshal() (dAtA []byte, err error) {
  1024. size := m.Size()
  1025. dAtA = make([]byte, size)
  1026. n, err := m.MarshalTo(dAtA)
  1027. if err != nil {
  1028. return nil, err
  1029. }
  1030. return dAtA[:n], nil
  1031. }
  1032. func (m *SetConfigResp) MarshalTo(dAtA []byte) (int, error) {
  1033. var i int
  1034. _ = i
  1035. var l int
  1036. _ = l
  1037. if m.Id != 0 {
  1038. dAtA[i] = 0x8
  1039. i++
  1040. i = encodeVarintGaea(dAtA, i, uint64(m.Id))
  1041. }
  1042. if m.XXX_unrecognized != nil {
  1043. i += copy(dAtA[i:], m.XXX_unrecognized)
  1044. }
  1045. return i, nil
  1046. }
  1047. func (m *ParamsConfigReq) Marshal() (dAtA []byte, err error) {
  1048. size := m.Size()
  1049. dAtA = make([]byte, size)
  1050. n, err := m.MarshalTo(dAtA)
  1051. if err != nil {
  1052. return nil, err
  1053. }
  1054. return dAtA[:n], nil
  1055. }
  1056. func (m *ParamsConfigReq) MarshalTo(dAtA []byte) (int, error) {
  1057. var i int
  1058. _ = i
  1059. var l int
  1060. _ = l
  1061. if m.Team != 0 {
  1062. dAtA[i] = 0x8
  1063. i++
  1064. i = encodeVarintGaea(dAtA, i, uint64(m.Team))
  1065. }
  1066. if len(m.Keyword) > 0 {
  1067. dAtA[i] = 0x12
  1068. i++
  1069. i = encodeVarintGaea(dAtA, i, uint64(len(m.Keyword)))
  1070. i += copy(dAtA[i:], m.Keyword)
  1071. }
  1072. if len(m.Name) > 0 {
  1073. dAtA[i] = 0x1a
  1074. i++
  1075. i = encodeVarintGaea(dAtA, i, uint64(len(m.Name)))
  1076. i += copy(dAtA[i:], m.Name)
  1077. }
  1078. if m.Status != 0 {
  1079. dAtA[i] = 0x20
  1080. i++
  1081. i = encodeVarintGaea(dAtA, i, uint64(m.Status))
  1082. }
  1083. if m.Page != 0 {
  1084. dAtA[i] = 0x28
  1085. i++
  1086. i = encodeVarintGaea(dAtA, i, uint64(m.Page))
  1087. }
  1088. if m.PageSize != 0 {
  1089. dAtA[i] = 0x30
  1090. i++
  1091. i = encodeVarintGaea(dAtA, i, uint64(m.PageSize))
  1092. }
  1093. if m.Id != 0 {
  1094. dAtA[i] = 0x38
  1095. i++
  1096. i = encodeVarintGaea(dAtA, i, uint64(m.Id))
  1097. }
  1098. if m.XXX_unrecognized != nil {
  1099. i += copy(dAtA[i:], m.XXX_unrecognized)
  1100. }
  1101. return i, nil
  1102. }
  1103. func (m *ParamsConfigResp) Marshal() (dAtA []byte, err error) {
  1104. size := m.Size()
  1105. dAtA = make([]byte, size)
  1106. n, err := m.MarshalTo(dAtA)
  1107. if err != nil {
  1108. return nil, err
  1109. }
  1110. return dAtA[:n], nil
  1111. }
  1112. func (m *ParamsConfigResp) MarshalTo(dAtA []byte) (int, error) {
  1113. var i int
  1114. _ = i
  1115. var l int
  1116. _ = l
  1117. if len(m.List) > 0 {
  1118. for _, msg := range m.List {
  1119. dAtA[i] = 0xa
  1120. i++
  1121. i = encodeVarintGaea(dAtA, i, uint64(msg.Size()))
  1122. n, err := msg.MarshalTo(dAtA[i:])
  1123. if err != nil {
  1124. return 0, err
  1125. }
  1126. i += n
  1127. }
  1128. }
  1129. if m.TotalNum != 0 {
  1130. dAtA[i] = 0x10
  1131. i++
  1132. i = encodeVarintGaea(dAtA, i, uint64(m.TotalNum))
  1133. }
  1134. if m.XXX_unrecognized != nil {
  1135. i += copy(dAtA[i:], m.XXX_unrecognized)
  1136. }
  1137. return i, nil
  1138. }
  1139. func (m *TeamConfigReq) Marshal() (dAtA []byte, err error) {
  1140. size := m.Size()
  1141. dAtA = make([]byte, size)
  1142. n, err := m.MarshalTo(dAtA)
  1143. if err != nil {
  1144. return nil, err
  1145. }
  1146. return dAtA[:n], nil
  1147. }
  1148. func (m *TeamConfigReq) MarshalTo(dAtA []byte) (int, error) {
  1149. var i int
  1150. _ = i
  1151. var l int
  1152. _ = l
  1153. if len(m.Team) > 0 {
  1154. dAtA[i] = 0xa
  1155. i++
  1156. i = encodeVarintGaea(dAtA, i, uint64(len(m.Team)))
  1157. i += copy(dAtA[i:], m.Team)
  1158. }
  1159. if m.Page != 0 {
  1160. dAtA[i] = 0x10
  1161. i++
  1162. i = encodeVarintGaea(dAtA, i, uint64(m.Page))
  1163. }
  1164. if m.PageSize != 0 {
  1165. dAtA[i] = 0x18
  1166. i++
  1167. i = encodeVarintGaea(dAtA, i, uint64(m.PageSize))
  1168. }
  1169. if m.XXX_unrecognized != nil {
  1170. i += copy(dAtA[i:], m.XXX_unrecognized)
  1171. }
  1172. return i, nil
  1173. }
  1174. func (m *TeamConfigResp) Marshal() (dAtA []byte, err error) {
  1175. size := m.Size()
  1176. dAtA = make([]byte, size)
  1177. n, err := m.MarshalTo(dAtA)
  1178. if err != nil {
  1179. return nil, err
  1180. }
  1181. return dAtA[:n], nil
  1182. }
  1183. func (m *TeamConfigResp) MarshalTo(dAtA []byte) (int, error) {
  1184. var i int
  1185. _ = i
  1186. var l int
  1187. _ = l
  1188. if len(m.List) > 0 {
  1189. for _, msg := range m.List {
  1190. dAtA[i] = 0xa
  1191. i++
  1192. i = encodeVarintGaea(dAtA, i, uint64(msg.Size()))
  1193. n, err := msg.MarshalTo(dAtA[i:])
  1194. if err != nil {
  1195. return 0, err
  1196. }
  1197. i += n
  1198. }
  1199. }
  1200. if m.TotalNum != 0 {
  1201. dAtA[i] = 0x10
  1202. i++
  1203. i = encodeVarintGaea(dAtA, i, uint64(m.TotalNum))
  1204. }
  1205. if m.XXX_unrecognized != nil {
  1206. i += copy(dAtA[i:], m.XXX_unrecognized)
  1207. }
  1208. return i, nil
  1209. }
  1210. func (m *GetConfigsReq) Marshal() (dAtA []byte, err error) {
  1211. size := m.Size()
  1212. dAtA = make([]byte, size)
  1213. n, err := m.MarshalTo(dAtA)
  1214. if err != nil {
  1215. return nil, err
  1216. }
  1217. return dAtA[:n], nil
  1218. }
  1219. func (m *GetConfigsReq) MarshalTo(dAtA []byte) (int, error) {
  1220. var i int
  1221. _ = i
  1222. var l int
  1223. _ = l
  1224. if len(m.Keyword) > 0 {
  1225. dAtA[i] = 0xa
  1226. i++
  1227. i = encodeVarintGaea(dAtA, i, uint64(len(m.Keyword)))
  1228. i += copy(dAtA[i:], m.Keyword)
  1229. }
  1230. if m.Page != 0 {
  1231. dAtA[i] = 0x10
  1232. i++
  1233. i = encodeVarintGaea(dAtA, i, uint64(m.Page))
  1234. }
  1235. if m.PageSize != 0 {
  1236. dAtA[i] = 0x18
  1237. i++
  1238. i = encodeVarintGaea(dAtA, i, uint64(m.PageSize))
  1239. }
  1240. if m.XXX_unrecognized != nil {
  1241. i += copy(dAtA[i:], m.XXX_unrecognized)
  1242. }
  1243. return i, nil
  1244. }
  1245. func (m *GetConfigsResp) Marshal() (dAtA []byte, err error) {
  1246. size := m.Size()
  1247. dAtA = make([]byte, size)
  1248. n, err := m.MarshalTo(dAtA)
  1249. if err != nil {
  1250. return nil, err
  1251. }
  1252. return dAtA[:n], nil
  1253. }
  1254. func (m *GetConfigsResp) MarshalTo(dAtA []byte) (int, error) {
  1255. var i int
  1256. _ = i
  1257. var l int
  1258. _ = l
  1259. if len(m.List) > 0 {
  1260. for _, msg := range m.List {
  1261. dAtA[i] = 0xa
  1262. i++
  1263. i = encodeVarintGaea(dAtA, i, uint64(msg.Size()))
  1264. n, err := msg.MarshalTo(dAtA[i:])
  1265. if err != nil {
  1266. return 0, err
  1267. }
  1268. i += n
  1269. }
  1270. }
  1271. if m.TotalNum != 0 {
  1272. dAtA[i] = 0x10
  1273. i++
  1274. i = encodeVarintGaea(dAtA, i, uint64(m.TotalNum))
  1275. }
  1276. if m.XXX_unrecognized != nil {
  1277. i += copy(dAtA[i:], m.XXX_unrecognized)
  1278. }
  1279. return i, nil
  1280. }
  1281. func (m *List) Marshal() (dAtA []byte, err error) {
  1282. size := m.Size()
  1283. dAtA = make([]byte, size)
  1284. n, err := m.MarshalTo(dAtA)
  1285. if err != nil {
  1286. return nil, err
  1287. }
  1288. return dAtA[:n], nil
  1289. }
  1290. func (m *List) MarshalTo(dAtA []byte) (int, error) {
  1291. var i int
  1292. _ = i
  1293. var l int
  1294. _ = l
  1295. if m.Id != 0 {
  1296. dAtA[i] = 0x8
  1297. i++
  1298. i = encodeVarintGaea(dAtA, i, uint64(m.Id))
  1299. }
  1300. if m.Team != 0 {
  1301. dAtA[i] = 0x10
  1302. i++
  1303. i = encodeVarintGaea(dAtA, i, uint64(m.Team))
  1304. }
  1305. if len(m.Keyword) > 0 {
  1306. dAtA[i] = 0x1a
  1307. i++
  1308. i = encodeVarintGaea(dAtA, i, uint64(len(m.Keyword)))
  1309. i += copy(dAtA[i:], m.Keyword)
  1310. }
  1311. if len(m.Value) > 0 {
  1312. dAtA[i] = 0x22
  1313. i++
  1314. i = encodeVarintGaea(dAtA, i, uint64(len(m.Value)))
  1315. i += copy(dAtA[i:], m.Value)
  1316. }
  1317. if len(m.Name) > 0 {
  1318. dAtA[i] = 0x2a
  1319. i++
  1320. i = encodeVarintGaea(dAtA, i, uint64(len(m.Name)))
  1321. i += copy(dAtA[i:], m.Name)
  1322. }
  1323. if len(m.Ctime) > 0 {
  1324. dAtA[i] = 0x32
  1325. i++
  1326. i = encodeVarintGaea(dAtA, i, uint64(len(m.Ctime)))
  1327. i += copy(dAtA[i:], m.Ctime)
  1328. }
  1329. if len(m.Mtime) > 0 {
  1330. dAtA[i] = 0x3a
  1331. i++
  1332. i = encodeVarintGaea(dAtA, i, uint64(len(m.Mtime)))
  1333. i += copy(dAtA[i:], m.Mtime)
  1334. }
  1335. if m.Status != 0 {
  1336. dAtA[i] = 0x40
  1337. i++
  1338. i = encodeVarintGaea(dAtA, i, uint64(m.Status))
  1339. }
  1340. if m.XXX_unrecognized != nil {
  1341. i += copy(dAtA[i:], m.XXX_unrecognized)
  1342. }
  1343. return i, nil
  1344. }
  1345. func (m *TeamsConfigReq) Marshal() (dAtA []byte, err error) {
  1346. size := m.Size()
  1347. dAtA = make([]byte, size)
  1348. n, err := m.MarshalTo(dAtA)
  1349. if err != nil {
  1350. return nil, err
  1351. }
  1352. return dAtA[:n], nil
  1353. }
  1354. func (m *TeamsConfigReq) MarshalTo(dAtA []byte) (int, error) {
  1355. var i int
  1356. _ = i
  1357. var l int
  1358. _ = l
  1359. if len(m.Team) > 0 {
  1360. dAtA2 := make([]byte, len(m.Team)*10)
  1361. var j1 int
  1362. for _, num1 := range m.Team {
  1363. num := uint64(num1)
  1364. for num >= 1<<7 {
  1365. dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80)
  1366. num >>= 7
  1367. j1++
  1368. }
  1369. dAtA2[j1] = uint8(num)
  1370. j1++
  1371. }
  1372. dAtA[i] = 0xa
  1373. i++
  1374. i = encodeVarintGaea(dAtA, i, uint64(j1))
  1375. i += copy(dAtA[i:], dAtA2[:j1])
  1376. }
  1377. if m.XXX_unrecognized != nil {
  1378. i += copy(dAtA[i:], m.XXX_unrecognized)
  1379. }
  1380. return i, nil
  1381. }
  1382. func (m *TeamsConfigResp) Marshal() (dAtA []byte, err error) {
  1383. size := m.Size()
  1384. dAtA = make([]byte, size)
  1385. n, err := m.MarshalTo(dAtA)
  1386. if err != nil {
  1387. return nil, err
  1388. }
  1389. return dAtA[:n], nil
  1390. }
  1391. func (m *TeamsConfigResp) MarshalTo(dAtA []byte) (int, error) {
  1392. var i int
  1393. _ = i
  1394. var l int
  1395. _ = l
  1396. if len(m.List) > 0 {
  1397. dAtA[i] = 0xa
  1398. i++
  1399. i = encodeVarintGaea(dAtA, i, uint64(len(m.List)))
  1400. i += copy(dAtA[i:], m.List)
  1401. }
  1402. if m.XXX_unrecognized != nil {
  1403. i += copy(dAtA[i:], m.XXX_unrecognized)
  1404. }
  1405. return i, nil
  1406. }
  1407. func encodeVarintGaea(dAtA []byte, offset int, v uint64) int {
  1408. for v >= 1<<7 {
  1409. dAtA[offset] = uint8(v&0x7f | 0x80)
  1410. v >>= 7
  1411. offset++
  1412. }
  1413. dAtA[offset] = uint8(v)
  1414. return offset + 1
  1415. }
  1416. func (m *GetConfigReq) Size() (n int) {
  1417. if m == nil {
  1418. return 0
  1419. }
  1420. var l int
  1421. _ = l
  1422. if m.Team != 0 {
  1423. n += 1 + sovGaea(uint64(m.Team))
  1424. }
  1425. l = len(m.Keyword)
  1426. if l > 0 {
  1427. n += 1 + l + sovGaea(uint64(l))
  1428. }
  1429. if m.Id != 0 {
  1430. n += 1 + sovGaea(uint64(m.Id))
  1431. }
  1432. if m.XXX_unrecognized != nil {
  1433. n += len(m.XXX_unrecognized)
  1434. }
  1435. return n
  1436. }
  1437. func (m *GetConfigResp) Size() (n int) {
  1438. if m == nil {
  1439. return 0
  1440. }
  1441. var l int
  1442. _ = l
  1443. if m.Team != 0 {
  1444. n += 1 + sovGaea(uint64(m.Team))
  1445. }
  1446. l = len(m.Keyword)
  1447. if l > 0 {
  1448. n += 1 + l + sovGaea(uint64(l))
  1449. }
  1450. l = len(m.Value)
  1451. if l > 0 {
  1452. n += 1 + l + sovGaea(uint64(l))
  1453. }
  1454. l = len(m.Name)
  1455. if l > 0 {
  1456. n += 1 + l + sovGaea(uint64(l))
  1457. }
  1458. l = len(m.Ctime)
  1459. if l > 0 {
  1460. n += 1 + l + sovGaea(uint64(l))
  1461. }
  1462. l = len(m.Mtime)
  1463. if l > 0 {
  1464. n += 1 + l + sovGaea(uint64(l))
  1465. }
  1466. if m.Status != 0 {
  1467. n += 1 + sovGaea(uint64(m.Status))
  1468. }
  1469. if m.Id != 0 {
  1470. n += 1 + sovGaea(uint64(m.Id))
  1471. }
  1472. if m.XXX_unrecognized != nil {
  1473. n += len(m.XXX_unrecognized)
  1474. }
  1475. return n
  1476. }
  1477. func (m *SetConfigReq) Size() (n int) {
  1478. if m == nil {
  1479. return 0
  1480. }
  1481. var l int
  1482. _ = l
  1483. if m.Team != 0 {
  1484. n += 1 + sovGaea(uint64(m.Team))
  1485. }
  1486. l = len(m.Keyword)
  1487. if l > 0 {
  1488. n += 1 + l + sovGaea(uint64(l))
  1489. }
  1490. l = len(m.Value)
  1491. if l > 0 {
  1492. n += 1 + l + sovGaea(uint64(l))
  1493. }
  1494. l = len(m.Name)
  1495. if l > 0 {
  1496. n += 1 + l + sovGaea(uint64(l))
  1497. }
  1498. if m.Id != 0 {
  1499. n += 1 + sovGaea(uint64(m.Id))
  1500. }
  1501. if m.Status != 0 {
  1502. n += 1 + sovGaea(uint64(m.Status))
  1503. }
  1504. if m.XXX_unrecognized != nil {
  1505. n += len(m.XXX_unrecognized)
  1506. }
  1507. return n
  1508. }
  1509. func (m *SetConfigResp) Size() (n int) {
  1510. if m == nil {
  1511. return 0
  1512. }
  1513. var l int
  1514. _ = l
  1515. if m.Id != 0 {
  1516. n += 1 + sovGaea(uint64(m.Id))
  1517. }
  1518. if m.XXX_unrecognized != nil {
  1519. n += len(m.XXX_unrecognized)
  1520. }
  1521. return n
  1522. }
  1523. func (m *ParamsConfigReq) Size() (n int) {
  1524. if m == nil {
  1525. return 0
  1526. }
  1527. var l int
  1528. _ = l
  1529. if m.Team != 0 {
  1530. n += 1 + sovGaea(uint64(m.Team))
  1531. }
  1532. l = len(m.Keyword)
  1533. if l > 0 {
  1534. n += 1 + l + sovGaea(uint64(l))
  1535. }
  1536. l = len(m.Name)
  1537. if l > 0 {
  1538. n += 1 + l + sovGaea(uint64(l))
  1539. }
  1540. if m.Status != 0 {
  1541. n += 1 + sovGaea(uint64(m.Status))
  1542. }
  1543. if m.Page != 0 {
  1544. n += 1 + sovGaea(uint64(m.Page))
  1545. }
  1546. if m.PageSize != 0 {
  1547. n += 1 + sovGaea(uint64(m.PageSize))
  1548. }
  1549. if m.Id != 0 {
  1550. n += 1 + sovGaea(uint64(m.Id))
  1551. }
  1552. if m.XXX_unrecognized != nil {
  1553. n += len(m.XXX_unrecognized)
  1554. }
  1555. return n
  1556. }
  1557. func (m *ParamsConfigResp) Size() (n int) {
  1558. if m == nil {
  1559. return 0
  1560. }
  1561. var l int
  1562. _ = l
  1563. if len(m.List) > 0 {
  1564. for _, e := range m.List {
  1565. l = e.Size()
  1566. n += 1 + l + sovGaea(uint64(l))
  1567. }
  1568. }
  1569. if m.TotalNum != 0 {
  1570. n += 1 + sovGaea(uint64(m.TotalNum))
  1571. }
  1572. if m.XXX_unrecognized != nil {
  1573. n += len(m.XXX_unrecognized)
  1574. }
  1575. return n
  1576. }
  1577. func (m *TeamConfigReq) Size() (n int) {
  1578. if m == nil {
  1579. return 0
  1580. }
  1581. var l int
  1582. _ = l
  1583. l = len(m.Team)
  1584. if l > 0 {
  1585. n += 1 + l + sovGaea(uint64(l))
  1586. }
  1587. if m.Page != 0 {
  1588. n += 1 + sovGaea(uint64(m.Page))
  1589. }
  1590. if m.PageSize != 0 {
  1591. n += 1 + sovGaea(uint64(m.PageSize))
  1592. }
  1593. if m.XXX_unrecognized != nil {
  1594. n += len(m.XXX_unrecognized)
  1595. }
  1596. return n
  1597. }
  1598. func (m *TeamConfigResp) Size() (n int) {
  1599. if m == nil {
  1600. return 0
  1601. }
  1602. var l int
  1603. _ = l
  1604. if len(m.List) > 0 {
  1605. for _, e := range m.List {
  1606. l = e.Size()
  1607. n += 1 + l + sovGaea(uint64(l))
  1608. }
  1609. }
  1610. if m.TotalNum != 0 {
  1611. n += 1 + sovGaea(uint64(m.TotalNum))
  1612. }
  1613. if m.XXX_unrecognized != nil {
  1614. n += len(m.XXX_unrecognized)
  1615. }
  1616. return n
  1617. }
  1618. func (m *GetConfigsReq) Size() (n int) {
  1619. if m == nil {
  1620. return 0
  1621. }
  1622. var l int
  1623. _ = l
  1624. l = len(m.Keyword)
  1625. if l > 0 {
  1626. n += 1 + l + sovGaea(uint64(l))
  1627. }
  1628. if m.Page != 0 {
  1629. n += 1 + sovGaea(uint64(m.Page))
  1630. }
  1631. if m.PageSize != 0 {
  1632. n += 1 + sovGaea(uint64(m.PageSize))
  1633. }
  1634. if m.XXX_unrecognized != nil {
  1635. n += len(m.XXX_unrecognized)
  1636. }
  1637. return n
  1638. }
  1639. func (m *GetConfigsResp) Size() (n int) {
  1640. if m == nil {
  1641. return 0
  1642. }
  1643. var l int
  1644. _ = l
  1645. if len(m.List) > 0 {
  1646. for _, e := range m.List {
  1647. l = e.Size()
  1648. n += 1 + l + sovGaea(uint64(l))
  1649. }
  1650. }
  1651. if m.TotalNum != 0 {
  1652. n += 1 + sovGaea(uint64(m.TotalNum))
  1653. }
  1654. if m.XXX_unrecognized != nil {
  1655. n += len(m.XXX_unrecognized)
  1656. }
  1657. return n
  1658. }
  1659. func (m *List) Size() (n int) {
  1660. if m == nil {
  1661. return 0
  1662. }
  1663. var l int
  1664. _ = l
  1665. if m.Id != 0 {
  1666. n += 1 + sovGaea(uint64(m.Id))
  1667. }
  1668. if m.Team != 0 {
  1669. n += 1 + sovGaea(uint64(m.Team))
  1670. }
  1671. l = len(m.Keyword)
  1672. if l > 0 {
  1673. n += 1 + l + sovGaea(uint64(l))
  1674. }
  1675. l = len(m.Value)
  1676. if l > 0 {
  1677. n += 1 + l + sovGaea(uint64(l))
  1678. }
  1679. l = len(m.Name)
  1680. if l > 0 {
  1681. n += 1 + l + sovGaea(uint64(l))
  1682. }
  1683. l = len(m.Ctime)
  1684. if l > 0 {
  1685. n += 1 + l + sovGaea(uint64(l))
  1686. }
  1687. l = len(m.Mtime)
  1688. if l > 0 {
  1689. n += 1 + l + sovGaea(uint64(l))
  1690. }
  1691. if m.Status != 0 {
  1692. n += 1 + sovGaea(uint64(m.Status))
  1693. }
  1694. if m.XXX_unrecognized != nil {
  1695. n += len(m.XXX_unrecognized)
  1696. }
  1697. return n
  1698. }
  1699. func (m *TeamsConfigReq) Size() (n int) {
  1700. if m == nil {
  1701. return 0
  1702. }
  1703. var l int
  1704. _ = l
  1705. if len(m.Team) > 0 {
  1706. l = 0
  1707. for _, e := range m.Team {
  1708. l += sovGaea(uint64(e))
  1709. }
  1710. n += 1 + sovGaea(uint64(l)) + l
  1711. }
  1712. if m.XXX_unrecognized != nil {
  1713. n += len(m.XXX_unrecognized)
  1714. }
  1715. return n
  1716. }
  1717. func (m *TeamsConfigResp) Size() (n int) {
  1718. if m == nil {
  1719. return 0
  1720. }
  1721. var l int
  1722. _ = l
  1723. l = len(m.List)
  1724. if l > 0 {
  1725. n += 1 + l + sovGaea(uint64(l))
  1726. }
  1727. if m.XXX_unrecognized != nil {
  1728. n += len(m.XXX_unrecognized)
  1729. }
  1730. return n
  1731. }
  1732. func sovGaea(x uint64) (n int) {
  1733. for {
  1734. n++
  1735. x >>= 7
  1736. if x == 0 {
  1737. break
  1738. }
  1739. }
  1740. return n
  1741. }
  1742. func sozGaea(x uint64) (n int) {
  1743. return sovGaea(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1744. }
  1745. func (m *GetConfigReq) Unmarshal(dAtA []byte) error {
  1746. l := len(dAtA)
  1747. iNdEx := 0
  1748. for iNdEx < l {
  1749. preIndex := iNdEx
  1750. var wire uint64
  1751. for shift := uint(0); ; shift += 7 {
  1752. if shift >= 64 {
  1753. return ErrIntOverflowGaea
  1754. }
  1755. if iNdEx >= l {
  1756. return io.ErrUnexpectedEOF
  1757. }
  1758. b := dAtA[iNdEx]
  1759. iNdEx++
  1760. wire |= (uint64(b) & 0x7F) << shift
  1761. if b < 0x80 {
  1762. break
  1763. }
  1764. }
  1765. fieldNum := int32(wire >> 3)
  1766. wireType := int(wire & 0x7)
  1767. if wireType == 4 {
  1768. return fmt.Errorf("proto: GetConfigReq: wiretype end group for non-group")
  1769. }
  1770. if fieldNum <= 0 {
  1771. return fmt.Errorf("proto: GetConfigReq: illegal tag %d (wire type %d)", fieldNum, wire)
  1772. }
  1773. switch fieldNum {
  1774. case 1:
  1775. if wireType != 0 {
  1776. return fmt.Errorf("proto: wrong wireType = %d for field Team", wireType)
  1777. }
  1778. m.Team = 0
  1779. for shift := uint(0); ; shift += 7 {
  1780. if shift >= 64 {
  1781. return ErrIntOverflowGaea
  1782. }
  1783. if iNdEx >= l {
  1784. return io.ErrUnexpectedEOF
  1785. }
  1786. b := dAtA[iNdEx]
  1787. iNdEx++
  1788. m.Team |= (int64(b) & 0x7F) << shift
  1789. if b < 0x80 {
  1790. break
  1791. }
  1792. }
  1793. case 2:
  1794. if wireType != 2 {
  1795. return fmt.Errorf("proto: wrong wireType = %d for field Keyword", wireType)
  1796. }
  1797. var stringLen uint64
  1798. for shift := uint(0); ; shift += 7 {
  1799. if shift >= 64 {
  1800. return ErrIntOverflowGaea
  1801. }
  1802. if iNdEx >= l {
  1803. return io.ErrUnexpectedEOF
  1804. }
  1805. b := dAtA[iNdEx]
  1806. iNdEx++
  1807. stringLen |= (uint64(b) & 0x7F) << shift
  1808. if b < 0x80 {
  1809. break
  1810. }
  1811. }
  1812. intStringLen := int(stringLen)
  1813. if intStringLen < 0 {
  1814. return ErrInvalidLengthGaea
  1815. }
  1816. postIndex := iNdEx + intStringLen
  1817. if postIndex > l {
  1818. return io.ErrUnexpectedEOF
  1819. }
  1820. m.Keyword = string(dAtA[iNdEx:postIndex])
  1821. iNdEx = postIndex
  1822. case 3:
  1823. if wireType != 0 {
  1824. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  1825. }
  1826. m.Id = 0
  1827. for shift := uint(0); ; shift += 7 {
  1828. if shift >= 64 {
  1829. return ErrIntOverflowGaea
  1830. }
  1831. if iNdEx >= l {
  1832. return io.ErrUnexpectedEOF
  1833. }
  1834. b := dAtA[iNdEx]
  1835. iNdEx++
  1836. m.Id |= (int64(b) & 0x7F) << shift
  1837. if b < 0x80 {
  1838. break
  1839. }
  1840. }
  1841. default:
  1842. iNdEx = preIndex
  1843. skippy, err := skipGaea(dAtA[iNdEx:])
  1844. if err != nil {
  1845. return err
  1846. }
  1847. if skippy < 0 {
  1848. return ErrInvalidLengthGaea
  1849. }
  1850. if (iNdEx + skippy) > l {
  1851. return io.ErrUnexpectedEOF
  1852. }
  1853. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1854. iNdEx += skippy
  1855. }
  1856. }
  1857. if iNdEx > l {
  1858. return io.ErrUnexpectedEOF
  1859. }
  1860. return nil
  1861. }
  1862. func (m *GetConfigResp) Unmarshal(dAtA []byte) error {
  1863. l := len(dAtA)
  1864. iNdEx := 0
  1865. for iNdEx < l {
  1866. preIndex := iNdEx
  1867. var wire uint64
  1868. for shift := uint(0); ; shift += 7 {
  1869. if shift >= 64 {
  1870. return ErrIntOverflowGaea
  1871. }
  1872. if iNdEx >= l {
  1873. return io.ErrUnexpectedEOF
  1874. }
  1875. b := dAtA[iNdEx]
  1876. iNdEx++
  1877. wire |= (uint64(b) & 0x7F) << shift
  1878. if b < 0x80 {
  1879. break
  1880. }
  1881. }
  1882. fieldNum := int32(wire >> 3)
  1883. wireType := int(wire & 0x7)
  1884. if wireType == 4 {
  1885. return fmt.Errorf("proto: GetConfigResp: wiretype end group for non-group")
  1886. }
  1887. if fieldNum <= 0 {
  1888. return fmt.Errorf("proto: GetConfigResp: illegal tag %d (wire type %d)", fieldNum, wire)
  1889. }
  1890. switch fieldNum {
  1891. case 1:
  1892. if wireType != 0 {
  1893. return fmt.Errorf("proto: wrong wireType = %d for field Team", wireType)
  1894. }
  1895. m.Team = 0
  1896. for shift := uint(0); ; shift += 7 {
  1897. if shift >= 64 {
  1898. return ErrIntOverflowGaea
  1899. }
  1900. if iNdEx >= l {
  1901. return io.ErrUnexpectedEOF
  1902. }
  1903. b := dAtA[iNdEx]
  1904. iNdEx++
  1905. m.Team |= (int64(b) & 0x7F) << shift
  1906. if b < 0x80 {
  1907. break
  1908. }
  1909. }
  1910. case 2:
  1911. if wireType != 2 {
  1912. return fmt.Errorf("proto: wrong wireType = %d for field Keyword", wireType)
  1913. }
  1914. var stringLen uint64
  1915. for shift := uint(0); ; shift += 7 {
  1916. if shift >= 64 {
  1917. return ErrIntOverflowGaea
  1918. }
  1919. if iNdEx >= l {
  1920. return io.ErrUnexpectedEOF
  1921. }
  1922. b := dAtA[iNdEx]
  1923. iNdEx++
  1924. stringLen |= (uint64(b) & 0x7F) << shift
  1925. if b < 0x80 {
  1926. break
  1927. }
  1928. }
  1929. intStringLen := int(stringLen)
  1930. if intStringLen < 0 {
  1931. return ErrInvalidLengthGaea
  1932. }
  1933. postIndex := iNdEx + intStringLen
  1934. if postIndex > l {
  1935. return io.ErrUnexpectedEOF
  1936. }
  1937. m.Keyword = string(dAtA[iNdEx:postIndex])
  1938. iNdEx = postIndex
  1939. case 3:
  1940. if wireType != 2 {
  1941. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  1942. }
  1943. var stringLen uint64
  1944. for shift := uint(0); ; shift += 7 {
  1945. if shift >= 64 {
  1946. return ErrIntOverflowGaea
  1947. }
  1948. if iNdEx >= l {
  1949. return io.ErrUnexpectedEOF
  1950. }
  1951. b := dAtA[iNdEx]
  1952. iNdEx++
  1953. stringLen |= (uint64(b) & 0x7F) << shift
  1954. if b < 0x80 {
  1955. break
  1956. }
  1957. }
  1958. intStringLen := int(stringLen)
  1959. if intStringLen < 0 {
  1960. return ErrInvalidLengthGaea
  1961. }
  1962. postIndex := iNdEx + intStringLen
  1963. if postIndex > l {
  1964. return io.ErrUnexpectedEOF
  1965. }
  1966. m.Value = string(dAtA[iNdEx:postIndex])
  1967. iNdEx = postIndex
  1968. case 4:
  1969. if wireType != 2 {
  1970. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  1971. }
  1972. var stringLen uint64
  1973. for shift := uint(0); ; shift += 7 {
  1974. if shift >= 64 {
  1975. return ErrIntOverflowGaea
  1976. }
  1977. if iNdEx >= l {
  1978. return io.ErrUnexpectedEOF
  1979. }
  1980. b := dAtA[iNdEx]
  1981. iNdEx++
  1982. stringLen |= (uint64(b) & 0x7F) << shift
  1983. if b < 0x80 {
  1984. break
  1985. }
  1986. }
  1987. intStringLen := int(stringLen)
  1988. if intStringLen < 0 {
  1989. return ErrInvalidLengthGaea
  1990. }
  1991. postIndex := iNdEx + intStringLen
  1992. if postIndex > l {
  1993. return io.ErrUnexpectedEOF
  1994. }
  1995. m.Name = string(dAtA[iNdEx:postIndex])
  1996. iNdEx = postIndex
  1997. case 5:
  1998. if wireType != 2 {
  1999. return fmt.Errorf("proto: wrong wireType = %d for field Ctime", wireType)
  2000. }
  2001. var stringLen uint64
  2002. for shift := uint(0); ; shift += 7 {
  2003. if shift >= 64 {
  2004. return ErrIntOverflowGaea
  2005. }
  2006. if iNdEx >= l {
  2007. return io.ErrUnexpectedEOF
  2008. }
  2009. b := dAtA[iNdEx]
  2010. iNdEx++
  2011. stringLen |= (uint64(b) & 0x7F) << shift
  2012. if b < 0x80 {
  2013. break
  2014. }
  2015. }
  2016. intStringLen := int(stringLen)
  2017. if intStringLen < 0 {
  2018. return ErrInvalidLengthGaea
  2019. }
  2020. postIndex := iNdEx + intStringLen
  2021. if postIndex > l {
  2022. return io.ErrUnexpectedEOF
  2023. }
  2024. m.Ctime = string(dAtA[iNdEx:postIndex])
  2025. iNdEx = postIndex
  2026. case 6:
  2027. if wireType != 2 {
  2028. return fmt.Errorf("proto: wrong wireType = %d for field Mtime", wireType)
  2029. }
  2030. var stringLen uint64
  2031. for shift := uint(0); ; shift += 7 {
  2032. if shift >= 64 {
  2033. return ErrIntOverflowGaea
  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 ErrInvalidLengthGaea
  2048. }
  2049. postIndex := iNdEx + intStringLen
  2050. if postIndex > l {
  2051. return io.ErrUnexpectedEOF
  2052. }
  2053. m.Mtime = string(dAtA[iNdEx:postIndex])
  2054. iNdEx = postIndex
  2055. case 7:
  2056. if wireType != 0 {
  2057. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  2058. }
  2059. m.Status = 0
  2060. for shift := uint(0); ; shift += 7 {
  2061. if shift >= 64 {
  2062. return ErrIntOverflowGaea
  2063. }
  2064. if iNdEx >= l {
  2065. return io.ErrUnexpectedEOF
  2066. }
  2067. b := dAtA[iNdEx]
  2068. iNdEx++
  2069. m.Status |= (int64(b) & 0x7F) << shift
  2070. if b < 0x80 {
  2071. break
  2072. }
  2073. }
  2074. case 8:
  2075. if wireType != 0 {
  2076. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  2077. }
  2078. m.Id = 0
  2079. for shift := uint(0); ; shift += 7 {
  2080. if shift >= 64 {
  2081. return ErrIntOverflowGaea
  2082. }
  2083. if iNdEx >= l {
  2084. return io.ErrUnexpectedEOF
  2085. }
  2086. b := dAtA[iNdEx]
  2087. iNdEx++
  2088. m.Id |= (int64(b) & 0x7F) << shift
  2089. if b < 0x80 {
  2090. break
  2091. }
  2092. }
  2093. default:
  2094. iNdEx = preIndex
  2095. skippy, err := skipGaea(dAtA[iNdEx:])
  2096. if err != nil {
  2097. return err
  2098. }
  2099. if skippy < 0 {
  2100. return ErrInvalidLengthGaea
  2101. }
  2102. if (iNdEx + skippy) > l {
  2103. return io.ErrUnexpectedEOF
  2104. }
  2105. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2106. iNdEx += skippy
  2107. }
  2108. }
  2109. if iNdEx > l {
  2110. return io.ErrUnexpectedEOF
  2111. }
  2112. return nil
  2113. }
  2114. func (m *SetConfigReq) Unmarshal(dAtA []byte) error {
  2115. l := len(dAtA)
  2116. iNdEx := 0
  2117. for iNdEx < l {
  2118. preIndex := iNdEx
  2119. var wire uint64
  2120. for shift := uint(0); ; shift += 7 {
  2121. if shift >= 64 {
  2122. return ErrIntOverflowGaea
  2123. }
  2124. if iNdEx >= l {
  2125. return io.ErrUnexpectedEOF
  2126. }
  2127. b := dAtA[iNdEx]
  2128. iNdEx++
  2129. wire |= (uint64(b) & 0x7F) << shift
  2130. if b < 0x80 {
  2131. break
  2132. }
  2133. }
  2134. fieldNum := int32(wire >> 3)
  2135. wireType := int(wire & 0x7)
  2136. if wireType == 4 {
  2137. return fmt.Errorf("proto: SetConfigReq: wiretype end group for non-group")
  2138. }
  2139. if fieldNum <= 0 {
  2140. return fmt.Errorf("proto: SetConfigReq: illegal tag %d (wire type %d)", fieldNum, wire)
  2141. }
  2142. switch fieldNum {
  2143. case 1:
  2144. if wireType != 0 {
  2145. return fmt.Errorf("proto: wrong wireType = %d for field Team", wireType)
  2146. }
  2147. m.Team = 0
  2148. for shift := uint(0); ; shift += 7 {
  2149. if shift >= 64 {
  2150. return ErrIntOverflowGaea
  2151. }
  2152. if iNdEx >= l {
  2153. return io.ErrUnexpectedEOF
  2154. }
  2155. b := dAtA[iNdEx]
  2156. iNdEx++
  2157. m.Team |= (int64(b) & 0x7F) << shift
  2158. if b < 0x80 {
  2159. break
  2160. }
  2161. }
  2162. case 2:
  2163. if wireType != 2 {
  2164. return fmt.Errorf("proto: wrong wireType = %d for field Keyword", wireType)
  2165. }
  2166. var stringLen uint64
  2167. for shift := uint(0); ; shift += 7 {
  2168. if shift >= 64 {
  2169. return ErrIntOverflowGaea
  2170. }
  2171. if iNdEx >= l {
  2172. return io.ErrUnexpectedEOF
  2173. }
  2174. b := dAtA[iNdEx]
  2175. iNdEx++
  2176. stringLen |= (uint64(b) & 0x7F) << shift
  2177. if b < 0x80 {
  2178. break
  2179. }
  2180. }
  2181. intStringLen := int(stringLen)
  2182. if intStringLen < 0 {
  2183. return ErrInvalidLengthGaea
  2184. }
  2185. postIndex := iNdEx + intStringLen
  2186. if postIndex > l {
  2187. return io.ErrUnexpectedEOF
  2188. }
  2189. m.Keyword = string(dAtA[iNdEx:postIndex])
  2190. iNdEx = postIndex
  2191. case 3:
  2192. if wireType != 2 {
  2193. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  2194. }
  2195. var stringLen uint64
  2196. for shift := uint(0); ; shift += 7 {
  2197. if shift >= 64 {
  2198. return ErrIntOverflowGaea
  2199. }
  2200. if iNdEx >= l {
  2201. return io.ErrUnexpectedEOF
  2202. }
  2203. b := dAtA[iNdEx]
  2204. iNdEx++
  2205. stringLen |= (uint64(b) & 0x7F) << shift
  2206. if b < 0x80 {
  2207. break
  2208. }
  2209. }
  2210. intStringLen := int(stringLen)
  2211. if intStringLen < 0 {
  2212. return ErrInvalidLengthGaea
  2213. }
  2214. postIndex := iNdEx + intStringLen
  2215. if postIndex > l {
  2216. return io.ErrUnexpectedEOF
  2217. }
  2218. m.Value = string(dAtA[iNdEx:postIndex])
  2219. iNdEx = postIndex
  2220. case 4:
  2221. if wireType != 2 {
  2222. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  2223. }
  2224. var stringLen uint64
  2225. for shift := uint(0); ; shift += 7 {
  2226. if shift >= 64 {
  2227. return ErrIntOverflowGaea
  2228. }
  2229. if iNdEx >= l {
  2230. return io.ErrUnexpectedEOF
  2231. }
  2232. b := dAtA[iNdEx]
  2233. iNdEx++
  2234. stringLen |= (uint64(b) & 0x7F) << shift
  2235. if b < 0x80 {
  2236. break
  2237. }
  2238. }
  2239. intStringLen := int(stringLen)
  2240. if intStringLen < 0 {
  2241. return ErrInvalidLengthGaea
  2242. }
  2243. postIndex := iNdEx + intStringLen
  2244. if postIndex > l {
  2245. return io.ErrUnexpectedEOF
  2246. }
  2247. m.Name = string(dAtA[iNdEx:postIndex])
  2248. iNdEx = postIndex
  2249. case 5:
  2250. if wireType != 0 {
  2251. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  2252. }
  2253. m.Id = 0
  2254. for shift := uint(0); ; shift += 7 {
  2255. if shift >= 64 {
  2256. return ErrIntOverflowGaea
  2257. }
  2258. if iNdEx >= l {
  2259. return io.ErrUnexpectedEOF
  2260. }
  2261. b := dAtA[iNdEx]
  2262. iNdEx++
  2263. m.Id |= (int64(b) & 0x7F) << shift
  2264. if b < 0x80 {
  2265. break
  2266. }
  2267. }
  2268. case 6:
  2269. if wireType != 0 {
  2270. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  2271. }
  2272. m.Status = 0
  2273. for shift := uint(0); ; shift += 7 {
  2274. if shift >= 64 {
  2275. return ErrIntOverflowGaea
  2276. }
  2277. if iNdEx >= l {
  2278. return io.ErrUnexpectedEOF
  2279. }
  2280. b := dAtA[iNdEx]
  2281. iNdEx++
  2282. m.Status |= (int64(b) & 0x7F) << shift
  2283. if b < 0x80 {
  2284. break
  2285. }
  2286. }
  2287. default:
  2288. iNdEx = preIndex
  2289. skippy, err := skipGaea(dAtA[iNdEx:])
  2290. if err != nil {
  2291. return err
  2292. }
  2293. if skippy < 0 {
  2294. return ErrInvalidLengthGaea
  2295. }
  2296. if (iNdEx + skippy) > l {
  2297. return io.ErrUnexpectedEOF
  2298. }
  2299. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2300. iNdEx += skippy
  2301. }
  2302. }
  2303. if iNdEx > l {
  2304. return io.ErrUnexpectedEOF
  2305. }
  2306. return nil
  2307. }
  2308. func (m *SetConfigResp) Unmarshal(dAtA []byte) error {
  2309. l := len(dAtA)
  2310. iNdEx := 0
  2311. for iNdEx < l {
  2312. preIndex := iNdEx
  2313. var wire uint64
  2314. for shift := uint(0); ; shift += 7 {
  2315. if shift >= 64 {
  2316. return ErrIntOverflowGaea
  2317. }
  2318. if iNdEx >= l {
  2319. return io.ErrUnexpectedEOF
  2320. }
  2321. b := dAtA[iNdEx]
  2322. iNdEx++
  2323. wire |= (uint64(b) & 0x7F) << shift
  2324. if b < 0x80 {
  2325. break
  2326. }
  2327. }
  2328. fieldNum := int32(wire >> 3)
  2329. wireType := int(wire & 0x7)
  2330. if wireType == 4 {
  2331. return fmt.Errorf("proto: SetConfigResp: wiretype end group for non-group")
  2332. }
  2333. if fieldNum <= 0 {
  2334. return fmt.Errorf("proto: SetConfigResp: illegal tag %d (wire type %d)", fieldNum, wire)
  2335. }
  2336. switch fieldNum {
  2337. case 1:
  2338. if wireType != 0 {
  2339. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  2340. }
  2341. m.Id = 0
  2342. for shift := uint(0); ; shift += 7 {
  2343. if shift >= 64 {
  2344. return ErrIntOverflowGaea
  2345. }
  2346. if iNdEx >= l {
  2347. return io.ErrUnexpectedEOF
  2348. }
  2349. b := dAtA[iNdEx]
  2350. iNdEx++
  2351. m.Id |= (int64(b) & 0x7F) << shift
  2352. if b < 0x80 {
  2353. break
  2354. }
  2355. }
  2356. default:
  2357. iNdEx = preIndex
  2358. skippy, err := skipGaea(dAtA[iNdEx:])
  2359. if err != nil {
  2360. return err
  2361. }
  2362. if skippy < 0 {
  2363. return ErrInvalidLengthGaea
  2364. }
  2365. if (iNdEx + skippy) > l {
  2366. return io.ErrUnexpectedEOF
  2367. }
  2368. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2369. iNdEx += skippy
  2370. }
  2371. }
  2372. if iNdEx > l {
  2373. return io.ErrUnexpectedEOF
  2374. }
  2375. return nil
  2376. }
  2377. func (m *ParamsConfigReq) Unmarshal(dAtA []byte) error {
  2378. l := len(dAtA)
  2379. iNdEx := 0
  2380. for iNdEx < l {
  2381. preIndex := iNdEx
  2382. var wire uint64
  2383. for shift := uint(0); ; shift += 7 {
  2384. if shift >= 64 {
  2385. return ErrIntOverflowGaea
  2386. }
  2387. if iNdEx >= l {
  2388. return io.ErrUnexpectedEOF
  2389. }
  2390. b := dAtA[iNdEx]
  2391. iNdEx++
  2392. wire |= (uint64(b) & 0x7F) << shift
  2393. if b < 0x80 {
  2394. break
  2395. }
  2396. }
  2397. fieldNum := int32(wire >> 3)
  2398. wireType := int(wire & 0x7)
  2399. if wireType == 4 {
  2400. return fmt.Errorf("proto: ParamsConfigReq: wiretype end group for non-group")
  2401. }
  2402. if fieldNum <= 0 {
  2403. return fmt.Errorf("proto: ParamsConfigReq: illegal tag %d (wire type %d)", fieldNum, wire)
  2404. }
  2405. switch fieldNum {
  2406. case 1:
  2407. if wireType != 0 {
  2408. return fmt.Errorf("proto: wrong wireType = %d for field Team", wireType)
  2409. }
  2410. m.Team = 0
  2411. for shift := uint(0); ; shift += 7 {
  2412. if shift >= 64 {
  2413. return ErrIntOverflowGaea
  2414. }
  2415. if iNdEx >= l {
  2416. return io.ErrUnexpectedEOF
  2417. }
  2418. b := dAtA[iNdEx]
  2419. iNdEx++
  2420. m.Team |= (int64(b) & 0x7F) << shift
  2421. if b < 0x80 {
  2422. break
  2423. }
  2424. }
  2425. case 2:
  2426. if wireType != 2 {
  2427. return fmt.Errorf("proto: wrong wireType = %d for field Keyword", wireType)
  2428. }
  2429. var stringLen uint64
  2430. for shift := uint(0); ; shift += 7 {
  2431. if shift >= 64 {
  2432. return ErrIntOverflowGaea
  2433. }
  2434. if iNdEx >= l {
  2435. return io.ErrUnexpectedEOF
  2436. }
  2437. b := dAtA[iNdEx]
  2438. iNdEx++
  2439. stringLen |= (uint64(b) & 0x7F) << shift
  2440. if b < 0x80 {
  2441. break
  2442. }
  2443. }
  2444. intStringLen := int(stringLen)
  2445. if intStringLen < 0 {
  2446. return ErrInvalidLengthGaea
  2447. }
  2448. postIndex := iNdEx + intStringLen
  2449. if postIndex > l {
  2450. return io.ErrUnexpectedEOF
  2451. }
  2452. m.Keyword = string(dAtA[iNdEx:postIndex])
  2453. iNdEx = postIndex
  2454. case 3:
  2455. if wireType != 2 {
  2456. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  2457. }
  2458. var stringLen uint64
  2459. for shift := uint(0); ; shift += 7 {
  2460. if shift >= 64 {
  2461. return ErrIntOverflowGaea
  2462. }
  2463. if iNdEx >= l {
  2464. return io.ErrUnexpectedEOF
  2465. }
  2466. b := dAtA[iNdEx]
  2467. iNdEx++
  2468. stringLen |= (uint64(b) & 0x7F) << shift
  2469. if b < 0x80 {
  2470. break
  2471. }
  2472. }
  2473. intStringLen := int(stringLen)
  2474. if intStringLen < 0 {
  2475. return ErrInvalidLengthGaea
  2476. }
  2477. postIndex := iNdEx + intStringLen
  2478. if postIndex > l {
  2479. return io.ErrUnexpectedEOF
  2480. }
  2481. m.Name = string(dAtA[iNdEx:postIndex])
  2482. iNdEx = postIndex
  2483. case 4:
  2484. if wireType != 0 {
  2485. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  2486. }
  2487. m.Status = 0
  2488. for shift := uint(0); ; shift += 7 {
  2489. if shift >= 64 {
  2490. return ErrIntOverflowGaea
  2491. }
  2492. if iNdEx >= l {
  2493. return io.ErrUnexpectedEOF
  2494. }
  2495. b := dAtA[iNdEx]
  2496. iNdEx++
  2497. m.Status |= (int64(b) & 0x7F) << shift
  2498. if b < 0x80 {
  2499. break
  2500. }
  2501. }
  2502. case 5:
  2503. if wireType != 0 {
  2504. return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
  2505. }
  2506. m.Page = 0
  2507. for shift := uint(0); ; shift += 7 {
  2508. if shift >= 64 {
  2509. return ErrIntOverflowGaea
  2510. }
  2511. if iNdEx >= l {
  2512. return io.ErrUnexpectedEOF
  2513. }
  2514. b := dAtA[iNdEx]
  2515. iNdEx++
  2516. m.Page |= (int64(b) & 0x7F) << shift
  2517. if b < 0x80 {
  2518. break
  2519. }
  2520. }
  2521. case 6:
  2522. if wireType != 0 {
  2523. return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType)
  2524. }
  2525. m.PageSize = 0
  2526. for shift := uint(0); ; shift += 7 {
  2527. if shift >= 64 {
  2528. return ErrIntOverflowGaea
  2529. }
  2530. if iNdEx >= l {
  2531. return io.ErrUnexpectedEOF
  2532. }
  2533. b := dAtA[iNdEx]
  2534. iNdEx++
  2535. m.PageSize |= (int64(b) & 0x7F) << shift
  2536. if b < 0x80 {
  2537. break
  2538. }
  2539. }
  2540. case 7:
  2541. if wireType != 0 {
  2542. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  2543. }
  2544. m.Id = 0
  2545. for shift := uint(0); ; shift += 7 {
  2546. if shift >= 64 {
  2547. return ErrIntOverflowGaea
  2548. }
  2549. if iNdEx >= l {
  2550. return io.ErrUnexpectedEOF
  2551. }
  2552. b := dAtA[iNdEx]
  2553. iNdEx++
  2554. m.Id |= (int64(b) & 0x7F) << shift
  2555. if b < 0x80 {
  2556. break
  2557. }
  2558. }
  2559. default:
  2560. iNdEx = preIndex
  2561. skippy, err := skipGaea(dAtA[iNdEx:])
  2562. if err != nil {
  2563. return err
  2564. }
  2565. if skippy < 0 {
  2566. return ErrInvalidLengthGaea
  2567. }
  2568. if (iNdEx + skippy) > l {
  2569. return io.ErrUnexpectedEOF
  2570. }
  2571. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2572. iNdEx += skippy
  2573. }
  2574. }
  2575. if iNdEx > l {
  2576. return io.ErrUnexpectedEOF
  2577. }
  2578. return nil
  2579. }
  2580. func (m *ParamsConfigResp) Unmarshal(dAtA []byte) error {
  2581. l := len(dAtA)
  2582. iNdEx := 0
  2583. for iNdEx < l {
  2584. preIndex := iNdEx
  2585. var wire uint64
  2586. for shift := uint(0); ; shift += 7 {
  2587. if shift >= 64 {
  2588. return ErrIntOverflowGaea
  2589. }
  2590. if iNdEx >= l {
  2591. return io.ErrUnexpectedEOF
  2592. }
  2593. b := dAtA[iNdEx]
  2594. iNdEx++
  2595. wire |= (uint64(b) & 0x7F) << shift
  2596. if b < 0x80 {
  2597. break
  2598. }
  2599. }
  2600. fieldNum := int32(wire >> 3)
  2601. wireType := int(wire & 0x7)
  2602. if wireType == 4 {
  2603. return fmt.Errorf("proto: ParamsConfigResp: wiretype end group for non-group")
  2604. }
  2605. if fieldNum <= 0 {
  2606. return fmt.Errorf("proto: ParamsConfigResp: illegal tag %d (wire type %d)", fieldNum, wire)
  2607. }
  2608. switch fieldNum {
  2609. case 1:
  2610. if wireType != 2 {
  2611. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  2612. }
  2613. var msglen int
  2614. for shift := uint(0); ; shift += 7 {
  2615. if shift >= 64 {
  2616. return ErrIntOverflowGaea
  2617. }
  2618. if iNdEx >= l {
  2619. return io.ErrUnexpectedEOF
  2620. }
  2621. b := dAtA[iNdEx]
  2622. iNdEx++
  2623. msglen |= (int(b) & 0x7F) << shift
  2624. if b < 0x80 {
  2625. break
  2626. }
  2627. }
  2628. if msglen < 0 {
  2629. return ErrInvalidLengthGaea
  2630. }
  2631. postIndex := iNdEx + msglen
  2632. if postIndex > l {
  2633. return io.ErrUnexpectedEOF
  2634. }
  2635. m.List = append(m.List, &List{})
  2636. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2637. return err
  2638. }
  2639. iNdEx = postIndex
  2640. case 2:
  2641. if wireType != 0 {
  2642. return fmt.Errorf("proto: wrong wireType = %d for field TotalNum", wireType)
  2643. }
  2644. m.TotalNum = 0
  2645. for shift := uint(0); ; shift += 7 {
  2646. if shift >= 64 {
  2647. return ErrIntOverflowGaea
  2648. }
  2649. if iNdEx >= l {
  2650. return io.ErrUnexpectedEOF
  2651. }
  2652. b := dAtA[iNdEx]
  2653. iNdEx++
  2654. m.TotalNum |= (int64(b) & 0x7F) << shift
  2655. if b < 0x80 {
  2656. break
  2657. }
  2658. }
  2659. default:
  2660. iNdEx = preIndex
  2661. skippy, err := skipGaea(dAtA[iNdEx:])
  2662. if err != nil {
  2663. return err
  2664. }
  2665. if skippy < 0 {
  2666. return ErrInvalidLengthGaea
  2667. }
  2668. if (iNdEx + skippy) > l {
  2669. return io.ErrUnexpectedEOF
  2670. }
  2671. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2672. iNdEx += skippy
  2673. }
  2674. }
  2675. if iNdEx > l {
  2676. return io.ErrUnexpectedEOF
  2677. }
  2678. return nil
  2679. }
  2680. func (m *TeamConfigReq) Unmarshal(dAtA []byte) error {
  2681. l := len(dAtA)
  2682. iNdEx := 0
  2683. for iNdEx < l {
  2684. preIndex := iNdEx
  2685. var wire uint64
  2686. for shift := uint(0); ; shift += 7 {
  2687. if shift >= 64 {
  2688. return ErrIntOverflowGaea
  2689. }
  2690. if iNdEx >= l {
  2691. return io.ErrUnexpectedEOF
  2692. }
  2693. b := dAtA[iNdEx]
  2694. iNdEx++
  2695. wire |= (uint64(b) & 0x7F) << shift
  2696. if b < 0x80 {
  2697. break
  2698. }
  2699. }
  2700. fieldNum := int32(wire >> 3)
  2701. wireType := int(wire & 0x7)
  2702. if wireType == 4 {
  2703. return fmt.Errorf("proto: TeamConfigReq: wiretype end group for non-group")
  2704. }
  2705. if fieldNum <= 0 {
  2706. return fmt.Errorf("proto: TeamConfigReq: illegal tag %d (wire type %d)", fieldNum, wire)
  2707. }
  2708. switch fieldNum {
  2709. case 1:
  2710. if wireType != 2 {
  2711. return fmt.Errorf("proto: wrong wireType = %d for field Team", wireType)
  2712. }
  2713. var stringLen uint64
  2714. for shift := uint(0); ; shift += 7 {
  2715. if shift >= 64 {
  2716. return ErrIntOverflowGaea
  2717. }
  2718. if iNdEx >= l {
  2719. return io.ErrUnexpectedEOF
  2720. }
  2721. b := dAtA[iNdEx]
  2722. iNdEx++
  2723. stringLen |= (uint64(b) & 0x7F) << shift
  2724. if b < 0x80 {
  2725. break
  2726. }
  2727. }
  2728. intStringLen := int(stringLen)
  2729. if intStringLen < 0 {
  2730. return ErrInvalidLengthGaea
  2731. }
  2732. postIndex := iNdEx + intStringLen
  2733. if postIndex > l {
  2734. return io.ErrUnexpectedEOF
  2735. }
  2736. m.Team = string(dAtA[iNdEx:postIndex])
  2737. iNdEx = postIndex
  2738. case 2:
  2739. if wireType != 0 {
  2740. return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
  2741. }
  2742. m.Page = 0
  2743. for shift := uint(0); ; shift += 7 {
  2744. if shift >= 64 {
  2745. return ErrIntOverflowGaea
  2746. }
  2747. if iNdEx >= l {
  2748. return io.ErrUnexpectedEOF
  2749. }
  2750. b := dAtA[iNdEx]
  2751. iNdEx++
  2752. m.Page |= (int64(b) & 0x7F) << shift
  2753. if b < 0x80 {
  2754. break
  2755. }
  2756. }
  2757. case 3:
  2758. if wireType != 0 {
  2759. return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType)
  2760. }
  2761. m.PageSize = 0
  2762. for shift := uint(0); ; shift += 7 {
  2763. if shift >= 64 {
  2764. return ErrIntOverflowGaea
  2765. }
  2766. if iNdEx >= l {
  2767. return io.ErrUnexpectedEOF
  2768. }
  2769. b := dAtA[iNdEx]
  2770. iNdEx++
  2771. m.PageSize |= (int64(b) & 0x7F) << shift
  2772. if b < 0x80 {
  2773. break
  2774. }
  2775. }
  2776. default:
  2777. iNdEx = preIndex
  2778. skippy, err := skipGaea(dAtA[iNdEx:])
  2779. if err != nil {
  2780. return err
  2781. }
  2782. if skippy < 0 {
  2783. return ErrInvalidLengthGaea
  2784. }
  2785. if (iNdEx + skippy) > l {
  2786. return io.ErrUnexpectedEOF
  2787. }
  2788. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2789. iNdEx += skippy
  2790. }
  2791. }
  2792. if iNdEx > l {
  2793. return io.ErrUnexpectedEOF
  2794. }
  2795. return nil
  2796. }
  2797. func (m *TeamConfigResp) Unmarshal(dAtA []byte) error {
  2798. l := len(dAtA)
  2799. iNdEx := 0
  2800. for iNdEx < l {
  2801. preIndex := iNdEx
  2802. var wire uint64
  2803. for shift := uint(0); ; shift += 7 {
  2804. if shift >= 64 {
  2805. return ErrIntOverflowGaea
  2806. }
  2807. if iNdEx >= l {
  2808. return io.ErrUnexpectedEOF
  2809. }
  2810. b := dAtA[iNdEx]
  2811. iNdEx++
  2812. wire |= (uint64(b) & 0x7F) << shift
  2813. if b < 0x80 {
  2814. break
  2815. }
  2816. }
  2817. fieldNum := int32(wire >> 3)
  2818. wireType := int(wire & 0x7)
  2819. if wireType == 4 {
  2820. return fmt.Errorf("proto: TeamConfigResp: wiretype end group for non-group")
  2821. }
  2822. if fieldNum <= 0 {
  2823. return fmt.Errorf("proto: TeamConfigResp: illegal tag %d (wire type %d)", fieldNum, wire)
  2824. }
  2825. switch fieldNum {
  2826. case 1:
  2827. if wireType != 2 {
  2828. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  2829. }
  2830. var msglen int
  2831. for shift := uint(0); ; shift += 7 {
  2832. if shift >= 64 {
  2833. return ErrIntOverflowGaea
  2834. }
  2835. if iNdEx >= l {
  2836. return io.ErrUnexpectedEOF
  2837. }
  2838. b := dAtA[iNdEx]
  2839. iNdEx++
  2840. msglen |= (int(b) & 0x7F) << shift
  2841. if b < 0x80 {
  2842. break
  2843. }
  2844. }
  2845. if msglen < 0 {
  2846. return ErrInvalidLengthGaea
  2847. }
  2848. postIndex := iNdEx + msglen
  2849. if postIndex > l {
  2850. return io.ErrUnexpectedEOF
  2851. }
  2852. m.List = append(m.List, &List{})
  2853. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2854. return err
  2855. }
  2856. iNdEx = postIndex
  2857. case 2:
  2858. if wireType != 0 {
  2859. return fmt.Errorf("proto: wrong wireType = %d for field TotalNum", wireType)
  2860. }
  2861. m.TotalNum = 0
  2862. for shift := uint(0); ; shift += 7 {
  2863. if shift >= 64 {
  2864. return ErrIntOverflowGaea
  2865. }
  2866. if iNdEx >= l {
  2867. return io.ErrUnexpectedEOF
  2868. }
  2869. b := dAtA[iNdEx]
  2870. iNdEx++
  2871. m.TotalNum |= (int64(b) & 0x7F) << shift
  2872. if b < 0x80 {
  2873. break
  2874. }
  2875. }
  2876. default:
  2877. iNdEx = preIndex
  2878. skippy, err := skipGaea(dAtA[iNdEx:])
  2879. if err != nil {
  2880. return err
  2881. }
  2882. if skippy < 0 {
  2883. return ErrInvalidLengthGaea
  2884. }
  2885. if (iNdEx + skippy) > l {
  2886. return io.ErrUnexpectedEOF
  2887. }
  2888. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2889. iNdEx += skippy
  2890. }
  2891. }
  2892. if iNdEx > l {
  2893. return io.ErrUnexpectedEOF
  2894. }
  2895. return nil
  2896. }
  2897. func (m *GetConfigsReq) Unmarshal(dAtA []byte) error {
  2898. l := len(dAtA)
  2899. iNdEx := 0
  2900. for iNdEx < l {
  2901. preIndex := iNdEx
  2902. var wire uint64
  2903. for shift := uint(0); ; shift += 7 {
  2904. if shift >= 64 {
  2905. return ErrIntOverflowGaea
  2906. }
  2907. if iNdEx >= l {
  2908. return io.ErrUnexpectedEOF
  2909. }
  2910. b := dAtA[iNdEx]
  2911. iNdEx++
  2912. wire |= (uint64(b) & 0x7F) << shift
  2913. if b < 0x80 {
  2914. break
  2915. }
  2916. }
  2917. fieldNum := int32(wire >> 3)
  2918. wireType := int(wire & 0x7)
  2919. if wireType == 4 {
  2920. return fmt.Errorf("proto: GetConfigsReq: wiretype end group for non-group")
  2921. }
  2922. if fieldNum <= 0 {
  2923. return fmt.Errorf("proto: GetConfigsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  2924. }
  2925. switch fieldNum {
  2926. case 1:
  2927. if wireType != 2 {
  2928. return fmt.Errorf("proto: wrong wireType = %d for field Keyword", wireType)
  2929. }
  2930. var stringLen uint64
  2931. for shift := uint(0); ; shift += 7 {
  2932. if shift >= 64 {
  2933. return ErrIntOverflowGaea
  2934. }
  2935. if iNdEx >= l {
  2936. return io.ErrUnexpectedEOF
  2937. }
  2938. b := dAtA[iNdEx]
  2939. iNdEx++
  2940. stringLen |= (uint64(b) & 0x7F) << shift
  2941. if b < 0x80 {
  2942. break
  2943. }
  2944. }
  2945. intStringLen := int(stringLen)
  2946. if intStringLen < 0 {
  2947. return ErrInvalidLengthGaea
  2948. }
  2949. postIndex := iNdEx + intStringLen
  2950. if postIndex > l {
  2951. return io.ErrUnexpectedEOF
  2952. }
  2953. m.Keyword = string(dAtA[iNdEx:postIndex])
  2954. iNdEx = postIndex
  2955. case 2:
  2956. if wireType != 0 {
  2957. return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
  2958. }
  2959. m.Page = 0
  2960. for shift := uint(0); ; shift += 7 {
  2961. if shift >= 64 {
  2962. return ErrIntOverflowGaea
  2963. }
  2964. if iNdEx >= l {
  2965. return io.ErrUnexpectedEOF
  2966. }
  2967. b := dAtA[iNdEx]
  2968. iNdEx++
  2969. m.Page |= (int64(b) & 0x7F) << shift
  2970. if b < 0x80 {
  2971. break
  2972. }
  2973. }
  2974. case 3:
  2975. if wireType != 0 {
  2976. return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType)
  2977. }
  2978. m.PageSize = 0
  2979. for shift := uint(0); ; shift += 7 {
  2980. if shift >= 64 {
  2981. return ErrIntOverflowGaea
  2982. }
  2983. if iNdEx >= l {
  2984. return io.ErrUnexpectedEOF
  2985. }
  2986. b := dAtA[iNdEx]
  2987. iNdEx++
  2988. m.PageSize |= (int64(b) & 0x7F) << shift
  2989. if b < 0x80 {
  2990. break
  2991. }
  2992. }
  2993. default:
  2994. iNdEx = preIndex
  2995. skippy, err := skipGaea(dAtA[iNdEx:])
  2996. if err != nil {
  2997. return err
  2998. }
  2999. if skippy < 0 {
  3000. return ErrInvalidLengthGaea
  3001. }
  3002. if (iNdEx + skippy) > l {
  3003. return io.ErrUnexpectedEOF
  3004. }
  3005. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3006. iNdEx += skippy
  3007. }
  3008. }
  3009. if iNdEx > l {
  3010. return io.ErrUnexpectedEOF
  3011. }
  3012. return nil
  3013. }
  3014. func (m *GetConfigsResp) Unmarshal(dAtA []byte) error {
  3015. l := len(dAtA)
  3016. iNdEx := 0
  3017. for iNdEx < l {
  3018. preIndex := iNdEx
  3019. var wire uint64
  3020. for shift := uint(0); ; shift += 7 {
  3021. if shift >= 64 {
  3022. return ErrIntOverflowGaea
  3023. }
  3024. if iNdEx >= l {
  3025. return io.ErrUnexpectedEOF
  3026. }
  3027. b := dAtA[iNdEx]
  3028. iNdEx++
  3029. wire |= (uint64(b) & 0x7F) << shift
  3030. if b < 0x80 {
  3031. break
  3032. }
  3033. }
  3034. fieldNum := int32(wire >> 3)
  3035. wireType := int(wire & 0x7)
  3036. if wireType == 4 {
  3037. return fmt.Errorf("proto: GetConfigsResp: wiretype end group for non-group")
  3038. }
  3039. if fieldNum <= 0 {
  3040. return fmt.Errorf("proto: GetConfigsResp: illegal tag %d (wire type %d)", fieldNum, wire)
  3041. }
  3042. switch fieldNum {
  3043. case 1:
  3044. if wireType != 2 {
  3045. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  3046. }
  3047. var msglen int
  3048. for shift := uint(0); ; shift += 7 {
  3049. if shift >= 64 {
  3050. return ErrIntOverflowGaea
  3051. }
  3052. if iNdEx >= l {
  3053. return io.ErrUnexpectedEOF
  3054. }
  3055. b := dAtA[iNdEx]
  3056. iNdEx++
  3057. msglen |= (int(b) & 0x7F) << shift
  3058. if b < 0x80 {
  3059. break
  3060. }
  3061. }
  3062. if msglen < 0 {
  3063. return ErrInvalidLengthGaea
  3064. }
  3065. postIndex := iNdEx + msglen
  3066. if postIndex > l {
  3067. return io.ErrUnexpectedEOF
  3068. }
  3069. m.List = append(m.List, &List{})
  3070. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3071. return err
  3072. }
  3073. iNdEx = postIndex
  3074. case 2:
  3075. if wireType != 0 {
  3076. return fmt.Errorf("proto: wrong wireType = %d for field TotalNum", wireType)
  3077. }
  3078. m.TotalNum = 0
  3079. for shift := uint(0); ; shift += 7 {
  3080. if shift >= 64 {
  3081. return ErrIntOverflowGaea
  3082. }
  3083. if iNdEx >= l {
  3084. return io.ErrUnexpectedEOF
  3085. }
  3086. b := dAtA[iNdEx]
  3087. iNdEx++
  3088. m.TotalNum |= (int64(b) & 0x7F) << shift
  3089. if b < 0x80 {
  3090. break
  3091. }
  3092. }
  3093. default:
  3094. iNdEx = preIndex
  3095. skippy, err := skipGaea(dAtA[iNdEx:])
  3096. if err != nil {
  3097. return err
  3098. }
  3099. if skippy < 0 {
  3100. return ErrInvalidLengthGaea
  3101. }
  3102. if (iNdEx + skippy) > l {
  3103. return io.ErrUnexpectedEOF
  3104. }
  3105. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3106. iNdEx += skippy
  3107. }
  3108. }
  3109. if iNdEx > l {
  3110. return io.ErrUnexpectedEOF
  3111. }
  3112. return nil
  3113. }
  3114. func (m *List) Unmarshal(dAtA []byte) error {
  3115. l := len(dAtA)
  3116. iNdEx := 0
  3117. for iNdEx < l {
  3118. preIndex := iNdEx
  3119. var wire uint64
  3120. for shift := uint(0); ; shift += 7 {
  3121. if shift >= 64 {
  3122. return ErrIntOverflowGaea
  3123. }
  3124. if iNdEx >= l {
  3125. return io.ErrUnexpectedEOF
  3126. }
  3127. b := dAtA[iNdEx]
  3128. iNdEx++
  3129. wire |= (uint64(b) & 0x7F) << shift
  3130. if b < 0x80 {
  3131. break
  3132. }
  3133. }
  3134. fieldNum := int32(wire >> 3)
  3135. wireType := int(wire & 0x7)
  3136. if wireType == 4 {
  3137. return fmt.Errorf("proto: List: wiretype end group for non-group")
  3138. }
  3139. if fieldNum <= 0 {
  3140. return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
  3141. }
  3142. switch fieldNum {
  3143. case 1:
  3144. if wireType != 0 {
  3145. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  3146. }
  3147. m.Id = 0
  3148. for shift := uint(0); ; shift += 7 {
  3149. if shift >= 64 {
  3150. return ErrIntOverflowGaea
  3151. }
  3152. if iNdEx >= l {
  3153. return io.ErrUnexpectedEOF
  3154. }
  3155. b := dAtA[iNdEx]
  3156. iNdEx++
  3157. m.Id |= (int64(b) & 0x7F) << shift
  3158. if b < 0x80 {
  3159. break
  3160. }
  3161. }
  3162. case 2:
  3163. if wireType != 0 {
  3164. return fmt.Errorf("proto: wrong wireType = %d for field Team", wireType)
  3165. }
  3166. m.Team = 0
  3167. for shift := uint(0); ; shift += 7 {
  3168. if shift >= 64 {
  3169. return ErrIntOverflowGaea
  3170. }
  3171. if iNdEx >= l {
  3172. return io.ErrUnexpectedEOF
  3173. }
  3174. b := dAtA[iNdEx]
  3175. iNdEx++
  3176. m.Team |= (int64(b) & 0x7F) << shift
  3177. if b < 0x80 {
  3178. break
  3179. }
  3180. }
  3181. case 3:
  3182. if wireType != 2 {
  3183. return fmt.Errorf("proto: wrong wireType = %d for field Keyword", wireType)
  3184. }
  3185. var stringLen uint64
  3186. for shift := uint(0); ; shift += 7 {
  3187. if shift >= 64 {
  3188. return ErrIntOverflowGaea
  3189. }
  3190. if iNdEx >= l {
  3191. return io.ErrUnexpectedEOF
  3192. }
  3193. b := dAtA[iNdEx]
  3194. iNdEx++
  3195. stringLen |= (uint64(b) & 0x7F) << shift
  3196. if b < 0x80 {
  3197. break
  3198. }
  3199. }
  3200. intStringLen := int(stringLen)
  3201. if intStringLen < 0 {
  3202. return ErrInvalidLengthGaea
  3203. }
  3204. postIndex := iNdEx + intStringLen
  3205. if postIndex > l {
  3206. return io.ErrUnexpectedEOF
  3207. }
  3208. m.Keyword = string(dAtA[iNdEx:postIndex])
  3209. iNdEx = postIndex
  3210. case 4:
  3211. if wireType != 2 {
  3212. return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  3213. }
  3214. var stringLen uint64
  3215. for shift := uint(0); ; shift += 7 {
  3216. if shift >= 64 {
  3217. return ErrIntOverflowGaea
  3218. }
  3219. if iNdEx >= l {
  3220. return io.ErrUnexpectedEOF
  3221. }
  3222. b := dAtA[iNdEx]
  3223. iNdEx++
  3224. stringLen |= (uint64(b) & 0x7F) << shift
  3225. if b < 0x80 {
  3226. break
  3227. }
  3228. }
  3229. intStringLen := int(stringLen)
  3230. if intStringLen < 0 {
  3231. return ErrInvalidLengthGaea
  3232. }
  3233. postIndex := iNdEx + intStringLen
  3234. if postIndex > l {
  3235. return io.ErrUnexpectedEOF
  3236. }
  3237. m.Value = string(dAtA[iNdEx:postIndex])
  3238. iNdEx = postIndex
  3239. case 5:
  3240. if wireType != 2 {
  3241. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  3242. }
  3243. var stringLen uint64
  3244. for shift := uint(0); ; shift += 7 {
  3245. if shift >= 64 {
  3246. return ErrIntOverflowGaea
  3247. }
  3248. if iNdEx >= l {
  3249. return io.ErrUnexpectedEOF
  3250. }
  3251. b := dAtA[iNdEx]
  3252. iNdEx++
  3253. stringLen |= (uint64(b) & 0x7F) << shift
  3254. if b < 0x80 {
  3255. break
  3256. }
  3257. }
  3258. intStringLen := int(stringLen)
  3259. if intStringLen < 0 {
  3260. return ErrInvalidLengthGaea
  3261. }
  3262. postIndex := iNdEx + intStringLen
  3263. if postIndex > l {
  3264. return io.ErrUnexpectedEOF
  3265. }
  3266. m.Name = string(dAtA[iNdEx:postIndex])
  3267. iNdEx = postIndex
  3268. case 6:
  3269. if wireType != 2 {
  3270. return fmt.Errorf("proto: wrong wireType = %d for field Ctime", wireType)
  3271. }
  3272. var stringLen uint64
  3273. for shift := uint(0); ; shift += 7 {
  3274. if shift >= 64 {
  3275. return ErrIntOverflowGaea
  3276. }
  3277. if iNdEx >= l {
  3278. return io.ErrUnexpectedEOF
  3279. }
  3280. b := dAtA[iNdEx]
  3281. iNdEx++
  3282. stringLen |= (uint64(b) & 0x7F) << shift
  3283. if b < 0x80 {
  3284. break
  3285. }
  3286. }
  3287. intStringLen := int(stringLen)
  3288. if intStringLen < 0 {
  3289. return ErrInvalidLengthGaea
  3290. }
  3291. postIndex := iNdEx + intStringLen
  3292. if postIndex > l {
  3293. return io.ErrUnexpectedEOF
  3294. }
  3295. m.Ctime = string(dAtA[iNdEx:postIndex])
  3296. iNdEx = postIndex
  3297. case 7:
  3298. if wireType != 2 {
  3299. return fmt.Errorf("proto: wrong wireType = %d for field Mtime", wireType)
  3300. }
  3301. var stringLen uint64
  3302. for shift := uint(0); ; shift += 7 {
  3303. if shift >= 64 {
  3304. return ErrIntOverflowGaea
  3305. }
  3306. if iNdEx >= l {
  3307. return io.ErrUnexpectedEOF
  3308. }
  3309. b := dAtA[iNdEx]
  3310. iNdEx++
  3311. stringLen |= (uint64(b) & 0x7F) << shift
  3312. if b < 0x80 {
  3313. break
  3314. }
  3315. }
  3316. intStringLen := int(stringLen)
  3317. if intStringLen < 0 {
  3318. return ErrInvalidLengthGaea
  3319. }
  3320. postIndex := iNdEx + intStringLen
  3321. if postIndex > l {
  3322. return io.ErrUnexpectedEOF
  3323. }
  3324. m.Mtime = string(dAtA[iNdEx:postIndex])
  3325. iNdEx = postIndex
  3326. case 8:
  3327. if wireType != 0 {
  3328. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  3329. }
  3330. m.Status = 0
  3331. for shift := uint(0); ; shift += 7 {
  3332. if shift >= 64 {
  3333. return ErrIntOverflowGaea
  3334. }
  3335. if iNdEx >= l {
  3336. return io.ErrUnexpectedEOF
  3337. }
  3338. b := dAtA[iNdEx]
  3339. iNdEx++
  3340. m.Status |= (int64(b) & 0x7F) << shift
  3341. if b < 0x80 {
  3342. break
  3343. }
  3344. }
  3345. default:
  3346. iNdEx = preIndex
  3347. skippy, err := skipGaea(dAtA[iNdEx:])
  3348. if err != nil {
  3349. return err
  3350. }
  3351. if skippy < 0 {
  3352. return ErrInvalidLengthGaea
  3353. }
  3354. if (iNdEx + skippy) > l {
  3355. return io.ErrUnexpectedEOF
  3356. }
  3357. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3358. iNdEx += skippy
  3359. }
  3360. }
  3361. if iNdEx > l {
  3362. return io.ErrUnexpectedEOF
  3363. }
  3364. return nil
  3365. }
  3366. func (m *TeamsConfigReq) Unmarshal(dAtA []byte) error {
  3367. l := len(dAtA)
  3368. iNdEx := 0
  3369. for iNdEx < l {
  3370. preIndex := iNdEx
  3371. var wire uint64
  3372. for shift := uint(0); ; shift += 7 {
  3373. if shift >= 64 {
  3374. return ErrIntOverflowGaea
  3375. }
  3376. if iNdEx >= l {
  3377. return io.ErrUnexpectedEOF
  3378. }
  3379. b := dAtA[iNdEx]
  3380. iNdEx++
  3381. wire |= (uint64(b) & 0x7F) << shift
  3382. if b < 0x80 {
  3383. break
  3384. }
  3385. }
  3386. fieldNum := int32(wire >> 3)
  3387. wireType := int(wire & 0x7)
  3388. if wireType == 4 {
  3389. return fmt.Errorf("proto: TeamsConfigReq: wiretype end group for non-group")
  3390. }
  3391. if fieldNum <= 0 {
  3392. return fmt.Errorf("proto: TeamsConfigReq: illegal tag %d (wire type %d)", fieldNum, wire)
  3393. }
  3394. switch fieldNum {
  3395. case 1:
  3396. if wireType == 0 {
  3397. var v int64
  3398. for shift := uint(0); ; shift += 7 {
  3399. if shift >= 64 {
  3400. return ErrIntOverflowGaea
  3401. }
  3402. if iNdEx >= l {
  3403. return io.ErrUnexpectedEOF
  3404. }
  3405. b := dAtA[iNdEx]
  3406. iNdEx++
  3407. v |= (int64(b) & 0x7F) << shift
  3408. if b < 0x80 {
  3409. break
  3410. }
  3411. }
  3412. m.Team = append(m.Team, v)
  3413. } else if wireType == 2 {
  3414. var packedLen int
  3415. for shift := uint(0); ; shift += 7 {
  3416. if shift >= 64 {
  3417. return ErrIntOverflowGaea
  3418. }
  3419. if iNdEx >= l {
  3420. return io.ErrUnexpectedEOF
  3421. }
  3422. b := dAtA[iNdEx]
  3423. iNdEx++
  3424. packedLen |= (int(b) & 0x7F) << shift
  3425. if b < 0x80 {
  3426. break
  3427. }
  3428. }
  3429. if packedLen < 0 {
  3430. return ErrInvalidLengthGaea
  3431. }
  3432. postIndex := iNdEx + packedLen
  3433. if postIndex > l {
  3434. return io.ErrUnexpectedEOF
  3435. }
  3436. var elementCount int
  3437. var count int
  3438. for _, integer := range dAtA {
  3439. if integer < 128 {
  3440. count++
  3441. }
  3442. }
  3443. elementCount = count
  3444. if elementCount != 0 && len(m.Team) == 0 {
  3445. m.Team = make([]int64, 0, elementCount)
  3446. }
  3447. for iNdEx < postIndex {
  3448. var v int64
  3449. for shift := uint(0); ; shift += 7 {
  3450. if shift >= 64 {
  3451. return ErrIntOverflowGaea
  3452. }
  3453. if iNdEx >= l {
  3454. return io.ErrUnexpectedEOF
  3455. }
  3456. b := dAtA[iNdEx]
  3457. iNdEx++
  3458. v |= (int64(b) & 0x7F) << shift
  3459. if b < 0x80 {
  3460. break
  3461. }
  3462. }
  3463. m.Team = append(m.Team, v)
  3464. }
  3465. } else {
  3466. return fmt.Errorf("proto: wrong wireType = %d for field Team", wireType)
  3467. }
  3468. default:
  3469. iNdEx = preIndex
  3470. skippy, err := skipGaea(dAtA[iNdEx:])
  3471. if err != nil {
  3472. return err
  3473. }
  3474. if skippy < 0 {
  3475. return ErrInvalidLengthGaea
  3476. }
  3477. if (iNdEx + skippy) > l {
  3478. return io.ErrUnexpectedEOF
  3479. }
  3480. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3481. iNdEx += skippy
  3482. }
  3483. }
  3484. if iNdEx > l {
  3485. return io.ErrUnexpectedEOF
  3486. }
  3487. return nil
  3488. }
  3489. func (m *TeamsConfigResp) Unmarshal(dAtA []byte) error {
  3490. l := len(dAtA)
  3491. iNdEx := 0
  3492. for iNdEx < l {
  3493. preIndex := iNdEx
  3494. var wire uint64
  3495. for shift := uint(0); ; shift += 7 {
  3496. if shift >= 64 {
  3497. return ErrIntOverflowGaea
  3498. }
  3499. if iNdEx >= l {
  3500. return io.ErrUnexpectedEOF
  3501. }
  3502. b := dAtA[iNdEx]
  3503. iNdEx++
  3504. wire |= (uint64(b) & 0x7F) << shift
  3505. if b < 0x80 {
  3506. break
  3507. }
  3508. }
  3509. fieldNum := int32(wire >> 3)
  3510. wireType := int(wire & 0x7)
  3511. if wireType == 4 {
  3512. return fmt.Errorf("proto: TeamsConfigResp: wiretype end group for non-group")
  3513. }
  3514. if fieldNum <= 0 {
  3515. return fmt.Errorf("proto: TeamsConfigResp: illegal tag %d (wire type %d)", fieldNum, wire)
  3516. }
  3517. switch fieldNum {
  3518. case 1:
  3519. if wireType != 2 {
  3520. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  3521. }
  3522. var stringLen uint64
  3523. for shift := uint(0); ; shift += 7 {
  3524. if shift >= 64 {
  3525. return ErrIntOverflowGaea
  3526. }
  3527. if iNdEx >= l {
  3528. return io.ErrUnexpectedEOF
  3529. }
  3530. b := dAtA[iNdEx]
  3531. iNdEx++
  3532. stringLen |= (uint64(b) & 0x7F) << shift
  3533. if b < 0x80 {
  3534. break
  3535. }
  3536. }
  3537. intStringLen := int(stringLen)
  3538. if intStringLen < 0 {
  3539. return ErrInvalidLengthGaea
  3540. }
  3541. postIndex := iNdEx + intStringLen
  3542. if postIndex > l {
  3543. return io.ErrUnexpectedEOF
  3544. }
  3545. m.List = string(dAtA[iNdEx:postIndex])
  3546. iNdEx = postIndex
  3547. default:
  3548. iNdEx = preIndex
  3549. skippy, err := skipGaea(dAtA[iNdEx:])
  3550. if err != nil {
  3551. return err
  3552. }
  3553. if skippy < 0 {
  3554. return ErrInvalidLengthGaea
  3555. }
  3556. if (iNdEx + skippy) > l {
  3557. return io.ErrUnexpectedEOF
  3558. }
  3559. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3560. iNdEx += skippy
  3561. }
  3562. }
  3563. if iNdEx > l {
  3564. return io.ErrUnexpectedEOF
  3565. }
  3566. return nil
  3567. }
  3568. func skipGaea(dAtA []byte) (n int, err error) {
  3569. l := len(dAtA)
  3570. iNdEx := 0
  3571. for iNdEx < l {
  3572. var wire uint64
  3573. for shift := uint(0); ; shift += 7 {
  3574. if shift >= 64 {
  3575. return 0, ErrIntOverflowGaea
  3576. }
  3577. if iNdEx >= l {
  3578. return 0, io.ErrUnexpectedEOF
  3579. }
  3580. b := dAtA[iNdEx]
  3581. iNdEx++
  3582. wire |= (uint64(b) & 0x7F) << shift
  3583. if b < 0x80 {
  3584. break
  3585. }
  3586. }
  3587. wireType := int(wire & 0x7)
  3588. switch wireType {
  3589. case 0:
  3590. for shift := uint(0); ; shift += 7 {
  3591. if shift >= 64 {
  3592. return 0, ErrIntOverflowGaea
  3593. }
  3594. if iNdEx >= l {
  3595. return 0, io.ErrUnexpectedEOF
  3596. }
  3597. iNdEx++
  3598. if dAtA[iNdEx-1] < 0x80 {
  3599. break
  3600. }
  3601. }
  3602. return iNdEx, nil
  3603. case 1:
  3604. iNdEx += 8
  3605. return iNdEx, nil
  3606. case 2:
  3607. var length int
  3608. for shift := uint(0); ; shift += 7 {
  3609. if shift >= 64 {
  3610. return 0, ErrIntOverflowGaea
  3611. }
  3612. if iNdEx >= l {
  3613. return 0, io.ErrUnexpectedEOF
  3614. }
  3615. b := dAtA[iNdEx]
  3616. iNdEx++
  3617. length |= (int(b) & 0x7F) << shift
  3618. if b < 0x80 {
  3619. break
  3620. }
  3621. }
  3622. iNdEx += length
  3623. if length < 0 {
  3624. return 0, ErrInvalidLengthGaea
  3625. }
  3626. return iNdEx, nil
  3627. case 3:
  3628. for {
  3629. var innerWire uint64
  3630. var start int = iNdEx
  3631. for shift := uint(0); ; shift += 7 {
  3632. if shift >= 64 {
  3633. return 0, ErrIntOverflowGaea
  3634. }
  3635. if iNdEx >= l {
  3636. return 0, io.ErrUnexpectedEOF
  3637. }
  3638. b := dAtA[iNdEx]
  3639. iNdEx++
  3640. innerWire |= (uint64(b) & 0x7F) << shift
  3641. if b < 0x80 {
  3642. break
  3643. }
  3644. }
  3645. innerWireType := int(innerWire & 0x7)
  3646. if innerWireType == 4 {
  3647. break
  3648. }
  3649. next, err := skipGaea(dAtA[start:])
  3650. if err != nil {
  3651. return 0, err
  3652. }
  3653. iNdEx = start + next
  3654. }
  3655. return iNdEx, nil
  3656. case 4:
  3657. return iNdEx, nil
  3658. case 5:
  3659. iNdEx += 4
  3660. return iNdEx, nil
  3661. default:
  3662. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  3663. }
  3664. }
  3665. panic("unreachable")
  3666. }
  3667. var (
  3668. ErrInvalidLengthGaea = fmt.Errorf("proto: negative length found during unmarshaling")
  3669. ErrIntOverflowGaea = fmt.Errorf("proto: integer overflow")
  3670. )
  3671. func init() { proto.RegisterFile("gaea.proto", fileDescriptor_gaea_50d23660558adc4f) }
  3672. var fileDescriptor_gaea_50d23660558adc4f = []byte{
  3673. // 830 bytes of a gzipped FileDescriptorProto
  3674. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x4f, 0x6f, 0xe3, 0x44,
  3675. 0x14, 0x97, 0xff, 0xe4, 0xdf, 0xb4, 0xe9, 0x9f, 0x01, 0x4a, 0x14, 0x41, 0x27, 0x4c, 0x0a, 0x04,
  3676. 0x04, 0xa9, 0x5a, 0x84, 0x2a, 0xf5, 0x84, 0x82, 0x10, 0x42, 0x42, 0x08, 0x39, 0x9c, 0x2a, 0x55,
  3677. 0xc1, 0x69, 0xa6, 0xc1, 0x22, 0x8e, 0xdd, 0x8c, 0x1d, 0xd4, 0x9e, 0x38, 0x72, 0xe5, 0x1b, 0xf0,
  3678. 0x39, 0xf8, 0x04, 0x3d, 0xee, 0x6a, 0xef, 0xd6, 0xaa, 0xc7, 0x1c, 0xfd, 0x09, 0x56, 0xf3, 0xc6,
  3679. 0x89, 0xed, 0xd4, 0x89, 0xbb, 0x5d, 0x6d, 0xb5, 0x17, 0x8f, 0xe7, 0xcd, 0xef, 0xbd, 0x79, 0xef,
  3680. 0xf7, 0x66, 0xde, 0x1b, 0x84, 0x86, 0x26, 0x33, 0xdb, 0xee, 0xc4, 0xf1, 0x1c, 0xbc, 0x3b, 0xb2,
  3681. 0xa6, 0xac, 0x2d, 0x3e, 0xe6, 0xc0, 0xb6, 0xc6, 0xed, 0xe9, 0x51, 0xfd, 0xeb, 0xa1, 0xe5, 0xfd,
  3682. 0xe1, 0xf7, 0xdb, 0x17, 0x8e, 0x7d, 0x38, 0x74, 0x86, 0xce, 0x21, 0x20, 0xfb, 0xfe, 0x25, 0xcc,
  3683. 0x60, 0x02, 0x7f, 0xd2, 0x02, 0xfd, 0x5b, 0x41, 0x9b, 0x3f, 0x32, 0xef, 0x7b, 0x67, 0x7c, 0x69,
  3684. 0x0d, 0x0d, 0x76, 0x85, 0x9b, 0x48, 0xf7, 0x98, 0x69, 0xd7, 0x94, 0x86, 0xd2, 0xd2, 0x3a, 0xdb,
  3685. 0x61, 0x40, 0x36, 0x2e, 0x9d, 0x89, 0x7d, 0x4a, 0x85, 0x94, 0x1a, 0xb0, 0x88, 0xbf, 0x42, 0xa5,
  3686. 0x3f, 0xd9, 0xf5, 0x5f, 0xce, 0x64, 0x50, 0x53, 0x1b, 0x4a, 0xab, 0xd2, 0xc1, 0x61, 0x40, 0xb6,
  3687. 0x24, 0x2e, 0x5a, 0xa0, 0xc6, 0x1c, 0x82, 0x3f, 0x46, 0xaa, 0x35, 0xa8, 0x69, 0x60, 0xb0, 0x1a,
  3688. 0x06, 0xa4, 0x22, 0x81, 0xd6, 0x80, 0x1a, 0xaa, 0x35, 0xa0, 0xff, 0xaa, 0xa8, 0x9a, 0x70, 0x81,
  3689. 0xbb, 0xf8, 0xa3, 0x94, 0x0f, 0xe5, 0x59, 0x40, 0x60, 0x1e, 0x6d, 0xfe, 0xe9, 0xf2, 0xe6, 0x1b,
  3690. 0xb3, 0x80, 0xcc, 0x45, 0xf1, 0xae, 0x04, 0x15, 0xa6, 0xe6, 0xc8, 0x67, 0xb0, 0x71, 0xa5, 0x53,
  3691. 0x99, 0x05, 0x44, 0x0a, 0x0c, 0x39, 0x88, 0x5d, 0xc6, 0xa6, 0xcd, 0x6a, 0x3a, 0xac, 0xc3, 0x2e,
  3692. 0x62, 0x6e, 0xc0, 0x57, 0xa8, 0x5f, 0x78, 0x96, 0xcd, 0x6a, 0x85, 0x58, 0x1d, 0x04, 0x86, 0x1c,
  3693. 0x04, 0xc0, 0x06, 0x40, 0x31, 0x06, 0xd8, 0x12, 0x00, 0x03, 0xa6, 0xa8, 0xc8, 0x3d, 0xd3, 0xf3,
  3694. 0x79, 0xad, 0x04, 0x71, 0xa0, 0x59, 0x40, 0x22, 0x89, 0x11, 0x8d, 0x78, 0x0f, 0xa8, 0x29, 0xc3,
  3695. 0x7a, 0x71, 0x16, 0x10, 0xd5, 0x1a, 0x00, 0x27, 0xff, 0xa9, 0x68, 0xb3, 0xfb, 0xda, 0x69, 0xf9,
  3696. 0x6e, 0x99, 0x99, 0xcf, 0xc2, 0x80, 0xd0, 0x74, 0x5a, 0x1a, 0x53, 0x73, 0x64, 0x0d, 0x4c, 0x8f,
  3697. 0x9d, 0xd2, 0x09, 0xbb, 0xf2, 0xad, 0x09, 0x4b, 0xa6, 0xea, 0x34, 0x4d, 0xda, 0x41, 0x18, 0x90,
  3698. 0x86, 0xd4, 0x07, 0x71, 0xb6, 0x76, 0xc4, 0x67, 0x33, 0xc5, 0x67, 0xc2, 0x45, 0x21, 0xa5, 0x11,
  3699. 0xad, 0xf2, 0x2c, 0x14, 0x56, 0x9c, 0x05, 0xfc, 0xc5, 0x82, 0xb3, 0x22, 0x40, 0x76, 0xc3, 0x80,
  3700. 0x54, 0x25, 0x44, 0xca, 0xe9, 0x9c, 0x3a, 0xfa, 0x39, 0xaa, 0x76, 0x53, 0xa7, 0x46, 0x72, 0xa9,
  3701. 0xdc, 0xe3, 0xf2, 0x85, 0x8a, 0xb6, 0x7f, 0x35, 0x27, 0xa6, 0xcd, 0xdf, 0xea, 0x29, 0x9f, 0x87,
  3702. 0xaf, 0xad, 0x0b, 0x3f, 0x8e, 0x4f, 0xcf, 0x89, 0x0f, 0x9f, 0x20, 0xdd, 0x35, 0x87, 0x2c, 0xe2,
  3703. 0xaa, 0x19, 0x06, 0x84, 0x48, 0xa0, 0x90, 0x66, 0x27, 0x02, 0x14, 0xf0, 0x0f, 0xa8, 0x22, 0xc6,
  3704. 0x1e, 0xb7, 0x6e, 0x58, 0x44, 0x63, 0x2b, 0x0c, 0xc8, 0x41, 0xac, 0x0d, 0x4b, 0xd9, 0x26, 0xca,
  3705. 0x62, 0xbd, 0x6b, 0xdd, 0xcc, 0x33, 0x55, 0x5a, 0x75, 0x6b, 0x7d, 0xb4, 0x93, 0x26, 0x95, 0xbb,
  3706. 0xf8, 0x5b, 0xa4, 0x8f, 0x2c, 0xee, 0xd5, 0x94, 0x86, 0xd6, 0xda, 0x38, 0xfe, 0xb0, 0x7d, 0xaf,
  3707. 0x3a, 0xb5, 0x7f, 0xb6, 0xb8, 0x27, 0xaf, 0x9a, 0x00, 0x1a, 0xf0, 0xc5, 0x5f, 0xa2, 0x8a, 0xe7,
  3708. 0x78, 0xe6, 0xa8, 0x37, 0xf6, 0x6d, 0x60, 0x5a, 0xeb, 0x54, 0x67, 0x01, 0x89, 0x85, 0x46, 0x19,
  3709. 0x7e, 0x7f, 0xf1, 0x6d, 0x7a, 0xab, 0xa0, 0xea, 0x6f, 0xcc, 0xb4, 0xe3, 0x54, 0x9e, 0x24, 0x52,
  3710. 0x59, 0x49, 0xf2, 0x04, 0xa9, 0xcc, 0xe6, 0x09, 0xd2, 0x3b, 0x27, 0x58, 0x7d, 0x23, 0x82, 0xb5,
  3711. 0xc7, 0x12, 0x4c, 0x39, 0xda, 0x4a, 0x46, 0xf2, 0x34, 0xfc, 0x3d, 0x57, 0x12, 0xc5, 0x96, 0x0b,
  3712. 0xfe, 0x12, 0x45, 0x43, 0x79, 0x5c, 0xd1, 0x78, 0x07, 0x88, 0x4c, 0x86, 0xf4, 0x34, 0x44, 0xfe,
  3713. 0xa3, 0x22, 0x5d, 0x18, 0x59, 0x55, 0x76, 0x16, 0x4d, 0x4c, 0xcd, 0x6b, 0x62, 0xda, 0x43, 0x9a,
  3714. 0x98, 0x9e, 0xd3, 0xc4, 0x0a, 0xeb, 0x9b, 0x58, 0x31, 0xaf, 0x89, 0x95, 0x72, 0x9b, 0x58, 0x79,
  3715. 0x55, 0x13, 0xa3, 0x3f, 0xc9, 0x83, 0xcc, 0xb3, 0xee, 0xa4, 0x96, 0x3e, 0x11, 0x39, 0x77, 0x92,
  3716. 0x1e, 0xa2, 0xed, 0x94, 0x29, 0xf9, 0x18, 0x88, 0x72, 0xb9, 0x88, 0x30, 0x4e, 0xd9, 0xf1, 0xff,
  3717. 0x3a, 0xd2, 0xc5, 0x83, 0x08, 0x9f, 0xa1, 0x0f, 0x86, 0xcc, 0xeb, 0x5d, 0x80, 0x62, 0xaf, 0x7f,
  3718. 0xdd, 0x5b, 0x50, 0x98, 0x91, 0xfd, 0xe4, 0x8b, 0xa7, 0xde, 0x58, 0x0f, 0xe0, 0xae, 0xb0, 0xcd,
  3719. 0x1f, 0x6c, 0xbb, 0x9b, 0x67, 0x3b, 0xdd, 0xb5, 0x7e, 0x4f, 0xfa, 0xcd, 0x85, 0x71, 0x17, 0xca,
  3720. 0x2a, 0xa6, 0x19, 0xaa, 0x4b, 0x6d, 0xac, 0xde, 0xcc, 0xc5, 0x80, 0xf7, 0xef, 0x2d, 0xed, 0x00,
  3721. 0x27, 0x30, 0xcb, 0xb5, 0x54, 0x65, 0xad, 0x7f, 0x92, 0x83, 0xe0, 0x2e, 0x3e, 0x47, 0x7b, 0x4b,
  3722. 0xb6, 0xe7, 0xd4, 0xac, 0x65, 0x95, 0xaf, 0x32, 0xbf, 0x74, 0x8f, 0xcf, 0xd1, 0xfb, 0x19, 0xae,
  3723. 0x73, 0xbc, 0xca, 0xb3, 0x04, 0x35, 0x34, 0x0f, 0xc2, 0xdd, 0xce, 0xce, 0xed, 0xdd, 0xbe, 0xf2,
  3724. 0xec, 0x6e, 0x5f, 0x79, 0x79, 0xb7, 0xaf, 0x9c, 0xa9, 0xd3, 0xa3, 0x7e, 0x11, 0x5e, 0xc5, 0xdf,
  3725. 0xbc, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x99, 0x25, 0xca, 0x10, 0x65, 0x0b, 0x00, 0x00,
  3726. }