WCustomerPushNotice.java 153 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: WCustomerPushNotice.proto
  3. package Im.Scrm.Ww.Proto;
  4. public final class WCustomerPushNotice {
  5. private WCustomerPushNotice() {}
  6. public static void registerAllExtensions(
  7. com.google.protobuf.ExtensionRegistryLite registry) {
  8. }
  9. public static void registerAllExtensions(
  10. com.google.protobuf.ExtensionRegistry registry) {
  11. registerAllExtensions(
  12. (com.google.protobuf.ExtensionRegistryLite) registry);
  13. }
  14. public interface CustomerPushNoticeMessageOrBuilder extends
  15. // @@protoc_insertion_point(interface_extends:Im.Scrm.Ww.Proto.CustomerPushNoticeMessage)
  16. com.google.protobuf.MessageOrBuilder {
  17. /**
  18. * <pre>
  19. * 设备企业WX号
  20. * </pre>
  21. *
  22. * <code>int64 WxId = 1;</code>
  23. * @return The wxId.
  24. */
  25. long getWxId();
  26. /**
  27. * <pre>
  28. * 好友信息模型 多个
  29. * </pre>
  30. *
  31. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  32. */
  33. java.util.List<Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage>
  34. getContactsList();
  35. /**
  36. * <pre>
  37. * 好友信息模型 多个
  38. * </pre>
  39. *
  40. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  41. */
  42. Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage getContacts(int index);
  43. /**
  44. * <pre>
  45. * 好友信息模型 多个
  46. * </pre>
  47. *
  48. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  49. */
  50. int getContactsCount();
  51. /**
  52. * <pre>
  53. * 好友信息模型 多个
  54. * </pre>
  55. *
  56. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  57. */
  58. java.util.List<? extends Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessageOrBuilder>
  59. getContactsOrBuilderList();
  60. /**
  61. * <pre>
  62. * 好友信息模型 多个
  63. * </pre>
  64. *
  65. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  66. */
  67. Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessageOrBuilder getContactsOrBuilder(
  68. int index);
  69. /**
  70. * <code>int32 Size = 3;</code>
  71. * @return The size.
  72. */
  73. int getSize();
  74. /**
  75. * <code>int32 Count = 4;</code>
  76. * @return The count.
  77. */
  78. int getCount();
  79. /**
  80. * <code>int32 Page = 5;</code>
  81. * @return The page.
  82. */
  83. int getPage();
  84. /**
  85. * <code>int64 TaskId = 6;</code>
  86. * @return The taskId.
  87. */
  88. long getTaskId();
  89. }
  90. /**
  91. * Protobuf type {@code Im.Scrm.Ww.Proto.CustomerPushNoticeMessage}
  92. */
  93. public static final class CustomerPushNoticeMessage extends
  94. com.google.protobuf.GeneratedMessageV3 implements
  95. // @@protoc_insertion_point(message_implements:Im.Scrm.Ww.Proto.CustomerPushNoticeMessage)
  96. CustomerPushNoticeMessageOrBuilder {
  97. private static final long serialVersionUID = 0L;
  98. // Use CustomerPushNoticeMessage.newBuilder() to construct.
  99. private CustomerPushNoticeMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
  100. super(builder);
  101. }
  102. private CustomerPushNoticeMessage() {
  103. contacts_ = java.util.Collections.emptyList();
  104. }
  105. @java.lang.Override
  106. @SuppressWarnings({"unused"})
  107. protected java.lang.Object newInstance(
  108. UnusedPrivateParameter unused) {
  109. return new CustomerPushNoticeMessage();
  110. }
  111. @java.lang.Override
  112. public final com.google.protobuf.UnknownFieldSet
  113. getUnknownFields() {
  114. return this.unknownFields;
  115. }
  116. private CustomerPushNoticeMessage(
  117. com.google.protobuf.CodedInputStream input,
  118. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  119. throws com.google.protobuf.InvalidProtocolBufferException {
  120. this();
  121. if (extensionRegistry == null) {
  122. throw new java.lang.NullPointerException();
  123. }
  124. int mutable_bitField0_ = 0;
  125. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  126. com.google.protobuf.UnknownFieldSet.newBuilder();
  127. try {
  128. boolean done = false;
  129. while (!done) {
  130. int tag = input.readTag();
  131. switch (tag) {
  132. case 0:
  133. done = true;
  134. break;
  135. case 8: {
  136. wxId_ = input.readInt64();
  137. break;
  138. }
  139. case 18: {
  140. if (!((mutable_bitField0_ & 0x00000001) != 0)) {
  141. contacts_ = new java.util.ArrayList<Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage>();
  142. mutable_bitField0_ |= 0x00000001;
  143. }
  144. contacts_.add(
  145. input.readMessage(Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.parser(), extensionRegistry));
  146. break;
  147. }
  148. case 24: {
  149. size_ = input.readInt32();
  150. break;
  151. }
  152. case 32: {
  153. count_ = input.readInt32();
  154. break;
  155. }
  156. case 40: {
  157. page_ = input.readInt32();
  158. break;
  159. }
  160. case 48: {
  161. taskId_ = input.readInt64();
  162. break;
  163. }
  164. default: {
  165. if (!parseUnknownField(
  166. input, unknownFields, extensionRegistry, tag)) {
  167. done = true;
  168. }
  169. break;
  170. }
  171. }
  172. }
  173. } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  174. throw e.setUnfinishedMessage(this);
  175. } catch (java.io.IOException e) {
  176. throw new com.google.protobuf.InvalidProtocolBufferException(
  177. e).setUnfinishedMessage(this);
  178. } finally {
  179. if (((mutable_bitField0_ & 0x00000001) != 0)) {
  180. contacts_ = java.util.Collections.unmodifiableList(contacts_);
  181. }
  182. this.unknownFields = unknownFields.build();
  183. makeExtensionsImmutable();
  184. }
  185. }
  186. public static final com.google.protobuf.Descriptors.Descriptor
  187. getDescriptor() {
  188. return Im.Scrm.Ww.Proto.WCustomerPushNotice.internal_static_Im_Scrm_Ww_Proto_CustomerPushNoticeMessage_descriptor;
  189. }
  190. @java.lang.Override
  191. protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  192. internalGetFieldAccessorTable() {
  193. return Im.Scrm.Ww.Proto.WCustomerPushNotice.internal_static_Im_Scrm_Ww_Proto_CustomerPushNoticeMessage_fieldAccessorTable
  194. .ensureFieldAccessorsInitialized(
  195. Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage.class, Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage.Builder.class);
  196. }
  197. public static final int WXID_FIELD_NUMBER = 1;
  198. private long wxId_;
  199. /**
  200. * <pre>
  201. * 设备企业WX号
  202. * </pre>
  203. *
  204. * <code>int64 WxId = 1;</code>
  205. * @return The wxId.
  206. */
  207. public long getWxId() {
  208. return wxId_;
  209. }
  210. public static final int CONTACTS_FIELD_NUMBER = 2;
  211. private java.util.List<Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage> contacts_;
  212. /**
  213. * <pre>
  214. * 好友信息模型 多个
  215. * </pre>
  216. *
  217. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  218. */
  219. public java.util.List<Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage> getContactsList() {
  220. return contacts_;
  221. }
  222. /**
  223. * <pre>
  224. * 好友信息模型 多个
  225. * </pre>
  226. *
  227. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  228. */
  229. public java.util.List<? extends Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessageOrBuilder>
  230. getContactsOrBuilderList() {
  231. return contacts_;
  232. }
  233. /**
  234. * <pre>
  235. * 好友信息模型 多个
  236. * </pre>
  237. *
  238. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  239. */
  240. public int getContactsCount() {
  241. return contacts_.size();
  242. }
  243. /**
  244. * <pre>
  245. * 好友信息模型 多个
  246. * </pre>
  247. *
  248. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  249. */
  250. public Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage getContacts(int index) {
  251. return contacts_.get(index);
  252. }
  253. /**
  254. * <pre>
  255. * 好友信息模型 多个
  256. * </pre>
  257. *
  258. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  259. */
  260. public Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessageOrBuilder getContactsOrBuilder(
  261. int index) {
  262. return contacts_.get(index);
  263. }
  264. public static final int SIZE_FIELD_NUMBER = 3;
  265. private int size_;
  266. /**
  267. * <code>int32 Size = 3;</code>
  268. * @return The size.
  269. */
  270. public int getSize() {
  271. return size_;
  272. }
  273. public static final int COUNT_FIELD_NUMBER = 4;
  274. private int count_;
  275. /**
  276. * <code>int32 Count = 4;</code>
  277. * @return The count.
  278. */
  279. public int getCount() {
  280. return count_;
  281. }
  282. public static final int PAGE_FIELD_NUMBER = 5;
  283. private int page_;
  284. /**
  285. * <code>int32 Page = 5;</code>
  286. * @return The page.
  287. */
  288. public int getPage() {
  289. return page_;
  290. }
  291. public static final int TASKID_FIELD_NUMBER = 6;
  292. private long taskId_;
  293. /**
  294. * <code>int64 TaskId = 6;</code>
  295. * @return The taskId.
  296. */
  297. public long getTaskId() {
  298. return taskId_;
  299. }
  300. private byte memoizedIsInitialized = -1;
  301. @java.lang.Override
  302. public final boolean isInitialized() {
  303. byte isInitialized = memoizedIsInitialized;
  304. if (isInitialized == 1) return true;
  305. if (isInitialized == 0) return false;
  306. memoizedIsInitialized = 1;
  307. return true;
  308. }
  309. @java.lang.Override
  310. public void writeTo(com.google.protobuf.CodedOutputStream output)
  311. throws java.io.IOException {
  312. if (wxId_ != 0L) {
  313. output.writeInt64(1, wxId_);
  314. }
  315. for (int i = 0; i < contacts_.size(); i++) {
  316. output.writeMessage(2, contacts_.get(i));
  317. }
  318. if (size_ != 0) {
  319. output.writeInt32(3, size_);
  320. }
  321. if (count_ != 0) {
  322. output.writeInt32(4, count_);
  323. }
  324. if (page_ != 0) {
  325. output.writeInt32(5, page_);
  326. }
  327. if (taskId_ != 0L) {
  328. output.writeInt64(6, taskId_);
  329. }
  330. unknownFields.writeTo(output);
  331. }
  332. @java.lang.Override
  333. public int getSerializedSize() {
  334. int size = memoizedSize;
  335. if (size != -1) return size;
  336. size = 0;
  337. if (wxId_ != 0L) {
  338. size += com.google.protobuf.CodedOutputStream
  339. .computeInt64Size(1, wxId_);
  340. }
  341. for (int i = 0; i < contacts_.size(); i++) {
  342. size += com.google.protobuf.CodedOutputStream
  343. .computeMessageSize(2, contacts_.get(i));
  344. }
  345. if (size_ != 0) {
  346. size += com.google.protobuf.CodedOutputStream
  347. .computeInt32Size(3, size_);
  348. }
  349. if (count_ != 0) {
  350. size += com.google.protobuf.CodedOutputStream
  351. .computeInt32Size(4, count_);
  352. }
  353. if (page_ != 0) {
  354. size += com.google.protobuf.CodedOutputStream
  355. .computeInt32Size(5, page_);
  356. }
  357. if (taskId_ != 0L) {
  358. size += com.google.protobuf.CodedOutputStream
  359. .computeInt64Size(6, taskId_);
  360. }
  361. size += unknownFields.getSerializedSize();
  362. memoizedSize = size;
  363. return size;
  364. }
  365. @java.lang.Override
  366. public boolean equals(final java.lang.Object obj) {
  367. if (obj == this) {
  368. return true;
  369. }
  370. if (!(obj instanceof Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage)) {
  371. return super.equals(obj);
  372. }
  373. Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage other = (Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage) obj;
  374. if (getWxId()
  375. != other.getWxId()) return false;
  376. if (!getContactsList()
  377. .equals(other.getContactsList())) return false;
  378. if (getSize()
  379. != other.getSize()) return false;
  380. if (getCount()
  381. != other.getCount()) return false;
  382. if (getPage()
  383. != other.getPage()) return false;
  384. if (getTaskId()
  385. != other.getTaskId()) return false;
  386. if (!unknownFields.equals(other.unknownFields)) return false;
  387. return true;
  388. }
  389. @java.lang.Override
  390. public int hashCode() {
  391. if (memoizedHashCode != 0) {
  392. return memoizedHashCode;
  393. }
  394. int hash = 41;
  395. hash = (19 * hash) + getDescriptor().hashCode();
  396. hash = (37 * hash) + WXID_FIELD_NUMBER;
  397. hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  398. getWxId());
  399. if (getContactsCount() > 0) {
  400. hash = (37 * hash) + CONTACTS_FIELD_NUMBER;
  401. hash = (53 * hash) + getContactsList().hashCode();
  402. }
  403. hash = (37 * hash) + SIZE_FIELD_NUMBER;
  404. hash = (53 * hash) + getSize();
  405. hash = (37 * hash) + COUNT_FIELD_NUMBER;
  406. hash = (53 * hash) + getCount();
  407. hash = (37 * hash) + PAGE_FIELD_NUMBER;
  408. hash = (53 * hash) + getPage();
  409. hash = (37 * hash) + TASKID_FIELD_NUMBER;
  410. hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  411. getTaskId());
  412. hash = (29 * hash) + unknownFields.hashCode();
  413. memoizedHashCode = hash;
  414. return hash;
  415. }
  416. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage parseFrom(
  417. java.nio.ByteBuffer data)
  418. throws com.google.protobuf.InvalidProtocolBufferException {
  419. return PARSER.parseFrom(data);
  420. }
  421. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage parseFrom(
  422. java.nio.ByteBuffer data,
  423. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  424. throws com.google.protobuf.InvalidProtocolBufferException {
  425. return PARSER.parseFrom(data, extensionRegistry);
  426. }
  427. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage parseFrom(
  428. com.google.protobuf.ByteString data)
  429. throws com.google.protobuf.InvalidProtocolBufferException {
  430. return PARSER.parseFrom(data);
  431. }
  432. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage parseFrom(
  433. com.google.protobuf.ByteString data,
  434. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  435. throws com.google.protobuf.InvalidProtocolBufferException {
  436. return PARSER.parseFrom(data, extensionRegistry);
  437. }
  438. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage parseFrom(byte[] data)
  439. throws com.google.protobuf.InvalidProtocolBufferException {
  440. return PARSER.parseFrom(data);
  441. }
  442. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage parseFrom(
  443. byte[] data,
  444. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  445. throws com.google.protobuf.InvalidProtocolBufferException {
  446. return PARSER.parseFrom(data, extensionRegistry);
  447. }
  448. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage parseFrom(java.io.InputStream input)
  449. throws java.io.IOException {
  450. return com.google.protobuf.GeneratedMessageV3
  451. .parseWithIOException(PARSER, input);
  452. }
  453. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage parseFrom(
  454. java.io.InputStream input,
  455. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  456. throws java.io.IOException {
  457. return com.google.protobuf.GeneratedMessageV3
  458. .parseWithIOException(PARSER, input, extensionRegistry);
  459. }
  460. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage parseDelimitedFrom(java.io.InputStream input)
  461. throws java.io.IOException {
  462. return com.google.protobuf.GeneratedMessageV3
  463. .parseDelimitedWithIOException(PARSER, input);
  464. }
  465. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage parseDelimitedFrom(
  466. java.io.InputStream input,
  467. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  468. throws java.io.IOException {
  469. return com.google.protobuf.GeneratedMessageV3
  470. .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  471. }
  472. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage parseFrom(
  473. com.google.protobuf.CodedInputStream input)
  474. throws java.io.IOException {
  475. return com.google.protobuf.GeneratedMessageV3
  476. .parseWithIOException(PARSER, input);
  477. }
  478. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage parseFrom(
  479. com.google.protobuf.CodedInputStream input,
  480. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  481. throws java.io.IOException {
  482. return com.google.protobuf.GeneratedMessageV3
  483. .parseWithIOException(PARSER, input, extensionRegistry);
  484. }
  485. @java.lang.Override
  486. public Builder newBuilderForType() { return newBuilder(); }
  487. public static Builder newBuilder() {
  488. return DEFAULT_INSTANCE.toBuilder();
  489. }
  490. public static Builder newBuilder(Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage prototype) {
  491. return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  492. }
  493. @java.lang.Override
  494. public Builder toBuilder() {
  495. return this == DEFAULT_INSTANCE
  496. ? new Builder() : new Builder().mergeFrom(this);
  497. }
  498. @java.lang.Override
  499. protected Builder newBuilderForType(
  500. com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  501. Builder builder = new Builder(parent);
  502. return builder;
  503. }
  504. /**
  505. * Protobuf type {@code Im.Scrm.Ww.Proto.CustomerPushNoticeMessage}
  506. */
  507. public static final class Builder extends
  508. com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
  509. // @@protoc_insertion_point(builder_implements:Im.Scrm.Ww.Proto.CustomerPushNoticeMessage)
  510. Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessageOrBuilder {
  511. public static final com.google.protobuf.Descriptors.Descriptor
  512. getDescriptor() {
  513. return Im.Scrm.Ww.Proto.WCustomerPushNotice.internal_static_Im_Scrm_Ww_Proto_CustomerPushNoticeMessage_descriptor;
  514. }
  515. @java.lang.Override
  516. protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  517. internalGetFieldAccessorTable() {
  518. return Im.Scrm.Ww.Proto.WCustomerPushNotice.internal_static_Im_Scrm_Ww_Proto_CustomerPushNoticeMessage_fieldAccessorTable
  519. .ensureFieldAccessorsInitialized(
  520. Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage.class, Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage.Builder.class);
  521. }
  522. // Construct using Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage.newBuilder()
  523. private Builder() {
  524. maybeForceBuilderInitialization();
  525. }
  526. private Builder(
  527. com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  528. super(parent);
  529. maybeForceBuilderInitialization();
  530. }
  531. private void maybeForceBuilderInitialization() {
  532. if (com.google.protobuf.GeneratedMessageV3
  533. .alwaysUseFieldBuilders) {
  534. getContactsFieldBuilder();
  535. }
  536. }
  537. @java.lang.Override
  538. public Builder clear() {
  539. super.clear();
  540. wxId_ = 0L;
  541. if (contactsBuilder_ == null) {
  542. contacts_ = java.util.Collections.emptyList();
  543. bitField0_ = (bitField0_ & ~0x00000001);
  544. } else {
  545. contactsBuilder_.clear();
  546. }
  547. size_ = 0;
  548. count_ = 0;
  549. page_ = 0;
  550. taskId_ = 0L;
  551. return this;
  552. }
  553. @java.lang.Override
  554. public com.google.protobuf.Descriptors.Descriptor
  555. getDescriptorForType() {
  556. return Im.Scrm.Ww.Proto.WCustomerPushNotice.internal_static_Im_Scrm_Ww_Proto_CustomerPushNoticeMessage_descriptor;
  557. }
  558. @java.lang.Override
  559. public Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage getDefaultInstanceForType() {
  560. return Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage.getDefaultInstance();
  561. }
  562. @java.lang.Override
  563. public Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage build() {
  564. Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage result = buildPartial();
  565. if (!result.isInitialized()) {
  566. throw newUninitializedMessageException(result);
  567. }
  568. return result;
  569. }
  570. @java.lang.Override
  571. public Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage buildPartial() {
  572. Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage result = new Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage(this);
  573. int from_bitField0_ = bitField0_;
  574. result.wxId_ = wxId_;
  575. if (contactsBuilder_ == null) {
  576. if (((bitField0_ & 0x00000001) != 0)) {
  577. contacts_ = java.util.Collections.unmodifiableList(contacts_);
  578. bitField0_ = (bitField0_ & ~0x00000001);
  579. }
  580. result.contacts_ = contacts_;
  581. } else {
  582. result.contacts_ = contactsBuilder_.build();
  583. }
  584. result.size_ = size_;
  585. result.count_ = count_;
  586. result.page_ = page_;
  587. result.taskId_ = taskId_;
  588. onBuilt();
  589. return result;
  590. }
  591. @java.lang.Override
  592. public Builder clone() {
  593. return super.clone();
  594. }
  595. @java.lang.Override
  596. public Builder setField(
  597. com.google.protobuf.Descriptors.FieldDescriptor field,
  598. java.lang.Object value) {
  599. return super.setField(field, value);
  600. }
  601. @java.lang.Override
  602. public Builder clearField(
  603. com.google.protobuf.Descriptors.FieldDescriptor field) {
  604. return super.clearField(field);
  605. }
  606. @java.lang.Override
  607. public Builder clearOneof(
  608. com.google.protobuf.Descriptors.OneofDescriptor oneof) {
  609. return super.clearOneof(oneof);
  610. }
  611. @java.lang.Override
  612. public Builder setRepeatedField(
  613. com.google.protobuf.Descriptors.FieldDescriptor field,
  614. int index, java.lang.Object value) {
  615. return super.setRepeatedField(field, index, value);
  616. }
  617. @java.lang.Override
  618. public Builder addRepeatedField(
  619. com.google.protobuf.Descriptors.FieldDescriptor field,
  620. java.lang.Object value) {
  621. return super.addRepeatedField(field, value);
  622. }
  623. @java.lang.Override
  624. public Builder mergeFrom(com.google.protobuf.Message other) {
  625. if (other instanceof Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage) {
  626. return mergeFrom((Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage)other);
  627. } else {
  628. super.mergeFrom(other);
  629. return this;
  630. }
  631. }
  632. public Builder mergeFrom(Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage other) {
  633. if (other == Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage.getDefaultInstance()) return this;
  634. if (other.getWxId() != 0L) {
  635. setWxId(other.getWxId());
  636. }
  637. if (contactsBuilder_ == null) {
  638. if (!other.contacts_.isEmpty()) {
  639. if (contacts_.isEmpty()) {
  640. contacts_ = other.contacts_;
  641. bitField0_ = (bitField0_ & ~0x00000001);
  642. } else {
  643. ensureContactsIsMutable();
  644. contacts_.addAll(other.contacts_);
  645. }
  646. onChanged();
  647. }
  648. } else {
  649. if (!other.contacts_.isEmpty()) {
  650. if (contactsBuilder_.isEmpty()) {
  651. contactsBuilder_.dispose();
  652. contactsBuilder_ = null;
  653. contacts_ = other.contacts_;
  654. bitField0_ = (bitField0_ & ~0x00000001);
  655. contactsBuilder_ =
  656. com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
  657. getContactsFieldBuilder() : null;
  658. } else {
  659. contactsBuilder_.addAllMessages(other.contacts_);
  660. }
  661. }
  662. }
  663. if (other.getSize() != 0) {
  664. setSize(other.getSize());
  665. }
  666. if (other.getCount() != 0) {
  667. setCount(other.getCount());
  668. }
  669. if (other.getPage() != 0) {
  670. setPage(other.getPage());
  671. }
  672. if (other.getTaskId() != 0L) {
  673. setTaskId(other.getTaskId());
  674. }
  675. this.mergeUnknownFields(other.unknownFields);
  676. onChanged();
  677. return this;
  678. }
  679. @java.lang.Override
  680. public final boolean isInitialized() {
  681. return true;
  682. }
  683. @java.lang.Override
  684. public Builder mergeFrom(
  685. com.google.protobuf.CodedInputStream input,
  686. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  687. throws java.io.IOException {
  688. Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage parsedMessage = null;
  689. try {
  690. parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
  691. } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  692. parsedMessage = (Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage) e.getUnfinishedMessage();
  693. throw e.unwrapIOException();
  694. } finally {
  695. if (parsedMessage != null) {
  696. mergeFrom(parsedMessage);
  697. }
  698. }
  699. return this;
  700. }
  701. private int bitField0_;
  702. private long wxId_ ;
  703. /**
  704. * <pre>
  705. * 设备企业WX号
  706. * </pre>
  707. *
  708. * <code>int64 WxId = 1;</code>
  709. * @return The wxId.
  710. */
  711. public long getWxId() {
  712. return wxId_;
  713. }
  714. /**
  715. * <pre>
  716. * 设备企业WX号
  717. * </pre>
  718. *
  719. * <code>int64 WxId = 1;</code>
  720. * @param value The wxId to set.
  721. * @return This builder for chaining.
  722. */
  723. public Builder setWxId(long value) {
  724. wxId_ = value;
  725. onChanged();
  726. return this;
  727. }
  728. /**
  729. * <pre>
  730. * 设备企业WX号
  731. * </pre>
  732. *
  733. * <code>int64 WxId = 1;</code>
  734. * @return This builder for chaining.
  735. */
  736. public Builder clearWxId() {
  737. wxId_ = 0L;
  738. onChanged();
  739. return this;
  740. }
  741. private java.util.List<Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage> contacts_ =
  742. java.util.Collections.emptyList();
  743. private void ensureContactsIsMutable() {
  744. if (!((bitField0_ & 0x00000001) != 0)) {
  745. contacts_ = new java.util.ArrayList<Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage>(contacts_);
  746. bitField0_ |= 0x00000001;
  747. }
  748. }
  749. private com.google.protobuf.RepeatedFieldBuilderV3<
  750. Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage, Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.Builder, Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessageOrBuilder> contactsBuilder_;
  751. /**
  752. * <pre>
  753. * 好友信息模型 多个
  754. * </pre>
  755. *
  756. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  757. */
  758. public java.util.List<Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage> getContactsList() {
  759. if (contactsBuilder_ == null) {
  760. return java.util.Collections.unmodifiableList(contacts_);
  761. } else {
  762. return contactsBuilder_.getMessageList();
  763. }
  764. }
  765. /**
  766. * <pre>
  767. * 好友信息模型 多个
  768. * </pre>
  769. *
  770. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  771. */
  772. public int getContactsCount() {
  773. if (contactsBuilder_ == null) {
  774. return contacts_.size();
  775. } else {
  776. return contactsBuilder_.getCount();
  777. }
  778. }
  779. /**
  780. * <pre>
  781. * 好友信息模型 多个
  782. * </pre>
  783. *
  784. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  785. */
  786. public Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage getContacts(int index) {
  787. if (contactsBuilder_ == null) {
  788. return contacts_.get(index);
  789. } else {
  790. return contactsBuilder_.getMessage(index);
  791. }
  792. }
  793. /**
  794. * <pre>
  795. * 好友信息模型 多个
  796. * </pre>
  797. *
  798. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  799. */
  800. public Builder setContacts(
  801. int index, Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage value) {
  802. if (contactsBuilder_ == null) {
  803. if (value == null) {
  804. throw new NullPointerException();
  805. }
  806. ensureContactsIsMutable();
  807. contacts_.set(index, value);
  808. onChanged();
  809. } else {
  810. contactsBuilder_.setMessage(index, value);
  811. }
  812. return this;
  813. }
  814. /**
  815. * <pre>
  816. * 好友信息模型 多个
  817. * </pre>
  818. *
  819. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  820. */
  821. public Builder setContacts(
  822. int index, Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.Builder builderForValue) {
  823. if (contactsBuilder_ == null) {
  824. ensureContactsIsMutable();
  825. contacts_.set(index, builderForValue.build());
  826. onChanged();
  827. } else {
  828. contactsBuilder_.setMessage(index, builderForValue.build());
  829. }
  830. return this;
  831. }
  832. /**
  833. * <pre>
  834. * 好友信息模型 多个
  835. * </pre>
  836. *
  837. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  838. */
  839. public Builder addContacts(Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage value) {
  840. if (contactsBuilder_ == null) {
  841. if (value == null) {
  842. throw new NullPointerException();
  843. }
  844. ensureContactsIsMutable();
  845. contacts_.add(value);
  846. onChanged();
  847. } else {
  848. contactsBuilder_.addMessage(value);
  849. }
  850. return this;
  851. }
  852. /**
  853. * <pre>
  854. * 好友信息模型 多个
  855. * </pre>
  856. *
  857. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  858. */
  859. public Builder addContacts(
  860. int index, Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage value) {
  861. if (contactsBuilder_ == null) {
  862. if (value == null) {
  863. throw new NullPointerException();
  864. }
  865. ensureContactsIsMutable();
  866. contacts_.add(index, value);
  867. onChanged();
  868. } else {
  869. contactsBuilder_.addMessage(index, value);
  870. }
  871. return this;
  872. }
  873. /**
  874. * <pre>
  875. * 好友信息模型 多个
  876. * </pre>
  877. *
  878. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  879. */
  880. public Builder addContacts(
  881. Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.Builder builderForValue) {
  882. if (contactsBuilder_ == null) {
  883. ensureContactsIsMutable();
  884. contacts_.add(builderForValue.build());
  885. onChanged();
  886. } else {
  887. contactsBuilder_.addMessage(builderForValue.build());
  888. }
  889. return this;
  890. }
  891. /**
  892. * <pre>
  893. * 好友信息模型 多个
  894. * </pre>
  895. *
  896. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  897. */
  898. public Builder addContacts(
  899. int index, Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.Builder builderForValue) {
  900. if (contactsBuilder_ == null) {
  901. ensureContactsIsMutable();
  902. contacts_.add(index, builderForValue.build());
  903. onChanged();
  904. } else {
  905. contactsBuilder_.addMessage(index, builderForValue.build());
  906. }
  907. return this;
  908. }
  909. /**
  910. * <pre>
  911. * 好友信息模型 多个
  912. * </pre>
  913. *
  914. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  915. */
  916. public Builder addAllContacts(
  917. java.lang.Iterable<? extends Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage> values) {
  918. if (contactsBuilder_ == null) {
  919. ensureContactsIsMutable();
  920. com.google.protobuf.AbstractMessageLite.Builder.addAll(
  921. values, contacts_);
  922. onChanged();
  923. } else {
  924. contactsBuilder_.addAllMessages(values);
  925. }
  926. return this;
  927. }
  928. /**
  929. * <pre>
  930. * 好友信息模型 多个
  931. * </pre>
  932. *
  933. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  934. */
  935. public Builder clearContacts() {
  936. if (contactsBuilder_ == null) {
  937. contacts_ = java.util.Collections.emptyList();
  938. bitField0_ = (bitField0_ & ~0x00000001);
  939. onChanged();
  940. } else {
  941. contactsBuilder_.clear();
  942. }
  943. return this;
  944. }
  945. /**
  946. * <pre>
  947. * 好友信息模型 多个
  948. * </pre>
  949. *
  950. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  951. */
  952. public Builder removeContacts(int index) {
  953. if (contactsBuilder_ == null) {
  954. ensureContactsIsMutable();
  955. contacts_.remove(index);
  956. onChanged();
  957. } else {
  958. contactsBuilder_.remove(index);
  959. }
  960. return this;
  961. }
  962. /**
  963. * <pre>
  964. * 好友信息模型 多个
  965. * </pre>
  966. *
  967. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  968. */
  969. public Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.Builder getContactsBuilder(
  970. int index) {
  971. return getContactsFieldBuilder().getBuilder(index);
  972. }
  973. /**
  974. * <pre>
  975. * 好友信息模型 多个
  976. * </pre>
  977. *
  978. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  979. */
  980. public Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessageOrBuilder getContactsOrBuilder(
  981. int index) {
  982. if (contactsBuilder_ == null) {
  983. return contacts_.get(index); } else {
  984. return contactsBuilder_.getMessageOrBuilder(index);
  985. }
  986. }
  987. /**
  988. * <pre>
  989. * 好友信息模型 多个
  990. * </pre>
  991. *
  992. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  993. */
  994. public java.util.List<? extends Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessageOrBuilder>
  995. getContactsOrBuilderList() {
  996. if (contactsBuilder_ != null) {
  997. return contactsBuilder_.getMessageOrBuilderList();
  998. } else {
  999. return java.util.Collections.unmodifiableList(contacts_);
  1000. }
  1001. }
  1002. /**
  1003. * <pre>
  1004. * 好友信息模型 多个
  1005. * </pre>
  1006. *
  1007. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  1008. */
  1009. public Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.Builder addContactsBuilder() {
  1010. return getContactsFieldBuilder().addBuilder(
  1011. Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.getDefaultInstance());
  1012. }
  1013. /**
  1014. * <pre>
  1015. * 好友信息模型 多个
  1016. * </pre>
  1017. *
  1018. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  1019. */
  1020. public Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.Builder addContactsBuilder(
  1021. int index) {
  1022. return getContactsFieldBuilder().addBuilder(
  1023. index, Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.getDefaultInstance());
  1024. }
  1025. /**
  1026. * <pre>
  1027. * 好友信息模型 多个
  1028. * </pre>
  1029. *
  1030. * <code>repeated .Im.Scrm.Ww.Proto.CustomerMessage Contacts = 2;</code>
  1031. */
  1032. public java.util.List<Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.Builder>
  1033. getContactsBuilderList() {
  1034. return getContactsFieldBuilder().getBuilderList();
  1035. }
  1036. private com.google.protobuf.RepeatedFieldBuilderV3<
  1037. Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage, Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.Builder, Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessageOrBuilder>
  1038. getContactsFieldBuilder() {
  1039. if (contactsBuilder_ == null) {
  1040. contactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
  1041. Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage, Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.Builder, Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessageOrBuilder>(
  1042. contacts_,
  1043. ((bitField0_ & 0x00000001) != 0),
  1044. getParentForChildren(),
  1045. isClean());
  1046. contacts_ = null;
  1047. }
  1048. return contactsBuilder_;
  1049. }
  1050. private int size_ ;
  1051. /**
  1052. * <code>int32 Size = 3;</code>
  1053. * @return The size.
  1054. */
  1055. public int getSize() {
  1056. return size_;
  1057. }
  1058. /**
  1059. * <code>int32 Size = 3;</code>
  1060. * @param value The size to set.
  1061. * @return This builder for chaining.
  1062. */
  1063. public Builder setSize(int value) {
  1064. size_ = value;
  1065. onChanged();
  1066. return this;
  1067. }
  1068. /**
  1069. * <code>int32 Size = 3;</code>
  1070. * @return This builder for chaining.
  1071. */
  1072. public Builder clearSize() {
  1073. size_ = 0;
  1074. onChanged();
  1075. return this;
  1076. }
  1077. private int count_ ;
  1078. /**
  1079. * <code>int32 Count = 4;</code>
  1080. * @return The count.
  1081. */
  1082. public int getCount() {
  1083. return count_;
  1084. }
  1085. /**
  1086. * <code>int32 Count = 4;</code>
  1087. * @param value The count to set.
  1088. * @return This builder for chaining.
  1089. */
  1090. public Builder setCount(int value) {
  1091. count_ = value;
  1092. onChanged();
  1093. return this;
  1094. }
  1095. /**
  1096. * <code>int32 Count = 4;</code>
  1097. * @return This builder for chaining.
  1098. */
  1099. public Builder clearCount() {
  1100. count_ = 0;
  1101. onChanged();
  1102. return this;
  1103. }
  1104. private int page_ ;
  1105. /**
  1106. * <code>int32 Page = 5;</code>
  1107. * @return The page.
  1108. */
  1109. public int getPage() {
  1110. return page_;
  1111. }
  1112. /**
  1113. * <code>int32 Page = 5;</code>
  1114. * @param value The page to set.
  1115. * @return This builder for chaining.
  1116. */
  1117. public Builder setPage(int value) {
  1118. page_ = value;
  1119. onChanged();
  1120. return this;
  1121. }
  1122. /**
  1123. * <code>int32 Page = 5;</code>
  1124. * @return This builder for chaining.
  1125. */
  1126. public Builder clearPage() {
  1127. page_ = 0;
  1128. onChanged();
  1129. return this;
  1130. }
  1131. private long taskId_ ;
  1132. /**
  1133. * <code>int64 TaskId = 6;</code>
  1134. * @return The taskId.
  1135. */
  1136. public long getTaskId() {
  1137. return taskId_;
  1138. }
  1139. /**
  1140. * <code>int64 TaskId = 6;</code>
  1141. * @param value The taskId to set.
  1142. * @return This builder for chaining.
  1143. */
  1144. public Builder setTaskId(long value) {
  1145. taskId_ = value;
  1146. onChanged();
  1147. return this;
  1148. }
  1149. /**
  1150. * <code>int64 TaskId = 6;</code>
  1151. * @return This builder for chaining.
  1152. */
  1153. public Builder clearTaskId() {
  1154. taskId_ = 0L;
  1155. onChanged();
  1156. return this;
  1157. }
  1158. @java.lang.Override
  1159. public final Builder setUnknownFields(
  1160. final com.google.protobuf.UnknownFieldSet unknownFields) {
  1161. return super.setUnknownFields(unknownFields);
  1162. }
  1163. @java.lang.Override
  1164. public final Builder mergeUnknownFields(
  1165. final com.google.protobuf.UnknownFieldSet unknownFields) {
  1166. return super.mergeUnknownFields(unknownFields);
  1167. }
  1168. // @@protoc_insertion_point(builder_scope:Im.Scrm.Ww.Proto.CustomerPushNoticeMessage)
  1169. }
  1170. // @@protoc_insertion_point(class_scope:Im.Scrm.Ww.Proto.CustomerPushNoticeMessage)
  1171. private static final Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage DEFAULT_INSTANCE;
  1172. static {
  1173. DEFAULT_INSTANCE = new Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage();
  1174. }
  1175. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage getDefaultInstance() {
  1176. return DEFAULT_INSTANCE;
  1177. }
  1178. private static final com.google.protobuf.Parser<CustomerPushNoticeMessage>
  1179. PARSER = new com.google.protobuf.AbstractParser<CustomerPushNoticeMessage>() {
  1180. @java.lang.Override
  1181. public CustomerPushNoticeMessage parsePartialFrom(
  1182. com.google.protobuf.CodedInputStream input,
  1183. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1184. throws com.google.protobuf.InvalidProtocolBufferException {
  1185. return new CustomerPushNoticeMessage(input, extensionRegistry);
  1186. }
  1187. };
  1188. public static com.google.protobuf.Parser<CustomerPushNoticeMessage> parser() {
  1189. return PARSER;
  1190. }
  1191. @java.lang.Override
  1192. public com.google.protobuf.Parser<CustomerPushNoticeMessage> getParserForType() {
  1193. return PARSER;
  1194. }
  1195. @java.lang.Override
  1196. public Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerPushNoticeMessage getDefaultInstanceForType() {
  1197. return DEFAULT_INSTANCE;
  1198. }
  1199. }
  1200. public interface CustomerMessageOrBuilder extends
  1201. // @@protoc_insertion_point(interface_extends:Im.Scrm.Ww.Proto.CustomerMessage)
  1202. com.google.protobuf.MessageOrBuilder {
  1203. /**
  1204. * <pre>
  1205. *唯一id (RemoteId&gt;&gt;48==20 App; RemoteId&gt;&gt;48==28 微信用户; RemoteId&gt;&gt;48==33,34 外部客户; RemoteId&gt;&gt;48==39 群机器人; RemoteId&gt;&gt;48==30 内部客服; RemoteId&gt;&gt;48==32 VIP客户;)
  1206. * </pre>
  1207. *
  1208. * <code>int64 RemoteId = 1;</code>
  1209. * @return The remoteId.
  1210. */
  1211. long getRemoteId();
  1212. /**
  1213. * <code>string Name = 2;</code>
  1214. * @return The name.
  1215. */
  1216. java.lang.String getName();
  1217. /**
  1218. * <code>string Name = 2;</code>
  1219. * @return The bytes for name.
  1220. */
  1221. com.google.protobuf.ByteString
  1222. getNameBytes();
  1223. /**
  1224. * <code>string Alias = 3;</code>
  1225. * @return The alias.
  1226. */
  1227. java.lang.String getAlias();
  1228. /**
  1229. * <code>string Alias = 3;</code>
  1230. * @return The bytes for alias.
  1231. */
  1232. com.google.protobuf.ByteString
  1233. getAliasBytes();
  1234. /**
  1235. * <code>string Avatar = 4;</code>
  1236. * @return The avatar.
  1237. */
  1238. java.lang.String getAvatar();
  1239. /**
  1240. * <code>string Avatar = 4;</code>
  1241. * @return The bytes for avatar.
  1242. */
  1243. com.google.protobuf.ByteString
  1244. getAvatarBytes();
  1245. /**
  1246. * <code>string Mobile = 5;</code>
  1247. * @return The mobile.
  1248. */
  1249. java.lang.String getMobile();
  1250. /**
  1251. * <code>string Mobile = 5;</code>
  1252. * @return The bytes for mobile.
  1253. */
  1254. com.google.protobuf.ByteString
  1255. getMobileBytes();
  1256. /**
  1257. * <pre>
  1258. * 微信UnionId,可能为空
  1259. * </pre>
  1260. *
  1261. * <code>string UnionId = 6;</code>
  1262. * @return The unionId.
  1263. */
  1264. java.lang.String getUnionId();
  1265. /**
  1266. * <pre>
  1267. * 微信UnionId,可能为空
  1268. * </pre>
  1269. *
  1270. * <code>string UnionId = 6;</code>
  1271. * @return The bytes for unionId.
  1272. */
  1273. com.google.protobuf.ByteString
  1274. getUnionIdBytes();
  1275. /**
  1276. * <code>.Im.Scrm.Ww.Proto.EnumGender Gender = 7;</code>
  1277. * @return The enum numeric value on the wire for gender.
  1278. */
  1279. int getGenderValue();
  1280. /**
  1281. * <code>.Im.Scrm.Ww.Proto.EnumGender Gender = 7;</code>
  1282. * @return The gender.
  1283. */
  1284. Im.Scrm.Ww.Proto.WTransport.EnumGender getGender();
  1285. /**
  1286. * <code>int64 CorpId = 8;</code>
  1287. * @return The corpId.
  1288. */
  1289. long getCorpId();
  1290. /**
  1291. * <code>int32 AddTime = 9;</code>
  1292. * @return The addTime.
  1293. */
  1294. int getAddTime();
  1295. /**
  1296. * <pre>
  1297. * 添加来源
  1298. * </pre>
  1299. *
  1300. * <code>int32 Source = 10;</code>
  1301. * @return The source.
  1302. */
  1303. int getSource();
  1304. /**
  1305. * <pre>
  1306. *设置的用户标签
  1307. * </pre>
  1308. *
  1309. * <code>repeated int64 LabelIds = 11;</code>
  1310. * @return A list containing the labelIds.
  1311. */
  1312. java.util.List<java.lang.Long> getLabelIdsList();
  1313. /**
  1314. * <pre>
  1315. *设置的用户标签
  1316. * </pre>
  1317. *
  1318. * <code>repeated int64 LabelIds = 11;</code>
  1319. * @return The count of labelIds.
  1320. */
  1321. int getLabelIdsCount();
  1322. /**
  1323. * <pre>
  1324. *设置的用户标签
  1325. * </pre>
  1326. *
  1327. * <code>repeated int64 LabelIds = 11;</code>
  1328. * @param index The index of the element to return.
  1329. * @return The labelIds at the given index.
  1330. */
  1331. long getLabelIds(int index);
  1332. /**
  1333. * <pre>
  1334. * 后缀
  1335. * </pre>
  1336. *
  1337. * <code>string Suffix = 12;</code>
  1338. * @return The suffix.
  1339. */
  1340. java.lang.String getSuffix();
  1341. /**
  1342. * <pre>
  1343. * 后缀
  1344. * </pre>
  1345. *
  1346. * <code>string Suffix = 12;</code>
  1347. * @return The bytes for suffix.
  1348. */
  1349. com.google.protobuf.ByteString
  1350. getSuffixBytes();
  1351. /**
  1352. * <code>string OpenId = 13;</code>
  1353. * @return The openId.
  1354. */
  1355. java.lang.String getOpenId();
  1356. /**
  1357. * <code>string OpenId = 13;</code>
  1358. * @return The bytes for openId.
  1359. */
  1360. com.google.protobuf.ByteString
  1361. getOpenIdBytes();
  1362. /**
  1363. * <code>int64 SourceUser = 14;</code>
  1364. * @return The sourceUser.
  1365. */
  1366. long getSourceUser();
  1367. /**
  1368. * <code>int64 SourceRoomId = 15;</code>
  1369. * @return The sourceRoomId.
  1370. */
  1371. long getSourceRoomId();
  1372. /**
  1373. * <pre>
  1374. *来自微信好友(wxid)来自通讯录(电话号码)
  1375. * </pre>
  1376. *
  1377. * <code>string SourceFriend = 16;</code>
  1378. * @return The sourceFriend.
  1379. */
  1380. java.lang.String getSourceFriend();
  1381. /**
  1382. * <pre>
  1383. *来自微信好友(wxid)来自通讯录(电话号码)
  1384. * </pre>
  1385. *
  1386. * <code>string SourceFriend = 16;</code>
  1387. * @return The bytes for sourceFriend.
  1388. */
  1389. com.google.protobuf.ByteString
  1390. getSourceFriendBytes();
  1391. /**
  1392. * <code>string ApplyContent = 17;</code>
  1393. * @return The applyContent.
  1394. */
  1395. java.lang.String getApplyContent();
  1396. /**
  1397. * <code>string ApplyContent = 17;</code>
  1398. * @return The bytes for applyContent.
  1399. */
  1400. com.google.protobuf.ByteString
  1401. getApplyContentBytes();
  1402. /**
  1403. * <code>string Remark = 18;</code>
  1404. * @return The remark.
  1405. */
  1406. java.lang.String getRemark();
  1407. /**
  1408. * <code>string Remark = 18;</code>
  1409. * @return The bytes for remark.
  1410. */
  1411. com.google.protobuf.ByteString
  1412. getRemarkBytes();
  1413. /**
  1414. * <code>string CompanyRemark = 19;</code>
  1415. * @return The companyRemark.
  1416. */
  1417. java.lang.String getCompanyRemark();
  1418. /**
  1419. * <code>string CompanyRemark = 19;</code>
  1420. * @return The bytes for companyRemark.
  1421. */
  1422. com.google.protobuf.ByteString
  1423. getCompanyRemarkBytes();
  1424. /**
  1425. * <code>repeated string PhoneRemark = 20;</code>
  1426. * @return A list containing the phoneRemark.
  1427. */
  1428. java.util.List<java.lang.String>
  1429. getPhoneRemarkList();
  1430. /**
  1431. * <code>repeated string PhoneRemark = 20;</code>
  1432. * @return The count of phoneRemark.
  1433. */
  1434. int getPhoneRemarkCount();
  1435. /**
  1436. * <code>repeated string PhoneRemark = 20;</code>
  1437. * @param index The index of the element to return.
  1438. * @return The phoneRemark at the given index.
  1439. */
  1440. java.lang.String getPhoneRemark(int index);
  1441. /**
  1442. * <code>repeated string PhoneRemark = 20;</code>
  1443. * @param index The index of the value to return.
  1444. * @return The bytes of the phoneRemark at the given index.
  1445. */
  1446. com.google.protobuf.ByteString
  1447. getPhoneRemarkBytes(int index);
  1448. /**
  1449. * <code>string Desc = 21;</code>
  1450. * @return The desc.
  1451. */
  1452. java.lang.String getDesc();
  1453. /**
  1454. * <code>string Desc = 21;</code>
  1455. * @return The bytes for desc.
  1456. */
  1457. com.google.protobuf.ByteString
  1458. getDescBytes();
  1459. /**
  1460. * <code>string DescUrl = 22;</code>
  1461. * @return The descUrl.
  1462. */
  1463. java.lang.String getDescUrl();
  1464. /**
  1465. * <code>string DescUrl = 22;</code>
  1466. * @return The bytes for descUrl.
  1467. */
  1468. com.google.protobuf.ByteString
  1469. getDescUrlBytes();
  1470. /**
  1471. * <code>int64 Attr = 23;</code>
  1472. * @return The attr.
  1473. */
  1474. long getAttr();
  1475. /**
  1476. * <code>int64 Attr2 = 24;</code>
  1477. * @return The attr2.
  1478. */
  1479. long getAttr2();
  1480. /**
  1481. * <code>int64 Attr3 = 25;</code>
  1482. * @return The attr3.
  1483. */
  1484. long getAttr3();
  1485. /**
  1486. * <code>int64 ApplyTime = 26;</code>
  1487. * @return The applyTime.
  1488. */
  1489. long getApplyTime();
  1490. }
  1491. /**
  1492. * Protobuf type {@code Im.Scrm.Ww.Proto.CustomerMessage}
  1493. */
  1494. public static final class CustomerMessage extends
  1495. com.google.protobuf.GeneratedMessageV3 implements
  1496. // @@protoc_insertion_point(message_implements:Im.Scrm.Ww.Proto.CustomerMessage)
  1497. CustomerMessageOrBuilder {
  1498. private static final long serialVersionUID = 0L;
  1499. // Use CustomerMessage.newBuilder() to construct.
  1500. private CustomerMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
  1501. super(builder);
  1502. }
  1503. private CustomerMessage() {
  1504. name_ = "";
  1505. alias_ = "";
  1506. avatar_ = "";
  1507. mobile_ = "";
  1508. unionId_ = "";
  1509. gender_ = 0;
  1510. labelIds_ = emptyLongList();
  1511. suffix_ = "";
  1512. openId_ = "";
  1513. sourceFriend_ = "";
  1514. applyContent_ = "";
  1515. remark_ = "";
  1516. companyRemark_ = "";
  1517. phoneRemark_ = com.google.protobuf.LazyStringArrayList.EMPTY;
  1518. desc_ = "";
  1519. descUrl_ = "";
  1520. }
  1521. @java.lang.Override
  1522. @SuppressWarnings({"unused"})
  1523. protected java.lang.Object newInstance(
  1524. UnusedPrivateParameter unused) {
  1525. return new CustomerMessage();
  1526. }
  1527. @java.lang.Override
  1528. public final com.google.protobuf.UnknownFieldSet
  1529. getUnknownFields() {
  1530. return this.unknownFields;
  1531. }
  1532. private CustomerMessage(
  1533. com.google.protobuf.CodedInputStream input,
  1534. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1535. throws com.google.protobuf.InvalidProtocolBufferException {
  1536. this();
  1537. if (extensionRegistry == null) {
  1538. throw new java.lang.NullPointerException();
  1539. }
  1540. int mutable_bitField0_ = 0;
  1541. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  1542. com.google.protobuf.UnknownFieldSet.newBuilder();
  1543. try {
  1544. boolean done = false;
  1545. while (!done) {
  1546. int tag = input.readTag();
  1547. switch (tag) {
  1548. case 0:
  1549. done = true;
  1550. break;
  1551. case 8: {
  1552. remoteId_ = input.readInt64();
  1553. break;
  1554. }
  1555. case 18: {
  1556. java.lang.String s = input.readStringRequireUtf8();
  1557. name_ = s;
  1558. break;
  1559. }
  1560. case 26: {
  1561. java.lang.String s = input.readStringRequireUtf8();
  1562. alias_ = s;
  1563. break;
  1564. }
  1565. case 34: {
  1566. java.lang.String s = input.readStringRequireUtf8();
  1567. avatar_ = s;
  1568. break;
  1569. }
  1570. case 42: {
  1571. java.lang.String s = input.readStringRequireUtf8();
  1572. mobile_ = s;
  1573. break;
  1574. }
  1575. case 50: {
  1576. java.lang.String s = input.readStringRequireUtf8();
  1577. unionId_ = s;
  1578. break;
  1579. }
  1580. case 56: {
  1581. int rawValue = input.readEnum();
  1582. gender_ = rawValue;
  1583. break;
  1584. }
  1585. case 64: {
  1586. corpId_ = input.readInt64();
  1587. break;
  1588. }
  1589. case 72: {
  1590. addTime_ = input.readInt32();
  1591. break;
  1592. }
  1593. case 80: {
  1594. source_ = input.readInt32();
  1595. break;
  1596. }
  1597. case 88: {
  1598. if (!((mutable_bitField0_ & 0x00000001) != 0)) {
  1599. labelIds_ = newLongList();
  1600. mutable_bitField0_ |= 0x00000001;
  1601. }
  1602. labelIds_.addLong(input.readInt64());
  1603. break;
  1604. }
  1605. case 90: {
  1606. int length = input.readRawVarint32();
  1607. int limit = input.pushLimit(length);
  1608. if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
  1609. labelIds_ = newLongList();
  1610. mutable_bitField0_ |= 0x00000001;
  1611. }
  1612. while (input.getBytesUntilLimit() > 0) {
  1613. labelIds_.addLong(input.readInt64());
  1614. }
  1615. input.popLimit(limit);
  1616. break;
  1617. }
  1618. case 98: {
  1619. java.lang.String s = input.readStringRequireUtf8();
  1620. suffix_ = s;
  1621. break;
  1622. }
  1623. case 106: {
  1624. java.lang.String s = input.readStringRequireUtf8();
  1625. openId_ = s;
  1626. break;
  1627. }
  1628. case 112: {
  1629. sourceUser_ = input.readInt64();
  1630. break;
  1631. }
  1632. case 120: {
  1633. sourceRoomId_ = input.readInt64();
  1634. break;
  1635. }
  1636. case 130: {
  1637. java.lang.String s = input.readStringRequireUtf8();
  1638. sourceFriend_ = s;
  1639. break;
  1640. }
  1641. case 138: {
  1642. java.lang.String s = input.readStringRequireUtf8();
  1643. applyContent_ = s;
  1644. break;
  1645. }
  1646. case 146: {
  1647. java.lang.String s = input.readStringRequireUtf8();
  1648. remark_ = s;
  1649. break;
  1650. }
  1651. case 154: {
  1652. java.lang.String s = input.readStringRequireUtf8();
  1653. companyRemark_ = s;
  1654. break;
  1655. }
  1656. case 162: {
  1657. java.lang.String s = input.readStringRequireUtf8();
  1658. if (!((mutable_bitField0_ & 0x00000002) != 0)) {
  1659. phoneRemark_ = new com.google.protobuf.LazyStringArrayList();
  1660. mutable_bitField0_ |= 0x00000002;
  1661. }
  1662. phoneRemark_.add(s);
  1663. break;
  1664. }
  1665. case 170: {
  1666. java.lang.String s = input.readStringRequireUtf8();
  1667. desc_ = s;
  1668. break;
  1669. }
  1670. case 178: {
  1671. java.lang.String s = input.readStringRequireUtf8();
  1672. descUrl_ = s;
  1673. break;
  1674. }
  1675. case 184: {
  1676. attr_ = input.readInt64();
  1677. break;
  1678. }
  1679. case 192: {
  1680. attr2_ = input.readInt64();
  1681. break;
  1682. }
  1683. case 200: {
  1684. attr3_ = input.readInt64();
  1685. break;
  1686. }
  1687. case 208: {
  1688. applyTime_ = input.readInt64();
  1689. break;
  1690. }
  1691. default: {
  1692. if (!parseUnknownField(
  1693. input, unknownFields, extensionRegistry, tag)) {
  1694. done = true;
  1695. }
  1696. break;
  1697. }
  1698. }
  1699. }
  1700. } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  1701. throw e.setUnfinishedMessage(this);
  1702. } catch (java.io.IOException e) {
  1703. throw new com.google.protobuf.InvalidProtocolBufferException(
  1704. e).setUnfinishedMessage(this);
  1705. } finally {
  1706. if (((mutable_bitField0_ & 0x00000001) != 0)) {
  1707. labelIds_.makeImmutable(); // C
  1708. }
  1709. if (((mutable_bitField0_ & 0x00000002) != 0)) {
  1710. phoneRemark_ = phoneRemark_.getUnmodifiableView();
  1711. }
  1712. this.unknownFields = unknownFields.build();
  1713. makeExtensionsImmutable();
  1714. }
  1715. }
  1716. public static final com.google.protobuf.Descriptors.Descriptor
  1717. getDescriptor() {
  1718. return Im.Scrm.Ww.Proto.WCustomerPushNotice.internal_static_Im_Scrm_Ww_Proto_CustomerMessage_descriptor;
  1719. }
  1720. @java.lang.Override
  1721. protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  1722. internalGetFieldAccessorTable() {
  1723. return Im.Scrm.Ww.Proto.WCustomerPushNotice.internal_static_Im_Scrm_Ww_Proto_CustomerMessage_fieldAccessorTable
  1724. .ensureFieldAccessorsInitialized(
  1725. Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.class, Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.Builder.class);
  1726. }
  1727. public static final int REMOTEID_FIELD_NUMBER = 1;
  1728. private long remoteId_;
  1729. /**
  1730. * <pre>
  1731. *唯一id (RemoteId&gt;&gt;48==20 App; RemoteId&gt;&gt;48==28 微信用户; RemoteId&gt;&gt;48==33,34 外部客户; RemoteId&gt;&gt;48==39 群机器人; RemoteId&gt;&gt;48==30 内部客服; RemoteId&gt;&gt;48==32 VIP客户;)
  1732. * </pre>
  1733. *
  1734. * <code>int64 RemoteId = 1;</code>
  1735. * @return The remoteId.
  1736. */
  1737. public long getRemoteId() {
  1738. return remoteId_;
  1739. }
  1740. public static final int NAME_FIELD_NUMBER = 2;
  1741. private volatile java.lang.Object name_;
  1742. /**
  1743. * <code>string Name = 2;</code>
  1744. * @return The name.
  1745. */
  1746. public java.lang.String getName() {
  1747. java.lang.Object ref = name_;
  1748. if (ref instanceof java.lang.String) {
  1749. return (java.lang.String) ref;
  1750. } else {
  1751. com.google.protobuf.ByteString bs =
  1752. (com.google.protobuf.ByteString) ref;
  1753. java.lang.String s = bs.toStringUtf8();
  1754. name_ = s;
  1755. return s;
  1756. }
  1757. }
  1758. /**
  1759. * <code>string Name = 2;</code>
  1760. * @return The bytes for name.
  1761. */
  1762. public com.google.protobuf.ByteString
  1763. getNameBytes() {
  1764. java.lang.Object ref = name_;
  1765. if (ref instanceof java.lang.String) {
  1766. com.google.protobuf.ByteString b =
  1767. com.google.protobuf.ByteString.copyFromUtf8(
  1768. (java.lang.String) ref);
  1769. name_ = b;
  1770. return b;
  1771. } else {
  1772. return (com.google.protobuf.ByteString) ref;
  1773. }
  1774. }
  1775. public static final int ALIAS_FIELD_NUMBER = 3;
  1776. private volatile java.lang.Object alias_;
  1777. /**
  1778. * <code>string Alias = 3;</code>
  1779. * @return The alias.
  1780. */
  1781. public java.lang.String getAlias() {
  1782. java.lang.Object ref = alias_;
  1783. if (ref instanceof java.lang.String) {
  1784. return (java.lang.String) ref;
  1785. } else {
  1786. com.google.protobuf.ByteString bs =
  1787. (com.google.protobuf.ByteString) ref;
  1788. java.lang.String s = bs.toStringUtf8();
  1789. alias_ = s;
  1790. return s;
  1791. }
  1792. }
  1793. /**
  1794. * <code>string Alias = 3;</code>
  1795. * @return The bytes for alias.
  1796. */
  1797. public com.google.protobuf.ByteString
  1798. getAliasBytes() {
  1799. java.lang.Object ref = alias_;
  1800. if (ref instanceof java.lang.String) {
  1801. com.google.protobuf.ByteString b =
  1802. com.google.protobuf.ByteString.copyFromUtf8(
  1803. (java.lang.String) ref);
  1804. alias_ = b;
  1805. return b;
  1806. } else {
  1807. return (com.google.protobuf.ByteString) ref;
  1808. }
  1809. }
  1810. public static final int AVATAR_FIELD_NUMBER = 4;
  1811. private volatile java.lang.Object avatar_;
  1812. /**
  1813. * <code>string Avatar = 4;</code>
  1814. * @return The avatar.
  1815. */
  1816. public java.lang.String getAvatar() {
  1817. java.lang.Object ref = avatar_;
  1818. if (ref instanceof java.lang.String) {
  1819. return (java.lang.String) ref;
  1820. } else {
  1821. com.google.protobuf.ByteString bs =
  1822. (com.google.protobuf.ByteString) ref;
  1823. java.lang.String s = bs.toStringUtf8();
  1824. avatar_ = s;
  1825. return s;
  1826. }
  1827. }
  1828. /**
  1829. * <code>string Avatar = 4;</code>
  1830. * @return The bytes for avatar.
  1831. */
  1832. public com.google.protobuf.ByteString
  1833. getAvatarBytes() {
  1834. java.lang.Object ref = avatar_;
  1835. if (ref instanceof java.lang.String) {
  1836. com.google.protobuf.ByteString b =
  1837. com.google.protobuf.ByteString.copyFromUtf8(
  1838. (java.lang.String) ref);
  1839. avatar_ = b;
  1840. return b;
  1841. } else {
  1842. return (com.google.protobuf.ByteString) ref;
  1843. }
  1844. }
  1845. public static final int MOBILE_FIELD_NUMBER = 5;
  1846. private volatile java.lang.Object mobile_;
  1847. /**
  1848. * <code>string Mobile = 5;</code>
  1849. * @return The mobile.
  1850. */
  1851. public java.lang.String getMobile() {
  1852. java.lang.Object ref = mobile_;
  1853. if (ref instanceof java.lang.String) {
  1854. return (java.lang.String) ref;
  1855. } else {
  1856. com.google.protobuf.ByteString bs =
  1857. (com.google.protobuf.ByteString) ref;
  1858. java.lang.String s = bs.toStringUtf8();
  1859. mobile_ = s;
  1860. return s;
  1861. }
  1862. }
  1863. /**
  1864. * <code>string Mobile = 5;</code>
  1865. * @return The bytes for mobile.
  1866. */
  1867. public com.google.protobuf.ByteString
  1868. getMobileBytes() {
  1869. java.lang.Object ref = mobile_;
  1870. if (ref instanceof java.lang.String) {
  1871. com.google.protobuf.ByteString b =
  1872. com.google.protobuf.ByteString.copyFromUtf8(
  1873. (java.lang.String) ref);
  1874. mobile_ = b;
  1875. return b;
  1876. } else {
  1877. return (com.google.protobuf.ByteString) ref;
  1878. }
  1879. }
  1880. public static final int UNIONID_FIELD_NUMBER = 6;
  1881. private volatile java.lang.Object unionId_;
  1882. /**
  1883. * <pre>
  1884. * 微信UnionId,可能为空
  1885. * </pre>
  1886. *
  1887. * <code>string UnionId = 6;</code>
  1888. * @return The unionId.
  1889. */
  1890. public java.lang.String getUnionId() {
  1891. java.lang.Object ref = unionId_;
  1892. if (ref instanceof java.lang.String) {
  1893. return (java.lang.String) ref;
  1894. } else {
  1895. com.google.protobuf.ByteString bs =
  1896. (com.google.protobuf.ByteString) ref;
  1897. java.lang.String s = bs.toStringUtf8();
  1898. unionId_ = s;
  1899. return s;
  1900. }
  1901. }
  1902. /**
  1903. * <pre>
  1904. * 微信UnionId,可能为空
  1905. * </pre>
  1906. *
  1907. * <code>string UnionId = 6;</code>
  1908. * @return The bytes for unionId.
  1909. */
  1910. public com.google.protobuf.ByteString
  1911. getUnionIdBytes() {
  1912. java.lang.Object ref = unionId_;
  1913. if (ref instanceof java.lang.String) {
  1914. com.google.protobuf.ByteString b =
  1915. com.google.protobuf.ByteString.copyFromUtf8(
  1916. (java.lang.String) ref);
  1917. unionId_ = b;
  1918. return b;
  1919. } else {
  1920. return (com.google.protobuf.ByteString) ref;
  1921. }
  1922. }
  1923. public static final int GENDER_FIELD_NUMBER = 7;
  1924. private int gender_;
  1925. /**
  1926. * <code>.Im.Scrm.Ww.Proto.EnumGender Gender = 7;</code>
  1927. * @return The enum numeric value on the wire for gender.
  1928. */
  1929. public int getGenderValue() {
  1930. return gender_;
  1931. }
  1932. /**
  1933. * <code>.Im.Scrm.Ww.Proto.EnumGender Gender = 7;</code>
  1934. * @return The gender.
  1935. */
  1936. public Im.Scrm.Ww.Proto.WTransport.EnumGender getGender() {
  1937. @SuppressWarnings("deprecation")
  1938. Im.Scrm.Ww.Proto.WTransport.EnumGender result = Im.Scrm.Ww.Proto.WTransport.EnumGender.valueOf(gender_);
  1939. return result == null ? Im.Scrm.Ww.Proto.WTransport.EnumGender.UNRECOGNIZED : result;
  1940. }
  1941. public static final int CORPID_FIELD_NUMBER = 8;
  1942. private long corpId_;
  1943. /**
  1944. * <code>int64 CorpId = 8;</code>
  1945. * @return The corpId.
  1946. */
  1947. public long getCorpId() {
  1948. return corpId_;
  1949. }
  1950. public static final int ADDTIME_FIELD_NUMBER = 9;
  1951. private int addTime_;
  1952. /**
  1953. * <code>int32 AddTime = 9;</code>
  1954. * @return The addTime.
  1955. */
  1956. public int getAddTime() {
  1957. return addTime_;
  1958. }
  1959. public static final int SOURCE_FIELD_NUMBER = 10;
  1960. private int source_;
  1961. /**
  1962. * <pre>
  1963. * 添加来源
  1964. * </pre>
  1965. *
  1966. * <code>int32 Source = 10;</code>
  1967. * @return The source.
  1968. */
  1969. public int getSource() {
  1970. return source_;
  1971. }
  1972. public static final int LABELIDS_FIELD_NUMBER = 11;
  1973. private com.google.protobuf.Internal.LongList labelIds_;
  1974. /**
  1975. * <pre>
  1976. *设置的用户标签
  1977. * </pre>
  1978. *
  1979. * <code>repeated int64 LabelIds = 11;</code>
  1980. * @return A list containing the labelIds.
  1981. */
  1982. public java.util.List<java.lang.Long>
  1983. getLabelIdsList() {
  1984. return labelIds_;
  1985. }
  1986. /**
  1987. * <pre>
  1988. *设置的用户标签
  1989. * </pre>
  1990. *
  1991. * <code>repeated int64 LabelIds = 11;</code>
  1992. * @return The count of labelIds.
  1993. */
  1994. public int getLabelIdsCount() {
  1995. return labelIds_.size();
  1996. }
  1997. /**
  1998. * <pre>
  1999. *设置的用户标签
  2000. * </pre>
  2001. *
  2002. * <code>repeated int64 LabelIds = 11;</code>
  2003. * @param index The index of the element to return.
  2004. * @return The labelIds at the given index.
  2005. */
  2006. public long getLabelIds(int index) {
  2007. return labelIds_.getLong(index);
  2008. }
  2009. private int labelIdsMemoizedSerializedSize = -1;
  2010. public static final int SUFFIX_FIELD_NUMBER = 12;
  2011. private volatile java.lang.Object suffix_;
  2012. /**
  2013. * <pre>
  2014. * 后缀
  2015. * </pre>
  2016. *
  2017. * <code>string Suffix = 12;</code>
  2018. * @return The suffix.
  2019. */
  2020. public java.lang.String getSuffix() {
  2021. java.lang.Object ref = suffix_;
  2022. if (ref instanceof java.lang.String) {
  2023. return (java.lang.String) ref;
  2024. } else {
  2025. com.google.protobuf.ByteString bs =
  2026. (com.google.protobuf.ByteString) ref;
  2027. java.lang.String s = bs.toStringUtf8();
  2028. suffix_ = s;
  2029. return s;
  2030. }
  2031. }
  2032. /**
  2033. * <pre>
  2034. * 后缀
  2035. * </pre>
  2036. *
  2037. * <code>string Suffix = 12;</code>
  2038. * @return The bytes for suffix.
  2039. */
  2040. public com.google.protobuf.ByteString
  2041. getSuffixBytes() {
  2042. java.lang.Object ref = suffix_;
  2043. if (ref instanceof java.lang.String) {
  2044. com.google.protobuf.ByteString b =
  2045. com.google.protobuf.ByteString.copyFromUtf8(
  2046. (java.lang.String) ref);
  2047. suffix_ = b;
  2048. return b;
  2049. } else {
  2050. return (com.google.protobuf.ByteString) ref;
  2051. }
  2052. }
  2053. public static final int OPENID_FIELD_NUMBER = 13;
  2054. private volatile java.lang.Object openId_;
  2055. /**
  2056. * <code>string OpenId = 13;</code>
  2057. * @return The openId.
  2058. */
  2059. public java.lang.String getOpenId() {
  2060. java.lang.Object ref = openId_;
  2061. if (ref instanceof java.lang.String) {
  2062. return (java.lang.String) ref;
  2063. } else {
  2064. com.google.protobuf.ByteString bs =
  2065. (com.google.protobuf.ByteString) ref;
  2066. java.lang.String s = bs.toStringUtf8();
  2067. openId_ = s;
  2068. return s;
  2069. }
  2070. }
  2071. /**
  2072. * <code>string OpenId = 13;</code>
  2073. * @return The bytes for openId.
  2074. */
  2075. public com.google.protobuf.ByteString
  2076. getOpenIdBytes() {
  2077. java.lang.Object ref = openId_;
  2078. if (ref instanceof java.lang.String) {
  2079. com.google.protobuf.ByteString b =
  2080. com.google.protobuf.ByteString.copyFromUtf8(
  2081. (java.lang.String) ref);
  2082. openId_ = b;
  2083. return b;
  2084. } else {
  2085. return (com.google.protobuf.ByteString) ref;
  2086. }
  2087. }
  2088. public static final int SOURCEUSER_FIELD_NUMBER = 14;
  2089. private long sourceUser_;
  2090. /**
  2091. * <code>int64 SourceUser = 14;</code>
  2092. * @return The sourceUser.
  2093. */
  2094. public long getSourceUser() {
  2095. return sourceUser_;
  2096. }
  2097. public static final int SOURCEROOMID_FIELD_NUMBER = 15;
  2098. private long sourceRoomId_;
  2099. /**
  2100. * <code>int64 SourceRoomId = 15;</code>
  2101. * @return The sourceRoomId.
  2102. */
  2103. public long getSourceRoomId() {
  2104. return sourceRoomId_;
  2105. }
  2106. public static final int SOURCEFRIEND_FIELD_NUMBER = 16;
  2107. private volatile java.lang.Object sourceFriend_;
  2108. /**
  2109. * <pre>
  2110. *来自微信好友(wxid)来自通讯录(电话号码)
  2111. * </pre>
  2112. *
  2113. * <code>string SourceFriend = 16;</code>
  2114. * @return The sourceFriend.
  2115. */
  2116. public java.lang.String getSourceFriend() {
  2117. java.lang.Object ref = sourceFriend_;
  2118. if (ref instanceof java.lang.String) {
  2119. return (java.lang.String) ref;
  2120. } else {
  2121. com.google.protobuf.ByteString bs =
  2122. (com.google.protobuf.ByteString) ref;
  2123. java.lang.String s = bs.toStringUtf8();
  2124. sourceFriend_ = s;
  2125. return s;
  2126. }
  2127. }
  2128. /**
  2129. * <pre>
  2130. *来自微信好友(wxid)来自通讯录(电话号码)
  2131. * </pre>
  2132. *
  2133. * <code>string SourceFriend = 16;</code>
  2134. * @return The bytes for sourceFriend.
  2135. */
  2136. public com.google.protobuf.ByteString
  2137. getSourceFriendBytes() {
  2138. java.lang.Object ref = sourceFriend_;
  2139. if (ref instanceof java.lang.String) {
  2140. com.google.protobuf.ByteString b =
  2141. com.google.protobuf.ByteString.copyFromUtf8(
  2142. (java.lang.String) ref);
  2143. sourceFriend_ = b;
  2144. return b;
  2145. } else {
  2146. return (com.google.protobuf.ByteString) ref;
  2147. }
  2148. }
  2149. public static final int APPLYCONTENT_FIELD_NUMBER = 17;
  2150. private volatile java.lang.Object applyContent_;
  2151. /**
  2152. * <code>string ApplyContent = 17;</code>
  2153. * @return The applyContent.
  2154. */
  2155. public java.lang.String getApplyContent() {
  2156. java.lang.Object ref = applyContent_;
  2157. if (ref instanceof java.lang.String) {
  2158. return (java.lang.String) ref;
  2159. } else {
  2160. com.google.protobuf.ByteString bs =
  2161. (com.google.protobuf.ByteString) ref;
  2162. java.lang.String s = bs.toStringUtf8();
  2163. applyContent_ = s;
  2164. return s;
  2165. }
  2166. }
  2167. /**
  2168. * <code>string ApplyContent = 17;</code>
  2169. * @return The bytes for applyContent.
  2170. */
  2171. public com.google.protobuf.ByteString
  2172. getApplyContentBytes() {
  2173. java.lang.Object ref = applyContent_;
  2174. if (ref instanceof java.lang.String) {
  2175. com.google.protobuf.ByteString b =
  2176. com.google.protobuf.ByteString.copyFromUtf8(
  2177. (java.lang.String) ref);
  2178. applyContent_ = b;
  2179. return b;
  2180. } else {
  2181. return (com.google.protobuf.ByteString) ref;
  2182. }
  2183. }
  2184. public static final int REMARK_FIELD_NUMBER = 18;
  2185. private volatile java.lang.Object remark_;
  2186. /**
  2187. * <code>string Remark = 18;</code>
  2188. * @return The remark.
  2189. */
  2190. public java.lang.String getRemark() {
  2191. java.lang.Object ref = remark_;
  2192. if (ref instanceof java.lang.String) {
  2193. return (java.lang.String) ref;
  2194. } else {
  2195. com.google.protobuf.ByteString bs =
  2196. (com.google.protobuf.ByteString) ref;
  2197. java.lang.String s = bs.toStringUtf8();
  2198. remark_ = s;
  2199. return s;
  2200. }
  2201. }
  2202. /**
  2203. * <code>string Remark = 18;</code>
  2204. * @return The bytes for remark.
  2205. */
  2206. public com.google.protobuf.ByteString
  2207. getRemarkBytes() {
  2208. java.lang.Object ref = remark_;
  2209. if (ref instanceof java.lang.String) {
  2210. com.google.protobuf.ByteString b =
  2211. com.google.protobuf.ByteString.copyFromUtf8(
  2212. (java.lang.String) ref);
  2213. remark_ = b;
  2214. return b;
  2215. } else {
  2216. return (com.google.protobuf.ByteString) ref;
  2217. }
  2218. }
  2219. public static final int COMPANYREMARK_FIELD_NUMBER = 19;
  2220. private volatile java.lang.Object companyRemark_;
  2221. /**
  2222. * <code>string CompanyRemark = 19;</code>
  2223. * @return The companyRemark.
  2224. */
  2225. public java.lang.String getCompanyRemark() {
  2226. java.lang.Object ref = companyRemark_;
  2227. if (ref instanceof java.lang.String) {
  2228. return (java.lang.String) ref;
  2229. } else {
  2230. com.google.protobuf.ByteString bs =
  2231. (com.google.protobuf.ByteString) ref;
  2232. java.lang.String s = bs.toStringUtf8();
  2233. companyRemark_ = s;
  2234. return s;
  2235. }
  2236. }
  2237. /**
  2238. * <code>string CompanyRemark = 19;</code>
  2239. * @return The bytes for companyRemark.
  2240. */
  2241. public com.google.protobuf.ByteString
  2242. getCompanyRemarkBytes() {
  2243. java.lang.Object ref = companyRemark_;
  2244. if (ref instanceof java.lang.String) {
  2245. com.google.protobuf.ByteString b =
  2246. com.google.protobuf.ByteString.copyFromUtf8(
  2247. (java.lang.String) ref);
  2248. companyRemark_ = b;
  2249. return b;
  2250. } else {
  2251. return (com.google.protobuf.ByteString) ref;
  2252. }
  2253. }
  2254. public static final int PHONEREMARK_FIELD_NUMBER = 20;
  2255. private com.google.protobuf.LazyStringList phoneRemark_;
  2256. /**
  2257. * <code>repeated string PhoneRemark = 20;</code>
  2258. * @return A list containing the phoneRemark.
  2259. */
  2260. public com.google.protobuf.ProtocolStringList
  2261. getPhoneRemarkList() {
  2262. return phoneRemark_;
  2263. }
  2264. /**
  2265. * <code>repeated string PhoneRemark = 20;</code>
  2266. * @return The count of phoneRemark.
  2267. */
  2268. public int getPhoneRemarkCount() {
  2269. return phoneRemark_.size();
  2270. }
  2271. /**
  2272. * <code>repeated string PhoneRemark = 20;</code>
  2273. * @param index The index of the element to return.
  2274. * @return The phoneRemark at the given index.
  2275. */
  2276. public java.lang.String getPhoneRemark(int index) {
  2277. return phoneRemark_.get(index);
  2278. }
  2279. /**
  2280. * <code>repeated string PhoneRemark = 20;</code>
  2281. * @param index The index of the value to return.
  2282. * @return The bytes of the phoneRemark at the given index.
  2283. */
  2284. public com.google.protobuf.ByteString
  2285. getPhoneRemarkBytes(int index) {
  2286. return phoneRemark_.getByteString(index);
  2287. }
  2288. public static final int DESC_FIELD_NUMBER = 21;
  2289. private volatile java.lang.Object desc_;
  2290. /**
  2291. * <code>string Desc = 21;</code>
  2292. * @return The desc.
  2293. */
  2294. public java.lang.String getDesc() {
  2295. java.lang.Object ref = desc_;
  2296. if (ref instanceof java.lang.String) {
  2297. return (java.lang.String) ref;
  2298. } else {
  2299. com.google.protobuf.ByteString bs =
  2300. (com.google.protobuf.ByteString) ref;
  2301. java.lang.String s = bs.toStringUtf8();
  2302. desc_ = s;
  2303. return s;
  2304. }
  2305. }
  2306. /**
  2307. * <code>string Desc = 21;</code>
  2308. * @return The bytes for desc.
  2309. */
  2310. public com.google.protobuf.ByteString
  2311. getDescBytes() {
  2312. java.lang.Object ref = desc_;
  2313. if (ref instanceof java.lang.String) {
  2314. com.google.protobuf.ByteString b =
  2315. com.google.protobuf.ByteString.copyFromUtf8(
  2316. (java.lang.String) ref);
  2317. desc_ = b;
  2318. return b;
  2319. } else {
  2320. return (com.google.protobuf.ByteString) ref;
  2321. }
  2322. }
  2323. public static final int DESCURL_FIELD_NUMBER = 22;
  2324. private volatile java.lang.Object descUrl_;
  2325. /**
  2326. * <code>string DescUrl = 22;</code>
  2327. * @return The descUrl.
  2328. */
  2329. public java.lang.String getDescUrl() {
  2330. java.lang.Object ref = descUrl_;
  2331. if (ref instanceof java.lang.String) {
  2332. return (java.lang.String) ref;
  2333. } else {
  2334. com.google.protobuf.ByteString bs =
  2335. (com.google.protobuf.ByteString) ref;
  2336. java.lang.String s = bs.toStringUtf8();
  2337. descUrl_ = s;
  2338. return s;
  2339. }
  2340. }
  2341. /**
  2342. * <code>string DescUrl = 22;</code>
  2343. * @return The bytes for descUrl.
  2344. */
  2345. public com.google.protobuf.ByteString
  2346. getDescUrlBytes() {
  2347. java.lang.Object ref = descUrl_;
  2348. if (ref instanceof java.lang.String) {
  2349. com.google.protobuf.ByteString b =
  2350. com.google.protobuf.ByteString.copyFromUtf8(
  2351. (java.lang.String) ref);
  2352. descUrl_ = b;
  2353. return b;
  2354. } else {
  2355. return (com.google.protobuf.ByteString) ref;
  2356. }
  2357. }
  2358. public static final int ATTR_FIELD_NUMBER = 23;
  2359. private long attr_;
  2360. /**
  2361. * <code>int64 Attr = 23;</code>
  2362. * @return The attr.
  2363. */
  2364. public long getAttr() {
  2365. return attr_;
  2366. }
  2367. public static final int ATTR2_FIELD_NUMBER = 24;
  2368. private long attr2_;
  2369. /**
  2370. * <code>int64 Attr2 = 24;</code>
  2371. * @return The attr2.
  2372. */
  2373. public long getAttr2() {
  2374. return attr2_;
  2375. }
  2376. public static final int ATTR3_FIELD_NUMBER = 25;
  2377. private long attr3_;
  2378. /**
  2379. * <code>int64 Attr3 = 25;</code>
  2380. * @return The attr3.
  2381. */
  2382. public long getAttr3() {
  2383. return attr3_;
  2384. }
  2385. public static final int APPLYTIME_FIELD_NUMBER = 26;
  2386. private long applyTime_;
  2387. /**
  2388. * <code>int64 ApplyTime = 26;</code>
  2389. * @return The applyTime.
  2390. */
  2391. public long getApplyTime() {
  2392. return applyTime_;
  2393. }
  2394. private byte memoizedIsInitialized = -1;
  2395. @java.lang.Override
  2396. public final boolean isInitialized() {
  2397. byte isInitialized = memoizedIsInitialized;
  2398. if (isInitialized == 1) return true;
  2399. if (isInitialized == 0) return false;
  2400. memoizedIsInitialized = 1;
  2401. return true;
  2402. }
  2403. @java.lang.Override
  2404. public void writeTo(com.google.protobuf.CodedOutputStream output)
  2405. throws java.io.IOException {
  2406. getSerializedSize();
  2407. if (remoteId_ != 0L) {
  2408. output.writeInt64(1, remoteId_);
  2409. }
  2410. if (!getNameBytes().isEmpty()) {
  2411. com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
  2412. }
  2413. if (!getAliasBytes().isEmpty()) {
  2414. com.google.protobuf.GeneratedMessageV3.writeString(output, 3, alias_);
  2415. }
  2416. if (!getAvatarBytes().isEmpty()) {
  2417. com.google.protobuf.GeneratedMessageV3.writeString(output, 4, avatar_);
  2418. }
  2419. if (!getMobileBytes().isEmpty()) {
  2420. com.google.protobuf.GeneratedMessageV3.writeString(output, 5, mobile_);
  2421. }
  2422. if (!getUnionIdBytes().isEmpty()) {
  2423. com.google.protobuf.GeneratedMessageV3.writeString(output, 6, unionId_);
  2424. }
  2425. if (gender_ != Im.Scrm.Ww.Proto.WTransport.EnumGender.UnknownGender.getNumber()) {
  2426. output.writeEnum(7, gender_);
  2427. }
  2428. if (corpId_ != 0L) {
  2429. output.writeInt64(8, corpId_);
  2430. }
  2431. if (addTime_ != 0) {
  2432. output.writeInt32(9, addTime_);
  2433. }
  2434. if (source_ != 0) {
  2435. output.writeInt32(10, source_);
  2436. }
  2437. if (getLabelIdsList().size() > 0) {
  2438. output.writeUInt32NoTag(90);
  2439. output.writeUInt32NoTag(labelIdsMemoizedSerializedSize);
  2440. }
  2441. for (int i = 0; i < labelIds_.size(); i++) {
  2442. output.writeInt64NoTag(labelIds_.getLong(i));
  2443. }
  2444. if (!getSuffixBytes().isEmpty()) {
  2445. com.google.protobuf.GeneratedMessageV3.writeString(output, 12, suffix_);
  2446. }
  2447. if (!getOpenIdBytes().isEmpty()) {
  2448. com.google.protobuf.GeneratedMessageV3.writeString(output, 13, openId_);
  2449. }
  2450. if (sourceUser_ != 0L) {
  2451. output.writeInt64(14, sourceUser_);
  2452. }
  2453. if (sourceRoomId_ != 0L) {
  2454. output.writeInt64(15, sourceRoomId_);
  2455. }
  2456. if (!getSourceFriendBytes().isEmpty()) {
  2457. com.google.protobuf.GeneratedMessageV3.writeString(output, 16, sourceFriend_);
  2458. }
  2459. if (!getApplyContentBytes().isEmpty()) {
  2460. com.google.protobuf.GeneratedMessageV3.writeString(output, 17, applyContent_);
  2461. }
  2462. if (!getRemarkBytes().isEmpty()) {
  2463. com.google.protobuf.GeneratedMessageV3.writeString(output, 18, remark_);
  2464. }
  2465. if (!getCompanyRemarkBytes().isEmpty()) {
  2466. com.google.protobuf.GeneratedMessageV3.writeString(output, 19, companyRemark_);
  2467. }
  2468. for (int i = 0; i < phoneRemark_.size(); i++) {
  2469. com.google.protobuf.GeneratedMessageV3.writeString(output, 20, phoneRemark_.getRaw(i));
  2470. }
  2471. if (!getDescBytes().isEmpty()) {
  2472. com.google.protobuf.GeneratedMessageV3.writeString(output, 21, desc_);
  2473. }
  2474. if (!getDescUrlBytes().isEmpty()) {
  2475. com.google.protobuf.GeneratedMessageV3.writeString(output, 22, descUrl_);
  2476. }
  2477. if (attr_ != 0L) {
  2478. output.writeInt64(23, attr_);
  2479. }
  2480. if (attr2_ != 0L) {
  2481. output.writeInt64(24, attr2_);
  2482. }
  2483. if (attr3_ != 0L) {
  2484. output.writeInt64(25, attr3_);
  2485. }
  2486. if (applyTime_ != 0L) {
  2487. output.writeInt64(26, applyTime_);
  2488. }
  2489. unknownFields.writeTo(output);
  2490. }
  2491. @java.lang.Override
  2492. public int getSerializedSize() {
  2493. int size = memoizedSize;
  2494. if (size != -1) return size;
  2495. size = 0;
  2496. if (remoteId_ != 0L) {
  2497. size += com.google.protobuf.CodedOutputStream
  2498. .computeInt64Size(1, remoteId_);
  2499. }
  2500. if (!getNameBytes().isEmpty()) {
  2501. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
  2502. }
  2503. if (!getAliasBytes().isEmpty()) {
  2504. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, alias_);
  2505. }
  2506. if (!getAvatarBytes().isEmpty()) {
  2507. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, avatar_);
  2508. }
  2509. if (!getMobileBytes().isEmpty()) {
  2510. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, mobile_);
  2511. }
  2512. if (!getUnionIdBytes().isEmpty()) {
  2513. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, unionId_);
  2514. }
  2515. if (gender_ != Im.Scrm.Ww.Proto.WTransport.EnumGender.UnknownGender.getNumber()) {
  2516. size += com.google.protobuf.CodedOutputStream
  2517. .computeEnumSize(7, gender_);
  2518. }
  2519. if (corpId_ != 0L) {
  2520. size += com.google.protobuf.CodedOutputStream
  2521. .computeInt64Size(8, corpId_);
  2522. }
  2523. if (addTime_ != 0) {
  2524. size += com.google.protobuf.CodedOutputStream
  2525. .computeInt32Size(9, addTime_);
  2526. }
  2527. if (source_ != 0) {
  2528. size += com.google.protobuf.CodedOutputStream
  2529. .computeInt32Size(10, source_);
  2530. }
  2531. {
  2532. int dataSize = 0;
  2533. for (int i = 0; i < labelIds_.size(); i++) {
  2534. dataSize += com.google.protobuf.CodedOutputStream
  2535. .computeInt64SizeNoTag(labelIds_.getLong(i));
  2536. }
  2537. size += dataSize;
  2538. if (!getLabelIdsList().isEmpty()) {
  2539. size += 1;
  2540. size += com.google.protobuf.CodedOutputStream
  2541. .computeInt32SizeNoTag(dataSize);
  2542. }
  2543. labelIdsMemoizedSerializedSize = dataSize;
  2544. }
  2545. if (!getSuffixBytes().isEmpty()) {
  2546. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, suffix_);
  2547. }
  2548. if (!getOpenIdBytes().isEmpty()) {
  2549. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, openId_);
  2550. }
  2551. if (sourceUser_ != 0L) {
  2552. size += com.google.protobuf.CodedOutputStream
  2553. .computeInt64Size(14, sourceUser_);
  2554. }
  2555. if (sourceRoomId_ != 0L) {
  2556. size += com.google.protobuf.CodedOutputStream
  2557. .computeInt64Size(15, sourceRoomId_);
  2558. }
  2559. if (!getSourceFriendBytes().isEmpty()) {
  2560. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, sourceFriend_);
  2561. }
  2562. if (!getApplyContentBytes().isEmpty()) {
  2563. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, applyContent_);
  2564. }
  2565. if (!getRemarkBytes().isEmpty()) {
  2566. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, remark_);
  2567. }
  2568. if (!getCompanyRemarkBytes().isEmpty()) {
  2569. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, companyRemark_);
  2570. }
  2571. {
  2572. int dataSize = 0;
  2573. for (int i = 0; i < phoneRemark_.size(); i++) {
  2574. dataSize += computeStringSizeNoTag(phoneRemark_.getRaw(i));
  2575. }
  2576. size += dataSize;
  2577. size += 2 * getPhoneRemarkList().size();
  2578. }
  2579. if (!getDescBytes().isEmpty()) {
  2580. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, desc_);
  2581. }
  2582. if (!getDescUrlBytes().isEmpty()) {
  2583. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, descUrl_);
  2584. }
  2585. if (attr_ != 0L) {
  2586. size += com.google.protobuf.CodedOutputStream
  2587. .computeInt64Size(23, attr_);
  2588. }
  2589. if (attr2_ != 0L) {
  2590. size += com.google.protobuf.CodedOutputStream
  2591. .computeInt64Size(24, attr2_);
  2592. }
  2593. if (attr3_ != 0L) {
  2594. size += com.google.protobuf.CodedOutputStream
  2595. .computeInt64Size(25, attr3_);
  2596. }
  2597. if (applyTime_ != 0L) {
  2598. size += com.google.protobuf.CodedOutputStream
  2599. .computeInt64Size(26, applyTime_);
  2600. }
  2601. size += unknownFields.getSerializedSize();
  2602. memoizedSize = size;
  2603. return size;
  2604. }
  2605. @java.lang.Override
  2606. public boolean equals(final java.lang.Object obj) {
  2607. if (obj == this) {
  2608. return true;
  2609. }
  2610. if (!(obj instanceof Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage)) {
  2611. return super.equals(obj);
  2612. }
  2613. Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage other = (Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage) obj;
  2614. if (getRemoteId()
  2615. != other.getRemoteId()) return false;
  2616. if (!getName()
  2617. .equals(other.getName())) return false;
  2618. if (!getAlias()
  2619. .equals(other.getAlias())) return false;
  2620. if (!getAvatar()
  2621. .equals(other.getAvatar())) return false;
  2622. if (!getMobile()
  2623. .equals(other.getMobile())) return false;
  2624. if (!getUnionId()
  2625. .equals(other.getUnionId())) return false;
  2626. if (gender_ != other.gender_) return false;
  2627. if (getCorpId()
  2628. != other.getCorpId()) return false;
  2629. if (getAddTime()
  2630. != other.getAddTime()) return false;
  2631. if (getSource()
  2632. != other.getSource()) return false;
  2633. if (!getLabelIdsList()
  2634. .equals(other.getLabelIdsList())) return false;
  2635. if (!getSuffix()
  2636. .equals(other.getSuffix())) return false;
  2637. if (!getOpenId()
  2638. .equals(other.getOpenId())) return false;
  2639. if (getSourceUser()
  2640. != other.getSourceUser()) return false;
  2641. if (getSourceRoomId()
  2642. != other.getSourceRoomId()) return false;
  2643. if (!getSourceFriend()
  2644. .equals(other.getSourceFriend())) return false;
  2645. if (!getApplyContent()
  2646. .equals(other.getApplyContent())) return false;
  2647. if (!getRemark()
  2648. .equals(other.getRemark())) return false;
  2649. if (!getCompanyRemark()
  2650. .equals(other.getCompanyRemark())) return false;
  2651. if (!getPhoneRemarkList()
  2652. .equals(other.getPhoneRemarkList())) return false;
  2653. if (!getDesc()
  2654. .equals(other.getDesc())) return false;
  2655. if (!getDescUrl()
  2656. .equals(other.getDescUrl())) return false;
  2657. if (getAttr()
  2658. != other.getAttr()) return false;
  2659. if (getAttr2()
  2660. != other.getAttr2()) return false;
  2661. if (getAttr3()
  2662. != other.getAttr3()) return false;
  2663. if (getApplyTime()
  2664. != other.getApplyTime()) return false;
  2665. if (!unknownFields.equals(other.unknownFields)) return false;
  2666. return true;
  2667. }
  2668. @java.lang.Override
  2669. public int hashCode() {
  2670. if (memoizedHashCode != 0) {
  2671. return memoizedHashCode;
  2672. }
  2673. int hash = 41;
  2674. hash = (19 * hash) + getDescriptor().hashCode();
  2675. hash = (37 * hash) + REMOTEID_FIELD_NUMBER;
  2676. hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  2677. getRemoteId());
  2678. hash = (37 * hash) + NAME_FIELD_NUMBER;
  2679. hash = (53 * hash) + getName().hashCode();
  2680. hash = (37 * hash) + ALIAS_FIELD_NUMBER;
  2681. hash = (53 * hash) + getAlias().hashCode();
  2682. hash = (37 * hash) + AVATAR_FIELD_NUMBER;
  2683. hash = (53 * hash) + getAvatar().hashCode();
  2684. hash = (37 * hash) + MOBILE_FIELD_NUMBER;
  2685. hash = (53 * hash) + getMobile().hashCode();
  2686. hash = (37 * hash) + UNIONID_FIELD_NUMBER;
  2687. hash = (53 * hash) + getUnionId().hashCode();
  2688. hash = (37 * hash) + GENDER_FIELD_NUMBER;
  2689. hash = (53 * hash) + gender_;
  2690. hash = (37 * hash) + CORPID_FIELD_NUMBER;
  2691. hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  2692. getCorpId());
  2693. hash = (37 * hash) + ADDTIME_FIELD_NUMBER;
  2694. hash = (53 * hash) + getAddTime();
  2695. hash = (37 * hash) + SOURCE_FIELD_NUMBER;
  2696. hash = (53 * hash) + getSource();
  2697. if (getLabelIdsCount() > 0) {
  2698. hash = (37 * hash) + LABELIDS_FIELD_NUMBER;
  2699. hash = (53 * hash) + getLabelIdsList().hashCode();
  2700. }
  2701. hash = (37 * hash) + SUFFIX_FIELD_NUMBER;
  2702. hash = (53 * hash) + getSuffix().hashCode();
  2703. hash = (37 * hash) + OPENID_FIELD_NUMBER;
  2704. hash = (53 * hash) + getOpenId().hashCode();
  2705. hash = (37 * hash) + SOURCEUSER_FIELD_NUMBER;
  2706. hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  2707. getSourceUser());
  2708. hash = (37 * hash) + SOURCEROOMID_FIELD_NUMBER;
  2709. hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  2710. getSourceRoomId());
  2711. hash = (37 * hash) + SOURCEFRIEND_FIELD_NUMBER;
  2712. hash = (53 * hash) + getSourceFriend().hashCode();
  2713. hash = (37 * hash) + APPLYCONTENT_FIELD_NUMBER;
  2714. hash = (53 * hash) + getApplyContent().hashCode();
  2715. hash = (37 * hash) + REMARK_FIELD_NUMBER;
  2716. hash = (53 * hash) + getRemark().hashCode();
  2717. hash = (37 * hash) + COMPANYREMARK_FIELD_NUMBER;
  2718. hash = (53 * hash) + getCompanyRemark().hashCode();
  2719. if (getPhoneRemarkCount() > 0) {
  2720. hash = (37 * hash) + PHONEREMARK_FIELD_NUMBER;
  2721. hash = (53 * hash) + getPhoneRemarkList().hashCode();
  2722. }
  2723. hash = (37 * hash) + DESC_FIELD_NUMBER;
  2724. hash = (53 * hash) + getDesc().hashCode();
  2725. hash = (37 * hash) + DESCURL_FIELD_NUMBER;
  2726. hash = (53 * hash) + getDescUrl().hashCode();
  2727. hash = (37 * hash) + ATTR_FIELD_NUMBER;
  2728. hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  2729. getAttr());
  2730. hash = (37 * hash) + ATTR2_FIELD_NUMBER;
  2731. hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  2732. getAttr2());
  2733. hash = (37 * hash) + ATTR3_FIELD_NUMBER;
  2734. hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  2735. getAttr3());
  2736. hash = (37 * hash) + APPLYTIME_FIELD_NUMBER;
  2737. hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  2738. getApplyTime());
  2739. hash = (29 * hash) + unknownFields.hashCode();
  2740. memoizedHashCode = hash;
  2741. return hash;
  2742. }
  2743. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage parseFrom(
  2744. java.nio.ByteBuffer data)
  2745. throws com.google.protobuf.InvalidProtocolBufferException {
  2746. return PARSER.parseFrom(data);
  2747. }
  2748. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage parseFrom(
  2749. java.nio.ByteBuffer data,
  2750. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2751. throws com.google.protobuf.InvalidProtocolBufferException {
  2752. return PARSER.parseFrom(data, extensionRegistry);
  2753. }
  2754. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage parseFrom(
  2755. com.google.protobuf.ByteString data)
  2756. throws com.google.protobuf.InvalidProtocolBufferException {
  2757. return PARSER.parseFrom(data);
  2758. }
  2759. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage parseFrom(
  2760. com.google.protobuf.ByteString data,
  2761. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2762. throws com.google.protobuf.InvalidProtocolBufferException {
  2763. return PARSER.parseFrom(data, extensionRegistry);
  2764. }
  2765. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage parseFrom(byte[] data)
  2766. throws com.google.protobuf.InvalidProtocolBufferException {
  2767. return PARSER.parseFrom(data);
  2768. }
  2769. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage parseFrom(
  2770. byte[] data,
  2771. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2772. throws com.google.protobuf.InvalidProtocolBufferException {
  2773. return PARSER.parseFrom(data, extensionRegistry);
  2774. }
  2775. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage parseFrom(java.io.InputStream input)
  2776. throws java.io.IOException {
  2777. return com.google.protobuf.GeneratedMessageV3
  2778. .parseWithIOException(PARSER, input);
  2779. }
  2780. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage parseFrom(
  2781. java.io.InputStream input,
  2782. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2783. throws java.io.IOException {
  2784. return com.google.protobuf.GeneratedMessageV3
  2785. .parseWithIOException(PARSER, input, extensionRegistry);
  2786. }
  2787. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage parseDelimitedFrom(java.io.InputStream input)
  2788. throws java.io.IOException {
  2789. return com.google.protobuf.GeneratedMessageV3
  2790. .parseDelimitedWithIOException(PARSER, input);
  2791. }
  2792. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage parseDelimitedFrom(
  2793. java.io.InputStream input,
  2794. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2795. throws java.io.IOException {
  2796. return com.google.protobuf.GeneratedMessageV3
  2797. .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  2798. }
  2799. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage parseFrom(
  2800. com.google.protobuf.CodedInputStream input)
  2801. throws java.io.IOException {
  2802. return com.google.protobuf.GeneratedMessageV3
  2803. .parseWithIOException(PARSER, input);
  2804. }
  2805. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage parseFrom(
  2806. com.google.protobuf.CodedInputStream input,
  2807. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2808. throws java.io.IOException {
  2809. return com.google.protobuf.GeneratedMessageV3
  2810. .parseWithIOException(PARSER, input, extensionRegistry);
  2811. }
  2812. @java.lang.Override
  2813. public Builder newBuilderForType() { return newBuilder(); }
  2814. public static Builder newBuilder() {
  2815. return DEFAULT_INSTANCE.toBuilder();
  2816. }
  2817. public static Builder newBuilder(Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage prototype) {
  2818. return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  2819. }
  2820. @java.lang.Override
  2821. public Builder toBuilder() {
  2822. return this == DEFAULT_INSTANCE
  2823. ? new Builder() : new Builder().mergeFrom(this);
  2824. }
  2825. @java.lang.Override
  2826. protected Builder newBuilderForType(
  2827. com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  2828. Builder builder = new Builder(parent);
  2829. return builder;
  2830. }
  2831. /**
  2832. * Protobuf type {@code Im.Scrm.Ww.Proto.CustomerMessage}
  2833. */
  2834. public static final class Builder extends
  2835. com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
  2836. // @@protoc_insertion_point(builder_implements:Im.Scrm.Ww.Proto.CustomerMessage)
  2837. Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessageOrBuilder {
  2838. public static final com.google.protobuf.Descriptors.Descriptor
  2839. getDescriptor() {
  2840. return Im.Scrm.Ww.Proto.WCustomerPushNotice.internal_static_Im_Scrm_Ww_Proto_CustomerMessage_descriptor;
  2841. }
  2842. @java.lang.Override
  2843. protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  2844. internalGetFieldAccessorTable() {
  2845. return Im.Scrm.Ww.Proto.WCustomerPushNotice.internal_static_Im_Scrm_Ww_Proto_CustomerMessage_fieldAccessorTable
  2846. .ensureFieldAccessorsInitialized(
  2847. Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.class, Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.Builder.class);
  2848. }
  2849. // Construct using Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.newBuilder()
  2850. private Builder() {
  2851. maybeForceBuilderInitialization();
  2852. }
  2853. private Builder(
  2854. com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  2855. super(parent);
  2856. maybeForceBuilderInitialization();
  2857. }
  2858. private void maybeForceBuilderInitialization() {
  2859. if (com.google.protobuf.GeneratedMessageV3
  2860. .alwaysUseFieldBuilders) {
  2861. }
  2862. }
  2863. @java.lang.Override
  2864. public Builder clear() {
  2865. super.clear();
  2866. remoteId_ = 0L;
  2867. name_ = "";
  2868. alias_ = "";
  2869. avatar_ = "";
  2870. mobile_ = "";
  2871. unionId_ = "";
  2872. gender_ = 0;
  2873. corpId_ = 0L;
  2874. addTime_ = 0;
  2875. source_ = 0;
  2876. labelIds_ = emptyLongList();
  2877. bitField0_ = (bitField0_ & ~0x00000001);
  2878. suffix_ = "";
  2879. openId_ = "";
  2880. sourceUser_ = 0L;
  2881. sourceRoomId_ = 0L;
  2882. sourceFriend_ = "";
  2883. applyContent_ = "";
  2884. remark_ = "";
  2885. companyRemark_ = "";
  2886. phoneRemark_ = com.google.protobuf.LazyStringArrayList.EMPTY;
  2887. bitField0_ = (bitField0_ & ~0x00000002);
  2888. desc_ = "";
  2889. descUrl_ = "";
  2890. attr_ = 0L;
  2891. attr2_ = 0L;
  2892. attr3_ = 0L;
  2893. applyTime_ = 0L;
  2894. return this;
  2895. }
  2896. @java.lang.Override
  2897. public com.google.protobuf.Descriptors.Descriptor
  2898. getDescriptorForType() {
  2899. return Im.Scrm.Ww.Proto.WCustomerPushNotice.internal_static_Im_Scrm_Ww_Proto_CustomerMessage_descriptor;
  2900. }
  2901. @java.lang.Override
  2902. public Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage getDefaultInstanceForType() {
  2903. return Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.getDefaultInstance();
  2904. }
  2905. @java.lang.Override
  2906. public Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage build() {
  2907. Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage result = buildPartial();
  2908. if (!result.isInitialized()) {
  2909. throw newUninitializedMessageException(result);
  2910. }
  2911. return result;
  2912. }
  2913. @java.lang.Override
  2914. public Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage buildPartial() {
  2915. Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage result = new Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage(this);
  2916. int from_bitField0_ = bitField0_;
  2917. result.remoteId_ = remoteId_;
  2918. result.name_ = name_;
  2919. result.alias_ = alias_;
  2920. result.avatar_ = avatar_;
  2921. result.mobile_ = mobile_;
  2922. result.unionId_ = unionId_;
  2923. result.gender_ = gender_;
  2924. result.corpId_ = corpId_;
  2925. result.addTime_ = addTime_;
  2926. result.source_ = source_;
  2927. if (((bitField0_ & 0x00000001) != 0)) {
  2928. labelIds_.makeImmutable();
  2929. bitField0_ = (bitField0_ & ~0x00000001);
  2930. }
  2931. result.labelIds_ = labelIds_;
  2932. result.suffix_ = suffix_;
  2933. result.openId_ = openId_;
  2934. result.sourceUser_ = sourceUser_;
  2935. result.sourceRoomId_ = sourceRoomId_;
  2936. result.sourceFriend_ = sourceFriend_;
  2937. result.applyContent_ = applyContent_;
  2938. result.remark_ = remark_;
  2939. result.companyRemark_ = companyRemark_;
  2940. if (((bitField0_ & 0x00000002) != 0)) {
  2941. phoneRemark_ = phoneRemark_.getUnmodifiableView();
  2942. bitField0_ = (bitField0_ & ~0x00000002);
  2943. }
  2944. result.phoneRemark_ = phoneRemark_;
  2945. result.desc_ = desc_;
  2946. result.descUrl_ = descUrl_;
  2947. result.attr_ = attr_;
  2948. result.attr2_ = attr2_;
  2949. result.attr3_ = attr3_;
  2950. result.applyTime_ = applyTime_;
  2951. onBuilt();
  2952. return result;
  2953. }
  2954. @java.lang.Override
  2955. public Builder clone() {
  2956. return super.clone();
  2957. }
  2958. @java.lang.Override
  2959. public Builder setField(
  2960. com.google.protobuf.Descriptors.FieldDescriptor field,
  2961. java.lang.Object value) {
  2962. return super.setField(field, value);
  2963. }
  2964. @java.lang.Override
  2965. public Builder clearField(
  2966. com.google.protobuf.Descriptors.FieldDescriptor field) {
  2967. return super.clearField(field);
  2968. }
  2969. @java.lang.Override
  2970. public Builder clearOneof(
  2971. com.google.protobuf.Descriptors.OneofDescriptor oneof) {
  2972. return super.clearOneof(oneof);
  2973. }
  2974. @java.lang.Override
  2975. public Builder setRepeatedField(
  2976. com.google.protobuf.Descriptors.FieldDescriptor field,
  2977. int index, java.lang.Object value) {
  2978. return super.setRepeatedField(field, index, value);
  2979. }
  2980. @java.lang.Override
  2981. public Builder addRepeatedField(
  2982. com.google.protobuf.Descriptors.FieldDescriptor field,
  2983. java.lang.Object value) {
  2984. return super.addRepeatedField(field, value);
  2985. }
  2986. @java.lang.Override
  2987. public Builder mergeFrom(com.google.protobuf.Message other) {
  2988. if (other instanceof Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage) {
  2989. return mergeFrom((Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage)other);
  2990. } else {
  2991. super.mergeFrom(other);
  2992. return this;
  2993. }
  2994. }
  2995. public Builder mergeFrom(Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage other) {
  2996. if (other == Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.getDefaultInstance()) return this;
  2997. if (other.getRemoteId() != 0L) {
  2998. setRemoteId(other.getRemoteId());
  2999. }
  3000. if (!other.getName().isEmpty()) {
  3001. name_ = other.name_;
  3002. onChanged();
  3003. }
  3004. if (!other.getAlias().isEmpty()) {
  3005. alias_ = other.alias_;
  3006. onChanged();
  3007. }
  3008. if (!other.getAvatar().isEmpty()) {
  3009. avatar_ = other.avatar_;
  3010. onChanged();
  3011. }
  3012. if (!other.getMobile().isEmpty()) {
  3013. mobile_ = other.mobile_;
  3014. onChanged();
  3015. }
  3016. if (!other.getUnionId().isEmpty()) {
  3017. unionId_ = other.unionId_;
  3018. onChanged();
  3019. }
  3020. if (other.gender_ != 0) {
  3021. setGenderValue(other.getGenderValue());
  3022. }
  3023. if (other.getCorpId() != 0L) {
  3024. setCorpId(other.getCorpId());
  3025. }
  3026. if (other.getAddTime() != 0) {
  3027. setAddTime(other.getAddTime());
  3028. }
  3029. if (other.getSource() != 0) {
  3030. setSource(other.getSource());
  3031. }
  3032. if (!other.labelIds_.isEmpty()) {
  3033. if (labelIds_.isEmpty()) {
  3034. labelIds_ = other.labelIds_;
  3035. bitField0_ = (bitField0_ & ~0x00000001);
  3036. } else {
  3037. ensureLabelIdsIsMutable();
  3038. labelIds_.addAll(other.labelIds_);
  3039. }
  3040. onChanged();
  3041. }
  3042. if (!other.getSuffix().isEmpty()) {
  3043. suffix_ = other.suffix_;
  3044. onChanged();
  3045. }
  3046. if (!other.getOpenId().isEmpty()) {
  3047. openId_ = other.openId_;
  3048. onChanged();
  3049. }
  3050. if (other.getSourceUser() != 0L) {
  3051. setSourceUser(other.getSourceUser());
  3052. }
  3053. if (other.getSourceRoomId() != 0L) {
  3054. setSourceRoomId(other.getSourceRoomId());
  3055. }
  3056. if (!other.getSourceFriend().isEmpty()) {
  3057. sourceFriend_ = other.sourceFriend_;
  3058. onChanged();
  3059. }
  3060. if (!other.getApplyContent().isEmpty()) {
  3061. applyContent_ = other.applyContent_;
  3062. onChanged();
  3063. }
  3064. if (!other.getRemark().isEmpty()) {
  3065. remark_ = other.remark_;
  3066. onChanged();
  3067. }
  3068. if (!other.getCompanyRemark().isEmpty()) {
  3069. companyRemark_ = other.companyRemark_;
  3070. onChanged();
  3071. }
  3072. if (!other.phoneRemark_.isEmpty()) {
  3073. if (phoneRemark_.isEmpty()) {
  3074. phoneRemark_ = other.phoneRemark_;
  3075. bitField0_ = (bitField0_ & ~0x00000002);
  3076. } else {
  3077. ensurePhoneRemarkIsMutable();
  3078. phoneRemark_.addAll(other.phoneRemark_);
  3079. }
  3080. onChanged();
  3081. }
  3082. if (!other.getDesc().isEmpty()) {
  3083. desc_ = other.desc_;
  3084. onChanged();
  3085. }
  3086. if (!other.getDescUrl().isEmpty()) {
  3087. descUrl_ = other.descUrl_;
  3088. onChanged();
  3089. }
  3090. if (other.getAttr() != 0L) {
  3091. setAttr(other.getAttr());
  3092. }
  3093. if (other.getAttr2() != 0L) {
  3094. setAttr2(other.getAttr2());
  3095. }
  3096. if (other.getAttr3() != 0L) {
  3097. setAttr3(other.getAttr3());
  3098. }
  3099. if (other.getApplyTime() != 0L) {
  3100. setApplyTime(other.getApplyTime());
  3101. }
  3102. this.mergeUnknownFields(other.unknownFields);
  3103. onChanged();
  3104. return this;
  3105. }
  3106. @java.lang.Override
  3107. public final boolean isInitialized() {
  3108. return true;
  3109. }
  3110. @java.lang.Override
  3111. public Builder mergeFrom(
  3112. com.google.protobuf.CodedInputStream input,
  3113. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  3114. throws java.io.IOException {
  3115. Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage parsedMessage = null;
  3116. try {
  3117. parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
  3118. } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  3119. parsedMessage = (Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage) e.getUnfinishedMessage();
  3120. throw e.unwrapIOException();
  3121. } finally {
  3122. if (parsedMessage != null) {
  3123. mergeFrom(parsedMessage);
  3124. }
  3125. }
  3126. return this;
  3127. }
  3128. private int bitField0_;
  3129. private long remoteId_ ;
  3130. /**
  3131. * <pre>
  3132. *唯一id (RemoteId&gt;&gt;48==20 App; RemoteId&gt;&gt;48==28 微信用户; RemoteId&gt;&gt;48==33,34 外部客户; RemoteId&gt;&gt;48==39 群机器人; RemoteId&gt;&gt;48==30 内部客服; RemoteId&gt;&gt;48==32 VIP客户;)
  3133. * </pre>
  3134. *
  3135. * <code>int64 RemoteId = 1;</code>
  3136. * @return The remoteId.
  3137. */
  3138. public long getRemoteId() {
  3139. return remoteId_;
  3140. }
  3141. /**
  3142. * <pre>
  3143. *唯一id (RemoteId&gt;&gt;48==20 App; RemoteId&gt;&gt;48==28 微信用户; RemoteId&gt;&gt;48==33,34 外部客户; RemoteId&gt;&gt;48==39 群机器人; RemoteId&gt;&gt;48==30 内部客服; RemoteId&gt;&gt;48==32 VIP客户;)
  3144. * </pre>
  3145. *
  3146. * <code>int64 RemoteId = 1;</code>
  3147. * @param value The remoteId to set.
  3148. * @return This builder for chaining.
  3149. */
  3150. public Builder setRemoteId(long value) {
  3151. remoteId_ = value;
  3152. onChanged();
  3153. return this;
  3154. }
  3155. /**
  3156. * <pre>
  3157. *唯一id (RemoteId&gt;&gt;48==20 App; RemoteId&gt;&gt;48==28 微信用户; RemoteId&gt;&gt;48==33,34 外部客户; RemoteId&gt;&gt;48==39 群机器人; RemoteId&gt;&gt;48==30 内部客服; RemoteId&gt;&gt;48==32 VIP客户;)
  3158. * </pre>
  3159. *
  3160. * <code>int64 RemoteId = 1;</code>
  3161. * @return This builder for chaining.
  3162. */
  3163. public Builder clearRemoteId() {
  3164. remoteId_ = 0L;
  3165. onChanged();
  3166. return this;
  3167. }
  3168. private java.lang.Object name_ = "";
  3169. /**
  3170. * <code>string Name = 2;</code>
  3171. * @return The name.
  3172. */
  3173. public java.lang.String getName() {
  3174. java.lang.Object ref = name_;
  3175. if (!(ref instanceof java.lang.String)) {
  3176. com.google.protobuf.ByteString bs =
  3177. (com.google.protobuf.ByteString) ref;
  3178. java.lang.String s = bs.toStringUtf8();
  3179. name_ = s;
  3180. return s;
  3181. } else {
  3182. return (java.lang.String) ref;
  3183. }
  3184. }
  3185. /**
  3186. * <code>string Name = 2;</code>
  3187. * @return The bytes for name.
  3188. */
  3189. public com.google.protobuf.ByteString
  3190. getNameBytes() {
  3191. java.lang.Object ref = name_;
  3192. if (ref instanceof String) {
  3193. com.google.protobuf.ByteString b =
  3194. com.google.protobuf.ByteString.copyFromUtf8(
  3195. (java.lang.String) ref);
  3196. name_ = b;
  3197. return b;
  3198. } else {
  3199. return (com.google.protobuf.ByteString) ref;
  3200. }
  3201. }
  3202. /**
  3203. * <code>string Name = 2;</code>
  3204. * @param value The name to set.
  3205. * @return This builder for chaining.
  3206. */
  3207. public Builder setName(
  3208. java.lang.String value) {
  3209. if (value == null) {
  3210. throw new NullPointerException();
  3211. }
  3212. name_ = value;
  3213. onChanged();
  3214. return this;
  3215. }
  3216. /**
  3217. * <code>string Name = 2;</code>
  3218. * @return This builder for chaining.
  3219. */
  3220. public Builder clearName() {
  3221. name_ = getDefaultInstance().getName();
  3222. onChanged();
  3223. return this;
  3224. }
  3225. /**
  3226. * <code>string Name = 2;</code>
  3227. * @param value The bytes for name to set.
  3228. * @return This builder for chaining.
  3229. */
  3230. public Builder setNameBytes(
  3231. com.google.protobuf.ByteString value) {
  3232. if (value == null) {
  3233. throw new NullPointerException();
  3234. }
  3235. checkByteStringIsUtf8(value);
  3236. name_ = value;
  3237. onChanged();
  3238. return this;
  3239. }
  3240. private java.lang.Object alias_ = "";
  3241. /**
  3242. * <code>string Alias = 3;</code>
  3243. * @return The alias.
  3244. */
  3245. public java.lang.String getAlias() {
  3246. java.lang.Object ref = alias_;
  3247. if (!(ref instanceof java.lang.String)) {
  3248. com.google.protobuf.ByteString bs =
  3249. (com.google.protobuf.ByteString) ref;
  3250. java.lang.String s = bs.toStringUtf8();
  3251. alias_ = s;
  3252. return s;
  3253. } else {
  3254. return (java.lang.String) ref;
  3255. }
  3256. }
  3257. /**
  3258. * <code>string Alias = 3;</code>
  3259. * @return The bytes for alias.
  3260. */
  3261. public com.google.protobuf.ByteString
  3262. getAliasBytes() {
  3263. java.lang.Object ref = alias_;
  3264. if (ref instanceof String) {
  3265. com.google.protobuf.ByteString b =
  3266. com.google.protobuf.ByteString.copyFromUtf8(
  3267. (java.lang.String) ref);
  3268. alias_ = b;
  3269. return b;
  3270. } else {
  3271. return (com.google.protobuf.ByteString) ref;
  3272. }
  3273. }
  3274. /**
  3275. * <code>string Alias = 3;</code>
  3276. * @param value The alias to set.
  3277. * @return This builder for chaining.
  3278. */
  3279. public Builder setAlias(
  3280. java.lang.String value) {
  3281. if (value == null) {
  3282. throw new NullPointerException();
  3283. }
  3284. alias_ = value;
  3285. onChanged();
  3286. return this;
  3287. }
  3288. /**
  3289. * <code>string Alias = 3;</code>
  3290. * @return This builder for chaining.
  3291. */
  3292. public Builder clearAlias() {
  3293. alias_ = getDefaultInstance().getAlias();
  3294. onChanged();
  3295. return this;
  3296. }
  3297. /**
  3298. * <code>string Alias = 3;</code>
  3299. * @param value The bytes for alias to set.
  3300. * @return This builder for chaining.
  3301. */
  3302. public Builder setAliasBytes(
  3303. com.google.protobuf.ByteString value) {
  3304. if (value == null) {
  3305. throw new NullPointerException();
  3306. }
  3307. checkByteStringIsUtf8(value);
  3308. alias_ = value;
  3309. onChanged();
  3310. return this;
  3311. }
  3312. private java.lang.Object avatar_ = "";
  3313. /**
  3314. * <code>string Avatar = 4;</code>
  3315. * @return The avatar.
  3316. */
  3317. public java.lang.String getAvatar() {
  3318. java.lang.Object ref = avatar_;
  3319. if (!(ref instanceof java.lang.String)) {
  3320. com.google.protobuf.ByteString bs =
  3321. (com.google.protobuf.ByteString) ref;
  3322. java.lang.String s = bs.toStringUtf8();
  3323. avatar_ = s;
  3324. return s;
  3325. } else {
  3326. return (java.lang.String) ref;
  3327. }
  3328. }
  3329. /**
  3330. * <code>string Avatar = 4;</code>
  3331. * @return The bytes for avatar.
  3332. */
  3333. public com.google.protobuf.ByteString
  3334. getAvatarBytes() {
  3335. java.lang.Object ref = avatar_;
  3336. if (ref instanceof String) {
  3337. com.google.protobuf.ByteString b =
  3338. com.google.protobuf.ByteString.copyFromUtf8(
  3339. (java.lang.String) ref);
  3340. avatar_ = b;
  3341. return b;
  3342. } else {
  3343. return (com.google.protobuf.ByteString) ref;
  3344. }
  3345. }
  3346. /**
  3347. * <code>string Avatar = 4;</code>
  3348. * @param value The avatar to set.
  3349. * @return This builder for chaining.
  3350. */
  3351. public Builder setAvatar(
  3352. java.lang.String value) {
  3353. if (value == null) {
  3354. throw new NullPointerException();
  3355. }
  3356. avatar_ = value;
  3357. onChanged();
  3358. return this;
  3359. }
  3360. /**
  3361. * <code>string Avatar = 4;</code>
  3362. * @return This builder for chaining.
  3363. */
  3364. public Builder clearAvatar() {
  3365. avatar_ = getDefaultInstance().getAvatar();
  3366. onChanged();
  3367. return this;
  3368. }
  3369. /**
  3370. * <code>string Avatar = 4;</code>
  3371. * @param value The bytes for avatar to set.
  3372. * @return This builder for chaining.
  3373. */
  3374. public Builder setAvatarBytes(
  3375. com.google.protobuf.ByteString value) {
  3376. if (value == null) {
  3377. throw new NullPointerException();
  3378. }
  3379. checkByteStringIsUtf8(value);
  3380. avatar_ = value;
  3381. onChanged();
  3382. return this;
  3383. }
  3384. private java.lang.Object mobile_ = "";
  3385. /**
  3386. * <code>string Mobile = 5;</code>
  3387. * @return The mobile.
  3388. */
  3389. public java.lang.String getMobile() {
  3390. java.lang.Object ref = mobile_;
  3391. if (!(ref instanceof java.lang.String)) {
  3392. com.google.protobuf.ByteString bs =
  3393. (com.google.protobuf.ByteString) ref;
  3394. java.lang.String s = bs.toStringUtf8();
  3395. mobile_ = s;
  3396. return s;
  3397. } else {
  3398. return (java.lang.String) ref;
  3399. }
  3400. }
  3401. /**
  3402. * <code>string Mobile = 5;</code>
  3403. * @return The bytes for mobile.
  3404. */
  3405. public com.google.protobuf.ByteString
  3406. getMobileBytes() {
  3407. java.lang.Object ref = mobile_;
  3408. if (ref instanceof String) {
  3409. com.google.protobuf.ByteString b =
  3410. com.google.protobuf.ByteString.copyFromUtf8(
  3411. (java.lang.String) ref);
  3412. mobile_ = b;
  3413. return b;
  3414. } else {
  3415. return (com.google.protobuf.ByteString) ref;
  3416. }
  3417. }
  3418. /**
  3419. * <code>string Mobile = 5;</code>
  3420. * @param value The mobile to set.
  3421. * @return This builder for chaining.
  3422. */
  3423. public Builder setMobile(
  3424. java.lang.String value) {
  3425. if (value == null) {
  3426. throw new NullPointerException();
  3427. }
  3428. mobile_ = value;
  3429. onChanged();
  3430. return this;
  3431. }
  3432. /**
  3433. * <code>string Mobile = 5;</code>
  3434. * @return This builder for chaining.
  3435. */
  3436. public Builder clearMobile() {
  3437. mobile_ = getDefaultInstance().getMobile();
  3438. onChanged();
  3439. return this;
  3440. }
  3441. /**
  3442. * <code>string Mobile = 5;</code>
  3443. * @param value The bytes for mobile to set.
  3444. * @return This builder for chaining.
  3445. */
  3446. public Builder setMobileBytes(
  3447. com.google.protobuf.ByteString value) {
  3448. if (value == null) {
  3449. throw new NullPointerException();
  3450. }
  3451. checkByteStringIsUtf8(value);
  3452. mobile_ = value;
  3453. onChanged();
  3454. return this;
  3455. }
  3456. private java.lang.Object unionId_ = "";
  3457. /**
  3458. * <pre>
  3459. * 微信UnionId,可能为空
  3460. * </pre>
  3461. *
  3462. * <code>string UnionId = 6;</code>
  3463. * @return The unionId.
  3464. */
  3465. public java.lang.String getUnionId() {
  3466. java.lang.Object ref = unionId_;
  3467. if (!(ref instanceof java.lang.String)) {
  3468. com.google.protobuf.ByteString bs =
  3469. (com.google.protobuf.ByteString) ref;
  3470. java.lang.String s = bs.toStringUtf8();
  3471. unionId_ = s;
  3472. return s;
  3473. } else {
  3474. return (java.lang.String) ref;
  3475. }
  3476. }
  3477. /**
  3478. * <pre>
  3479. * 微信UnionId,可能为空
  3480. * </pre>
  3481. *
  3482. * <code>string UnionId = 6;</code>
  3483. * @return The bytes for unionId.
  3484. */
  3485. public com.google.protobuf.ByteString
  3486. getUnionIdBytes() {
  3487. java.lang.Object ref = unionId_;
  3488. if (ref instanceof String) {
  3489. com.google.protobuf.ByteString b =
  3490. com.google.protobuf.ByteString.copyFromUtf8(
  3491. (java.lang.String) ref);
  3492. unionId_ = b;
  3493. return b;
  3494. } else {
  3495. return (com.google.protobuf.ByteString) ref;
  3496. }
  3497. }
  3498. /**
  3499. * <pre>
  3500. * 微信UnionId,可能为空
  3501. * </pre>
  3502. *
  3503. * <code>string UnionId = 6;</code>
  3504. * @param value The unionId to set.
  3505. * @return This builder for chaining.
  3506. */
  3507. public Builder setUnionId(
  3508. java.lang.String value) {
  3509. if (value == null) {
  3510. throw new NullPointerException();
  3511. }
  3512. unionId_ = value;
  3513. onChanged();
  3514. return this;
  3515. }
  3516. /**
  3517. * <pre>
  3518. * 微信UnionId,可能为空
  3519. * </pre>
  3520. *
  3521. * <code>string UnionId = 6;</code>
  3522. * @return This builder for chaining.
  3523. */
  3524. public Builder clearUnionId() {
  3525. unionId_ = getDefaultInstance().getUnionId();
  3526. onChanged();
  3527. return this;
  3528. }
  3529. /**
  3530. * <pre>
  3531. * 微信UnionId,可能为空
  3532. * </pre>
  3533. *
  3534. * <code>string UnionId = 6;</code>
  3535. * @param value The bytes for unionId to set.
  3536. * @return This builder for chaining.
  3537. */
  3538. public Builder setUnionIdBytes(
  3539. com.google.protobuf.ByteString value) {
  3540. if (value == null) {
  3541. throw new NullPointerException();
  3542. }
  3543. checkByteStringIsUtf8(value);
  3544. unionId_ = value;
  3545. onChanged();
  3546. return this;
  3547. }
  3548. private int gender_ = 0;
  3549. /**
  3550. * <code>.Im.Scrm.Ww.Proto.EnumGender Gender = 7;</code>
  3551. * @return The enum numeric value on the wire for gender.
  3552. */
  3553. public int getGenderValue() {
  3554. return gender_;
  3555. }
  3556. /**
  3557. * <code>.Im.Scrm.Ww.Proto.EnumGender Gender = 7;</code>
  3558. * @param value The enum numeric value on the wire for gender to set.
  3559. * @return This builder for chaining.
  3560. */
  3561. public Builder setGenderValue(int value) {
  3562. gender_ = value;
  3563. onChanged();
  3564. return this;
  3565. }
  3566. /**
  3567. * <code>.Im.Scrm.Ww.Proto.EnumGender Gender = 7;</code>
  3568. * @return The gender.
  3569. */
  3570. public Im.Scrm.Ww.Proto.WTransport.EnumGender getGender() {
  3571. @SuppressWarnings("deprecation")
  3572. Im.Scrm.Ww.Proto.WTransport.EnumGender result = Im.Scrm.Ww.Proto.WTransport.EnumGender.valueOf(gender_);
  3573. return result == null ? Im.Scrm.Ww.Proto.WTransport.EnumGender.UNRECOGNIZED : result;
  3574. }
  3575. /**
  3576. * <code>.Im.Scrm.Ww.Proto.EnumGender Gender = 7;</code>
  3577. * @param value The gender to set.
  3578. * @return This builder for chaining.
  3579. */
  3580. public Builder setGender(Im.Scrm.Ww.Proto.WTransport.EnumGender value) {
  3581. if (value == null) {
  3582. throw new NullPointerException();
  3583. }
  3584. gender_ = value.getNumber();
  3585. onChanged();
  3586. return this;
  3587. }
  3588. /**
  3589. * <code>.Im.Scrm.Ww.Proto.EnumGender Gender = 7;</code>
  3590. * @return This builder for chaining.
  3591. */
  3592. public Builder clearGender() {
  3593. gender_ = 0;
  3594. onChanged();
  3595. return this;
  3596. }
  3597. private long corpId_ ;
  3598. /**
  3599. * <code>int64 CorpId = 8;</code>
  3600. * @return The corpId.
  3601. */
  3602. public long getCorpId() {
  3603. return corpId_;
  3604. }
  3605. /**
  3606. * <code>int64 CorpId = 8;</code>
  3607. * @param value The corpId to set.
  3608. * @return This builder for chaining.
  3609. */
  3610. public Builder setCorpId(long value) {
  3611. corpId_ = value;
  3612. onChanged();
  3613. return this;
  3614. }
  3615. /**
  3616. * <code>int64 CorpId = 8;</code>
  3617. * @return This builder for chaining.
  3618. */
  3619. public Builder clearCorpId() {
  3620. corpId_ = 0L;
  3621. onChanged();
  3622. return this;
  3623. }
  3624. private int addTime_ ;
  3625. /**
  3626. * <code>int32 AddTime = 9;</code>
  3627. * @return The addTime.
  3628. */
  3629. public int getAddTime() {
  3630. return addTime_;
  3631. }
  3632. /**
  3633. * <code>int32 AddTime = 9;</code>
  3634. * @param value The addTime to set.
  3635. * @return This builder for chaining.
  3636. */
  3637. public Builder setAddTime(int value) {
  3638. addTime_ = value;
  3639. onChanged();
  3640. return this;
  3641. }
  3642. /**
  3643. * <code>int32 AddTime = 9;</code>
  3644. * @return This builder for chaining.
  3645. */
  3646. public Builder clearAddTime() {
  3647. addTime_ = 0;
  3648. onChanged();
  3649. return this;
  3650. }
  3651. private int source_ ;
  3652. /**
  3653. * <pre>
  3654. * 添加来源
  3655. * </pre>
  3656. *
  3657. * <code>int32 Source = 10;</code>
  3658. * @return The source.
  3659. */
  3660. public int getSource() {
  3661. return source_;
  3662. }
  3663. /**
  3664. * <pre>
  3665. * 添加来源
  3666. * </pre>
  3667. *
  3668. * <code>int32 Source = 10;</code>
  3669. * @param value The source to set.
  3670. * @return This builder for chaining.
  3671. */
  3672. public Builder setSource(int value) {
  3673. source_ = value;
  3674. onChanged();
  3675. return this;
  3676. }
  3677. /**
  3678. * <pre>
  3679. * 添加来源
  3680. * </pre>
  3681. *
  3682. * <code>int32 Source = 10;</code>
  3683. * @return This builder for chaining.
  3684. */
  3685. public Builder clearSource() {
  3686. source_ = 0;
  3687. onChanged();
  3688. return this;
  3689. }
  3690. private com.google.protobuf.Internal.LongList labelIds_ = emptyLongList();
  3691. private void ensureLabelIdsIsMutable() {
  3692. if (!((bitField0_ & 0x00000001) != 0)) {
  3693. labelIds_ = mutableCopy(labelIds_);
  3694. bitField0_ |= 0x00000001;
  3695. }
  3696. }
  3697. /**
  3698. * <pre>
  3699. *设置的用户标签
  3700. * </pre>
  3701. *
  3702. * <code>repeated int64 LabelIds = 11;</code>
  3703. * @return A list containing the labelIds.
  3704. */
  3705. public java.util.List<java.lang.Long>
  3706. getLabelIdsList() {
  3707. return ((bitField0_ & 0x00000001) != 0) ?
  3708. java.util.Collections.unmodifiableList(labelIds_) : labelIds_;
  3709. }
  3710. /**
  3711. * <pre>
  3712. *设置的用户标签
  3713. * </pre>
  3714. *
  3715. * <code>repeated int64 LabelIds = 11;</code>
  3716. * @return The count of labelIds.
  3717. */
  3718. public int getLabelIdsCount() {
  3719. return labelIds_.size();
  3720. }
  3721. /**
  3722. * <pre>
  3723. *设置的用户标签
  3724. * </pre>
  3725. *
  3726. * <code>repeated int64 LabelIds = 11;</code>
  3727. * @param index The index of the element to return.
  3728. * @return The labelIds at the given index.
  3729. */
  3730. public long getLabelIds(int index) {
  3731. return labelIds_.getLong(index);
  3732. }
  3733. /**
  3734. * <pre>
  3735. *设置的用户标签
  3736. * </pre>
  3737. *
  3738. * <code>repeated int64 LabelIds = 11;</code>
  3739. * @param index The index to set the value at.
  3740. * @param value The labelIds to set.
  3741. * @return This builder for chaining.
  3742. */
  3743. public Builder setLabelIds(
  3744. int index, long value) {
  3745. ensureLabelIdsIsMutable();
  3746. labelIds_.setLong(index, value);
  3747. onChanged();
  3748. return this;
  3749. }
  3750. /**
  3751. * <pre>
  3752. *设置的用户标签
  3753. * </pre>
  3754. *
  3755. * <code>repeated int64 LabelIds = 11;</code>
  3756. * @param value The labelIds to add.
  3757. * @return This builder for chaining.
  3758. */
  3759. public Builder addLabelIds(long value) {
  3760. ensureLabelIdsIsMutable();
  3761. labelIds_.addLong(value);
  3762. onChanged();
  3763. return this;
  3764. }
  3765. /**
  3766. * <pre>
  3767. *设置的用户标签
  3768. * </pre>
  3769. *
  3770. * <code>repeated int64 LabelIds = 11;</code>
  3771. * @param values The labelIds to add.
  3772. * @return This builder for chaining.
  3773. */
  3774. public Builder addAllLabelIds(
  3775. java.lang.Iterable<? extends java.lang.Long> values) {
  3776. ensureLabelIdsIsMutable();
  3777. com.google.protobuf.AbstractMessageLite.Builder.addAll(
  3778. values, labelIds_);
  3779. onChanged();
  3780. return this;
  3781. }
  3782. /**
  3783. * <pre>
  3784. *设置的用户标签
  3785. * </pre>
  3786. *
  3787. * <code>repeated int64 LabelIds = 11;</code>
  3788. * @return This builder for chaining.
  3789. */
  3790. public Builder clearLabelIds() {
  3791. labelIds_ = emptyLongList();
  3792. bitField0_ = (bitField0_ & ~0x00000001);
  3793. onChanged();
  3794. return this;
  3795. }
  3796. private java.lang.Object suffix_ = "";
  3797. /**
  3798. * <pre>
  3799. * 后缀
  3800. * </pre>
  3801. *
  3802. * <code>string Suffix = 12;</code>
  3803. * @return The suffix.
  3804. */
  3805. public java.lang.String getSuffix() {
  3806. java.lang.Object ref = suffix_;
  3807. if (!(ref instanceof java.lang.String)) {
  3808. com.google.protobuf.ByteString bs =
  3809. (com.google.protobuf.ByteString) ref;
  3810. java.lang.String s = bs.toStringUtf8();
  3811. suffix_ = s;
  3812. return s;
  3813. } else {
  3814. return (java.lang.String) ref;
  3815. }
  3816. }
  3817. /**
  3818. * <pre>
  3819. * 后缀
  3820. * </pre>
  3821. *
  3822. * <code>string Suffix = 12;</code>
  3823. * @return The bytes for suffix.
  3824. */
  3825. public com.google.protobuf.ByteString
  3826. getSuffixBytes() {
  3827. java.lang.Object ref = suffix_;
  3828. if (ref instanceof String) {
  3829. com.google.protobuf.ByteString b =
  3830. com.google.protobuf.ByteString.copyFromUtf8(
  3831. (java.lang.String) ref);
  3832. suffix_ = b;
  3833. return b;
  3834. } else {
  3835. return (com.google.protobuf.ByteString) ref;
  3836. }
  3837. }
  3838. /**
  3839. * <pre>
  3840. * 后缀
  3841. * </pre>
  3842. *
  3843. * <code>string Suffix = 12;</code>
  3844. * @param value The suffix to set.
  3845. * @return This builder for chaining.
  3846. */
  3847. public Builder setSuffix(
  3848. java.lang.String value) {
  3849. if (value == null) {
  3850. throw new NullPointerException();
  3851. }
  3852. suffix_ = value;
  3853. onChanged();
  3854. return this;
  3855. }
  3856. /**
  3857. * <pre>
  3858. * 后缀
  3859. * </pre>
  3860. *
  3861. * <code>string Suffix = 12;</code>
  3862. * @return This builder for chaining.
  3863. */
  3864. public Builder clearSuffix() {
  3865. suffix_ = getDefaultInstance().getSuffix();
  3866. onChanged();
  3867. return this;
  3868. }
  3869. /**
  3870. * <pre>
  3871. * 后缀
  3872. * </pre>
  3873. *
  3874. * <code>string Suffix = 12;</code>
  3875. * @param value The bytes for suffix to set.
  3876. * @return This builder for chaining.
  3877. */
  3878. public Builder setSuffixBytes(
  3879. com.google.protobuf.ByteString value) {
  3880. if (value == null) {
  3881. throw new NullPointerException();
  3882. }
  3883. checkByteStringIsUtf8(value);
  3884. suffix_ = value;
  3885. onChanged();
  3886. return this;
  3887. }
  3888. private java.lang.Object openId_ = "";
  3889. /**
  3890. * <code>string OpenId = 13;</code>
  3891. * @return The openId.
  3892. */
  3893. public java.lang.String getOpenId() {
  3894. java.lang.Object ref = openId_;
  3895. if (!(ref instanceof java.lang.String)) {
  3896. com.google.protobuf.ByteString bs =
  3897. (com.google.protobuf.ByteString) ref;
  3898. java.lang.String s = bs.toStringUtf8();
  3899. openId_ = s;
  3900. return s;
  3901. } else {
  3902. return (java.lang.String) ref;
  3903. }
  3904. }
  3905. /**
  3906. * <code>string OpenId = 13;</code>
  3907. * @return The bytes for openId.
  3908. */
  3909. public com.google.protobuf.ByteString
  3910. getOpenIdBytes() {
  3911. java.lang.Object ref = openId_;
  3912. if (ref instanceof String) {
  3913. com.google.protobuf.ByteString b =
  3914. com.google.protobuf.ByteString.copyFromUtf8(
  3915. (java.lang.String) ref);
  3916. openId_ = b;
  3917. return b;
  3918. } else {
  3919. return (com.google.protobuf.ByteString) ref;
  3920. }
  3921. }
  3922. /**
  3923. * <code>string OpenId = 13;</code>
  3924. * @param value The openId to set.
  3925. * @return This builder for chaining.
  3926. */
  3927. public Builder setOpenId(
  3928. java.lang.String value) {
  3929. if (value == null) {
  3930. throw new NullPointerException();
  3931. }
  3932. openId_ = value;
  3933. onChanged();
  3934. return this;
  3935. }
  3936. /**
  3937. * <code>string OpenId = 13;</code>
  3938. * @return This builder for chaining.
  3939. */
  3940. public Builder clearOpenId() {
  3941. openId_ = getDefaultInstance().getOpenId();
  3942. onChanged();
  3943. return this;
  3944. }
  3945. /**
  3946. * <code>string OpenId = 13;</code>
  3947. * @param value The bytes for openId to set.
  3948. * @return This builder for chaining.
  3949. */
  3950. public Builder setOpenIdBytes(
  3951. com.google.protobuf.ByteString value) {
  3952. if (value == null) {
  3953. throw new NullPointerException();
  3954. }
  3955. checkByteStringIsUtf8(value);
  3956. openId_ = value;
  3957. onChanged();
  3958. return this;
  3959. }
  3960. private long sourceUser_ ;
  3961. /**
  3962. * <code>int64 SourceUser = 14;</code>
  3963. * @return The sourceUser.
  3964. */
  3965. public long getSourceUser() {
  3966. return sourceUser_;
  3967. }
  3968. /**
  3969. * <code>int64 SourceUser = 14;</code>
  3970. * @param value The sourceUser to set.
  3971. * @return This builder for chaining.
  3972. */
  3973. public Builder setSourceUser(long value) {
  3974. sourceUser_ = value;
  3975. onChanged();
  3976. return this;
  3977. }
  3978. /**
  3979. * <code>int64 SourceUser = 14;</code>
  3980. * @return This builder for chaining.
  3981. */
  3982. public Builder clearSourceUser() {
  3983. sourceUser_ = 0L;
  3984. onChanged();
  3985. return this;
  3986. }
  3987. private long sourceRoomId_ ;
  3988. /**
  3989. * <code>int64 SourceRoomId = 15;</code>
  3990. * @return The sourceRoomId.
  3991. */
  3992. public long getSourceRoomId() {
  3993. return sourceRoomId_;
  3994. }
  3995. /**
  3996. * <code>int64 SourceRoomId = 15;</code>
  3997. * @param value The sourceRoomId to set.
  3998. * @return This builder for chaining.
  3999. */
  4000. public Builder setSourceRoomId(long value) {
  4001. sourceRoomId_ = value;
  4002. onChanged();
  4003. return this;
  4004. }
  4005. /**
  4006. * <code>int64 SourceRoomId = 15;</code>
  4007. * @return This builder for chaining.
  4008. */
  4009. public Builder clearSourceRoomId() {
  4010. sourceRoomId_ = 0L;
  4011. onChanged();
  4012. return this;
  4013. }
  4014. private java.lang.Object sourceFriend_ = "";
  4015. /**
  4016. * <pre>
  4017. *来自微信好友(wxid)来自通讯录(电话号码)
  4018. * </pre>
  4019. *
  4020. * <code>string SourceFriend = 16;</code>
  4021. * @return The sourceFriend.
  4022. */
  4023. public java.lang.String getSourceFriend() {
  4024. java.lang.Object ref = sourceFriend_;
  4025. if (!(ref instanceof java.lang.String)) {
  4026. com.google.protobuf.ByteString bs =
  4027. (com.google.protobuf.ByteString) ref;
  4028. java.lang.String s = bs.toStringUtf8();
  4029. sourceFriend_ = s;
  4030. return s;
  4031. } else {
  4032. return (java.lang.String) ref;
  4033. }
  4034. }
  4035. /**
  4036. * <pre>
  4037. *来自微信好友(wxid)来自通讯录(电话号码)
  4038. * </pre>
  4039. *
  4040. * <code>string SourceFriend = 16;</code>
  4041. * @return The bytes for sourceFriend.
  4042. */
  4043. public com.google.protobuf.ByteString
  4044. getSourceFriendBytes() {
  4045. java.lang.Object ref = sourceFriend_;
  4046. if (ref instanceof String) {
  4047. com.google.protobuf.ByteString b =
  4048. com.google.protobuf.ByteString.copyFromUtf8(
  4049. (java.lang.String) ref);
  4050. sourceFriend_ = b;
  4051. return b;
  4052. } else {
  4053. return (com.google.protobuf.ByteString) ref;
  4054. }
  4055. }
  4056. /**
  4057. * <pre>
  4058. *来自微信好友(wxid)来自通讯录(电话号码)
  4059. * </pre>
  4060. *
  4061. * <code>string SourceFriend = 16;</code>
  4062. * @param value The sourceFriend to set.
  4063. * @return This builder for chaining.
  4064. */
  4065. public Builder setSourceFriend(
  4066. java.lang.String value) {
  4067. if (value == null) {
  4068. throw new NullPointerException();
  4069. }
  4070. sourceFriend_ = value;
  4071. onChanged();
  4072. return this;
  4073. }
  4074. /**
  4075. * <pre>
  4076. *来自微信好友(wxid)来自通讯录(电话号码)
  4077. * </pre>
  4078. *
  4079. * <code>string SourceFriend = 16;</code>
  4080. * @return This builder for chaining.
  4081. */
  4082. public Builder clearSourceFriend() {
  4083. sourceFriend_ = getDefaultInstance().getSourceFriend();
  4084. onChanged();
  4085. return this;
  4086. }
  4087. /**
  4088. * <pre>
  4089. *来自微信好友(wxid)来自通讯录(电话号码)
  4090. * </pre>
  4091. *
  4092. * <code>string SourceFriend = 16;</code>
  4093. * @param value The bytes for sourceFriend to set.
  4094. * @return This builder for chaining.
  4095. */
  4096. public Builder setSourceFriendBytes(
  4097. com.google.protobuf.ByteString value) {
  4098. if (value == null) {
  4099. throw new NullPointerException();
  4100. }
  4101. checkByteStringIsUtf8(value);
  4102. sourceFriend_ = value;
  4103. onChanged();
  4104. return this;
  4105. }
  4106. private java.lang.Object applyContent_ = "";
  4107. /**
  4108. * <code>string ApplyContent = 17;</code>
  4109. * @return The applyContent.
  4110. */
  4111. public java.lang.String getApplyContent() {
  4112. java.lang.Object ref = applyContent_;
  4113. if (!(ref instanceof java.lang.String)) {
  4114. com.google.protobuf.ByteString bs =
  4115. (com.google.protobuf.ByteString) ref;
  4116. java.lang.String s = bs.toStringUtf8();
  4117. applyContent_ = s;
  4118. return s;
  4119. } else {
  4120. return (java.lang.String) ref;
  4121. }
  4122. }
  4123. /**
  4124. * <code>string ApplyContent = 17;</code>
  4125. * @return The bytes for applyContent.
  4126. */
  4127. public com.google.protobuf.ByteString
  4128. getApplyContentBytes() {
  4129. java.lang.Object ref = applyContent_;
  4130. if (ref instanceof String) {
  4131. com.google.protobuf.ByteString b =
  4132. com.google.protobuf.ByteString.copyFromUtf8(
  4133. (java.lang.String) ref);
  4134. applyContent_ = b;
  4135. return b;
  4136. } else {
  4137. return (com.google.protobuf.ByteString) ref;
  4138. }
  4139. }
  4140. /**
  4141. * <code>string ApplyContent = 17;</code>
  4142. * @param value The applyContent to set.
  4143. * @return This builder for chaining.
  4144. */
  4145. public Builder setApplyContent(
  4146. java.lang.String value) {
  4147. if (value == null) {
  4148. throw new NullPointerException();
  4149. }
  4150. applyContent_ = value;
  4151. onChanged();
  4152. return this;
  4153. }
  4154. /**
  4155. * <code>string ApplyContent = 17;</code>
  4156. * @return This builder for chaining.
  4157. */
  4158. public Builder clearApplyContent() {
  4159. applyContent_ = getDefaultInstance().getApplyContent();
  4160. onChanged();
  4161. return this;
  4162. }
  4163. /**
  4164. * <code>string ApplyContent = 17;</code>
  4165. * @param value The bytes for applyContent to set.
  4166. * @return This builder for chaining.
  4167. */
  4168. public Builder setApplyContentBytes(
  4169. com.google.protobuf.ByteString value) {
  4170. if (value == null) {
  4171. throw new NullPointerException();
  4172. }
  4173. checkByteStringIsUtf8(value);
  4174. applyContent_ = value;
  4175. onChanged();
  4176. return this;
  4177. }
  4178. private java.lang.Object remark_ = "";
  4179. /**
  4180. * <code>string Remark = 18;</code>
  4181. * @return The remark.
  4182. */
  4183. public java.lang.String getRemark() {
  4184. java.lang.Object ref = remark_;
  4185. if (!(ref instanceof java.lang.String)) {
  4186. com.google.protobuf.ByteString bs =
  4187. (com.google.protobuf.ByteString) ref;
  4188. java.lang.String s = bs.toStringUtf8();
  4189. remark_ = s;
  4190. return s;
  4191. } else {
  4192. return (java.lang.String) ref;
  4193. }
  4194. }
  4195. /**
  4196. * <code>string Remark = 18;</code>
  4197. * @return The bytes for remark.
  4198. */
  4199. public com.google.protobuf.ByteString
  4200. getRemarkBytes() {
  4201. java.lang.Object ref = remark_;
  4202. if (ref instanceof String) {
  4203. com.google.protobuf.ByteString b =
  4204. com.google.protobuf.ByteString.copyFromUtf8(
  4205. (java.lang.String) ref);
  4206. remark_ = b;
  4207. return b;
  4208. } else {
  4209. return (com.google.protobuf.ByteString) ref;
  4210. }
  4211. }
  4212. /**
  4213. * <code>string Remark = 18;</code>
  4214. * @param value The remark to set.
  4215. * @return This builder for chaining.
  4216. */
  4217. public Builder setRemark(
  4218. java.lang.String value) {
  4219. if (value == null) {
  4220. throw new NullPointerException();
  4221. }
  4222. remark_ = value;
  4223. onChanged();
  4224. return this;
  4225. }
  4226. /**
  4227. * <code>string Remark = 18;</code>
  4228. * @return This builder for chaining.
  4229. */
  4230. public Builder clearRemark() {
  4231. remark_ = getDefaultInstance().getRemark();
  4232. onChanged();
  4233. return this;
  4234. }
  4235. /**
  4236. * <code>string Remark = 18;</code>
  4237. * @param value The bytes for remark to set.
  4238. * @return This builder for chaining.
  4239. */
  4240. public Builder setRemarkBytes(
  4241. com.google.protobuf.ByteString value) {
  4242. if (value == null) {
  4243. throw new NullPointerException();
  4244. }
  4245. checkByteStringIsUtf8(value);
  4246. remark_ = value;
  4247. onChanged();
  4248. return this;
  4249. }
  4250. private java.lang.Object companyRemark_ = "";
  4251. /**
  4252. * <code>string CompanyRemark = 19;</code>
  4253. * @return The companyRemark.
  4254. */
  4255. public java.lang.String getCompanyRemark() {
  4256. java.lang.Object ref = companyRemark_;
  4257. if (!(ref instanceof java.lang.String)) {
  4258. com.google.protobuf.ByteString bs =
  4259. (com.google.protobuf.ByteString) ref;
  4260. java.lang.String s = bs.toStringUtf8();
  4261. companyRemark_ = s;
  4262. return s;
  4263. } else {
  4264. return (java.lang.String) ref;
  4265. }
  4266. }
  4267. /**
  4268. * <code>string CompanyRemark = 19;</code>
  4269. * @return The bytes for companyRemark.
  4270. */
  4271. public com.google.protobuf.ByteString
  4272. getCompanyRemarkBytes() {
  4273. java.lang.Object ref = companyRemark_;
  4274. if (ref instanceof String) {
  4275. com.google.protobuf.ByteString b =
  4276. com.google.protobuf.ByteString.copyFromUtf8(
  4277. (java.lang.String) ref);
  4278. companyRemark_ = b;
  4279. return b;
  4280. } else {
  4281. return (com.google.protobuf.ByteString) ref;
  4282. }
  4283. }
  4284. /**
  4285. * <code>string CompanyRemark = 19;</code>
  4286. * @param value The companyRemark to set.
  4287. * @return This builder for chaining.
  4288. */
  4289. public Builder setCompanyRemark(
  4290. java.lang.String value) {
  4291. if (value == null) {
  4292. throw new NullPointerException();
  4293. }
  4294. companyRemark_ = value;
  4295. onChanged();
  4296. return this;
  4297. }
  4298. /**
  4299. * <code>string CompanyRemark = 19;</code>
  4300. * @return This builder for chaining.
  4301. */
  4302. public Builder clearCompanyRemark() {
  4303. companyRemark_ = getDefaultInstance().getCompanyRemark();
  4304. onChanged();
  4305. return this;
  4306. }
  4307. /**
  4308. * <code>string CompanyRemark = 19;</code>
  4309. * @param value The bytes for companyRemark to set.
  4310. * @return This builder for chaining.
  4311. */
  4312. public Builder setCompanyRemarkBytes(
  4313. com.google.protobuf.ByteString value) {
  4314. if (value == null) {
  4315. throw new NullPointerException();
  4316. }
  4317. checkByteStringIsUtf8(value);
  4318. companyRemark_ = value;
  4319. onChanged();
  4320. return this;
  4321. }
  4322. private com.google.protobuf.LazyStringList phoneRemark_ = com.google.protobuf.LazyStringArrayList.EMPTY;
  4323. private void ensurePhoneRemarkIsMutable() {
  4324. if (!((bitField0_ & 0x00000002) != 0)) {
  4325. phoneRemark_ = new com.google.protobuf.LazyStringArrayList(phoneRemark_);
  4326. bitField0_ |= 0x00000002;
  4327. }
  4328. }
  4329. /**
  4330. * <code>repeated string PhoneRemark = 20;</code>
  4331. * @return A list containing the phoneRemark.
  4332. */
  4333. public com.google.protobuf.ProtocolStringList
  4334. getPhoneRemarkList() {
  4335. return phoneRemark_.getUnmodifiableView();
  4336. }
  4337. /**
  4338. * <code>repeated string PhoneRemark = 20;</code>
  4339. * @return The count of phoneRemark.
  4340. */
  4341. public int getPhoneRemarkCount() {
  4342. return phoneRemark_.size();
  4343. }
  4344. /**
  4345. * <code>repeated string PhoneRemark = 20;</code>
  4346. * @param index The index of the element to return.
  4347. * @return The phoneRemark at the given index.
  4348. */
  4349. public java.lang.String getPhoneRemark(int index) {
  4350. return phoneRemark_.get(index);
  4351. }
  4352. /**
  4353. * <code>repeated string PhoneRemark = 20;</code>
  4354. * @param index The index of the value to return.
  4355. * @return The bytes of the phoneRemark at the given index.
  4356. */
  4357. public com.google.protobuf.ByteString
  4358. getPhoneRemarkBytes(int index) {
  4359. return phoneRemark_.getByteString(index);
  4360. }
  4361. /**
  4362. * <code>repeated string PhoneRemark = 20;</code>
  4363. * @param index The index to set the value at.
  4364. * @param value The phoneRemark to set.
  4365. * @return This builder for chaining.
  4366. */
  4367. public Builder setPhoneRemark(
  4368. int index, java.lang.String value) {
  4369. if (value == null) {
  4370. throw new NullPointerException();
  4371. }
  4372. ensurePhoneRemarkIsMutable();
  4373. phoneRemark_.set(index, value);
  4374. onChanged();
  4375. return this;
  4376. }
  4377. /**
  4378. * <code>repeated string PhoneRemark = 20;</code>
  4379. * @param value The phoneRemark to add.
  4380. * @return This builder for chaining.
  4381. */
  4382. public Builder addPhoneRemark(
  4383. java.lang.String value) {
  4384. if (value == null) {
  4385. throw new NullPointerException();
  4386. }
  4387. ensurePhoneRemarkIsMutable();
  4388. phoneRemark_.add(value);
  4389. onChanged();
  4390. return this;
  4391. }
  4392. /**
  4393. * <code>repeated string PhoneRemark = 20;</code>
  4394. * @param values The phoneRemark to add.
  4395. * @return This builder for chaining.
  4396. */
  4397. public Builder addAllPhoneRemark(
  4398. java.lang.Iterable<java.lang.String> values) {
  4399. ensurePhoneRemarkIsMutable();
  4400. com.google.protobuf.AbstractMessageLite.Builder.addAll(
  4401. values, phoneRemark_);
  4402. onChanged();
  4403. return this;
  4404. }
  4405. /**
  4406. * <code>repeated string PhoneRemark = 20;</code>
  4407. * @return This builder for chaining.
  4408. */
  4409. public Builder clearPhoneRemark() {
  4410. phoneRemark_ = com.google.protobuf.LazyStringArrayList.EMPTY;
  4411. bitField0_ = (bitField0_ & ~0x00000002);
  4412. onChanged();
  4413. return this;
  4414. }
  4415. /**
  4416. * <code>repeated string PhoneRemark = 20;</code>
  4417. * @param value The bytes of the phoneRemark to add.
  4418. * @return This builder for chaining.
  4419. */
  4420. public Builder addPhoneRemarkBytes(
  4421. com.google.protobuf.ByteString value) {
  4422. if (value == null) {
  4423. throw new NullPointerException();
  4424. }
  4425. checkByteStringIsUtf8(value);
  4426. ensurePhoneRemarkIsMutable();
  4427. phoneRemark_.add(value);
  4428. onChanged();
  4429. return this;
  4430. }
  4431. private java.lang.Object desc_ = "";
  4432. /**
  4433. * <code>string Desc = 21;</code>
  4434. * @return The desc.
  4435. */
  4436. public java.lang.String getDesc() {
  4437. java.lang.Object ref = desc_;
  4438. if (!(ref instanceof java.lang.String)) {
  4439. com.google.protobuf.ByteString bs =
  4440. (com.google.protobuf.ByteString) ref;
  4441. java.lang.String s = bs.toStringUtf8();
  4442. desc_ = s;
  4443. return s;
  4444. } else {
  4445. return (java.lang.String) ref;
  4446. }
  4447. }
  4448. /**
  4449. * <code>string Desc = 21;</code>
  4450. * @return The bytes for desc.
  4451. */
  4452. public com.google.protobuf.ByteString
  4453. getDescBytes() {
  4454. java.lang.Object ref = desc_;
  4455. if (ref instanceof String) {
  4456. com.google.protobuf.ByteString b =
  4457. com.google.protobuf.ByteString.copyFromUtf8(
  4458. (java.lang.String) ref);
  4459. desc_ = b;
  4460. return b;
  4461. } else {
  4462. return (com.google.protobuf.ByteString) ref;
  4463. }
  4464. }
  4465. /**
  4466. * <code>string Desc = 21;</code>
  4467. * @param value The desc to set.
  4468. * @return This builder for chaining.
  4469. */
  4470. public Builder setDesc(
  4471. java.lang.String value) {
  4472. if (value == null) {
  4473. throw new NullPointerException();
  4474. }
  4475. desc_ = value;
  4476. onChanged();
  4477. return this;
  4478. }
  4479. /**
  4480. * <code>string Desc = 21;</code>
  4481. * @return This builder for chaining.
  4482. */
  4483. public Builder clearDesc() {
  4484. desc_ = getDefaultInstance().getDesc();
  4485. onChanged();
  4486. return this;
  4487. }
  4488. /**
  4489. * <code>string Desc = 21;</code>
  4490. * @param value The bytes for desc to set.
  4491. * @return This builder for chaining.
  4492. */
  4493. public Builder setDescBytes(
  4494. com.google.protobuf.ByteString value) {
  4495. if (value == null) {
  4496. throw new NullPointerException();
  4497. }
  4498. checkByteStringIsUtf8(value);
  4499. desc_ = value;
  4500. onChanged();
  4501. return this;
  4502. }
  4503. private java.lang.Object descUrl_ = "";
  4504. /**
  4505. * <code>string DescUrl = 22;</code>
  4506. * @return The descUrl.
  4507. */
  4508. public java.lang.String getDescUrl() {
  4509. java.lang.Object ref = descUrl_;
  4510. if (!(ref instanceof java.lang.String)) {
  4511. com.google.protobuf.ByteString bs =
  4512. (com.google.protobuf.ByteString) ref;
  4513. java.lang.String s = bs.toStringUtf8();
  4514. descUrl_ = s;
  4515. return s;
  4516. } else {
  4517. return (java.lang.String) ref;
  4518. }
  4519. }
  4520. /**
  4521. * <code>string DescUrl = 22;</code>
  4522. * @return The bytes for descUrl.
  4523. */
  4524. public com.google.protobuf.ByteString
  4525. getDescUrlBytes() {
  4526. java.lang.Object ref = descUrl_;
  4527. if (ref instanceof String) {
  4528. com.google.protobuf.ByteString b =
  4529. com.google.protobuf.ByteString.copyFromUtf8(
  4530. (java.lang.String) ref);
  4531. descUrl_ = b;
  4532. return b;
  4533. } else {
  4534. return (com.google.protobuf.ByteString) ref;
  4535. }
  4536. }
  4537. /**
  4538. * <code>string DescUrl = 22;</code>
  4539. * @param value The descUrl to set.
  4540. * @return This builder for chaining.
  4541. */
  4542. public Builder setDescUrl(
  4543. java.lang.String value) {
  4544. if (value == null) {
  4545. throw new NullPointerException();
  4546. }
  4547. descUrl_ = value;
  4548. onChanged();
  4549. return this;
  4550. }
  4551. /**
  4552. * <code>string DescUrl = 22;</code>
  4553. * @return This builder for chaining.
  4554. */
  4555. public Builder clearDescUrl() {
  4556. descUrl_ = getDefaultInstance().getDescUrl();
  4557. onChanged();
  4558. return this;
  4559. }
  4560. /**
  4561. * <code>string DescUrl = 22;</code>
  4562. * @param value The bytes for descUrl to set.
  4563. * @return This builder for chaining.
  4564. */
  4565. public Builder setDescUrlBytes(
  4566. com.google.protobuf.ByteString value) {
  4567. if (value == null) {
  4568. throw new NullPointerException();
  4569. }
  4570. checkByteStringIsUtf8(value);
  4571. descUrl_ = value;
  4572. onChanged();
  4573. return this;
  4574. }
  4575. private long attr_ ;
  4576. /**
  4577. * <code>int64 Attr = 23;</code>
  4578. * @return The attr.
  4579. */
  4580. public long getAttr() {
  4581. return attr_;
  4582. }
  4583. /**
  4584. * <code>int64 Attr = 23;</code>
  4585. * @param value The attr to set.
  4586. * @return This builder for chaining.
  4587. */
  4588. public Builder setAttr(long value) {
  4589. attr_ = value;
  4590. onChanged();
  4591. return this;
  4592. }
  4593. /**
  4594. * <code>int64 Attr = 23;</code>
  4595. * @return This builder for chaining.
  4596. */
  4597. public Builder clearAttr() {
  4598. attr_ = 0L;
  4599. onChanged();
  4600. return this;
  4601. }
  4602. private long attr2_ ;
  4603. /**
  4604. * <code>int64 Attr2 = 24;</code>
  4605. * @return The attr2.
  4606. */
  4607. public long getAttr2() {
  4608. return attr2_;
  4609. }
  4610. /**
  4611. * <code>int64 Attr2 = 24;</code>
  4612. * @param value The attr2 to set.
  4613. * @return This builder for chaining.
  4614. */
  4615. public Builder setAttr2(long value) {
  4616. attr2_ = value;
  4617. onChanged();
  4618. return this;
  4619. }
  4620. /**
  4621. * <code>int64 Attr2 = 24;</code>
  4622. * @return This builder for chaining.
  4623. */
  4624. public Builder clearAttr2() {
  4625. attr2_ = 0L;
  4626. onChanged();
  4627. return this;
  4628. }
  4629. private long attr3_ ;
  4630. /**
  4631. * <code>int64 Attr3 = 25;</code>
  4632. * @return The attr3.
  4633. */
  4634. public long getAttr3() {
  4635. return attr3_;
  4636. }
  4637. /**
  4638. * <code>int64 Attr3 = 25;</code>
  4639. * @param value The attr3 to set.
  4640. * @return This builder for chaining.
  4641. */
  4642. public Builder setAttr3(long value) {
  4643. attr3_ = value;
  4644. onChanged();
  4645. return this;
  4646. }
  4647. /**
  4648. * <code>int64 Attr3 = 25;</code>
  4649. * @return This builder for chaining.
  4650. */
  4651. public Builder clearAttr3() {
  4652. attr3_ = 0L;
  4653. onChanged();
  4654. return this;
  4655. }
  4656. private long applyTime_ ;
  4657. /**
  4658. * <code>int64 ApplyTime = 26;</code>
  4659. * @return The applyTime.
  4660. */
  4661. public long getApplyTime() {
  4662. return applyTime_;
  4663. }
  4664. /**
  4665. * <code>int64 ApplyTime = 26;</code>
  4666. * @param value The applyTime to set.
  4667. * @return This builder for chaining.
  4668. */
  4669. public Builder setApplyTime(long value) {
  4670. applyTime_ = value;
  4671. onChanged();
  4672. return this;
  4673. }
  4674. /**
  4675. * <code>int64 ApplyTime = 26;</code>
  4676. * @return This builder for chaining.
  4677. */
  4678. public Builder clearApplyTime() {
  4679. applyTime_ = 0L;
  4680. onChanged();
  4681. return this;
  4682. }
  4683. @java.lang.Override
  4684. public final Builder setUnknownFields(
  4685. final com.google.protobuf.UnknownFieldSet unknownFields) {
  4686. return super.setUnknownFields(unknownFields);
  4687. }
  4688. @java.lang.Override
  4689. public final Builder mergeUnknownFields(
  4690. final com.google.protobuf.UnknownFieldSet unknownFields) {
  4691. return super.mergeUnknownFields(unknownFields);
  4692. }
  4693. // @@protoc_insertion_point(builder_scope:Im.Scrm.Ww.Proto.CustomerMessage)
  4694. }
  4695. // @@protoc_insertion_point(class_scope:Im.Scrm.Ww.Proto.CustomerMessage)
  4696. private static final Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage DEFAULT_INSTANCE;
  4697. static {
  4698. DEFAULT_INSTANCE = new Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage();
  4699. }
  4700. public static Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage getDefaultInstance() {
  4701. return DEFAULT_INSTANCE;
  4702. }
  4703. private static final com.google.protobuf.Parser<CustomerMessage>
  4704. PARSER = new com.google.protobuf.AbstractParser<CustomerMessage>() {
  4705. @java.lang.Override
  4706. public CustomerMessage parsePartialFrom(
  4707. com.google.protobuf.CodedInputStream input,
  4708. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  4709. throws com.google.protobuf.InvalidProtocolBufferException {
  4710. return new CustomerMessage(input, extensionRegistry);
  4711. }
  4712. };
  4713. public static com.google.protobuf.Parser<CustomerMessage> parser() {
  4714. return PARSER;
  4715. }
  4716. @java.lang.Override
  4717. public com.google.protobuf.Parser<CustomerMessage> getParserForType() {
  4718. return PARSER;
  4719. }
  4720. @java.lang.Override
  4721. public Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage getDefaultInstanceForType() {
  4722. return DEFAULT_INSTANCE;
  4723. }
  4724. }
  4725. private static final com.google.protobuf.Descriptors.Descriptor
  4726. internal_static_Im_Scrm_Ww_Proto_CustomerPushNoticeMessage_descriptor;
  4727. private static final
  4728. com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  4729. internal_static_Im_Scrm_Ww_Proto_CustomerPushNoticeMessage_fieldAccessorTable;
  4730. private static final com.google.protobuf.Descriptors.Descriptor
  4731. internal_static_Im_Scrm_Ww_Proto_CustomerMessage_descriptor;
  4732. private static final
  4733. com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  4734. internal_static_Im_Scrm_Ww_Proto_CustomerMessage_fieldAccessorTable;
  4735. public static com.google.protobuf.Descriptors.FileDescriptor
  4736. getDescriptor() {
  4737. return descriptor;
  4738. }
  4739. private static com.google.protobuf.Descriptors.FileDescriptor
  4740. descriptor;
  4741. static {
  4742. java.lang.String[] descriptorData = {
  4743. "\n\031WCustomerPushNotice.proto\022\020Im.Scrm.Ww." +
  4744. "Proto\032\020WTransport.proto\"\231\001\n\031CustomerPush" +
  4745. "NoticeMessage\022\014\n\004WxId\030\001 \001(\003\0223\n\010Contacts\030" +
  4746. "\002 \003(\0132!.Im.Scrm.Ww.Proto.CustomerMessage" +
  4747. "\022\014\n\004Size\030\003 \001(\005\022\r\n\005Count\030\004 \001(\005\022\014\n\004Page\030\005 " +
  4748. "\001(\005\022\016\n\006TaskId\030\006 \001(\003\"\362\003\n\017CustomerMessage\022" +
  4749. "\020\n\010RemoteId\030\001 \001(\003\022\014\n\004Name\030\002 \001(\t\022\r\n\005Alias" +
  4750. "\030\003 \001(\t\022\016\n\006Avatar\030\004 \001(\t\022\016\n\006Mobile\030\005 \001(\t\022\017" +
  4751. "\n\007UnionId\030\006 \001(\t\022,\n\006Gender\030\007 \001(\0162\034.Im.Scr" +
  4752. "m.Ww.Proto.EnumGender\022\016\n\006CorpId\030\010 \001(\003\022\017\n" +
  4753. "\007AddTime\030\t \001(\005\022\016\n\006Source\030\n \001(\005\022\020\n\010LabelI" +
  4754. "ds\030\013 \003(\003\022\016\n\006Suffix\030\014 \001(\t\022\016\n\006OpenId\030\r \001(\t" +
  4755. "\022\022\n\nSourceUser\030\016 \001(\003\022\024\n\014SourceRoomId\030\017 \001" +
  4756. "(\003\022\024\n\014SourceFriend\030\020 \001(\t\022\024\n\014ApplyContent" +
  4757. "\030\021 \001(\t\022\016\n\006Remark\030\022 \001(\t\022\025\n\rCompanyRemark\030" +
  4758. "\023 \001(\t\022\023\n\013PhoneRemark\030\024 \003(\t\022\014\n\004Desc\030\025 \001(\t" +
  4759. "\022\017\n\007DescUrl\030\026 \001(\t\022\014\n\004Attr\030\027 \001(\003\022\r\n\005Attr2" +
  4760. "\030\030 \001(\003\022\r\n\005Attr3\030\031 \001(\003\022\021\n\tApplyTime\030\032 \001(\003" +
  4761. "b\006proto3"
  4762. };
  4763. descriptor = com.google.protobuf.Descriptors.FileDescriptor
  4764. .internalBuildGeneratedFileFrom(descriptorData,
  4765. new com.google.protobuf.Descriptors.FileDescriptor[] {
  4766. Im.Scrm.Ww.Proto.WTransport.getDescriptor(),
  4767. });
  4768. internal_static_Im_Scrm_Ww_Proto_CustomerPushNoticeMessage_descriptor =
  4769. getDescriptor().getMessageTypes().get(0);
  4770. internal_static_Im_Scrm_Ww_Proto_CustomerPushNoticeMessage_fieldAccessorTable = new
  4771. com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
  4772. internal_static_Im_Scrm_Ww_Proto_CustomerPushNoticeMessage_descriptor,
  4773. new java.lang.String[] { "WxId", "Contacts", "Size", "Count", "Page", "TaskId", });
  4774. internal_static_Im_Scrm_Ww_Proto_CustomerMessage_descriptor =
  4775. getDescriptor().getMessageTypes().get(1);
  4776. internal_static_Im_Scrm_Ww_Proto_CustomerMessage_fieldAccessorTable = new
  4777. com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
  4778. internal_static_Im_Scrm_Ww_Proto_CustomerMessage_descriptor,
  4779. new java.lang.String[] { "RemoteId", "Name", "Alias", "Avatar", "Mobile", "UnionId", "Gender", "CorpId", "AddTime", "Source", "LabelIds", "Suffix", "OpenId", "SourceUser", "SourceRoomId", "SourceFriend", "ApplyContent", "Remark", "CompanyRemark", "PhoneRemark", "Desc", "DescUrl", "Attr", "Attr2", "Attr3", "ApplyTime", });
  4780. Im.Scrm.Ww.Proto.WTransport.getDescriptor();
  4781. }
  4782. // @@protoc_insertion_point(outer_class_scope)
  4783. }