123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: WPullMySnsListTaskResultNotice.proto
- package Im.Scrm.Ww.Proto;
- public final class WPullMySnsListTaskResultNotice {
- private WPullMySnsListTaskResultNotice() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistryLite registry) {
- }
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions(
- (com.google.protobuf.ExtensionRegistryLite) registry);
- }
- public interface PullMySnsListTaskResultNoticeMessageOrBuilder extends
- // @@protoc_insertion_point(interface_extends:Im.Scrm.Ww.Proto.PullMySnsListTaskResultNoticeMessage)
- com.google.protobuf.MessageOrBuilder {
- /**
- * <pre>
- * </pre>
- *
- * <code>int64 WxId = 1;</code>
- * @return The wxId.
- */
- long getWxId();
- /**
- * <pre>
- * 是否成功
- * </pre>
- *
- * <code>bool Success = 2;</code>
- * @return The success.
- */
- boolean getSuccess();
- /**
- * <pre>
- * 错误内容描述 获取 成功时附带的结果内容
- * </pre>
- *
- * <code>string ErrMsg = 3;</code>
- * @return The errMsg.
- */
- java.lang.String getErrMsg();
- /**
- * <pre>
- * 错误内容描述 获取 成功时附带的结果内容
- * </pre>
- *
- * <code>string ErrMsg = 3;</code>
- * @return The bytes for errMsg.
- */
- com.google.protobuf.ByteString
- getErrMsgBytes();
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage>
- getSnsListList();
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage getSnsList(int index);
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- int getSnsListCount();
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- java.util.List<? extends Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessageOrBuilder>
- getSnsListOrBuilderList();
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessageOrBuilder getSnsListOrBuilder(
- int index);
- /**
- * <pre>
- * 下一页起始Seq
- * </pre>
- *
- * <code>int64 NextSeq = 5;</code>
- * @return The nextSeq.
- */
- long getNextSeq();
- /**
- * <code>int64 TaskId = 6;</code>
- * @return The taskId.
- */
- long getTaskId();
- }
- /**
- * Protobuf type {@code Im.Scrm.Ww.Proto.PullMySnsListTaskResultNoticeMessage}
- */
- public static final class PullMySnsListTaskResultNoticeMessage extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:Im.Scrm.Ww.Proto.PullMySnsListTaskResultNoticeMessage)
- PullMySnsListTaskResultNoticeMessageOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use PullMySnsListTaskResultNoticeMessage.newBuilder() to construct.
- private PullMySnsListTaskResultNoticeMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
- super(builder);
- }
- private PullMySnsListTaskResultNoticeMessage() {
- errMsg_ = "";
- snsList_ = java.util.Collections.emptyList();
- }
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new PullMySnsListTaskResultNoticeMessage();
- }
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private PullMySnsListTaskResultNoticeMessage(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- this();
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 8: {
- wxId_ = input.readInt64();
- break;
- }
- case 16: {
- success_ = input.readBool();
- break;
- }
- case 26: {
- java.lang.String s = input.readStringRequireUtf8();
- errMsg_ = s;
- break;
- }
- case 34: {
- if (!((mutable_bitField0_ & 0x00000001) != 0)) {
- snsList_ = new java.util.ArrayList<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage>();
- mutable_bitField0_ |= 0x00000001;
- }
- snsList_.add(
- input.readMessage(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage.parser(), extensionRegistry));
- break;
- }
- case 40: {
- nextSeq_ = input.readInt64();
- break;
- }
- case 48: {
- taskId_ = input.readInt64();
- break;
- }
- default: {
- if (!parseUnknownField(
- input, unknownFields, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e).setUnfinishedMessage(this);
- } finally {
- if (((mutable_bitField0_ & 0x00000001) != 0)) {
- snsList_ = java.util.Collections.unmodifiableList(snsList_);
- }
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_PullMySnsListTaskResultNoticeMessage_descriptor;
- }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_PullMySnsListTaskResultNoticeMessage_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage.class, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage.Builder.class);
- }
- public static final int WXID_FIELD_NUMBER = 1;
- private long wxId_;
- /**
- * <pre>
- * </pre>
- *
- * <code>int64 WxId = 1;</code>
- * @return The wxId.
- */
- public long getWxId() {
- return wxId_;
- }
- public static final int SUCCESS_FIELD_NUMBER = 2;
- private boolean success_;
- /**
- * <pre>
- * 是否成功
- * </pre>
- *
- * <code>bool Success = 2;</code>
- * @return The success.
- */
- public boolean getSuccess() {
- return success_;
- }
- public static final int ERRMSG_FIELD_NUMBER = 3;
- private volatile java.lang.Object errMsg_;
- /**
- * <pre>
- * 错误内容描述 获取 成功时附带的结果内容
- * </pre>
- *
- * <code>string ErrMsg = 3;</code>
- * @return The errMsg.
- */
- public java.lang.String getErrMsg() {
- java.lang.Object ref = errMsg_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- errMsg_ = s;
- return s;
- }
- }
- /**
- * <pre>
- * 错误内容描述 获取 成功时附带的结果内容
- * </pre>
- *
- * <code>string ErrMsg = 3;</code>
- * @return The bytes for errMsg.
- */
- public com.google.protobuf.ByteString
- getErrMsgBytes() {
- java.lang.Object ref = errMsg_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- errMsg_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- public static final int SNSLIST_FIELD_NUMBER = 4;
- private java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage> snsList_;
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage> getSnsListList() {
- return snsList_;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public java.util.List<? extends Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessageOrBuilder>
- getSnsListOrBuilderList() {
- return snsList_;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public int getSnsListCount() {
- return snsList_.size();
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage getSnsList(int index) {
- return snsList_.get(index);
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessageOrBuilder getSnsListOrBuilder(
- int index) {
- return snsList_.get(index);
- }
- public static final int NEXTSEQ_FIELD_NUMBER = 5;
- private long nextSeq_;
- /**
- * <pre>
- * 下一页起始Seq
- * </pre>
- *
- * <code>int64 NextSeq = 5;</code>
- * @return The nextSeq.
- */
- public long getNextSeq() {
- return nextSeq_;
- }
- public static final int TASKID_FIELD_NUMBER = 6;
- private long taskId_;
- /**
- * <code>int64 TaskId = 6;</code>
- * @return The taskId.
- */
- public long getTaskId() {
- return taskId_;
- }
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
- memoizedIsInitialized = 1;
- return true;
- }
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (wxId_ != 0L) {
- output.writeInt64(1, wxId_);
- }
- if (success_ != false) {
- output.writeBool(2, success_);
- }
- if (!getErrMsgBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 3, errMsg_);
- }
- for (int i = 0; i < snsList_.size(); i++) {
- output.writeMessage(4, snsList_.get(i));
- }
- if (nextSeq_ != 0L) {
- output.writeInt64(5, nextSeq_);
- }
- if (taskId_ != 0L) {
- output.writeInt64(6, taskId_);
- }
- unknownFields.writeTo(output);
- }
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
- size = 0;
- if (wxId_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(1, wxId_);
- }
- if (success_ != false) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(2, success_);
- }
- if (!getErrMsgBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, errMsg_);
- }
- for (int i = 0; i < snsList_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, snsList_.get(i));
- }
- if (nextSeq_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(5, nextSeq_);
- }
- if (taskId_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(6, taskId_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage)) {
- return super.equals(obj);
- }
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage other = (Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage) obj;
- if (getWxId()
- != other.getWxId()) return false;
- if (getSuccess()
- != other.getSuccess()) return false;
- if (!getErrMsg()
- .equals(other.getErrMsg())) return false;
- if (!getSnsListList()
- .equals(other.getSnsListList())) return false;
- if (getNextSeq()
- != other.getNextSeq()) return false;
- if (getTaskId()
- != other.getTaskId()) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + WXID_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getWxId());
- hash = (37 * hash) + SUCCESS_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
- getSuccess());
- hash = (37 * hash) + ERRMSG_FIELD_NUMBER;
- hash = (53 * hash) + getErrMsg().hashCode();
- if (getSnsListCount() > 0) {
- hash = (37 * hash) + SNSLIST_FIELD_NUMBER;
- hash = (53 * hash) + getSnsListList().hashCode();
- }
- hash = (37 * hash) + NEXTSEQ_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getNextSeq());
- hash = (37 * hash) + TASKID_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getTaskId());
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code Im.Scrm.Ww.Proto.PullMySnsListTaskResultNoticeMessage}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:Im.Scrm.Ww.Proto.PullMySnsListTaskResultNoticeMessage)
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessageOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_PullMySnsListTaskResultNoticeMessage_descriptor;
- }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_PullMySnsListTaskResultNoticeMessage_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage.class, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage.Builder.class);
- }
- // Construct using Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- getSnsListFieldBuilder();
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- wxId_ = 0L;
- success_ = false;
- errMsg_ = "";
- if (snsListBuilder_ == null) {
- snsList_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- } else {
- snsListBuilder_.clear();
- }
- nextSeq_ = 0L;
- taskId_ = 0L;
- return this;
- }
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_PullMySnsListTaskResultNoticeMessage_descriptor;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage getDefaultInstanceForType() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage.getDefaultInstance();
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage build() {
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage buildPartial() {
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage result = new Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage(this);
- int from_bitField0_ = bitField0_;
- result.wxId_ = wxId_;
- result.success_ = success_;
- result.errMsg_ = errMsg_;
- if (snsListBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0)) {
- snsList_ = java.util.Collections.unmodifiableList(snsList_);
- bitField0_ = (bitField0_ & ~0x00000001);
- }
- result.snsList_ = snsList_;
- } else {
- result.snsList_ = snsListBuilder_.build();
- }
- result.nextSeq_ = nextSeq_;
- result.taskId_ = taskId_;
- onBuilt();
- return result;
- }
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage) {
- return mergeFrom((Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
- public Builder mergeFrom(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage other) {
- if (other == Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage.getDefaultInstance()) return this;
- if (other.getWxId() != 0L) {
- setWxId(other.getWxId());
- }
- if (other.getSuccess() != false) {
- setSuccess(other.getSuccess());
- }
- if (!other.getErrMsg().isEmpty()) {
- errMsg_ = other.errMsg_;
- onChanged();
- }
- if (snsListBuilder_ == null) {
- if (!other.snsList_.isEmpty()) {
- if (snsList_.isEmpty()) {
- snsList_ = other.snsList_;
- bitField0_ = (bitField0_ & ~0x00000001);
- } else {
- ensureSnsListIsMutable();
- snsList_.addAll(other.snsList_);
- }
- onChanged();
- }
- } else {
- if (!other.snsList_.isEmpty()) {
- if (snsListBuilder_.isEmpty()) {
- snsListBuilder_.dispose();
- snsListBuilder_ = null;
- snsList_ = other.snsList_;
- bitField0_ = (bitField0_ & ~0x00000001);
- snsListBuilder_ =
- com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
- getSnsListFieldBuilder() : null;
- } else {
- snsListBuilder_.addAllMessages(other.snsList_);
- }
- }
- }
- if (other.getNextSeq() != 0L) {
- setNextSeq(other.getNextSeq());
- }
- if (other.getTaskId() != 0L) {
- setTaskId(other.getTaskId());
- }
- this.mergeUnknownFields(other.unknownFields);
- onChanged();
- return this;
- }
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
- private int bitField0_;
- private long wxId_ ;
- /**
- * <pre>
- * </pre>
- *
- * <code>int64 WxId = 1;</code>
- * @return The wxId.
- */
- public long getWxId() {
- return wxId_;
- }
- /**
- * <pre>
- * </pre>
- *
- * <code>int64 WxId = 1;</code>
- * @param value The wxId to set.
- * @return This builder for chaining.
- */
- public Builder setWxId(long value) {
-
- wxId_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * </pre>
- *
- * <code>int64 WxId = 1;</code>
- * @return This builder for chaining.
- */
- public Builder clearWxId() {
-
- wxId_ = 0L;
- onChanged();
- return this;
- }
- private boolean success_ ;
- /**
- * <pre>
- * 是否成功
- * </pre>
- *
- * <code>bool Success = 2;</code>
- * @return The success.
- */
- public boolean getSuccess() {
- return success_;
- }
- /**
- * <pre>
- * 是否成功
- * </pre>
- *
- * <code>bool Success = 2;</code>
- * @param value The success to set.
- * @return This builder for chaining.
- */
- public Builder setSuccess(boolean value) {
-
- success_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 是否成功
- * </pre>
- *
- * <code>bool Success = 2;</code>
- * @return This builder for chaining.
- */
- public Builder clearSuccess() {
-
- success_ = false;
- onChanged();
- return this;
- }
- private java.lang.Object errMsg_ = "";
- /**
- * <pre>
- * 错误内容描述 获取 成功时附带的结果内容
- * </pre>
- *
- * <code>string ErrMsg = 3;</code>
- * @return The errMsg.
- */
- public java.lang.String getErrMsg() {
- java.lang.Object ref = errMsg_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- errMsg_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <pre>
- * 错误内容描述 获取 成功时附带的结果内容
- * </pre>
- *
- * <code>string ErrMsg = 3;</code>
- * @return The bytes for errMsg.
- */
- public com.google.protobuf.ByteString
- getErrMsgBytes() {
- java.lang.Object ref = errMsg_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- errMsg_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <pre>
- * 错误内容描述 获取 成功时附带的结果内容
- * </pre>
- *
- * <code>string ErrMsg = 3;</code>
- * @param value The errMsg to set.
- * @return This builder for chaining.
- */
- public Builder setErrMsg(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- errMsg_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 错误内容描述 获取 成功时附带的结果内容
- * </pre>
- *
- * <code>string ErrMsg = 3;</code>
- * @return This builder for chaining.
- */
- public Builder clearErrMsg() {
-
- errMsg_ = getDefaultInstance().getErrMsg();
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 错误内容描述 获取 成功时附带的结果内容
- * </pre>
- *
- * <code>string ErrMsg = 3;</code>
- * @param value The bytes for errMsg to set.
- * @return This builder for chaining.
- */
- public Builder setErrMsgBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- errMsg_ = value;
- onChanged();
- return this;
- }
- private java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage> snsList_ =
- java.util.Collections.emptyList();
- private void ensureSnsListIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
- snsList_ = new java.util.ArrayList<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage>(snsList_);
- bitField0_ |= 0x00000001;
- }
- }
- private com.google.protobuf.RepeatedFieldBuilderV3<
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage.Builder, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessageOrBuilder> snsListBuilder_;
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage> getSnsListList() {
- if (snsListBuilder_ == null) {
- return java.util.Collections.unmodifiableList(snsList_);
- } else {
- return snsListBuilder_.getMessageList();
- }
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public int getSnsListCount() {
- if (snsListBuilder_ == null) {
- return snsList_.size();
- } else {
- return snsListBuilder_.getCount();
- }
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage getSnsList(int index) {
- if (snsListBuilder_ == null) {
- return snsList_.get(index);
- } else {
- return snsListBuilder_.getMessage(index);
- }
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public Builder setSnsList(
- int index, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage value) {
- if (snsListBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSnsListIsMutable();
- snsList_.set(index, value);
- onChanged();
- } else {
- snsListBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public Builder setSnsList(
- int index, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage.Builder builderForValue) {
- if (snsListBuilder_ == null) {
- ensureSnsListIsMutable();
- snsList_.set(index, builderForValue.build());
- onChanged();
- } else {
- snsListBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public Builder addSnsList(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage value) {
- if (snsListBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSnsListIsMutable();
- snsList_.add(value);
- onChanged();
- } else {
- snsListBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public Builder addSnsList(
- int index, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage value) {
- if (snsListBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSnsListIsMutable();
- snsList_.add(index, value);
- onChanged();
- } else {
- snsListBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public Builder addSnsList(
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage.Builder builderForValue) {
- if (snsListBuilder_ == null) {
- ensureSnsListIsMutable();
- snsList_.add(builderForValue.build());
- onChanged();
- } else {
- snsListBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public Builder addSnsList(
- int index, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage.Builder builderForValue) {
- if (snsListBuilder_ == null) {
- ensureSnsListIsMutable();
- snsList_.add(index, builderForValue.build());
- onChanged();
- } else {
- snsListBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public Builder addAllSnsList(
- java.lang.Iterable<? extends Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage> values) {
- if (snsListBuilder_ == null) {
- ensureSnsListIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, snsList_);
- onChanged();
- } else {
- snsListBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public Builder clearSnsList() {
- if (snsListBuilder_ == null) {
- snsList_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- } else {
- snsListBuilder_.clear();
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public Builder removeSnsList(int index) {
- if (snsListBuilder_ == null) {
- ensureSnsListIsMutable();
- snsList_.remove(index);
- onChanged();
- } else {
- snsListBuilder_.remove(index);
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage.Builder getSnsListBuilder(
- int index) {
- return getSnsListFieldBuilder().getBuilder(index);
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessageOrBuilder getSnsListOrBuilder(
- int index) {
- if (snsListBuilder_ == null) {
- return snsList_.get(index); } else {
- return snsListBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public java.util.List<? extends Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessageOrBuilder>
- getSnsListOrBuilderList() {
- if (snsListBuilder_ != null) {
- return snsListBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(snsList_);
- }
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage.Builder addSnsListBuilder() {
- return getSnsListFieldBuilder().addBuilder(
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage.getDefaultInstance());
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage.Builder addSnsListBuilder(
- int index) {
- return getSnsListFieldBuilder().addBuilder(
- index, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage.getDefaultInstance());
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsInfoMessage SnsList = 4;</code>
- */
- public java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage.Builder>
- getSnsListBuilderList() {
- return getSnsListFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilderV3<
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage.Builder, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessageOrBuilder>
- getSnsListFieldBuilder() {
- if (snsListBuilder_ == null) {
- snsListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage.Builder, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessageOrBuilder>(
- snsList_,
- ((bitField0_ & 0x00000001) != 0),
- getParentForChildren(),
- isClean());
- snsList_ = null;
- }
- return snsListBuilder_;
- }
- private long nextSeq_ ;
- /**
- * <pre>
- * 下一页起始Seq
- * </pre>
- *
- * <code>int64 NextSeq = 5;</code>
- * @return The nextSeq.
- */
- public long getNextSeq() {
- return nextSeq_;
- }
- /**
- * <pre>
- * 下一页起始Seq
- * </pre>
- *
- * <code>int64 NextSeq = 5;</code>
- * @param value The nextSeq to set.
- * @return This builder for chaining.
- */
- public Builder setNextSeq(long value) {
-
- nextSeq_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 下一页起始Seq
- * </pre>
- *
- * <code>int64 NextSeq = 5;</code>
- * @return This builder for chaining.
- */
- public Builder clearNextSeq() {
-
- nextSeq_ = 0L;
- onChanged();
- return this;
- }
- private long taskId_ ;
- /**
- * <code>int64 TaskId = 6;</code>
- * @return The taskId.
- */
- public long getTaskId() {
- return taskId_;
- }
- /**
- * <code>int64 TaskId = 6;</code>
- * @param value The taskId to set.
- * @return This builder for chaining.
- */
- public Builder setTaskId(long value) {
-
- taskId_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>int64 TaskId = 6;</code>
- * @return This builder for chaining.
- */
- public Builder clearTaskId() {
-
- taskId_ = 0L;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
- // @@protoc_insertion_point(builder_scope:Im.Scrm.Ww.Proto.PullMySnsListTaskResultNoticeMessage)
- }
- // @@protoc_insertion_point(class_scope:Im.Scrm.Ww.Proto.PullMySnsListTaskResultNoticeMessage)
- private static final Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage();
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
- private static final com.google.protobuf.Parser<PullMySnsListTaskResultNoticeMessage>
- PARSER = new com.google.protobuf.AbstractParser<PullMySnsListTaskResultNoticeMessage>() {
- @java.lang.Override
- public PullMySnsListTaskResultNoticeMessage parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new PullMySnsListTaskResultNoticeMessage(input, extensionRegistry);
- }
- };
- public static com.google.protobuf.Parser<PullMySnsListTaskResultNoticeMessage> parser() {
- return PARSER;
- }
- @java.lang.Override
- public com.google.protobuf.Parser<PullMySnsListTaskResultNoticeMessage> getParserForType() {
- return PARSER;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.PullMySnsListTaskResultNoticeMessage getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
- }
- public interface SnsInfoMessageOrBuilder extends
- // @@protoc_insertion_point(interface_extends:Im.Scrm.Ww.Proto.SnsInfoMessage)
- com.google.protobuf.MessageOrBuilder {
- /**
- * <code>int64 Author = 1;</code>
- * @return The author.
- */
- long getAuthor();
- /**
- * <code>string Content = 2;</code>
- * @return The content.
- */
- java.lang.String getContent();
- /**
- * <code>string Content = 2;</code>
- * @return The bytes for content.
- */
- com.google.protobuf.ByteString
- getContentBytes();
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage>
- getImagesList();
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage getImages(int index);
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- int getImagesCount();
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- java.util.List<? extends Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder>
- getImagesOrBuilderList();
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder getImagesOrBuilder(
- int index);
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Link = 4;</code>
- * @return Whether the link field is set.
- */
- boolean hasLink();
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Link = 4;</code>
- * @return The link.
- */
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage getLink();
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Link = 4;</code>
- */
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder getLinkOrBuilder();
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Video = 5;</code>
- * @return Whether the video field is set.
- */
- boolean hasVideo();
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Video = 5;</code>
- * @return The video.
- */
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage getVideo();
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Video = 5;</code>
- */
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder getVideoOrBuilder();
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage>
- getCommentsList();
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage getComments(int index);
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- int getCommentsCount();
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- java.util.List<? extends Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessageOrBuilder>
- getCommentsOrBuilderList();
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessageOrBuilder getCommentsOrBuilder(
- int index);
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage>
- getLikesList();
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage getLikes(int index);
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- int getLikesCount();
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- java.util.List<? extends Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessageOrBuilder>
- getLikesOrBuilderList();
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessageOrBuilder getLikesOrBuilder(
- int index);
- /**
- * <code>int64 SnsId = 8;</code>
- * @return The snsId.
- */
- long getSnsId();
- /**
- * <code>int32 Time = 9;</code>
- * @return The time.
- */
- int getTime();
- /**
- * <code>string PostId = 10;</code>
- * @return The postId.
- */
- java.lang.String getPostId();
- /**
- * <code>string PostId = 10;</code>
- * @return The bytes for postId.
- */
- com.google.protobuf.ByteString
- getPostIdBytes();
- /**
- * <pre>
- * 0 员工发表,2 企业发表
- * </pre>
- *
- * <code>int32 Type = 11;</code>
- * @return The type.
- */
- int getType();
- }
- /**
- * Protobuf type {@code Im.Scrm.Ww.Proto.SnsInfoMessage}
- */
- public static final class SnsInfoMessage extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:Im.Scrm.Ww.Proto.SnsInfoMessage)
- SnsInfoMessageOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use SnsInfoMessage.newBuilder() to construct.
- private SnsInfoMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
- super(builder);
- }
- private SnsInfoMessage() {
- content_ = "";
- images_ = java.util.Collections.emptyList();
- comments_ = java.util.Collections.emptyList();
- likes_ = java.util.Collections.emptyList();
- postId_ = "";
- }
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new SnsInfoMessage();
- }
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private SnsInfoMessage(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- this();
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 8: {
- author_ = input.readInt64();
- break;
- }
- case 18: {
- java.lang.String s = input.readStringRequireUtf8();
- content_ = s;
- break;
- }
- case 26: {
- if (!((mutable_bitField0_ & 0x00000001) != 0)) {
- images_ = new java.util.ArrayList<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage>();
- mutable_bitField0_ |= 0x00000001;
- }
- images_.add(
- input.readMessage(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.parser(), extensionRegistry));
- break;
- }
- case 34: {
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder subBuilder = null;
- if (link_ != null) {
- subBuilder = link_.toBuilder();
- }
- link_ = input.readMessage(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.parser(), extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(link_);
- link_ = subBuilder.buildPartial();
- }
- break;
- }
- case 42: {
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder subBuilder = null;
- if (video_ != null) {
- subBuilder = video_.toBuilder();
- }
- video_ = input.readMessage(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.parser(), extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(video_);
- video_ = subBuilder.buildPartial();
- }
- break;
- }
- case 50: {
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
- comments_ = new java.util.ArrayList<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage>();
- mutable_bitField0_ |= 0x00000002;
- }
- comments_.add(
- input.readMessage(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage.parser(), extensionRegistry));
- break;
- }
- case 58: {
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
- likes_ = new java.util.ArrayList<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage>();
- mutable_bitField0_ |= 0x00000004;
- }
- likes_.add(
- input.readMessage(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage.parser(), extensionRegistry));
- break;
- }
- case 64: {
- snsId_ = input.readInt64();
- break;
- }
- case 72: {
- time_ = input.readInt32();
- break;
- }
- case 82: {
- java.lang.String s = input.readStringRequireUtf8();
- postId_ = s;
- break;
- }
- case 88: {
- type_ = input.readInt32();
- break;
- }
- default: {
- if (!parseUnknownField(
- input, unknownFields, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e).setUnfinishedMessage(this);
- } finally {
- if (((mutable_bitField0_ & 0x00000001) != 0)) {
- images_ = java.util.Collections.unmodifiableList(images_);
- }
- if (((mutable_bitField0_ & 0x00000002) != 0)) {
- comments_ = java.util.Collections.unmodifiableList(comments_);
- }
- if (((mutable_bitField0_ & 0x00000004) != 0)) {
- likes_ = java.util.Collections.unmodifiableList(likes_);
- }
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_SnsInfoMessage_descriptor;
- }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_SnsInfoMessage_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage.class, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage.Builder.class);
- }
- public static final int AUTHOR_FIELD_NUMBER = 1;
- private long author_;
- /**
- * <code>int64 Author = 1;</code>
- * @return The author.
- */
- public long getAuthor() {
- return author_;
- }
- public static final int CONTENT_FIELD_NUMBER = 2;
- private volatile java.lang.Object content_;
- /**
- * <code>string Content = 2;</code>
- * @return The content.
- */
- public java.lang.String getContent() {
- java.lang.Object ref = content_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- content_ = s;
- return s;
- }
- }
- /**
- * <code>string Content = 2;</code>
- * @return The bytes for content.
- */
- public com.google.protobuf.ByteString
- getContentBytes() {
- java.lang.Object ref = content_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- content_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- public static final int IMAGES_FIELD_NUMBER = 3;
- private java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage> images_;
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage> getImagesList() {
- return images_;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public java.util.List<? extends Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder>
- getImagesOrBuilderList() {
- return images_;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public int getImagesCount() {
- return images_.size();
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage getImages(int index) {
- return images_.get(index);
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder getImagesOrBuilder(
- int index) {
- return images_.get(index);
- }
- public static final int LINK_FIELD_NUMBER = 4;
- private Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage link_;
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Link = 4;</code>
- * @return Whether the link field is set.
- */
- public boolean hasLink() {
- return link_ != null;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Link = 4;</code>
- * @return The link.
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage getLink() {
- return link_ == null ? Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.getDefaultInstance() : link_;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Link = 4;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder getLinkOrBuilder() {
- return getLink();
- }
- public static final int VIDEO_FIELD_NUMBER = 5;
- private Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage video_;
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Video = 5;</code>
- * @return Whether the video field is set.
- */
- public boolean hasVideo() {
- return video_ != null;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Video = 5;</code>
- * @return The video.
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage getVideo() {
- return video_ == null ? Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.getDefaultInstance() : video_;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Video = 5;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder getVideoOrBuilder() {
- return getVideo();
- }
- public static final int COMMENTS_FIELD_NUMBER = 6;
- private java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage> comments_;
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage> getCommentsList() {
- return comments_;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public java.util.List<? extends Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessageOrBuilder>
- getCommentsOrBuilderList() {
- return comments_;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public int getCommentsCount() {
- return comments_.size();
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage getComments(int index) {
- return comments_.get(index);
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessageOrBuilder getCommentsOrBuilder(
- int index) {
- return comments_.get(index);
- }
- public static final int LIKES_FIELD_NUMBER = 7;
- private java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage> likes_;
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage> getLikesList() {
- return likes_;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public java.util.List<? extends Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessageOrBuilder>
- getLikesOrBuilderList() {
- return likes_;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public int getLikesCount() {
- return likes_.size();
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage getLikes(int index) {
- return likes_.get(index);
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessageOrBuilder getLikesOrBuilder(
- int index) {
- return likes_.get(index);
- }
- public static final int SNSID_FIELD_NUMBER = 8;
- private long snsId_;
- /**
- * <code>int64 SnsId = 8;</code>
- * @return The snsId.
- */
- public long getSnsId() {
- return snsId_;
- }
- public static final int TIME_FIELD_NUMBER = 9;
- private int time_;
- /**
- * <code>int32 Time = 9;</code>
- * @return The time.
- */
- public int getTime() {
- return time_;
- }
- public static final int POSTID_FIELD_NUMBER = 10;
- private volatile java.lang.Object postId_;
- /**
- * <code>string PostId = 10;</code>
- * @return The postId.
- */
- public java.lang.String getPostId() {
- java.lang.Object ref = postId_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- postId_ = s;
- return s;
- }
- }
- /**
- * <code>string PostId = 10;</code>
- * @return The bytes for postId.
- */
- public com.google.protobuf.ByteString
- getPostIdBytes() {
- java.lang.Object ref = postId_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- postId_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- public static final int TYPE_FIELD_NUMBER = 11;
- private int type_;
- /**
- * <pre>
- * 0 员工发表,2 企业发表
- * </pre>
- *
- * <code>int32 Type = 11;</code>
- * @return The type.
- */
- public int getType() {
- return type_;
- }
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
- memoizedIsInitialized = 1;
- return true;
- }
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (author_ != 0L) {
- output.writeInt64(1, author_);
- }
- if (!getContentBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, content_);
- }
- for (int i = 0; i < images_.size(); i++) {
- output.writeMessage(3, images_.get(i));
- }
- if (link_ != null) {
- output.writeMessage(4, getLink());
- }
- if (video_ != null) {
- output.writeMessage(5, getVideo());
- }
- for (int i = 0; i < comments_.size(); i++) {
- output.writeMessage(6, comments_.get(i));
- }
- for (int i = 0; i < likes_.size(); i++) {
- output.writeMessage(7, likes_.get(i));
- }
- if (snsId_ != 0L) {
- output.writeInt64(8, snsId_);
- }
- if (time_ != 0) {
- output.writeInt32(9, time_);
- }
- if (!getPostIdBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 10, postId_);
- }
- if (type_ != 0) {
- output.writeInt32(11, type_);
- }
- unknownFields.writeTo(output);
- }
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
- size = 0;
- if (author_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(1, author_);
- }
- if (!getContentBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, content_);
- }
- for (int i = 0; i < images_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, images_.get(i));
- }
- if (link_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, getLink());
- }
- if (video_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, getVideo());
- }
- for (int i = 0; i < comments_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(6, comments_.get(i));
- }
- for (int i = 0; i < likes_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(7, likes_.get(i));
- }
- if (snsId_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(8, snsId_);
- }
- if (time_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(9, time_);
- }
- if (!getPostIdBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, postId_);
- }
- if (type_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(11, type_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage)) {
- return super.equals(obj);
- }
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage other = (Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage) obj;
- if (getAuthor()
- != other.getAuthor()) return false;
- if (!getContent()
- .equals(other.getContent())) return false;
- if (!getImagesList()
- .equals(other.getImagesList())) return false;
- if (hasLink() != other.hasLink()) return false;
- if (hasLink()) {
- if (!getLink()
- .equals(other.getLink())) return false;
- }
- if (hasVideo() != other.hasVideo()) return false;
- if (hasVideo()) {
- if (!getVideo()
- .equals(other.getVideo())) return false;
- }
- if (!getCommentsList()
- .equals(other.getCommentsList())) return false;
- if (!getLikesList()
- .equals(other.getLikesList())) return false;
- if (getSnsId()
- != other.getSnsId()) return false;
- if (getTime()
- != other.getTime()) return false;
- if (!getPostId()
- .equals(other.getPostId())) return false;
- if (getType()
- != other.getType()) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + AUTHOR_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getAuthor());
- hash = (37 * hash) + CONTENT_FIELD_NUMBER;
- hash = (53 * hash) + getContent().hashCode();
- if (getImagesCount() > 0) {
- hash = (37 * hash) + IMAGES_FIELD_NUMBER;
- hash = (53 * hash) + getImagesList().hashCode();
- }
- if (hasLink()) {
- hash = (37 * hash) + LINK_FIELD_NUMBER;
- hash = (53 * hash) + getLink().hashCode();
- }
- if (hasVideo()) {
- hash = (37 * hash) + VIDEO_FIELD_NUMBER;
- hash = (53 * hash) + getVideo().hashCode();
- }
- if (getCommentsCount() > 0) {
- hash = (37 * hash) + COMMENTS_FIELD_NUMBER;
- hash = (53 * hash) + getCommentsList().hashCode();
- }
- if (getLikesCount() > 0) {
- hash = (37 * hash) + LIKES_FIELD_NUMBER;
- hash = (53 * hash) + getLikesList().hashCode();
- }
- hash = (37 * hash) + SNSID_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getSnsId());
- hash = (37 * hash) + TIME_FIELD_NUMBER;
- hash = (53 * hash) + getTime();
- hash = (37 * hash) + POSTID_FIELD_NUMBER;
- hash = (53 * hash) + getPostId().hashCode();
- hash = (37 * hash) + TYPE_FIELD_NUMBER;
- hash = (53 * hash) + getType();
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code Im.Scrm.Ww.Proto.SnsInfoMessage}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:Im.Scrm.Ww.Proto.SnsInfoMessage)
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessageOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_SnsInfoMessage_descriptor;
- }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_SnsInfoMessage_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage.class, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage.Builder.class);
- }
- // Construct using Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- getImagesFieldBuilder();
- getCommentsFieldBuilder();
- getLikesFieldBuilder();
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- author_ = 0L;
- content_ = "";
- if (imagesBuilder_ == null) {
- images_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- } else {
- imagesBuilder_.clear();
- }
- if (linkBuilder_ == null) {
- link_ = null;
- } else {
- link_ = null;
- linkBuilder_ = null;
- }
- if (videoBuilder_ == null) {
- video_ = null;
- } else {
- video_ = null;
- videoBuilder_ = null;
- }
- if (commentsBuilder_ == null) {
- comments_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
- } else {
- commentsBuilder_.clear();
- }
- if (likesBuilder_ == null) {
- likes_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
- } else {
- likesBuilder_.clear();
- }
- snsId_ = 0L;
- time_ = 0;
- postId_ = "";
- type_ = 0;
- return this;
- }
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_SnsInfoMessage_descriptor;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage getDefaultInstanceForType() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage.getDefaultInstance();
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage build() {
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage buildPartial() {
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage result = new Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage(this);
- int from_bitField0_ = bitField0_;
- result.author_ = author_;
- result.content_ = content_;
- if (imagesBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0)) {
- images_ = java.util.Collections.unmodifiableList(images_);
- bitField0_ = (bitField0_ & ~0x00000001);
- }
- result.images_ = images_;
- } else {
- result.images_ = imagesBuilder_.build();
- }
- if (linkBuilder_ == null) {
- result.link_ = link_;
- } else {
- result.link_ = linkBuilder_.build();
- }
- if (videoBuilder_ == null) {
- result.video_ = video_;
- } else {
- result.video_ = videoBuilder_.build();
- }
- if (commentsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
- comments_ = java.util.Collections.unmodifiableList(comments_);
- bitField0_ = (bitField0_ & ~0x00000002);
- }
- result.comments_ = comments_;
- } else {
- result.comments_ = commentsBuilder_.build();
- }
- if (likesBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0)) {
- likes_ = java.util.Collections.unmodifiableList(likes_);
- bitField0_ = (bitField0_ & ~0x00000004);
- }
- result.likes_ = likes_;
- } else {
- result.likes_ = likesBuilder_.build();
- }
- result.snsId_ = snsId_;
- result.time_ = time_;
- result.postId_ = postId_;
- result.type_ = type_;
- onBuilt();
- return result;
- }
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage) {
- return mergeFrom((Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
- public Builder mergeFrom(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage other) {
- if (other == Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage.getDefaultInstance()) return this;
- if (other.getAuthor() != 0L) {
- setAuthor(other.getAuthor());
- }
- if (!other.getContent().isEmpty()) {
- content_ = other.content_;
- onChanged();
- }
- if (imagesBuilder_ == null) {
- if (!other.images_.isEmpty()) {
- if (images_.isEmpty()) {
- images_ = other.images_;
- bitField0_ = (bitField0_ & ~0x00000001);
- } else {
- ensureImagesIsMutable();
- images_.addAll(other.images_);
- }
- onChanged();
- }
- } else {
- if (!other.images_.isEmpty()) {
- if (imagesBuilder_.isEmpty()) {
- imagesBuilder_.dispose();
- imagesBuilder_ = null;
- images_ = other.images_;
- bitField0_ = (bitField0_ & ~0x00000001);
- imagesBuilder_ =
- com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
- getImagesFieldBuilder() : null;
- } else {
- imagesBuilder_.addAllMessages(other.images_);
- }
- }
- }
- if (other.hasLink()) {
- mergeLink(other.getLink());
- }
- if (other.hasVideo()) {
- mergeVideo(other.getVideo());
- }
- if (commentsBuilder_ == null) {
- if (!other.comments_.isEmpty()) {
- if (comments_.isEmpty()) {
- comments_ = other.comments_;
- bitField0_ = (bitField0_ & ~0x00000002);
- } else {
- ensureCommentsIsMutable();
- comments_.addAll(other.comments_);
- }
- onChanged();
- }
- } else {
- if (!other.comments_.isEmpty()) {
- if (commentsBuilder_.isEmpty()) {
- commentsBuilder_.dispose();
- commentsBuilder_ = null;
- comments_ = other.comments_;
- bitField0_ = (bitField0_ & ~0x00000002);
- commentsBuilder_ =
- com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
- getCommentsFieldBuilder() : null;
- } else {
- commentsBuilder_.addAllMessages(other.comments_);
- }
- }
- }
- if (likesBuilder_ == null) {
- if (!other.likes_.isEmpty()) {
- if (likes_.isEmpty()) {
- likes_ = other.likes_;
- bitField0_ = (bitField0_ & ~0x00000004);
- } else {
- ensureLikesIsMutable();
- likes_.addAll(other.likes_);
- }
- onChanged();
- }
- } else {
- if (!other.likes_.isEmpty()) {
- if (likesBuilder_.isEmpty()) {
- likesBuilder_.dispose();
- likesBuilder_ = null;
- likes_ = other.likes_;
- bitField0_ = (bitField0_ & ~0x00000004);
- likesBuilder_ =
- com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
- getLikesFieldBuilder() : null;
- } else {
- likesBuilder_.addAllMessages(other.likes_);
- }
- }
- }
- if (other.getSnsId() != 0L) {
- setSnsId(other.getSnsId());
- }
- if (other.getTime() != 0) {
- setTime(other.getTime());
- }
- if (!other.getPostId().isEmpty()) {
- postId_ = other.postId_;
- onChanged();
- }
- if (other.getType() != 0) {
- setType(other.getType());
- }
- this.mergeUnknownFields(other.unknownFields);
- onChanged();
- return this;
- }
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
- private int bitField0_;
- private long author_ ;
- /**
- * <code>int64 Author = 1;</code>
- * @return The author.
- */
- public long getAuthor() {
- return author_;
- }
- /**
- * <code>int64 Author = 1;</code>
- * @param value The author to set.
- * @return This builder for chaining.
- */
- public Builder setAuthor(long value) {
-
- author_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>int64 Author = 1;</code>
- * @return This builder for chaining.
- */
- public Builder clearAuthor() {
-
- author_ = 0L;
- onChanged();
- return this;
- }
- private java.lang.Object content_ = "";
- /**
- * <code>string Content = 2;</code>
- * @return The content.
- */
- public java.lang.String getContent() {
- java.lang.Object ref = content_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- content_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <code>string Content = 2;</code>
- * @return The bytes for content.
- */
- public com.google.protobuf.ByteString
- getContentBytes() {
- java.lang.Object ref = content_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- content_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <code>string Content = 2;</code>
- * @param value The content to set.
- * @return This builder for chaining.
- */
- public Builder setContent(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- content_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>string Content = 2;</code>
- * @return This builder for chaining.
- */
- public Builder clearContent() {
-
- content_ = getDefaultInstance().getContent();
- onChanged();
- return this;
- }
- /**
- * <code>string Content = 2;</code>
- * @param value The bytes for content to set.
- * @return This builder for chaining.
- */
- public Builder setContentBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- content_ = value;
- onChanged();
- return this;
- }
- private java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage> images_ =
- java.util.Collections.emptyList();
- private void ensureImagesIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
- images_ = new java.util.ArrayList<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage>(images_);
- bitField0_ |= 0x00000001;
- }
- }
- private com.google.protobuf.RepeatedFieldBuilderV3<
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder> imagesBuilder_;
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage> getImagesList() {
- if (imagesBuilder_ == null) {
- return java.util.Collections.unmodifiableList(images_);
- } else {
- return imagesBuilder_.getMessageList();
- }
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public int getImagesCount() {
- if (imagesBuilder_ == null) {
- return images_.size();
- } else {
- return imagesBuilder_.getCount();
- }
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage getImages(int index) {
- if (imagesBuilder_ == null) {
- return images_.get(index);
- } else {
- return imagesBuilder_.getMessage(index);
- }
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public Builder setImages(
- int index, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage value) {
- if (imagesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureImagesIsMutable();
- images_.set(index, value);
- onChanged();
- } else {
- imagesBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public Builder setImages(
- int index, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder builderForValue) {
- if (imagesBuilder_ == null) {
- ensureImagesIsMutable();
- images_.set(index, builderForValue.build());
- onChanged();
- } else {
- imagesBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public Builder addImages(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage value) {
- if (imagesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureImagesIsMutable();
- images_.add(value);
- onChanged();
- } else {
- imagesBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public Builder addImages(
- int index, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage value) {
- if (imagesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureImagesIsMutable();
- images_.add(index, value);
- onChanged();
- } else {
- imagesBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public Builder addImages(
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder builderForValue) {
- if (imagesBuilder_ == null) {
- ensureImagesIsMutable();
- images_.add(builderForValue.build());
- onChanged();
- } else {
- imagesBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public Builder addImages(
- int index, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder builderForValue) {
- if (imagesBuilder_ == null) {
- ensureImagesIsMutable();
- images_.add(index, builderForValue.build());
- onChanged();
- } else {
- imagesBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public Builder addAllImages(
- java.lang.Iterable<? extends Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage> values) {
- if (imagesBuilder_ == null) {
- ensureImagesIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, images_);
- onChanged();
- } else {
- imagesBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public Builder clearImages() {
- if (imagesBuilder_ == null) {
- images_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- } else {
- imagesBuilder_.clear();
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public Builder removeImages(int index) {
- if (imagesBuilder_ == null) {
- ensureImagesIsMutable();
- images_.remove(index);
- onChanged();
- } else {
- imagesBuilder_.remove(index);
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder getImagesBuilder(
- int index) {
- return getImagesFieldBuilder().getBuilder(index);
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder getImagesOrBuilder(
- int index) {
- if (imagesBuilder_ == null) {
- return images_.get(index); } else {
- return imagesBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public java.util.List<? extends Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder>
- getImagesOrBuilderList() {
- if (imagesBuilder_ != null) {
- return imagesBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(images_);
- }
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder addImagesBuilder() {
- return getImagesFieldBuilder().addBuilder(
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.getDefaultInstance());
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder addImagesBuilder(
- int index) {
- return getImagesFieldBuilder().addBuilder(
- index, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.getDefaultInstance());
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsMediaInfoMessage Images = 3;</code>
- */
- public java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder>
- getImagesBuilderList() {
- return getImagesFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilderV3<
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder>
- getImagesFieldBuilder() {
- if (imagesBuilder_ == null) {
- imagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder>(
- images_,
- ((bitField0_ & 0x00000001) != 0),
- getParentForChildren(),
- isClean());
- images_ = null;
- }
- return imagesBuilder_;
- }
- private Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage link_;
- private com.google.protobuf.SingleFieldBuilderV3<
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder> linkBuilder_;
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Link = 4;</code>
- * @return Whether the link field is set.
- */
- public boolean hasLink() {
- return linkBuilder_ != null || link_ != null;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Link = 4;</code>
- * @return The link.
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage getLink() {
- if (linkBuilder_ == null) {
- return link_ == null ? Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.getDefaultInstance() : link_;
- } else {
- return linkBuilder_.getMessage();
- }
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Link = 4;</code>
- */
- public Builder setLink(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage value) {
- if (linkBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- link_ = value;
- onChanged();
- } else {
- linkBuilder_.setMessage(value);
- }
- return this;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Link = 4;</code>
- */
- public Builder setLink(
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder builderForValue) {
- if (linkBuilder_ == null) {
- link_ = builderForValue.build();
- onChanged();
- } else {
- linkBuilder_.setMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Link = 4;</code>
- */
- public Builder mergeLink(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage value) {
- if (linkBuilder_ == null) {
- if (link_ != null) {
- link_ =
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.newBuilder(link_).mergeFrom(value).buildPartial();
- } else {
- link_ = value;
- }
- onChanged();
- } else {
- linkBuilder_.mergeFrom(value);
- }
- return this;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Link = 4;</code>
- */
- public Builder clearLink() {
- if (linkBuilder_ == null) {
- link_ = null;
- onChanged();
- } else {
- link_ = null;
- linkBuilder_ = null;
- }
- return this;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Link = 4;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder getLinkBuilder() {
-
- onChanged();
- return getLinkFieldBuilder().getBuilder();
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Link = 4;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder getLinkOrBuilder() {
- if (linkBuilder_ != null) {
- return linkBuilder_.getMessageOrBuilder();
- } else {
- return link_ == null ?
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.getDefaultInstance() : link_;
- }
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Link = 4;</code>
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder>
- getLinkFieldBuilder() {
- if (linkBuilder_ == null) {
- linkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder>(
- getLink(),
- getParentForChildren(),
- isClean());
- link_ = null;
- }
- return linkBuilder_;
- }
- private Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage video_;
- private com.google.protobuf.SingleFieldBuilderV3<
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder> videoBuilder_;
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Video = 5;</code>
- * @return Whether the video field is set.
- */
- public boolean hasVideo() {
- return videoBuilder_ != null || video_ != null;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Video = 5;</code>
- * @return The video.
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage getVideo() {
- if (videoBuilder_ == null) {
- return video_ == null ? Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.getDefaultInstance() : video_;
- } else {
- return videoBuilder_.getMessage();
- }
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Video = 5;</code>
- */
- public Builder setVideo(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage value) {
- if (videoBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- video_ = value;
- onChanged();
- } else {
- videoBuilder_.setMessage(value);
- }
- return this;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Video = 5;</code>
- */
- public Builder setVideo(
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder builderForValue) {
- if (videoBuilder_ == null) {
- video_ = builderForValue.build();
- onChanged();
- } else {
- videoBuilder_.setMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Video = 5;</code>
- */
- public Builder mergeVideo(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage value) {
- if (videoBuilder_ == null) {
- if (video_ != null) {
- video_ =
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.newBuilder(video_).mergeFrom(value).buildPartial();
- } else {
- video_ = value;
- }
- onChanged();
- } else {
- videoBuilder_.mergeFrom(value);
- }
- return this;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Video = 5;</code>
- */
- public Builder clearVideo() {
- if (videoBuilder_ == null) {
- video_ = null;
- onChanged();
- } else {
- video_ = null;
- videoBuilder_ = null;
- }
- return this;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Video = 5;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder getVideoBuilder() {
-
- onChanged();
- return getVideoFieldBuilder().getBuilder();
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Video = 5;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder getVideoOrBuilder() {
- if (videoBuilder_ != null) {
- return videoBuilder_.getMessageOrBuilder();
- } else {
- return video_ == null ?
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.getDefaultInstance() : video_;
- }
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.SnsMediaInfoMessage Video = 5;</code>
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder>
- getVideoFieldBuilder() {
- if (videoBuilder_ == null) {
- videoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder>(
- getVideo(),
- getParentForChildren(),
- isClean());
- video_ = null;
- }
- return videoBuilder_;
- }
- private java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage> comments_ =
- java.util.Collections.emptyList();
- private void ensureCommentsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
- comments_ = new java.util.ArrayList<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage>(comments_);
- bitField0_ |= 0x00000002;
- }
- }
- private com.google.protobuf.RepeatedFieldBuilderV3<
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage.Builder, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessageOrBuilder> commentsBuilder_;
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage> getCommentsList() {
- if (commentsBuilder_ == null) {
- return java.util.Collections.unmodifiableList(comments_);
- } else {
- return commentsBuilder_.getMessageList();
- }
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public int getCommentsCount() {
- if (commentsBuilder_ == null) {
- return comments_.size();
- } else {
- return commentsBuilder_.getCount();
- }
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage getComments(int index) {
- if (commentsBuilder_ == null) {
- return comments_.get(index);
- } else {
- return commentsBuilder_.getMessage(index);
- }
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public Builder setComments(
- int index, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage value) {
- if (commentsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureCommentsIsMutable();
- comments_.set(index, value);
- onChanged();
- } else {
- commentsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public Builder setComments(
- int index, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage.Builder builderForValue) {
- if (commentsBuilder_ == null) {
- ensureCommentsIsMutable();
- comments_.set(index, builderForValue.build());
- onChanged();
- } else {
- commentsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public Builder addComments(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage value) {
- if (commentsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureCommentsIsMutable();
- comments_.add(value);
- onChanged();
- } else {
- commentsBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public Builder addComments(
- int index, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage value) {
- if (commentsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureCommentsIsMutable();
- comments_.add(index, value);
- onChanged();
- } else {
- commentsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public Builder addComments(
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage.Builder builderForValue) {
- if (commentsBuilder_ == null) {
- ensureCommentsIsMutable();
- comments_.add(builderForValue.build());
- onChanged();
- } else {
- commentsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public Builder addComments(
- int index, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage.Builder builderForValue) {
- if (commentsBuilder_ == null) {
- ensureCommentsIsMutable();
- comments_.add(index, builderForValue.build());
- onChanged();
- } else {
- commentsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public Builder addAllComments(
- java.lang.Iterable<? extends Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage> values) {
- if (commentsBuilder_ == null) {
- ensureCommentsIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, comments_);
- onChanged();
- } else {
- commentsBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public Builder clearComments() {
- if (commentsBuilder_ == null) {
- comments_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
- onChanged();
- } else {
- commentsBuilder_.clear();
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public Builder removeComments(int index) {
- if (commentsBuilder_ == null) {
- ensureCommentsIsMutable();
- comments_.remove(index);
- onChanged();
- } else {
- commentsBuilder_.remove(index);
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage.Builder getCommentsBuilder(
- int index) {
- return getCommentsFieldBuilder().getBuilder(index);
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessageOrBuilder getCommentsOrBuilder(
- int index) {
- if (commentsBuilder_ == null) {
- return comments_.get(index); } else {
- return commentsBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public java.util.List<? extends Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessageOrBuilder>
- getCommentsOrBuilderList() {
- if (commentsBuilder_ != null) {
- return commentsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(comments_);
- }
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage.Builder addCommentsBuilder() {
- return getCommentsFieldBuilder().addBuilder(
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage.getDefaultInstance());
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage.Builder addCommentsBuilder(
- int index) {
- return getCommentsFieldBuilder().addBuilder(
- index, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage.getDefaultInstance());
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsCommentMessage Comments = 6;</code>
- */
- public java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage.Builder>
- getCommentsBuilderList() {
- return getCommentsFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilderV3<
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage.Builder, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessageOrBuilder>
- getCommentsFieldBuilder() {
- if (commentsBuilder_ == null) {
- commentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage.Builder, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessageOrBuilder>(
- comments_,
- ((bitField0_ & 0x00000002) != 0),
- getParentForChildren(),
- isClean());
- comments_ = null;
- }
- return commentsBuilder_;
- }
- private java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage> likes_ =
- java.util.Collections.emptyList();
- private void ensureLikesIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
- likes_ = new java.util.ArrayList<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage>(likes_);
- bitField0_ |= 0x00000004;
- }
- }
- private com.google.protobuf.RepeatedFieldBuilderV3<
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage.Builder, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessageOrBuilder> likesBuilder_;
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage> getLikesList() {
- if (likesBuilder_ == null) {
- return java.util.Collections.unmodifiableList(likes_);
- } else {
- return likesBuilder_.getMessageList();
- }
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public int getLikesCount() {
- if (likesBuilder_ == null) {
- return likes_.size();
- } else {
- return likesBuilder_.getCount();
- }
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage getLikes(int index) {
- if (likesBuilder_ == null) {
- return likes_.get(index);
- } else {
- return likesBuilder_.getMessage(index);
- }
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public Builder setLikes(
- int index, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage value) {
- if (likesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureLikesIsMutable();
- likes_.set(index, value);
- onChanged();
- } else {
- likesBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public Builder setLikes(
- int index, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage.Builder builderForValue) {
- if (likesBuilder_ == null) {
- ensureLikesIsMutable();
- likes_.set(index, builderForValue.build());
- onChanged();
- } else {
- likesBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public Builder addLikes(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage value) {
- if (likesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureLikesIsMutable();
- likes_.add(value);
- onChanged();
- } else {
- likesBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public Builder addLikes(
- int index, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage value) {
- if (likesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureLikesIsMutable();
- likes_.add(index, value);
- onChanged();
- } else {
- likesBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public Builder addLikes(
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage.Builder builderForValue) {
- if (likesBuilder_ == null) {
- ensureLikesIsMutable();
- likes_.add(builderForValue.build());
- onChanged();
- } else {
- likesBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public Builder addLikes(
- int index, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage.Builder builderForValue) {
- if (likesBuilder_ == null) {
- ensureLikesIsMutable();
- likes_.add(index, builderForValue.build());
- onChanged();
- } else {
- likesBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public Builder addAllLikes(
- java.lang.Iterable<? extends Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage> values) {
- if (likesBuilder_ == null) {
- ensureLikesIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, likes_);
- onChanged();
- } else {
- likesBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public Builder clearLikes() {
- if (likesBuilder_ == null) {
- likes_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
- onChanged();
- } else {
- likesBuilder_.clear();
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public Builder removeLikes(int index) {
- if (likesBuilder_ == null) {
- ensureLikesIsMutable();
- likes_.remove(index);
- onChanged();
- } else {
- likesBuilder_.remove(index);
- }
- return this;
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage.Builder getLikesBuilder(
- int index) {
- return getLikesFieldBuilder().getBuilder(index);
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessageOrBuilder getLikesOrBuilder(
- int index) {
- if (likesBuilder_ == null) {
- return likes_.get(index); } else {
- return likesBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public java.util.List<? extends Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessageOrBuilder>
- getLikesOrBuilderList() {
- if (likesBuilder_ != null) {
- return likesBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(likes_);
- }
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage.Builder addLikesBuilder() {
- return getLikesFieldBuilder().addBuilder(
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage.getDefaultInstance());
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage.Builder addLikesBuilder(
- int index) {
- return getLikesFieldBuilder().addBuilder(
- index, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage.getDefaultInstance());
- }
- /**
- * <code>repeated .Im.Scrm.Ww.Proto.SnsLikeMessage Likes = 7;</code>
- */
- public java.util.List<Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage.Builder>
- getLikesBuilderList() {
- return getLikesFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilderV3<
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage.Builder, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessageOrBuilder>
- getLikesFieldBuilder() {
- if (likesBuilder_ == null) {
- likesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage.Builder, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessageOrBuilder>(
- likes_,
- ((bitField0_ & 0x00000004) != 0),
- getParentForChildren(),
- isClean());
- likes_ = null;
- }
- return likesBuilder_;
- }
- private long snsId_ ;
- /**
- * <code>int64 SnsId = 8;</code>
- * @return The snsId.
- */
- public long getSnsId() {
- return snsId_;
- }
- /**
- * <code>int64 SnsId = 8;</code>
- * @param value The snsId to set.
- * @return This builder for chaining.
- */
- public Builder setSnsId(long value) {
-
- snsId_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>int64 SnsId = 8;</code>
- * @return This builder for chaining.
- */
- public Builder clearSnsId() {
-
- snsId_ = 0L;
- onChanged();
- return this;
- }
- private int time_ ;
- /**
- * <code>int32 Time = 9;</code>
- * @return The time.
- */
- public int getTime() {
- return time_;
- }
- /**
- * <code>int32 Time = 9;</code>
- * @param value The time to set.
- * @return This builder for chaining.
- */
- public Builder setTime(int value) {
-
- time_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>int32 Time = 9;</code>
- * @return This builder for chaining.
- */
- public Builder clearTime() {
-
- time_ = 0;
- onChanged();
- return this;
- }
- private java.lang.Object postId_ = "";
- /**
- * <code>string PostId = 10;</code>
- * @return The postId.
- */
- public java.lang.String getPostId() {
- java.lang.Object ref = postId_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- postId_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <code>string PostId = 10;</code>
- * @return The bytes for postId.
- */
- public com.google.protobuf.ByteString
- getPostIdBytes() {
- java.lang.Object ref = postId_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- postId_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <code>string PostId = 10;</code>
- * @param value The postId to set.
- * @return This builder for chaining.
- */
- public Builder setPostId(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- postId_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>string PostId = 10;</code>
- * @return This builder for chaining.
- */
- public Builder clearPostId() {
-
- postId_ = getDefaultInstance().getPostId();
- onChanged();
- return this;
- }
- /**
- * <code>string PostId = 10;</code>
- * @param value The bytes for postId to set.
- * @return This builder for chaining.
- */
- public Builder setPostIdBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- postId_ = value;
- onChanged();
- return this;
- }
- private int type_ ;
- /**
- * <pre>
- * 0 员工发表,2 企业发表
- * </pre>
- *
- * <code>int32 Type = 11;</code>
- * @return The type.
- */
- public int getType() {
- return type_;
- }
- /**
- * <pre>
- * 0 员工发表,2 企业发表
- * </pre>
- *
- * <code>int32 Type = 11;</code>
- * @param value The type to set.
- * @return This builder for chaining.
- */
- public Builder setType(int value) {
-
- type_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 0 员工发表,2 企业发表
- * </pre>
- *
- * <code>int32 Type = 11;</code>
- * @return This builder for chaining.
- */
- public Builder clearType() {
-
- type_ = 0;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
- // @@protoc_insertion_point(builder_scope:Im.Scrm.Ww.Proto.SnsInfoMessage)
- }
- // @@protoc_insertion_point(class_scope:Im.Scrm.Ww.Proto.SnsInfoMessage)
- private static final Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage();
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
- private static final com.google.protobuf.Parser<SnsInfoMessage>
- PARSER = new com.google.protobuf.AbstractParser<SnsInfoMessage>() {
- @java.lang.Override
- public SnsInfoMessage parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new SnsInfoMessage(input, extensionRegistry);
- }
- };
- public static com.google.protobuf.Parser<SnsInfoMessage> parser() {
- return PARSER;
- }
- @java.lang.Override
- public com.google.protobuf.Parser<SnsInfoMessage> getParserForType() {
- return PARSER;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsInfoMessage getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
- }
- public interface SnsMediaInfoMessageOrBuilder extends
- // @@protoc_insertion_point(interface_extends:Im.Scrm.Ww.Proto.SnsMediaInfoMessage)
- com.google.protobuf.MessageOrBuilder {
- /**
- * <pre>
- * 缩略图地址
- * </pre>
- *
- * <code>string ThumbImg = 1;</code>
- * @return The thumbImg.
- */
- java.lang.String getThumbImg();
- /**
- * <pre>
- * 缩略图地址
- * </pre>
- *
- * <code>string ThumbImg = 1;</code>
- * @return The bytes for thumbImg.
- */
- com.google.protobuf.ByteString
- getThumbImgBytes();
- /**
- * <pre>
- * 大图地址,链接地址 视频地址等
- * </pre>
- *
- * <code>string Url = 2;</code>
- * @return The url.
- */
- java.lang.String getUrl();
- /**
- * <pre>
- * 大图地址,链接地址 视频地址等
- * </pre>
- *
- * <code>string Url = 2;</code>
- * @return The bytes for url.
- */
- com.google.protobuf.ByteString
- getUrlBytes();
- /**
- * <pre>
- * 描述,标题等
- * </pre>
- *
- * <code>string Desc = 3;</code>
- * @return The desc.
- */
- java.lang.String getDesc();
- /**
- * <pre>
- * 描述,标题等
- * </pre>
- *
- * <code>string Desc = 3;</code>
- * @return The bytes for desc.
- */
- com.google.protobuf.ByteString
- getDescBytes();
- }
- /**
- * Protobuf type {@code Im.Scrm.Ww.Proto.SnsMediaInfoMessage}
- */
- public static final class SnsMediaInfoMessage extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:Im.Scrm.Ww.Proto.SnsMediaInfoMessage)
- SnsMediaInfoMessageOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use SnsMediaInfoMessage.newBuilder() to construct.
- private SnsMediaInfoMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
- super(builder);
- }
- private SnsMediaInfoMessage() {
- thumbImg_ = "";
- url_ = "";
- desc_ = "";
- }
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new SnsMediaInfoMessage();
- }
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private SnsMediaInfoMessage(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- this();
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- java.lang.String s = input.readStringRequireUtf8();
- thumbImg_ = s;
- break;
- }
- case 18: {
- java.lang.String s = input.readStringRequireUtf8();
- url_ = s;
- break;
- }
- case 26: {
- java.lang.String s = input.readStringRequireUtf8();
- desc_ = s;
- break;
- }
- default: {
- if (!parseUnknownField(
- input, unknownFields, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_SnsMediaInfoMessage_descriptor;
- }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_SnsMediaInfoMessage_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.class, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder.class);
- }
- public static final int THUMBIMG_FIELD_NUMBER = 1;
- private volatile java.lang.Object thumbImg_;
- /**
- * <pre>
- * 缩略图地址
- * </pre>
- *
- * <code>string ThumbImg = 1;</code>
- * @return The thumbImg.
- */
- public java.lang.String getThumbImg() {
- java.lang.Object ref = thumbImg_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- thumbImg_ = s;
- return s;
- }
- }
- /**
- * <pre>
- * 缩略图地址
- * </pre>
- *
- * <code>string ThumbImg = 1;</code>
- * @return The bytes for thumbImg.
- */
- public com.google.protobuf.ByteString
- getThumbImgBytes() {
- java.lang.Object ref = thumbImg_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- thumbImg_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- public static final int URL_FIELD_NUMBER = 2;
- private volatile java.lang.Object url_;
- /**
- * <pre>
- * 大图地址,链接地址 视频地址等
- * </pre>
- *
- * <code>string Url = 2;</code>
- * @return The url.
- */
- public java.lang.String getUrl() {
- java.lang.Object ref = url_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- url_ = s;
- return s;
- }
- }
- /**
- * <pre>
- * 大图地址,链接地址 视频地址等
- * </pre>
- *
- * <code>string Url = 2;</code>
- * @return The bytes for url.
- */
- public com.google.protobuf.ByteString
- getUrlBytes() {
- java.lang.Object ref = url_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- url_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- public static final int DESC_FIELD_NUMBER = 3;
- private volatile java.lang.Object desc_;
- /**
- * <pre>
- * 描述,标题等
- * </pre>
- *
- * <code>string Desc = 3;</code>
- * @return The desc.
- */
- public java.lang.String getDesc() {
- java.lang.Object ref = desc_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- desc_ = s;
- return s;
- }
- }
- /**
- * <pre>
- * 描述,标题等
- * </pre>
- *
- * <code>string Desc = 3;</code>
- * @return The bytes for desc.
- */
- public com.google.protobuf.ByteString
- getDescBytes() {
- java.lang.Object ref = desc_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- desc_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
- memoizedIsInitialized = 1;
- return true;
- }
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (!getThumbImgBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, thumbImg_);
- }
- if (!getUrlBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, url_);
- }
- if (!getDescBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 3, desc_);
- }
- unknownFields.writeTo(output);
- }
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
- size = 0;
- if (!getThumbImgBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, thumbImg_);
- }
- if (!getUrlBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, url_);
- }
- if (!getDescBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, desc_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage)) {
- return super.equals(obj);
- }
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage other = (Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage) obj;
- if (!getThumbImg()
- .equals(other.getThumbImg())) return false;
- if (!getUrl()
- .equals(other.getUrl())) return false;
- if (!getDesc()
- .equals(other.getDesc())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + THUMBIMG_FIELD_NUMBER;
- hash = (53 * hash) + getThumbImg().hashCode();
- hash = (37 * hash) + URL_FIELD_NUMBER;
- hash = (53 * hash) + getUrl().hashCode();
- hash = (37 * hash) + DESC_FIELD_NUMBER;
- hash = (53 * hash) + getDesc().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code Im.Scrm.Ww.Proto.SnsMediaInfoMessage}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:Im.Scrm.Ww.Proto.SnsMediaInfoMessage)
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessageOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_SnsMediaInfoMessage_descriptor;
- }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_SnsMediaInfoMessage_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.class, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.Builder.class);
- }
- // Construct using Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- thumbImg_ = "";
- url_ = "";
- desc_ = "";
- return this;
- }
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_SnsMediaInfoMessage_descriptor;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage getDefaultInstanceForType() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.getDefaultInstance();
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage build() {
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage buildPartial() {
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage result = new Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage(this);
- result.thumbImg_ = thumbImg_;
- result.url_ = url_;
- result.desc_ = desc_;
- onBuilt();
- return result;
- }
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage) {
- return mergeFrom((Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
- public Builder mergeFrom(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage other) {
- if (other == Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage.getDefaultInstance()) return this;
- if (!other.getThumbImg().isEmpty()) {
- thumbImg_ = other.thumbImg_;
- onChanged();
- }
- if (!other.getUrl().isEmpty()) {
- url_ = other.url_;
- onChanged();
- }
- if (!other.getDesc().isEmpty()) {
- desc_ = other.desc_;
- onChanged();
- }
- this.mergeUnknownFields(other.unknownFields);
- onChanged();
- return this;
- }
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
- private java.lang.Object thumbImg_ = "";
- /**
- * <pre>
- * 缩略图地址
- * </pre>
- *
- * <code>string ThumbImg = 1;</code>
- * @return The thumbImg.
- */
- public java.lang.String getThumbImg() {
- java.lang.Object ref = thumbImg_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- thumbImg_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <pre>
- * 缩略图地址
- * </pre>
- *
- * <code>string ThumbImg = 1;</code>
- * @return The bytes for thumbImg.
- */
- public com.google.protobuf.ByteString
- getThumbImgBytes() {
- java.lang.Object ref = thumbImg_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- thumbImg_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <pre>
- * 缩略图地址
- * </pre>
- *
- * <code>string ThumbImg = 1;</code>
- * @param value The thumbImg to set.
- * @return This builder for chaining.
- */
- public Builder setThumbImg(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- thumbImg_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 缩略图地址
- * </pre>
- *
- * <code>string ThumbImg = 1;</code>
- * @return This builder for chaining.
- */
- public Builder clearThumbImg() {
-
- thumbImg_ = getDefaultInstance().getThumbImg();
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 缩略图地址
- * </pre>
- *
- * <code>string ThumbImg = 1;</code>
- * @param value The bytes for thumbImg to set.
- * @return This builder for chaining.
- */
- public Builder setThumbImgBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- thumbImg_ = value;
- onChanged();
- return this;
- }
- private java.lang.Object url_ = "";
- /**
- * <pre>
- * 大图地址,链接地址 视频地址等
- * </pre>
- *
- * <code>string Url = 2;</code>
- * @return The url.
- */
- public java.lang.String getUrl() {
- java.lang.Object ref = url_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- url_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <pre>
- * 大图地址,链接地址 视频地址等
- * </pre>
- *
- * <code>string Url = 2;</code>
- * @return The bytes for url.
- */
- public com.google.protobuf.ByteString
- getUrlBytes() {
- java.lang.Object ref = url_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- url_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <pre>
- * 大图地址,链接地址 视频地址等
- * </pre>
- *
- * <code>string Url = 2;</code>
- * @param value The url to set.
- * @return This builder for chaining.
- */
- public Builder setUrl(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- url_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 大图地址,链接地址 视频地址等
- * </pre>
- *
- * <code>string Url = 2;</code>
- * @return This builder for chaining.
- */
- public Builder clearUrl() {
-
- url_ = getDefaultInstance().getUrl();
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 大图地址,链接地址 视频地址等
- * </pre>
- *
- * <code>string Url = 2;</code>
- * @param value The bytes for url to set.
- * @return This builder for chaining.
- */
- public Builder setUrlBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- url_ = value;
- onChanged();
- return this;
- }
- private java.lang.Object desc_ = "";
- /**
- * <pre>
- * 描述,标题等
- * </pre>
- *
- * <code>string Desc = 3;</code>
- * @return The desc.
- */
- public java.lang.String getDesc() {
- java.lang.Object ref = desc_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- desc_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <pre>
- * 描述,标题等
- * </pre>
- *
- * <code>string Desc = 3;</code>
- * @return The bytes for desc.
- */
- public com.google.protobuf.ByteString
- getDescBytes() {
- java.lang.Object ref = desc_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- desc_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <pre>
- * 描述,标题等
- * </pre>
- *
- * <code>string Desc = 3;</code>
- * @param value The desc to set.
- * @return This builder for chaining.
- */
- public Builder setDesc(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- desc_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 描述,标题等
- * </pre>
- *
- * <code>string Desc = 3;</code>
- * @return This builder for chaining.
- */
- public Builder clearDesc() {
-
- desc_ = getDefaultInstance().getDesc();
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 描述,标题等
- * </pre>
- *
- * <code>string Desc = 3;</code>
- * @param value The bytes for desc to set.
- * @return This builder for chaining.
- */
- public Builder setDescBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- desc_ = value;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
- // @@protoc_insertion_point(builder_scope:Im.Scrm.Ww.Proto.SnsMediaInfoMessage)
- }
- // @@protoc_insertion_point(class_scope:Im.Scrm.Ww.Proto.SnsMediaInfoMessage)
- private static final Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage();
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
- private static final com.google.protobuf.Parser<SnsMediaInfoMessage>
- PARSER = new com.google.protobuf.AbstractParser<SnsMediaInfoMessage>() {
- @java.lang.Override
- public SnsMediaInfoMessage parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new SnsMediaInfoMessage(input, extensionRegistry);
- }
- };
- public static com.google.protobuf.Parser<SnsMediaInfoMessage> parser() {
- return PARSER;
- }
- @java.lang.Override
- public com.google.protobuf.Parser<SnsMediaInfoMessage> getParserForType() {
- return PARSER;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsMediaInfoMessage getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
- }
- public interface SnsCommentMessageOrBuilder extends
- // @@protoc_insertion_point(interface_extends:Im.Scrm.Ww.Proto.SnsCommentMessage)
- com.google.protobuf.MessageOrBuilder {
- /**
- * <pre>
- * 评论人的微信号
- * </pre>
- *
- * <code>int64 FriendId = 1;</code>
- * @return The friendId.
- */
- long getFriendId();
- /**
- * <pre>
- * 评论内容
- * </pre>
- *
- * <code>string Content = 2;</code>
- * @return The content.
- */
- java.lang.String getContent();
- /**
- * <pre>
- * 评论内容
- * </pre>
- *
- * <code>string Content = 2;</code>
- * @return The bytes for content.
- */
- com.google.protobuf.ByteString
- getContentBytes();
- /**
- * <pre>
- * 微信本地数据库的id
- * </pre>
- *
- * <code>int64 CommentId = 3;</code>
- * @return The commentId.
- */
- long getCommentId();
- /**
- * <pre>
- * 回复的微信本地数据库的id
- * </pre>
- *
- * <code>int64 ReplyCommentId = 4;</code>
- * @return The replyCommentId.
- */
- long getReplyCommentId();
- /**
- * <pre>
- * 评论对象的微信号
- * </pre>
- *
- * <code>int64 ReplyWxId = 5;</code>
- * @return The replyWxId.
- */
- long getReplyWxId();
- /**
- * <pre>
- * 评论时间
- * </pre>
- *
- * <code>int32 Time = 6;</code>
- * @return The time.
- */
- int getTime();
- /**
- * <code>string PostId = 7;</code>
- * @return The postId.
- */
- java.lang.String getPostId();
- /**
- * <code>string PostId = 7;</code>
- * @return The bytes for postId.
- */
- com.google.protobuf.ByteString
- getPostIdBytes();
- }
- /**
- * Protobuf type {@code Im.Scrm.Ww.Proto.SnsCommentMessage}
- */
- public static final class SnsCommentMessage extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:Im.Scrm.Ww.Proto.SnsCommentMessage)
- SnsCommentMessageOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use SnsCommentMessage.newBuilder() to construct.
- private SnsCommentMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
- super(builder);
- }
- private SnsCommentMessage() {
- content_ = "";
- postId_ = "";
- }
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new SnsCommentMessage();
- }
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private SnsCommentMessage(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- this();
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 8: {
- friendId_ = input.readInt64();
- break;
- }
- case 18: {
- java.lang.String s = input.readStringRequireUtf8();
- content_ = s;
- break;
- }
- case 24: {
- commentId_ = input.readInt64();
- break;
- }
- case 32: {
- replyCommentId_ = input.readInt64();
- break;
- }
- case 40: {
- replyWxId_ = input.readInt64();
- break;
- }
- case 48: {
- time_ = input.readInt32();
- break;
- }
- case 58: {
- java.lang.String s = input.readStringRequireUtf8();
- postId_ = s;
- break;
- }
- default: {
- if (!parseUnknownField(
- input, unknownFields, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_SnsCommentMessage_descriptor;
- }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_SnsCommentMessage_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage.class, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage.Builder.class);
- }
- public static final int FRIENDID_FIELD_NUMBER = 1;
- private long friendId_;
- /**
- * <pre>
- * 评论人的微信号
- * </pre>
- *
- * <code>int64 FriendId = 1;</code>
- * @return The friendId.
- */
- public long getFriendId() {
- return friendId_;
- }
- public static final int CONTENT_FIELD_NUMBER = 2;
- private volatile java.lang.Object content_;
- /**
- * <pre>
- * 评论内容
- * </pre>
- *
- * <code>string Content = 2;</code>
- * @return The content.
- */
- public java.lang.String getContent() {
- java.lang.Object ref = content_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- content_ = s;
- return s;
- }
- }
- /**
- * <pre>
- * 评论内容
- * </pre>
- *
- * <code>string Content = 2;</code>
- * @return The bytes for content.
- */
- public com.google.protobuf.ByteString
- getContentBytes() {
- java.lang.Object ref = content_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- content_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- public static final int COMMENTID_FIELD_NUMBER = 3;
- private long commentId_;
- /**
- * <pre>
- * 微信本地数据库的id
- * </pre>
- *
- * <code>int64 CommentId = 3;</code>
- * @return The commentId.
- */
- public long getCommentId() {
- return commentId_;
- }
- public static final int REPLYCOMMENTID_FIELD_NUMBER = 4;
- private long replyCommentId_;
- /**
- * <pre>
- * 回复的微信本地数据库的id
- * </pre>
- *
- * <code>int64 ReplyCommentId = 4;</code>
- * @return The replyCommentId.
- */
- public long getReplyCommentId() {
- return replyCommentId_;
- }
- public static final int REPLYWXID_FIELD_NUMBER = 5;
- private long replyWxId_;
- /**
- * <pre>
- * 评论对象的微信号
- * </pre>
- *
- * <code>int64 ReplyWxId = 5;</code>
- * @return The replyWxId.
- */
- public long getReplyWxId() {
- return replyWxId_;
- }
- public static final int TIME_FIELD_NUMBER = 6;
- private int time_;
- /**
- * <pre>
- * 评论时间
- * </pre>
- *
- * <code>int32 Time = 6;</code>
- * @return The time.
- */
- public int getTime() {
- return time_;
- }
- public static final int POSTID_FIELD_NUMBER = 7;
- private volatile java.lang.Object postId_;
- /**
- * <code>string PostId = 7;</code>
- * @return The postId.
- */
- public java.lang.String getPostId() {
- java.lang.Object ref = postId_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- postId_ = s;
- return s;
- }
- }
- /**
- * <code>string PostId = 7;</code>
- * @return The bytes for postId.
- */
- public com.google.protobuf.ByteString
- getPostIdBytes() {
- java.lang.Object ref = postId_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- postId_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
- memoizedIsInitialized = 1;
- return true;
- }
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (friendId_ != 0L) {
- output.writeInt64(1, friendId_);
- }
- if (!getContentBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, content_);
- }
- if (commentId_ != 0L) {
- output.writeInt64(3, commentId_);
- }
- if (replyCommentId_ != 0L) {
- output.writeInt64(4, replyCommentId_);
- }
- if (replyWxId_ != 0L) {
- output.writeInt64(5, replyWxId_);
- }
- if (time_ != 0) {
- output.writeInt32(6, time_);
- }
- if (!getPostIdBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 7, postId_);
- }
- unknownFields.writeTo(output);
- }
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
- size = 0;
- if (friendId_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(1, friendId_);
- }
- if (!getContentBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, content_);
- }
- if (commentId_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(3, commentId_);
- }
- if (replyCommentId_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(4, replyCommentId_);
- }
- if (replyWxId_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(5, replyWxId_);
- }
- if (time_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(6, time_);
- }
- if (!getPostIdBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, postId_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage)) {
- return super.equals(obj);
- }
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage other = (Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage) obj;
- if (getFriendId()
- != other.getFriendId()) return false;
- if (!getContent()
- .equals(other.getContent())) return false;
- if (getCommentId()
- != other.getCommentId()) return false;
- if (getReplyCommentId()
- != other.getReplyCommentId()) return false;
- if (getReplyWxId()
- != other.getReplyWxId()) return false;
- if (getTime()
- != other.getTime()) return false;
- if (!getPostId()
- .equals(other.getPostId())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + FRIENDID_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getFriendId());
- hash = (37 * hash) + CONTENT_FIELD_NUMBER;
- hash = (53 * hash) + getContent().hashCode();
- hash = (37 * hash) + COMMENTID_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getCommentId());
- hash = (37 * hash) + REPLYCOMMENTID_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getReplyCommentId());
- hash = (37 * hash) + REPLYWXID_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getReplyWxId());
- hash = (37 * hash) + TIME_FIELD_NUMBER;
- hash = (53 * hash) + getTime();
- hash = (37 * hash) + POSTID_FIELD_NUMBER;
- hash = (53 * hash) + getPostId().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code Im.Scrm.Ww.Proto.SnsCommentMessage}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:Im.Scrm.Ww.Proto.SnsCommentMessage)
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessageOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_SnsCommentMessage_descriptor;
- }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_SnsCommentMessage_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage.class, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage.Builder.class);
- }
- // Construct using Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- friendId_ = 0L;
- content_ = "";
- commentId_ = 0L;
- replyCommentId_ = 0L;
- replyWxId_ = 0L;
- time_ = 0;
- postId_ = "";
- return this;
- }
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_SnsCommentMessage_descriptor;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage getDefaultInstanceForType() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage.getDefaultInstance();
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage build() {
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage buildPartial() {
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage result = new Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage(this);
- result.friendId_ = friendId_;
- result.content_ = content_;
- result.commentId_ = commentId_;
- result.replyCommentId_ = replyCommentId_;
- result.replyWxId_ = replyWxId_;
- result.time_ = time_;
- result.postId_ = postId_;
- onBuilt();
- return result;
- }
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage) {
- return mergeFrom((Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
- public Builder mergeFrom(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage other) {
- if (other == Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage.getDefaultInstance()) return this;
- if (other.getFriendId() != 0L) {
- setFriendId(other.getFriendId());
- }
- if (!other.getContent().isEmpty()) {
- content_ = other.content_;
- onChanged();
- }
- if (other.getCommentId() != 0L) {
- setCommentId(other.getCommentId());
- }
- if (other.getReplyCommentId() != 0L) {
- setReplyCommentId(other.getReplyCommentId());
- }
- if (other.getReplyWxId() != 0L) {
- setReplyWxId(other.getReplyWxId());
- }
- if (other.getTime() != 0) {
- setTime(other.getTime());
- }
- if (!other.getPostId().isEmpty()) {
- postId_ = other.postId_;
- onChanged();
- }
- this.mergeUnknownFields(other.unknownFields);
- onChanged();
- return this;
- }
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
- private long friendId_ ;
- /**
- * <pre>
- * 评论人的微信号
- * </pre>
- *
- * <code>int64 FriendId = 1;</code>
- * @return The friendId.
- */
- public long getFriendId() {
- return friendId_;
- }
- /**
- * <pre>
- * 评论人的微信号
- * </pre>
- *
- * <code>int64 FriendId = 1;</code>
- * @param value The friendId to set.
- * @return This builder for chaining.
- */
- public Builder setFriendId(long value) {
-
- friendId_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 评论人的微信号
- * </pre>
- *
- * <code>int64 FriendId = 1;</code>
- * @return This builder for chaining.
- */
- public Builder clearFriendId() {
-
- friendId_ = 0L;
- onChanged();
- return this;
- }
- private java.lang.Object content_ = "";
- /**
- * <pre>
- * 评论内容
- * </pre>
- *
- * <code>string Content = 2;</code>
- * @return The content.
- */
- public java.lang.String getContent() {
- java.lang.Object ref = content_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- content_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <pre>
- * 评论内容
- * </pre>
- *
- * <code>string Content = 2;</code>
- * @return The bytes for content.
- */
- public com.google.protobuf.ByteString
- getContentBytes() {
- java.lang.Object ref = content_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- content_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <pre>
- * 评论内容
- * </pre>
- *
- * <code>string Content = 2;</code>
- * @param value The content to set.
- * @return This builder for chaining.
- */
- public Builder setContent(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- content_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 评论内容
- * </pre>
- *
- * <code>string Content = 2;</code>
- * @return This builder for chaining.
- */
- public Builder clearContent() {
-
- content_ = getDefaultInstance().getContent();
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 评论内容
- * </pre>
- *
- * <code>string Content = 2;</code>
- * @param value The bytes for content to set.
- * @return This builder for chaining.
- */
- public Builder setContentBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- content_ = value;
- onChanged();
- return this;
- }
- private long commentId_ ;
- /**
- * <pre>
- * 微信本地数据库的id
- * </pre>
- *
- * <code>int64 CommentId = 3;</code>
- * @return The commentId.
- */
- public long getCommentId() {
- return commentId_;
- }
- /**
- * <pre>
- * 微信本地数据库的id
- * </pre>
- *
- * <code>int64 CommentId = 3;</code>
- * @param value The commentId to set.
- * @return This builder for chaining.
- */
- public Builder setCommentId(long value) {
-
- commentId_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 微信本地数据库的id
- * </pre>
- *
- * <code>int64 CommentId = 3;</code>
- * @return This builder for chaining.
- */
- public Builder clearCommentId() {
-
- commentId_ = 0L;
- onChanged();
- return this;
- }
- private long replyCommentId_ ;
- /**
- * <pre>
- * 回复的微信本地数据库的id
- * </pre>
- *
- * <code>int64 ReplyCommentId = 4;</code>
- * @return The replyCommentId.
- */
- public long getReplyCommentId() {
- return replyCommentId_;
- }
- /**
- * <pre>
- * 回复的微信本地数据库的id
- * </pre>
- *
- * <code>int64 ReplyCommentId = 4;</code>
- * @param value The replyCommentId to set.
- * @return This builder for chaining.
- */
- public Builder setReplyCommentId(long value) {
-
- replyCommentId_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 回复的微信本地数据库的id
- * </pre>
- *
- * <code>int64 ReplyCommentId = 4;</code>
- * @return This builder for chaining.
- */
- public Builder clearReplyCommentId() {
-
- replyCommentId_ = 0L;
- onChanged();
- return this;
- }
- private long replyWxId_ ;
- /**
- * <pre>
- * 评论对象的微信号
- * </pre>
- *
- * <code>int64 ReplyWxId = 5;</code>
- * @return The replyWxId.
- */
- public long getReplyWxId() {
- return replyWxId_;
- }
- /**
- * <pre>
- * 评论对象的微信号
- * </pre>
- *
- * <code>int64 ReplyWxId = 5;</code>
- * @param value The replyWxId to set.
- * @return This builder for chaining.
- */
- public Builder setReplyWxId(long value) {
-
- replyWxId_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 评论对象的微信号
- * </pre>
- *
- * <code>int64 ReplyWxId = 5;</code>
- * @return This builder for chaining.
- */
- public Builder clearReplyWxId() {
-
- replyWxId_ = 0L;
- onChanged();
- return this;
- }
- private int time_ ;
- /**
- * <pre>
- * 评论时间
- * </pre>
- *
- * <code>int32 Time = 6;</code>
- * @return The time.
- */
- public int getTime() {
- return time_;
- }
- /**
- * <pre>
- * 评论时间
- * </pre>
- *
- * <code>int32 Time = 6;</code>
- * @param value The time to set.
- * @return This builder for chaining.
- */
- public Builder setTime(int value) {
-
- time_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 评论时间
- * </pre>
- *
- * <code>int32 Time = 6;</code>
- * @return This builder for chaining.
- */
- public Builder clearTime() {
-
- time_ = 0;
- onChanged();
- return this;
- }
- private java.lang.Object postId_ = "";
- /**
- * <code>string PostId = 7;</code>
- * @return The postId.
- */
- public java.lang.String getPostId() {
- java.lang.Object ref = postId_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- postId_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <code>string PostId = 7;</code>
- * @return The bytes for postId.
- */
- public com.google.protobuf.ByteString
- getPostIdBytes() {
- java.lang.Object ref = postId_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- postId_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <code>string PostId = 7;</code>
- * @param value The postId to set.
- * @return This builder for chaining.
- */
- public Builder setPostId(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- postId_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>string PostId = 7;</code>
- * @return This builder for chaining.
- */
- public Builder clearPostId() {
-
- postId_ = getDefaultInstance().getPostId();
- onChanged();
- return this;
- }
- /**
- * <code>string PostId = 7;</code>
- * @param value The bytes for postId to set.
- * @return This builder for chaining.
- */
- public Builder setPostIdBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- postId_ = value;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
- // @@protoc_insertion_point(builder_scope:Im.Scrm.Ww.Proto.SnsCommentMessage)
- }
- // @@protoc_insertion_point(class_scope:Im.Scrm.Ww.Proto.SnsCommentMessage)
- private static final Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage();
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
- private static final com.google.protobuf.Parser<SnsCommentMessage>
- PARSER = new com.google.protobuf.AbstractParser<SnsCommentMessage>() {
- @java.lang.Override
- public SnsCommentMessage parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new SnsCommentMessage(input, extensionRegistry);
- }
- };
- public static com.google.protobuf.Parser<SnsCommentMessage> parser() {
- return PARSER;
- }
- @java.lang.Override
- public com.google.protobuf.Parser<SnsCommentMessage> getParserForType() {
- return PARSER;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsCommentMessage getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
- }
- public interface SnsLikeMessageOrBuilder extends
- // @@protoc_insertion_point(interface_extends:Im.Scrm.Ww.Proto.SnsLikeMessage)
- com.google.protobuf.MessageOrBuilder {
- /**
- * <code>int64 FriendId = 1;</code>
- * @return The friendId.
- */
- long getFriendId();
- /**
- * <code>int32 Time = 2;</code>
- * @return The time.
- */
- int getTime();
- }
- /**
- * Protobuf type {@code Im.Scrm.Ww.Proto.SnsLikeMessage}
- */
- public static final class SnsLikeMessage extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:Im.Scrm.Ww.Proto.SnsLikeMessage)
- SnsLikeMessageOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use SnsLikeMessage.newBuilder() to construct.
- private SnsLikeMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
- super(builder);
- }
- private SnsLikeMessage() {
- }
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new SnsLikeMessage();
- }
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private SnsLikeMessage(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- this();
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 8: {
- friendId_ = input.readInt64();
- break;
- }
- case 16: {
- time_ = input.readInt32();
- break;
- }
- default: {
- if (!parseUnknownField(
- input, unknownFields, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_SnsLikeMessage_descriptor;
- }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_SnsLikeMessage_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage.class, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage.Builder.class);
- }
- public static final int FRIENDID_FIELD_NUMBER = 1;
- private long friendId_;
- /**
- * <code>int64 FriendId = 1;</code>
- * @return The friendId.
- */
- public long getFriendId() {
- return friendId_;
- }
- public static final int TIME_FIELD_NUMBER = 2;
- private int time_;
- /**
- * <code>int32 Time = 2;</code>
- * @return The time.
- */
- public int getTime() {
- return time_;
- }
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
- memoizedIsInitialized = 1;
- return true;
- }
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (friendId_ != 0L) {
- output.writeInt64(1, friendId_);
- }
- if (time_ != 0) {
- output.writeInt32(2, time_);
- }
- unknownFields.writeTo(output);
- }
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
- size = 0;
- if (friendId_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(1, friendId_);
- }
- if (time_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(2, time_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage)) {
- return super.equals(obj);
- }
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage other = (Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage) obj;
- if (getFriendId()
- != other.getFriendId()) return false;
- if (getTime()
- != other.getTime()) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + FRIENDID_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getFriendId());
- hash = (37 * hash) + TIME_FIELD_NUMBER;
- hash = (53 * hash) + getTime();
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code Im.Scrm.Ww.Proto.SnsLikeMessage}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:Im.Scrm.Ww.Proto.SnsLikeMessage)
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessageOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_SnsLikeMessage_descriptor;
- }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_SnsLikeMessage_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage.class, Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage.Builder.class);
- }
- // Construct using Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- friendId_ = 0L;
- time_ = 0;
- return this;
- }
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_SnsLikeMessage_descriptor;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage getDefaultInstanceForType() {
- return Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage.getDefaultInstance();
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage build() {
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage buildPartial() {
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage result = new Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage(this);
- result.friendId_ = friendId_;
- result.time_ = time_;
- onBuilt();
- return result;
- }
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage) {
- return mergeFrom((Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
- public Builder mergeFrom(Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage other) {
- if (other == Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage.getDefaultInstance()) return this;
- if (other.getFriendId() != 0L) {
- setFriendId(other.getFriendId());
- }
- if (other.getTime() != 0) {
- setTime(other.getTime());
- }
- this.mergeUnknownFields(other.unknownFields);
- onChanged();
- return this;
- }
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
- private long friendId_ ;
- /**
- * <code>int64 FriendId = 1;</code>
- * @return The friendId.
- */
- public long getFriendId() {
- return friendId_;
- }
- /**
- * <code>int64 FriendId = 1;</code>
- * @param value The friendId to set.
- * @return This builder for chaining.
- */
- public Builder setFriendId(long value) {
-
- friendId_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>int64 FriendId = 1;</code>
- * @return This builder for chaining.
- */
- public Builder clearFriendId() {
-
- friendId_ = 0L;
- onChanged();
- return this;
- }
- private int time_ ;
- /**
- * <code>int32 Time = 2;</code>
- * @return The time.
- */
- public int getTime() {
- return time_;
- }
- /**
- * <code>int32 Time = 2;</code>
- * @param value The time to set.
- * @return This builder for chaining.
- */
- public Builder setTime(int value) {
-
- time_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>int32 Time = 2;</code>
- * @return This builder for chaining.
- */
- public Builder clearTime() {
-
- time_ = 0;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
- // @@protoc_insertion_point(builder_scope:Im.Scrm.Ww.Proto.SnsLikeMessage)
- }
- // @@protoc_insertion_point(class_scope:Im.Scrm.Ww.Proto.SnsLikeMessage)
- private static final Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage();
- }
- public static Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
- private static final com.google.protobuf.Parser<SnsLikeMessage>
- PARSER = new com.google.protobuf.AbstractParser<SnsLikeMessage>() {
- @java.lang.Override
- public SnsLikeMessage parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new SnsLikeMessage(input, extensionRegistry);
- }
- };
- public static com.google.protobuf.Parser<SnsLikeMessage> parser() {
- return PARSER;
- }
- @java.lang.Override
- public com.google.protobuf.Parser<SnsLikeMessage> getParserForType() {
- return PARSER;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WPullMySnsListTaskResultNotice.SnsLikeMessage getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
- }
- private static final com.google.protobuf.Descriptors.Descriptor
- internal_static_Im_Scrm_Ww_Proto_PullMySnsListTaskResultNoticeMessage_descriptor;
- private static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_Im_Scrm_Ww_Proto_PullMySnsListTaskResultNoticeMessage_fieldAccessorTable;
- private static final com.google.protobuf.Descriptors.Descriptor
- internal_static_Im_Scrm_Ww_Proto_SnsInfoMessage_descriptor;
- private static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_Im_Scrm_Ww_Proto_SnsInfoMessage_fieldAccessorTable;
- private static final com.google.protobuf.Descriptors.Descriptor
- internal_static_Im_Scrm_Ww_Proto_SnsMediaInfoMessage_descriptor;
- private static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_Im_Scrm_Ww_Proto_SnsMediaInfoMessage_fieldAccessorTable;
- private static final com.google.protobuf.Descriptors.Descriptor
- internal_static_Im_Scrm_Ww_Proto_SnsCommentMessage_descriptor;
- private static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_Im_Scrm_Ww_Proto_SnsCommentMessage_fieldAccessorTable;
- private static final com.google.protobuf.Descriptors.Descriptor
- internal_static_Im_Scrm_Ww_Proto_SnsLikeMessage_descriptor;
- private static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_Im_Scrm_Ww_Proto_SnsLikeMessage_fieldAccessorTable;
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n$WPullMySnsListTaskResultNotice.proto\022\020" +
- "Im.Scrm.Ww.Proto\"\251\001\n$PullMySnsListTaskRe" +
- "sultNoticeMessage\022\014\n\004WxId\030\001 \001(\003\022\017\n\007Succe" +
- "ss\030\002 \001(\010\022\016\n\006ErrMsg\030\003 \001(\t\0221\n\007SnsList\030\004 \003(" +
- "\0132 .Im.Scrm.Ww.Proto.SnsInfoMessage\022\017\n\007N" +
- "extSeq\030\005 \001(\003\022\016\n\006TaskId\030\006 \001(\003\"\366\002\n\016SnsInfo" +
- "Message\022\016\n\006Author\030\001 \001(\003\022\017\n\007Content\030\002 \001(\t" +
- "\0225\n\006Images\030\003 \003(\0132%.Im.Scrm.Ww.Proto.SnsM" +
- "ediaInfoMessage\0223\n\004Link\030\004 \001(\0132%.Im.Scrm." +
- "Ww.Proto.SnsMediaInfoMessage\0224\n\005Video\030\005 " +
- "\001(\0132%.Im.Scrm.Ww.Proto.SnsMediaInfoMessa" +
- "ge\0225\n\010Comments\030\006 \003(\0132#.Im.Scrm.Ww.Proto." +
- "SnsCommentMessage\022/\n\005Likes\030\007 \003(\0132 .Im.Sc" +
- "rm.Ww.Proto.SnsLikeMessage\022\r\n\005SnsId\030\010 \001(" +
- "\003\022\014\n\004Time\030\t \001(\005\022\016\n\006PostId\030\n \001(\t\022\014\n\004Type\030" +
- "\013 \001(\005\"B\n\023SnsMediaInfoMessage\022\020\n\010ThumbImg" +
- "\030\001 \001(\t\022\013\n\003Url\030\002 \001(\t\022\014\n\004Desc\030\003 \001(\t\"\222\001\n\021Sn" +
- "sCommentMessage\022\020\n\010FriendId\030\001 \001(\003\022\017\n\007Con" +
- "tent\030\002 \001(\t\022\021\n\tCommentId\030\003 \001(\003\022\026\n\016ReplyCo" +
- "mmentId\030\004 \001(\003\022\021\n\tReplyWxId\030\005 \001(\003\022\014\n\004Time" +
- "\030\006 \001(\005\022\016\n\006PostId\030\007 \001(\t\"0\n\016SnsLikeMessage" +
- "\022\020\n\010FriendId\030\001 \001(\003\022\014\n\004Time\030\002 \001(\005b\006proto3"
- };
- descriptor = com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- });
- internal_static_Im_Scrm_Ww_Proto_PullMySnsListTaskResultNoticeMessage_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_Im_Scrm_Ww_Proto_PullMySnsListTaskResultNoticeMessage_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_Im_Scrm_Ww_Proto_PullMySnsListTaskResultNoticeMessage_descriptor,
- new java.lang.String[] { "WxId", "Success", "ErrMsg", "SnsList", "NextSeq", "TaskId", });
- internal_static_Im_Scrm_Ww_Proto_SnsInfoMessage_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_Im_Scrm_Ww_Proto_SnsInfoMessage_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_Im_Scrm_Ww_Proto_SnsInfoMessage_descriptor,
- new java.lang.String[] { "Author", "Content", "Images", "Link", "Video", "Comments", "Likes", "SnsId", "Time", "PostId", "Type", });
- internal_static_Im_Scrm_Ww_Proto_SnsMediaInfoMessage_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_Im_Scrm_Ww_Proto_SnsMediaInfoMessage_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_Im_Scrm_Ww_Proto_SnsMediaInfoMessage_descriptor,
- new java.lang.String[] { "ThumbImg", "Url", "Desc", });
- internal_static_Im_Scrm_Ww_Proto_SnsCommentMessage_descriptor =
- getDescriptor().getMessageTypes().get(3);
- internal_static_Im_Scrm_Ww_Proto_SnsCommentMessage_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_Im_Scrm_Ww_Proto_SnsCommentMessage_descriptor,
- new java.lang.String[] { "FriendId", "Content", "CommentId", "ReplyCommentId", "ReplyWxId", "Time", "PostId", });
- internal_static_Im_Scrm_Ww_Proto_SnsLikeMessage_descriptor =
- getDescriptor().getMessageTypes().get(4);
- internal_static_Im_Scrm_Ww_Proto_SnsLikeMessage_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_Im_Scrm_Ww_Proto_SnsLikeMessage_descriptor,
- new java.lang.String[] { "FriendId", "Time", });
- }
- // @@protoc_insertion_point(outer_class_scope)
- }
|