/docs/weixin_7.0.4_source/反编译源码/未反混淆/src/main/java/com/tencent/mm/protocal/protobuf/adp.java

https://github.com/HelloHuDi/AndroidReverseNotes · Java · 379 lines · 375 code · 4 blank · 0 comment · 108 complexity · 53f3d6acabc2309ce33c11b546195709 MD5 · raw file

  1. package com.tencent.mm.protocal.protobuf;
  2. import com.tencent.matrix.trace.core.AppMethodBeat;
  3. import com.tencent.view.d;
  4. import e.a.a.b;
  5. import e.a.a.c.a;
  6. import java.util.LinkedList;
  7. public final class adp extends btd {
  8. public String SSID;
  9. public String Title;
  10. public String jBB;
  11. public String ncM;
  12. public String nzz;
  13. public String vAI;
  14. public int vAS;
  15. public avn wlA;
  16. public adl wlB;
  17. public String wlC;
  18. public int wlD;
  19. public LinkedList<le> wlE = new LinkedList();
  20. public String wlF;
  21. public vc wlG;
  22. public SKBuiltinBuffer_t wlH;
  23. public int wlI;
  24. public LinkedList<atp> wlJ = new LinkedList();
  25. public String wlK;
  26. public String wlL;
  27. public SKBuiltinBuffer_t wlw;
  28. public String wly;
  29. public String wlz;
  30. public adp() {
  31. AppMethodBeat.i(80055);
  32. AppMethodBeat.o(80055);
  33. }
  34. public final int op(int i, Object... objArr) {
  35. AppMethodBeat.i(80056);
  36. b bVar;
  37. int ix;
  38. byte[] bArr;
  39. if (i == 0) {
  40. a aVar = (a) objArr[0];
  41. if (this.BaseResponse == null) {
  42. bVar = new b("Not all required fields were included: BaseResponse");
  43. AppMethodBeat.o(80056);
  44. throw bVar;
  45. }
  46. if (this.BaseResponse != null) {
  47. aVar.iy(1, this.BaseResponse.computeSize());
  48. this.BaseResponse.writeFields(aVar);
  49. }
  50. if (this.wly != null) {
  51. aVar.e(2, this.wly);
  52. }
  53. if (this.wlz != null) {
  54. aVar.e(3, this.wlz);
  55. }
  56. aVar.iz(4, this.vAS);
  57. if (this.Title != null) {
  58. aVar.e(5, this.Title);
  59. }
  60. if (this.ncM != null) {
  61. aVar.e(6, this.ncM);
  62. }
  63. if (this.wlA != null) {
  64. aVar.iy(7, this.wlA.computeSize());
  65. this.wlA.writeFields(aVar);
  66. }
  67. if (this.wlB != null) {
  68. aVar.iy(8, this.wlB.computeSize());
  69. this.wlB.writeFields(aVar);
  70. }
  71. if (this.jBB != null) {
  72. aVar.e(9, this.jBB);
  73. }
  74. if (this.wlC != null) {
  75. aVar.e(15, this.wlC);
  76. }
  77. aVar.iz(16, this.wlD);
  78. aVar.e(17, 8, this.wlE);
  79. if (this.wlF != null) {
  80. aVar.e(18, this.wlF);
  81. }
  82. if (this.SSID != null) {
  83. aVar.e(20, this.SSID);
  84. }
  85. if (this.vAI != null) {
  86. aVar.e(21, this.vAI);
  87. }
  88. if (this.wlG != null) {
  89. aVar.iy(22, this.wlG.computeSize());
  90. this.wlG.writeFields(aVar);
  91. }
  92. if (this.wlH != null) {
  93. aVar.iy(23, this.wlH.computeSize());
  94. this.wlH.writeFields(aVar);
  95. }
  96. aVar.iz(24, this.wlI);
  97. aVar.e(25, 8, this.wlJ);
  98. if (this.nzz != null) {
  99. aVar.e(26, this.nzz);
  100. }
  101. if (this.wlK != null) {
  102. aVar.e(27, this.wlK);
  103. }
  104. if (this.wlw != null) {
  105. aVar.iy(28, this.wlw.computeSize());
  106. this.wlw.writeFields(aVar);
  107. }
  108. if (this.wlL != null) {
  109. aVar.e(29, this.wlL);
  110. }
  111. AppMethodBeat.o(80056);
  112. return 0;
  113. } else if (i == 1) {
  114. if (this.BaseResponse != null) {
  115. ix = e.a.a.a.ix(1, this.BaseResponse.computeSize()) + 0;
  116. } else {
  117. ix = 0;
  118. }
  119. if (this.wly != null) {
  120. ix += e.a.a.b.b.a.f(2, this.wly);
  121. }
  122. if (this.wlz != null) {
  123. ix += e.a.a.b.b.a.f(3, this.wlz);
  124. }
  125. ix += e.a.a.b.b.a.bs(4, this.vAS);
  126. if (this.Title != null) {
  127. ix += e.a.a.b.b.a.f(5, this.Title);
  128. }
  129. if (this.ncM != null) {
  130. ix += e.a.a.b.b.a.f(6, this.ncM);
  131. }
  132. if (this.wlA != null) {
  133. ix += e.a.a.a.ix(7, this.wlA.computeSize());
  134. }
  135. if (this.wlB != null) {
  136. ix += e.a.a.a.ix(8, this.wlB.computeSize());
  137. }
  138. if (this.jBB != null) {
  139. ix += e.a.a.b.b.a.f(9, this.jBB);
  140. }
  141. if (this.wlC != null) {
  142. ix += e.a.a.b.b.a.f(15, this.wlC);
  143. }
  144. ix = (ix + e.a.a.b.b.a.bs(16, this.wlD)) + e.a.a.a.c(17, 8, this.wlE);
  145. if (this.wlF != null) {
  146. ix += e.a.a.b.b.a.f(18, this.wlF);
  147. }
  148. if (this.SSID != null) {
  149. ix += e.a.a.b.b.a.f(20, this.SSID);
  150. }
  151. if (this.vAI != null) {
  152. ix += e.a.a.b.b.a.f(21, this.vAI);
  153. }
  154. if (this.wlG != null) {
  155. ix += e.a.a.a.ix(22, this.wlG.computeSize());
  156. }
  157. if (this.wlH != null) {
  158. ix += e.a.a.a.ix(23, this.wlH.computeSize());
  159. }
  160. ix = (ix + e.a.a.b.b.a.bs(24, this.wlI)) + e.a.a.a.c(25, 8, this.wlJ);
  161. if (this.nzz != null) {
  162. ix += e.a.a.b.b.a.f(26, this.nzz);
  163. }
  164. if (this.wlK != null) {
  165. ix += e.a.a.b.b.a.f(27, this.wlK);
  166. }
  167. if (this.wlw != null) {
  168. ix += e.a.a.a.ix(28, this.wlw.computeSize());
  169. }
  170. if (this.wlL != null) {
  171. ix += e.a.a.b.b.a.f(29, this.wlL);
  172. }
  173. AppMethodBeat.o(80056);
  174. return ix;
  175. } else if (i == 2) {
  176. bArr = (byte[]) objArr[0];
  177. this.wlE.clear();
  178. this.wlJ.clear();
  179. e.a.a.a.a aVar2 = new e.a.a.a.a(bArr, unknownTagHandler);
  180. for (ix = com.tencent.mm.bt.a.getNextFieldNumber(aVar2); ix > 0; ix = com.tencent.mm.bt.a.getNextFieldNumber(aVar2)) {
  181. if (!super.populateBuilderWithField(aVar2, this, ix)) {
  182. aVar2.ems();
  183. }
  184. }
  185. if (this.BaseResponse == null) {
  186. bVar = new b("Not all required fields were included: BaseResponse");
  187. AppMethodBeat.o(80056);
  188. throw bVar;
  189. }
  190. AppMethodBeat.o(80056);
  191. return 0;
  192. } else if (i == 3) {
  193. e.a.a.a.a aVar3 = (e.a.a.a.a) objArr[0];
  194. adp adp = (adp) objArr[1];
  195. int intValue = ((Integer) objArr[2]).intValue();
  196. LinkedList Vh;
  197. int size;
  198. e.a.a.a.a aVar4;
  199. boolean z;
  200. SKBuiltinBuffer_t sKBuiltinBuffer_t;
  201. switch (intValue) {
  202. case 1:
  203. Vh = aVar3.Vh(intValue);
  204. size = Vh.size();
  205. for (intValue = 0; intValue < size; intValue++) {
  206. bArr = (byte[]) Vh.get(intValue);
  207. BaseResponse baseResponse = new BaseResponse();
  208. aVar4 = new e.a.a.a.a(bArr, unknownTagHandler);
  209. for (z = true; z; z = baseResponse.populateBuilderWithField(aVar4, baseResponse, com.tencent.mm.bt.a.getNextFieldNumber(aVar4))) {
  210. }
  211. adp.BaseResponse = baseResponse;
  212. }
  213. AppMethodBeat.o(80056);
  214. return 0;
  215. case 2:
  216. adp.wly = aVar3.BTU.readString();
  217. AppMethodBeat.o(80056);
  218. return 0;
  219. case 3:
  220. adp.wlz = aVar3.BTU.readString();
  221. AppMethodBeat.o(80056);
  222. return 0;
  223. case 4:
  224. adp.vAS = aVar3.BTU.vd();
  225. AppMethodBeat.o(80056);
  226. return 0;
  227. case 5:
  228. adp.Title = aVar3.BTU.readString();
  229. AppMethodBeat.o(80056);
  230. return 0;
  231. case 6:
  232. adp.ncM = aVar3.BTU.readString();
  233. AppMethodBeat.o(80056);
  234. return 0;
  235. case 7:
  236. Vh = aVar3.Vh(intValue);
  237. size = Vh.size();
  238. for (intValue = 0; intValue < size; intValue++) {
  239. bArr = (byte[]) Vh.get(intValue);
  240. avn avn = new avn();
  241. aVar4 = new e.a.a.a.a(bArr, unknownTagHandler);
  242. for (z = true; z; z = avn.populateBuilderWithField(aVar4, avn, com.tencent.mm.bt.a.getNextFieldNumber(aVar4))) {
  243. }
  244. adp.wlA = avn;
  245. }
  246. AppMethodBeat.o(80056);
  247. return 0;
  248. case 8:
  249. Vh = aVar3.Vh(intValue);
  250. size = Vh.size();
  251. for (intValue = 0; intValue < size; intValue++) {
  252. bArr = (byte[]) Vh.get(intValue);
  253. adl adl = new adl();
  254. aVar4 = new e.a.a.a.a(bArr, unknownTagHandler);
  255. for (z = true; z; z = adl.populateBuilderWithField(aVar4, adl, com.tencent.mm.bt.a.getNextFieldNumber(aVar4))) {
  256. }
  257. adp.wlB = adl;
  258. }
  259. AppMethodBeat.o(80056);
  260. return 0;
  261. case 9:
  262. adp.jBB = aVar3.BTU.readString();
  263. AppMethodBeat.o(80056);
  264. return 0;
  265. case 15:
  266. adp.wlC = aVar3.BTU.readString();
  267. AppMethodBeat.o(80056);
  268. return 0;
  269. case 16:
  270. adp.wlD = aVar3.BTU.vd();
  271. AppMethodBeat.o(80056);
  272. return 0;
  273. case 17:
  274. Vh = aVar3.Vh(intValue);
  275. size = Vh.size();
  276. for (intValue = 0; intValue < size; intValue++) {
  277. bArr = (byte[]) Vh.get(intValue);
  278. le leVar = new le();
  279. aVar4 = new e.a.a.a.a(bArr, unknownTagHandler);
  280. for (z = true; z; z = leVar.populateBuilderWithField(aVar4, leVar, com.tencent.mm.bt.a.getNextFieldNumber(aVar4))) {
  281. }
  282. adp.wlE.add(leVar);
  283. }
  284. AppMethodBeat.o(80056);
  285. return 0;
  286. case 18:
  287. adp.wlF = aVar3.BTU.readString();
  288. AppMethodBeat.o(80056);
  289. return 0;
  290. case 20:
  291. adp.SSID = aVar3.BTU.readString();
  292. AppMethodBeat.o(80056);
  293. return 0;
  294. case 21:
  295. adp.vAI = aVar3.BTU.readString();
  296. AppMethodBeat.o(80056);
  297. return 0;
  298. case 22:
  299. Vh = aVar3.Vh(intValue);
  300. size = Vh.size();
  301. for (intValue = 0; intValue < size; intValue++) {
  302. bArr = (byte[]) Vh.get(intValue);
  303. vc vcVar = new vc();
  304. aVar4 = new e.a.a.a.a(bArr, unknownTagHandler);
  305. for (z = true; z; z = vcVar.populateBuilderWithField(aVar4, vcVar, com.tencent.mm.bt.a.getNextFieldNumber(aVar4))) {
  306. }
  307. adp.wlG = vcVar;
  308. }
  309. AppMethodBeat.o(80056);
  310. return 0;
  311. case 23:
  312. Vh = aVar3.Vh(intValue);
  313. size = Vh.size();
  314. for (intValue = 0; intValue < size; intValue++) {
  315. bArr = (byte[]) Vh.get(intValue);
  316. sKBuiltinBuffer_t = new SKBuiltinBuffer_t();
  317. aVar4 = new e.a.a.a.a(bArr, unknownTagHandler);
  318. for (z = true; z; z = sKBuiltinBuffer_t.populateBuilderWithField(aVar4, sKBuiltinBuffer_t, com.tencent.mm.bt.a.getNextFieldNumber(aVar4))) {
  319. }
  320. adp.wlH = sKBuiltinBuffer_t;
  321. }
  322. AppMethodBeat.o(80056);
  323. return 0;
  324. case 24:
  325. adp.wlI = aVar3.BTU.vd();
  326. AppMethodBeat.o(80056);
  327. return 0;
  328. case 25:
  329. Vh = aVar3.Vh(intValue);
  330. size = Vh.size();
  331. for (intValue = 0; intValue < size; intValue++) {
  332. bArr = (byte[]) Vh.get(intValue);
  333. atp atp = new atp();
  334. aVar4 = new e.a.a.a.a(bArr, unknownTagHandler);
  335. for (z = true; z; z = atp.populateBuilderWithField(aVar4, atp, com.tencent.mm.bt.a.getNextFieldNumber(aVar4))) {
  336. }
  337. adp.wlJ.add(atp);
  338. }
  339. AppMethodBeat.o(80056);
  340. return 0;
  341. case 26:
  342. adp.nzz = aVar3.BTU.readString();
  343. AppMethodBeat.o(80056);
  344. return 0;
  345. case 27:
  346. adp.wlK = aVar3.BTU.readString();
  347. AppMethodBeat.o(80056);
  348. return 0;
  349. case d.MIC_BASE_CHANNELSHARPEN /*28*/:
  350. Vh = aVar3.Vh(intValue);
  351. size = Vh.size();
  352. for (intValue = 0; intValue < size; intValue++) {
  353. bArr = (byte[]) Vh.get(intValue);
  354. sKBuiltinBuffer_t = new SKBuiltinBuffer_t();
  355. aVar4 = new e.a.a.a.a(bArr, unknownTagHandler);
  356. for (z = true; z; z = sKBuiltinBuffer_t.populateBuilderWithField(aVar4, sKBuiltinBuffer_t, com.tencent.mm.bt.a.getNextFieldNumber(aVar4))) {
  357. }
  358. adp.wlw = sKBuiltinBuffer_t;
  359. }
  360. AppMethodBeat.o(80056);
  361. return 0;
  362. case 29:
  363. adp.wlL = aVar3.BTU.readString();
  364. AppMethodBeat.o(80056);
  365. return 0;
  366. default:
  367. AppMethodBeat.o(80056);
  368. return -1;
  369. }
  370. } else {
  371. AppMethodBeat.o(80056);
  372. return -1;
  373. }
  374. }
  375. }