WTaskResultNotice.java 44 KB

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