WwOnlineNotice.java 86 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: WwOnlineNotice.proto
  3. package Im.Scrm.Ww.Proto;
  4. public final class WwOnlineNotice {
  5. private WwOnlineNotice() {}
  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 WwOnlineNoticeMessageOrBuilder extends
  15. // @@protoc_insertion_point(interface_extends:Im.Scrm.Ww.Proto.WwOnlineNoticeMessage)
  16. com.google.protobuf.MessageOrBuilder {
  17. /**
  18. * <pre>
  19. *账号ID
  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>string Name = 2;</code>
  32. * @return The name.
  33. */
  34. java.lang.String getName();
  35. /**
  36. * <pre>
  37. *名称
  38. * </pre>
  39. *
  40. * <code>string Name = 2;</code>
  41. * @return The bytes for name.
  42. */
  43. com.google.protobuf.ByteString
  44. getNameBytes();
  45. /**
  46. * <pre>
  47. *别称
  48. * </pre>
  49. *
  50. * <code>string Alias = 3;</code>
  51. * @return The alias.
  52. */
  53. java.lang.String getAlias();
  54. /**
  55. * <pre>
  56. *别称
  57. * </pre>
  58. *
  59. * <code>string Alias = 3;</code>
  60. * @return The bytes for alias.
  61. */
  62. com.google.protobuf.ByteString
  63. getAliasBytes();
  64. /**
  65. * <pre>
  66. *内部账号
  67. * </pre>
  68. *
  69. * <code>string AcctId = 4;</code>
  70. * @return The acctId.
  71. */
  72. java.lang.String getAcctId();
  73. /**
  74. * <pre>
  75. *内部账号
  76. * </pre>
  77. *
  78. * <code>string AcctId = 4;</code>
  79. * @return The bytes for acctId.
  80. */
  81. com.google.protobuf.ByteString
  82. getAcctIdBytes();
  83. /**
  84. * <pre>
  85. *微信头像
  86. * </pre>
  87. *
  88. * <code>string Avatar = 5;</code>
  89. * @return The avatar.
  90. */
  91. java.lang.String getAvatar();
  92. /**
  93. * <pre>
  94. *微信头像
  95. * </pre>
  96. *
  97. * <code>string Avatar = 5;</code>
  98. * @return The bytes for avatar.
  99. */
  100. com.google.protobuf.ByteString
  101. getAvatarBytes();
  102. /**
  103. * <pre>
  104. *性别
  105. * </pre>
  106. *
  107. * <code>.Im.Scrm.Ww.Proto.EnumGender Gender = 6;</code>
  108. * @return The enum numeric value on the wire for gender.
  109. */
  110. int getGenderValue();
  111. /**
  112. * <pre>
  113. *性别
  114. * </pre>
  115. *
  116. * <code>.Im.Scrm.Ww.Proto.EnumGender Gender = 6;</code>
  117. * @return The gender.
  118. */
  119. Im.Scrm.Ww.Proto.WTransport.EnumGender getGender();
  120. /**
  121. * <pre>
  122. * 职位
  123. * </pre>
  124. *
  125. * <code>string Job = 7;</code>
  126. * @return The job.
  127. */
  128. java.lang.String getJob();
  129. /**
  130. * <pre>
  131. * 职位
  132. * </pre>
  133. *
  134. * <code>string Job = 7;</code>
  135. * @return The bytes for job.
  136. */
  137. com.google.protobuf.ByteString
  138. getJobBytes();
  139. /**
  140. * <pre>
  141. * </pre>
  142. *
  143. * <code>string Phone = 8;</code>
  144. * @return The phone.
  145. */
  146. java.lang.String getPhone();
  147. /**
  148. * <pre>
  149. * </pre>
  150. *
  151. * <code>string Phone = 8;</code>
  152. * @return The bytes for phone.
  153. */
  154. com.google.protobuf.ByteString
  155. getPhoneBytes();
  156. /**
  157. * <pre>
  158. *公司ID
  159. * </pre>
  160. *
  161. * <code>int64 CorpId = 9;</code>
  162. * @return The corpId.
  163. */
  164. long getCorpId();
  165. /**
  166. * <pre>
  167. *属性 备用
  168. * </pre>
  169. *
  170. * <code>int64 Attr = 10;</code>
  171. * @return The attr.
  172. */
  173. long getAttr();
  174. /**
  175. * <pre>
  176. *SimpleDepartMessage Departs = 11; // 部门信息
  177. * </pre>
  178. *
  179. * <code>repeated int64 DepartIds = 11;</code>
  180. * @return A list containing the departIds.
  181. */
  182. java.util.List<java.lang.Long> getDepartIdsList();
  183. /**
  184. * <pre>
  185. *SimpleDepartMessage Departs = 11; // 部门信息
  186. * </pre>
  187. *
  188. * <code>repeated int64 DepartIds = 11;</code>
  189. * @return The count of departIds.
  190. */
  191. int getDepartIdsCount();
  192. /**
  193. * <pre>
  194. *SimpleDepartMessage Departs = 11; // 部门信息
  195. * </pre>
  196. *
  197. * <code>repeated int64 DepartIds = 11;</code>
  198. * @param index The index of the element to return.
  199. * @return The departIds at the given index.
  200. */
  201. long getDepartIds(int index);
  202. /**
  203. * <pre>
  204. * imei号
  205. * </pre>
  206. *
  207. * <code>string IMEI = 12;</code>
  208. * @return The iMEI.
  209. */
  210. java.lang.String getIMEI();
  211. /**
  212. * <pre>
  213. * imei号
  214. * </pre>
  215. *
  216. * <code>string IMEI = 12;</code>
  217. * @return The bytes for iMEI.
  218. */
  219. com.google.protobuf.ByteString
  220. getIMEIBytes();
  221. /**
  222. * <code>int32 SyncStat = 13;</code>
  223. * @return The syncStat.
  224. */
  225. int getSyncStat();
  226. /**
  227. * <code>string CorpName = 14;</code>
  228. * @return The corpName.
  229. */
  230. java.lang.String getCorpName();
  231. /**
  232. * <code>string CorpName = 14;</code>
  233. * @return The bytes for corpName.
  234. */
  235. com.google.protobuf.ByteString
  236. getCorpNameBytes();
  237. /**
  238. * <code>string ShowName = 15;</code>
  239. * @return The showName.
  240. */
  241. java.lang.String getShowName();
  242. /**
  243. * <code>string ShowName = 15;</code>
  244. * @return The bytes for showName.
  245. */
  246. com.google.protobuf.ByteString
  247. getShowNameBytes();
  248. /**
  249. * <code>string CorpShortName = 16;</code>
  250. * @return The corpShortName.
  251. */
  252. java.lang.String getCorpShortName();
  253. /**
  254. * <code>string CorpShortName = 16;</code>
  255. * @return The bytes for corpShortName.
  256. */
  257. com.google.protobuf.ByteString
  258. getCorpShortNameBytes();
  259. /**
  260. * <code>string Uid = 20;</code>
  261. * @return The uid.
  262. */
  263. java.lang.String getUid();
  264. /**
  265. * <code>string Uid = 20;</code>
  266. * @return The bytes for uid.
  267. */
  268. com.google.protobuf.ByteString
  269. getUidBytes();
  270. }
  271. /**
  272. * Protobuf type {@code Im.Scrm.Ww.Proto.WwOnlineNoticeMessage}
  273. */
  274. public static final class WwOnlineNoticeMessage extends
  275. com.google.protobuf.GeneratedMessageV3 implements
  276. // @@protoc_insertion_point(message_implements:Im.Scrm.Ww.Proto.WwOnlineNoticeMessage)
  277. WwOnlineNoticeMessageOrBuilder {
  278. private static final long serialVersionUID = 0L;
  279. // Use WwOnlineNoticeMessage.newBuilder() to construct.
  280. private WwOnlineNoticeMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
  281. super(builder);
  282. }
  283. private WwOnlineNoticeMessage() {
  284. name_ = "";
  285. alias_ = "";
  286. acctId_ = "";
  287. avatar_ = "";
  288. gender_ = 0;
  289. job_ = "";
  290. phone_ = "";
  291. departIds_ = emptyLongList();
  292. iMEI_ = "";
  293. corpName_ = "";
  294. showName_ = "";
  295. corpShortName_ = "";
  296. uid_ = "";
  297. }
  298. @java.lang.Override
  299. @SuppressWarnings({"unused"})
  300. protected java.lang.Object newInstance(
  301. UnusedPrivateParameter unused) {
  302. return new WwOnlineNoticeMessage();
  303. }
  304. @java.lang.Override
  305. public final com.google.protobuf.UnknownFieldSet
  306. getUnknownFields() {
  307. return this.unknownFields;
  308. }
  309. private WwOnlineNoticeMessage(
  310. com.google.protobuf.CodedInputStream input,
  311. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  312. throws com.google.protobuf.InvalidProtocolBufferException {
  313. this();
  314. if (extensionRegistry == null) {
  315. throw new java.lang.NullPointerException();
  316. }
  317. int mutable_bitField0_ = 0;
  318. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  319. com.google.protobuf.UnknownFieldSet.newBuilder();
  320. try {
  321. boolean done = false;
  322. while (!done) {
  323. int tag = input.readTag();
  324. switch (tag) {
  325. case 0:
  326. done = true;
  327. break;
  328. case 8: {
  329. wxId_ = input.readInt64();
  330. break;
  331. }
  332. case 18: {
  333. java.lang.String s = input.readStringRequireUtf8();
  334. name_ = s;
  335. break;
  336. }
  337. case 26: {
  338. java.lang.String s = input.readStringRequireUtf8();
  339. alias_ = s;
  340. break;
  341. }
  342. case 34: {
  343. java.lang.String s = input.readStringRequireUtf8();
  344. acctId_ = s;
  345. break;
  346. }
  347. case 42: {
  348. java.lang.String s = input.readStringRequireUtf8();
  349. avatar_ = s;
  350. break;
  351. }
  352. case 48: {
  353. int rawValue = input.readEnum();
  354. gender_ = rawValue;
  355. break;
  356. }
  357. case 58: {
  358. java.lang.String s = input.readStringRequireUtf8();
  359. job_ = s;
  360. break;
  361. }
  362. case 66: {
  363. java.lang.String s = input.readStringRequireUtf8();
  364. phone_ = s;
  365. break;
  366. }
  367. case 72: {
  368. corpId_ = input.readInt64();
  369. break;
  370. }
  371. case 80: {
  372. attr_ = input.readInt64();
  373. break;
  374. }
  375. case 88: {
  376. if (!((mutable_bitField0_ & 0x00000001) != 0)) {
  377. departIds_ = newLongList();
  378. mutable_bitField0_ |= 0x00000001;
  379. }
  380. departIds_.addLong(input.readInt64());
  381. break;
  382. }
  383. case 90: {
  384. int length = input.readRawVarint32();
  385. int limit = input.pushLimit(length);
  386. if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
  387. departIds_ = newLongList();
  388. mutable_bitField0_ |= 0x00000001;
  389. }
  390. while (input.getBytesUntilLimit() > 0) {
  391. departIds_.addLong(input.readInt64());
  392. }
  393. input.popLimit(limit);
  394. break;
  395. }
  396. case 98: {
  397. java.lang.String s = input.readStringRequireUtf8();
  398. iMEI_ = s;
  399. break;
  400. }
  401. case 104: {
  402. syncStat_ = input.readInt32();
  403. break;
  404. }
  405. case 114: {
  406. java.lang.String s = input.readStringRequireUtf8();
  407. corpName_ = s;
  408. break;
  409. }
  410. case 122: {
  411. java.lang.String s = input.readStringRequireUtf8();
  412. showName_ = s;
  413. break;
  414. }
  415. case 130: {
  416. java.lang.String s = input.readStringRequireUtf8();
  417. corpShortName_ = s;
  418. break;
  419. }
  420. case 162: {
  421. java.lang.String s = input.readStringRequireUtf8();
  422. uid_ = s;
  423. break;
  424. }
  425. default: {
  426. if (!parseUnknownField(
  427. input, unknownFields, extensionRegistry, tag)) {
  428. done = true;
  429. }
  430. break;
  431. }
  432. }
  433. }
  434. } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  435. throw e.setUnfinishedMessage(this);
  436. } catch (java.io.IOException e) {
  437. throw new com.google.protobuf.InvalidProtocolBufferException(
  438. e).setUnfinishedMessage(this);
  439. } finally {
  440. if (((mutable_bitField0_ & 0x00000001) != 0)) {
  441. departIds_.makeImmutable(); // C
  442. }
  443. this.unknownFields = unknownFields.build();
  444. makeExtensionsImmutable();
  445. }
  446. }
  447. public static final com.google.protobuf.Descriptors.Descriptor
  448. getDescriptor() {
  449. return Im.Scrm.Ww.Proto.WwOnlineNotice.internal_static_Im_Scrm_Ww_Proto_WwOnlineNoticeMessage_descriptor;
  450. }
  451. @java.lang.Override
  452. protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  453. internalGetFieldAccessorTable() {
  454. return Im.Scrm.Ww.Proto.WwOnlineNotice.internal_static_Im_Scrm_Ww_Proto_WwOnlineNoticeMessage_fieldAccessorTable
  455. .ensureFieldAccessorsInitialized(
  456. Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage.class, Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage.Builder.class);
  457. }
  458. public static final int WXID_FIELD_NUMBER = 1;
  459. private long wxId_;
  460. /**
  461. * <pre>
  462. *账号ID
  463. * </pre>
  464. *
  465. * <code>int64 WxId = 1;</code>
  466. * @return The wxId.
  467. */
  468. public long getWxId() {
  469. return wxId_;
  470. }
  471. public static final int NAME_FIELD_NUMBER = 2;
  472. private volatile java.lang.Object name_;
  473. /**
  474. * <pre>
  475. *名称
  476. * </pre>
  477. *
  478. * <code>string Name = 2;</code>
  479. * @return The name.
  480. */
  481. public java.lang.String getName() {
  482. java.lang.Object ref = name_;
  483. if (ref instanceof java.lang.String) {
  484. return (java.lang.String) ref;
  485. } else {
  486. com.google.protobuf.ByteString bs =
  487. (com.google.protobuf.ByteString) ref;
  488. java.lang.String s = bs.toStringUtf8();
  489. name_ = s;
  490. return s;
  491. }
  492. }
  493. /**
  494. * <pre>
  495. *名称
  496. * </pre>
  497. *
  498. * <code>string Name = 2;</code>
  499. * @return The bytes for name.
  500. */
  501. public com.google.protobuf.ByteString
  502. getNameBytes() {
  503. java.lang.Object ref = name_;
  504. if (ref instanceof java.lang.String) {
  505. com.google.protobuf.ByteString b =
  506. com.google.protobuf.ByteString.copyFromUtf8(
  507. (java.lang.String) ref);
  508. name_ = b;
  509. return b;
  510. } else {
  511. return (com.google.protobuf.ByteString) ref;
  512. }
  513. }
  514. public static final int ALIAS_FIELD_NUMBER = 3;
  515. private volatile java.lang.Object alias_;
  516. /**
  517. * <pre>
  518. *别称
  519. * </pre>
  520. *
  521. * <code>string Alias = 3;</code>
  522. * @return The alias.
  523. */
  524. public java.lang.String getAlias() {
  525. java.lang.Object ref = alias_;
  526. if (ref instanceof java.lang.String) {
  527. return (java.lang.String) ref;
  528. } else {
  529. com.google.protobuf.ByteString bs =
  530. (com.google.protobuf.ByteString) ref;
  531. java.lang.String s = bs.toStringUtf8();
  532. alias_ = s;
  533. return s;
  534. }
  535. }
  536. /**
  537. * <pre>
  538. *别称
  539. * </pre>
  540. *
  541. * <code>string Alias = 3;</code>
  542. * @return The bytes for alias.
  543. */
  544. public com.google.protobuf.ByteString
  545. getAliasBytes() {
  546. java.lang.Object ref = alias_;
  547. if (ref instanceof java.lang.String) {
  548. com.google.protobuf.ByteString b =
  549. com.google.protobuf.ByteString.copyFromUtf8(
  550. (java.lang.String) ref);
  551. alias_ = b;
  552. return b;
  553. } else {
  554. return (com.google.protobuf.ByteString) ref;
  555. }
  556. }
  557. public static final int ACCTID_FIELD_NUMBER = 4;
  558. private volatile java.lang.Object acctId_;
  559. /**
  560. * <pre>
  561. *内部账号
  562. * </pre>
  563. *
  564. * <code>string AcctId = 4;</code>
  565. * @return The acctId.
  566. */
  567. public java.lang.String getAcctId() {
  568. java.lang.Object ref = acctId_;
  569. if (ref instanceof java.lang.String) {
  570. return (java.lang.String) ref;
  571. } else {
  572. com.google.protobuf.ByteString bs =
  573. (com.google.protobuf.ByteString) ref;
  574. java.lang.String s = bs.toStringUtf8();
  575. acctId_ = s;
  576. return s;
  577. }
  578. }
  579. /**
  580. * <pre>
  581. *内部账号
  582. * </pre>
  583. *
  584. * <code>string AcctId = 4;</code>
  585. * @return The bytes for acctId.
  586. */
  587. public com.google.protobuf.ByteString
  588. getAcctIdBytes() {
  589. java.lang.Object ref = acctId_;
  590. if (ref instanceof java.lang.String) {
  591. com.google.protobuf.ByteString b =
  592. com.google.protobuf.ByteString.copyFromUtf8(
  593. (java.lang.String) ref);
  594. acctId_ = b;
  595. return b;
  596. } else {
  597. return (com.google.protobuf.ByteString) ref;
  598. }
  599. }
  600. public static final int AVATAR_FIELD_NUMBER = 5;
  601. private volatile java.lang.Object avatar_;
  602. /**
  603. * <pre>
  604. *微信头像
  605. * </pre>
  606. *
  607. * <code>string Avatar = 5;</code>
  608. * @return The avatar.
  609. */
  610. public java.lang.String getAvatar() {
  611. java.lang.Object ref = avatar_;
  612. if (ref instanceof java.lang.String) {
  613. return (java.lang.String) ref;
  614. } else {
  615. com.google.protobuf.ByteString bs =
  616. (com.google.protobuf.ByteString) ref;
  617. java.lang.String s = bs.toStringUtf8();
  618. avatar_ = s;
  619. return s;
  620. }
  621. }
  622. /**
  623. * <pre>
  624. *微信头像
  625. * </pre>
  626. *
  627. * <code>string Avatar = 5;</code>
  628. * @return The bytes for avatar.
  629. */
  630. public com.google.protobuf.ByteString
  631. getAvatarBytes() {
  632. java.lang.Object ref = avatar_;
  633. if (ref instanceof java.lang.String) {
  634. com.google.protobuf.ByteString b =
  635. com.google.protobuf.ByteString.copyFromUtf8(
  636. (java.lang.String) ref);
  637. avatar_ = b;
  638. return b;
  639. } else {
  640. return (com.google.protobuf.ByteString) ref;
  641. }
  642. }
  643. public static final int GENDER_FIELD_NUMBER = 6;
  644. private int gender_;
  645. /**
  646. * <pre>
  647. *性别
  648. * </pre>
  649. *
  650. * <code>.Im.Scrm.Ww.Proto.EnumGender Gender = 6;</code>
  651. * @return The enum numeric value on the wire for gender.
  652. */
  653. public int getGenderValue() {
  654. return gender_;
  655. }
  656. /**
  657. * <pre>
  658. *性别
  659. * </pre>
  660. *
  661. * <code>.Im.Scrm.Ww.Proto.EnumGender Gender = 6;</code>
  662. * @return The gender.
  663. */
  664. public Im.Scrm.Ww.Proto.WTransport.EnumGender getGender() {
  665. @SuppressWarnings("deprecation")
  666. Im.Scrm.Ww.Proto.WTransport.EnumGender result = Im.Scrm.Ww.Proto.WTransport.EnumGender.valueOf(gender_);
  667. return result == null ? Im.Scrm.Ww.Proto.WTransport.EnumGender.UNRECOGNIZED : result;
  668. }
  669. public static final int JOB_FIELD_NUMBER = 7;
  670. private volatile java.lang.Object job_;
  671. /**
  672. * <pre>
  673. * 职位
  674. * </pre>
  675. *
  676. * <code>string Job = 7;</code>
  677. * @return The job.
  678. */
  679. public java.lang.String getJob() {
  680. java.lang.Object ref = job_;
  681. if (ref instanceof java.lang.String) {
  682. return (java.lang.String) ref;
  683. } else {
  684. com.google.protobuf.ByteString bs =
  685. (com.google.protobuf.ByteString) ref;
  686. java.lang.String s = bs.toStringUtf8();
  687. job_ = s;
  688. return s;
  689. }
  690. }
  691. /**
  692. * <pre>
  693. * 职位
  694. * </pre>
  695. *
  696. * <code>string Job = 7;</code>
  697. * @return The bytes for job.
  698. */
  699. public com.google.protobuf.ByteString
  700. getJobBytes() {
  701. java.lang.Object ref = job_;
  702. if (ref instanceof java.lang.String) {
  703. com.google.protobuf.ByteString b =
  704. com.google.protobuf.ByteString.copyFromUtf8(
  705. (java.lang.String) ref);
  706. job_ = b;
  707. return b;
  708. } else {
  709. return (com.google.protobuf.ByteString) ref;
  710. }
  711. }
  712. public static final int PHONE_FIELD_NUMBER = 8;
  713. private volatile java.lang.Object phone_;
  714. /**
  715. * <pre>
  716. * </pre>
  717. *
  718. * <code>string Phone = 8;</code>
  719. * @return The phone.
  720. */
  721. public java.lang.String getPhone() {
  722. java.lang.Object ref = phone_;
  723. if (ref instanceof java.lang.String) {
  724. return (java.lang.String) ref;
  725. } else {
  726. com.google.protobuf.ByteString bs =
  727. (com.google.protobuf.ByteString) ref;
  728. java.lang.String s = bs.toStringUtf8();
  729. phone_ = s;
  730. return s;
  731. }
  732. }
  733. /**
  734. * <pre>
  735. * </pre>
  736. *
  737. * <code>string Phone = 8;</code>
  738. * @return The bytes for phone.
  739. */
  740. public com.google.protobuf.ByteString
  741. getPhoneBytes() {
  742. java.lang.Object ref = phone_;
  743. if (ref instanceof java.lang.String) {
  744. com.google.protobuf.ByteString b =
  745. com.google.protobuf.ByteString.copyFromUtf8(
  746. (java.lang.String) ref);
  747. phone_ = b;
  748. return b;
  749. } else {
  750. return (com.google.protobuf.ByteString) ref;
  751. }
  752. }
  753. public static final int CORPID_FIELD_NUMBER = 9;
  754. private long corpId_;
  755. /**
  756. * <pre>
  757. *公司ID
  758. * </pre>
  759. *
  760. * <code>int64 CorpId = 9;</code>
  761. * @return The corpId.
  762. */
  763. public long getCorpId() {
  764. return corpId_;
  765. }
  766. public static final int ATTR_FIELD_NUMBER = 10;
  767. private long attr_;
  768. /**
  769. * <pre>
  770. *属性 备用
  771. * </pre>
  772. *
  773. * <code>int64 Attr = 10;</code>
  774. * @return The attr.
  775. */
  776. public long getAttr() {
  777. return attr_;
  778. }
  779. public static final int DEPARTIDS_FIELD_NUMBER = 11;
  780. private com.google.protobuf.Internal.LongList departIds_;
  781. /**
  782. * <pre>
  783. *SimpleDepartMessage Departs = 11; // 部门信息
  784. * </pre>
  785. *
  786. * <code>repeated int64 DepartIds = 11;</code>
  787. * @return A list containing the departIds.
  788. */
  789. public java.util.List<java.lang.Long>
  790. getDepartIdsList() {
  791. return departIds_;
  792. }
  793. /**
  794. * <pre>
  795. *SimpleDepartMessage Departs = 11; // 部门信息
  796. * </pre>
  797. *
  798. * <code>repeated int64 DepartIds = 11;</code>
  799. * @return The count of departIds.
  800. */
  801. public int getDepartIdsCount() {
  802. return departIds_.size();
  803. }
  804. /**
  805. * <pre>
  806. *SimpleDepartMessage Departs = 11; // 部门信息
  807. * </pre>
  808. *
  809. * <code>repeated int64 DepartIds = 11;</code>
  810. * @param index The index of the element to return.
  811. * @return The departIds at the given index.
  812. */
  813. public long getDepartIds(int index) {
  814. return departIds_.getLong(index);
  815. }
  816. private int departIdsMemoizedSerializedSize = -1;
  817. public static final int IMEI_FIELD_NUMBER = 12;
  818. private volatile java.lang.Object iMEI_;
  819. /**
  820. * <pre>
  821. * imei号
  822. * </pre>
  823. *
  824. * <code>string IMEI = 12;</code>
  825. * @return The iMEI.
  826. */
  827. public java.lang.String getIMEI() {
  828. java.lang.Object ref = iMEI_;
  829. if (ref instanceof java.lang.String) {
  830. return (java.lang.String) ref;
  831. } else {
  832. com.google.protobuf.ByteString bs =
  833. (com.google.protobuf.ByteString) ref;
  834. java.lang.String s = bs.toStringUtf8();
  835. iMEI_ = s;
  836. return s;
  837. }
  838. }
  839. /**
  840. * <pre>
  841. * imei号
  842. * </pre>
  843. *
  844. * <code>string IMEI = 12;</code>
  845. * @return The bytes for iMEI.
  846. */
  847. public com.google.protobuf.ByteString
  848. getIMEIBytes() {
  849. java.lang.Object ref = iMEI_;
  850. if (ref instanceof java.lang.String) {
  851. com.google.protobuf.ByteString b =
  852. com.google.protobuf.ByteString.copyFromUtf8(
  853. (java.lang.String) ref);
  854. iMEI_ = b;
  855. return b;
  856. } else {
  857. return (com.google.protobuf.ByteString) ref;
  858. }
  859. }
  860. public static final int SYNCSTAT_FIELD_NUMBER = 13;
  861. private int syncStat_;
  862. /**
  863. * <code>int32 SyncStat = 13;</code>
  864. * @return The syncStat.
  865. */
  866. public int getSyncStat() {
  867. return syncStat_;
  868. }
  869. public static final int CORPNAME_FIELD_NUMBER = 14;
  870. private volatile java.lang.Object corpName_;
  871. /**
  872. * <code>string CorpName = 14;</code>
  873. * @return The corpName.
  874. */
  875. public java.lang.String getCorpName() {
  876. java.lang.Object ref = corpName_;
  877. if (ref instanceof java.lang.String) {
  878. return (java.lang.String) ref;
  879. } else {
  880. com.google.protobuf.ByteString bs =
  881. (com.google.protobuf.ByteString) ref;
  882. java.lang.String s = bs.toStringUtf8();
  883. corpName_ = s;
  884. return s;
  885. }
  886. }
  887. /**
  888. * <code>string CorpName = 14;</code>
  889. * @return The bytes for corpName.
  890. */
  891. public com.google.protobuf.ByteString
  892. getCorpNameBytes() {
  893. java.lang.Object ref = corpName_;
  894. if (ref instanceof java.lang.String) {
  895. com.google.protobuf.ByteString b =
  896. com.google.protobuf.ByteString.copyFromUtf8(
  897. (java.lang.String) ref);
  898. corpName_ = b;
  899. return b;
  900. } else {
  901. return (com.google.protobuf.ByteString) ref;
  902. }
  903. }
  904. public static final int SHOWNAME_FIELD_NUMBER = 15;
  905. private volatile java.lang.Object showName_;
  906. /**
  907. * <code>string ShowName = 15;</code>
  908. * @return The showName.
  909. */
  910. public java.lang.String getShowName() {
  911. java.lang.Object ref = showName_;
  912. if (ref instanceof java.lang.String) {
  913. return (java.lang.String) ref;
  914. } else {
  915. com.google.protobuf.ByteString bs =
  916. (com.google.protobuf.ByteString) ref;
  917. java.lang.String s = bs.toStringUtf8();
  918. showName_ = s;
  919. return s;
  920. }
  921. }
  922. /**
  923. * <code>string ShowName = 15;</code>
  924. * @return The bytes for showName.
  925. */
  926. public com.google.protobuf.ByteString
  927. getShowNameBytes() {
  928. java.lang.Object ref = showName_;
  929. if (ref instanceof java.lang.String) {
  930. com.google.protobuf.ByteString b =
  931. com.google.protobuf.ByteString.copyFromUtf8(
  932. (java.lang.String) ref);
  933. showName_ = b;
  934. return b;
  935. } else {
  936. return (com.google.protobuf.ByteString) ref;
  937. }
  938. }
  939. public static final int CORPSHORTNAME_FIELD_NUMBER = 16;
  940. private volatile java.lang.Object corpShortName_;
  941. /**
  942. * <code>string CorpShortName = 16;</code>
  943. * @return The corpShortName.
  944. */
  945. public java.lang.String getCorpShortName() {
  946. java.lang.Object ref = corpShortName_;
  947. if (ref instanceof java.lang.String) {
  948. return (java.lang.String) ref;
  949. } else {
  950. com.google.protobuf.ByteString bs =
  951. (com.google.protobuf.ByteString) ref;
  952. java.lang.String s = bs.toStringUtf8();
  953. corpShortName_ = s;
  954. return s;
  955. }
  956. }
  957. /**
  958. * <code>string CorpShortName = 16;</code>
  959. * @return The bytes for corpShortName.
  960. */
  961. public com.google.protobuf.ByteString
  962. getCorpShortNameBytes() {
  963. java.lang.Object ref = corpShortName_;
  964. if (ref instanceof java.lang.String) {
  965. com.google.protobuf.ByteString b =
  966. com.google.protobuf.ByteString.copyFromUtf8(
  967. (java.lang.String) ref);
  968. corpShortName_ = b;
  969. return b;
  970. } else {
  971. return (com.google.protobuf.ByteString) ref;
  972. }
  973. }
  974. public static final int UID_FIELD_NUMBER = 20;
  975. private volatile java.lang.Object uid_;
  976. /**
  977. * <code>string Uid = 20;</code>
  978. * @return The uid.
  979. */
  980. public java.lang.String getUid() {
  981. java.lang.Object ref = uid_;
  982. if (ref instanceof java.lang.String) {
  983. return (java.lang.String) ref;
  984. } else {
  985. com.google.protobuf.ByteString bs =
  986. (com.google.protobuf.ByteString) ref;
  987. java.lang.String s = bs.toStringUtf8();
  988. uid_ = s;
  989. return s;
  990. }
  991. }
  992. /**
  993. * <code>string Uid = 20;</code>
  994. * @return The bytes for uid.
  995. */
  996. public com.google.protobuf.ByteString
  997. getUidBytes() {
  998. java.lang.Object ref = uid_;
  999. if (ref instanceof java.lang.String) {
  1000. com.google.protobuf.ByteString b =
  1001. com.google.protobuf.ByteString.copyFromUtf8(
  1002. (java.lang.String) ref);
  1003. uid_ = b;
  1004. return b;
  1005. } else {
  1006. return (com.google.protobuf.ByteString) ref;
  1007. }
  1008. }
  1009. private byte memoizedIsInitialized = -1;
  1010. @java.lang.Override
  1011. public final boolean isInitialized() {
  1012. byte isInitialized = memoizedIsInitialized;
  1013. if (isInitialized == 1) return true;
  1014. if (isInitialized == 0) return false;
  1015. memoizedIsInitialized = 1;
  1016. return true;
  1017. }
  1018. @java.lang.Override
  1019. public void writeTo(com.google.protobuf.CodedOutputStream output)
  1020. throws java.io.IOException {
  1021. getSerializedSize();
  1022. if (wxId_ != 0L) {
  1023. output.writeInt64(1, wxId_);
  1024. }
  1025. if (!getNameBytes().isEmpty()) {
  1026. com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
  1027. }
  1028. if (!getAliasBytes().isEmpty()) {
  1029. com.google.protobuf.GeneratedMessageV3.writeString(output, 3, alias_);
  1030. }
  1031. if (!getAcctIdBytes().isEmpty()) {
  1032. com.google.protobuf.GeneratedMessageV3.writeString(output, 4, acctId_);
  1033. }
  1034. if (!getAvatarBytes().isEmpty()) {
  1035. com.google.protobuf.GeneratedMessageV3.writeString(output, 5, avatar_);
  1036. }
  1037. if (gender_ != Im.Scrm.Ww.Proto.WTransport.EnumGender.UnknownGender.getNumber()) {
  1038. output.writeEnum(6, gender_);
  1039. }
  1040. if (!getJobBytes().isEmpty()) {
  1041. com.google.protobuf.GeneratedMessageV3.writeString(output, 7, job_);
  1042. }
  1043. if (!getPhoneBytes().isEmpty()) {
  1044. com.google.protobuf.GeneratedMessageV3.writeString(output, 8, phone_);
  1045. }
  1046. if (corpId_ != 0L) {
  1047. output.writeInt64(9, corpId_);
  1048. }
  1049. if (attr_ != 0L) {
  1050. output.writeInt64(10, attr_);
  1051. }
  1052. if (getDepartIdsList().size() > 0) {
  1053. output.writeUInt32NoTag(90);
  1054. output.writeUInt32NoTag(departIdsMemoizedSerializedSize);
  1055. }
  1056. for (int i = 0; i < departIds_.size(); i++) {
  1057. output.writeInt64NoTag(departIds_.getLong(i));
  1058. }
  1059. if (!getIMEIBytes().isEmpty()) {
  1060. com.google.protobuf.GeneratedMessageV3.writeString(output, 12, iMEI_);
  1061. }
  1062. if (syncStat_ != 0) {
  1063. output.writeInt32(13, syncStat_);
  1064. }
  1065. if (!getCorpNameBytes().isEmpty()) {
  1066. com.google.protobuf.GeneratedMessageV3.writeString(output, 14, corpName_);
  1067. }
  1068. if (!getShowNameBytes().isEmpty()) {
  1069. com.google.protobuf.GeneratedMessageV3.writeString(output, 15, showName_);
  1070. }
  1071. if (!getCorpShortNameBytes().isEmpty()) {
  1072. com.google.protobuf.GeneratedMessageV3.writeString(output, 16, corpShortName_);
  1073. }
  1074. if (!getUidBytes().isEmpty()) {
  1075. com.google.protobuf.GeneratedMessageV3.writeString(output, 20, uid_);
  1076. }
  1077. unknownFields.writeTo(output);
  1078. }
  1079. @java.lang.Override
  1080. public int getSerializedSize() {
  1081. int size = memoizedSize;
  1082. if (size != -1) return size;
  1083. size = 0;
  1084. if (wxId_ != 0L) {
  1085. size += com.google.protobuf.CodedOutputStream
  1086. .computeInt64Size(1, wxId_);
  1087. }
  1088. if (!getNameBytes().isEmpty()) {
  1089. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
  1090. }
  1091. if (!getAliasBytes().isEmpty()) {
  1092. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, alias_);
  1093. }
  1094. if (!getAcctIdBytes().isEmpty()) {
  1095. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, acctId_);
  1096. }
  1097. if (!getAvatarBytes().isEmpty()) {
  1098. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, avatar_);
  1099. }
  1100. if (gender_ != Im.Scrm.Ww.Proto.WTransport.EnumGender.UnknownGender.getNumber()) {
  1101. size += com.google.protobuf.CodedOutputStream
  1102. .computeEnumSize(6, gender_);
  1103. }
  1104. if (!getJobBytes().isEmpty()) {
  1105. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, job_);
  1106. }
  1107. if (!getPhoneBytes().isEmpty()) {
  1108. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, phone_);
  1109. }
  1110. if (corpId_ != 0L) {
  1111. size += com.google.protobuf.CodedOutputStream
  1112. .computeInt64Size(9, corpId_);
  1113. }
  1114. if (attr_ != 0L) {
  1115. size += com.google.protobuf.CodedOutputStream
  1116. .computeInt64Size(10, attr_);
  1117. }
  1118. {
  1119. int dataSize = 0;
  1120. for (int i = 0; i < departIds_.size(); i++) {
  1121. dataSize += com.google.protobuf.CodedOutputStream
  1122. .computeInt64SizeNoTag(departIds_.getLong(i));
  1123. }
  1124. size += dataSize;
  1125. if (!getDepartIdsList().isEmpty()) {
  1126. size += 1;
  1127. size += com.google.protobuf.CodedOutputStream
  1128. .computeInt32SizeNoTag(dataSize);
  1129. }
  1130. departIdsMemoizedSerializedSize = dataSize;
  1131. }
  1132. if (!getIMEIBytes().isEmpty()) {
  1133. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, iMEI_);
  1134. }
  1135. if (syncStat_ != 0) {
  1136. size += com.google.protobuf.CodedOutputStream
  1137. .computeInt32Size(13, syncStat_);
  1138. }
  1139. if (!getCorpNameBytes().isEmpty()) {
  1140. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, corpName_);
  1141. }
  1142. if (!getShowNameBytes().isEmpty()) {
  1143. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, showName_);
  1144. }
  1145. if (!getCorpShortNameBytes().isEmpty()) {
  1146. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, corpShortName_);
  1147. }
  1148. if (!getUidBytes().isEmpty()) {
  1149. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, uid_);
  1150. }
  1151. size += unknownFields.getSerializedSize();
  1152. memoizedSize = size;
  1153. return size;
  1154. }
  1155. @java.lang.Override
  1156. public boolean equals(final java.lang.Object obj) {
  1157. if (obj == this) {
  1158. return true;
  1159. }
  1160. if (!(obj instanceof Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage)) {
  1161. return super.equals(obj);
  1162. }
  1163. Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage other = (Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage) obj;
  1164. if (getWxId()
  1165. != other.getWxId()) return false;
  1166. if (!getName()
  1167. .equals(other.getName())) return false;
  1168. if (!getAlias()
  1169. .equals(other.getAlias())) return false;
  1170. if (!getAcctId()
  1171. .equals(other.getAcctId())) return false;
  1172. if (!getAvatar()
  1173. .equals(other.getAvatar())) return false;
  1174. if (gender_ != other.gender_) return false;
  1175. if (!getJob()
  1176. .equals(other.getJob())) return false;
  1177. if (!getPhone()
  1178. .equals(other.getPhone())) return false;
  1179. if (getCorpId()
  1180. != other.getCorpId()) return false;
  1181. if (getAttr()
  1182. != other.getAttr()) return false;
  1183. if (!getDepartIdsList()
  1184. .equals(other.getDepartIdsList())) return false;
  1185. if (!getIMEI()
  1186. .equals(other.getIMEI())) return false;
  1187. if (getSyncStat()
  1188. != other.getSyncStat()) return false;
  1189. if (!getCorpName()
  1190. .equals(other.getCorpName())) return false;
  1191. if (!getShowName()
  1192. .equals(other.getShowName())) return false;
  1193. if (!getCorpShortName()
  1194. .equals(other.getCorpShortName())) return false;
  1195. if (!getUid()
  1196. .equals(other.getUid())) return false;
  1197. if (!unknownFields.equals(other.unknownFields)) return false;
  1198. return true;
  1199. }
  1200. @java.lang.Override
  1201. public int hashCode() {
  1202. if (memoizedHashCode != 0) {
  1203. return memoizedHashCode;
  1204. }
  1205. int hash = 41;
  1206. hash = (19 * hash) + getDescriptor().hashCode();
  1207. hash = (37 * hash) + WXID_FIELD_NUMBER;
  1208. hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  1209. getWxId());
  1210. hash = (37 * hash) + NAME_FIELD_NUMBER;
  1211. hash = (53 * hash) + getName().hashCode();
  1212. hash = (37 * hash) + ALIAS_FIELD_NUMBER;
  1213. hash = (53 * hash) + getAlias().hashCode();
  1214. hash = (37 * hash) + ACCTID_FIELD_NUMBER;
  1215. hash = (53 * hash) + getAcctId().hashCode();
  1216. hash = (37 * hash) + AVATAR_FIELD_NUMBER;
  1217. hash = (53 * hash) + getAvatar().hashCode();
  1218. hash = (37 * hash) + GENDER_FIELD_NUMBER;
  1219. hash = (53 * hash) + gender_;
  1220. hash = (37 * hash) + JOB_FIELD_NUMBER;
  1221. hash = (53 * hash) + getJob().hashCode();
  1222. hash = (37 * hash) + PHONE_FIELD_NUMBER;
  1223. hash = (53 * hash) + getPhone().hashCode();
  1224. hash = (37 * hash) + CORPID_FIELD_NUMBER;
  1225. hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  1226. getCorpId());
  1227. hash = (37 * hash) + ATTR_FIELD_NUMBER;
  1228. hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  1229. getAttr());
  1230. if (getDepartIdsCount() > 0) {
  1231. hash = (37 * hash) + DEPARTIDS_FIELD_NUMBER;
  1232. hash = (53 * hash) + getDepartIdsList().hashCode();
  1233. }
  1234. hash = (37 * hash) + IMEI_FIELD_NUMBER;
  1235. hash = (53 * hash) + getIMEI().hashCode();
  1236. hash = (37 * hash) + SYNCSTAT_FIELD_NUMBER;
  1237. hash = (53 * hash) + getSyncStat();
  1238. hash = (37 * hash) + CORPNAME_FIELD_NUMBER;
  1239. hash = (53 * hash) + getCorpName().hashCode();
  1240. hash = (37 * hash) + SHOWNAME_FIELD_NUMBER;
  1241. hash = (53 * hash) + getShowName().hashCode();
  1242. hash = (37 * hash) + CORPSHORTNAME_FIELD_NUMBER;
  1243. hash = (53 * hash) + getCorpShortName().hashCode();
  1244. hash = (37 * hash) + UID_FIELD_NUMBER;
  1245. hash = (53 * hash) + getUid().hashCode();
  1246. hash = (29 * hash) + unknownFields.hashCode();
  1247. memoizedHashCode = hash;
  1248. return hash;
  1249. }
  1250. public static Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage parseFrom(
  1251. java.nio.ByteBuffer data)
  1252. throws com.google.protobuf.InvalidProtocolBufferException {
  1253. return PARSER.parseFrom(data);
  1254. }
  1255. public static Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage parseFrom(
  1256. java.nio.ByteBuffer data,
  1257. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1258. throws com.google.protobuf.InvalidProtocolBufferException {
  1259. return PARSER.parseFrom(data, extensionRegistry);
  1260. }
  1261. public static Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage parseFrom(
  1262. com.google.protobuf.ByteString data)
  1263. throws com.google.protobuf.InvalidProtocolBufferException {
  1264. return PARSER.parseFrom(data);
  1265. }
  1266. public static Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage parseFrom(
  1267. com.google.protobuf.ByteString data,
  1268. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1269. throws com.google.protobuf.InvalidProtocolBufferException {
  1270. return PARSER.parseFrom(data, extensionRegistry);
  1271. }
  1272. public static Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage parseFrom(byte[] data)
  1273. throws com.google.protobuf.InvalidProtocolBufferException {
  1274. return PARSER.parseFrom(data);
  1275. }
  1276. public static Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage parseFrom(
  1277. byte[] data,
  1278. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1279. throws com.google.protobuf.InvalidProtocolBufferException {
  1280. return PARSER.parseFrom(data, extensionRegistry);
  1281. }
  1282. public static Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage parseFrom(java.io.InputStream input)
  1283. throws java.io.IOException {
  1284. return com.google.protobuf.GeneratedMessageV3
  1285. .parseWithIOException(PARSER, input);
  1286. }
  1287. public static Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage parseFrom(
  1288. java.io.InputStream input,
  1289. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1290. throws java.io.IOException {
  1291. return com.google.protobuf.GeneratedMessageV3
  1292. .parseWithIOException(PARSER, input, extensionRegistry);
  1293. }
  1294. public static Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage parseDelimitedFrom(java.io.InputStream input)
  1295. throws java.io.IOException {
  1296. return com.google.protobuf.GeneratedMessageV3
  1297. .parseDelimitedWithIOException(PARSER, input);
  1298. }
  1299. public static Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage parseDelimitedFrom(
  1300. java.io.InputStream input,
  1301. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1302. throws java.io.IOException {
  1303. return com.google.protobuf.GeneratedMessageV3
  1304. .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  1305. }
  1306. public static Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage parseFrom(
  1307. com.google.protobuf.CodedInputStream input)
  1308. throws java.io.IOException {
  1309. return com.google.protobuf.GeneratedMessageV3
  1310. .parseWithIOException(PARSER, input);
  1311. }
  1312. public static Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage parseFrom(
  1313. com.google.protobuf.CodedInputStream input,
  1314. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1315. throws java.io.IOException {
  1316. return com.google.protobuf.GeneratedMessageV3
  1317. .parseWithIOException(PARSER, input, extensionRegistry);
  1318. }
  1319. @java.lang.Override
  1320. public Builder newBuilderForType() { return newBuilder(); }
  1321. public static Builder newBuilder() {
  1322. return DEFAULT_INSTANCE.toBuilder();
  1323. }
  1324. public static Builder newBuilder(Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage prototype) {
  1325. return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  1326. }
  1327. @java.lang.Override
  1328. public Builder toBuilder() {
  1329. return this == DEFAULT_INSTANCE
  1330. ? new Builder() : new Builder().mergeFrom(this);
  1331. }
  1332. @java.lang.Override
  1333. protected Builder newBuilderForType(
  1334. com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  1335. Builder builder = new Builder(parent);
  1336. return builder;
  1337. }
  1338. /**
  1339. * Protobuf type {@code Im.Scrm.Ww.Proto.WwOnlineNoticeMessage}
  1340. */
  1341. public static final class Builder extends
  1342. com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
  1343. // @@protoc_insertion_point(builder_implements:Im.Scrm.Ww.Proto.WwOnlineNoticeMessage)
  1344. Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessageOrBuilder {
  1345. public static final com.google.protobuf.Descriptors.Descriptor
  1346. getDescriptor() {
  1347. return Im.Scrm.Ww.Proto.WwOnlineNotice.internal_static_Im_Scrm_Ww_Proto_WwOnlineNoticeMessage_descriptor;
  1348. }
  1349. @java.lang.Override
  1350. protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  1351. internalGetFieldAccessorTable() {
  1352. return Im.Scrm.Ww.Proto.WwOnlineNotice.internal_static_Im_Scrm_Ww_Proto_WwOnlineNoticeMessage_fieldAccessorTable
  1353. .ensureFieldAccessorsInitialized(
  1354. Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage.class, Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage.Builder.class);
  1355. }
  1356. // Construct using Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage.newBuilder()
  1357. private Builder() {
  1358. maybeForceBuilderInitialization();
  1359. }
  1360. private Builder(
  1361. com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  1362. super(parent);
  1363. maybeForceBuilderInitialization();
  1364. }
  1365. private void maybeForceBuilderInitialization() {
  1366. if (com.google.protobuf.GeneratedMessageV3
  1367. .alwaysUseFieldBuilders) {
  1368. }
  1369. }
  1370. @java.lang.Override
  1371. public Builder clear() {
  1372. super.clear();
  1373. wxId_ = 0L;
  1374. name_ = "";
  1375. alias_ = "";
  1376. acctId_ = "";
  1377. avatar_ = "";
  1378. gender_ = 0;
  1379. job_ = "";
  1380. phone_ = "";
  1381. corpId_ = 0L;
  1382. attr_ = 0L;
  1383. departIds_ = emptyLongList();
  1384. bitField0_ = (bitField0_ & ~0x00000001);
  1385. iMEI_ = "";
  1386. syncStat_ = 0;
  1387. corpName_ = "";
  1388. showName_ = "";
  1389. corpShortName_ = "";
  1390. uid_ = "";
  1391. return this;
  1392. }
  1393. @java.lang.Override
  1394. public com.google.protobuf.Descriptors.Descriptor
  1395. getDescriptorForType() {
  1396. return Im.Scrm.Ww.Proto.WwOnlineNotice.internal_static_Im_Scrm_Ww_Proto_WwOnlineNoticeMessage_descriptor;
  1397. }
  1398. @java.lang.Override
  1399. public Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage getDefaultInstanceForType() {
  1400. return Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage.getDefaultInstance();
  1401. }
  1402. @java.lang.Override
  1403. public Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage build() {
  1404. Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage result = buildPartial();
  1405. if (!result.isInitialized()) {
  1406. throw newUninitializedMessageException(result);
  1407. }
  1408. return result;
  1409. }
  1410. @java.lang.Override
  1411. public Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage buildPartial() {
  1412. Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage result = new Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage(this);
  1413. int from_bitField0_ = bitField0_;
  1414. result.wxId_ = wxId_;
  1415. result.name_ = name_;
  1416. result.alias_ = alias_;
  1417. result.acctId_ = acctId_;
  1418. result.avatar_ = avatar_;
  1419. result.gender_ = gender_;
  1420. result.job_ = job_;
  1421. result.phone_ = phone_;
  1422. result.corpId_ = corpId_;
  1423. result.attr_ = attr_;
  1424. if (((bitField0_ & 0x00000001) != 0)) {
  1425. departIds_.makeImmutable();
  1426. bitField0_ = (bitField0_ & ~0x00000001);
  1427. }
  1428. result.departIds_ = departIds_;
  1429. result.iMEI_ = iMEI_;
  1430. result.syncStat_ = syncStat_;
  1431. result.corpName_ = corpName_;
  1432. result.showName_ = showName_;
  1433. result.corpShortName_ = corpShortName_;
  1434. result.uid_ = uid_;
  1435. onBuilt();
  1436. return result;
  1437. }
  1438. @java.lang.Override
  1439. public Builder clone() {
  1440. return super.clone();
  1441. }
  1442. @java.lang.Override
  1443. public Builder setField(
  1444. com.google.protobuf.Descriptors.FieldDescriptor field,
  1445. java.lang.Object value) {
  1446. return super.setField(field, value);
  1447. }
  1448. @java.lang.Override
  1449. public Builder clearField(
  1450. com.google.protobuf.Descriptors.FieldDescriptor field) {
  1451. return super.clearField(field);
  1452. }
  1453. @java.lang.Override
  1454. public Builder clearOneof(
  1455. com.google.protobuf.Descriptors.OneofDescriptor oneof) {
  1456. return super.clearOneof(oneof);
  1457. }
  1458. @java.lang.Override
  1459. public Builder setRepeatedField(
  1460. com.google.protobuf.Descriptors.FieldDescriptor field,
  1461. int index, java.lang.Object value) {
  1462. return super.setRepeatedField(field, index, value);
  1463. }
  1464. @java.lang.Override
  1465. public Builder addRepeatedField(
  1466. com.google.protobuf.Descriptors.FieldDescriptor field,
  1467. java.lang.Object value) {
  1468. return super.addRepeatedField(field, value);
  1469. }
  1470. @java.lang.Override
  1471. public Builder mergeFrom(com.google.protobuf.Message other) {
  1472. if (other instanceof Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage) {
  1473. return mergeFrom((Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage)other);
  1474. } else {
  1475. super.mergeFrom(other);
  1476. return this;
  1477. }
  1478. }
  1479. public Builder mergeFrom(Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage other) {
  1480. if (other == Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage.getDefaultInstance()) return this;
  1481. if (other.getWxId() != 0L) {
  1482. setWxId(other.getWxId());
  1483. }
  1484. if (!other.getName().isEmpty()) {
  1485. name_ = other.name_;
  1486. onChanged();
  1487. }
  1488. if (!other.getAlias().isEmpty()) {
  1489. alias_ = other.alias_;
  1490. onChanged();
  1491. }
  1492. if (!other.getAcctId().isEmpty()) {
  1493. acctId_ = other.acctId_;
  1494. onChanged();
  1495. }
  1496. if (!other.getAvatar().isEmpty()) {
  1497. avatar_ = other.avatar_;
  1498. onChanged();
  1499. }
  1500. if (other.gender_ != 0) {
  1501. setGenderValue(other.getGenderValue());
  1502. }
  1503. if (!other.getJob().isEmpty()) {
  1504. job_ = other.job_;
  1505. onChanged();
  1506. }
  1507. if (!other.getPhone().isEmpty()) {
  1508. phone_ = other.phone_;
  1509. onChanged();
  1510. }
  1511. if (other.getCorpId() != 0L) {
  1512. setCorpId(other.getCorpId());
  1513. }
  1514. if (other.getAttr() != 0L) {
  1515. setAttr(other.getAttr());
  1516. }
  1517. if (!other.departIds_.isEmpty()) {
  1518. if (departIds_.isEmpty()) {
  1519. departIds_ = other.departIds_;
  1520. bitField0_ = (bitField0_ & ~0x00000001);
  1521. } else {
  1522. ensureDepartIdsIsMutable();
  1523. departIds_.addAll(other.departIds_);
  1524. }
  1525. onChanged();
  1526. }
  1527. if (!other.getIMEI().isEmpty()) {
  1528. iMEI_ = other.iMEI_;
  1529. onChanged();
  1530. }
  1531. if (other.getSyncStat() != 0) {
  1532. setSyncStat(other.getSyncStat());
  1533. }
  1534. if (!other.getCorpName().isEmpty()) {
  1535. corpName_ = other.corpName_;
  1536. onChanged();
  1537. }
  1538. if (!other.getShowName().isEmpty()) {
  1539. showName_ = other.showName_;
  1540. onChanged();
  1541. }
  1542. if (!other.getCorpShortName().isEmpty()) {
  1543. corpShortName_ = other.corpShortName_;
  1544. onChanged();
  1545. }
  1546. if (!other.getUid().isEmpty()) {
  1547. uid_ = other.uid_;
  1548. onChanged();
  1549. }
  1550. this.mergeUnknownFields(other.unknownFields);
  1551. onChanged();
  1552. return this;
  1553. }
  1554. @java.lang.Override
  1555. public final boolean isInitialized() {
  1556. return true;
  1557. }
  1558. @java.lang.Override
  1559. public Builder mergeFrom(
  1560. com.google.protobuf.CodedInputStream input,
  1561. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1562. throws java.io.IOException {
  1563. Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage parsedMessage = null;
  1564. try {
  1565. parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
  1566. } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  1567. parsedMessage = (Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage) e.getUnfinishedMessage();
  1568. throw e.unwrapIOException();
  1569. } finally {
  1570. if (parsedMessage != null) {
  1571. mergeFrom(parsedMessage);
  1572. }
  1573. }
  1574. return this;
  1575. }
  1576. private int bitField0_;
  1577. private long wxId_ ;
  1578. /**
  1579. * <pre>
  1580. *账号ID
  1581. * </pre>
  1582. *
  1583. * <code>int64 WxId = 1;</code>
  1584. * @return The wxId.
  1585. */
  1586. public long getWxId() {
  1587. return wxId_;
  1588. }
  1589. /**
  1590. * <pre>
  1591. *账号ID
  1592. * </pre>
  1593. *
  1594. * <code>int64 WxId = 1;</code>
  1595. * @param value The wxId to set.
  1596. * @return This builder for chaining.
  1597. */
  1598. public Builder setWxId(long value) {
  1599. wxId_ = value;
  1600. onChanged();
  1601. return this;
  1602. }
  1603. /**
  1604. * <pre>
  1605. *账号ID
  1606. * </pre>
  1607. *
  1608. * <code>int64 WxId = 1;</code>
  1609. * @return This builder for chaining.
  1610. */
  1611. public Builder clearWxId() {
  1612. wxId_ = 0L;
  1613. onChanged();
  1614. return this;
  1615. }
  1616. private java.lang.Object name_ = "";
  1617. /**
  1618. * <pre>
  1619. *名称
  1620. * </pre>
  1621. *
  1622. * <code>string Name = 2;</code>
  1623. * @return The name.
  1624. */
  1625. public java.lang.String getName() {
  1626. java.lang.Object ref = name_;
  1627. if (!(ref instanceof java.lang.String)) {
  1628. com.google.protobuf.ByteString bs =
  1629. (com.google.protobuf.ByteString) ref;
  1630. java.lang.String s = bs.toStringUtf8();
  1631. name_ = s;
  1632. return s;
  1633. } else {
  1634. return (java.lang.String) ref;
  1635. }
  1636. }
  1637. /**
  1638. * <pre>
  1639. *名称
  1640. * </pre>
  1641. *
  1642. * <code>string Name = 2;</code>
  1643. * @return The bytes for name.
  1644. */
  1645. public com.google.protobuf.ByteString
  1646. getNameBytes() {
  1647. java.lang.Object ref = name_;
  1648. if (ref instanceof String) {
  1649. com.google.protobuf.ByteString b =
  1650. com.google.protobuf.ByteString.copyFromUtf8(
  1651. (java.lang.String) ref);
  1652. name_ = b;
  1653. return b;
  1654. } else {
  1655. return (com.google.protobuf.ByteString) ref;
  1656. }
  1657. }
  1658. /**
  1659. * <pre>
  1660. *名称
  1661. * </pre>
  1662. *
  1663. * <code>string Name = 2;</code>
  1664. * @param value The name to set.
  1665. * @return This builder for chaining.
  1666. */
  1667. public Builder setName(
  1668. java.lang.String value) {
  1669. if (value == null) {
  1670. throw new NullPointerException();
  1671. }
  1672. name_ = value;
  1673. onChanged();
  1674. return this;
  1675. }
  1676. /**
  1677. * <pre>
  1678. *名称
  1679. * </pre>
  1680. *
  1681. * <code>string Name = 2;</code>
  1682. * @return This builder for chaining.
  1683. */
  1684. public Builder clearName() {
  1685. name_ = getDefaultInstance().getName();
  1686. onChanged();
  1687. return this;
  1688. }
  1689. /**
  1690. * <pre>
  1691. *名称
  1692. * </pre>
  1693. *
  1694. * <code>string Name = 2;</code>
  1695. * @param value The bytes for name to set.
  1696. * @return This builder for chaining.
  1697. */
  1698. public Builder setNameBytes(
  1699. com.google.protobuf.ByteString value) {
  1700. if (value == null) {
  1701. throw new NullPointerException();
  1702. }
  1703. checkByteStringIsUtf8(value);
  1704. name_ = value;
  1705. onChanged();
  1706. return this;
  1707. }
  1708. private java.lang.Object alias_ = "";
  1709. /**
  1710. * <pre>
  1711. *别称
  1712. * </pre>
  1713. *
  1714. * <code>string Alias = 3;</code>
  1715. * @return The alias.
  1716. */
  1717. public java.lang.String getAlias() {
  1718. java.lang.Object ref = alias_;
  1719. if (!(ref instanceof java.lang.String)) {
  1720. com.google.protobuf.ByteString bs =
  1721. (com.google.protobuf.ByteString) ref;
  1722. java.lang.String s = bs.toStringUtf8();
  1723. alias_ = s;
  1724. return s;
  1725. } else {
  1726. return (java.lang.String) ref;
  1727. }
  1728. }
  1729. /**
  1730. * <pre>
  1731. *别称
  1732. * </pre>
  1733. *
  1734. * <code>string Alias = 3;</code>
  1735. * @return The bytes for alias.
  1736. */
  1737. public com.google.protobuf.ByteString
  1738. getAliasBytes() {
  1739. java.lang.Object ref = alias_;
  1740. if (ref instanceof String) {
  1741. com.google.protobuf.ByteString b =
  1742. com.google.protobuf.ByteString.copyFromUtf8(
  1743. (java.lang.String) ref);
  1744. alias_ = b;
  1745. return b;
  1746. } else {
  1747. return (com.google.protobuf.ByteString) ref;
  1748. }
  1749. }
  1750. /**
  1751. * <pre>
  1752. *别称
  1753. * </pre>
  1754. *
  1755. * <code>string Alias = 3;</code>
  1756. * @param value The alias to set.
  1757. * @return This builder for chaining.
  1758. */
  1759. public Builder setAlias(
  1760. java.lang.String value) {
  1761. if (value == null) {
  1762. throw new NullPointerException();
  1763. }
  1764. alias_ = value;
  1765. onChanged();
  1766. return this;
  1767. }
  1768. /**
  1769. * <pre>
  1770. *别称
  1771. * </pre>
  1772. *
  1773. * <code>string Alias = 3;</code>
  1774. * @return This builder for chaining.
  1775. */
  1776. public Builder clearAlias() {
  1777. alias_ = getDefaultInstance().getAlias();
  1778. onChanged();
  1779. return this;
  1780. }
  1781. /**
  1782. * <pre>
  1783. *别称
  1784. * </pre>
  1785. *
  1786. * <code>string Alias = 3;</code>
  1787. * @param value The bytes for alias to set.
  1788. * @return This builder for chaining.
  1789. */
  1790. public Builder setAliasBytes(
  1791. com.google.protobuf.ByteString value) {
  1792. if (value == null) {
  1793. throw new NullPointerException();
  1794. }
  1795. checkByteStringIsUtf8(value);
  1796. alias_ = value;
  1797. onChanged();
  1798. return this;
  1799. }
  1800. private java.lang.Object acctId_ = "";
  1801. /**
  1802. * <pre>
  1803. *内部账号
  1804. * </pre>
  1805. *
  1806. * <code>string AcctId = 4;</code>
  1807. * @return The acctId.
  1808. */
  1809. public java.lang.String getAcctId() {
  1810. java.lang.Object ref = acctId_;
  1811. if (!(ref instanceof java.lang.String)) {
  1812. com.google.protobuf.ByteString bs =
  1813. (com.google.protobuf.ByteString) ref;
  1814. java.lang.String s = bs.toStringUtf8();
  1815. acctId_ = s;
  1816. return s;
  1817. } else {
  1818. return (java.lang.String) ref;
  1819. }
  1820. }
  1821. /**
  1822. * <pre>
  1823. *内部账号
  1824. * </pre>
  1825. *
  1826. * <code>string AcctId = 4;</code>
  1827. * @return The bytes for acctId.
  1828. */
  1829. public com.google.protobuf.ByteString
  1830. getAcctIdBytes() {
  1831. java.lang.Object ref = acctId_;
  1832. if (ref instanceof String) {
  1833. com.google.protobuf.ByteString b =
  1834. com.google.protobuf.ByteString.copyFromUtf8(
  1835. (java.lang.String) ref);
  1836. acctId_ = b;
  1837. return b;
  1838. } else {
  1839. return (com.google.protobuf.ByteString) ref;
  1840. }
  1841. }
  1842. /**
  1843. * <pre>
  1844. *内部账号
  1845. * </pre>
  1846. *
  1847. * <code>string AcctId = 4;</code>
  1848. * @param value The acctId to set.
  1849. * @return This builder for chaining.
  1850. */
  1851. public Builder setAcctId(
  1852. java.lang.String value) {
  1853. if (value == null) {
  1854. throw new NullPointerException();
  1855. }
  1856. acctId_ = value;
  1857. onChanged();
  1858. return this;
  1859. }
  1860. /**
  1861. * <pre>
  1862. *内部账号
  1863. * </pre>
  1864. *
  1865. * <code>string AcctId = 4;</code>
  1866. * @return This builder for chaining.
  1867. */
  1868. public Builder clearAcctId() {
  1869. acctId_ = getDefaultInstance().getAcctId();
  1870. onChanged();
  1871. return this;
  1872. }
  1873. /**
  1874. * <pre>
  1875. *内部账号
  1876. * </pre>
  1877. *
  1878. * <code>string AcctId = 4;</code>
  1879. * @param value The bytes for acctId to set.
  1880. * @return This builder for chaining.
  1881. */
  1882. public Builder setAcctIdBytes(
  1883. com.google.protobuf.ByteString value) {
  1884. if (value == null) {
  1885. throw new NullPointerException();
  1886. }
  1887. checkByteStringIsUtf8(value);
  1888. acctId_ = value;
  1889. onChanged();
  1890. return this;
  1891. }
  1892. private java.lang.Object avatar_ = "";
  1893. /**
  1894. * <pre>
  1895. *微信头像
  1896. * </pre>
  1897. *
  1898. * <code>string Avatar = 5;</code>
  1899. * @return The avatar.
  1900. */
  1901. public java.lang.String getAvatar() {
  1902. java.lang.Object ref = avatar_;
  1903. if (!(ref instanceof java.lang.String)) {
  1904. com.google.protobuf.ByteString bs =
  1905. (com.google.protobuf.ByteString) ref;
  1906. java.lang.String s = bs.toStringUtf8();
  1907. avatar_ = s;
  1908. return s;
  1909. } else {
  1910. return (java.lang.String) ref;
  1911. }
  1912. }
  1913. /**
  1914. * <pre>
  1915. *微信头像
  1916. * </pre>
  1917. *
  1918. * <code>string Avatar = 5;</code>
  1919. * @return The bytes for avatar.
  1920. */
  1921. public com.google.protobuf.ByteString
  1922. getAvatarBytes() {
  1923. java.lang.Object ref = avatar_;
  1924. if (ref instanceof String) {
  1925. com.google.protobuf.ByteString b =
  1926. com.google.protobuf.ByteString.copyFromUtf8(
  1927. (java.lang.String) ref);
  1928. avatar_ = b;
  1929. return b;
  1930. } else {
  1931. return (com.google.protobuf.ByteString) ref;
  1932. }
  1933. }
  1934. /**
  1935. * <pre>
  1936. *微信头像
  1937. * </pre>
  1938. *
  1939. * <code>string Avatar = 5;</code>
  1940. * @param value The avatar to set.
  1941. * @return This builder for chaining.
  1942. */
  1943. public Builder setAvatar(
  1944. java.lang.String value) {
  1945. if (value == null) {
  1946. throw new NullPointerException();
  1947. }
  1948. avatar_ = value;
  1949. onChanged();
  1950. return this;
  1951. }
  1952. /**
  1953. * <pre>
  1954. *微信头像
  1955. * </pre>
  1956. *
  1957. * <code>string Avatar = 5;</code>
  1958. * @return This builder for chaining.
  1959. */
  1960. public Builder clearAvatar() {
  1961. avatar_ = getDefaultInstance().getAvatar();
  1962. onChanged();
  1963. return this;
  1964. }
  1965. /**
  1966. * <pre>
  1967. *微信头像
  1968. * </pre>
  1969. *
  1970. * <code>string Avatar = 5;</code>
  1971. * @param value The bytes for avatar to set.
  1972. * @return This builder for chaining.
  1973. */
  1974. public Builder setAvatarBytes(
  1975. com.google.protobuf.ByteString value) {
  1976. if (value == null) {
  1977. throw new NullPointerException();
  1978. }
  1979. checkByteStringIsUtf8(value);
  1980. avatar_ = value;
  1981. onChanged();
  1982. return this;
  1983. }
  1984. private int gender_ = 0;
  1985. /**
  1986. * <pre>
  1987. *性别
  1988. * </pre>
  1989. *
  1990. * <code>.Im.Scrm.Ww.Proto.EnumGender Gender = 6;</code>
  1991. * @return The enum numeric value on the wire for gender.
  1992. */
  1993. public int getGenderValue() {
  1994. return gender_;
  1995. }
  1996. /**
  1997. * <pre>
  1998. *性别
  1999. * </pre>
  2000. *
  2001. * <code>.Im.Scrm.Ww.Proto.EnumGender Gender = 6;</code>
  2002. * @param value The enum numeric value on the wire for gender to set.
  2003. * @return This builder for chaining.
  2004. */
  2005. public Builder setGenderValue(int value) {
  2006. gender_ = value;
  2007. onChanged();
  2008. return this;
  2009. }
  2010. /**
  2011. * <pre>
  2012. *性别
  2013. * </pre>
  2014. *
  2015. * <code>.Im.Scrm.Ww.Proto.EnumGender Gender = 6;</code>
  2016. * @return The gender.
  2017. */
  2018. public Im.Scrm.Ww.Proto.WTransport.EnumGender getGender() {
  2019. @SuppressWarnings("deprecation")
  2020. Im.Scrm.Ww.Proto.WTransport.EnumGender result = Im.Scrm.Ww.Proto.WTransport.EnumGender.valueOf(gender_);
  2021. return result == null ? Im.Scrm.Ww.Proto.WTransport.EnumGender.UNRECOGNIZED : result;
  2022. }
  2023. /**
  2024. * <pre>
  2025. *性别
  2026. * </pre>
  2027. *
  2028. * <code>.Im.Scrm.Ww.Proto.EnumGender Gender = 6;</code>
  2029. * @param value The gender to set.
  2030. * @return This builder for chaining.
  2031. */
  2032. public Builder setGender(Im.Scrm.Ww.Proto.WTransport.EnumGender value) {
  2033. if (value == null) {
  2034. throw new NullPointerException();
  2035. }
  2036. gender_ = value.getNumber();
  2037. onChanged();
  2038. return this;
  2039. }
  2040. /**
  2041. * <pre>
  2042. *性别
  2043. * </pre>
  2044. *
  2045. * <code>.Im.Scrm.Ww.Proto.EnumGender Gender = 6;</code>
  2046. * @return This builder for chaining.
  2047. */
  2048. public Builder clearGender() {
  2049. gender_ = 0;
  2050. onChanged();
  2051. return this;
  2052. }
  2053. private java.lang.Object job_ = "";
  2054. /**
  2055. * <pre>
  2056. * 职位
  2057. * </pre>
  2058. *
  2059. * <code>string Job = 7;</code>
  2060. * @return The job.
  2061. */
  2062. public java.lang.String getJob() {
  2063. java.lang.Object ref = job_;
  2064. if (!(ref instanceof java.lang.String)) {
  2065. com.google.protobuf.ByteString bs =
  2066. (com.google.protobuf.ByteString) ref;
  2067. java.lang.String s = bs.toStringUtf8();
  2068. job_ = s;
  2069. return s;
  2070. } else {
  2071. return (java.lang.String) ref;
  2072. }
  2073. }
  2074. /**
  2075. * <pre>
  2076. * 职位
  2077. * </pre>
  2078. *
  2079. * <code>string Job = 7;</code>
  2080. * @return The bytes for job.
  2081. */
  2082. public com.google.protobuf.ByteString
  2083. getJobBytes() {
  2084. java.lang.Object ref = job_;
  2085. if (ref instanceof String) {
  2086. com.google.protobuf.ByteString b =
  2087. com.google.protobuf.ByteString.copyFromUtf8(
  2088. (java.lang.String) ref);
  2089. job_ = b;
  2090. return b;
  2091. } else {
  2092. return (com.google.protobuf.ByteString) ref;
  2093. }
  2094. }
  2095. /**
  2096. * <pre>
  2097. * 职位
  2098. * </pre>
  2099. *
  2100. * <code>string Job = 7;</code>
  2101. * @param value The job to set.
  2102. * @return This builder for chaining.
  2103. */
  2104. public Builder setJob(
  2105. java.lang.String value) {
  2106. if (value == null) {
  2107. throw new NullPointerException();
  2108. }
  2109. job_ = value;
  2110. onChanged();
  2111. return this;
  2112. }
  2113. /**
  2114. * <pre>
  2115. * 职位
  2116. * </pre>
  2117. *
  2118. * <code>string Job = 7;</code>
  2119. * @return This builder for chaining.
  2120. */
  2121. public Builder clearJob() {
  2122. job_ = getDefaultInstance().getJob();
  2123. onChanged();
  2124. return this;
  2125. }
  2126. /**
  2127. * <pre>
  2128. * 职位
  2129. * </pre>
  2130. *
  2131. * <code>string Job = 7;</code>
  2132. * @param value The bytes for job to set.
  2133. * @return This builder for chaining.
  2134. */
  2135. public Builder setJobBytes(
  2136. com.google.protobuf.ByteString value) {
  2137. if (value == null) {
  2138. throw new NullPointerException();
  2139. }
  2140. checkByteStringIsUtf8(value);
  2141. job_ = value;
  2142. onChanged();
  2143. return this;
  2144. }
  2145. private java.lang.Object phone_ = "";
  2146. /**
  2147. * <pre>
  2148. * </pre>
  2149. *
  2150. * <code>string Phone = 8;</code>
  2151. * @return The phone.
  2152. */
  2153. public java.lang.String getPhone() {
  2154. java.lang.Object ref = phone_;
  2155. if (!(ref instanceof java.lang.String)) {
  2156. com.google.protobuf.ByteString bs =
  2157. (com.google.protobuf.ByteString) ref;
  2158. java.lang.String s = bs.toStringUtf8();
  2159. phone_ = s;
  2160. return s;
  2161. } else {
  2162. return (java.lang.String) ref;
  2163. }
  2164. }
  2165. /**
  2166. * <pre>
  2167. * </pre>
  2168. *
  2169. * <code>string Phone = 8;</code>
  2170. * @return The bytes for phone.
  2171. */
  2172. public com.google.protobuf.ByteString
  2173. getPhoneBytes() {
  2174. java.lang.Object ref = phone_;
  2175. if (ref instanceof String) {
  2176. com.google.protobuf.ByteString b =
  2177. com.google.protobuf.ByteString.copyFromUtf8(
  2178. (java.lang.String) ref);
  2179. phone_ = b;
  2180. return b;
  2181. } else {
  2182. return (com.google.protobuf.ByteString) ref;
  2183. }
  2184. }
  2185. /**
  2186. * <pre>
  2187. * </pre>
  2188. *
  2189. * <code>string Phone = 8;</code>
  2190. * @param value The phone to set.
  2191. * @return This builder for chaining.
  2192. */
  2193. public Builder setPhone(
  2194. java.lang.String value) {
  2195. if (value == null) {
  2196. throw new NullPointerException();
  2197. }
  2198. phone_ = value;
  2199. onChanged();
  2200. return this;
  2201. }
  2202. /**
  2203. * <pre>
  2204. * </pre>
  2205. *
  2206. * <code>string Phone = 8;</code>
  2207. * @return This builder for chaining.
  2208. */
  2209. public Builder clearPhone() {
  2210. phone_ = getDefaultInstance().getPhone();
  2211. onChanged();
  2212. return this;
  2213. }
  2214. /**
  2215. * <pre>
  2216. * </pre>
  2217. *
  2218. * <code>string Phone = 8;</code>
  2219. * @param value The bytes for phone to set.
  2220. * @return This builder for chaining.
  2221. */
  2222. public Builder setPhoneBytes(
  2223. com.google.protobuf.ByteString value) {
  2224. if (value == null) {
  2225. throw new NullPointerException();
  2226. }
  2227. checkByteStringIsUtf8(value);
  2228. phone_ = value;
  2229. onChanged();
  2230. return this;
  2231. }
  2232. private long corpId_ ;
  2233. /**
  2234. * <pre>
  2235. *公司ID
  2236. * </pre>
  2237. *
  2238. * <code>int64 CorpId = 9;</code>
  2239. * @return The corpId.
  2240. */
  2241. public long getCorpId() {
  2242. return corpId_;
  2243. }
  2244. /**
  2245. * <pre>
  2246. *公司ID
  2247. * </pre>
  2248. *
  2249. * <code>int64 CorpId = 9;</code>
  2250. * @param value The corpId to set.
  2251. * @return This builder for chaining.
  2252. */
  2253. public Builder setCorpId(long value) {
  2254. corpId_ = value;
  2255. onChanged();
  2256. return this;
  2257. }
  2258. /**
  2259. * <pre>
  2260. *公司ID
  2261. * </pre>
  2262. *
  2263. * <code>int64 CorpId = 9;</code>
  2264. * @return This builder for chaining.
  2265. */
  2266. public Builder clearCorpId() {
  2267. corpId_ = 0L;
  2268. onChanged();
  2269. return this;
  2270. }
  2271. private long attr_ ;
  2272. /**
  2273. * <pre>
  2274. *属性 备用
  2275. * </pre>
  2276. *
  2277. * <code>int64 Attr = 10;</code>
  2278. * @return The attr.
  2279. */
  2280. public long getAttr() {
  2281. return attr_;
  2282. }
  2283. /**
  2284. * <pre>
  2285. *属性 备用
  2286. * </pre>
  2287. *
  2288. * <code>int64 Attr = 10;</code>
  2289. * @param value The attr to set.
  2290. * @return This builder for chaining.
  2291. */
  2292. public Builder setAttr(long value) {
  2293. attr_ = value;
  2294. onChanged();
  2295. return this;
  2296. }
  2297. /**
  2298. * <pre>
  2299. *属性 备用
  2300. * </pre>
  2301. *
  2302. * <code>int64 Attr = 10;</code>
  2303. * @return This builder for chaining.
  2304. */
  2305. public Builder clearAttr() {
  2306. attr_ = 0L;
  2307. onChanged();
  2308. return this;
  2309. }
  2310. private com.google.protobuf.Internal.LongList departIds_ = emptyLongList();
  2311. private void ensureDepartIdsIsMutable() {
  2312. if (!((bitField0_ & 0x00000001) != 0)) {
  2313. departIds_ = mutableCopy(departIds_);
  2314. bitField0_ |= 0x00000001;
  2315. }
  2316. }
  2317. /**
  2318. * <pre>
  2319. *SimpleDepartMessage Departs = 11; // 部门信息
  2320. * </pre>
  2321. *
  2322. * <code>repeated int64 DepartIds = 11;</code>
  2323. * @return A list containing the departIds.
  2324. */
  2325. public java.util.List<java.lang.Long>
  2326. getDepartIdsList() {
  2327. return ((bitField0_ & 0x00000001) != 0) ?
  2328. java.util.Collections.unmodifiableList(departIds_) : departIds_;
  2329. }
  2330. /**
  2331. * <pre>
  2332. *SimpleDepartMessage Departs = 11; // 部门信息
  2333. * </pre>
  2334. *
  2335. * <code>repeated int64 DepartIds = 11;</code>
  2336. * @return The count of departIds.
  2337. */
  2338. public int getDepartIdsCount() {
  2339. return departIds_.size();
  2340. }
  2341. /**
  2342. * <pre>
  2343. *SimpleDepartMessage Departs = 11; // 部门信息
  2344. * </pre>
  2345. *
  2346. * <code>repeated int64 DepartIds = 11;</code>
  2347. * @param index The index of the element to return.
  2348. * @return The departIds at the given index.
  2349. */
  2350. public long getDepartIds(int index) {
  2351. return departIds_.getLong(index);
  2352. }
  2353. /**
  2354. * <pre>
  2355. *SimpleDepartMessage Departs = 11; // 部门信息
  2356. * </pre>
  2357. *
  2358. * <code>repeated int64 DepartIds = 11;</code>
  2359. * @param index The index to set the value at.
  2360. * @param value The departIds to set.
  2361. * @return This builder for chaining.
  2362. */
  2363. public Builder setDepartIds(
  2364. int index, long value) {
  2365. ensureDepartIdsIsMutable();
  2366. departIds_.setLong(index, value);
  2367. onChanged();
  2368. return this;
  2369. }
  2370. /**
  2371. * <pre>
  2372. *SimpleDepartMessage Departs = 11; // 部门信息
  2373. * </pre>
  2374. *
  2375. * <code>repeated int64 DepartIds = 11;</code>
  2376. * @param value The departIds to add.
  2377. * @return This builder for chaining.
  2378. */
  2379. public Builder addDepartIds(long value) {
  2380. ensureDepartIdsIsMutable();
  2381. departIds_.addLong(value);
  2382. onChanged();
  2383. return this;
  2384. }
  2385. /**
  2386. * <pre>
  2387. *SimpleDepartMessage Departs = 11; // 部门信息
  2388. * </pre>
  2389. *
  2390. * <code>repeated int64 DepartIds = 11;</code>
  2391. * @param values The departIds to add.
  2392. * @return This builder for chaining.
  2393. */
  2394. public Builder addAllDepartIds(
  2395. java.lang.Iterable<? extends java.lang.Long> values) {
  2396. ensureDepartIdsIsMutable();
  2397. com.google.protobuf.AbstractMessageLite.Builder.addAll(
  2398. values, departIds_);
  2399. onChanged();
  2400. return this;
  2401. }
  2402. /**
  2403. * <pre>
  2404. *SimpleDepartMessage Departs = 11; // 部门信息
  2405. * </pre>
  2406. *
  2407. * <code>repeated int64 DepartIds = 11;</code>
  2408. * @return This builder for chaining.
  2409. */
  2410. public Builder clearDepartIds() {
  2411. departIds_ = emptyLongList();
  2412. bitField0_ = (bitField0_ & ~0x00000001);
  2413. onChanged();
  2414. return this;
  2415. }
  2416. private java.lang.Object iMEI_ = "";
  2417. /**
  2418. * <pre>
  2419. * imei号
  2420. * </pre>
  2421. *
  2422. * <code>string IMEI = 12;</code>
  2423. * @return The iMEI.
  2424. */
  2425. public java.lang.String getIMEI() {
  2426. java.lang.Object ref = iMEI_;
  2427. if (!(ref instanceof java.lang.String)) {
  2428. com.google.protobuf.ByteString bs =
  2429. (com.google.protobuf.ByteString) ref;
  2430. java.lang.String s = bs.toStringUtf8();
  2431. iMEI_ = s;
  2432. return s;
  2433. } else {
  2434. return (java.lang.String) ref;
  2435. }
  2436. }
  2437. /**
  2438. * <pre>
  2439. * imei号
  2440. * </pre>
  2441. *
  2442. * <code>string IMEI = 12;</code>
  2443. * @return The bytes for iMEI.
  2444. */
  2445. public com.google.protobuf.ByteString
  2446. getIMEIBytes() {
  2447. java.lang.Object ref = iMEI_;
  2448. if (ref instanceof String) {
  2449. com.google.protobuf.ByteString b =
  2450. com.google.protobuf.ByteString.copyFromUtf8(
  2451. (java.lang.String) ref);
  2452. iMEI_ = b;
  2453. return b;
  2454. } else {
  2455. return (com.google.protobuf.ByteString) ref;
  2456. }
  2457. }
  2458. /**
  2459. * <pre>
  2460. * imei号
  2461. * </pre>
  2462. *
  2463. * <code>string IMEI = 12;</code>
  2464. * @param value The iMEI to set.
  2465. * @return This builder for chaining.
  2466. */
  2467. public Builder setIMEI(
  2468. java.lang.String value) {
  2469. if (value == null) {
  2470. throw new NullPointerException();
  2471. }
  2472. iMEI_ = value;
  2473. onChanged();
  2474. return this;
  2475. }
  2476. /**
  2477. * <pre>
  2478. * imei号
  2479. * </pre>
  2480. *
  2481. * <code>string IMEI = 12;</code>
  2482. * @return This builder for chaining.
  2483. */
  2484. public Builder clearIMEI() {
  2485. iMEI_ = getDefaultInstance().getIMEI();
  2486. onChanged();
  2487. return this;
  2488. }
  2489. /**
  2490. * <pre>
  2491. * imei号
  2492. * </pre>
  2493. *
  2494. * <code>string IMEI = 12;</code>
  2495. * @param value The bytes for iMEI to set.
  2496. * @return This builder for chaining.
  2497. */
  2498. public Builder setIMEIBytes(
  2499. com.google.protobuf.ByteString value) {
  2500. if (value == null) {
  2501. throw new NullPointerException();
  2502. }
  2503. checkByteStringIsUtf8(value);
  2504. iMEI_ = value;
  2505. onChanged();
  2506. return this;
  2507. }
  2508. private int syncStat_ ;
  2509. /**
  2510. * <code>int32 SyncStat = 13;</code>
  2511. * @return The syncStat.
  2512. */
  2513. public int getSyncStat() {
  2514. return syncStat_;
  2515. }
  2516. /**
  2517. * <code>int32 SyncStat = 13;</code>
  2518. * @param value The syncStat to set.
  2519. * @return This builder for chaining.
  2520. */
  2521. public Builder setSyncStat(int value) {
  2522. syncStat_ = value;
  2523. onChanged();
  2524. return this;
  2525. }
  2526. /**
  2527. * <code>int32 SyncStat = 13;</code>
  2528. * @return This builder for chaining.
  2529. */
  2530. public Builder clearSyncStat() {
  2531. syncStat_ = 0;
  2532. onChanged();
  2533. return this;
  2534. }
  2535. private java.lang.Object corpName_ = "";
  2536. /**
  2537. * <code>string CorpName = 14;</code>
  2538. * @return The corpName.
  2539. */
  2540. public java.lang.String getCorpName() {
  2541. java.lang.Object ref = corpName_;
  2542. if (!(ref instanceof java.lang.String)) {
  2543. com.google.protobuf.ByteString bs =
  2544. (com.google.protobuf.ByteString) ref;
  2545. java.lang.String s = bs.toStringUtf8();
  2546. corpName_ = s;
  2547. return s;
  2548. } else {
  2549. return (java.lang.String) ref;
  2550. }
  2551. }
  2552. /**
  2553. * <code>string CorpName = 14;</code>
  2554. * @return The bytes for corpName.
  2555. */
  2556. public com.google.protobuf.ByteString
  2557. getCorpNameBytes() {
  2558. java.lang.Object ref = corpName_;
  2559. if (ref instanceof String) {
  2560. com.google.protobuf.ByteString b =
  2561. com.google.protobuf.ByteString.copyFromUtf8(
  2562. (java.lang.String) ref);
  2563. corpName_ = b;
  2564. return b;
  2565. } else {
  2566. return (com.google.protobuf.ByteString) ref;
  2567. }
  2568. }
  2569. /**
  2570. * <code>string CorpName = 14;</code>
  2571. * @param value The corpName to set.
  2572. * @return This builder for chaining.
  2573. */
  2574. public Builder setCorpName(
  2575. java.lang.String value) {
  2576. if (value == null) {
  2577. throw new NullPointerException();
  2578. }
  2579. corpName_ = value;
  2580. onChanged();
  2581. return this;
  2582. }
  2583. /**
  2584. * <code>string CorpName = 14;</code>
  2585. * @return This builder for chaining.
  2586. */
  2587. public Builder clearCorpName() {
  2588. corpName_ = getDefaultInstance().getCorpName();
  2589. onChanged();
  2590. return this;
  2591. }
  2592. /**
  2593. * <code>string CorpName = 14;</code>
  2594. * @param value The bytes for corpName to set.
  2595. * @return This builder for chaining.
  2596. */
  2597. public Builder setCorpNameBytes(
  2598. com.google.protobuf.ByteString value) {
  2599. if (value == null) {
  2600. throw new NullPointerException();
  2601. }
  2602. checkByteStringIsUtf8(value);
  2603. corpName_ = value;
  2604. onChanged();
  2605. return this;
  2606. }
  2607. private java.lang.Object showName_ = "";
  2608. /**
  2609. * <code>string ShowName = 15;</code>
  2610. * @return The showName.
  2611. */
  2612. public java.lang.String getShowName() {
  2613. java.lang.Object ref = showName_;
  2614. if (!(ref instanceof java.lang.String)) {
  2615. com.google.protobuf.ByteString bs =
  2616. (com.google.protobuf.ByteString) ref;
  2617. java.lang.String s = bs.toStringUtf8();
  2618. showName_ = s;
  2619. return s;
  2620. } else {
  2621. return (java.lang.String) ref;
  2622. }
  2623. }
  2624. /**
  2625. * <code>string ShowName = 15;</code>
  2626. * @return The bytes for showName.
  2627. */
  2628. public com.google.protobuf.ByteString
  2629. getShowNameBytes() {
  2630. java.lang.Object ref = showName_;
  2631. if (ref instanceof String) {
  2632. com.google.protobuf.ByteString b =
  2633. com.google.protobuf.ByteString.copyFromUtf8(
  2634. (java.lang.String) ref);
  2635. showName_ = b;
  2636. return b;
  2637. } else {
  2638. return (com.google.protobuf.ByteString) ref;
  2639. }
  2640. }
  2641. /**
  2642. * <code>string ShowName = 15;</code>
  2643. * @param value The showName to set.
  2644. * @return This builder for chaining.
  2645. */
  2646. public Builder setShowName(
  2647. java.lang.String value) {
  2648. if (value == null) {
  2649. throw new NullPointerException();
  2650. }
  2651. showName_ = value;
  2652. onChanged();
  2653. return this;
  2654. }
  2655. /**
  2656. * <code>string ShowName = 15;</code>
  2657. * @return This builder for chaining.
  2658. */
  2659. public Builder clearShowName() {
  2660. showName_ = getDefaultInstance().getShowName();
  2661. onChanged();
  2662. return this;
  2663. }
  2664. /**
  2665. * <code>string ShowName = 15;</code>
  2666. * @param value The bytes for showName to set.
  2667. * @return This builder for chaining.
  2668. */
  2669. public Builder setShowNameBytes(
  2670. com.google.protobuf.ByteString value) {
  2671. if (value == null) {
  2672. throw new NullPointerException();
  2673. }
  2674. checkByteStringIsUtf8(value);
  2675. showName_ = value;
  2676. onChanged();
  2677. return this;
  2678. }
  2679. private java.lang.Object corpShortName_ = "";
  2680. /**
  2681. * <code>string CorpShortName = 16;</code>
  2682. * @return The corpShortName.
  2683. */
  2684. public java.lang.String getCorpShortName() {
  2685. java.lang.Object ref = corpShortName_;
  2686. if (!(ref instanceof java.lang.String)) {
  2687. com.google.protobuf.ByteString bs =
  2688. (com.google.protobuf.ByteString) ref;
  2689. java.lang.String s = bs.toStringUtf8();
  2690. corpShortName_ = s;
  2691. return s;
  2692. } else {
  2693. return (java.lang.String) ref;
  2694. }
  2695. }
  2696. /**
  2697. * <code>string CorpShortName = 16;</code>
  2698. * @return The bytes for corpShortName.
  2699. */
  2700. public com.google.protobuf.ByteString
  2701. getCorpShortNameBytes() {
  2702. java.lang.Object ref = corpShortName_;
  2703. if (ref instanceof String) {
  2704. com.google.protobuf.ByteString b =
  2705. com.google.protobuf.ByteString.copyFromUtf8(
  2706. (java.lang.String) ref);
  2707. corpShortName_ = b;
  2708. return b;
  2709. } else {
  2710. return (com.google.protobuf.ByteString) ref;
  2711. }
  2712. }
  2713. /**
  2714. * <code>string CorpShortName = 16;</code>
  2715. * @param value The corpShortName to set.
  2716. * @return This builder for chaining.
  2717. */
  2718. public Builder setCorpShortName(
  2719. java.lang.String value) {
  2720. if (value == null) {
  2721. throw new NullPointerException();
  2722. }
  2723. corpShortName_ = value;
  2724. onChanged();
  2725. return this;
  2726. }
  2727. /**
  2728. * <code>string CorpShortName = 16;</code>
  2729. * @return This builder for chaining.
  2730. */
  2731. public Builder clearCorpShortName() {
  2732. corpShortName_ = getDefaultInstance().getCorpShortName();
  2733. onChanged();
  2734. return this;
  2735. }
  2736. /**
  2737. * <code>string CorpShortName = 16;</code>
  2738. * @param value The bytes for corpShortName to set.
  2739. * @return This builder for chaining.
  2740. */
  2741. public Builder setCorpShortNameBytes(
  2742. com.google.protobuf.ByteString value) {
  2743. if (value == null) {
  2744. throw new NullPointerException();
  2745. }
  2746. checkByteStringIsUtf8(value);
  2747. corpShortName_ = value;
  2748. onChanged();
  2749. return this;
  2750. }
  2751. private java.lang.Object uid_ = "";
  2752. /**
  2753. * <code>string Uid = 20;</code>
  2754. * @return The uid.
  2755. */
  2756. public java.lang.String getUid() {
  2757. java.lang.Object ref = uid_;
  2758. if (!(ref instanceof java.lang.String)) {
  2759. com.google.protobuf.ByteString bs =
  2760. (com.google.protobuf.ByteString) ref;
  2761. java.lang.String s = bs.toStringUtf8();
  2762. uid_ = s;
  2763. return s;
  2764. } else {
  2765. return (java.lang.String) ref;
  2766. }
  2767. }
  2768. /**
  2769. * <code>string Uid = 20;</code>
  2770. * @return The bytes for uid.
  2771. */
  2772. public com.google.protobuf.ByteString
  2773. getUidBytes() {
  2774. java.lang.Object ref = uid_;
  2775. if (ref instanceof String) {
  2776. com.google.protobuf.ByteString b =
  2777. com.google.protobuf.ByteString.copyFromUtf8(
  2778. (java.lang.String) ref);
  2779. uid_ = b;
  2780. return b;
  2781. } else {
  2782. return (com.google.protobuf.ByteString) ref;
  2783. }
  2784. }
  2785. /**
  2786. * <code>string Uid = 20;</code>
  2787. * @param value The uid to set.
  2788. * @return This builder for chaining.
  2789. */
  2790. public Builder setUid(
  2791. java.lang.String value) {
  2792. if (value == null) {
  2793. throw new NullPointerException();
  2794. }
  2795. uid_ = value;
  2796. onChanged();
  2797. return this;
  2798. }
  2799. /**
  2800. * <code>string Uid = 20;</code>
  2801. * @return This builder for chaining.
  2802. */
  2803. public Builder clearUid() {
  2804. uid_ = getDefaultInstance().getUid();
  2805. onChanged();
  2806. return this;
  2807. }
  2808. /**
  2809. * <code>string Uid = 20;</code>
  2810. * @param value The bytes for uid to set.
  2811. * @return This builder for chaining.
  2812. */
  2813. public Builder setUidBytes(
  2814. com.google.protobuf.ByteString value) {
  2815. if (value == null) {
  2816. throw new NullPointerException();
  2817. }
  2818. checkByteStringIsUtf8(value);
  2819. uid_ = value;
  2820. onChanged();
  2821. return this;
  2822. }
  2823. @java.lang.Override
  2824. public final Builder setUnknownFields(
  2825. final com.google.protobuf.UnknownFieldSet unknownFields) {
  2826. return super.setUnknownFields(unknownFields);
  2827. }
  2828. @java.lang.Override
  2829. public final Builder mergeUnknownFields(
  2830. final com.google.protobuf.UnknownFieldSet unknownFields) {
  2831. return super.mergeUnknownFields(unknownFields);
  2832. }
  2833. // @@protoc_insertion_point(builder_scope:Im.Scrm.Ww.Proto.WwOnlineNoticeMessage)
  2834. }
  2835. // @@protoc_insertion_point(class_scope:Im.Scrm.Ww.Proto.WwOnlineNoticeMessage)
  2836. private static final Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage DEFAULT_INSTANCE;
  2837. static {
  2838. DEFAULT_INSTANCE = new Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage();
  2839. }
  2840. public static Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage getDefaultInstance() {
  2841. return DEFAULT_INSTANCE;
  2842. }
  2843. private static final com.google.protobuf.Parser<WwOnlineNoticeMessage>
  2844. PARSER = new com.google.protobuf.AbstractParser<WwOnlineNoticeMessage>() {
  2845. @java.lang.Override
  2846. public WwOnlineNoticeMessage parsePartialFrom(
  2847. com.google.protobuf.CodedInputStream input,
  2848. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2849. throws com.google.protobuf.InvalidProtocolBufferException {
  2850. return new WwOnlineNoticeMessage(input, extensionRegistry);
  2851. }
  2852. };
  2853. public static com.google.protobuf.Parser<WwOnlineNoticeMessage> parser() {
  2854. return PARSER;
  2855. }
  2856. @java.lang.Override
  2857. public com.google.protobuf.Parser<WwOnlineNoticeMessage> getParserForType() {
  2858. return PARSER;
  2859. }
  2860. @java.lang.Override
  2861. public Im.Scrm.Ww.Proto.WwOnlineNotice.WwOnlineNoticeMessage getDefaultInstanceForType() {
  2862. return DEFAULT_INSTANCE;
  2863. }
  2864. }
  2865. private static final com.google.protobuf.Descriptors.Descriptor
  2866. internal_static_Im_Scrm_Ww_Proto_WwOnlineNoticeMessage_descriptor;
  2867. private static final
  2868. com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  2869. internal_static_Im_Scrm_Ww_Proto_WwOnlineNoticeMessage_fieldAccessorTable;
  2870. public static com.google.protobuf.Descriptors.FileDescriptor
  2871. getDescriptor() {
  2872. return descriptor;
  2873. }
  2874. private static com.google.protobuf.Descriptors.FileDescriptor
  2875. descriptor;
  2876. static {
  2877. java.lang.String[] descriptorData = {
  2878. "\n\024WwOnlineNotice.proto\022\020Im.Scrm.Ww.Proto" +
  2879. "\032\020WTransport.proto\"\305\002\n\025WwOnlineNoticeMes" +
  2880. "sage\022\014\n\004WxId\030\001 \001(\003\022\014\n\004Name\030\002 \001(\t\022\r\n\005Alia" +
  2881. "s\030\003 \001(\t\022\016\n\006AcctId\030\004 \001(\t\022\016\n\006Avatar\030\005 \001(\t\022" +
  2882. ",\n\006Gender\030\006 \001(\0162\034.Im.Scrm.Ww.Proto.EnumG" +
  2883. "ender\022\013\n\003Job\030\007 \001(\t\022\r\n\005Phone\030\010 \001(\t\022\016\n\006Cor" +
  2884. "pId\030\t \001(\003\022\014\n\004Attr\030\n \001(\003\022\021\n\tDepartIds\030\013 \003" +
  2885. "(\003\022\014\n\004IMEI\030\014 \001(\t\022\020\n\010SyncStat\030\r \001(\005\022\020\n\010Co" +
  2886. "rpName\030\016 \001(\t\022\020\n\010ShowName\030\017 \001(\t\022\025\n\rCorpSh" +
  2887. "ortName\030\020 \001(\t\022\013\n\003Uid\030\024 \001(\tb\006proto3"
  2888. };
  2889. descriptor = com.google.protobuf.Descriptors.FileDescriptor
  2890. .internalBuildGeneratedFileFrom(descriptorData,
  2891. new com.google.protobuf.Descriptors.FileDescriptor[] {
  2892. Im.Scrm.Ww.Proto.WTransport.getDescriptor(),
  2893. });
  2894. internal_static_Im_Scrm_Ww_Proto_WwOnlineNoticeMessage_descriptor =
  2895. getDescriptor().getMessageTypes().get(0);
  2896. internal_static_Im_Scrm_Ww_Proto_WwOnlineNoticeMessage_fieldAccessorTable = new
  2897. com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
  2898. internal_static_Im_Scrm_Ww_Proto_WwOnlineNoticeMessage_descriptor,
  2899. new java.lang.String[] { "WxId", "Name", "Alias", "AcctId", "Avatar", "Gender", "Job", "Phone", "CorpId", "Attr", "DepartIds", "IMEI", "SyncStat", "CorpName", "ShowName", "CorpShortName", "Uid", });
  2900. Im.Scrm.Ww.Proto.WTransport.getDescriptor();
  2901. }
  2902. // @@protoc_insertion_point(outer_class_scope)
  2903. }