WPhoneActionTask.java 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: WPhoneActionTask.proto
  3. package Im.Scrm.Ww.Proto;
  4. public final class WPhoneActionTask {
  5. private WPhoneActionTask() {}
  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. /**
  15. * Protobuf enum {@code Im.Scrm.Ww.Proto.EnumPhoneAction}
  16. */
  17. public enum EnumPhoneAction
  18. implements com.google.protobuf.ProtocolMessageEnum {
  19. /**
  20. * <pre>
  21. * 空
  22. * </pre>
  23. *
  24. * <code>None = 0;</code>
  25. */
  26. None(0),
  27. /**
  28. * <pre>
  29. * 重启手机
  30. * </pre>
  31. *
  32. * <code>Reboot = 1;</code>
  33. */
  34. Reboot(1),
  35. /**
  36. * <pre>
  37. * 上传日志
  38. * </pre>
  39. *
  40. * <code>UploadLog = 2;</code>
  41. */
  42. UploadLog(2),
  43. /**
  44. * <pre>
  45. * 上传本地文件
  46. * </pre>
  47. *
  48. * <code>UploadFile = 3;</code>
  49. */
  50. UploadFile(3),
  51. /**
  52. * <pre>
  53. * 清除客服系统的图片缓存
  54. * </pre>
  55. *
  56. * <code>CleanAppCache = 4;</code>
  57. */
  58. CleanAppCache(4),
  59. /**
  60. * <pre>
  61. * 清除微信的图片视频缓存
  62. * </pre>
  63. *
  64. * <code>CleanWxCache = 5;</code>
  65. */
  66. CleanWxCache(5),
  67. /**
  68. * <pre>
  69. * 清除手机缓存的文件url(用于防止重复上传)
  70. * </pre>
  71. *
  72. * <code>CleanFileUrlCache = 6;</code>
  73. */
  74. CleanFileUrlCache(6),
  75. UNRECOGNIZED(-1),
  76. ;
  77. /**
  78. * <pre>
  79. * 空
  80. * </pre>
  81. *
  82. * <code>None = 0;</code>
  83. */
  84. public static final int None_VALUE = 0;
  85. /**
  86. * <pre>
  87. * 重启手机
  88. * </pre>
  89. *
  90. * <code>Reboot = 1;</code>
  91. */
  92. public static final int Reboot_VALUE = 1;
  93. /**
  94. * <pre>
  95. * 上传日志
  96. * </pre>
  97. *
  98. * <code>UploadLog = 2;</code>
  99. */
  100. public static final int UploadLog_VALUE = 2;
  101. /**
  102. * <pre>
  103. * 上传本地文件
  104. * </pre>
  105. *
  106. * <code>UploadFile = 3;</code>
  107. */
  108. public static final int UploadFile_VALUE = 3;
  109. /**
  110. * <pre>
  111. * 清除客服系统的图片缓存
  112. * </pre>
  113. *
  114. * <code>CleanAppCache = 4;</code>
  115. */
  116. public static final int CleanAppCache_VALUE = 4;
  117. /**
  118. * <pre>
  119. * 清除微信的图片视频缓存
  120. * </pre>
  121. *
  122. * <code>CleanWxCache = 5;</code>
  123. */
  124. public static final int CleanWxCache_VALUE = 5;
  125. /**
  126. * <pre>
  127. * 清除手机缓存的文件url(用于防止重复上传)
  128. * </pre>
  129. *
  130. * <code>CleanFileUrlCache = 6;</code>
  131. */
  132. public static final int CleanFileUrlCache_VALUE = 6;
  133. public final int getNumber() {
  134. if (this == UNRECOGNIZED) {
  135. throw new java.lang.IllegalArgumentException(
  136. "Can't get the number of an unknown enum value.");
  137. }
  138. return value;
  139. }
  140. /**
  141. * @param value The numeric wire value of the corresponding enum entry.
  142. * @return The enum associated with the given numeric wire value.
  143. * @deprecated Use {@link #forNumber(int)} instead.
  144. */
  145. @java.lang.Deprecated
  146. public static EnumPhoneAction valueOf(int value) {
  147. return forNumber(value);
  148. }
  149. /**
  150. * @param value The numeric wire value of the corresponding enum entry.
  151. * @return The enum associated with the given numeric wire value.
  152. */
  153. public static EnumPhoneAction forNumber(int value) {
  154. switch (value) {
  155. case 0: return None;
  156. case 1: return Reboot;
  157. case 2: return UploadLog;
  158. case 3: return UploadFile;
  159. case 4: return CleanAppCache;
  160. case 5: return CleanWxCache;
  161. case 6: return CleanFileUrlCache;
  162. default: return null;
  163. }
  164. }
  165. public static com.google.protobuf.Internal.EnumLiteMap<EnumPhoneAction>
  166. internalGetValueMap() {
  167. return internalValueMap;
  168. }
  169. private static final com.google.protobuf.Internal.EnumLiteMap<
  170. EnumPhoneAction> internalValueMap =
  171. new com.google.protobuf.Internal.EnumLiteMap<EnumPhoneAction>() {
  172. public EnumPhoneAction findValueByNumber(int number) {
  173. return EnumPhoneAction.forNumber(number);
  174. }
  175. };
  176. public final com.google.protobuf.Descriptors.EnumValueDescriptor
  177. getValueDescriptor() {
  178. return getDescriptor().getValues().get(ordinal());
  179. }
  180. public final com.google.protobuf.Descriptors.EnumDescriptor
  181. getDescriptorForType() {
  182. return getDescriptor();
  183. }
  184. public static final com.google.protobuf.Descriptors.EnumDescriptor
  185. getDescriptor() {
  186. return Im.Scrm.Ww.Proto.WPhoneActionTask.getDescriptor().getEnumTypes().get(0);
  187. }
  188. private static final EnumPhoneAction[] VALUES = values();
  189. public static EnumPhoneAction valueOf(
  190. com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
  191. if (desc.getType() != getDescriptor()) {
  192. throw new java.lang.IllegalArgumentException(
  193. "EnumValueDescriptor is not for this type.");
  194. }
  195. if (desc.getIndex() == -1) {
  196. return UNRECOGNIZED;
  197. }
  198. return VALUES[desc.getIndex()];
  199. }
  200. private final int value;
  201. private EnumPhoneAction(int value) {
  202. this.value = value;
  203. }
  204. // @@protoc_insertion_point(enum_scope:Im.Scrm.Ww.Proto.EnumPhoneAction)
  205. }
  206. public interface PhoneActionTaskMessageOrBuilder extends
  207. // @@protoc_insertion_point(interface_extends:Im.Scrm.Ww.Proto.PhoneActionTaskMessage)
  208. com.google.protobuf.MessageOrBuilder {
  209. /**
  210. * <code>int64 WxId = 1;</code>
  211. * @return The wxId.
  212. */
  213. long getWxId();
  214. /**
  215. * <pre>
  216. * 备用,用wxid或imei来定位手机
  217. * </pre>
  218. *
  219. * <code>string Imei = 2;</code>
  220. * @return The imei.
  221. */
  222. java.lang.String getImei();
  223. /**
  224. * <pre>
  225. * 备用,用wxid或imei来定位手机
  226. * </pre>
  227. *
  228. * <code>string Imei = 2;</code>
  229. * @return The bytes for imei.
  230. */
  231. com.google.protobuf.ByteString
  232. getImeiBytes();
  233. /**
  234. * <pre>
  235. * 指令
  236. * </pre>
  237. *
  238. * <code>.Im.Scrm.Ww.Proto.EnumPhoneAction Action = 3;</code>
  239. * @return The enum numeric value on the wire for action.
  240. */
  241. int getActionValue();
  242. /**
  243. * <pre>
  244. * 指令
  245. * </pre>
  246. *
  247. * <code>.Im.Scrm.Ww.Proto.EnumPhoneAction Action = 3;</code>
  248. * @return The action.
  249. */
  250. Im.Scrm.Ww.Proto.WPhoneActionTask.EnumPhoneAction getAction();
  251. /**
  252. * <pre>
  253. * 字符串参数,后续扩展用
  254. * </pre>
  255. *
  256. * <code>string StrParam = 4;</code>
  257. * @return The strParam.
  258. */
  259. java.lang.String getStrParam();
  260. /**
  261. * <pre>
  262. * 字符串参数,后续扩展用
  263. * </pre>
  264. *
  265. * <code>string StrParam = 4;</code>
  266. * @return The bytes for strParam.
  267. */
  268. com.google.protobuf.ByteString
  269. getStrParamBytes();
  270. /**
  271. * <pre>
  272. * 整型参数,后续扩展用
  273. * </pre>
  274. *
  275. * <code>int32 IntParam = 5;</code>
  276. * @return The intParam.
  277. */
  278. int getIntParam();
  279. /**
  280. * <code>int64 TaskId = 6;</code>
  281. * @return The taskId.
  282. */
  283. long getTaskId();
  284. }
  285. /**
  286. * Protobuf type {@code Im.Scrm.Ww.Proto.PhoneActionTaskMessage}
  287. */
  288. public static final class PhoneActionTaskMessage extends
  289. com.google.protobuf.GeneratedMessageV3 implements
  290. // @@protoc_insertion_point(message_implements:Im.Scrm.Ww.Proto.PhoneActionTaskMessage)
  291. PhoneActionTaskMessageOrBuilder {
  292. private static final long serialVersionUID = 0L;
  293. // Use PhoneActionTaskMessage.newBuilder() to construct.
  294. private PhoneActionTaskMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
  295. super(builder);
  296. }
  297. private PhoneActionTaskMessage() {
  298. imei_ = "";
  299. action_ = 0;
  300. strParam_ = "";
  301. }
  302. @java.lang.Override
  303. @SuppressWarnings({"unused"})
  304. protected java.lang.Object newInstance(
  305. UnusedPrivateParameter unused) {
  306. return new PhoneActionTaskMessage();
  307. }
  308. @java.lang.Override
  309. public final com.google.protobuf.UnknownFieldSet
  310. getUnknownFields() {
  311. return this.unknownFields;
  312. }
  313. private PhoneActionTaskMessage(
  314. com.google.protobuf.CodedInputStream input,
  315. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  316. throws com.google.protobuf.InvalidProtocolBufferException {
  317. this();
  318. if (extensionRegistry == null) {
  319. throw new java.lang.NullPointerException();
  320. }
  321. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  322. com.google.protobuf.UnknownFieldSet.newBuilder();
  323. try {
  324. boolean done = false;
  325. while (!done) {
  326. int tag = input.readTag();
  327. switch (tag) {
  328. case 0:
  329. done = true;
  330. break;
  331. case 8: {
  332. wxId_ = input.readInt64();
  333. break;
  334. }
  335. case 18: {
  336. java.lang.String s = input.readStringRequireUtf8();
  337. imei_ = s;
  338. break;
  339. }
  340. case 24: {
  341. int rawValue = input.readEnum();
  342. action_ = rawValue;
  343. break;
  344. }
  345. case 34: {
  346. java.lang.String s = input.readStringRequireUtf8();
  347. strParam_ = s;
  348. break;
  349. }
  350. case 40: {
  351. intParam_ = input.readInt32();
  352. break;
  353. }
  354. case 48: {
  355. taskId_ = input.readInt64();
  356. break;
  357. }
  358. default: {
  359. if (!parseUnknownField(
  360. input, unknownFields, extensionRegistry, tag)) {
  361. done = true;
  362. }
  363. break;
  364. }
  365. }
  366. }
  367. } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  368. throw e.setUnfinishedMessage(this);
  369. } catch (java.io.IOException e) {
  370. throw new com.google.protobuf.InvalidProtocolBufferException(
  371. e).setUnfinishedMessage(this);
  372. } finally {
  373. this.unknownFields = unknownFields.build();
  374. makeExtensionsImmutable();
  375. }
  376. }
  377. public static final com.google.protobuf.Descriptors.Descriptor
  378. getDescriptor() {
  379. return Im.Scrm.Ww.Proto.WPhoneActionTask.internal_static_Im_Scrm_Ww_Proto_PhoneActionTaskMessage_descriptor;
  380. }
  381. @java.lang.Override
  382. protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  383. internalGetFieldAccessorTable() {
  384. return Im.Scrm.Ww.Proto.WPhoneActionTask.internal_static_Im_Scrm_Ww_Proto_PhoneActionTaskMessage_fieldAccessorTable
  385. .ensureFieldAccessorsInitialized(
  386. Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage.class, Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage.Builder.class);
  387. }
  388. public static final int WXID_FIELD_NUMBER = 1;
  389. private long wxId_;
  390. /**
  391. * <code>int64 WxId = 1;</code>
  392. * @return The wxId.
  393. */
  394. public long getWxId() {
  395. return wxId_;
  396. }
  397. public static final int IMEI_FIELD_NUMBER = 2;
  398. private volatile java.lang.Object imei_;
  399. /**
  400. * <pre>
  401. * 备用,用wxid或imei来定位手机
  402. * </pre>
  403. *
  404. * <code>string Imei = 2;</code>
  405. * @return The imei.
  406. */
  407. public java.lang.String getImei() {
  408. java.lang.Object ref = imei_;
  409. if (ref instanceof java.lang.String) {
  410. return (java.lang.String) ref;
  411. } else {
  412. com.google.protobuf.ByteString bs =
  413. (com.google.protobuf.ByteString) ref;
  414. java.lang.String s = bs.toStringUtf8();
  415. imei_ = s;
  416. return s;
  417. }
  418. }
  419. /**
  420. * <pre>
  421. * 备用,用wxid或imei来定位手机
  422. * </pre>
  423. *
  424. * <code>string Imei = 2;</code>
  425. * @return The bytes for imei.
  426. */
  427. public com.google.protobuf.ByteString
  428. getImeiBytes() {
  429. java.lang.Object ref = imei_;
  430. if (ref instanceof java.lang.String) {
  431. com.google.protobuf.ByteString b =
  432. com.google.protobuf.ByteString.copyFromUtf8(
  433. (java.lang.String) ref);
  434. imei_ = b;
  435. return b;
  436. } else {
  437. return (com.google.protobuf.ByteString) ref;
  438. }
  439. }
  440. public static final int ACTION_FIELD_NUMBER = 3;
  441. private int action_;
  442. /**
  443. * <pre>
  444. * 指令
  445. * </pre>
  446. *
  447. * <code>.Im.Scrm.Ww.Proto.EnumPhoneAction Action = 3;</code>
  448. * @return The enum numeric value on the wire for action.
  449. */
  450. public int getActionValue() {
  451. return action_;
  452. }
  453. /**
  454. * <pre>
  455. * 指令
  456. * </pre>
  457. *
  458. * <code>.Im.Scrm.Ww.Proto.EnumPhoneAction Action = 3;</code>
  459. * @return The action.
  460. */
  461. public Im.Scrm.Ww.Proto.WPhoneActionTask.EnumPhoneAction getAction() {
  462. @SuppressWarnings("deprecation")
  463. Im.Scrm.Ww.Proto.WPhoneActionTask.EnumPhoneAction result = Im.Scrm.Ww.Proto.WPhoneActionTask.EnumPhoneAction.valueOf(action_);
  464. return result == null ? Im.Scrm.Ww.Proto.WPhoneActionTask.EnumPhoneAction.UNRECOGNIZED : result;
  465. }
  466. public static final int STRPARAM_FIELD_NUMBER = 4;
  467. private volatile java.lang.Object strParam_;
  468. /**
  469. * <pre>
  470. * 字符串参数,后续扩展用
  471. * </pre>
  472. *
  473. * <code>string StrParam = 4;</code>
  474. * @return The strParam.
  475. */
  476. public java.lang.String getStrParam() {
  477. java.lang.Object ref = strParam_;
  478. if (ref instanceof java.lang.String) {
  479. return (java.lang.String) ref;
  480. } else {
  481. com.google.protobuf.ByteString bs =
  482. (com.google.protobuf.ByteString) ref;
  483. java.lang.String s = bs.toStringUtf8();
  484. strParam_ = s;
  485. return s;
  486. }
  487. }
  488. /**
  489. * <pre>
  490. * 字符串参数,后续扩展用
  491. * </pre>
  492. *
  493. * <code>string StrParam = 4;</code>
  494. * @return The bytes for strParam.
  495. */
  496. public com.google.protobuf.ByteString
  497. getStrParamBytes() {
  498. java.lang.Object ref = strParam_;
  499. if (ref instanceof java.lang.String) {
  500. com.google.protobuf.ByteString b =
  501. com.google.protobuf.ByteString.copyFromUtf8(
  502. (java.lang.String) ref);
  503. strParam_ = b;
  504. return b;
  505. } else {
  506. return (com.google.protobuf.ByteString) ref;
  507. }
  508. }
  509. public static final int INTPARAM_FIELD_NUMBER = 5;
  510. private int intParam_;
  511. /**
  512. * <pre>
  513. * 整型参数,后续扩展用
  514. * </pre>
  515. *
  516. * <code>int32 IntParam = 5;</code>
  517. * @return The intParam.
  518. */
  519. public int getIntParam() {
  520. return intParam_;
  521. }
  522. public static final int TASKID_FIELD_NUMBER = 6;
  523. private long taskId_;
  524. /**
  525. * <code>int64 TaskId = 6;</code>
  526. * @return The taskId.
  527. */
  528. public long getTaskId() {
  529. return taskId_;
  530. }
  531. private byte memoizedIsInitialized = -1;
  532. @java.lang.Override
  533. public final boolean isInitialized() {
  534. byte isInitialized = memoizedIsInitialized;
  535. if (isInitialized == 1) return true;
  536. if (isInitialized == 0) return false;
  537. memoizedIsInitialized = 1;
  538. return true;
  539. }
  540. @java.lang.Override
  541. public void writeTo(com.google.protobuf.CodedOutputStream output)
  542. throws java.io.IOException {
  543. if (wxId_ != 0L) {
  544. output.writeInt64(1, wxId_);
  545. }
  546. if (!getImeiBytes().isEmpty()) {
  547. com.google.protobuf.GeneratedMessageV3.writeString(output, 2, imei_);
  548. }
  549. if (action_ != Im.Scrm.Ww.Proto.WPhoneActionTask.EnumPhoneAction.None.getNumber()) {
  550. output.writeEnum(3, action_);
  551. }
  552. if (!getStrParamBytes().isEmpty()) {
  553. com.google.protobuf.GeneratedMessageV3.writeString(output, 4, strParam_);
  554. }
  555. if (intParam_ != 0) {
  556. output.writeInt32(5, intParam_);
  557. }
  558. if (taskId_ != 0L) {
  559. output.writeInt64(6, taskId_);
  560. }
  561. unknownFields.writeTo(output);
  562. }
  563. @java.lang.Override
  564. public int getSerializedSize() {
  565. int size = memoizedSize;
  566. if (size != -1) return size;
  567. size = 0;
  568. if (wxId_ != 0L) {
  569. size += com.google.protobuf.CodedOutputStream
  570. .computeInt64Size(1, wxId_);
  571. }
  572. if (!getImeiBytes().isEmpty()) {
  573. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, imei_);
  574. }
  575. if (action_ != Im.Scrm.Ww.Proto.WPhoneActionTask.EnumPhoneAction.None.getNumber()) {
  576. size += com.google.protobuf.CodedOutputStream
  577. .computeEnumSize(3, action_);
  578. }
  579. if (!getStrParamBytes().isEmpty()) {
  580. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, strParam_);
  581. }
  582. if (intParam_ != 0) {
  583. size += com.google.protobuf.CodedOutputStream
  584. .computeInt32Size(5, intParam_);
  585. }
  586. if (taskId_ != 0L) {
  587. size += com.google.protobuf.CodedOutputStream
  588. .computeInt64Size(6, taskId_);
  589. }
  590. size += unknownFields.getSerializedSize();
  591. memoizedSize = size;
  592. return size;
  593. }
  594. @java.lang.Override
  595. public boolean equals(final java.lang.Object obj) {
  596. if (obj == this) {
  597. return true;
  598. }
  599. if (!(obj instanceof Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage)) {
  600. return super.equals(obj);
  601. }
  602. Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage other = (Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage) obj;
  603. if (getWxId()
  604. != other.getWxId()) return false;
  605. if (!getImei()
  606. .equals(other.getImei())) return false;
  607. if (action_ != other.action_) return false;
  608. if (!getStrParam()
  609. .equals(other.getStrParam())) return false;
  610. if (getIntParam()
  611. != other.getIntParam()) return false;
  612. if (getTaskId()
  613. != other.getTaskId()) return false;
  614. if (!unknownFields.equals(other.unknownFields)) return false;
  615. return true;
  616. }
  617. @java.lang.Override
  618. public int hashCode() {
  619. if (memoizedHashCode != 0) {
  620. return memoizedHashCode;
  621. }
  622. int hash = 41;
  623. hash = (19 * hash) + getDescriptor().hashCode();
  624. hash = (37 * hash) + WXID_FIELD_NUMBER;
  625. hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  626. getWxId());
  627. hash = (37 * hash) + IMEI_FIELD_NUMBER;
  628. hash = (53 * hash) + getImei().hashCode();
  629. hash = (37 * hash) + ACTION_FIELD_NUMBER;
  630. hash = (53 * hash) + action_;
  631. hash = (37 * hash) + STRPARAM_FIELD_NUMBER;
  632. hash = (53 * hash) + getStrParam().hashCode();
  633. hash = (37 * hash) + INTPARAM_FIELD_NUMBER;
  634. hash = (53 * hash) + getIntParam();
  635. hash = (37 * hash) + TASKID_FIELD_NUMBER;
  636. hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  637. getTaskId());
  638. hash = (29 * hash) + unknownFields.hashCode();
  639. memoizedHashCode = hash;
  640. return hash;
  641. }
  642. public static Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage parseFrom(
  643. java.nio.ByteBuffer data)
  644. throws com.google.protobuf.InvalidProtocolBufferException {
  645. return PARSER.parseFrom(data);
  646. }
  647. public static Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage parseFrom(
  648. java.nio.ByteBuffer data,
  649. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  650. throws com.google.protobuf.InvalidProtocolBufferException {
  651. return PARSER.parseFrom(data, extensionRegistry);
  652. }
  653. public static Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage parseFrom(
  654. com.google.protobuf.ByteString data)
  655. throws com.google.protobuf.InvalidProtocolBufferException {
  656. return PARSER.parseFrom(data);
  657. }
  658. public static Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage parseFrom(
  659. com.google.protobuf.ByteString data,
  660. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  661. throws com.google.protobuf.InvalidProtocolBufferException {
  662. return PARSER.parseFrom(data, extensionRegistry);
  663. }
  664. public static Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage parseFrom(byte[] data)
  665. throws com.google.protobuf.InvalidProtocolBufferException {
  666. return PARSER.parseFrom(data);
  667. }
  668. public static Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage parseFrom(
  669. byte[] data,
  670. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  671. throws com.google.protobuf.InvalidProtocolBufferException {
  672. return PARSER.parseFrom(data, extensionRegistry);
  673. }
  674. public static Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage parseFrom(java.io.InputStream input)
  675. throws java.io.IOException {
  676. return com.google.protobuf.GeneratedMessageV3
  677. .parseWithIOException(PARSER, input);
  678. }
  679. public static Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage parseFrom(
  680. java.io.InputStream input,
  681. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  682. throws java.io.IOException {
  683. return com.google.protobuf.GeneratedMessageV3
  684. .parseWithIOException(PARSER, input, extensionRegistry);
  685. }
  686. public static Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage parseDelimitedFrom(java.io.InputStream input)
  687. throws java.io.IOException {
  688. return com.google.protobuf.GeneratedMessageV3
  689. .parseDelimitedWithIOException(PARSER, input);
  690. }
  691. public static Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage parseDelimitedFrom(
  692. java.io.InputStream input,
  693. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  694. throws java.io.IOException {
  695. return com.google.protobuf.GeneratedMessageV3
  696. .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  697. }
  698. public static Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage parseFrom(
  699. com.google.protobuf.CodedInputStream input)
  700. throws java.io.IOException {
  701. return com.google.protobuf.GeneratedMessageV3
  702. .parseWithIOException(PARSER, input);
  703. }
  704. public static Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage parseFrom(
  705. com.google.protobuf.CodedInputStream input,
  706. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  707. throws java.io.IOException {
  708. return com.google.protobuf.GeneratedMessageV3
  709. .parseWithIOException(PARSER, input, extensionRegistry);
  710. }
  711. @java.lang.Override
  712. public Builder newBuilderForType() { return newBuilder(); }
  713. public static Builder newBuilder() {
  714. return DEFAULT_INSTANCE.toBuilder();
  715. }
  716. public static Builder newBuilder(Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage prototype) {
  717. return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  718. }
  719. @java.lang.Override
  720. public Builder toBuilder() {
  721. return this == DEFAULT_INSTANCE
  722. ? new Builder() : new Builder().mergeFrom(this);
  723. }
  724. @java.lang.Override
  725. protected Builder newBuilderForType(
  726. com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  727. Builder builder = new Builder(parent);
  728. return builder;
  729. }
  730. /**
  731. * Protobuf type {@code Im.Scrm.Ww.Proto.PhoneActionTaskMessage}
  732. */
  733. public static final class Builder extends
  734. com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
  735. // @@protoc_insertion_point(builder_implements:Im.Scrm.Ww.Proto.PhoneActionTaskMessage)
  736. Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessageOrBuilder {
  737. public static final com.google.protobuf.Descriptors.Descriptor
  738. getDescriptor() {
  739. return Im.Scrm.Ww.Proto.WPhoneActionTask.internal_static_Im_Scrm_Ww_Proto_PhoneActionTaskMessage_descriptor;
  740. }
  741. @java.lang.Override
  742. protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  743. internalGetFieldAccessorTable() {
  744. return Im.Scrm.Ww.Proto.WPhoneActionTask.internal_static_Im_Scrm_Ww_Proto_PhoneActionTaskMessage_fieldAccessorTable
  745. .ensureFieldAccessorsInitialized(
  746. Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage.class, Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage.Builder.class);
  747. }
  748. // Construct using Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage.newBuilder()
  749. private Builder() {
  750. maybeForceBuilderInitialization();
  751. }
  752. private Builder(
  753. com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  754. super(parent);
  755. maybeForceBuilderInitialization();
  756. }
  757. private void maybeForceBuilderInitialization() {
  758. if (com.google.protobuf.GeneratedMessageV3
  759. .alwaysUseFieldBuilders) {
  760. }
  761. }
  762. @java.lang.Override
  763. public Builder clear() {
  764. super.clear();
  765. wxId_ = 0L;
  766. imei_ = "";
  767. action_ = 0;
  768. strParam_ = "";
  769. intParam_ = 0;
  770. taskId_ = 0L;
  771. return this;
  772. }
  773. @java.lang.Override
  774. public com.google.protobuf.Descriptors.Descriptor
  775. getDescriptorForType() {
  776. return Im.Scrm.Ww.Proto.WPhoneActionTask.internal_static_Im_Scrm_Ww_Proto_PhoneActionTaskMessage_descriptor;
  777. }
  778. @java.lang.Override
  779. public Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage getDefaultInstanceForType() {
  780. return Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage.getDefaultInstance();
  781. }
  782. @java.lang.Override
  783. public Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage build() {
  784. Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage result = buildPartial();
  785. if (!result.isInitialized()) {
  786. throw newUninitializedMessageException(result);
  787. }
  788. return result;
  789. }
  790. @java.lang.Override
  791. public Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage buildPartial() {
  792. Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage result = new Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage(this);
  793. result.wxId_ = wxId_;
  794. result.imei_ = imei_;
  795. result.action_ = action_;
  796. result.strParam_ = strParam_;
  797. result.intParam_ = intParam_;
  798. result.taskId_ = taskId_;
  799. onBuilt();
  800. return result;
  801. }
  802. @java.lang.Override
  803. public Builder clone() {
  804. return super.clone();
  805. }
  806. @java.lang.Override
  807. public Builder setField(
  808. com.google.protobuf.Descriptors.FieldDescriptor field,
  809. java.lang.Object value) {
  810. return super.setField(field, value);
  811. }
  812. @java.lang.Override
  813. public Builder clearField(
  814. com.google.protobuf.Descriptors.FieldDescriptor field) {
  815. return super.clearField(field);
  816. }
  817. @java.lang.Override
  818. public Builder clearOneof(
  819. com.google.protobuf.Descriptors.OneofDescriptor oneof) {
  820. return super.clearOneof(oneof);
  821. }
  822. @java.lang.Override
  823. public Builder setRepeatedField(
  824. com.google.protobuf.Descriptors.FieldDescriptor field,
  825. int index, java.lang.Object value) {
  826. return super.setRepeatedField(field, index, value);
  827. }
  828. @java.lang.Override
  829. public Builder addRepeatedField(
  830. com.google.protobuf.Descriptors.FieldDescriptor field,
  831. java.lang.Object value) {
  832. return super.addRepeatedField(field, value);
  833. }
  834. @java.lang.Override
  835. public Builder mergeFrom(com.google.protobuf.Message other) {
  836. if (other instanceof Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage) {
  837. return mergeFrom((Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage)other);
  838. } else {
  839. super.mergeFrom(other);
  840. return this;
  841. }
  842. }
  843. public Builder mergeFrom(Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage other) {
  844. if (other == Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage.getDefaultInstance()) return this;
  845. if (other.getWxId() != 0L) {
  846. setWxId(other.getWxId());
  847. }
  848. if (!other.getImei().isEmpty()) {
  849. imei_ = other.imei_;
  850. onChanged();
  851. }
  852. if (other.action_ != 0) {
  853. setActionValue(other.getActionValue());
  854. }
  855. if (!other.getStrParam().isEmpty()) {
  856. strParam_ = other.strParam_;
  857. onChanged();
  858. }
  859. if (other.getIntParam() != 0) {
  860. setIntParam(other.getIntParam());
  861. }
  862. if (other.getTaskId() != 0L) {
  863. setTaskId(other.getTaskId());
  864. }
  865. this.mergeUnknownFields(other.unknownFields);
  866. onChanged();
  867. return this;
  868. }
  869. @java.lang.Override
  870. public final boolean isInitialized() {
  871. return true;
  872. }
  873. @java.lang.Override
  874. public Builder mergeFrom(
  875. com.google.protobuf.CodedInputStream input,
  876. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  877. throws java.io.IOException {
  878. Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage parsedMessage = null;
  879. try {
  880. parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
  881. } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  882. parsedMessage = (Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage) e.getUnfinishedMessage();
  883. throw e.unwrapIOException();
  884. } finally {
  885. if (parsedMessage != null) {
  886. mergeFrom(parsedMessage);
  887. }
  888. }
  889. return this;
  890. }
  891. private long wxId_ ;
  892. /**
  893. * <code>int64 WxId = 1;</code>
  894. * @return The wxId.
  895. */
  896. public long getWxId() {
  897. return wxId_;
  898. }
  899. /**
  900. * <code>int64 WxId = 1;</code>
  901. * @param value The wxId to set.
  902. * @return This builder for chaining.
  903. */
  904. public Builder setWxId(long value) {
  905. wxId_ = value;
  906. onChanged();
  907. return this;
  908. }
  909. /**
  910. * <code>int64 WxId = 1;</code>
  911. * @return This builder for chaining.
  912. */
  913. public Builder clearWxId() {
  914. wxId_ = 0L;
  915. onChanged();
  916. return this;
  917. }
  918. private java.lang.Object imei_ = "";
  919. /**
  920. * <pre>
  921. * 备用,用wxid或imei来定位手机
  922. * </pre>
  923. *
  924. * <code>string Imei = 2;</code>
  925. * @return The imei.
  926. */
  927. public java.lang.String getImei() {
  928. java.lang.Object ref = imei_;
  929. if (!(ref instanceof java.lang.String)) {
  930. com.google.protobuf.ByteString bs =
  931. (com.google.protobuf.ByteString) ref;
  932. java.lang.String s = bs.toStringUtf8();
  933. imei_ = s;
  934. return s;
  935. } else {
  936. return (java.lang.String) ref;
  937. }
  938. }
  939. /**
  940. * <pre>
  941. * 备用,用wxid或imei来定位手机
  942. * </pre>
  943. *
  944. * <code>string Imei = 2;</code>
  945. * @return The bytes for imei.
  946. */
  947. public com.google.protobuf.ByteString
  948. getImeiBytes() {
  949. java.lang.Object ref = imei_;
  950. if (ref instanceof String) {
  951. com.google.protobuf.ByteString b =
  952. com.google.protobuf.ByteString.copyFromUtf8(
  953. (java.lang.String) ref);
  954. imei_ = b;
  955. return b;
  956. } else {
  957. return (com.google.protobuf.ByteString) ref;
  958. }
  959. }
  960. /**
  961. * <pre>
  962. * 备用,用wxid或imei来定位手机
  963. * </pre>
  964. *
  965. * <code>string Imei = 2;</code>
  966. * @param value The imei to set.
  967. * @return This builder for chaining.
  968. */
  969. public Builder setImei(
  970. java.lang.String value) {
  971. if (value == null) {
  972. throw new NullPointerException();
  973. }
  974. imei_ = value;
  975. onChanged();
  976. return this;
  977. }
  978. /**
  979. * <pre>
  980. * 备用,用wxid或imei来定位手机
  981. * </pre>
  982. *
  983. * <code>string Imei = 2;</code>
  984. * @return This builder for chaining.
  985. */
  986. public Builder clearImei() {
  987. imei_ = getDefaultInstance().getImei();
  988. onChanged();
  989. return this;
  990. }
  991. /**
  992. * <pre>
  993. * 备用,用wxid或imei来定位手机
  994. * </pre>
  995. *
  996. * <code>string Imei = 2;</code>
  997. * @param value The bytes for imei to set.
  998. * @return This builder for chaining.
  999. */
  1000. public Builder setImeiBytes(
  1001. com.google.protobuf.ByteString value) {
  1002. if (value == null) {
  1003. throw new NullPointerException();
  1004. }
  1005. checkByteStringIsUtf8(value);
  1006. imei_ = value;
  1007. onChanged();
  1008. return this;
  1009. }
  1010. private int action_ = 0;
  1011. /**
  1012. * <pre>
  1013. * 指令
  1014. * </pre>
  1015. *
  1016. * <code>.Im.Scrm.Ww.Proto.EnumPhoneAction Action = 3;</code>
  1017. * @return The enum numeric value on the wire for action.
  1018. */
  1019. public int getActionValue() {
  1020. return action_;
  1021. }
  1022. /**
  1023. * <pre>
  1024. * 指令
  1025. * </pre>
  1026. *
  1027. * <code>.Im.Scrm.Ww.Proto.EnumPhoneAction Action = 3;</code>
  1028. * @param value The enum numeric value on the wire for action to set.
  1029. * @return This builder for chaining.
  1030. */
  1031. public Builder setActionValue(int value) {
  1032. action_ = value;
  1033. onChanged();
  1034. return this;
  1035. }
  1036. /**
  1037. * <pre>
  1038. * 指令
  1039. * </pre>
  1040. *
  1041. * <code>.Im.Scrm.Ww.Proto.EnumPhoneAction Action = 3;</code>
  1042. * @return The action.
  1043. */
  1044. public Im.Scrm.Ww.Proto.WPhoneActionTask.EnumPhoneAction getAction() {
  1045. @SuppressWarnings("deprecation")
  1046. Im.Scrm.Ww.Proto.WPhoneActionTask.EnumPhoneAction result = Im.Scrm.Ww.Proto.WPhoneActionTask.EnumPhoneAction.valueOf(action_);
  1047. return result == null ? Im.Scrm.Ww.Proto.WPhoneActionTask.EnumPhoneAction.UNRECOGNIZED : result;
  1048. }
  1049. /**
  1050. * <pre>
  1051. * 指令
  1052. * </pre>
  1053. *
  1054. * <code>.Im.Scrm.Ww.Proto.EnumPhoneAction Action = 3;</code>
  1055. * @param value The action to set.
  1056. * @return This builder for chaining.
  1057. */
  1058. public Builder setAction(Im.Scrm.Ww.Proto.WPhoneActionTask.EnumPhoneAction value) {
  1059. if (value == null) {
  1060. throw new NullPointerException();
  1061. }
  1062. action_ = value.getNumber();
  1063. onChanged();
  1064. return this;
  1065. }
  1066. /**
  1067. * <pre>
  1068. * 指令
  1069. * </pre>
  1070. *
  1071. * <code>.Im.Scrm.Ww.Proto.EnumPhoneAction Action = 3;</code>
  1072. * @return This builder for chaining.
  1073. */
  1074. public Builder clearAction() {
  1075. action_ = 0;
  1076. onChanged();
  1077. return this;
  1078. }
  1079. private java.lang.Object strParam_ = "";
  1080. /**
  1081. * <pre>
  1082. * 字符串参数,后续扩展用
  1083. * </pre>
  1084. *
  1085. * <code>string StrParam = 4;</code>
  1086. * @return The strParam.
  1087. */
  1088. public java.lang.String getStrParam() {
  1089. java.lang.Object ref = strParam_;
  1090. if (!(ref instanceof java.lang.String)) {
  1091. com.google.protobuf.ByteString bs =
  1092. (com.google.protobuf.ByteString) ref;
  1093. java.lang.String s = bs.toStringUtf8();
  1094. strParam_ = s;
  1095. return s;
  1096. } else {
  1097. return (java.lang.String) ref;
  1098. }
  1099. }
  1100. /**
  1101. * <pre>
  1102. * 字符串参数,后续扩展用
  1103. * </pre>
  1104. *
  1105. * <code>string StrParam = 4;</code>
  1106. * @return The bytes for strParam.
  1107. */
  1108. public com.google.protobuf.ByteString
  1109. getStrParamBytes() {
  1110. java.lang.Object ref = strParam_;
  1111. if (ref instanceof String) {
  1112. com.google.protobuf.ByteString b =
  1113. com.google.protobuf.ByteString.copyFromUtf8(
  1114. (java.lang.String) ref);
  1115. strParam_ = b;
  1116. return b;
  1117. } else {
  1118. return (com.google.protobuf.ByteString) ref;
  1119. }
  1120. }
  1121. /**
  1122. * <pre>
  1123. * 字符串参数,后续扩展用
  1124. * </pre>
  1125. *
  1126. * <code>string StrParam = 4;</code>
  1127. * @param value The strParam to set.
  1128. * @return This builder for chaining.
  1129. */
  1130. public Builder setStrParam(
  1131. java.lang.String value) {
  1132. if (value == null) {
  1133. throw new NullPointerException();
  1134. }
  1135. strParam_ = value;
  1136. onChanged();
  1137. return this;
  1138. }
  1139. /**
  1140. * <pre>
  1141. * 字符串参数,后续扩展用
  1142. * </pre>
  1143. *
  1144. * <code>string StrParam = 4;</code>
  1145. * @return This builder for chaining.
  1146. */
  1147. public Builder clearStrParam() {
  1148. strParam_ = getDefaultInstance().getStrParam();
  1149. onChanged();
  1150. return this;
  1151. }
  1152. /**
  1153. * <pre>
  1154. * 字符串参数,后续扩展用
  1155. * </pre>
  1156. *
  1157. * <code>string StrParam = 4;</code>
  1158. * @param value The bytes for strParam to set.
  1159. * @return This builder for chaining.
  1160. */
  1161. public Builder setStrParamBytes(
  1162. com.google.protobuf.ByteString value) {
  1163. if (value == null) {
  1164. throw new NullPointerException();
  1165. }
  1166. checkByteStringIsUtf8(value);
  1167. strParam_ = value;
  1168. onChanged();
  1169. return this;
  1170. }
  1171. private int intParam_ ;
  1172. /**
  1173. * <pre>
  1174. * 整型参数,后续扩展用
  1175. * </pre>
  1176. *
  1177. * <code>int32 IntParam = 5;</code>
  1178. * @return The intParam.
  1179. */
  1180. public int getIntParam() {
  1181. return intParam_;
  1182. }
  1183. /**
  1184. * <pre>
  1185. * 整型参数,后续扩展用
  1186. * </pre>
  1187. *
  1188. * <code>int32 IntParam = 5;</code>
  1189. * @param value The intParam to set.
  1190. * @return This builder for chaining.
  1191. */
  1192. public Builder setIntParam(int value) {
  1193. intParam_ = value;
  1194. onChanged();
  1195. return this;
  1196. }
  1197. /**
  1198. * <pre>
  1199. * 整型参数,后续扩展用
  1200. * </pre>
  1201. *
  1202. * <code>int32 IntParam = 5;</code>
  1203. * @return This builder for chaining.
  1204. */
  1205. public Builder clearIntParam() {
  1206. intParam_ = 0;
  1207. onChanged();
  1208. return this;
  1209. }
  1210. private long taskId_ ;
  1211. /**
  1212. * <code>int64 TaskId = 6;</code>
  1213. * @return The taskId.
  1214. */
  1215. public long getTaskId() {
  1216. return taskId_;
  1217. }
  1218. /**
  1219. * <code>int64 TaskId = 6;</code>
  1220. * @param value The taskId to set.
  1221. * @return This builder for chaining.
  1222. */
  1223. public Builder setTaskId(long value) {
  1224. taskId_ = value;
  1225. onChanged();
  1226. return this;
  1227. }
  1228. /**
  1229. * <code>int64 TaskId = 6;</code>
  1230. * @return This builder for chaining.
  1231. */
  1232. public Builder clearTaskId() {
  1233. taskId_ = 0L;
  1234. onChanged();
  1235. return this;
  1236. }
  1237. @java.lang.Override
  1238. public final Builder setUnknownFields(
  1239. final com.google.protobuf.UnknownFieldSet unknownFields) {
  1240. return super.setUnknownFields(unknownFields);
  1241. }
  1242. @java.lang.Override
  1243. public final Builder mergeUnknownFields(
  1244. final com.google.protobuf.UnknownFieldSet unknownFields) {
  1245. return super.mergeUnknownFields(unknownFields);
  1246. }
  1247. // @@protoc_insertion_point(builder_scope:Im.Scrm.Ww.Proto.PhoneActionTaskMessage)
  1248. }
  1249. // @@protoc_insertion_point(class_scope:Im.Scrm.Ww.Proto.PhoneActionTaskMessage)
  1250. private static final Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage DEFAULT_INSTANCE;
  1251. static {
  1252. DEFAULT_INSTANCE = new Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage();
  1253. }
  1254. public static Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage getDefaultInstance() {
  1255. return DEFAULT_INSTANCE;
  1256. }
  1257. private static final com.google.protobuf.Parser<PhoneActionTaskMessage>
  1258. PARSER = new com.google.protobuf.AbstractParser<PhoneActionTaskMessage>() {
  1259. @java.lang.Override
  1260. public PhoneActionTaskMessage parsePartialFrom(
  1261. com.google.protobuf.CodedInputStream input,
  1262. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1263. throws com.google.protobuf.InvalidProtocolBufferException {
  1264. return new PhoneActionTaskMessage(input, extensionRegistry);
  1265. }
  1266. };
  1267. public static com.google.protobuf.Parser<PhoneActionTaskMessage> parser() {
  1268. return PARSER;
  1269. }
  1270. @java.lang.Override
  1271. public com.google.protobuf.Parser<PhoneActionTaskMessage> getParserForType() {
  1272. return PARSER;
  1273. }
  1274. @java.lang.Override
  1275. public Im.Scrm.Ww.Proto.WPhoneActionTask.PhoneActionTaskMessage getDefaultInstanceForType() {
  1276. return DEFAULT_INSTANCE;
  1277. }
  1278. }
  1279. private static final com.google.protobuf.Descriptors.Descriptor
  1280. internal_static_Im_Scrm_Ww_Proto_PhoneActionTaskMessage_descriptor;
  1281. private static final
  1282. com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  1283. internal_static_Im_Scrm_Ww_Proto_PhoneActionTaskMessage_fieldAccessorTable;
  1284. public static com.google.protobuf.Descriptors.FileDescriptor
  1285. getDescriptor() {
  1286. return descriptor;
  1287. }
  1288. private static com.google.protobuf.Descriptors.FileDescriptor
  1289. descriptor;
  1290. static {
  1291. java.lang.String[] descriptorData = {
  1292. "\n\026WPhoneActionTask.proto\022\020Im.Scrm.Ww.Pro" +
  1293. "to\"\233\001\n\026PhoneActionTaskMessage\022\014\n\004WxId\030\001 " +
  1294. "\001(\003\022\014\n\004Imei\030\002 \001(\t\0221\n\006Action\030\003 \001(\0162!.Im.S" +
  1295. "crm.Ww.Proto.EnumPhoneAction\022\020\n\010StrParam" +
  1296. "\030\004 \001(\t\022\020\n\010IntParam\030\005 \001(\005\022\016\n\006TaskId\030\006 \001(\003" +
  1297. "*\202\001\n\017EnumPhoneAction\022\010\n\004None\020\000\022\n\n\006Reboot" +
  1298. "\020\001\022\r\n\tUploadLog\020\002\022\016\n\nUploadFile\020\003\022\021\n\rCle" +
  1299. "anAppCache\020\004\022\020\n\014CleanWxCache\020\005\022\025\n\021CleanF" +
  1300. "ileUrlCache\020\006b\006proto3"
  1301. };
  1302. descriptor = com.google.protobuf.Descriptors.FileDescriptor
  1303. .internalBuildGeneratedFileFrom(descriptorData,
  1304. new com.google.protobuf.Descriptors.FileDescriptor[] {
  1305. });
  1306. internal_static_Im_Scrm_Ww_Proto_PhoneActionTaskMessage_descriptor =
  1307. getDescriptor().getMessageTypes().get(0);
  1308. internal_static_Im_Scrm_Ww_Proto_PhoneActionTaskMessage_fieldAccessorTable = new
  1309. com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
  1310. internal_static_Im_Scrm_Ww_Proto_PhoneActionTaskMessage_descriptor,
  1311. new java.lang.String[] { "WxId", "Imei", "Action", "StrParam", "IntParam", "TaskId", });
  1312. }
  1313. // @@protoc_insertion_point(outer_class_scope)
  1314. }