OperateInfoGreer.cs 207 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819
  1. // <auto-generated>
  2. // Generated by the protocol buffer compiler. DO NOT EDIT!
  3. // source: Protos/OperateInfoGreer.proto
  4. // </auto-generated>
  5. #pragma warning disable 1591, 0612, 3021
  6. #region Designer generated code
  7. using pb = global::Google.Protobuf;
  8. using pbc = global::Google.Protobuf.Collections;
  9. using pbr = global::Google.Protobuf.Reflection;
  10. using scg = global::System.Collections.Generic;
  11. /// <summary>Holder for reflection information generated from Protos/OperateInfoGreer.proto</summary>
  12. public static partial class OperateInfoGreerReflection {
  13. #region Descriptor
  14. /// <summary>File descriptor for Protos/OperateInfoGreer.proto</summary>
  15. public static pbr::FileDescriptor Descriptor {
  16. get { return descriptor; }
  17. }
  18. private static pbr::FileDescriptor descriptor;
  19. static OperateInfoGreerReflection() {
  20. byte[] descriptorData = global::System.Convert.FromBase64String(
  21. string.Concat(
  22. "Ch1Qcm90b3MvT3BlcmF0ZUluZm9HcmVlci5wcm90byIxCgxMb2dpblJlcXVl",
  23. "c3QSDwoHQWNjb3VudBgBIAEoCRIQCghQYXNzd29yZBgCIAEoCSIwCg1Mb2dp",
  24. "blJlc3BvbnNlEg4KBnJlc3VsdBgBIAEoCBIPCgdtZXNzYWdlGAIgASgJIjwK",
  25. "E1N0dWRlbnRMb2dpblJlcXVlc3QSEwoLcGhvbmVOdW1iZXIYASABKAkSEAoI",
  26. "cGFzc3dvcmQYAiABKAkiWgoUU3R1ZGVudExvZ2luUmVzcG9uc2USDgoGcmVz",
  27. "dWx0GAEgASgIEg8KB21lc3NhZ2UYAiABKAkSEwoLcGhvbmVOdW1iZXIYAyAB",
  28. "KAkSDAoEbmFtZRgEIAEoCSIrChRTdHVkZW50TG9nb3V0UmVxdWVzdBITCgtw",
  29. "aG9uZU51bWJlchgBIAEoCSI4ChVTdHVkZW50TG9nb3V0UmVzcG9uc2USDgoG",
  30. "cmVzdWx0GAEgASgIEg8KB21lc3NhZ2UYAiABKAkiPAoWU3R1ZGVudFJlZ2lz",
  31. "dGVyUmVxdWVzdBIiCgxzdHVkZW50SW5mb3MYASADKAsyDC5TdHVkZW50SW5m",
  32. "byJkCgtTdHVkZW50SW5mbxIMCgRuYW1lGAEgASgJEg0KBW1ham9yGAIgASgJ",
  33. "EhMKC3Bob25lTnVtYmVyGAMgASgJEhAKCHBhc3N3b3JkGAQgASgJEhEKCWNs",
  34. "YXNzTmFtZRgFIAEoCSJqChdTdHVkZW50UmVnaXN0ZXJSZXNwb25zZRIOCgZy",
  35. "ZXN1bHQYASABKAUSDwoHbWVzc2FnZRgCIAEoCRIuChJTdHVkZW50SW5mb1Jl",
  36. "c3VsdHMYAyADKAsyEi5TdHVkZW50SW5mb1Jlc3VsdCJaChFTdHVkZW50SW5m",
  37. "b1Jlc3VsdBITCgtwaG9uZU51bWJlchgBIAEoCRIMCgRuYW1lGAIgASgJEg8K",
  38. "B3N1Y2Nlc3MYAyABKAgSEQoJZGV0YWlsTXNnGAQgASgJIooBCg1TZWFyY2hS",
  39. "ZXF1ZXN0EgwKBG5hbWUYASABKAkSDQoFbWFqb3IYAiABKAkSEgoKY291cnNl",
  40. "TmFtZRgDIAEoCRIRCgljbGFzc05hbWUYBCABKAkSEwoLcGhvbmVOdW1iZXIY",
  41. "BSABKAkSEQoJc3RhcnR0aW1lGAYgASgDEg0KBW9yZGVyGAcgASgFIlkKElNl",
  42. "YXJjaEluZm9SZXNwb25zZRIOCgZyZXN1bHQYASABKAgSDwoHbWVzc2FnZRgC",
  43. "IAEoCRIiCgxzdHVkZW50SW5mb3MYAyADKAsyDC5TdHVkZW50SW5mbyJcChNT",
  44. "ZWFyY2hTY29yZVJlc3BvbnNlEg4KBnJlc3VsdBgBIAEoCBIPCgdtZXNzYWdl",
  45. "GAIgASgJEiQKDXN0dWRlbnRTY29yZXMYAyADKAsyDS5TdHVkZW50U2NvcmUi",
  46. "nQEKDFN0dWRlbnRTY29yZRIMCgRuYW1lGAEgASgJEg0KBW1ham9yGAIgASgJ",
  47. "EhIKCmNvdXJzZU5hbWUYAyABKAkSEQoJY2xhc3NOYW1lGAQgASgJEhMKC3Bo",
  48. "b25lTnVtYmVyGAUgASgJEhEKCXN0YXJ0dGltZRgGIAEoAxISCgphbnN3ZXJ0",
  49. "aW1lGAcgASgFEg0KBXNjb3JlGAggASgCIlkKElNlYXJjaFRpbWVSZXNwb25z",
  50. "ZRIOCgZyZXN1bHQYASABKAgSDwoHbWVzc2FnZRgCIAEoCRIiCgxzdHVkZW50",
  51. "VGltZXMYAyADKAsyDC5TdHVkZW50VGltZSKgAQoLU3R1ZGVudFRpbWUSDAoE",
  52. "bmFtZRgBIAEoCRINCgVtYWpvchgCIAEoCRISCgpjb3Vyc2VOYW1lGAMgASgJ",
  53. "EhMKC3Bob25lTnVtYmVyGAQgASgJEhEKCWNsYXNzTmFtZRgFIAEoCRIRCglz",
  54. "dGFydHRpbWUYBiABKAMSEgoKYW5zd2VydGltZRgHIAEoBRIRCgl0b3RhbHRp",
  55. "bWUYCCABKAUiMgoPT3BlcmF0ZVJlc3BvbnNlEg4KBnJlc3VsdBgBIAEoCBIP",
  56. "CgdtZXNzYWdlGAIgASgJIjgKEkRlbGV0ZUJhdGNoUmVxdWVzdBIiCgxzdHVk",
  57. "ZW50SW5mb3MYASADKAsyDC5TdHVkZW50SW5mbyJaChNEZWxldGVCYXRjaFJl",
  58. "c3BvbnNlEg4KBnJlc3VsdBgBIAEoBRIPCgdtZXNzYWdlGAIgASgJEiIKDHN0",
  59. "dWRlbnRJbmZvcxgDIAMoCzIMLlN0dWRlbnRJbmZvIhIKEFNlYXJjaEFsbFJl",
  60. "cXVlc3QiFAoSTWFqb3JzSW5mb3NSZXF1ZXN0IlYKE01ham9yc0luZm9zUmVz",
  61. "cG9uc2USDgoGcmVzdWx0GAEgASgIEg8KB21lc3NhZ2UYAiABKAkSHgoKbWFq",
  62. "b3JJbmZvcxgDIAMoCzIKLk1ham9ySW5mbyIqCglNYWpvckluZm8SCgoCaWQY",
  63. "ASABKAUSEQoJbWFqb3JOYW1lGAIgASgJIhQKEkNvdXJzZUluZm9zUmVxdWVz",
  64. "dCJYChNDb3Vyc2VJbmZvc1Jlc3BvbnNlEg4KBnJlc3VsdBgBIAEoCBIPCgdt",
  65. "ZXNzYWdlGAIgASgJEiAKC2NvdXJzZUluZm9zGAMgAygLMgsuQ291cnNlSW5m",
  66. "byIsCgpDb3Vyc2VJbmZvEgoKAmlkGAEgASgFEhIKCmNvdXJzZU5hbWUYAiAB",
  67. "KAkiEwoRQ2xhc3NJbmZvc1JlcXVlc3QiVQoSQ2xhc3NJbmZvc1Jlc3BvbnNl",
  68. "Eg4KBnJlc3VsdBgBIAEoCBIPCgdtZXNzYWdlGAIgASgJEh4KCmNsYXNzSW5m",
  69. "b3MYAyADKAsyCi5DbGFzc0luZm8iKgoJQ2xhc3NJbmZvEgoKAmlkGAEgASgF",
  70. "EhEKCWNsYXNzTmFtZRgCIAEoCTKZCQoHT3BlcmF0ZRIoCgVMb2dpbhINLkxv",
  71. "Z2luUmVxdWVzdBoOLkxvZ2luUmVzcG9uc2UiABI9CgxTdHVkZW50TG9naW4S",
  72. "FC5TdHVkZW50TG9naW5SZXF1ZXN0GhUuU3R1ZGVudExvZ2luUmVzcG9uc2Ui",
  73. "ABJACg1TdHVkZW50TG9nb3V0EhUuU3R1ZGVudExvZ291dFJlcXVlc3QaFi5T",
  74. "dHVkZW50TG9nb3V0UmVzcG9uc2UiABJAChRBbGxTdHVkZW50SW5mb1NlYXJj",
  75. "aBIRLlNlYXJjaEFsbFJlcXVlc3QaEy5TZWFyY2hJbmZvUmVzcG9uc2UiABJC",
  76. "ChVBbGxTdHVkZW50U2NvcmVTZWFyY2gSES5TZWFyY2hBbGxSZXF1ZXN0GhQu",
  77. "U2VhcmNoU2NvcmVSZXNwb25zZSIAEkAKFEFsbFN0dWRlbnRUaW1lU2VhcmNo",
  78. "EhEuU2VhcmNoQWxsUmVxdWVzdBoTLlNlYXJjaFRpbWVSZXNwb25zZSIAEjoK",
  79. "EVN0dWRlbnRJbmZvU2VhcmNoEg4uU2VhcmNoUmVxdWVzdBoTLlNlYXJjaElu",
  80. "Zm9SZXNwb25zZSIAEjwKElN0dWRlbnRTY29yZVNlYXJjaBIOLlNlYXJjaFJl",
  81. "cXVlc3QaFC5TZWFyY2hTY29yZVJlc3BvbnNlIgASOgoRU3R1ZGVudFRpbWVT",
  82. "ZWFyY2gSDi5TZWFyY2hSZXF1ZXN0GhMuU2VhcmNoVGltZVJlc3BvbnNlIgAS",
  83. "RgoPU3R1ZGVudFJlZ2lzdGVyEhcuU3R1ZGVudFJlZ2lzdGVyUmVxdWVzdBoY",
  84. "LlN0dWRlbnRSZWdpc3RlclJlc3BvbnNlIgASRQoWRGVsZXRlQmF0Y2hTdHVk",
  85. "ZW50SW5mbxITLkRlbGV0ZUJhdGNoUmVxdWVzdBoULkRlbGV0ZUJhdGNoUmVz",
  86. "cG9uc2UiABI1ChFTdHVkZW50SW5mb1VwZGF0ZRIMLlN0dWRlbnRJbmZvGhAu",
  87. "T3BlcmF0ZVJlc3BvbnNlIgASNgoSVXNlckF1dGhlbnRpY2F0aW9uEgwuU3R1",
  88. "ZGVudEluZm8aEC5PcGVyYXRlUmVzcG9uc2UiABI8ChBTdHVkZW50UHdkVXBk",
  89. "YXRlEhQuU3R1ZGVudExvZ2luUmVxdWVzdBoQLk9wZXJhdGVSZXNwb25zZSIA",
  90. "EjQKD1N0dWRlbnRTY29yZUFkZBINLlN0dWRlbnRTY29yZRoQLk9wZXJhdGVS",
  91. "ZXNwb25zZSIAEjIKDlN0dWRlbnRUaW1lQWRkEgwuU3R1ZGVudFRpbWUaEC5P",
  92. "cGVyYXRlUmVzcG9uc2UiABJAChFHZXRBbGxNYWpvcnNJbmZvcxITLk1ham9y",
  93. "c0luZm9zUmVxdWVzdBoULk1ham9yc0luZm9zUmVzcG9uc2UiABJAChFHZXRB",
  94. "bGxDb3Vyc2VJbmZvcxITLkNvdXJzZUluZm9zUmVxdWVzdBoULkNvdXJzZUlu",
  95. "Zm9zUmVzcG9uc2UiABI7ChBHZXRBbGxDbGFzc0luZm9zEhIuQ2xhc3NJbmZv",
  96. "c1JlcXVlc3QaEy5DbGFzc0luZm9zUmVzcG9uc2ViBnByb3RvMw=="));
  97. descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
  98. new pbr::FileDescriptor[] { },
  99. new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
  100. new pbr::GeneratedClrTypeInfo(typeof(global::LoginRequest), global::LoginRequest.Parser, new[]{ "Account", "Password" }, null, null, null, null),
  101. new pbr::GeneratedClrTypeInfo(typeof(global::LoginResponse), global::LoginResponse.Parser, new[]{ "Result", "Message" }, null, null, null, null),
  102. new pbr::GeneratedClrTypeInfo(typeof(global::StudentLoginRequest), global::StudentLoginRequest.Parser, new[]{ "PhoneNumber", "Password" }, null, null, null, null),
  103. new pbr::GeneratedClrTypeInfo(typeof(global::StudentLoginResponse), global::StudentLoginResponse.Parser, new[]{ "Result", "Message", "PhoneNumber", "Name" }, null, null, null, null),
  104. new pbr::GeneratedClrTypeInfo(typeof(global::StudentLogoutRequest), global::StudentLogoutRequest.Parser, new[]{ "PhoneNumber" }, null, null, null, null),
  105. new pbr::GeneratedClrTypeInfo(typeof(global::StudentLogoutResponse), global::StudentLogoutResponse.Parser, new[]{ "Result", "Message" }, null, null, null, null),
  106. new pbr::GeneratedClrTypeInfo(typeof(global::StudentRegisterRequest), global::StudentRegisterRequest.Parser, new[]{ "StudentInfos" }, null, null, null, null),
  107. new pbr::GeneratedClrTypeInfo(typeof(global::StudentInfo), global::StudentInfo.Parser, new[]{ "Name", "Major", "PhoneNumber", "Password", "ClassName" }, null, null, null, null),
  108. new pbr::GeneratedClrTypeInfo(typeof(global::StudentRegisterResponse), global::StudentRegisterResponse.Parser, new[]{ "Result", "Message", "StudentInfoResults" }, null, null, null, null),
  109. new pbr::GeneratedClrTypeInfo(typeof(global::StudentInfoResult), global::StudentInfoResult.Parser, new[]{ "PhoneNumber", "Name", "Success", "DetailMsg" }, null, null, null, null),
  110. new pbr::GeneratedClrTypeInfo(typeof(global::SearchRequest), global::SearchRequest.Parser, new[]{ "Name", "Major", "CourseName", "ClassName", "PhoneNumber", "Starttime", "Order" }, null, null, null, null),
  111. new pbr::GeneratedClrTypeInfo(typeof(global::SearchInfoResponse), global::SearchInfoResponse.Parser, new[]{ "Result", "Message", "StudentInfos" }, null, null, null, null),
  112. new pbr::GeneratedClrTypeInfo(typeof(global::SearchScoreResponse), global::SearchScoreResponse.Parser, new[]{ "Result", "Message", "StudentScores" }, null, null, null, null),
  113. new pbr::GeneratedClrTypeInfo(typeof(global::StudentScore), global::StudentScore.Parser, new[]{ "Name", "Major", "CourseName", "ClassName", "PhoneNumber", "Starttime", "Answertime", "Score" }, null, null, null, null),
  114. new pbr::GeneratedClrTypeInfo(typeof(global::SearchTimeResponse), global::SearchTimeResponse.Parser, new[]{ "Result", "Message", "StudentTimes" }, null, null, null, null),
  115. new pbr::GeneratedClrTypeInfo(typeof(global::StudentTime), global::StudentTime.Parser, new[]{ "Name", "Major", "CourseName", "PhoneNumber", "ClassName", "Starttime", "Answertime", "Totaltime" }, null, null, null, null),
  116. new pbr::GeneratedClrTypeInfo(typeof(global::OperateResponse), global::OperateResponse.Parser, new[]{ "Result", "Message" }, null, null, null, null),
  117. new pbr::GeneratedClrTypeInfo(typeof(global::DeleteBatchRequest), global::DeleteBatchRequest.Parser, new[]{ "StudentInfos" }, null, null, null, null),
  118. new pbr::GeneratedClrTypeInfo(typeof(global::DeleteBatchResponse), global::DeleteBatchResponse.Parser, new[]{ "Result", "Message", "StudentInfos" }, null, null, null, null),
  119. new pbr::GeneratedClrTypeInfo(typeof(global::SearchAllRequest), global::SearchAllRequest.Parser, null, null, null, null, null),
  120. new pbr::GeneratedClrTypeInfo(typeof(global::MajorsInfosRequest), global::MajorsInfosRequest.Parser, null, null, null, null, null),
  121. new pbr::GeneratedClrTypeInfo(typeof(global::MajorsInfosResponse), global::MajorsInfosResponse.Parser, new[]{ "Result", "Message", "MajorInfos" }, null, null, null, null),
  122. new pbr::GeneratedClrTypeInfo(typeof(global::MajorInfo), global::MajorInfo.Parser, new[]{ "Id", "MajorName" }, null, null, null, null),
  123. new pbr::GeneratedClrTypeInfo(typeof(global::CourseInfosRequest), global::CourseInfosRequest.Parser, null, null, null, null, null),
  124. new pbr::GeneratedClrTypeInfo(typeof(global::CourseInfosResponse), global::CourseInfosResponse.Parser, new[]{ "Result", "Message", "CourseInfos" }, null, null, null, null),
  125. new pbr::GeneratedClrTypeInfo(typeof(global::CourseInfo), global::CourseInfo.Parser, new[]{ "Id", "CourseName" }, null, null, null, null),
  126. new pbr::GeneratedClrTypeInfo(typeof(global::ClassInfosRequest), global::ClassInfosRequest.Parser, null, null, null, null, null),
  127. new pbr::GeneratedClrTypeInfo(typeof(global::ClassInfosResponse), global::ClassInfosResponse.Parser, new[]{ "Result", "Message", "ClassInfos" }, null, null, null, null),
  128. new pbr::GeneratedClrTypeInfo(typeof(global::ClassInfo), global::ClassInfo.Parser, new[]{ "Id", "ClassName" }, null, null, null, null)
  129. }));
  130. }
  131. #endregion
  132. }
  133. #region Messages
  134. public sealed partial class LoginRequest : pb::IMessage<LoginRequest>
  135. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  136. , pb::IBufferMessage
  137. #endif
  138. {
  139. private static readonly pb::MessageParser<LoginRequest> _parser = new pb::MessageParser<LoginRequest>(() => new LoginRequest());
  140. private pb::UnknownFieldSet _unknownFields;
  141. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  142. public static pb::MessageParser<LoginRequest> Parser { get { return _parser; } }
  143. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  144. public static pbr::MessageDescriptor Descriptor {
  145. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[0]; }
  146. }
  147. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  148. pbr::MessageDescriptor pb::IMessage.Descriptor {
  149. get { return Descriptor; }
  150. }
  151. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  152. public LoginRequest() {
  153. OnConstruction();
  154. }
  155. partial void OnConstruction();
  156. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  157. public LoginRequest(LoginRequest other) : this() {
  158. account_ = other.account_;
  159. password_ = other.password_;
  160. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  161. }
  162. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  163. public LoginRequest Clone() {
  164. return new LoginRequest(this);
  165. }
  166. /// <summary>Field number for the "Account" field.</summary>
  167. public const int AccountFieldNumber = 1;
  168. private string account_ = "";
  169. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  170. public string Account {
  171. get { return account_; }
  172. set {
  173. account_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  174. }
  175. }
  176. /// <summary>Field number for the "Password" field.</summary>
  177. public const int PasswordFieldNumber = 2;
  178. private string password_ = "";
  179. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  180. public string Password {
  181. get { return password_; }
  182. set {
  183. password_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  184. }
  185. }
  186. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  187. public override bool Equals(object other) {
  188. return Equals(other as LoginRequest);
  189. }
  190. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  191. public bool Equals(LoginRequest other) {
  192. if (ReferenceEquals(other, null)) {
  193. return false;
  194. }
  195. if (ReferenceEquals(other, this)) {
  196. return true;
  197. }
  198. if (Account != other.Account) return false;
  199. if (Password != other.Password) return false;
  200. return Equals(_unknownFields, other._unknownFields);
  201. }
  202. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  203. public override int GetHashCode() {
  204. int hash = 1;
  205. if (Account.Length != 0) hash ^= Account.GetHashCode();
  206. if (Password.Length != 0) hash ^= Password.GetHashCode();
  207. if (_unknownFields != null) {
  208. hash ^= _unknownFields.GetHashCode();
  209. }
  210. return hash;
  211. }
  212. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  213. public override string ToString() {
  214. return pb::JsonFormatter.ToDiagnosticString(this);
  215. }
  216. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  217. public void WriteTo(pb::CodedOutputStream output) {
  218. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  219. output.WriteRawMessage(this);
  220. #else
  221. if (Account.Length != 0) {
  222. output.WriteRawTag(10);
  223. output.WriteString(Account);
  224. }
  225. if (Password.Length != 0) {
  226. output.WriteRawTag(18);
  227. output.WriteString(Password);
  228. }
  229. if (_unknownFields != null) {
  230. _unknownFields.WriteTo(output);
  231. }
  232. #endif
  233. }
  234. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  235. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  236. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  237. if (Account.Length != 0) {
  238. output.WriteRawTag(10);
  239. output.WriteString(Account);
  240. }
  241. if (Password.Length != 0) {
  242. output.WriteRawTag(18);
  243. output.WriteString(Password);
  244. }
  245. if (_unknownFields != null) {
  246. _unknownFields.WriteTo(ref output);
  247. }
  248. }
  249. #endif
  250. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  251. public int CalculateSize() {
  252. int size = 0;
  253. if (Account.Length != 0) {
  254. size += 1 + pb::CodedOutputStream.ComputeStringSize(Account);
  255. }
  256. if (Password.Length != 0) {
  257. size += 1 + pb::CodedOutputStream.ComputeStringSize(Password);
  258. }
  259. if (_unknownFields != null) {
  260. size += _unknownFields.CalculateSize();
  261. }
  262. return size;
  263. }
  264. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  265. public void MergeFrom(LoginRequest other) {
  266. if (other == null) {
  267. return;
  268. }
  269. if (other.Account.Length != 0) {
  270. Account = other.Account;
  271. }
  272. if (other.Password.Length != 0) {
  273. Password = other.Password;
  274. }
  275. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  276. }
  277. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  278. public void MergeFrom(pb::CodedInputStream input) {
  279. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  280. input.ReadRawMessage(this);
  281. #else
  282. uint tag;
  283. while ((tag = input.ReadTag()) != 0) {
  284. switch(tag) {
  285. default:
  286. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  287. break;
  288. case 10: {
  289. Account = input.ReadString();
  290. break;
  291. }
  292. case 18: {
  293. Password = input.ReadString();
  294. break;
  295. }
  296. }
  297. }
  298. #endif
  299. }
  300. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  301. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  302. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  303. uint tag;
  304. while ((tag = input.ReadTag()) != 0) {
  305. switch(tag) {
  306. default:
  307. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  308. break;
  309. case 10: {
  310. Account = input.ReadString();
  311. break;
  312. }
  313. case 18: {
  314. Password = input.ReadString();
  315. break;
  316. }
  317. }
  318. }
  319. }
  320. #endif
  321. }
  322. public sealed partial class LoginResponse : pb::IMessage<LoginResponse>
  323. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  324. , pb::IBufferMessage
  325. #endif
  326. {
  327. private static readonly pb::MessageParser<LoginResponse> _parser = new pb::MessageParser<LoginResponse>(() => new LoginResponse());
  328. private pb::UnknownFieldSet _unknownFields;
  329. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  330. public static pb::MessageParser<LoginResponse> Parser { get { return _parser; } }
  331. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  332. public static pbr::MessageDescriptor Descriptor {
  333. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[1]; }
  334. }
  335. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  336. pbr::MessageDescriptor pb::IMessage.Descriptor {
  337. get { return Descriptor; }
  338. }
  339. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  340. public LoginResponse() {
  341. OnConstruction();
  342. }
  343. partial void OnConstruction();
  344. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  345. public LoginResponse(LoginResponse other) : this() {
  346. result_ = other.result_;
  347. message_ = other.message_;
  348. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  349. }
  350. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  351. public LoginResponse Clone() {
  352. return new LoginResponse(this);
  353. }
  354. /// <summary>Field number for the "result" field.</summary>
  355. public const int ResultFieldNumber = 1;
  356. private bool result_;
  357. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  358. public bool Result {
  359. get { return result_; }
  360. set {
  361. result_ = value;
  362. }
  363. }
  364. /// <summary>Field number for the "message" field.</summary>
  365. public const int MessageFieldNumber = 2;
  366. private string message_ = "";
  367. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  368. public string Message {
  369. get { return message_; }
  370. set {
  371. message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  372. }
  373. }
  374. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  375. public override bool Equals(object other) {
  376. return Equals(other as LoginResponse);
  377. }
  378. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  379. public bool Equals(LoginResponse other) {
  380. if (ReferenceEquals(other, null)) {
  381. return false;
  382. }
  383. if (ReferenceEquals(other, this)) {
  384. return true;
  385. }
  386. if (Result != other.Result) return false;
  387. if (Message != other.Message) return false;
  388. return Equals(_unknownFields, other._unknownFields);
  389. }
  390. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  391. public override int GetHashCode() {
  392. int hash = 1;
  393. if (Result != false) hash ^= Result.GetHashCode();
  394. if (Message.Length != 0) hash ^= Message.GetHashCode();
  395. if (_unknownFields != null) {
  396. hash ^= _unknownFields.GetHashCode();
  397. }
  398. return hash;
  399. }
  400. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  401. public override string ToString() {
  402. return pb::JsonFormatter.ToDiagnosticString(this);
  403. }
  404. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  405. public void WriteTo(pb::CodedOutputStream output) {
  406. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  407. output.WriteRawMessage(this);
  408. #else
  409. if (Result != false) {
  410. output.WriteRawTag(8);
  411. output.WriteBool(Result);
  412. }
  413. if (Message.Length != 0) {
  414. output.WriteRawTag(18);
  415. output.WriteString(Message);
  416. }
  417. if (_unknownFields != null) {
  418. _unknownFields.WriteTo(output);
  419. }
  420. #endif
  421. }
  422. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  423. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  424. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  425. if (Result != false) {
  426. output.WriteRawTag(8);
  427. output.WriteBool(Result);
  428. }
  429. if (Message.Length != 0) {
  430. output.WriteRawTag(18);
  431. output.WriteString(Message);
  432. }
  433. if (_unknownFields != null) {
  434. _unknownFields.WriteTo(ref output);
  435. }
  436. }
  437. #endif
  438. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  439. public int CalculateSize() {
  440. int size = 0;
  441. if (Result != false) {
  442. size += 1 + 1;
  443. }
  444. if (Message.Length != 0) {
  445. size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
  446. }
  447. if (_unknownFields != null) {
  448. size += _unknownFields.CalculateSize();
  449. }
  450. return size;
  451. }
  452. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  453. public void MergeFrom(LoginResponse other) {
  454. if (other == null) {
  455. return;
  456. }
  457. if (other.Result != false) {
  458. Result = other.Result;
  459. }
  460. if (other.Message.Length != 0) {
  461. Message = other.Message;
  462. }
  463. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  464. }
  465. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  466. public void MergeFrom(pb::CodedInputStream input) {
  467. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  468. input.ReadRawMessage(this);
  469. #else
  470. uint tag;
  471. while ((tag = input.ReadTag()) != 0) {
  472. switch(tag) {
  473. default:
  474. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  475. break;
  476. case 8: {
  477. Result = input.ReadBool();
  478. break;
  479. }
  480. case 18: {
  481. Message = input.ReadString();
  482. break;
  483. }
  484. }
  485. }
  486. #endif
  487. }
  488. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  489. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  490. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  491. uint tag;
  492. while ((tag = input.ReadTag()) != 0) {
  493. switch(tag) {
  494. default:
  495. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  496. break;
  497. case 8: {
  498. Result = input.ReadBool();
  499. break;
  500. }
  501. case 18: {
  502. Message = input.ReadString();
  503. break;
  504. }
  505. }
  506. }
  507. }
  508. #endif
  509. }
  510. public sealed partial class StudentLoginRequest : pb::IMessage<StudentLoginRequest>
  511. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  512. , pb::IBufferMessage
  513. #endif
  514. {
  515. private static readonly pb::MessageParser<StudentLoginRequest> _parser = new pb::MessageParser<StudentLoginRequest>(() => new StudentLoginRequest());
  516. private pb::UnknownFieldSet _unknownFields;
  517. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  518. public static pb::MessageParser<StudentLoginRequest> Parser { get { return _parser; } }
  519. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  520. public static pbr::MessageDescriptor Descriptor {
  521. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[2]; }
  522. }
  523. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  524. pbr::MessageDescriptor pb::IMessage.Descriptor {
  525. get { return Descriptor; }
  526. }
  527. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  528. public StudentLoginRequest() {
  529. OnConstruction();
  530. }
  531. partial void OnConstruction();
  532. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  533. public StudentLoginRequest(StudentLoginRequest other) : this() {
  534. phoneNumber_ = other.phoneNumber_;
  535. password_ = other.password_;
  536. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  537. }
  538. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  539. public StudentLoginRequest Clone() {
  540. return new StudentLoginRequest(this);
  541. }
  542. /// <summary>Field number for the "phoneNumber" field.</summary>
  543. public const int PhoneNumberFieldNumber = 1;
  544. private string phoneNumber_ = "";
  545. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  546. public string PhoneNumber {
  547. get { return phoneNumber_; }
  548. set {
  549. phoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  550. }
  551. }
  552. /// <summary>Field number for the "password" field.</summary>
  553. public const int PasswordFieldNumber = 2;
  554. private string password_ = "";
  555. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  556. public string Password {
  557. get { return password_; }
  558. set {
  559. password_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  560. }
  561. }
  562. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  563. public override bool Equals(object other) {
  564. return Equals(other as StudentLoginRequest);
  565. }
  566. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  567. public bool Equals(StudentLoginRequest other) {
  568. if (ReferenceEquals(other, null)) {
  569. return false;
  570. }
  571. if (ReferenceEquals(other, this)) {
  572. return true;
  573. }
  574. if (PhoneNumber != other.PhoneNumber) return false;
  575. if (Password != other.Password) return false;
  576. return Equals(_unknownFields, other._unknownFields);
  577. }
  578. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  579. public override int GetHashCode() {
  580. int hash = 1;
  581. if (PhoneNumber.Length != 0) hash ^= PhoneNumber.GetHashCode();
  582. if (Password.Length != 0) hash ^= Password.GetHashCode();
  583. if (_unknownFields != null) {
  584. hash ^= _unknownFields.GetHashCode();
  585. }
  586. return hash;
  587. }
  588. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  589. public override string ToString() {
  590. return pb::JsonFormatter.ToDiagnosticString(this);
  591. }
  592. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  593. public void WriteTo(pb::CodedOutputStream output) {
  594. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  595. output.WriteRawMessage(this);
  596. #else
  597. if (PhoneNumber.Length != 0) {
  598. output.WriteRawTag(10);
  599. output.WriteString(PhoneNumber);
  600. }
  601. if (Password.Length != 0) {
  602. output.WriteRawTag(18);
  603. output.WriteString(Password);
  604. }
  605. if (_unknownFields != null) {
  606. _unknownFields.WriteTo(output);
  607. }
  608. #endif
  609. }
  610. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  611. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  612. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  613. if (PhoneNumber.Length != 0) {
  614. output.WriteRawTag(10);
  615. output.WriteString(PhoneNumber);
  616. }
  617. if (Password.Length != 0) {
  618. output.WriteRawTag(18);
  619. output.WriteString(Password);
  620. }
  621. if (_unknownFields != null) {
  622. _unknownFields.WriteTo(ref output);
  623. }
  624. }
  625. #endif
  626. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  627. public int CalculateSize() {
  628. int size = 0;
  629. if (PhoneNumber.Length != 0) {
  630. size += 1 + pb::CodedOutputStream.ComputeStringSize(PhoneNumber);
  631. }
  632. if (Password.Length != 0) {
  633. size += 1 + pb::CodedOutputStream.ComputeStringSize(Password);
  634. }
  635. if (_unknownFields != null) {
  636. size += _unknownFields.CalculateSize();
  637. }
  638. return size;
  639. }
  640. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  641. public void MergeFrom(StudentLoginRequest other) {
  642. if (other == null) {
  643. return;
  644. }
  645. if (other.PhoneNumber.Length != 0) {
  646. PhoneNumber = other.PhoneNumber;
  647. }
  648. if (other.Password.Length != 0) {
  649. Password = other.Password;
  650. }
  651. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  652. }
  653. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  654. public void MergeFrom(pb::CodedInputStream input) {
  655. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  656. input.ReadRawMessage(this);
  657. #else
  658. uint tag;
  659. while ((tag = input.ReadTag()) != 0) {
  660. switch(tag) {
  661. default:
  662. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  663. break;
  664. case 10: {
  665. PhoneNumber = input.ReadString();
  666. break;
  667. }
  668. case 18: {
  669. Password = input.ReadString();
  670. break;
  671. }
  672. }
  673. }
  674. #endif
  675. }
  676. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  677. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  678. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  679. uint tag;
  680. while ((tag = input.ReadTag()) != 0) {
  681. switch(tag) {
  682. default:
  683. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  684. break;
  685. case 10: {
  686. PhoneNumber = input.ReadString();
  687. break;
  688. }
  689. case 18: {
  690. Password = input.ReadString();
  691. break;
  692. }
  693. }
  694. }
  695. }
  696. #endif
  697. }
  698. public sealed partial class StudentLoginResponse : pb::IMessage<StudentLoginResponse>
  699. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  700. , pb::IBufferMessage
  701. #endif
  702. {
  703. private static readonly pb::MessageParser<StudentLoginResponse> _parser = new pb::MessageParser<StudentLoginResponse>(() => new StudentLoginResponse());
  704. private pb::UnknownFieldSet _unknownFields;
  705. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  706. public static pb::MessageParser<StudentLoginResponse> Parser { get { return _parser; } }
  707. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  708. public static pbr::MessageDescriptor Descriptor {
  709. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[3]; }
  710. }
  711. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  712. pbr::MessageDescriptor pb::IMessage.Descriptor {
  713. get { return Descriptor; }
  714. }
  715. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  716. public StudentLoginResponse() {
  717. OnConstruction();
  718. }
  719. partial void OnConstruction();
  720. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  721. public StudentLoginResponse(StudentLoginResponse other) : this() {
  722. result_ = other.result_;
  723. message_ = other.message_;
  724. phoneNumber_ = other.phoneNumber_;
  725. name_ = other.name_;
  726. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  727. }
  728. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  729. public StudentLoginResponse Clone() {
  730. return new StudentLoginResponse(this);
  731. }
  732. /// <summary>Field number for the "result" field.</summary>
  733. public const int ResultFieldNumber = 1;
  734. private bool result_;
  735. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  736. public bool Result {
  737. get { return result_; }
  738. set {
  739. result_ = value;
  740. }
  741. }
  742. /// <summary>Field number for the "message" field.</summary>
  743. public const int MessageFieldNumber = 2;
  744. private string message_ = "";
  745. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  746. public string Message {
  747. get { return message_; }
  748. set {
  749. message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  750. }
  751. }
  752. /// <summary>Field number for the "phoneNumber" field.</summary>
  753. public const int PhoneNumberFieldNumber = 3;
  754. private string phoneNumber_ = "";
  755. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  756. public string PhoneNumber {
  757. get { return phoneNumber_; }
  758. set {
  759. phoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  760. }
  761. }
  762. /// <summary>Field number for the "name" field.</summary>
  763. public const int NameFieldNumber = 4;
  764. private string name_ = "";
  765. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  766. public string Name {
  767. get { return name_; }
  768. set {
  769. name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  770. }
  771. }
  772. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  773. public override bool Equals(object other) {
  774. return Equals(other as StudentLoginResponse);
  775. }
  776. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  777. public bool Equals(StudentLoginResponse other) {
  778. if (ReferenceEquals(other, null)) {
  779. return false;
  780. }
  781. if (ReferenceEquals(other, this)) {
  782. return true;
  783. }
  784. if (Result != other.Result) return false;
  785. if (Message != other.Message) return false;
  786. if (PhoneNumber != other.PhoneNumber) return false;
  787. if (Name != other.Name) return false;
  788. return Equals(_unknownFields, other._unknownFields);
  789. }
  790. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  791. public override int GetHashCode() {
  792. int hash = 1;
  793. if (Result != false) hash ^= Result.GetHashCode();
  794. if (Message.Length != 0) hash ^= Message.GetHashCode();
  795. if (PhoneNumber.Length != 0) hash ^= PhoneNumber.GetHashCode();
  796. if (Name.Length != 0) hash ^= Name.GetHashCode();
  797. if (_unknownFields != null) {
  798. hash ^= _unknownFields.GetHashCode();
  799. }
  800. return hash;
  801. }
  802. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  803. public override string ToString() {
  804. return pb::JsonFormatter.ToDiagnosticString(this);
  805. }
  806. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  807. public void WriteTo(pb::CodedOutputStream output) {
  808. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  809. output.WriteRawMessage(this);
  810. #else
  811. if (Result != false) {
  812. output.WriteRawTag(8);
  813. output.WriteBool(Result);
  814. }
  815. if (Message.Length != 0) {
  816. output.WriteRawTag(18);
  817. output.WriteString(Message);
  818. }
  819. if (PhoneNumber.Length != 0) {
  820. output.WriteRawTag(26);
  821. output.WriteString(PhoneNumber);
  822. }
  823. if (Name.Length != 0) {
  824. output.WriteRawTag(34);
  825. output.WriteString(Name);
  826. }
  827. if (_unknownFields != null) {
  828. _unknownFields.WriteTo(output);
  829. }
  830. #endif
  831. }
  832. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  833. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  834. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  835. if (Result != false) {
  836. output.WriteRawTag(8);
  837. output.WriteBool(Result);
  838. }
  839. if (Message.Length != 0) {
  840. output.WriteRawTag(18);
  841. output.WriteString(Message);
  842. }
  843. if (PhoneNumber.Length != 0) {
  844. output.WriteRawTag(26);
  845. output.WriteString(PhoneNumber);
  846. }
  847. if (Name.Length != 0) {
  848. output.WriteRawTag(34);
  849. output.WriteString(Name);
  850. }
  851. if (_unknownFields != null) {
  852. _unknownFields.WriteTo(ref output);
  853. }
  854. }
  855. #endif
  856. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  857. public int CalculateSize() {
  858. int size = 0;
  859. if (Result != false) {
  860. size += 1 + 1;
  861. }
  862. if (Message.Length != 0) {
  863. size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
  864. }
  865. if (PhoneNumber.Length != 0) {
  866. size += 1 + pb::CodedOutputStream.ComputeStringSize(PhoneNumber);
  867. }
  868. if (Name.Length != 0) {
  869. size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
  870. }
  871. if (_unknownFields != null) {
  872. size += _unknownFields.CalculateSize();
  873. }
  874. return size;
  875. }
  876. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  877. public void MergeFrom(StudentLoginResponse other) {
  878. if (other == null) {
  879. return;
  880. }
  881. if (other.Result != false) {
  882. Result = other.Result;
  883. }
  884. if (other.Message.Length != 0) {
  885. Message = other.Message;
  886. }
  887. if (other.PhoneNumber.Length != 0) {
  888. PhoneNumber = other.PhoneNumber;
  889. }
  890. if (other.Name.Length != 0) {
  891. Name = other.Name;
  892. }
  893. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  894. }
  895. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  896. public void MergeFrom(pb::CodedInputStream input) {
  897. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  898. input.ReadRawMessage(this);
  899. #else
  900. uint tag;
  901. while ((tag = input.ReadTag()) != 0) {
  902. switch(tag) {
  903. default:
  904. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  905. break;
  906. case 8: {
  907. Result = input.ReadBool();
  908. break;
  909. }
  910. case 18: {
  911. Message = input.ReadString();
  912. break;
  913. }
  914. case 26: {
  915. PhoneNumber = input.ReadString();
  916. break;
  917. }
  918. case 34: {
  919. Name = input.ReadString();
  920. break;
  921. }
  922. }
  923. }
  924. #endif
  925. }
  926. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  927. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  928. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  929. uint tag;
  930. while ((tag = input.ReadTag()) != 0) {
  931. switch(tag) {
  932. default:
  933. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  934. break;
  935. case 8: {
  936. Result = input.ReadBool();
  937. break;
  938. }
  939. case 18: {
  940. Message = input.ReadString();
  941. break;
  942. }
  943. case 26: {
  944. PhoneNumber = input.ReadString();
  945. break;
  946. }
  947. case 34: {
  948. Name = input.ReadString();
  949. break;
  950. }
  951. }
  952. }
  953. }
  954. #endif
  955. }
  956. public sealed partial class StudentLogoutRequest : pb::IMessage<StudentLogoutRequest>
  957. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  958. , pb::IBufferMessage
  959. #endif
  960. {
  961. private static readonly pb::MessageParser<StudentLogoutRequest> _parser = new pb::MessageParser<StudentLogoutRequest>(() => new StudentLogoutRequest());
  962. private pb::UnknownFieldSet _unknownFields;
  963. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  964. public static pb::MessageParser<StudentLogoutRequest> Parser { get { return _parser; } }
  965. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  966. public static pbr::MessageDescriptor Descriptor {
  967. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[4]; }
  968. }
  969. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  970. pbr::MessageDescriptor pb::IMessage.Descriptor {
  971. get { return Descriptor; }
  972. }
  973. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  974. public StudentLogoutRequest() {
  975. OnConstruction();
  976. }
  977. partial void OnConstruction();
  978. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  979. public StudentLogoutRequest(StudentLogoutRequest other) : this() {
  980. phoneNumber_ = other.phoneNumber_;
  981. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  982. }
  983. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  984. public StudentLogoutRequest Clone() {
  985. return new StudentLogoutRequest(this);
  986. }
  987. /// <summary>Field number for the "phoneNumber" field.</summary>
  988. public const int PhoneNumberFieldNumber = 1;
  989. private string phoneNumber_ = "";
  990. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  991. public string PhoneNumber {
  992. get { return phoneNumber_; }
  993. set {
  994. phoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  995. }
  996. }
  997. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  998. public override bool Equals(object other) {
  999. return Equals(other as StudentLogoutRequest);
  1000. }
  1001. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1002. public bool Equals(StudentLogoutRequest other) {
  1003. if (ReferenceEquals(other, null)) {
  1004. return false;
  1005. }
  1006. if (ReferenceEquals(other, this)) {
  1007. return true;
  1008. }
  1009. if (PhoneNumber != other.PhoneNumber) return false;
  1010. return Equals(_unknownFields, other._unknownFields);
  1011. }
  1012. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1013. public override int GetHashCode() {
  1014. int hash = 1;
  1015. if (PhoneNumber.Length != 0) hash ^= PhoneNumber.GetHashCode();
  1016. if (_unknownFields != null) {
  1017. hash ^= _unknownFields.GetHashCode();
  1018. }
  1019. return hash;
  1020. }
  1021. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1022. public override string ToString() {
  1023. return pb::JsonFormatter.ToDiagnosticString(this);
  1024. }
  1025. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1026. public void WriteTo(pb::CodedOutputStream output) {
  1027. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1028. output.WriteRawMessage(this);
  1029. #else
  1030. if (PhoneNumber.Length != 0) {
  1031. output.WriteRawTag(10);
  1032. output.WriteString(PhoneNumber);
  1033. }
  1034. if (_unknownFields != null) {
  1035. _unknownFields.WriteTo(output);
  1036. }
  1037. #endif
  1038. }
  1039. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1040. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1041. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1042. if (PhoneNumber.Length != 0) {
  1043. output.WriteRawTag(10);
  1044. output.WriteString(PhoneNumber);
  1045. }
  1046. if (_unknownFields != null) {
  1047. _unknownFields.WriteTo(ref output);
  1048. }
  1049. }
  1050. #endif
  1051. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1052. public int CalculateSize() {
  1053. int size = 0;
  1054. if (PhoneNumber.Length != 0) {
  1055. size += 1 + pb::CodedOutputStream.ComputeStringSize(PhoneNumber);
  1056. }
  1057. if (_unknownFields != null) {
  1058. size += _unknownFields.CalculateSize();
  1059. }
  1060. return size;
  1061. }
  1062. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1063. public void MergeFrom(StudentLogoutRequest other) {
  1064. if (other == null) {
  1065. return;
  1066. }
  1067. if (other.PhoneNumber.Length != 0) {
  1068. PhoneNumber = other.PhoneNumber;
  1069. }
  1070. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1071. }
  1072. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1073. public void MergeFrom(pb::CodedInputStream input) {
  1074. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1075. input.ReadRawMessage(this);
  1076. #else
  1077. uint tag;
  1078. while ((tag = input.ReadTag()) != 0) {
  1079. switch(tag) {
  1080. default:
  1081. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1082. break;
  1083. case 10: {
  1084. PhoneNumber = input.ReadString();
  1085. break;
  1086. }
  1087. }
  1088. }
  1089. #endif
  1090. }
  1091. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1092. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1093. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1094. uint tag;
  1095. while ((tag = input.ReadTag()) != 0) {
  1096. switch(tag) {
  1097. default:
  1098. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1099. break;
  1100. case 10: {
  1101. PhoneNumber = input.ReadString();
  1102. break;
  1103. }
  1104. }
  1105. }
  1106. }
  1107. #endif
  1108. }
  1109. public sealed partial class StudentLogoutResponse : pb::IMessage<StudentLogoutResponse>
  1110. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1111. , pb::IBufferMessage
  1112. #endif
  1113. {
  1114. private static readonly pb::MessageParser<StudentLogoutResponse> _parser = new pb::MessageParser<StudentLogoutResponse>(() => new StudentLogoutResponse());
  1115. private pb::UnknownFieldSet _unknownFields;
  1116. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1117. public static pb::MessageParser<StudentLogoutResponse> Parser { get { return _parser; } }
  1118. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1119. public static pbr::MessageDescriptor Descriptor {
  1120. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[5]; }
  1121. }
  1122. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1123. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1124. get { return Descriptor; }
  1125. }
  1126. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1127. public StudentLogoutResponse() {
  1128. OnConstruction();
  1129. }
  1130. partial void OnConstruction();
  1131. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1132. public StudentLogoutResponse(StudentLogoutResponse other) : this() {
  1133. result_ = other.result_;
  1134. message_ = other.message_;
  1135. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1136. }
  1137. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1138. public StudentLogoutResponse Clone() {
  1139. return new StudentLogoutResponse(this);
  1140. }
  1141. /// <summary>Field number for the "result" field.</summary>
  1142. public const int ResultFieldNumber = 1;
  1143. private bool result_;
  1144. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1145. public bool Result {
  1146. get { return result_; }
  1147. set {
  1148. result_ = value;
  1149. }
  1150. }
  1151. /// <summary>Field number for the "message" field.</summary>
  1152. public const int MessageFieldNumber = 2;
  1153. private string message_ = "";
  1154. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1155. public string Message {
  1156. get { return message_; }
  1157. set {
  1158. message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1159. }
  1160. }
  1161. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1162. public override bool Equals(object other) {
  1163. return Equals(other as StudentLogoutResponse);
  1164. }
  1165. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1166. public bool Equals(StudentLogoutResponse other) {
  1167. if (ReferenceEquals(other, null)) {
  1168. return false;
  1169. }
  1170. if (ReferenceEquals(other, this)) {
  1171. return true;
  1172. }
  1173. if (Result != other.Result) return false;
  1174. if (Message != other.Message) return false;
  1175. return Equals(_unknownFields, other._unknownFields);
  1176. }
  1177. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1178. public override int GetHashCode() {
  1179. int hash = 1;
  1180. if (Result != false) hash ^= Result.GetHashCode();
  1181. if (Message.Length != 0) hash ^= Message.GetHashCode();
  1182. if (_unknownFields != null) {
  1183. hash ^= _unknownFields.GetHashCode();
  1184. }
  1185. return hash;
  1186. }
  1187. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1188. public override string ToString() {
  1189. return pb::JsonFormatter.ToDiagnosticString(this);
  1190. }
  1191. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1192. public void WriteTo(pb::CodedOutputStream output) {
  1193. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1194. output.WriteRawMessage(this);
  1195. #else
  1196. if (Result != false) {
  1197. output.WriteRawTag(8);
  1198. output.WriteBool(Result);
  1199. }
  1200. if (Message.Length != 0) {
  1201. output.WriteRawTag(18);
  1202. output.WriteString(Message);
  1203. }
  1204. if (_unknownFields != null) {
  1205. _unknownFields.WriteTo(output);
  1206. }
  1207. #endif
  1208. }
  1209. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1210. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1211. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1212. if (Result != false) {
  1213. output.WriteRawTag(8);
  1214. output.WriteBool(Result);
  1215. }
  1216. if (Message.Length != 0) {
  1217. output.WriteRawTag(18);
  1218. output.WriteString(Message);
  1219. }
  1220. if (_unknownFields != null) {
  1221. _unknownFields.WriteTo(ref output);
  1222. }
  1223. }
  1224. #endif
  1225. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1226. public int CalculateSize() {
  1227. int size = 0;
  1228. if (Result != false) {
  1229. size += 1 + 1;
  1230. }
  1231. if (Message.Length != 0) {
  1232. size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
  1233. }
  1234. if (_unknownFields != null) {
  1235. size += _unknownFields.CalculateSize();
  1236. }
  1237. return size;
  1238. }
  1239. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1240. public void MergeFrom(StudentLogoutResponse other) {
  1241. if (other == null) {
  1242. return;
  1243. }
  1244. if (other.Result != false) {
  1245. Result = other.Result;
  1246. }
  1247. if (other.Message.Length != 0) {
  1248. Message = other.Message;
  1249. }
  1250. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1251. }
  1252. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1253. public void MergeFrom(pb::CodedInputStream input) {
  1254. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1255. input.ReadRawMessage(this);
  1256. #else
  1257. uint tag;
  1258. while ((tag = input.ReadTag()) != 0) {
  1259. switch(tag) {
  1260. default:
  1261. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1262. break;
  1263. case 8: {
  1264. Result = input.ReadBool();
  1265. break;
  1266. }
  1267. case 18: {
  1268. Message = input.ReadString();
  1269. break;
  1270. }
  1271. }
  1272. }
  1273. #endif
  1274. }
  1275. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1276. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1277. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1278. uint tag;
  1279. while ((tag = input.ReadTag()) != 0) {
  1280. switch(tag) {
  1281. default:
  1282. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1283. break;
  1284. case 8: {
  1285. Result = input.ReadBool();
  1286. break;
  1287. }
  1288. case 18: {
  1289. Message = input.ReadString();
  1290. break;
  1291. }
  1292. }
  1293. }
  1294. }
  1295. #endif
  1296. }
  1297. public sealed partial class StudentRegisterRequest : pb::IMessage<StudentRegisterRequest>
  1298. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1299. , pb::IBufferMessage
  1300. #endif
  1301. {
  1302. private static readonly pb::MessageParser<StudentRegisterRequest> _parser = new pb::MessageParser<StudentRegisterRequest>(() => new StudentRegisterRequest());
  1303. private pb::UnknownFieldSet _unknownFields;
  1304. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1305. public static pb::MessageParser<StudentRegisterRequest> Parser { get { return _parser; } }
  1306. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1307. public static pbr::MessageDescriptor Descriptor {
  1308. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[6]; }
  1309. }
  1310. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1311. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1312. get { return Descriptor; }
  1313. }
  1314. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1315. public StudentRegisterRequest() {
  1316. OnConstruction();
  1317. }
  1318. partial void OnConstruction();
  1319. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1320. public StudentRegisterRequest(StudentRegisterRequest other) : this() {
  1321. studentInfos_ = other.studentInfos_.Clone();
  1322. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1323. }
  1324. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1325. public StudentRegisterRequest Clone() {
  1326. return new StudentRegisterRequest(this);
  1327. }
  1328. /// <summary>Field number for the "studentInfos" field.</summary>
  1329. public const int StudentInfosFieldNumber = 1;
  1330. private static readonly pb::FieldCodec<global::StudentInfo> _repeated_studentInfos_codec
  1331. = pb::FieldCodec.ForMessage(10, global::StudentInfo.Parser);
  1332. private readonly pbc::RepeatedField<global::StudentInfo> studentInfos_ = new pbc::RepeatedField<global::StudentInfo>();
  1333. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1334. public pbc::RepeatedField<global::StudentInfo> StudentInfos {
  1335. get { return studentInfos_; }
  1336. }
  1337. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1338. public override bool Equals(object other) {
  1339. return Equals(other as StudentRegisterRequest);
  1340. }
  1341. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1342. public bool Equals(StudentRegisterRequest other) {
  1343. if (ReferenceEquals(other, null)) {
  1344. return false;
  1345. }
  1346. if (ReferenceEquals(other, this)) {
  1347. return true;
  1348. }
  1349. if(!studentInfos_.Equals(other.studentInfos_)) return false;
  1350. return Equals(_unknownFields, other._unknownFields);
  1351. }
  1352. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1353. public override int GetHashCode() {
  1354. int hash = 1;
  1355. hash ^= studentInfos_.GetHashCode();
  1356. if (_unknownFields != null) {
  1357. hash ^= _unknownFields.GetHashCode();
  1358. }
  1359. return hash;
  1360. }
  1361. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1362. public override string ToString() {
  1363. return pb::JsonFormatter.ToDiagnosticString(this);
  1364. }
  1365. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1366. public void WriteTo(pb::CodedOutputStream output) {
  1367. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1368. output.WriteRawMessage(this);
  1369. #else
  1370. studentInfos_.WriteTo(output, _repeated_studentInfos_codec);
  1371. if (_unknownFields != null) {
  1372. _unknownFields.WriteTo(output);
  1373. }
  1374. #endif
  1375. }
  1376. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1377. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1378. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1379. studentInfos_.WriteTo(ref output, _repeated_studentInfos_codec);
  1380. if (_unknownFields != null) {
  1381. _unknownFields.WriteTo(ref output);
  1382. }
  1383. }
  1384. #endif
  1385. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1386. public int CalculateSize() {
  1387. int size = 0;
  1388. size += studentInfos_.CalculateSize(_repeated_studentInfos_codec);
  1389. if (_unknownFields != null) {
  1390. size += _unknownFields.CalculateSize();
  1391. }
  1392. return size;
  1393. }
  1394. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1395. public void MergeFrom(StudentRegisterRequest other) {
  1396. if (other == null) {
  1397. return;
  1398. }
  1399. studentInfos_.Add(other.studentInfos_);
  1400. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1401. }
  1402. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1403. public void MergeFrom(pb::CodedInputStream input) {
  1404. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1405. input.ReadRawMessage(this);
  1406. #else
  1407. uint tag;
  1408. while ((tag = input.ReadTag()) != 0) {
  1409. switch(tag) {
  1410. default:
  1411. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1412. break;
  1413. case 10: {
  1414. studentInfos_.AddEntriesFrom(input, _repeated_studentInfos_codec);
  1415. break;
  1416. }
  1417. }
  1418. }
  1419. #endif
  1420. }
  1421. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1422. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1423. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1424. uint tag;
  1425. while ((tag = input.ReadTag()) != 0) {
  1426. switch(tag) {
  1427. default:
  1428. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1429. break;
  1430. case 10: {
  1431. studentInfos_.AddEntriesFrom(ref input, _repeated_studentInfos_codec);
  1432. break;
  1433. }
  1434. }
  1435. }
  1436. }
  1437. #endif
  1438. }
  1439. public sealed partial class StudentInfo : pb::IMessage<StudentInfo>
  1440. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1441. , pb::IBufferMessage
  1442. #endif
  1443. {
  1444. private static readonly pb::MessageParser<StudentInfo> _parser = new pb::MessageParser<StudentInfo>(() => new StudentInfo());
  1445. private pb::UnknownFieldSet _unknownFields;
  1446. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1447. public static pb::MessageParser<StudentInfo> Parser { get { return _parser; } }
  1448. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1449. public static pbr::MessageDescriptor Descriptor {
  1450. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[7]; }
  1451. }
  1452. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1453. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1454. get { return Descriptor; }
  1455. }
  1456. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1457. public StudentInfo() {
  1458. OnConstruction();
  1459. }
  1460. partial void OnConstruction();
  1461. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1462. public StudentInfo(StudentInfo other) : this() {
  1463. name_ = other.name_;
  1464. major_ = other.major_;
  1465. phoneNumber_ = other.phoneNumber_;
  1466. password_ = other.password_;
  1467. className_ = other.className_;
  1468. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1469. }
  1470. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1471. public StudentInfo Clone() {
  1472. return new StudentInfo(this);
  1473. }
  1474. /// <summary>Field number for the "name" field.</summary>
  1475. public const int NameFieldNumber = 1;
  1476. private string name_ = "";
  1477. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1478. public string Name {
  1479. get { return name_; }
  1480. set {
  1481. name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1482. }
  1483. }
  1484. /// <summary>Field number for the "major" field.</summary>
  1485. public const int MajorFieldNumber = 2;
  1486. private string major_ = "";
  1487. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1488. public string Major {
  1489. get { return major_; }
  1490. set {
  1491. major_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1492. }
  1493. }
  1494. /// <summary>Field number for the "phoneNumber" field.</summary>
  1495. public const int PhoneNumberFieldNumber = 3;
  1496. private string phoneNumber_ = "";
  1497. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1498. public string PhoneNumber {
  1499. get { return phoneNumber_; }
  1500. set {
  1501. phoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1502. }
  1503. }
  1504. /// <summary>Field number for the "password" field.</summary>
  1505. public const int PasswordFieldNumber = 4;
  1506. private string password_ = "";
  1507. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1508. public string Password {
  1509. get { return password_; }
  1510. set {
  1511. password_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1512. }
  1513. }
  1514. /// <summary>Field number for the "className" field.</summary>
  1515. public const int ClassNameFieldNumber = 5;
  1516. private string className_ = "";
  1517. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1518. public string ClassName {
  1519. get { return className_; }
  1520. set {
  1521. className_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1522. }
  1523. }
  1524. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1525. public override bool Equals(object other) {
  1526. return Equals(other as StudentInfo);
  1527. }
  1528. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1529. public bool Equals(StudentInfo other) {
  1530. if (ReferenceEquals(other, null)) {
  1531. return false;
  1532. }
  1533. if (ReferenceEquals(other, this)) {
  1534. return true;
  1535. }
  1536. if (Name != other.Name) return false;
  1537. if (Major != other.Major) return false;
  1538. if (PhoneNumber != other.PhoneNumber) return false;
  1539. if (Password != other.Password) return false;
  1540. if (ClassName != other.ClassName) return false;
  1541. return Equals(_unknownFields, other._unknownFields);
  1542. }
  1543. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1544. public override int GetHashCode() {
  1545. int hash = 1;
  1546. if (Name.Length != 0) hash ^= Name.GetHashCode();
  1547. if (Major.Length != 0) hash ^= Major.GetHashCode();
  1548. if (PhoneNumber.Length != 0) hash ^= PhoneNumber.GetHashCode();
  1549. if (Password.Length != 0) hash ^= Password.GetHashCode();
  1550. if (ClassName.Length != 0) hash ^= ClassName.GetHashCode();
  1551. if (_unknownFields != null) {
  1552. hash ^= _unknownFields.GetHashCode();
  1553. }
  1554. return hash;
  1555. }
  1556. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1557. public override string ToString() {
  1558. return pb::JsonFormatter.ToDiagnosticString(this);
  1559. }
  1560. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1561. public void WriteTo(pb::CodedOutputStream output) {
  1562. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1563. output.WriteRawMessage(this);
  1564. #else
  1565. if (Name.Length != 0) {
  1566. output.WriteRawTag(10);
  1567. output.WriteString(Name);
  1568. }
  1569. if (Major.Length != 0) {
  1570. output.WriteRawTag(18);
  1571. output.WriteString(Major);
  1572. }
  1573. if (PhoneNumber.Length != 0) {
  1574. output.WriteRawTag(26);
  1575. output.WriteString(PhoneNumber);
  1576. }
  1577. if (Password.Length != 0) {
  1578. output.WriteRawTag(34);
  1579. output.WriteString(Password);
  1580. }
  1581. if (ClassName.Length != 0) {
  1582. output.WriteRawTag(42);
  1583. output.WriteString(ClassName);
  1584. }
  1585. if (_unknownFields != null) {
  1586. _unknownFields.WriteTo(output);
  1587. }
  1588. #endif
  1589. }
  1590. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1591. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1592. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1593. if (Name.Length != 0) {
  1594. output.WriteRawTag(10);
  1595. output.WriteString(Name);
  1596. }
  1597. if (Major.Length != 0) {
  1598. output.WriteRawTag(18);
  1599. output.WriteString(Major);
  1600. }
  1601. if (PhoneNumber.Length != 0) {
  1602. output.WriteRawTag(26);
  1603. output.WriteString(PhoneNumber);
  1604. }
  1605. if (Password.Length != 0) {
  1606. output.WriteRawTag(34);
  1607. output.WriteString(Password);
  1608. }
  1609. if (ClassName.Length != 0) {
  1610. output.WriteRawTag(42);
  1611. output.WriteString(ClassName);
  1612. }
  1613. if (_unknownFields != null) {
  1614. _unknownFields.WriteTo(ref output);
  1615. }
  1616. }
  1617. #endif
  1618. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1619. public int CalculateSize() {
  1620. int size = 0;
  1621. if (Name.Length != 0) {
  1622. size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
  1623. }
  1624. if (Major.Length != 0) {
  1625. size += 1 + pb::CodedOutputStream.ComputeStringSize(Major);
  1626. }
  1627. if (PhoneNumber.Length != 0) {
  1628. size += 1 + pb::CodedOutputStream.ComputeStringSize(PhoneNumber);
  1629. }
  1630. if (Password.Length != 0) {
  1631. size += 1 + pb::CodedOutputStream.ComputeStringSize(Password);
  1632. }
  1633. if (ClassName.Length != 0) {
  1634. size += 1 + pb::CodedOutputStream.ComputeStringSize(ClassName);
  1635. }
  1636. if (_unknownFields != null) {
  1637. size += _unknownFields.CalculateSize();
  1638. }
  1639. return size;
  1640. }
  1641. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1642. public void MergeFrom(StudentInfo other) {
  1643. if (other == null) {
  1644. return;
  1645. }
  1646. if (other.Name.Length != 0) {
  1647. Name = other.Name;
  1648. }
  1649. if (other.Major.Length != 0) {
  1650. Major = other.Major;
  1651. }
  1652. if (other.PhoneNumber.Length != 0) {
  1653. PhoneNumber = other.PhoneNumber;
  1654. }
  1655. if (other.Password.Length != 0) {
  1656. Password = other.Password;
  1657. }
  1658. if (other.ClassName.Length != 0) {
  1659. ClassName = other.ClassName;
  1660. }
  1661. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1662. }
  1663. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1664. public void MergeFrom(pb::CodedInputStream input) {
  1665. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1666. input.ReadRawMessage(this);
  1667. #else
  1668. uint tag;
  1669. while ((tag = input.ReadTag()) != 0) {
  1670. switch(tag) {
  1671. default:
  1672. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1673. break;
  1674. case 10: {
  1675. Name = input.ReadString();
  1676. break;
  1677. }
  1678. case 18: {
  1679. Major = input.ReadString();
  1680. break;
  1681. }
  1682. case 26: {
  1683. PhoneNumber = input.ReadString();
  1684. break;
  1685. }
  1686. case 34: {
  1687. Password = input.ReadString();
  1688. break;
  1689. }
  1690. case 42: {
  1691. ClassName = input.ReadString();
  1692. break;
  1693. }
  1694. }
  1695. }
  1696. #endif
  1697. }
  1698. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1699. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1700. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1701. uint tag;
  1702. while ((tag = input.ReadTag()) != 0) {
  1703. switch(tag) {
  1704. default:
  1705. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1706. break;
  1707. case 10: {
  1708. Name = input.ReadString();
  1709. break;
  1710. }
  1711. case 18: {
  1712. Major = input.ReadString();
  1713. break;
  1714. }
  1715. case 26: {
  1716. PhoneNumber = input.ReadString();
  1717. break;
  1718. }
  1719. case 34: {
  1720. Password = input.ReadString();
  1721. break;
  1722. }
  1723. case 42: {
  1724. ClassName = input.ReadString();
  1725. break;
  1726. }
  1727. }
  1728. }
  1729. }
  1730. #endif
  1731. }
  1732. public sealed partial class StudentRegisterResponse : pb::IMessage<StudentRegisterResponse>
  1733. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1734. , pb::IBufferMessage
  1735. #endif
  1736. {
  1737. private static readonly pb::MessageParser<StudentRegisterResponse> _parser = new pb::MessageParser<StudentRegisterResponse>(() => new StudentRegisterResponse());
  1738. private pb::UnknownFieldSet _unknownFields;
  1739. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1740. public static pb::MessageParser<StudentRegisterResponse> Parser { get { return _parser; } }
  1741. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1742. public static pbr::MessageDescriptor Descriptor {
  1743. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[8]; }
  1744. }
  1745. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1746. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1747. get { return Descriptor; }
  1748. }
  1749. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1750. public StudentRegisterResponse() {
  1751. OnConstruction();
  1752. }
  1753. partial void OnConstruction();
  1754. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1755. public StudentRegisterResponse(StudentRegisterResponse other) : this() {
  1756. result_ = other.result_;
  1757. message_ = other.message_;
  1758. studentInfoResults_ = other.studentInfoResults_.Clone();
  1759. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1760. }
  1761. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1762. public StudentRegisterResponse Clone() {
  1763. return new StudentRegisterResponse(this);
  1764. }
  1765. /// <summary>Field number for the "result" field.</summary>
  1766. public const int ResultFieldNumber = 1;
  1767. private int result_;
  1768. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1769. public int Result {
  1770. get { return result_; }
  1771. set {
  1772. result_ = value;
  1773. }
  1774. }
  1775. /// <summary>Field number for the "message" field.</summary>
  1776. public const int MessageFieldNumber = 2;
  1777. private string message_ = "";
  1778. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1779. public string Message {
  1780. get { return message_; }
  1781. set {
  1782. message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1783. }
  1784. }
  1785. /// <summary>Field number for the "StudentInfoResults" field.</summary>
  1786. public const int StudentInfoResultsFieldNumber = 3;
  1787. private static readonly pb::FieldCodec<global::StudentInfoResult> _repeated_studentInfoResults_codec
  1788. = pb::FieldCodec.ForMessage(26, global::StudentInfoResult.Parser);
  1789. private readonly pbc::RepeatedField<global::StudentInfoResult> studentInfoResults_ = new pbc::RepeatedField<global::StudentInfoResult>();
  1790. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1791. public pbc::RepeatedField<global::StudentInfoResult> StudentInfoResults {
  1792. get { return studentInfoResults_; }
  1793. }
  1794. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1795. public override bool Equals(object other) {
  1796. return Equals(other as StudentRegisterResponse);
  1797. }
  1798. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1799. public bool Equals(StudentRegisterResponse other) {
  1800. if (ReferenceEquals(other, null)) {
  1801. return false;
  1802. }
  1803. if (ReferenceEquals(other, this)) {
  1804. return true;
  1805. }
  1806. if (Result != other.Result) return false;
  1807. if (Message != other.Message) return false;
  1808. if(!studentInfoResults_.Equals(other.studentInfoResults_)) return false;
  1809. return Equals(_unknownFields, other._unknownFields);
  1810. }
  1811. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1812. public override int GetHashCode() {
  1813. int hash = 1;
  1814. if (Result != 0) hash ^= Result.GetHashCode();
  1815. if (Message.Length != 0) hash ^= Message.GetHashCode();
  1816. hash ^= studentInfoResults_.GetHashCode();
  1817. if (_unknownFields != null) {
  1818. hash ^= _unknownFields.GetHashCode();
  1819. }
  1820. return hash;
  1821. }
  1822. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1823. public override string ToString() {
  1824. return pb::JsonFormatter.ToDiagnosticString(this);
  1825. }
  1826. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1827. public void WriteTo(pb::CodedOutputStream output) {
  1828. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1829. output.WriteRawMessage(this);
  1830. #else
  1831. if (Result != 0) {
  1832. output.WriteRawTag(8);
  1833. output.WriteInt32(Result);
  1834. }
  1835. if (Message.Length != 0) {
  1836. output.WriteRawTag(18);
  1837. output.WriteString(Message);
  1838. }
  1839. studentInfoResults_.WriteTo(output, _repeated_studentInfoResults_codec);
  1840. if (_unknownFields != null) {
  1841. _unknownFields.WriteTo(output);
  1842. }
  1843. #endif
  1844. }
  1845. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1846. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1847. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  1848. if (Result != 0) {
  1849. output.WriteRawTag(8);
  1850. output.WriteInt32(Result);
  1851. }
  1852. if (Message.Length != 0) {
  1853. output.WriteRawTag(18);
  1854. output.WriteString(Message);
  1855. }
  1856. studentInfoResults_.WriteTo(ref output, _repeated_studentInfoResults_codec);
  1857. if (_unknownFields != null) {
  1858. _unknownFields.WriteTo(ref output);
  1859. }
  1860. }
  1861. #endif
  1862. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1863. public int CalculateSize() {
  1864. int size = 0;
  1865. if (Result != 0) {
  1866. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Result);
  1867. }
  1868. if (Message.Length != 0) {
  1869. size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
  1870. }
  1871. size += studentInfoResults_.CalculateSize(_repeated_studentInfoResults_codec);
  1872. if (_unknownFields != null) {
  1873. size += _unknownFields.CalculateSize();
  1874. }
  1875. return size;
  1876. }
  1877. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1878. public void MergeFrom(StudentRegisterResponse other) {
  1879. if (other == null) {
  1880. return;
  1881. }
  1882. if (other.Result != 0) {
  1883. Result = other.Result;
  1884. }
  1885. if (other.Message.Length != 0) {
  1886. Message = other.Message;
  1887. }
  1888. studentInfoResults_.Add(other.studentInfoResults_);
  1889. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1890. }
  1891. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1892. public void MergeFrom(pb::CodedInputStream input) {
  1893. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1894. input.ReadRawMessage(this);
  1895. #else
  1896. uint tag;
  1897. while ((tag = input.ReadTag()) != 0) {
  1898. switch(tag) {
  1899. default:
  1900. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1901. break;
  1902. case 8: {
  1903. Result = input.ReadInt32();
  1904. break;
  1905. }
  1906. case 18: {
  1907. Message = input.ReadString();
  1908. break;
  1909. }
  1910. case 26: {
  1911. studentInfoResults_.AddEntriesFrom(input, _repeated_studentInfoResults_codec);
  1912. break;
  1913. }
  1914. }
  1915. }
  1916. #endif
  1917. }
  1918. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1919. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1920. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  1921. uint tag;
  1922. while ((tag = input.ReadTag()) != 0) {
  1923. switch(tag) {
  1924. default:
  1925. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  1926. break;
  1927. case 8: {
  1928. Result = input.ReadInt32();
  1929. break;
  1930. }
  1931. case 18: {
  1932. Message = input.ReadString();
  1933. break;
  1934. }
  1935. case 26: {
  1936. studentInfoResults_.AddEntriesFrom(ref input, _repeated_studentInfoResults_codec);
  1937. break;
  1938. }
  1939. }
  1940. }
  1941. }
  1942. #endif
  1943. }
  1944. public sealed partial class StudentInfoResult : pb::IMessage<StudentInfoResult>
  1945. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  1946. , pb::IBufferMessage
  1947. #endif
  1948. {
  1949. private static readonly pb::MessageParser<StudentInfoResult> _parser = new pb::MessageParser<StudentInfoResult>(() => new StudentInfoResult());
  1950. private pb::UnknownFieldSet _unknownFields;
  1951. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1952. public static pb::MessageParser<StudentInfoResult> Parser { get { return _parser; } }
  1953. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1954. public static pbr::MessageDescriptor Descriptor {
  1955. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[9]; }
  1956. }
  1957. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1958. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1959. get { return Descriptor; }
  1960. }
  1961. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1962. public StudentInfoResult() {
  1963. OnConstruction();
  1964. }
  1965. partial void OnConstruction();
  1966. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1967. public StudentInfoResult(StudentInfoResult other) : this() {
  1968. phoneNumber_ = other.phoneNumber_;
  1969. name_ = other.name_;
  1970. success_ = other.success_;
  1971. detailMsg_ = other.detailMsg_;
  1972. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1973. }
  1974. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1975. public StudentInfoResult Clone() {
  1976. return new StudentInfoResult(this);
  1977. }
  1978. /// <summary>Field number for the "phoneNumber" field.</summary>
  1979. public const int PhoneNumberFieldNumber = 1;
  1980. private string phoneNumber_ = "";
  1981. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1982. public string PhoneNumber {
  1983. get { return phoneNumber_; }
  1984. set {
  1985. phoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1986. }
  1987. }
  1988. /// <summary>Field number for the "name" field.</summary>
  1989. public const int NameFieldNumber = 2;
  1990. private string name_ = "";
  1991. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1992. public string Name {
  1993. get { return name_; }
  1994. set {
  1995. name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1996. }
  1997. }
  1998. /// <summary>Field number for the "success" field.</summary>
  1999. public const int SuccessFieldNumber = 3;
  2000. private bool success_;
  2001. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2002. public bool Success {
  2003. get { return success_; }
  2004. set {
  2005. success_ = value;
  2006. }
  2007. }
  2008. /// <summary>Field number for the "detailMsg" field.</summary>
  2009. public const int DetailMsgFieldNumber = 4;
  2010. private string detailMsg_ = "";
  2011. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2012. public string DetailMsg {
  2013. get { return detailMsg_; }
  2014. set {
  2015. detailMsg_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2016. }
  2017. }
  2018. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2019. public override bool Equals(object other) {
  2020. return Equals(other as StudentInfoResult);
  2021. }
  2022. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2023. public bool Equals(StudentInfoResult other) {
  2024. if (ReferenceEquals(other, null)) {
  2025. return false;
  2026. }
  2027. if (ReferenceEquals(other, this)) {
  2028. return true;
  2029. }
  2030. if (PhoneNumber != other.PhoneNumber) return false;
  2031. if (Name != other.Name) return false;
  2032. if (Success != other.Success) return false;
  2033. if (DetailMsg != other.DetailMsg) return false;
  2034. return Equals(_unknownFields, other._unknownFields);
  2035. }
  2036. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2037. public override int GetHashCode() {
  2038. int hash = 1;
  2039. if (PhoneNumber.Length != 0) hash ^= PhoneNumber.GetHashCode();
  2040. if (Name.Length != 0) hash ^= Name.GetHashCode();
  2041. if (Success != false) hash ^= Success.GetHashCode();
  2042. if (DetailMsg.Length != 0) hash ^= DetailMsg.GetHashCode();
  2043. if (_unknownFields != null) {
  2044. hash ^= _unknownFields.GetHashCode();
  2045. }
  2046. return hash;
  2047. }
  2048. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2049. public override string ToString() {
  2050. return pb::JsonFormatter.ToDiagnosticString(this);
  2051. }
  2052. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2053. public void WriteTo(pb::CodedOutputStream output) {
  2054. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2055. output.WriteRawMessage(this);
  2056. #else
  2057. if (PhoneNumber.Length != 0) {
  2058. output.WriteRawTag(10);
  2059. output.WriteString(PhoneNumber);
  2060. }
  2061. if (Name.Length != 0) {
  2062. output.WriteRawTag(18);
  2063. output.WriteString(Name);
  2064. }
  2065. if (Success != false) {
  2066. output.WriteRawTag(24);
  2067. output.WriteBool(Success);
  2068. }
  2069. if (DetailMsg.Length != 0) {
  2070. output.WriteRawTag(34);
  2071. output.WriteString(DetailMsg);
  2072. }
  2073. if (_unknownFields != null) {
  2074. _unknownFields.WriteTo(output);
  2075. }
  2076. #endif
  2077. }
  2078. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2079. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2080. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  2081. if (PhoneNumber.Length != 0) {
  2082. output.WriteRawTag(10);
  2083. output.WriteString(PhoneNumber);
  2084. }
  2085. if (Name.Length != 0) {
  2086. output.WriteRawTag(18);
  2087. output.WriteString(Name);
  2088. }
  2089. if (Success != false) {
  2090. output.WriteRawTag(24);
  2091. output.WriteBool(Success);
  2092. }
  2093. if (DetailMsg.Length != 0) {
  2094. output.WriteRawTag(34);
  2095. output.WriteString(DetailMsg);
  2096. }
  2097. if (_unknownFields != null) {
  2098. _unknownFields.WriteTo(ref output);
  2099. }
  2100. }
  2101. #endif
  2102. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2103. public int CalculateSize() {
  2104. int size = 0;
  2105. if (PhoneNumber.Length != 0) {
  2106. size += 1 + pb::CodedOutputStream.ComputeStringSize(PhoneNumber);
  2107. }
  2108. if (Name.Length != 0) {
  2109. size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
  2110. }
  2111. if (Success != false) {
  2112. size += 1 + 1;
  2113. }
  2114. if (DetailMsg.Length != 0) {
  2115. size += 1 + pb::CodedOutputStream.ComputeStringSize(DetailMsg);
  2116. }
  2117. if (_unknownFields != null) {
  2118. size += _unknownFields.CalculateSize();
  2119. }
  2120. return size;
  2121. }
  2122. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2123. public void MergeFrom(StudentInfoResult other) {
  2124. if (other == null) {
  2125. return;
  2126. }
  2127. if (other.PhoneNumber.Length != 0) {
  2128. PhoneNumber = other.PhoneNumber;
  2129. }
  2130. if (other.Name.Length != 0) {
  2131. Name = other.Name;
  2132. }
  2133. if (other.Success != false) {
  2134. Success = other.Success;
  2135. }
  2136. if (other.DetailMsg.Length != 0) {
  2137. DetailMsg = other.DetailMsg;
  2138. }
  2139. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2140. }
  2141. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2142. public void MergeFrom(pb::CodedInputStream input) {
  2143. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2144. input.ReadRawMessage(this);
  2145. #else
  2146. uint tag;
  2147. while ((tag = input.ReadTag()) != 0) {
  2148. switch(tag) {
  2149. default:
  2150. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2151. break;
  2152. case 10: {
  2153. PhoneNumber = input.ReadString();
  2154. break;
  2155. }
  2156. case 18: {
  2157. Name = input.ReadString();
  2158. break;
  2159. }
  2160. case 24: {
  2161. Success = input.ReadBool();
  2162. break;
  2163. }
  2164. case 34: {
  2165. DetailMsg = input.ReadString();
  2166. break;
  2167. }
  2168. }
  2169. }
  2170. #endif
  2171. }
  2172. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2173. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2174. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2175. uint tag;
  2176. while ((tag = input.ReadTag()) != 0) {
  2177. switch(tag) {
  2178. default:
  2179. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2180. break;
  2181. case 10: {
  2182. PhoneNumber = input.ReadString();
  2183. break;
  2184. }
  2185. case 18: {
  2186. Name = input.ReadString();
  2187. break;
  2188. }
  2189. case 24: {
  2190. Success = input.ReadBool();
  2191. break;
  2192. }
  2193. case 34: {
  2194. DetailMsg = input.ReadString();
  2195. break;
  2196. }
  2197. }
  2198. }
  2199. }
  2200. #endif
  2201. }
  2202. public sealed partial class SearchRequest : pb::IMessage<SearchRequest>
  2203. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2204. , pb::IBufferMessage
  2205. #endif
  2206. {
  2207. private static readonly pb::MessageParser<SearchRequest> _parser = new pb::MessageParser<SearchRequest>(() => new SearchRequest());
  2208. private pb::UnknownFieldSet _unknownFields;
  2209. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2210. public static pb::MessageParser<SearchRequest> Parser { get { return _parser; } }
  2211. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2212. public static pbr::MessageDescriptor Descriptor {
  2213. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[10]; }
  2214. }
  2215. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2216. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2217. get { return Descriptor; }
  2218. }
  2219. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2220. public SearchRequest() {
  2221. OnConstruction();
  2222. }
  2223. partial void OnConstruction();
  2224. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2225. public SearchRequest(SearchRequest other) : this() {
  2226. name_ = other.name_;
  2227. major_ = other.major_;
  2228. courseName_ = other.courseName_;
  2229. className_ = other.className_;
  2230. phoneNumber_ = other.phoneNumber_;
  2231. starttime_ = other.starttime_;
  2232. order_ = other.order_;
  2233. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2234. }
  2235. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2236. public SearchRequest Clone() {
  2237. return new SearchRequest(this);
  2238. }
  2239. /// <summary>Field number for the "name" field.</summary>
  2240. public const int NameFieldNumber = 1;
  2241. private string name_ = "";
  2242. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2243. public string Name {
  2244. get { return name_; }
  2245. set {
  2246. name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2247. }
  2248. }
  2249. /// <summary>Field number for the "major" field.</summary>
  2250. public const int MajorFieldNumber = 2;
  2251. private string major_ = "";
  2252. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2253. public string Major {
  2254. get { return major_; }
  2255. set {
  2256. major_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2257. }
  2258. }
  2259. /// <summary>Field number for the "courseName" field.</summary>
  2260. public const int CourseNameFieldNumber = 3;
  2261. private string courseName_ = "";
  2262. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2263. public string CourseName {
  2264. get { return courseName_; }
  2265. set {
  2266. courseName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2267. }
  2268. }
  2269. /// <summary>Field number for the "className" field.</summary>
  2270. public const int ClassNameFieldNumber = 4;
  2271. private string className_ = "";
  2272. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2273. public string ClassName {
  2274. get { return className_; }
  2275. set {
  2276. className_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2277. }
  2278. }
  2279. /// <summary>Field number for the "phoneNumber" field.</summary>
  2280. public const int PhoneNumberFieldNumber = 5;
  2281. private string phoneNumber_ = "";
  2282. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2283. public string PhoneNumber {
  2284. get { return phoneNumber_; }
  2285. set {
  2286. phoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2287. }
  2288. }
  2289. /// <summary>Field number for the "starttime" field.</summary>
  2290. public const int StarttimeFieldNumber = 6;
  2291. private long starttime_;
  2292. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2293. public long Starttime {
  2294. get { return starttime_; }
  2295. set {
  2296. starttime_ = value;
  2297. }
  2298. }
  2299. /// <summary>Field number for the "order" field.</summary>
  2300. public const int OrderFieldNumber = 7;
  2301. private int order_;
  2302. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2303. public int Order {
  2304. get { return order_; }
  2305. set {
  2306. order_ = value;
  2307. }
  2308. }
  2309. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2310. public override bool Equals(object other) {
  2311. return Equals(other as SearchRequest);
  2312. }
  2313. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2314. public bool Equals(SearchRequest other) {
  2315. if (ReferenceEquals(other, null)) {
  2316. return false;
  2317. }
  2318. if (ReferenceEquals(other, this)) {
  2319. return true;
  2320. }
  2321. if (Name != other.Name) return false;
  2322. if (Major != other.Major) return false;
  2323. if (CourseName != other.CourseName) return false;
  2324. if (ClassName != other.ClassName) return false;
  2325. if (PhoneNumber != other.PhoneNumber) return false;
  2326. if (Starttime != other.Starttime) return false;
  2327. if (Order != other.Order) return false;
  2328. return Equals(_unknownFields, other._unknownFields);
  2329. }
  2330. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2331. public override int GetHashCode() {
  2332. int hash = 1;
  2333. if (Name.Length != 0) hash ^= Name.GetHashCode();
  2334. if (Major.Length != 0) hash ^= Major.GetHashCode();
  2335. if (CourseName.Length != 0) hash ^= CourseName.GetHashCode();
  2336. if (ClassName.Length != 0) hash ^= ClassName.GetHashCode();
  2337. if (PhoneNumber.Length != 0) hash ^= PhoneNumber.GetHashCode();
  2338. if (Starttime != 0L) hash ^= Starttime.GetHashCode();
  2339. if (Order != 0) hash ^= Order.GetHashCode();
  2340. if (_unknownFields != null) {
  2341. hash ^= _unknownFields.GetHashCode();
  2342. }
  2343. return hash;
  2344. }
  2345. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2346. public override string ToString() {
  2347. return pb::JsonFormatter.ToDiagnosticString(this);
  2348. }
  2349. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2350. public void WriteTo(pb::CodedOutputStream output) {
  2351. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2352. output.WriteRawMessage(this);
  2353. #else
  2354. if (Name.Length != 0) {
  2355. output.WriteRawTag(10);
  2356. output.WriteString(Name);
  2357. }
  2358. if (Major.Length != 0) {
  2359. output.WriteRawTag(18);
  2360. output.WriteString(Major);
  2361. }
  2362. if (CourseName.Length != 0) {
  2363. output.WriteRawTag(26);
  2364. output.WriteString(CourseName);
  2365. }
  2366. if (ClassName.Length != 0) {
  2367. output.WriteRawTag(34);
  2368. output.WriteString(ClassName);
  2369. }
  2370. if (PhoneNumber.Length != 0) {
  2371. output.WriteRawTag(42);
  2372. output.WriteString(PhoneNumber);
  2373. }
  2374. if (Starttime != 0L) {
  2375. output.WriteRawTag(48);
  2376. output.WriteInt64(Starttime);
  2377. }
  2378. if (Order != 0) {
  2379. output.WriteRawTag(56);
  2380. output.WriteInt32(Order);
  2381. }
  2382. if (_unknownFields != null) {
  2383. _unknownFields.WriteTo(output);
  2384. }
  2385. #endif
  2386. }
  2387. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2388. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2389. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  2390. if (Name.Length != 0) {
  2391. output.WriteRawTag(10);
  2392. output.WriteString(Name);
  2393. }
  2394. if (Major.Length != 0) {
  2395. output.WriteRawTag(18);
  2396. output.WriteString(Major);
  2397. }
  2398. if (CourseName.Length != 0) {
  2399. output.WriteRawTag(26);
  2400. output.WriteString(CourseName);
  2401. }
  2402. if (ClassName.Length != 0) {
  2403. output.WriteRawTag(34);
  2404. output.WriteString(ClassName);
  2405. }
  2406. if (PhoneNumber.Length != 0) {
  2407. output.WriteRawTag(42);
  2408. output.WriteString(PhoneNumber);
  2409. }
  2410. if (Starttime != 0L) {
  2411. output.WriteRawTag(48);
  2412. output.WriteInt64(Starttime);
  2413. }
  2414. if (Order != 0) {
  2415. output.WriteRawTag(56);
  2416. output.WriteInt32(Order);
  2417. }
  2418. if (_unknownFields != null) {
  2419. _unknownFields.WriteTo(ref output);
  2420. }
  2421. }
  2422. #endif
  2423. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2424. public int CalculateSize() {
  2425. int size = 0;
  2426. if (Name.Length != 0) {
  2427. size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
  2428. }
  2429. if (Major.Length != 0) {
  2430. size += 1 + pb::CodedOutputStream.ComputeStringSize(Major);
  2431. }
  2432. if (CourseName.Length != 0) {
  2433. size += 1 + pb::CodedOutputStream.ComputeStringSize(CourseName);
  2434. }
  2435. if (ClassName.Length != 0) {
  2436. size += 1 + pb::CodedOutputStream.ComputeStringSize(ClassName);
  2437. }
  2438. if (PhoneNumber.Length != 0) {
  2439. size += 1 + pb::CodedOutputStream.ComputeStringSize(PhoneNumber);
  2440. }
  2441. if (Starttime != 0L) {
  2442. size += 1 + pb::CodedOutputStream.ComputeInt64Size(Starttime);
  2443. }
  2444. if (Order != 0) {
  2445. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order);
  2446. }
  2447. if (_unknownFields != null) {
  2448. size += _unknownFields.CalculateSize();
  2449. }
  2450. return size;
  2451. }
  2452. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2453. public void MergeFrom(SearchRequest other) {
  2454. if (other == null) {
  2455. return;
  2456. }
  2457. if (other.Name.Length != 0) {
  2458. Name = other.Name;
  2459. }
  2460. if (other.Major.Length != 0) {
  2461. Major = other.Major;
  2462. }
  2463. if (other.CourseName.Length != 0) {
  2464. CourseName = other.CourseName;
  2465. }
  2466. if (other.ClassName.Length != 0) {
  2467. ClassName = other.ClassName;
  2468. }
  2469. if (other.PhoneNumber.Length != 0) {
  2470. PhoneNumber = other.PhoneNumber;
  2471. }
  2472. if (other.Starttime != 0L) {
  2473. Starttime = other.Starttime;
  2474. }
  2475. if (other.Order != 0) {
  2476. Order = other.Order;
  2477. }
  2478. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2479. }
  2480. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2481. public void MergeFrom(pb::CodedInputStream input) {
  2482. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2483. input.ReadRawMessage(this);
  2484. #else
  2485. uint tag;
  2486. while ((tag = input.ReadTag()) != 0) {
  2487. switch(tag) {
  2488. default:
  2489. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2490. break;
  2491. case 10: {
  2492. Name = input.ReadString();
  2493. break;
  2494. }
  2495. case 18: {
  2496. Major = input.ReadString();
  2497. break;
  2498. }
  2499. case 26: {
  2500. CourseName = input.ReadString();
  2501. break;
  2502. }
  2503. case 34: {
  2504. ClassName = input.ReadString();
  2505. break;
  2506. }
  2507. case 42: {
  2508. PhoneNumber = input.ReadString();
  2509. break;
  2510. }
  2511. case 48: {
  2512. Starttime = input.ReadInt64();
  2513. break;
  2514. }
  2515. case 56: {
  2516. Order = input.ReadInt32();
  2517. break;
  2518. }
  2519. }
  2520. }
  2521. #endif
  2522. }
  2523. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2524. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2525. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2526. uint tag;
  2527. while ((tag = input.ReadTag()) != 0) {
  2528. switch(tag) {
  2529. default:
  2530. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2531. break;
  2532. case 10: {
  2533. Name = input.ReadString();
  2534. break;
  2535. }
  2536. case 18: {
  2537. Major = input.ReadString();
  2538. break;
  2539. }
  2540. case 26: {
  2541. CourseName = input.ReadString();
  2542. break;
  2543. }
  2544. case 34: {
  2545. ClassName = input.ReadString();
  2546. break;
  2547. }
  2548. case 42: {
  2549. PhoneNumber = input.ReadString();
  2550. break;
  2551. }
  2552. case 48: {
  2553. Starttime = input.ReadInt64();
  2554. break;
  2555. }
  2556. case 56: {
  2557. Order = input.ReadInt32();
  2558. break;
  2559. }
  2560. }
  2561. }
  2562. }
  2563. #endif
  2564. }
  2565. public sealed partial class SearchInfoResponse : pb::IMessage<SearchInfoResponse>
  2566. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2567. , pb::IBufferMessage
  2568. #endif
  2569. {
  2570. private static readonly pb::MessageParser<SearchInfoResponse> _parser = new pb::MessageParser<SearchInfoResponse>(() => new SearchInfoResponse());
  2571. private pb::UnknownFieldSet _unknownFields;
  2572. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2573. public static pb::MessageParser<SearchInfoResponse> Parser { get { return _parser; } }
  2574. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2575. public static pbr::MessageDescriptor Descriptor {
  2576. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[11]; }
  2577. }
  2578. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2579. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2580. get { return Descriptor; }
  2581. }
  2582. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2583. public SearchInfoResponse() {
  2584. OnConstruction();
  2585. }
  2586. partial void OnConstruction();
  2587. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2588. public SearchInfoResponse(SearchInfoResponse other) : this() {
  2589. result_ = other.result_;
  2590. message_ = other.message_;
  2591. studentInfos_ = other.studentInfos_.Clone();
  2592. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2593. }
  2594. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2595. public SearchInfoResponse Clone() {
  2596. return new SearchInfoResponse(this);
  2597. }
  2598. /// <summary>Field number for the "result" field.</summary>
  2599. public const int ResultFieldNumber = 1;
  2600. private bool result_;
  2601. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2602. public bool Result {
  2603. get { return result_; }
  2604. set {
  2605. result_ = value;
  2606. }
  2607. }
  2608. /// <summary>Field number for the "message" field.</summary>
  2609. public const int MessageFieldNumber = 2;
  2610. private string message_ = "";
  2611. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2612. public string Message {
  2613. get { return message_; }
  2614. set {
  2615. message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2616. }
  2617. }
  2618. /// <summary>Field number for the "studentInfos" field.</summary>
  2619. public const int StudentInfosFieldNumber = 3;
  2620. private static readonly pb::FieldCodec<global::StudentInfo> _repeated_studentInfos_codec
  2621. = pb::FieldCodec.ForMessage(26, global::StudentInfo.Parser);
  2622. private readonly pbc::RepeatedField<global::StudentInfo> studentInfos_ = new pbc::RepeatedField<global::StudentInfo>();
  2623. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2624. public pbc::RepeatedField<global::StudentInfo> StudentInfos {
  2625. get { return studentInfos_; }
  2626. }
  2627. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2628. public override bool Equals(object other) {
  2629. return Equals(other as SearchInfoResponse);
  2630. }
  2631. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2632. public bool Equals(SearchInfoResponse other) {
  2633. if (ReferenceEquals(other, null)) {
  2634. return false;
  2635. }
  2636. if (ReferenceEquals(other, this)) {
  2637. return true;
  2638. }
  2639. if (Result != other.Result) return false;
  2640. if (Message != other.Message) return false;
  2641. if(!studentInfos_.Equals(other.studentInfos_)) return false;
  2642. return Equals(_unknownFields, other._unknownFields);
  2643. }
  2644. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2645. public override int GetHashCode() {
  2646. int hash = 1;
  2647. if (Result != false) hash ^= Result.GetHashCode();
  2648. if (Message.Length != 0) hash ^= Message.GetHashCode();
  2649. hash ^= studentInfos_.GetHashCode();
  2650. if (_unknownFields != null) {
  2651. hash ^= _unknownFields.GetHashCode();
  2652. }
  2653. return hash;
  2654. }
  2655. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2656. public override string ToString() {
  2657. return pb::JsonFormatter.ToDiagnosticString(this);
  2658. }
  2659. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2660. public void WriteTo(pb::CodedOutputStream output) {
  2661. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2662. output.WriteRawMessage(this);
  2663. #else
  2664. if (Result != false) {
  2665. output.WriteRawTag(8);
  2666. output.WriteBool(Result);
  2667. }
  2668. if (Message.Length != 0) {
  2669. output.WriteRawTag(18);
  2670. output.WriteString(Message);
  2671. }
  2672. studentInfos_.WriteTo(output, _repeated_studentInfos_codec);
  2673. if (_unknownFields != null) {
  2674. _unknownFields.WriteTo(output);
  2675. }
  2676. #endif
  2677. }
  2678. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2679. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2680. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  2681. if (Result != false) {
  2682. output.WriteRawTag(8);
  2683. output.WriteBool(Result);
  2684. }
  2685. if (Message.Length != 0) {
  2686. output.WriteRawTag(18);
  2687. output.WriteString(Message);
  2688. }
  2689. studentInfos_.WriteTo(ref output, _repeated_studentInfos_codec);
  2690. if (_unknownFields != null) {
  2691. _unknownFields.WriteTo(ref output);
  2692. }
  2693. }
  2694. #endif
  2695. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2696. public int CalculateSize() {
  2697. int size = 0;
  2698. if (Result != false) {
  2699. size += 1 + 1;
  2700. }
  2701. if (Message.Length != 0) {
  2702. size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
  2703. }
  2704. size += studentInfos_.CalculateSize(_repeated_studentInfos_codec);
  2705. if (_unknownFields != null) {
  2706. size += _unknownFields.CalculateSize();
  2707. }
  2708. return size;
  2709. }
  2710. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2711. public void MergeFrom(SearchInfoResponse other) {
  2712. if (other == null) {
  2713. return;
  2714. }
  2715. if (other.Result != false) {
  2716. Result = other.Result;
  2717. }
  2718. if (other.Message.Length != 0) {
  2719. Message = other.Message;
  2720. }
  2721. studentInfos_.Add(other.studentInfos_);
  2722. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2723. }
  2724. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2725. public void MergeFrom(pb::CodedInputStream input) {
  2726. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2727. input.ReadRawMessage(this);
  2728. #else
  2729. uint tag;
  2730. while ((tag = input.ReadTag()) != 0) {
  2731. switch(tag) {
  2732. default:
  2733. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2734. break;
  2735. case 8: {
  2736. Result = input.ReadBool();
  2737. break;
  2738. }
  2739. case 18: {
  2740. Message = input.ReadString();
  2741. break;
  2742. }
  2743. case 26: {
  2744. studentInfos_.AddEntriesFrom(input, _repeated_studentInfos_codec);
  2745. break;
  2746. }
  2747. }
  2748. }
  2749. #endif
  2750. }
  2751. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2752. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2753. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2754. uint tag;
  2755. while ((tag = input.ReadTag()) != 0) {
  2756. switch(tag) {
  2757. default:
  2758. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2759. break;
  2760. case 8: {
  2761. Result = input.ReadBool();
  2762. break;
  2763. }
  2764. case 18: {
  2765. Message = input.ReadString();
  2766. break;
  2767. }
  2768. case 26: {
  2769. studentInfos_.AddEntriesFrom(ref input, _repeated_studentInfos_codec);
  2770. break;
  2771. }
  2772. }
  2773. }
  2774. }
  2775. #endif
  2776. }
  2777. public sealed partial class SearchScoreResponse : pb::IMessage<SearchScoreResponse>
  2778. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2779. , pb::IBufferMessage
  2780. #endif
  2781. {
  2782. private static readonly pb::MessageParser<SearchScoreResponse> _parser = new pb::MessageParser<SearchScoreResponse>(() => new SearchScoreResponse());
  2783. private pb::UnknownFieldSet _unknownFields;
  2784. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2785. public static pb::MessageParser<SearchScoreResponse> Parser { get { return _parser; } }
  2786. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2787. public static pbr::MessageDescriptor Descriptor {
  2788. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[12]; }
  2789. }
  2790. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2791. pbr::MessageDescriptor pb::IMessage.Descriptor {
  2792. get { return Descriptor; }
  2793. }
  2794. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2795. public SearchScoreResponse() {
  2796. OnConstruction();
  2797. }
  2798. partial void OnConstruction();
  2799. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2800. public SearchScoreResponse(SearchScoreResponse other) : this() {
  2801. result_ = other.result_;
  2802. message_ = other.message_;
  2803. studentScores_ = other.studentScores_.Clone();
  2804. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  2805. }
  2806. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2807. public SearchScoreResponse Clone() {
  2808. return new SearchScoreResponse(this);
  2809. }
  2810. /// <summary>Field number for the "result" field.</summary>
  2811. public const int ResultFieldNumber = 1;
  2812. private bool result_;
  2813. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2814. public bool Result {
  2815. get { return result_; }
  2816. set {
  2817. result_ = value;
  2818. }
  2819. }
  2820. /// <summary>Field number for the "message" field.</summary>
  2821. public const int MessageFieldNumber = 2;
  2822. private string message_ = "";
  2823. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2824. public string Message {
  2825. get { return message_; }
  2826. set {
  2827. message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  2828. }
  2829. }
  2830. /// <summary>Field number for the "studentScores" field.</summary>
  2831. public const int StudentScoresFieldNumber = 3;
  2832. private static readonly pb::FieldCodec<global::StudentScore> _repeated_studentScores_codec
  2833. = pb::FieldCodec.ForMessage(26, global::StudentScore.Parser);
  2834. private readonly pbc::RepeatedField<global::StudentScore> studentScores_ = new pbc::RepeatedField<global::StudentScore>();
  2835. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2836. public pbc::RepeatedField<global::StudentScore> StudentScores {
  2837. get { return studentScores_; }
  2838. }
  2839. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2840. public override bool Equals(object other) {
  2841. return Equals(other as SearchScoreResponse);
  2842. }
  2843. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2844. public bool Equals(SearchScoreResponse other) {
  2845. if (ReferenceEquals(other, null)) {
  2846. return false;
  2847. }
  2848. if (ReferenceEquals(other, this)) {
  2849. return true;
  2850. }
  2851. if (Result != other.Result) return false;
  2852. if (Message != other.Message) return false;
  2853. if(!studentScores_.Equals(other.studentScores_)) return false;
  2854. return Equals(_unknownFields, other._unknownFields);
  2855. }
  2856. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2857. public override int GetHashCode() {
  2858. int hash = 1;
  2859. if (Result != false) hash ^= Result.GetHashCode();
  2860. if (Message.Length != 0) hash ^= Message.GetHashCode();
  2861. hash ^= studentScores_.GetHashCode();
  2862. if (_unknownFields != null) {
  2863. hash ^= _unknownFields.GetHashCode();
  2864. }
  2865. return hash;
  2866. }
  2867. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2868. public override string ToString() {
  2869. return pb::JsonFormatter.ToDiagnosticString(this);
  2870. }
  2871. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2872. public void WriteTo(pb::CodedOutputStream output) {
  2873. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2874. output.WriteRawMessage(this);
  2875. #else
  2876. if (Result != false) {
  2877. output.WriteRawTag(8);
  2878. output.WriteBool(Result);
  2879. }
  2880. if (Message.Length != 0) {
  2881. output.WriteRawTag(18);
  2882. output.WriteString(Message);
  2883. }
  2884. studentScores_.WriteTo(output, _repeated_studentScores_codec);
  2885. if (_unknownFields != null) {
  2886. _unknownFields.WriteTo(output);
  2887. }
  2888. #endif
  2889. }
  2890. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2891. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2892. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  2893. if (Result != false) {
  2894. output.WriteRawTag(8);
  2895. output.WriteBool(Result);
  2896. }
  2897. if (Message.Length != 0) {
  2898. output.WriteRawTag(18);
  2899. output.WriteString(Message);
  2900. }
  2901. studentScores_.WriteTo(ref output, _repeated_studentScores_codec);
  2902. if (_unknownFields != null) {
  2903. _unknownFields.WriteTo(ref output);
  2904. }
  2905. }
  2906. #endif
  2907. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2908. public int CalculateSize() {
  2909. int size = 0;
  2910. if (Result != false) {
  2911. size += 1 + 1;
  2912. }
  2913. if (Message.Length != 0) {
  2914. size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
  2915. }
  2916. size += studentScores_.CalculateSize(_repeated_studentScores_codec);
  2917. if (_unknownFields != null) {
  2918. size += _unknownFields.CalculateSize();
  2919. }
  2920. return size;
  2921. }
  2922. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2923. public void MergeFrom(SearchScoreResponse other) {
  2924. if (other == null) {
  2925. return;
  2926. }
  2927. if (other.Result != false) {
  2928. Result = other.Result;
  2929. }
  2930. if (other.Message.Length != 0) {
  2931. Message = other.Message;
  2932. }
  2933. studentScores_.Add(other.studentScores_);
  2934. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  2935. }
  2936. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2937. public void MergeFrom(pb::CodedInputStream input) {
  2938. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2939. input.ReadRawMessage(this);
  2940. #else
  2941. uint tag;
  2942. while ((tag = input.ReadTag()) != 0) {
  2943. switch(tag) {
  2944. default:
  2945. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  2946. break;
  2947. case 8: {
  2948. Result = input.ReadBool();
  2949. break;
  2950. }
  2951. case 18: {
  2952. Message = input.ReadString();
  2953. break;
  2954. }
  2955. case 26: {
  2956. studentScores_.AddEntriesFrom(input, _repeated_studentScores_codec);
  2957. break;
  2958. }
  2959. }
  2960. }
  2961. #endif
  2962. }
  2963. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2964. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2965. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  2966. uint tag;
  2967. while ((tag = input.ReadTag()) != 0) {
  2968. switch(tag) {
  2969. default:
  2970. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  2971. break;
  2972. case 8: {
  2973. Result = input.ReadBool();
  2974. break;
  2975. }
  2976. case 18: {
  2977. Message = input.ReadString();
  2978. break;
  2979. }
  2980. case 26: {
  2981. studentScores_.AddEntriesFrom(ref input, _repeated_studentScores_codec);
  2982. break;
  2983. }
  2984. }
  2985. }
  2986. }
  2987. #endif
  2988. }
  2989. public sealed partial class StudentScore : pb::IMessage<StudentScore>
  2990. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  2991. , pb::IBufferMessage
  2992. #endif
  2993. {
  2994. private static readonly pb::MessageParser<StudentScore> _parser = new pb::MessageParser<StudentScore>(() => new StudentScore());
  2995. private pb::UnknownFieldSet _unknownFields;
  2996. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2997. public static pb::MessageParser<StudentScore> Parser { get { return _parser; } }
  2998. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  2999. public static pbr::MessageDescriptor Descriptor {
  3000. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[13]; }
  3001. }
  3002. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3003. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3004. get { return Descriptor; }
  3005. }
  3006. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3007. public StudentScore() {
  3008. OnConstruction();
  3009. }
  3010. partial void OnConstruction();
  3011. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3012. public StudentScore(StudentScore other) : this() {
  3013. name_ = other.name_;
  3014. major_ = other.major_;
  3015. courseName_ = other.courseName_;
  3016. className_ = other.className_;
  3017. phoneNumber_ = other.phoneNumber_;
  3018. starttime_ = other.starttime_;
  3019. answertime_ = other.answertime_;
  3020. score_ = other.score_;
  3021. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  3022. }
  3023. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3024. public StudentScore Clone() {
  3025. return new StudentScore(this);
  3026. }
  3027. /// <summary>Field number for the "name" field.</summary>
  3028. public const int NameFieldNumber = 1;
  3029. private string name_ = "";
  3030. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3031. public string Name {
  3032. get { return name_; }
  3033. set {
  3034. name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3035. }
  3036. }
  3037. /// <summary>Field number for the "major" field.</summary>
  3038. public const int MajorFieldNumber = 2;
  3039. private string major_ = "";
  3040. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3041. public string Major {
  3042. get { return major_; }
  3043. set {
  3044. major_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3045. }
  3046. }
  3047. /// <summary>Field number for the "courseName" field.</summary>
  3048. public const int CourseNameFieldNumber = 3;
  3049. private string courseName_ = "";
  3050. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3051. public string CourseName {
  3052. get { return courseName_; }
  3053. set {
  3054. courseName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3055. }
  3056. }
  3057. /// <summary>Field number for the "className" field.</summary>
  3058. public const int ClassNameFieldNumber = 4;
  3059. private string className_ = "";
  3060. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3061. public string ClassName {
  3062. get { return className_; }
  3063. set {
  3064. className_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3065. }
  3066. }
  3067. /// <summary>Field number for the "phoneNumber" field.</summary>
  3068. public const int PhoneNumberFieldNumber = 5;
  3069. private string phoneNumber_ = "";
  3070. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3071. public string PhoneNumber {
  3072. get { return phoneNumber_; }
  3073. set {
  3074. phoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3075. }
  3076. }
  3077. /// <summary>Field number for the "starttime" field.</summary>
  3078. public const int StarttimeFieldNumber = 6;
  3079. private long starttime_;
  3080. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3081. public long Starttime {
  3082. get { return starttime_; }
  3083. set {
  3084. starttime_ = value;
  3085. }
  3086. }
  3087. /// <summary>Field number for the "answertime" field.</summary>
  3088. public const int AnswertimeFieldNumber = 7;
  3089. private int answertime_;
  3090. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3091. public int Answertime {
  3092. get { return answertime_; }
  3093. set {
  3094. answertime_ = value;
  3095. }
  3096. }
  3097. /// <summary>Field number for the "score" field.</summary>
  3098. public const int ScoreFieldNumber = 8;
  3099. private float score_;
  3100. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3101. public float Score {
  3102. get { return score_; }
  3103. set {
  3104. score_ = value;
  3105. }
  3106. }
  3107. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3108. public override bool Equals(object other) {
  3109. return Equals(other as StudentScore);
  3110. }
  3111. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3112. public bool Equals(StudentScore other) {
  3113. if (ReferenceEquals(other, null)) {
  3114. return false;
  3115. }
  3116. if (ReferenceEquals(other, this)) {
  3117. return true;
  3118. }
  3119. if (Name != other.Name) return false;
  3120. if (Major != other.Major) return false;
  3121. if (CourseName != other.CourseName) return false;
  3122. if (ClassName != other.ClassName) return false;
  3123. if (PhoneNumber != other.PhoneNumber) return false;
  3124. if (Starttime != other.Starttime) return false;
  3125. if (Answertime != other.Answertime) return false;
  3126. if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Score, other.Score)) return false;
  3127. return Equals(_unknownFields, other._unknownFields);
  3128. }
  3129. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3130. public override int GetHashCode() {
  3131. int hash = 1;
  3132. if (Name.Length != 0) hash ^= Name.GetHashCode();
  3133. if (Major.Length != 0) hash ^= Major.GetHashCode();
  3134. if (CourseName.Length != 0) hash ^= CourseName.GetHashCode();
  3135. if (ClassName.Length != 0) hash ^= ClassName.GetHashCode();
  3136. if (PhoneNumber.Length != 0) hash ^= PhoneNumber.GetHashCode();
  3137. if (Starttime != 0L) hash ^= Starttime.GetHashCode();
  3138. if (Answertime != 0) hash ^= Answertime.GetHashCode();
  3139. if (Score != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Score);
  3140. if (_unknownFields != null) {
  3141. hash ^= _unknownFields.GetHashCode();
  3142. }
  3143. return hash;
  3144. }
  3145. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3146. public override string ToString() {
  3147. return pb::JsonFormatter.ToDiagnosticString(this);
  3148. }
  3149. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3150. public void WriteTo(pb::CodedOutputStream output) {
  3151. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3152. output.WriteRawMessage(this);
  3153. #else
  3154. if (Name.Length != 0) {
  3155. output.WriteRawTag(10);
  3156. output.WriteString(Name);
  3157. }
  3158. if (Major.Length != 0) {
  3159. output.WriteRawTag(18);
  3160. output.WriteString(Major);
  3161. }
  3162. if (CourseName.Length != 0) {
  3163. output.WriteRawTag(26);
  3164. output.WriteString(CourseName);
  3165. }
  3166. if (ClassName.Length != 0) {
  3167. output.WriteRawTag(34);
  3168. output.WriteString(ClassName);
  3169. }
  3170. if (PhoneNumber.Length != 0) {
  3171. output.WriteRawTag(42);
  3172. output.WriteString(PhoneNumber);
  3173. }
  3174. if (Starttime != 0L) {
  3175. output.WriteRawTag(48);
  3176. output.WriteInt64(Starttime);
  3177. }
  3178. if (Answertime != 0) {
  3179. output.WriteRawTag(56);
  3180. output.WriteInt32(Answertime);
  3181. }
  3182. if (Score != 0F) {
  3183. output.WriteRawTag(69);
  3184. output.WriteFloat(Score);
  3185. }
  3186. if (_unknownFields != null) {
  3187. _unknownFields.WriteTo(output);
  3188. }
  3189. #endif
  3190. }
  3191. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3192. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3193. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  3194. if (Name.Length != 0) {
  3195. output.WriteRawTag(10);
  3196. output.WriteString(Name);
  3197. }
  3198. if (Major.Length != 0) {
  3199. output.WriteRawTag(18);
  3200. output.WriteString(Major);
  3201. }
  3202. if (CourseName.Length != 0) {
  3203. output.WriteRawTag(26);
  3204. output.WriteString(CourseName);
  3205. }
  3206. if (ClassName.Length != 0) {
  3207. output.WriteRawTag(34);
  3208. output.WriteString(ClassName);
  3209. }
  3210. if (PhoneNumber.Length != 0) {
  3211. output.WriteRawTag(42);
  3212. output.WriteString(PhoneNumber);
  3213. }
  3214. if (Starttime != 0L) {
  3215. output.WriteRawTag(48);
  3216. output.WriteInt64(Starttime);
  3217. }
  3218. if (Answertime != 0) {
  3219. output.WriteRawTag(56);
  3220. output.WriteInt32(Answertime);
  3221. }
  3222. if (Score != 0F) {
  3223. output.WriteRawTag(69);
  3224. output.WriteFloat(Score);
  3225. }
  3226. if (_unknownFields != null) {
  3227. _unknownFields.WriteTo(ref output);
  3228. }
  3229. }
  3230. #endif
  3231. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3232. public int CalculateSize() {
  3233. int size = 0;
  3234. if (Name.Length != 0) {
  3235. size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
  3236. }
  3237. if (Major.Length != 0) {
  3238. size += 1 + pb::CodedOutputStream.ComputeStringSize(Major);
  3239. }
  3240. if (CourseName.Length != 0) {
  3241. size += 1 + pb::CodedOutputStream.ComputeStringSize(CourseName);
  3242. }
  3243. if (ClassName.Length != 0) {
  3244. size += 1 + pb::CodedOutputStream.ComputeStringSize(ClassName);
  3245. }
  3246. if (PhoneNumber.Length != 0) {
  3247. size += 1 + pb::CodedOutputStream.ComputeStringSize(PhoneNumber);
  3248. }
  3249. if (Starttime != 0L) {
  3250. size += 1 + pb::CodedOutputStream.ComputeInt64Size(Starttime);
  3251. }
  3252. if (Answertime != 0) {
  3253. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Answertime);
  3254. }
  3255. if (Score != 0F) {
  3256. size += 1 + 4;
  3257. }
  3258. if (_unknownFields != null) {
  3259. size += _unknownFields.CalculateSize();
  3260. }
  3261. return size;
  3262. }
  3263. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3264. public void MergeFrom(StudentScore other) {
  3265. if (other == null) {
  3266. return;
  3267. }
  3268. if (other.Name.Length != 0) {
  3269. Name = other.Name;
  3270. }
  3271. if (other.Major.Length != 0) {
  3272. Major = other.Major;
  3273. }
  3274. if (other.CourseName.Length != 0) {
  3275. CourseName = other.CourseName;
  3276. }
  3277. if (other.ClassName.Length != 0) {
  3278. ClassName = other.ClassName;
  3279. }
  3280. if (other.PhoneNumber.Length != 0) {
  3281. PhoneNumber = other.PhoneNumber;
  3282. }
  3283. if (other.Starttime != 0L) {
  3284. Starttime = other.Starttime;
  3285. }
  3286. if (other.Answertime != 0) {
  3287. Answertime = other.Answertime;
  3288. }
  3289. if (other.Score != 0F) {
  3290. Score = other.Score;
  3291. }
  3292. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  3293. }
  3294. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3295. public void MergeFrom(pb::CodedInputStream input) {
  3296. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3297. input.ReadRawMessage(this);
  3298. #else
  3299. uint tag;
  3300. while ((tag = input.ReadTag()) != 0) {
  3301. switch(tag) {
  3302. default:
  3303. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  3304. break;
  3305. case 10: {
  3306. Name = input.ReadString();
  3307. break;
  3308. }
  3309. case 18: {
  3310. Major = input.ReadString();
  3311. break;
  3312. }
  3313. case 26: {
  3314. CourseName = input.ReadString();
  3315. break;
  3316. }
  3317. case 34: {
  3318. ClassName = input.ReadString();
  3319. break;
  3320. }
  3321. case 42: {
  3322. PhoneNumber = input.ReadString();
  3323. break;
  3324. }
  3325. case 48: {
  3326. Starttime = input.ReadInt64();
  3327. break;
  3328. }
  3329. case 56: {
  3330. Answertime = input.ReadInt32();
  3331. break;
  3332. }
  3333. case 69: {
  3334. Score = input.ReadFloat();
  3335. break;
  3336. }
  3337. }
  3338. }
  3339. #endif
  3340. }
  3341. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3342. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3343. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  3344. uint tag;
  3345. while ((tag = input.ReadTag()) != 0) {
  3346. switch(tag) {
  3347. default:
  3348. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  3349. break;
  3350. case 10: {
  3351. Name = input.ReadString();
  3352. break;
  3353. }
  3354. case 18: {
  3355. Major = input.ReadString();
  3356. break;
  3357. }
  3358. case 26: {
  3359. CourseName = input.ReadString();
  3360. break;
  3361. }
  3362. case 34: {
  3363. ClassName = input.ReadString();
  3364. break;
  3365. }
  3366. case 42: {
  3367. PhoneNumber = input.ReadString();
  3368. break;
  3369. }
  3370. case 48: {
  3371. Starttime = input.ReadInt64();
  3372. break;
  3373. }
  3374. case 56: {
  3375. Answertime = input.ReadInt32();
  3376. break;
  3377. }
  3378. case 69: {
  3379. Score = input.ReadFloat();
  3380. break;
  3381. }
  3382. }
  3383. }
  3384. }
  3385. #endif
  3386. }
  3387. public sealed partial class SearchTimeResponse : pb::IMessage<SearchTimeResponse>
  3388. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3389. , pb::IBufferMessage
  3390. #endif
  3391. {
  3392. private static readonly pb::MessageParser<SearchTimeResponse> _parser = new pb::MessageParser<SearchTimeResponse>(() => new SearchTimeResponse());
  3393. private pb::UnknownFieldSet _unknownFields;
  3394. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3395. public static pb::MessageParser<SearchTimeResponse> Parser { get { return _parser; } }
  3396. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3397. public static pbr::MessageDescriptor Descriptor {
  3398. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[14]; }
  3399. }
  3400. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3401. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3402. get { return Descriptor; }
  3403. }
  3404. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3405. public SearchTimeResponse() {
  3406. OnConstruction();
  3407. }
  3408. partial void OnConstruction();
  3409. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3410. public SearchTimeResponse(SearchTimeResponse other) : this() {
  3411. result_ = other.result_;
  3412. message_ = other.message_;
  3413. studentTimes_ = other.studentTimes_.Clone();
  3414. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  3415. }
  3416. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3417. public SearchTimeResponse Clone() {
  3418. return new SearchTimeResponse(this);
  3419. }
  3420. /// <summary>Field number for the "result" field.</summary>
  3421. public const int ResultFieldNumber = 1;
  3422. private bool result_;
  3423. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3424. public bool Result {
  3425. get { return result_; }
  3426. set {
  3427. result_ = value;
  3428. }
  3429. }
  3430. /// <summary>Field number for the "message" field.</summary>
  3431. public const int MessageFieldNumber = 2;
  3432. private string message_ = "";
  3433. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3434. public string Message {
  3435. get { return message_; }
  3436. set {
  3437. message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3438. }
  3439. }
  3440. /// <summary>Field number for the "studentTimes" field.</summary>
  3441. public const int StudentTimesFieldNumber = 3;
  3442. private static readonly pb::FieldCodec<global::StudentTime> _repeated_studentTimes_codec
  3443. = pb::FieldCodec.ForMessage(26, global::StudentTime.Parser);
  3444. private readonly pbc::RepeatedField<global::StudentTime> studentTimes_ = new pbc::RepeatedField<global::StudentTime>();
  3445. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3446. public pbc::RepeatedField<global::StudentTime> StudentTimes {
  3447. get { return studentTimes_; }
  3448. }
  3449. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3450. public override bool Equals(object other) {
  3451. return Equals(other as SearchTimeResponse);
  3452. }
  3453. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3454. public bool Equals(SearchTimeResponse other) {
  3455. if (ReferenceEquals(other, null)) {
  3456. return false;
  3457. }
  3458. if (ReferenceEquals(other, this)) {
  3459. return true;
  3460. }
  3461. if (Result != other.Result) return false;
  3462. if (Message != other.Message) return false;
  3463. if(!studentTimes_.Equals(other.studentTimes_)) return false;
  3464. return Equals(_unknownFields, other._unknownFields);
  3465. }
  3466. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3467. public override int GetHashCode() {
  3468. int hash = 1;
  3469. if (Result != false) hash ^= Result.GetHashCode();
  3470. if (Message.Length != 0) hash ^= Message.GetHashCode();
  3471. hash ^= studentTimes_.GetHashCode();
  3472. if (_unknownFields != null) {
  3473. hash ^= _unknownFields.GetHashCode();
  3474. }
  3475. return hash;
  3476. }
  3477. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3478. public override string ToString() {
  3479. return pb::JsonFormatter.ToDiagnosticString(this);
  3480. }
  3481. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3482. public void WriteTo(pb::CodedOutputStream output) {
  3483. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3484. output.WriteRawMessage(this);
  3485. #else
  3486. if (Result != false) {
  3487. output.WriteRawTag(8);
  3488. output.WriteBool(Result);
  3489. }
  3490. if (Message.Length != 0) {
  3491. output.WriteRawTag(18);
  3492. output.WriteString(Message);
  3493. }
  3494. studentTimes_.WriteTo(output, _repeated_studentTimes_codec);
  3495. if (_unknownFields != null) {
  3496. _unknownFields.WriteTo(output);
  3497. }
  3498. #endif
  3499. }
  3500. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3501. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3502. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  3503. if (Result != false) {
  3504. output.WriteRawTag(8);
  3505. output.WriteBool(Result);
  3506. }
  3507. if (Message.Length != 0) {
  3508. output.WriteRawTag(18);
  3509. output.WriteString(Message);
  3510. }
  3511. studentTimes_.WriteTo(ref output, _repeated_studentTimes_codec);
  3512. if (_unknownFields != null) {
  3513. _unknownFields.WriteTo(ref output);
  3514. }
  3515. }
  3516. #endif
  3517. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3518. public int CalculateSize() {
  3519. int size = 0;
  3520. if (Result != false) {
  3521. size += 1 + 1;
  3522. }
  3523. if (Message.Length != 0) {
  3524. size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
  3525. }
  3526. size += studentTimes_.CalculateSize(_repeated_studentTimes_codec);
  3527. if (_unknownFields != null) {
  3528. size += _unknownFields.CalculateSize();
  3529. }
  3530. return size;
  3531. }
  3532. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3533. public void MergeFrom(SearchTimeResponse other) {
  3534. if (other == null) {
  3535. return;
  3536. }
  3537. if (other.Result != false) {
  3538. Result = other.Result;
  3539. }
  3540. if (other.Message.Length != 0) {
  3541. Message = other.Message;
  3542. }
  3543. studentTimes_.Add(other.studentTimes_);
  3544. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  3545. }
  3546. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3547. public void MergeFrom(pb::CodedInputStream input) {
  3548. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3549. input.ReadRawMessage(this);
  3550. #else
  3551. uint tag;
  3552. while ((tag = input.ReadTag()) != 0) {
  3553. switch(tag) {
  3554. default:
  3555. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  3556. break;
  3557. case 8: {
  3558. Result = input.ReadBool();
  3559. break;
  3560. }
  3561. case 18: {
  3562. Message = input.ReadString();
  3563. break;
  3564. }
  3565. case 26: {
  3566. studentTimes_.AddEntriesFrom(input, _repeated_studentTimes_codec);
  3567. break;
  3568. }
  3569. }
  3570. }
  3571. #endif
  3572. }
  3573. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3574. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3575. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  3576. uint tag;
  3577. while ((tag = input.ReadTag()) != 0) {
  3578. switch(tag) {
  3579. default:
  3580. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  3581. break;
  3582. case 8: {
  3583. Result = input.ReadBool();
  3584. break;
  3585. }
  3586. case 18: {
  3587. Message = input.ReadString();
  3588. break;
  3589. }
  3590. case 26: {
  3591. studentTimes_.AddEntriesFrom(ref input, _repeated_studentTimes_codec);
  3592. break;
  3593. }
  3594. }
  3595. }
  3596. }
  3597. #endif
  3598. }
  3599. public sealed partial class StudentTime : pb::IMessage<StudentTime>
  3600. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3601. , pb::IBufferMessage
  3602. #endif
  3603. {
  3604. private static readonly pb::MessageParser<StudentTime> _parser = new pb::MessageParser<StudentTime>(() => new StudentTime());
  3605. private pb::UnknownFieldSet _unknownFields;
  3606. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3607. public static pb::MessageParser<StudentTime> Parser { get { return _parser; } }
  3608. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3609. public static pbr::MessageDescriptor Descriptor {
  3610. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[15]; }
  3611. }
  3612. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3613. pbr::MessageDescriptor pb::IMessage.Descriptor {
  3614. get { return Descriptor; }
  3615. }
  3616. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3617. public StudentTime() {
  3618. OnConstruction();
  3619. }
  3620. partial void OnConstruction();
  3621. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3622. public StudentTime(StudentTime other) : this() {
  3623. name_ = other.name_;
  3624. major_ = other.major_;
  3625. courseName_ = other.courseName_;
  3626. phoneNumber_ = other.phoneNumber_;
  3627. className_ = other.className_;
  3628. starttime_ = other.starttime_;
  3629. answertime_ = other.answertime_;
  3630. totaltime_ = other.totaltime_;
  3631. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  3632. }
  3633. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3634. public StudentTime Clone() {
  3635. return new StudentTime(this);
  3636. }
  3637. /// <summary>Field number for the "name" field.</summary>
  3638. public const int NameFieldNumber = 1;
  3639. private string name_ = "";
  3640. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3641. public string Name {
  3642. get { return name_; }
  3643. set {
  3644. name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3645. }
  3646. }
  3647. /// <summary>Field number for the "major" field.</summary>
  3648. public const int MajorFieldNumber = 2;
  3649. private string major_ = "";
  3650. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3651. public string Major {
  3652. get { return major_; }
  3653. set {
  3654. major_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3655. }
  3656. }
  3657. /// <summary>Field number for the "courseName" field.</summary>
  3658. public const int CourseNameFieldNumber = 3;
  3659. private string courseName_ = "";
  3660. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3661. public string CourseName {
  3662. get { return courseName_; }
  3663. set {
  3664. courseName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3665. }
  3666. }
  3667. /// <summary>Field number for the "phoneNumber" field.</summary>
  3668. public const int PhoneNumberFieldNumber = 4;
  3669. private string phoneNumber_ = "";
  3670. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3671. public string PhoneNumber {
  3672. get { return phoneNumber_; }
  3673. set {
  3674. phoneNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3675. }
  3676. }
  3677. /// <summary>Field number for the "className" field.</summary>
  3678. public const int ClassNameFieldNumber = 5;
  3679. private string className_ = "";
  3680. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3681. public string ClassName {
  3682. get { return className_; }
  3683. set {
  3684. className_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  3685. }
  3686. }
  3687. /// <summary>Field number for the "starttime" field.</summary>
  3688. public const int StarttimeFieldNumber = 6;
  3689. private long starttime_;
  3690. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3691. public long Starttime {
  3692. get { return starttime_; }
  3693. set {
  3694. starttime_ = value;
  3695. }
  3696. }
  3697. /// <summary>Field number for the "answertime" field.</summary>
  3698. public const int AnswertimeFieldNumber = 7;
  3699. private int answertime_;
  3700. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3701. public int Answertime {
  3702. get { return answertime_; }
  3703. set {
  3704. answertime_ = value;
  3705. }
  3706. }
  3707. /// <summary>Field number for the "totaltime" field.</summary>
  3708. public const int TotaltimeFieldNumber = 8;
  3709. private int totaltime_;
  3710. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3711. public int Totaltime {
  3712. get { return totaltime_; }
  3713. set {
  3714. totaltime_ = value;
  3715. }
  3716. }
  3717. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3718. public override bool Equals(object other) {
  3719. return Equals(other as StudentTime);
  3720. }
  3721. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3722. public bool Equals(StudentTime other) {
  3723. if (ReferenceEquals(other, null)) {
  3724. return false;
  3725. }
  3726. if (ReferenceEquals(other, this)) {
  3727. return true;
  3728. }
  3729. if (Name != other.Name) return false;
  3730. if (Major != other.Major) return false;
  3731. if (CourseName != other.CourseName) return false;
  3732. if (PhoneNumber != other.PhoneNumber) return false;
  3733. if (ClassName != other.ClassName) return false;
  3734. if (Starttime != other.Starttime) return false;
  3735. if (Answertime != other.Answertime) return false;
  3736. if (Totaltime != other.Totaltime) return false;
  3737. return Equals(_unknownFields, other._unknownFields);
  3738. }
  3739. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3740. public override int GetHashCode() {
  3741. int hash = 1;
  3742. if (Name.Length != 0) hash ^= Name.GetHashCode();
  3743. if (Major.Length != 0) hash ^= Major.GetHashCode();
  3744. if (CourseName.Length != 0) hash ^= CourseName.GetHashCode();
  3745. if (PhoneNumber.Length != 0) hash ^= PhoneNumber.GetHashCode();
  3746. if (ClassName.Length != 0) hash ^= ClassName.GetHashCode();
  3747. if (Starttime != 0L) hash ^= Starttime.GetHashCode();
  3748. if (Answertime != 0) hash ^= Answertime.GetHashCode();
  3749. if (Totaltime != 0) hash ^= Totaltime.GetHashCode();
  3750. if (_unknownFields != null) {
  3751. hash ^= _unknownFields.GetHashCode();
  3752. }
  3753. return hash;
  3754. }
  3755. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3756. public override string ToString() {
  3757. return pb::JsonFormatter.ToDiagnosticString(this);
  3758. }
  3759. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3760. public void WriteTo(pb::CodedOutputStream output) {
  3761. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3762. output.WriteRawMessage(this);
  3763. #else
  3764. if (Name.Length != 0) {
  3765. output.WriteRawTag(10);
  3766. output.WriteString(Name);
  3767. }
  3768. if (Major.Length != 0) {
  3769. output.WriteRawTag(18);
  3770. output.WriteString(Major);
  3771. }
  3772. if (CourseName.Length != 0) {
  3773. output.WriteRawTag(26);
  3774. output.WriteString(CourseName);
  3775. }
  3776. if (PhoneNumber.Length != 0) {
  3777. output.WriteRawTag(34);
  3778. output.WriteString(PhoneNumber);
  3779. }
  3780. if (ClassName.Length != 0) {
  3781. output.WriteRawTag(42);
  3782. output.WriteString(ClassName);
  3783. }
  3784. if (Starttime != 0L) {
  3785. output.WriteRawTag(48);
  3786. output.WriteInt64(Starttime);
  3787. }
  3788. if (Answertime != 0) {
  3789. output.WriteRawTag(56);
  3790. output.WriteInt32(Answertime);
  3791. }
  3792. if (Totaltime != 0) {
  3793. output.WriteRawTag(64);
  3794. output.WriteInt32(Totaltime);
  3795. }
  3796. if (_unknownFields != null) {
  3797. _unknownFields.WriteTo(output);
  3798. }
  3799. #endif
  3800. }
  3801. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3802. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3803. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  3804. if (Name.Length != 0) {
  3805. output.WriteRawTag(10);
  3806. output.WriteString(Name);
  3807. }
  3808. if (Major.Length != 0) {
  3809. output.WriteRawTag(18);
  3810. output.WriteString(Major);
  3811. }
  3812. if (CourseName.Length != 0) {
  3813. output.WriteRawTag(26);
  3814. output.WriteString(CourseName);
  3815. }
  3816. if (PhoneNumber.Length != 0) {
  3817. output.WriteRawTag(34);
  3818. output.WriteString(PhoneNumber);
  3819. }
  3820. if (ClassName.Length != 0) {
  3821. output.WriteRawTag(42);
  3822. output.WriteString(ClassName);
  3823. }
  3824. if (Starttime != 0L) {
  3825. output.WriteRawTag(48);
  3826. output.WriteInt64(Starttime);
  3827. }
  3828. if (Answertime != 0) {
  3829. output.WriteRawTag(56);
  3830. output.WriteInt32(Answertime);
  3831. }
  3832. if (Totaltime != 0) {
  3833. output.WriteRawTag(64);
  3834. output.WriteInt32(Totaltime);
  3835. }
  3836. if (_unknownFields != null) {
  3837. _unknownFields.WriteTo(ref output);
  3838. }
  3839. }
  3840. #endif
  3841. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3842. public int CalculateSize() {
  3843. int size = 0;
  3844. if (Name.Length != 0) {
  3845. size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
  3846. }
  3847. if (Major.Length != 0) {
  3848. size += 1 + pb::CodedOutputStream.ComputeStringSize(Major);
  3849. }
  3850. if (CourseName.Length != 0) {
  3851. size += 1 + pb::CodedOutputStream.ComputeStringSize(CourseName);
  3852. }
  3853. if (PhoneNumber.Length != 0) {
  3854. size += 1 + pb::CodedOutputStream.ComputeStringSize(PhoneNumber);
  3855. }
  3856. if (ClassName.Length != 0) {
  3857. size += 1 + pb::CodedOutputStream.ComputeStringSize(ClassName);
  3858. }
  3859. if (Starttime != 0L) {
  3860. size += 1 + pb::CodedOutputStream.ComputeInt64Size(Starttime);
  3861. }
  3862. if (Answertime != 0) {
  3863. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Answertime);
  3864. }
  3865. if (Totaltime != 0) {
  3866. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Totaltime);
  3867. }
  3868. if (_unknownFields != null) {
  3869. size += _unknownFields.CalculateSize();
  3870. }
  3871. return size;
  3872. }
  3873. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3874. public void MergeFrom(StudentTime other) {
  3875. if (other == null) {
  3876. return;
  3877. }
  3878. if (other.Name.Length != 0) {
  3879. Name = other.Name;
  3880. }
  3881. if (other.Major.Length != 0) {
  3882. Major = other.Major;
  3883. }
  3884. if (other.CourseName.Length != 0) {
  3885. CourseName = other.CourseName;
  3886. }
  3887. if (other.PhoneNumber.Length != 0) {
  3888. PhoneNumber = other.PhoneNumber;
  3889. }
  3890. if (other.ClassName.Length != 0) {
  3891. ClassName = other.ClassName;
  3892. }
  3893. if (other.Starttime != 0L) {
  3894. Starttime = other.Starttime;
  3895. }
  3896. if (other.Answertime != 0) {
  3897. Answertime = other.Answertime;
  3898. }
  3899. if (other.Totaltime != 0) {
  3900. Totaltime = other.Totaltime;
  3901. }
  3902. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  3903. }
  3904. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3905. public void MergeFrom(pb::CodedInputStream input) {
  3906. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3907. input.ReadRawMessage(this);
  3908. #else
  3909. uint tag;
  3910. while ((tag = input.ReadTag()) != 0) {
  3911. switch(tag) {
  3912. default:
  3913. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  3914. break;
  3915. case 10: {
  3916. Name = input.ReadString();
  3917. break;
  3918. }
  3919. case 18: {
  3920. Major = input.ReadString();
  3921. break;
  3922. }
  3923. case 26: {
  3924. CourseName = input.ReadString();
  3925. break;
  3926. }
  3927. case 34: {
  3928. PhoneNumber = input.ReadString();
  3929. break;
  3930. }
  3931. case 42: {
  3932. ClassName = input.ReadString();
  3933. break;
  3934. }
  3935. case 48: {
  3936. Starttime = input.ReadInt64();
  3937. break;
  3938. }
  3939. case 56: {
  3940. Answertime = input.ReadInt32();
  3941. break;
  3942. }
  3943. case 64: {
  3944. Totaltime = input.ReadInt32();
  3945. break;
  3946. }
  3947. }
  3948. }
  3949. #endif
  3950. }
  3951. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3952. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  3953. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  3954. uint tag;
  3955. while ((tag = input.ReadTag()) != 0) {
  3956. switch(tag) {
  3957. default:
  3958. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  3959. break;
  3960. case 10: {
  3961. Name = input.ReadString();
  3962. break;
  3963. }
  3964. case 18: {
  3965. Major = input.ReadString();
  3966. break;
  3967. }
  3968. case 26: {
  3969. CourseName = input.ReadString();
  3970. break;
  3971. }
  3972. case 34: {
  3973. PhoneNumber = input.ReadString();
  3974. break;
  3975. }
  3976. case 42: {
  3977. ClassName = input.ReadString();
  3978. break;
  3979. }
  3980. case 48: {
  3981. Starttime = input.ReadInt64();
  3982. break;
  3983. }
  3984. case 56: {
  3985. Answertime = input.ReadInt32();
  3986. break;
  3987. }
  3988. case 64: {
  3989. Totaltime = input.ReadInt32();
  3990. break;
  3991. }
  3992. }
  3993. }
  3994. }
  3995. #endif
  3996. }
  3997. public sealed partial class OperateResponse : pb::IMessage<OperateResponse>
  3998. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  3999. , pb::IBufferMessage
  4000. #endif
  4001. {
  4002. private static readonly pb::MessageParser<OperateResponse> _parser = new pb::MessageParser<OperateResponse>(() => new OperateResponse());
  4003. private pb::UnknownFieldSet _unknownFields;
  4004. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4005. public static pb::MessageParser<OperateResponse> Parser { get { return _parser; } }
  4006. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4007. public static pbr::MessageDescriptor Descriptor {
  4008. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[16]; }
  4009. }
  4010. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4011. pbr::MessageDescriptor pb::IMessage.Descriptor {
  4012. get { return Descriptor; }
  4013. }
  4014. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4015. public OperateResponse() {
  4016. OnConstruction();
  4017. }
  4018. partial void OnConstruction();
  4019. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4020. public OperateResponse(OperateResponse other) : this() {
  4021. result_ = other.result_;
  4022. message_ = other.message_;
  4023. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  4024. }
  4025. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4026. public OperateResponse Clone() {
  4027. return new OperateResponse(this);
  4028. }
  4029. /// <summary>Field number for the "result" field.</summary>
  4030. public const int ResultFieldNumber = 1;
  4031. private bool result_;
  4032. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4033. public bool Result {
  4034. get { return result_; }
  4035. set {
  4036. result_ = value;
  4037. }
  4038. }
  4039. /// <summary>Field number for the "message" field.</summary>
  4040. public const int MessageFieldNumber = 2;
  4041. private string message_ = "";
  4042. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4043. public string Message {
  4044. get { return message_; }
  4045. set {
  4046. message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  4047. }
  4048. }
  4049. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4050. public override bool Equals(object other) {
  4051. return Equals(other as OperateResponse);
  4052. }
  4053. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4054. public bool Equals(OperateResponse other) {
  4055. if (ReferenceEquals(other, null)) {
  4056. return false;
  4057. }
  4058. if (ReferenceEquals(other, this)) {
  4059. return true;
  4060. }
  4061. if (Result != other.Result) return false;
  4062. if (Message != other.Message) return false;
  4063. return Equals(_unknownFields, other._unknownFields);
  4064. }
  4065. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4066. public override int GetHashCode() {
  4067. int hash = 1;
  4068. if (Result != false) hash ^= Result.GetHashCode();
  4069. if (Message.Length != 0) hash ^= Message.GetHashCode();
  4070. if (_unknownFields != null) {
  4071. hash ^= _unknownFields.GetHashCode();
  4072. }
  4073. return hash;
  4074. }
  4075. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4076. public override string ToString() {
  4077. return pb::JsonFormatter.ToDiagnosticString(this);
  4078. }
  4079. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4080. public void WriteTo(pb::CodedOutputStream output) {
  4081. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4082. output.WriteRawMessage(this);
  4083. #else
  4084. if (Result != false) {
  4085. output.WriteRawTag(8);
  4086. output.WriteBool(Result);
  4087. }
  4088. if (Message.Length != 0) {
  4089. output.WriteRawTag(18);
  4090. output.WriteString(Message);
  4091. }
  4092. if (_unknownFields != null) {
  4093. _unknownFields.WriteTo(output);
  4094. }
  4095. #endif
  4096. }
  4097. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4098. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4099. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  4100. if (Result != false) {
  4101. output.WriteRawTag(8);
  4102. output.WriteBool(Result);
  4103. }
  4104. if (Message.Length != 0) {
  4105. output.WriteRawTag(18);
  4106. output.WriteString(Message);
  4107. }
  4108. if (_unknownFields != null) {
  4109. _unknownFields.WriteTo(ref output);
  4110. }
  4111. }
  4112. #endif
  4113. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4114. public int CalculateSize() {
  4115. int size = 0;
  4116. if (Result != false) {
  4117. size += 1 + 1;
  4118. }
  4119. if (Message.Length != 0) {
  4120. size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
  4121. }
  4122. if (_unknownFields != null) {
  4123. size += _unknownFields.CalculateSize();
  4124. }
  4125. return size;
  4126. }
  4127. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4128. public void MergeFrom(OperateResponse other) {
  4129. if (other == null) {
  4130. return;
  4131. }
  4132. if (other.Result != false) {
  4133. Result = other.Result;
  4134. }
  4135. if (other.Message.Length != 0) {
  4136. Message = other.Message;
  4137. }
  4138. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  4139. }
  4140. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4141. public void MergeFrom(pb::CodedInputStream input) {
  4142. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4143. input.ReadRawMessage(this);
  4144. #else
  4145. uint tag;
  4146. while ((tag = input.ReadTag()) != 0) {
  4147. switch(tag) {
  4148. default:
  4149. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  4150. break;
  4151. case 8: {
  4152. Result = input.ReadBool();
  4153. break;
  4154. }
  4155. case 18: {
  4156. Message = input.ReadString();
  4157. break;
  4158. }
  4159. }
  4160. }
  4161. #endif
  4162. }
  4163. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4164. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4165. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  4166. uint tag;
  4167. while ((tag = input.ReadTag()) != 0) {
  4168. switch(tag) {
  4169. default:
  4170. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  4171. break;
  4172. case 8: {
  4173. Result = input.ReadBool();
  4174. break;
  4175. }
  4176. case 18: {
  4177. Message = input.ReadString();
  4178. break;
  4179. }
  4180. }
  4181. }
  4182. }
  4183. #endif
  4184. }
  4185. public sealed partial class DeleteBatchRequest : pb::IMessage<DeleteBatchRequest>
  4186. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4187. , pb::IBufferMessage
  4188. #endif
  4189. {
  4190. private static readonly pb::MessageParser<DeleteBatchRequest> _parser = new pb::MessageParser<DeleteBatchRequest>(() => new DeleteBatchRequest());
  4191. private pb::UnknownFieldSet _unknownFields;
  4192. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4193. public static pb::MessageParser<DeleteBatchRequest> Parser { get { return _parser; } }
  4194. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4195. public static pbr::MessageDescriptor Descriptor {
  4196. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[17]; }
  4197. }
  4198. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4199. pbr::MessageDescriptor pb::IMessage.Descriptor {
  4200. get { return Descriptor; }
  4201. }
  4202. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4203. public DeleteBatchRequest() {
  4204. OnConstruction();
  4205. }
  4206. partial void OnConstruction();
  4207. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4208. public DeleteBatchRequest(DeleteBatchRequest other) : this() {
  4209. studentInfos_ = other.studentInfos_.Clone();
  4210. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  4211. }
  4212. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4213. public DeleteBatchRequest Clone() {
  4214. return new DeleteBatchRequest(this);
  4215. }
  4216. /// <summary>Field number for the "studentInfos" field.</summary>
  4217. public const int StudentInfosFieldNumber = 1;
  4218. private static readonly pb::FieldCodec<global::StudentInfo> _repeated_studentInfos_codec
  4219. = pb::FieldCodec.ForMessage(10, global::StudentInfo.Parser);
  4220. private readonly pbc::RepeatedField<global::StudentInfo> studentInfos_ = new pbc::RepeatedField<global::StudentInfo>();
  4221. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4222. public pbc::RepeatedField<global::StudentInfo> StudentInfos {
  4223. get { return studentInfos_; }
  4224. }
  4225. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4226. public override bool Equals(object other) {
  4227. return Equals(other as DeleteBatchRequest);
  4228. }
  4229. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4230. public bool Equals(DeleteBatchRequest other) {
  4231. if (ReferenceEquals(other, null)) {
  4232. return false;
  4233. }
  4234. if (ReferenceEquals(other, this)) {
  4235. return true;
  4236. }
  4237. if(!studentInfos_.Equals(other.studentInfos_)) return false;
  4238. return Equals(_unknownFields, other._unknownFields);
  4239. }
  4240. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4241. public override int GetHashCode() {
  4242. int hash = 1;
  4243. hash ^= studentInfos_.GetHashCode();
  4244. if (_unknownFields != null) {
  4245. hash ^= _unknownFields.GetHashCode();
  4246. }
  4247. return hash;
  4248. }
  4249. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4250. public override string ToString() {
  4251. return pb::JsonFormatter.ToDiagnosticString(this);
  4252. }
  4253. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4254. public void WriteTo(pb::CodedOutputStream output) {
  4255. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4256. output.WriteRawMessage(this);
  4257. #else
  4258. studentInfos_.WriteTo(output, _repeated_studentInfos_codec);
  4259. if (_unknownFields != null) {
  4260. _unknownFields.WriteTo(output);
  4261. }
  4262. #endif
  4263. }
  4264. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4265. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4266. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  4267. studentInfos_.WriteTo(ref output, _repeated_studentInfos_codec);
  4268. if (_unknownFields != null) {
  4269. _unknownFields.WriteTo(ref output);
  4270. }
  4271. }
  4272. #endif
  4273. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4274. public int CalculateSize() {
  4275. int size = 0;
  4276. size += studentInfos_.CalculateSize(_repeated_studentInfos_codec);
  4277. if (_unknownFields != null) {
  4278. size += _unknownFields.CalculateSize();
  4279. }
  4280. return size;
  4281. }
  4282. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4283. public void MergeFrom(DeleteBatchRequest other) {
  4284. if (other == null) {
  4285. return;
  4286. }
  4287. studentInfos_.Add(other.studentInfos_);
  4288. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  4289. }
  4290. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4291. public void MergeFrom(pb::CodedInputStream input) {
  4292. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4293. input.ReadRawMessage(this);
  4294. #else
  4295. uint tag;
  4296. while ((tag = input.ReadTag()) != 0) {
  4297. switch(tag) {
  4298. default:
  4299. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  4300. break;
  4301. case 10: {
  4302. studentInfos_.AddEntriesFrom(input, _repeated_studentInfos_codec);
  4303. break;
  4304. }
  4305. }
  4306. }
  4307. #endif
  4308. }
  4309. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4310. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4311. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  4312. uint tag;
  4313. while ((tag = input.ReadTag()) != 0) {
  4314. switch(tag) {
  4315. default:
  4316. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  4317. break;
  4318. case 10: {
  4319. studentInfos_.AddEntriesFrom(ref input, _repeated_studentInfos_codec);
  4320. break;
  4321. }
  4322. }
  4323. }
  4324. }
  4325. #endif
  4326. }
  4327. public sealed partial class DeleteBatchResponse : pb::IMessage<DeleteBatchResponse>
  4328. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4329. , pb::IBufferMessage
  4330. #endif
  4331. {
  4332. private static readonly pb::MessageParser<DeleteBatchResponse> _parser = new pb::MessageParser<DeleteBatchResponse>(() => new DeleteBatchResponse());
  4333. private pb::UnknownFieldSet _unknownFields;
  4334. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4335. public static pb::MessageParser<DeleteBatchResponse> Parser { get { return _parser; } }
  4336. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4337. public static pbr::MessageDescriptor Descriptor {
  4338. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[18]; }
  4339. }
  4340. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4341. pbr::MessageDescriptor pb::IMessage.Descriptor {
  4342. get { return Descriptor; }
  4343. }
  4344. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4345. public DeleteBatchResponse() {
  4346. OnConstruction();
  4347. }
  4348. partial void OnConstruction();
  4349. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4350. public DeleteBatchResponse(DeleteBatchResponse other) : this() {
  4351. result_ = other.result_;
  4352. message_ = other.message_;
  4353. studentInfos_ = other.studentInfos_.Clone();
  4354. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  4355. }
  4356. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4357. public DeleteBatchResponse Clone() {
  4358. return new DeleteBatchResponse(this);
  4359. }
  4360. /// <summary>Field number for the "result" field.</summary>
  4361. public const int ResultFieldNumber = 1;
  4362. private int result_;
  4363. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4364. public int Result {
  4365. get { return result_; }
  4366. set {
  4367. result_ = value;
  4368. }
  4369. }
  4370. /// <summary>Field number for the "message" field.</summary>
  4371. public const int MessageFieldNumber = 2;
  4372. private string message_ = "";
  4373. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4374. public string Message {
  4375. get { return message_; }
  4376. set {
  4377. message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  4378. }
  4379. }
  4380. /// <summary>Field number for the "studentInfos" field.</summary>
  4381. public const int StudentInfosFieldNumber = 3;
  4382. private static readonly pb::FieldCodec<global::StudentInfo> _repeated_studentInfos_codec
  4383. = pb::FieldCodec.ForMessage(26, global::StudentInfo.Parser);
  4384. private readonly pbc::RepeatedField<global::StudentInfo> studentInfos_ = new pbc::RepeatedField<global::StudentInfo>();
  4385. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4386. public pbc::RepeatedField<global::StudentInfo> StudentInfos {
  4387. get { return studentInfos_; }
  4388. }
  4389. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4390. public override bool Equals(object other) {
  4391. return Equals(other as DeleteBatchResponse);
  4392. }
  4393. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4394. public bool Equals(DeleteBatchResponse other) {
  4395. if (ReferenceEquals(other, null)) {
  4396. return false;
  4397. }
  4398. if (ReferenceEquals(other, this)) {
  4399. return true;
  4400. }
  4401. if (Result != other.Result) return false;
  4402. if (Message != other.Message) return false;
  4403. if(!studentInfos_.Equals(other.studentInfos_)) return false;
  4404. return Equals(_unknownFields, other._unknownFields);
  4405. }
  4406. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4407. public override int GetHashCode() {
  4408. int hash = 1;
  4409. if (Result != 0) hash ^= Result.GetHashCode();
  4410. if (Message.Length != 0) hash ^= Message.GetHashCode();
  4411. hash ^= studentInfos_.GetHashCode();
  4412. if (_unknownFields != null) {
  4413. hash ^= _unknownFields.GetHashCode();
  4414. }
  4415. return hash;
  4416. }
  4417. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4418. public override string ToString() {
  4419. return pb::JsonFormatter.ToDiagnosticString(this);
  4420. }
  4421. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4422. public void WriteTo(pb::CodedOutputStream output) {
  4423. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4424. output.WriteRawMessage(this);
  4425. #else
  4426. if (Result != 0) {
  4427. output.WriteRawTag(8);
  4428. output.WriteInt32(Result);
  4429. }
  4430. if (Message.Length != 0) {
  4431. output.WriteRawTag(18);
  4432. output.WriteString(Message);
  4433. }
  4434. studentInfos_.WriteTo(output, _repeated_studentInfos_codec);
  4435. if (_unknownFields != null) {
  4436. _unknownFields.WriteTo(output);
  4437. }
  4438. #endif
  4439. }
  4440. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4441. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4442. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  4443. if (Result != 0) {
  4444. output.WriteRawTag(8);
  4445. output.WriteInt32(Result);
  4446. }
  4447. if (Message.Length != 0) {
  4448. output.WriteRawTag(18);
  4449. output.WriteString(Message);
  4450. }
  4451. studentInfos_.WriteTo(ref output, _repeated_studentInfos_codec);
  4452. if (_unknownFields != null) {
  4453. _unknownFields.WriteTo(ref output);
  4454. }
  4455. }
  4456. #endif
  4457. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4458. public int CalculateSize() {
  4459. int size = 0;
  4460. if (Result != 0) {
  4461. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Result);
  4462. }
  4463. if (Message.Length != 0) {
  4464. size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
  4465. }
  4466. size += studentInfos_.CalculateSize(_repeated_studentInfos_codec);
  4467. if (_unknownFields != null) {
  4468. size += _unknownFields.CalculateSize();
  4469. }
  4470. return size;
  4471. }
  4472. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4473. public void MergeFrom(DeleteBatchResponse other) {
  4474. if (other == null) {
  4475. return;
  4476. }
  4477. if (other.Result != 0) {
  4478. Result = other.Result;
  4479. }
  4480. if (other.Message.Length != 0) {
  4481. Message = other.Message;
  4482. }
  4483. studentInfos_.Add(other.studentInfos_);
  4484. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  4485. }
  4486. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4487. public void MergeFrom(pb::CodedInputStream input) {
  4488. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4489. input.ReadRawMessage(this);
  4490. #else
  4491. uint tag;
  4492. while ((tag = input.ReadTag()) != 0) {
  4493. switch(tag) {
  4494. default:
  4495. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  4496. break;
  4497. case 8: {
  4498. Result = input.ReadInt32();
  4499. break;
  4500. }
  4501. case 18: {
  4502. Message = input.ReadString();
  4503. break;
  4504. }
  4505. case 26: {
  4506. studentInfos_.AddEntriesFrom(input, _repeated_studentInfos_codec);
  4507. break;
  4508. }
  4509. }
  4510. }
  4511. #endif
  4512. }
  4513. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4514. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4515. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  4516. uint tag;
  4517. while ((tag = input.ReadTag()) != 0) {
  4518. switch(tag) {
  4519. default:
  4520. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  4521. break;
  4522. case 8: {
  4523. Result = input.ReadInt32();
  4524. break;
  4525. }
  4526. case 18: {
  4527. Message = input.ReadString();
  4528. break;
  4529. }
  4530. case 26: {
  4531. studentInfos_.AddEntriesFrom(ref input, _repeated_studentInfos_codec);
  4532. break;
  4533. }
  4534. }
  4535. }
  4536. }
  4537. #endif
  4538. }
  4539. public sealed partial class SearchAllRequest : pb::IMessage<SearchAllRequest>
  4540. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4541. , pb::IBufferMessage
  4542. #endif
  4543. {
  4544. private static readonly pb::MessageParser<SearchAllRequest> _parser = new pb::MessageParser<SearchAllRequest>(() => new SearchAllRequest());
  4545. private pb::UnknownFieldSet _unknownFields;
  4546. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4547. public static pb::MessageParser<SearchAllRequest> Parser { get { return _parser; } }
  4548. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4549. public static pbr::MessageDescriptor Descriptor {
  4550. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[19]; }
  4551. }
  4552. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4553. pbr::MessageDescriptor pb::IMessage.Descriptor {
  4554. get { return Descriptor; }
  4555. }
  4556. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4557. public SearchAllRequest() {
  4558. OnConstruction();
  4559. }
  4560. partial void OnConstruction();
  4561. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4562. public SearchAllRequest(SearchAllRequest other) : this() {
  4563. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  4564. }
  4565. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4566. public SearchAllRequest Clone() {
  4567. return new SearchAllRequest(this);
  4568. }
  4569. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4570. public override bool Equals(object other) {
  4571. return Equals(other as SearchAllRequest);
  4572. }
  4573. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4574. public bool Equals(SearchAllRequest other) {
  4575. if (ReferenceEquals(other, null)) {
  4576. return false;
  4577. }
  4578. if (ReferenceEquals(other, this)) {
  4579. return true;
  4580. }
  4581. return Equals(_unknownFields, other._unknownFields);
  4582. }
  4583. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4584. public override int GetHashCode() {
  4585. int hash = 1;
  4586. if (_unknownFields != null) {
  4587. hash ^= _unknownFields.GetHashCode();
  4588. }
  4589. return hash;
  4590. }
  4591. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4592. public override string ToString() {
  4593. return pb::JsonFormatter.ToDiagnosticString(this);
  4594. }
  4595. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4596. public void WriteTo(pb::CodedOutputStream output) {
  4597. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4598. output.WriteRawMessage(this);
  4599. #else
  4600. if (_unknownFields != null) {
  4601. _unknownFields.WriteTo(output);
  4602. }
  4603. #endif
  4604. }
  4605. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4606. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4607. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  4608. if (_unknownFields != null) {
  4609. _unknownFields.WriteTo(ref output);
  4610. }
  4611. }
  4612. #endif
  4613. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4614. public int CalculateSize() {
  4615. int size = 0;
  4616. if (_unknownFields != null) {
  4617. size += _unknownFields.CalculateSize();
  4618. }
  4619. return size;
  4620. }
  4621. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4622. public void MergeFrom(SearchAllRequest other) {
  4623. if (other == null) {
  4624. return;
  4625. }
  4626. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  4627. }
  4628. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4629. public void MergeFrom(pb::CodedInputStream input) {
  4630. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4631. input.ReadRawMessage(this);
  4632. #else
  4633. uint tag;
  4634. while ((tag = input.ReadTag()) != 0) {
  4635. switch(tag) {
  4636. default:
  4637. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  4638. break;
  4639. }
  4640. }
  4641. #endif
  4642. }
  4643. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4644. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4645. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  4646. uint tag;
  4647. while ((tag = input.ReadTag()) != 0) {
  4648. switch(tag) {
  4649. default:
  4650. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  4651. break;
  4652. }
  4653. }
  4654. }
  4655. #endif
  4656. }
  4657. public sealed partial class MajorsInfosRequest : pb::IMessage<MajorsInfosRequest>
  4658. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4659. , pb::IBufferMessage
  4660. #endif
  4661. {
  4662. private static readonly pb::MessageParser<MajorsInfosRequest> _parser = new pb::MessageParser<MajorsInfosRequest>(() => new MajorsInfosRequest());
  4663. private pb::UnknownFieldSet _unknownFields;
  4664. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4665. public static pb::MessageParser<MajorsInfosRequest> Parser { get { return _parser; } }
  4666. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4667. public static pbr::MessageDescriptor Descriptor {
  4668. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[20]; }
  4669. }
  4670. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4671. pbr::MessageDescriptor pb::IMessage.Descriptor {
  4672. get { return Descriptor; }
  4673. }
  4674. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4675. public MajorsInfosRequest() {
  4676. OnConstruction();
  4677. }
  4678. partial void OnConstruction();
  4679. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4680. public MajorsInfosRequest(MajorsInfosRequest other) : this() {
  4681. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  4682. }
  4683. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4684. public MajorsInfosRequest Clone() {
  4685. return new MajorsInfosRequest(this);
  4686. }
  4687. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4688. public override bool Equals(object other) {
  4689. return Equals(other as MajorsInfosRequest);
  4690. }
  4691. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4692. public bool Equals(MajorsInfosRequest other) {
  4693. if (ReferenceEquals(other, null)) {
  4694. return false;
  4695. }
  4696. if (ReferenceEquals(other, this)) {
  4697. return true;
  4698. }
  4699. return Equals(_unknownFields, other._unknownFields);
  4700. }
  4701. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4702. public override int GetHashCode() {
  4703. int hash = 1;
  4704. if (_unknownFields != null) {
  4705. hash ^= _unknownFields.GetHashCode();
  4706. }
  4707. return hash;
  4708. }
  4709. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4710. public override string ToString() {
  4711. return pb::JsonFormatter.ToDiagnosticString(this);
  4712. }
  4713. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4714. public void WriteTo(pb::CodedOutputStream output) {
  4715. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4716. output.WriteRawMessage(this);
  4717. #else
  4718. if (_unknownFields != null) {
  4719. _unknownFields.WriteTo(output);
  4720. }
  4721. #endif
  4722. }
  4723. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4724. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4725. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  4726. if (_unknownFields != null) {
  4727. _unknownFields.WriteTo(ref output);
  4728. }
  4729. }
  4730. #endif
  4731. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4732. public int CalculateSize() {
  4733. int size = 0;
  4734. if (_unknownFields != null) {
  4735. size += _unknownFields.CalculateSize();
  4736. }
  4737. return size;
  4738. }
  4739. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4740. public void MergeFrom(MajorsInfosRequest other) {
  4741. if (other == null) {
  4742. return;
  4743. }
  4744. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  4745. }
  4746. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4747. public void MergeFrom(pb::CodedInputStream input) {
  4748. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4749. input.ReadRawMessage(this);
  4750. #else
  4751. uint tag;
  4752. while ((tag = input.ReadTag()) != 0) {
  4753. switch(tag) {
  4754. default:
  4755. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  4756. break;
  4757. }
  4758. }
  4759. #endif
  4760. }
  4761. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4762. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4763. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  4764. uint tag;
  4765. while ((tag = input.ReadTag()) != 0) {
  4766. switch(tag) {
  4767. default:
  4768. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  4769. break;
  4770. }
  4771. }
  4772. }
  4773. #endif
  4774. }
  4775. public sealed partial class MajorsInfosResponse : pb::IMessage<MajorsInfosResponse>
  4776. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4777. , pb::IBufferMessage
  4778. #endif
  4779. {
  4780. private static readonly pb::MessageParser<MajorsInfosResponse> _parser = new pb::MessageParser<MajorsInfosResponse>(() => new MajorsInfosResponse());
  4781. private pb::UnknownFieldSet _unknownFields;
  4782. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4783. public static pb::MessageParser<MajorsInfosResponse> Parser { get { return _parser; } }
  4784. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4785. public static pbr::MessageDescriptor Descriptor {
  4786. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[21]; }
  4787. }
  4788. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4789. pbr::MessageDescriptor pb::IMessage.Descriptor {
  4790. get { return Descriptor; }
  4791. }
  4792. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4793. public MajorsInfosResponse() {
  4794. OnConstruction();
  4795. }
  4796. partial void OnConstruction();
  4797. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4798. public MajorsInfosResponse(MajorsInfosResponse other) : this() {
  4799. result_ = other.result_;
  4800. message_ = other.message_;
  4801. majorInfos_ = other.majorInfos_.Clone();
  4802. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  4803. }
  4804. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4805. public MajorsInfosResponse Clone() {
  4806. return new MajorsInfosResponse(this);
  4807. }
  4808. /// <summary>Field number for the "result" field.</summary>
  4809. public const int ResultFieldNumber = 1;
  4810. private bool result_;
  4811. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4812. public bool Result {
  4813. get { return result_; }
  4814. set {
  4815. result_ = value;
  4816. }
  4817. }
  4818. /// <summary>Field number for the "message" field.</summary>
  4819. public const int MessageFieldNumber = 2;
  4820. private string message_ = "";
  4821. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4822. public string Message {
  4823. get { return message_; }
  4824. set {
  4825. message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  4826. }
  4827. }
  4828. /// <summary>Field number for the "majorInfos" field.</summary>
  4829. public const int MajorInfosFieldNumber = 3;
  4830. private static readonly pb::FieldCodec<global::MajorInfo> _repeated_majorInfos_codec
  4831. = pb::FieldCodec.ForMessage(26, global::MajorInfo.Parser);
  4832. private readonly pbc::RepeatedField<global::MajorInfo> majorInfos_ = new pbc::RepeatedField<global::MajorInfo>();
  4833. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4834. public pbc::RepeatedField<global::MajorInfo> MajorInfos {
  4835. get { return majorInfos_; }
  4836. }
  4837. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4838. public override bool Equals(object other) {
  4839. return Equals(other as MajorsInfosResponse);
  4840. }
  4841. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4842. public bool Equals(MajorsInfosResponse other) {
  4843. if (ReferenceEquals(other, null)) {
  4844. return false;
  4845. }
  4846. if (ReferenceEquals(other, this)) {
  4847. return true;
  4848. }
  4849. if (Result != other.Result) return false;
  4850. if (Message != other.Message) return false;
  4851. if(!majorInfos_.Equals(other.majorInfos_)) return false;
  4852. return Equals(_unknownFields, other._unknownFields);
  4853. }
  4854. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4855. public override int GetHashCode() {
  4856. int hash = 1;
  4857. if (Result != false) hash ^= Result.GetHashCode();
  4858. if (Message.Length != 0) hash ^= Message.GetHashCode();
  4859. hash ^= majorInfos_.GetHashCode();
  4860. if (_unknownFields != null) {
  4861. hash ^= _unknownFields.GetHashCode();
  4862. }
  4863. return hash;
  4864. }
  4865. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4866. public override string ToString() {
  4867. return pb::JsonFormatter.ToDiagnosticString(this);
  4868. }
  4869. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4870. public void WriteTo(pb::CodedOutputStream output) {
  4871. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4872. output.WriteRawMessage(this);
  4873. #else
  4874. if (Result != false) {
  4875. output.WriteRawTag(8);
  4876. output.WriteBool(Result);
  4877. }
  4878. if (Message.Length != 0) {
  4879. output.WriteRawTag(18);
  4880. output.WriteString(Message);
  4881. }
  4882. majorInfos_.WriteTo(output, _repeated_majorInfos_codec);
  4883. if (_unknownFields != null) {
  4884. _unknownFields.WriteTo(output);
  4885. }
  4886. #endif
  4887. }
  4888. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4889. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4890. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  4891. if (Result != false) {
  4892. output.WriteRawTag(8);
  4893. output.WriteBool(Result);
  4894. }
  4895. if (Message.Length != 0) {
  4896. output.WriteRawTag(18);
  4897. output.WriteString(Message);
  4898. }
  4899. majorInfos_.WriteTo(ref output, _repeated_majorInfos_codec);
  4900. if (_unknownFields != null) {
  4901. _unknownFields.WriteTo(ref output);
  4902. }
  4903. }
  4904. #endif
  4905. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4906. public int CalculateSize() {
  4907. int size = 0;
  4908. if (Result != false) {
  4909. size += 1 + 1;
  4910. }
  4911. if (Message.Length != 0) {
  4912. size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
  4913. }
  4914. size += majorInfos_.CalculateSize(_repeated_majorInfos_codec);
  4915. if (_unknownFields != null) {
  4916. size += _unknownFields.CalculateSize();
  4917. }
  4918. return size;
  4919. }
  4920. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4921. public void MergeFrom(MajorsInfosResponse other) {
  4922. if (other == null) {
  4923. return;
  4924. }
  4925. if (other.Result != false) {
  4926. Result = other.Result;
  4927. }
  4928. if (other.Message.Length != 0) {
  4929. Message = other.Message;
  4930. }
  4931. majorInfos_.Add(other.majorInfos_);
  4932. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  4933. }
  4934. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4935. public void MergeFrom(pb::CodedInputStream input) {
  4936. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4937. input.ReadRawMessage(this);
  4938. #else
  4939. uint tag;
  4940. while ((tag = input.ReadTag()) != 0) {
  4941. switch(tag) {
  4942. default:
  4943. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  4944. break;
  4945. case 8: {
  4946. Result = input.ReadBool();
  4947. break;
  4948. }
  4949. case 18: {
  4950. Message = input.ReadString();
  4951. break;
  4952. }
  4953. case 26: {
  4954. majorInfos_.AddEntriesFrom(input, _repeated_majorInfos_codec);
  4955. break;
  4956. }
  4957. }
  4958. }
  4959. #endif
  4960. }
  4961. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4962. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4963. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  4964. uint tag;
  4965. while ((tag = input.ReadTag()) != 0) {
  4966. switch(tag) {
  4967. default:
  4968. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  4969. break;
  4970. case 8: {
  4971. Result = input.ReadBool();
  4972. break;
  4973. }
  4974. case 18: {
  4975. Message = input.ReadString();
  4976. break;
  4977. }
  4978. case 26: {
  4979. majorInfos_.AddEntriesFrom(ref input, _repeated_majorInfos_codec);
  4980. break;
  4981. }
  4982. }
  4983. }
  4984. }
  4985. #endif
  4986. }
  4987. public sealed partial class MajorInfo : pb::IMessage<MajorInfo>
  4988. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  4989. , pb::IBufferMessage
  4990. #endif
  4991. {
  4992. private static readonly pb::MessageParser<MajorInfo> _parser = new pb::MessageParser<MajorInfo>(() => new MajorInfo());
  4993. private pb::UnknownFieldSet _unknownFields;
  4994. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4995. public static pb::MessageParser<MajorInfo> Parser { get { return _parser; } }
  4996. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  4997. public static pbr::MessageDescriptor Descriptor {
  4998. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[22]; }
  4999. }
  5000. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5001. pbr::MessageDescriptor pb::IMessage.Descriptor {
  5002. get { return Descriptor; }
  5003. }
  5004. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5005. public MajorInfo() {
  5006. OnConstruction();
  5007. }
  5008. partial void OnConstruction();
  5009. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5010. public MajorInfo(MajorInfo other) : this() {
  5011. id_ = other.id_;
  5012. majorName_ = other.majorName_;
  5013. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  5014. }
  5015. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5016. public MajorInfo Clone() {
  5017. return new MajorInfo(this);
  5018. }
  5019. /// <summary>Field number for the "id" field.</summary>
  5020. public const int IdFieldNumber = 1;
  5021. private int id_;
  5022. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5023. public int Id {
  5024. get { return id_; }
  5025. set {
  5026. id_ = value;
  5027. }
  5028. }
  5029. /// <summary>Field number for the "majorName" field.</summary>
  5030. public const int MajorNameFieldNumber = 2;
  5031. private string majorName_ = "";
  5032. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5033. public string MajorName {
  5034. get { return majorName_; }
  5035. set {
  5036. majorName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  5037. }
  5038. }
  5039. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5040. public override bool Equals(object other) {
  5041. return Equals(other as MajorInfo);
  5042. }
  5043. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5044. public bool Equals(MajorInfo other) {
  5045. if (ReferenceEquals(other, null)) {
  5046. return false;
  5047. }
  5048. if (ReferenceEquals(other, this)) {
  5049. return true;
  5050. }
  5051. if (Id != other.Id) return false;
  5052. if (MajorName != other.MajorName) return false;
  5053. return Equals(_unknownFields, other._unknownFields);
  5054. }
  5055. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5056. public override int GetHashCode() {
  5057. int hash = 1;
  5058. if (Id != 0) hash ^= Id.GetHashCode();
  5059. if (MajorName.Length != 0) hash ^= MajorName.GetHashCode();
  5060. if (_unknownFields != null) {
  5061. hash ^= _unknownFields.GetHashCode();
  5062. }
  5063. return hash;
  5064. }
  5065. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5066. public override string ToString() {
  5067. return pb::JsonFormatter.ToDiagnosticString(this);
  5068. }
  5069. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5070. public void WriteTo(pb::CodedOutputStream output) {
  5071. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5072. output.WriteRawMessage(this);
  5073. #else
  5074. if (Id != 0) {
  5075. output.WriteRawTag(8);
  5076. output.WriteInt32(Id);
  5077. }
  5078. if (MajorName.Length != 0) {
  5079. output.WriteRawTag(18);
  5080. output.WriteString(MajorName);
  5081. }
  5082. if (_unknownFields != null) {
  5083. _unknownFields.WriteTo(output);
  5084. }
  5085. #endif
  5086. }
  5087. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5088. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5089. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  5090. if (Id != 0) {
  5091. output.WriteRawTag(8);
  5092. output.WriteInt32(Id);
  5093. }
  5094. if (MajorName.Length != 0) {
  5095. output.WriteRawTag(18);
  5096. output.WriteString(MajorName);
  5097. }
  5098. if (_unknownFields != null) {
  5099. _unknownFields.WriteTo(ref output);
  5100. }
  5101. }
  5102. #endif
  5103. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5104. public int CalculateSize() {
  5105. int size = 0;
  5106. if (Id != 0) {
  5107. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
  5108. }
  5109. if (MajorName.Length != 0) {
  5110. size += 1 + pb::CodedOutputStream.ComputeStringSize(MajorName);
  5111. }
  5112. if (_unknownFields != null) {
  5113. size += _unknownFields.CalculateSize();
  5114. }
  5115. return size;
  5116. }
  5117. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5118. public void MergeFrom(MajorInfo other) {
  5119. if (other == null) {
  5120. return;
  5121. }
  5122. if (other.Id != 0) {
  5123. Id = other.Id;
  5124. }
  5125. if (other.MajorName.Length != 0) {
  5126. MajorName = other.MajorName;
  5127. }
  5128. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  5129. }
  5130. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5131. public void MergeFrom(pb::CodedInputStream input) {
  5132. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5133. input.ReadRawMessage(this);
  5134. #else
  5135. uint tag;
  5136. while ((tag = input.ReadTag()) != 0) {
  5137. switch(tag) {
  5138. default:
  5139. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  5140. break;
  5141. case 8: {
  5142. Id = input.ReadInt32();
  5143. break;
  5144. }
  5145. case 18: {
  5146. MajorName = input.ReadString();
  5147. break;
  5148. }
  5149. }
  5150. }
  5151. #endif
  5152. }
  5153. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5154. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5155. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  5156. uint tag;
  5157. while ((tag = input.ReadTag()) != 0) {
  5158. switch(tag) {
  5159. default:
  5160. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  5161. break;
  5162. case 8: {
  5163. Id = input.ReadInt32();
  5164. break;
  5165. }
  5166. case 18: {
  5167. MajorName = input.ReadString();
  5168. break;
  5169. }
  5170. }
  5171. }
  5172. }
  5173. #endif
  5174. }
  5175. public sealed partial class CourseInfosRequest : pb::IMessage<CourseInfosRequest>
  5176. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5177. , pb::IBufferMessage
  5178. #endif
  5179. {
  5180. private static readonly pb::MessageParser<CourseInfosRequest> _parser = new pb::MessageParser<CourseInfosRequest>(() => new CourseInfosRequest());
  5181. private pb::UnknownFieldSet _unknownFields;
  5182. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5183. public static pb::MessageParser<CourseInfosRequest> Parser { get { return _parser; } }
  5184. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5185. public static pbr::MessageDescriptor Descriptor {
  5186. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[23]; }
  5187. }
  5188. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5189. pbr::MessageDescriptor pb::IMessage.Descriptor {
  5190. get { return Descriptor; }
  5191. }
  5192. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5193. public CourseInfosRequest() {
  5194. OnConstruction();
  5195. }
  5196. partial void OnConstruction();
  5197. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5198. public CourseInfosRequest(CourseInfosRequest other) : this() {
  5199. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  5200. }
  5201. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5202. public CourseInfosRequest Clone() {
  5203. return new CourseInfosRequest(this);
  5204. }
  5205. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5206. public override bool Equals(object other) {
  5207. return Equals(other as CourseInfosRequest);
  5208. }
  5209. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5210. public bool Equals(CourseInfosRequest other) {
  5211. if (ReferenceEquals(other, null)) {
  5212. return false;
  5213. }
  5214. if (ReferenceEquals(other, this)) {
  5215. return true;
  5216. }
  5217. return Equals(_unknownFields, other._unknownFields);
  5218. }
  5219. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5220. public override int GetHashCode() {
  5221. int hash = 1;
  5222. if (_unknownFields != null) {
  5223. hash ^= _unknownFields.GetHashCode();
  5224. }
  5225. return hash;
  5226. }
  5227. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5228. public override string ToString() {
  5229. return pb::JsonFormatter.ToDiagnosticString(this);
  5230. }
  5231. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5232. public void WriteTo(pb::CodedOutputStream output) {
  5233. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5234. output.WriteRawMessage(this);
  5235. #else
  5236. if (_unknownFields != null) {
  5237. _unknownFields.WriteTo(output);
  5238. }
  5239. #endif
  5240. }
  5241. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5242. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5243. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  5244. if (_unknownFields != null) {
  5245. _unknownFields.WriteTo(ref output);
  5246. }
  5247. }
  5248. #endif
  5249. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5250. public int CalculateSize() {
  5251. int size = 0;
  5252. if (_unknownFields != null) {
  5253. size += _unknownFields.CalculateSize();
  5254. }
  5255. return size;
  5256. }
  5257. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5258. public void MergeFrom(CourseInfosRequest other) {
  5259. if (other == null) {
  5260. return;
  5261. }
  5262. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  5263. }
  5264. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5265. public void MergeFrom(pb::CodedInputStream input) {
  5266. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5267. input.ReadRawMessage(this);
  5268. #else
  5269. uint tag;
  5270. while ((tag = input.ReadTag()) != 0) {
  5271. switch(tag) {
  5272. default:
  5273. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  5274. break;
  5275. }
  5276. }
  5277. #endif
  5278. }
  5279. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5280. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5281. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  5282. uint tag;
  5283. while ((tag = input.ReadTag()) != 0) {
  5284. switch(tag) {
  5285. default:
  5286. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  5287. break;
  5288. }
  5289. }
  5290. }
  5291. #endif
  5292. }
  5293. public sealed partial class CourseInfosResponse : pb::IMessage<CourseInfosResponse>
  5294. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5295. , pb::IBufferMessage
  5296. #endif
  5297. {
  5298. private static readonly pb::MessageParser<CourseInfosResponse> _parser = new pb::MessageParser<CourseInfosResponse>(() => new CourseInfosResponse());
  5299. private pb::UnknownFieldSet _unknownFields;
  5300. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5301. public static pb::MessageParser<CourseInfosResponse> Parser { get { return _parser; } }
  5302. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5303. public static pbr::MessageDescriptor Descriptor {
  5304. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[24]; }
  5305. }
  5306. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5307. pbr::MessageDescriptor pb::IMessage.Descriptor {
  5308. get { return Descriptor; }
  5309. }
  5310. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5311. public CourseInfosResponse() {
  5312. OnConstruction();
  5313. }
  5314. partial void OnConstruction();
  5315. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5316. public CourseInfosResponse(CourseInfosResponse other) : this() {
  5317. result_ = other.result_;
  5318. message_ = other.message_;
  5319. courseInfos_ = other.courseInfos_.Clone();
  5320. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  5321. }
  5322. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5323. public CourseInfosResponse Clone() {
  5324. return new CourseInfosResponse(this);
  5325. }
  5326. /// <summary>Field number for the "result" field.</summary>
  5327. public const int ResultFieldNumber = 1;
  5328. private bool result_;
  5329. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5330. public bool Result {
  5331. get { return result_; }
  5332. set {
  5333. result_ = value;
  5334. }
  5335. }
  5336. /// <summary>Field number for the "message" field.</summary>
  5337. public const int MessageFieldNumber = 2;
  5338. private string message_ = "";
  5339. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5340. public string Message {
  5341. get { return message_; }
  5342. set {
  5343. message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  5344. }
  5345. }
  5346. /// <summary>Field number for the "courseInfos" field.</summary>
  5347. public const int CourseInfosFieldNumber = 3;
  5348. private static readonly pb::FieldCodec<global::CourseInfo> _repeated_courseInfos_codec
  5349. = pb::FieldCodec.ForMessage(26, global::CourseInfo.Parser);
  5350. private readonly pbc::RepeatedField<global::CourseInfo> courseInfos_ = new pbc::RepeatedField<global::CourseInfo>();
  5351. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5352. public pbc::RepeatedField<global::CourseInfo> CourseInfos {
  5353. get { return courseInfos_; }
  5354. }
  5355. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5356. public override bool Equals(object other) {
  5357. return Equals(other as CourseInfosResponse);
  5358. }
  5359. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5360. public bool Equals(CourseInfosResponse other) {
  5361. if (ReferenceEquals(other, null)) {
  5362. return false;
  5363. }
  5364. if (ReferenceEquals(other, this)) {
  5365. return true;
  5366. }
  5367. if (Result != other.Result) return false;
  5368. if (Message != other.Message) return false;
  5369. if(!courseInfos_.Equals(other.courseInfos_)) return false;
  5370. return Equals(_unknownFields, other._unknownFields);
  5371. }
  5372. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5373. public override int GetHashCode() {
  5374. int hash = 1;
  5375. if (Result != false) hash ^= Result.GetHashCode();
  5376. if (Message.Length != 0) hash ^= Message.GetHashCode();
  5377. hash ^= courseInfos_.GetHashCode();
  5378. if (_unknownFields != null) {
  5379. hash ^= _unknownFields.GetHashCode();
  5380. }
  5381. return hash;
  5382. }
  5383. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5384. public override string ToString() {
  5385. return pb::JsonFormatter.ToDiagnosticString(this);
  5386. }
  5387. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5388. public void WriteTo(pb::CodedOutputStream output) {
  5389. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5390. output.WriteRawMessage(this);
  5391. #else
  5392. if (Result != false) {
  5393. output.WriteRawTag(8);
  5394. output.WriteBool(Result);
  5395. }
  5396. if (Message.Length != 0) {
  5397. output.WriteRawTag(18);
  5398. output.WriteString(Message);
  5399. }
  5400. courseInfos_.WriteTo(output, _repeated_courseInfos_codec);
  5401. if (_unknownFields != null) {
  5402. _unknownFields.WriteTo(output);
  5403. }
  5404. #endif
  5405. }
  5406. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5407. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5408. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  5409. if (Result != false) {
  5410. output.WriteRawTag(8);
  5411. output.WriteBool(Result);
  5412. }
  5413. if (Message.Length != 0) {
  5414. output.WriteRawTag(18);
  5415. output.WriteString(Message);
  5416. }
  5417. courseInfos_.WriteTo(ref output, _repeated_courseInfos_codec);
  5418. if (_unknownFields != null) {
  5419. _unknownFields.WriteTo(ref output);
  5420. }
  5421. }
  5422. #endif
  5423. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5424. public int CalculateSize() {
  5425. int size = 0;
  5426. if (Result != false) {
  5427. size += 1 + 1;
  5428. }
  5429. if (Message.Length != 0) {
  5430. size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
  5431. }
  5432. size += courseInfos_.CalculateSize(_repeated_courseInfos_codec);
  5433. if (_unknownFields != null) {
  5434. size += _unknownFields.CalculateSize();
  5435. }
  5436. return size;
  5437. }
  5438. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5439. public void MergeFrom(CourseInfosResponse other) {
  5440. if (other == null) {
  5441. return;
  5442. }
  5443. if (other.Result != false) {
  5444. Result = other.Result;
  5445. }
  5446. if (other.Message.Length != 0) {
  5447. Message = other.Message;
  5448. }
  5449. courseInfos_.Add(other.courseInfos_);
  5450. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  5451. }
  5452. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5453. public void MergeFrom(pb::CodedInputStream input) {
  5454. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5455. input.ReadRawMessage(this);
  5456. #else
  5457. uint tag;
  5458. while ((tag = input.ReadTag()) != 0) {
  5459. switch(tag) {
  5460. default:
  5461. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  5462. break;
  5463. case 8: {
  5464. Result = input.ReadBool();
  5465. break;
  5466. }
  5467. case 18: {
  5468. Message = input.ReadString();
  5469. break;
  5470. }
  5471. case 26: {
  5472. courseInfos_.AddEntriesFrom(input, _repeated_courseInfos_codec);
  5473. break;
  5474. }
  5475. }
  5476. }
  5477. #endif
  5478. }
  5479. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5480. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5481. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  5482. uint tag;
  5483. while ((tag = input.ReadTag()) != 0) {
  5484. switch(tag) {
  5485. default:
  5486. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  5487. break;
  5488. case 8: {
  5489. Result = input.ReadBool();
  5490. break;
  5491. }
  5492. case 18: {
  5493. Message = input.ReadString();
  5494. break;
  5495. }
  5496. case 26: {
  5497. courseInfos_.AddEntriesFrom(ref input, _repeated_courseInfos_codec);
  5498. break;
  5499. }
  5500. }
  5501. }
  5502. }
  5503. #endif
  5504. }
  5505. public sealed partial class CourseInfo : pb::IMessage<CourseInfo>
  5506. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5507. , pb::IBufferMessage
  5508. #endif
  5509. {
  5510. private static readonly pb::MessageParser<CourseInfo> _parser = new pb::MessageParser<CourseInfo>(() => new CourseInfo());
  5511. private pb::UnknownFieldSet _unknownFields;
  5512. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5513. public static pb::MessageParser<CourseInfo> Parser { get { return _parser; } }
  5514. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5515. public static pbr::MessageDescriptor Descriptor {
  5516. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[25]; }
  5517. }
  5518. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5519. pbr::MessageDescriptor pb::IMessage.Descriptor {
  5520. get { return Descriptor; }
  5521. }
  5522. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5523. public CourseInfo() {
  5524. OnConstruction();
  5525. }
  5526. partial void OnConstruction();
  5527. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5528. public CourseInfo(CourseInfo other) : this() {
  5529. id_ = other.id_;
  5530. courseName_ = other.courseName_;
  5531. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  5532. }
  5533. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5534. public CourseInfo Clone() {
  5535. return new CourseInfo(this);
  5536. }
  5537. /// <summary>Field number for the "id" field.</summary>
  5538. public const int IdFieldNumber = 1;
  5539. private int id_;
  5540. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5541. public int Id {
  5542. get { return id_; }
  5543. set {
  5544. id_ = value;
  5545. }
  5546. }
  5547. /// <summary>Field number for the "courseName" field.</summary>
  5548. public const int CourseNameFieldNumber = 2;
  5549. private string courseName_ = "";
  5550. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5551. public string CourseName {
  5552. get { return courseName_; }
  5553. set {
  5554. courseName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  5555. }
  5556. }
  5557. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5558. public override bool Equals(object other) {
  5559. return Equals(other as CourseInfo);
  5560. }
  5561. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5562. public bool Equals(CourseInfo other) {
  5563. if (ReferenceEquals(other, null)) {
  5564. return false;
  5565. }
  5566. if (ReferenceEquals(other, this)) {
  5567. return true;
  5568. }
  5569. if (Id != other.Id) return false;
  5570. if (CourseName != other.CourseName) return false;
  5571. return Equals(_unknownFields, other._unknownFields);
  5572. }
  5573. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5574. public override int GetHashCode() {
  5575. int hash = 1;
  5576. if (Id != 0) hash ^= Id.GetHashCode();
  5577. if (CourseName.Length != 0) hash ^= CourseName.GetHashCode();
  5578. if (_unknownFields != null) {
  5579. hash ^= _unknownFields.GetHashCode();
  5580. }
  5581. return hash;
  5582. }
  5583. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5584. public override string ToString() {
  5585. return pb::JsonFormatter.ToDiagnosticString(this);
  5586. }
  5587. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5588. public void WriteTo(pb::CodedOutputStream output) {
  5589. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5590. output.WriteRawMessage(this);
  5591. #else
  5592. if (Id != 0) {
  5593. output.WriteRawTag(8);
  5594. output.WriteInt32(Id);
  5595. }
  5596. if (CourseName.Length != 0) {
  5597. output.WriteRawTag(18);
  5598. output.WriteString(CourseName);
  5599. }
  5600. if (_unknownFields != null) {
  5601. _unknownFields.WriteTo(output);
  5602. }
  5603. #endif
  5604. }
  5605. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5606. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5607. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  5608. if (Id != 0) {
  5609. output.WriteRawTag(8);
  5610. output.WriteInt32(Id);
  5611. }
  5612. if (CourseName.Length != 0) {
  5613. output.WriteRawTag(18);
  5614. output.WriteString(CourseName);
  5615. }
  5616. if (_unknownFields != null) {
  5617. _unknownFields.WriteTo(ref output);
  5618. }
  5619. }
  5620. #endif
  5621. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5622. public int CalculateSize() {
  5623. int size = 0;
  5624. if (Id != 0) {
  5625. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
  5626. }
  5627. if (CourseName.Length != 0) {
  5628. size += 1 + pb::CodedOutputStream.ComputeStringSize(CourseName);
  5629. }
  5630. if (_unknownFields != null) {
  5631. size += _unknownFields.CalculateSize();
  5632. }
  5633. return size;
  5634. }
  5635. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5636. public void MergeFrom(CourseInfo other) {
  5637. if (other == null) {
  5638. return;
  5639. }
  5640. if (other.Id != 0) {
  5641. Id = other.Id;
  5642. }
  5643. if (other.CourseName.Length != 0) {
  5644. CourseName = other.CourseName;
  5645. }
  5646. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  5647. }
  5648. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5649. public void MergeFrom(pb::CodedInputStream input) {
  5650. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5651. input.ReadRawMessage(this);
  5652. #else
  5653. uint tag;
  5654. while ((tag = input.ReadTag()) != 0) {
  5655. switch(tag) {
  5656. default:
  5657. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  5658. break;
  5659. case 8: {
  5660. Id = input.ReadInt32();
  5661. break;
  5662. }
  5663. case 18: {
  5664. CourseName = input.ReadString();
  5665. break;
  5666. }
  5667. }
  5668. }
  5669. #endif
  5670. }
  5671. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5672. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5673. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  5674. uint tag;
  5675. while ((tag = input.ReadTag()) != 0) {
  5676. switch(tag) {
  5677. default:
  5678. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  5679. break;
  5680. case 8: {
  5681. Id = input.ReadInt32();
  5682. break;
  5683. }
  5684. case 18: {
  5685. CourseName = input.ReadString();
  5686. break;
  5687. }
  5688. }
  5689. }
  5690. }
  5691. #endif
  5692. }
  5693. public sealed partial class ClassInfosRequest : pb::IMessage<ClassInfosRequest>
  5694. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5695. , pb::IBufferMessage
  5696. #endif
  5697. {
  5698. private static readonly pb::MessageParser<ClassInfosRequest> _parser = new pb::MessageParser<ClassInfosRequest>(() => new ClassInfosRequest());
  5699. private pb::UnknownFieldSet _unknownFields;
  5700. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5701. public static pb::MessageParser<ClassInfosRequest> Parser { get { return _parser; } }
  5702. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5703. public static pbr::MessageDescriptor Descriptor {
  5704. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[26]; }
  5705. }
  5706. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5707. pbr::MessageDescriptor pb::IMessage.Descriptor {
  5708. get { return Descriptor; }
  5709. }
  5710. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5711. public ClassInfosRequest() {
  5712. OnConstruction();
  5713. }
  5714. partial void OnConstruction();
  5715. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5716. public ClassInfosRequest(ClassInfosRequest other) : this() {
  5717. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  5718. }
  5719. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5720. public ClassInfosRequest Clone() {
  5721. return new ClassInfosRequest(this);
  5722. }
  5723. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5724. public override bool Equals(object other) {
  5725. return Equals(other as ClassInfosRequest);
  5726. }
  5727. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5728. public bool Equals(ClassInfosRequest other) {
  5729. if (ReferenceEquals(other, null)) {
  5730. return false;
  5731. }
  5732. if (ReferenceEquals(other, this)) {
  5733. return true;
  5734. }
  5735. return Equals(_unknownFields, other._unknownFields);
  5736. }
  5737. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5738. public override int GetHashCode() {
  5739. int hash = 1;
  5740. if (_unknownFields != null) {
  5741. hash ^= _unknownFields.GetHashCode();
  5742. }
  5743. return hash;
  5744. }
  5745. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5746. public override string ToString() {
  5747. return pb::JsonFormatter.ToDiagnosticString(this);
  5748. }
  5749. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5750. public void WriteTo(pb::CodedOutputStream output) {
  5751. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5752. output.WriteRawMessage(this);
  5753. #else
  5754. if (_unknownFields != null) {
  5755. _unknownFields.WriteTo(output);
  5756. }
  5757. #endif
  5758. }
  5759. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5760. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5761. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  5762. if (_unknownFields != null) {
  5763. _unknownFields.WriteTo(ref output);
  5764. }
  5765. }
  5766. #endif
  5767. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5768. public int CalculateSize() {
  5769. int size = 0;
  5770. if (_unknownFields != null) {
  5771. size += _unknownFields.CalculateSize();
  5772. }
  5773. return size;
  5774. }
  5775. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5776. public void MergeFrom(ClassInfosRequest other) {
  5777. if (other == null) {
  5778. return;
  5779. }
  5780. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  5781. }
  5782. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5783. public void MergeFrom(pb::CodedInputStream input) {
  5784. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5785. input.ReadRawMessage(this);
  5786. #else
  5787. uint tag;
  5788. while ((tag = input.ReadTag()) != 0) {
  5789. switch(tag) {
  5790. default:
  5791. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  5792. break;
  5793. }
  5794. }
  5795. #endif
  5796. }
  5797. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5798. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5799. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  5800. uint tag;
  5801. while ((tag = input.ReadTag()) != 0) {
  5802. switch(tag) {
  5803. default:
  5804. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  5805. break;
  5806. }
  5807. }
  5808. }
  5809. #endif
  5810. }
  5811. public sealed partial class ClassInfosResponse : pb::IMessage<ClassInfosResponse>
  5812. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5813. , pb::IBufferMessage
  5814. #endif
  5815. {
  5816. private static readonly pb::MessageParser<ClassInfosResponse> _parser = new pb::MessageParser<ClassInfosResponse>(() => new ClassInfosResponse());
  5817. private pb::UnknownFieldSet _unknownFields;
  5818. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5819. public static pb::MessageParser<ClassInfosResponse> Parser { get { return _parser; } }
  5820. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5821. public static pbr::MessageDescriptor Descriptor {
  5822. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[27]; }
  5823. }
  5824. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5825. pbr::MessageDescriptor pb::IMessage.Descriptor {
  5826. get { return Descriptor; }
  5827. }
  5828. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5829. public ClassInfosResponse() {
  5830. OnConstruction();
  5831. }
  5832. partial void OnConstruction();
  5833. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5834. public ClassInfosResponse(ClassInfosResponse other) : this() {
  5835. result_ = other.result_;
  5836. message_ = other.message_;
  5837. classInfos_ = other.classInfos_.Clone();
  5838. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  5839. }
  5840. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5841. public ClassInfosResponse Clone() {
  5842. return new ClassInfosResponse(this);
  5843. }
  5844. /// <summary>Field number for the "result" field.</summary>
  5845. public const int ResultFieldNumber = 1;
  5846. private bool result_;
  5847. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5848. public bool Result {
  5849. get { return result_; }
  5850. set {
  5851. result_ = value;
  5852. }
  5853. }
  5854. /// <summary>Field number for the "message" field.</summary>
  5855. public const int MessageFieldNumber = 2;
  5856. private string message_ = "";
  5857. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5858. public string Message {
  5859. get { return message_; }
  5860. set {
  5861. message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  5862. }
  5863. }
  5864. /// <summary>Field number for the "classInfos" field.</summary>
  5865. public const int ClassInfosFieldNumber = 3;
  5866. private static readonly pb::FieldCodec<global::ClassInfo> _repeated_classInfos_codec
  5867. = pb::FieldCodec.ForMessage(26, global::ClassInfo.Parser);
  5868. private readonly pbc::RepeatedField<global::ClassInfo> classInfos_ = new pbc::RepeatedField<global::ClassInfo>();
  5869. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5870. public pbc::RepeatedField<global::ClassInfo> ClassInfos {
  5871. get { return classInfos_; }
  5872. }
  5873. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5874. public override bool Equals(object other) {
  5875. return Equals(other as ClassInfosResponse);
  5876. }
  5877. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5878. public bool Equals(ClassInfosResponse other) {
  5879. if (ReferenceEquals(other, null)) {
  5880. return false;
  5881. }
  5882. if (ReferenceEquals(other, this)) {
  5883. return true;
  5884. }
  5885. if (Result != other.Result) return false;
  5886. if (Message != other.Message) return false;
  5887. if(!classInfos_.Equals(other.classInfos_)) return false;
  5888. return Equals(_unknownFields, other._unknownFields);
  5889. }
  5890. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5891. public override int GetHashCode() {
  5892. int hash = 1;
  5893. if (Result != false) hash ^= Result.GetHashCode();
  5894. if (Message.Length != 0) hash ^= Message.GetHashCode();
  5895. hash ^= classInfos_.GetHashCode();
  5896. if (_unknownFields != null) {
  5897. hash ^= _unknownFields.GetHashCode();
  5898. }
  5899. return hash;
  5900. }
  5901. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5902. public override string ToString() {
  5903. return pb::JsonFormatter.ToDiagnosticString(this);
  5904. }
  5905. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5906. public void WriteTo(pb::CodedOutputStream output) {
  5907. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5908. output.WriteRawMessage(this);
  5909. #else
  5910. if (Result != false) {
  5911. output.WriteRawTag(8);
  5912. output.WriteBool(Result);
  5913. }
  5914. if (Message.Length != 0) {
  5915. output.WriteRawTag(18);
  5916. output.WriteString(Message);
  5917. }
  5918. classInfos_.WriteTo(output, _repeated_classInfos_codec);
  5919. if (_unknownFields != null) {
  5920. _unknownFields.WriteTo(output);
  5921. }
  5922. #endif
  5923. }
  5924. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5925. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5926. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  5927. if (Result != false) {
  5928. output.WriteRawTag(8);
  5929. output.WriteBool(Result);
  5930. }
  5931. if (Message.Length != 0) {
  5932. output.WriteRawTag(18);
  5933. output.WriteString(Message);
  5934. }
  5935. classInfos_.WriteTo(ref output, _repeated_classInfos_codec);
  5936. if (_unknownFields != null) {
  5937. _unknownFields.WriteTo(ref output);
  5938. }
  5939. }
  5940. #endif
  5941. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5942. public int CalculateSize() {
  5943. int size = 0;
  5944. if (Result != false) {
  5945. size += 1 + 1;
  5946. }
  5947. if (Message.Length != 0) {
  5948. size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
  5949. }
  5950. size += classInfos_.CalculateSize(_repeated_classInfos_codec);
  5951. if (_unknownFields != null) {
  5952. size += _unknownFields.CalculateSize();
  5953. }
  5954. return size;
  5955. }
  5956. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5957. public void MergeFrom(ClassInfosResponse other) {
  5958. if (other == null) {
  5959. return;
  5960. }
  5961. if (other.Result != false) {
  5962. Result = other.Result;
  5963. }
  5964. if (other.Message.Length != 0) {
  5965. Message = other.Message;
  5966. }
  5967. classInfos_.Add(other.classInfos_);
  5968. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  5969. }
  5970. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5971. public void MergeFrom(pb::CodedInputStream input) {
  5972. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5973. input.ReadRawMessage(this);
  5974. #else
  5975. uint tag;
  5976. while ((tag = input.ReadTag()) != 0) {
  5977. switch(tag) {
  5978. default:
  5979. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  5980. break;
  5981. case 8: {
  5982. Result = input.ReadBool();
  5983. break;
  5984. }
  5985. case 18: {
  5986. Message = input.ReadString();
  5987. break;
  5988. }
  5989. case 26: {
  5990. classInfos_.AddEntriesFrom(input, _repeated_classInfos_codec);
  5991. break;
  5992. }
  5993. }
  5994. }
  5995. #endif
  5996. }
  5997. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  5998. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  5999. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  6000. uint tag;
  6001. while ((tag = input.ReadTag()) != 0) {
  6002. switch(tag) {
  6003. default:
  6004. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  6005. break;
  6006. case 8: {
  6007. Result = input.ReadBool();
  6008. break;
  6009. }
  6010. case 18: {
  6011. Message = input.ReadString();
  6012. break;
  6013. }
  6014. case 26: {
  6015. classInfos_.AddEntriesFrom(ref input, _repeated_classInfos_codec);
  6016. break;
  6017. }
  6018. }
  6019. }
  6020. }
  6021. #endif
  6022. }
  6023. public sealed partial class ClassInfo : pb::IMessage<ClassInfo>
  6024. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6025. , pb::IBufferMessage
  6026. #endif
  6027. {
  6028. private static readonly pb::MessageParser<ClassInfo> _parser = new pb::MessageParser<ClassInfo>(() => new ClassInfo());
  6029. private pb::UnknownFieldSet _unknownFields;
  6030. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6031. public static pb::MessageParser<ClassInfo> Parser { get { return _parser; } }
  6032. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6033. public static pbr::MessageDescriptor Descriptor {
  6034. get { return global::OperateInfoGreerReflection.Descriptor.MessageTypes[28]; }
  6035. }
  6036. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6037. pbr::MessageDescriptor pb::IMessage.Descriptor {
  6038. get { return Descriptor; }
  6039. }
  6040. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6041. public ClassInfo() {
  6042. OnConstruction();
  6043. }
  6044. partial void OnConstruction();
  6045. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6046. public ClassInfo(ClassInfo other) : this() {
  6047. id_ = other.id_;
  6048. className_ = other.className_;
  6049. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  6050. }
  6051. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6052. public ClassInfo Clone() {
  6053. return new ClassInfo(this);
  6054. }
  6055. /// <summary>Field number for the "id" field.</summary>
  6056. public const int IdFieldNumber = 1;
  6057. private int id_;
  6058. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6059. public int Id {
  6060. get { return id_; }
  6061. set {
  6062. id_ = value;
  6063. }
  6064. }
  6065. /// <summary>Field number for the "className" field.</summary>
  6066. public const int ClassNameFieldNumber = 2;
  6067. private string className_ = "";
  6068. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6069. public string ClassName {
  6070. get { return className_; }
  6071. set {
  6072. className_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  6073. }
  6074. }
  6075. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6076. public override bool Equals(object other) {
  6077. return Equals(other as ClassInfo);
  6078. }
  6079. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6080. public bool Equals(ClassInfo other) {
  6081. if (ReferenceEquals(other, null)) {
  6082. return false;
  6083. }
  6084. if (ReferenceEquals(other, this)) {
  6085. return true;
  6086. }
  6087. if (Id != other.Id) return false;
  6088. if (ClassName != other.ClassName) return false;
  6089. return Equals(_unknownFields, other._unknownFields);
  6090. }
  6091. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6092. public override int GetHashCode() {
  6093. int hash = 1;
  6094. if (Id != 0) hash ^= Id.GetHashCode();
  6095. if (ClassName.Length != 0) hash ^= ClassName.GetHashCode();
  6096. if (_unknownFields != null) {
  6097. hash ^= _unknownFields.GetHashCode();
  6098. }
  6099. return hash;
  6100. }
  6101. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6102. public override string ToString() {
  6103. return pb::JsonFormatter.ToDiagnosticString(this);
  6104. }
  6105. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6106. public void WriteTo(pb::CodedOutputStream output) {
  6107. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6108. output.WriteRawMessage(this);
  6109. #else
  6110. if (Id != 0) {
  6111. output.WriteRawTag(8);
  6112. output.WriteInt32(Id);
  6113. }
  6114. if (ClassName.Length != 0) {
  6115. output.WriteRawTag(18);
  6116. output.WriteString(ClassName);
  6117. }
  6118. if (_unknownFields != null) {
  6119. _unknownFields.WriteTo(output);
  6120. }
  6121. #endif
  6122. }
  6123. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6124. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6125. void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
  6126. if (Id != 0) {
  6127. output.WriteRawTag(8);
  6128. output.WriteInt32(Id);
  6129. }
  6130. if (ClassName.Length != 0) {
  6131. output.WriteRawTag(18);
  6132. output.WriteString(ClassName);
  6133. }
  6134. if (_unknownFields != null) {
  6135. _unknownFields.WriteTo(ref output);
  6136. }
  6137. }
  6138. #endif
  6139. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6140. public int CalculateSize() {
  6141. int size = 0;
  6142. if (Id != 0) {
  6143. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
  6144. }
  6145. if (ClassName.Length != 0) {
  6146. size += 1 + pb::CodedOutputStream.ComputeStringSize(ClassName);
  6147. }
  6148. if (_unknownFields != null) {
  6149. size += _unknownFields.CalculateSize();
  6150. }
  6151. return size;
  6152. }
  6153. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6154. public void MergeFrom(ClassInfo other) {
  6155. if (other == null) {
  6156. return;
  6157. }
  6158. if (other.Id != 0) {
  6159. Id = other.Id;
  6160. }
  6161. if (other.ClassName.Length != 0) {
  6162. ClassName = other.ClassName;
  6163. }
  6164. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  6165. }
  6166. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6167. public void MergeFrom(pb::CodedInputStream input) {
  6168. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6169. input.ReadRawMessage(this);
  6170. #else
  6171. uint tag;
  6172. while ((tag = input.ReadTag()) != 0) {
  6173. switch(tag) {
  6174. default:
  6175. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  6176. break;
  6177. case 8: {
  6178. Id = input.ReadInt32();
  6179. break;
  6180. }
  6181. case 18: {
  6182. ClassName = input.ReadString();
  6183. break;
  6184. }
  6185. }
  6186. }
  6187. #endif
  6188. }
  6189. #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
  6190. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  6191. void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
  6192. uint tag;
  6193. while ((tag = input.ReadTag()) != 0) {
  6194. switch(tag) {
  6195. default:
  6196. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
  6197. break;
  6198. case 8: {
  6199. Id = input.ReadInt32();
  6200. break;
  6201. }
  6202. case 18: {
  6203. ClassName = input.ReadString();
  6204. break;
  6205. }
  6206. }
  6207. }
  6208. }
  6209. #endif
  6210. }
  6211. #endregion
  6212. #endregion Designer generated code