WPostSnsTaskResultNotice.java 38 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: WPostSnsTaskResultNotice.proto
  3. package Im.Scrm.Ww.Proto;
  4. public final class WPostSnsTaskResultNotice {
  5. private WPostSnsTaskResultNotice() {}
  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 PostSnsTaskResultNoticeMessageOrBuilder extends
  15. // @@protoc_insertion_point(interface_extends:Im.Scrm.Ww.Proto.PostSnsTaskResultNoticeMessage)
  16. com.google.protobuf.MessageOrBuilder {
  17. /**
  18. * <pre>
  19. * </pre>
  20. *
  21. * <code>int64 WxId = 1;</code>
  22. * @return The wxId.
  23. */
  24. long getWxId();
  25. /**
  26. * <pre>
  27. * 是否成功
  28. * </pre>
  29. *
  30. * <code>bool Success = 2;</code>
  31. * @return The success.
  32. */
  33. boolean getSuccess();
  34. /**
  35. * <pre>
  36. * 错误内容描述 获取 成功时附带的结果内容
  37. * </pre>
  38. *
  39. * <code>string ErrMsg = 3;</code>
  40. * @return The errMsg.
  41. */
  42. java.lang.String getErrMsg();
  43. /**
  44. * <pre>
  45. * 错误内容描述 获取 成功时附带的结果内容
  46. * </pre>
  47. *
  48. * <code>string ErrMsg = 3;</code>
  49. * @return The bytes for errMsg.
  50. */
  51. com.google.protobuf.ByteString
  52. getErrMsgBytes();
  53. /**
  54. * <pre>
  55. *任务id 在TaskResult中回传
  56. * </pre>
  57. *
  58. * <code>int64 TaskId = 4;</code>
  59. * @return The taskId.
  60. */
  61. long getTaskId();
  62. /**
  63. * <pre>
  64. * </pre>
  65. *
  66. * <code>int64 SnsId = 5;</code>
  67. * @return The snsId.
  68. */
  69. long getSnsId();
  70. /**
  71. * <pre>
  72. * </pre>
  73. *
  74. * <code>string PostId = 6;</code>
  75. * @return The postId.
  76. */
  77. java.lang.String getPostId();
  78. /**
  79. * <pre>
  80. * </pre>
  81. *
  82. * <code>string PostId = 6;</code>
  83. * @return The bytes for postId.
  84. */
  85. com.google.protobuf.ByteString
  86. getPostIdBytes();
  87. /**
  88. * <code>int64 CommentId = 7;</code>
  89. * @return The commentId.
  90. */
  91. long getCommentId();
  92. }
  93. /**
  94. * Protobuf type {@code Im.Scrm.Ww.Proto.PostSnsTaskResultNoticeMessage}
  95. */
  96. public static final class PostSnsTaskResultNoticeMessage extends
  97. com.google.protobuf.GeneratedMessageV3 implements
  98. // @@protoc_insertion_point(message_implements:Im.Scrm.Ww.Proto.PostSnsTaskResultNoticeMessage)
  99. PostSnsTaskResultNoticeMessageOrBuilder {
  100. private static final long serialVersionUID = 0L;
  101. // Use PostSnsTaskResultNoticeMessage.newBuilder() to construct.
  102. private PostSnsTaskResultNoticeMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
  103. super(builder);
  104. }
  105. private PostSnsTaskResultNoticeMessage() {
  106. errMsg_ = "";
  107. postId_ = "";
  108. }
  109. @java.lang.Override
  110. @SuppressWarnings({"unused"})
  111. protected java.lang.Object newInstance(
  112. UnusedPrivateParameter unused) {
  113. return new PostSnsTaskResultNoticeMessage();
  114. }
  115. @java.lang.Override
  116. public final com.google.protobuf.UnknownFieldSet
  117. getUnknownFields() {
  118. return this.unknownFields;
  119. }
  120. private PostSnsTaskResultNoticeMessage(
  121. com.google.protobuf.CodedInputStream input,
  122. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  123. throws com.google.protobuf.InvalidProtocolBufferException {
  124. this();
  125. if (extensionRegistry == null) {
  126. throw new java.lang.NullPointerException();
  127. }
  128. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  129. com.google.protobuf.UnknownFieldSet.newBuilder();
  130. try {
  131. boolean done = false;
  132. while (!done) {
  133. int tag = input.readTag();
  134. switch (tag) {
  135. case 0:
  136. done = true;
  137. break;
  138. case 8: {
  139. wxId_ = input.readInt64();
  140. break;
  141. }
  142. case 16: {
  143. success_ = input.readBool();
  144. break;
  145. }
  146. case 26: {
  147. java.lang.String s = input.readStringRequireUtf8();
  148. errMsg_ = s;
  149. break;
  150. }
  151. case 32: {
  152. taskId_ = input.readInt64();
  153. break;
  154. }
  155. case 40: {
  156. snsId_ = input.readInt64();
  157. break;
  158. }
  159. case 50: {
  160. java.lang.String s = input.readStringRequireUtf8();
  161. postId_ = s;
  162. break;
  163. }
  164. case 56: {
  165. commentId_ = input.readInt64();
  166. break;
  167. }
  168. default: {
  169. if (!parseUnknownField(
  170. input, unknownFields, extensionRegistry, tag)) {
  171. done = true;
  172. }
  173. break;
  174. }
  175. }
  176. }
  177. } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  178. throw e.setUnfinishedMessage(this);
  179. } catch (java.io.IOException e) {
  180. throw new com.google.protobuf.InvalidProtocolBufferException(
  181. e).setUnfinishedMessage(this);
  182. } finally {
  183. this.unknownFields = unknownFields.build();
  184. makeExtensionsImmutable();
  185. }
  186. }
  187. public static final com.google.protobuf.Descriptors.Descriptor
  188. getDescriptor() {
  189. return Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_PostSnsTaskResultNoticeMessage_descriptor;
  190. }
  191. @java.lang.Override
  192. protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  193. internalGetFieldAccessorTable() {
  194. return Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_PostSnsTaskResultNoticeMessage_fieldAccessorTable
  195. .ensureFieldAccessorsInitialized(
  196. Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage.class, Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage.Builder.class);
  197. }
  198. public static final int WXID_FIELD_NUMBER = 1;
  199. private long wxId_;
  200. /**
  201. * <pre>
  202. * </pre>
  203. *
  204. * <code>int64 WxId = 1;</code>
  205. * @return The wxId.
  206. */
  207. public long getWxId() {
  208. return wxId_;
  209. }
  210. public static final int SUCCESS_FIELD_NUMBER = 2;
  211. private boolean success_;
  212. /**
  213. * <pre>
  214. * 是否成功
  215. * </pre>
  216. *
  217. * <code>bool Success = 2;</code>
  218. * @return The success.
  219. */
  220. public boolean getSuccess() {
  221. return success_;
  222. }
  223. public static final int ERRMSG_FIELD_NUMBER = 3;
  224. private volatile java.lang.Object errMsg_;
  225. /**
  226. * <pre>
  227. * 错误内容描述 获取 成功时附带的结果内容
  228. * </pre>
  229. *
  230. * <code>string ErrMsg = 3;</code>
  231. * @return The errMsg.
  232. */
  233. public java.lang.String getErrMsg() {
  234. java.lang.Object ref = errMsg_;
  235. if (ref instanceof java.lang.String) {
  236. return (java.lang.String) ref;
  237. } else {
  238. com.google.protobuf.ByteString bs =
  239. (com.google.protobuf.ByteString) ref;
  240. java.lang.String s = bs.toStringUtf8();
  241. errMsg_ = s;
  242. return s;
  243. }
  244. }
  245. /**
  246. * <pre>
  247. * 错误内容描述 获取 成功时附带的结果内容
  248. * </pre>
  249. *
  250. * <code>string ErrMsg = 3;</code>
  251. * @return The bytes for errMsg.
  252. */
  253. public com.google.protobuf.ByteString
  254. getErrMsgBytes() {
  255. java.lang.Object ref = errMsg_;
  256. if (ref instanceof java.lang.String) {
  257. com.google.protobuf.ByteString b =
  258. com.google.protobuf.ByteString.copyFromUtf8(
  259. (java.lang.String) ref);
  260. errMsg_ = b;
  261. return b;
  262. } else {
  263. return (com.google.protobuf.ByteString) ref;
  264. }
  265. }
  266. public static final int TASKID_FIELD_NUMBER = 4;
  267. private long taskId_;
  268. /**
  269. * <pre>
  270. *任务id 在TaskResult中回传
  271. * </pre>
  272. *
  273. * <code>int64 TaskId = 4;</code>
  274. * @return The taskId.
  275. */
  276. public long getTaskId() {
  277. return taskId_;
  278. }
  279. public static final int SNSID_FIELD_NUMBER = 5;
  280. private long snsId_;
  281. /**
  282. * <pre>
  283. * </pre>
  284. *
  285. * <code>int64 SnsId = 5;</code>
  286. * @return The snsId.
  287. */
  288. public long getSnsId() {
  289. return snsId_;
  290. }
  291. public static final int POSTID_FIELD_NUMBER = 6;
  292. private volatile java.lang.Object postId_;
  293. /**
  294. * <pre>
  295. * </pre>
  296. *
  297. * <code>string PostId = 6;</code>
  298. * @return The postId.
  299. */
  300. public java.lang.String getPostId() {
  301. java.lang.Object ref = postId_;
  302. if (ref instanceof java.lang.String) {
  303. return (java.lang.String) ref;
  304. } else {
  305. com.google.protobuf.ByteString bs =
  306. (com.google.protobuf.ByteString) ref;
  307. java.lang.String s = bs.toStringUtf8();
  308. postId_ = s;
  309. return s;
  310. }
  311. }
  312. /**
  313. * <pre>
  314. * </pre>
  315. *
  316. * <code>string PostId = 6;</code>
  317. * @return The bytes for postId.
  318. */
  319. public com.google.protobuf.ByteString
  320. getPostIdBytes() {
  321. java.lang.Object ref = postId_;
  322. if (ref instanceof java.lang.String) {
  323. com.google.protobuf.ByteString b =
  324. com.google.protobuf.ByteString.copyFromUtf8(
  325. (java.lang.String) ref);
  326. postId_ = b;
  327. return b;
  328. } else {
  329. return (com.google.protobuf.ByteString) ref;
  330. }
  331. }
  332. public static final int COMMENTID_FIELD_NUMBER = 7;
  333. private long commentId_;
  334. /**
  335. * <code>int64 CommentId = 7;</code>
  336. * @return The commentId.
  337. */
  338. public long getCommentId() {
  339. return commentId_;
  340. }
  341. private byte memoizedIsInitialized = -1;
  342. @java.lang.Override
  343. public final boolean isInitialized() {
  344. byte isInitialized = memoizedIsInitialized;
  345. if (isInitialized == 1) return true;
  346. if (isInitialized == 0) return false;
  347. memoizedIsInitialized = 1;
  348. return true;
  349. }
  350. @java.lang.Override
  351. public void writeTo(com.google.protobuf.CodedOutputStream output)
  352. throws java.io.IOException {
  353. if (wxId_ != 0L) {
  354. output.writeInt64(1, wxId_);
  355. }
  356. if (success_ != false) {
  357. output.writeBool(2, success_);
  358. }
  359. if (!getErrMsgBytes().isEmpty()) {
  360. com.google.protobuf.GeneratedMessageV3.writeString(output, 3, errMsg_);
  361. }
  362. if (taskId_ != 0L) {
  363. output.writeInt64(4, taskId_);
  364. }
  365. if (snsId_ != 0L) {
  366. output.writeInt64(5, snsId_);
  367. }
  368. if (!getPostIdBytes().isEmpty()) {
  369. com.google.protobuf.GeneratedMessageV3.writeString(output, 6, postId_);
  370. }
  371. if (commentId_ != 0L) {
  372. output.writeInt64(7, commentId_);
  373. }
  374. unknownFields.writeTo(output);
  375. }
  376. @java.lang.Override
  377. public int getSerializedSize() {
  378. int size = memoizedSize;
  379. if (size != -1) return size;
  380. size = 0;
  381. if (wxId_ != 0L) {
  382. size += com.google.protobuf.CodedOutputStream
  383. .computeInt64Size(1, wxId_);
  384. }
  385. if (success_ != false) {
  386. size += com.google.protobuf.CodedOutputStream
  387. .computeBoolSize(2, success_);
  388. }
  389. if (!getErrMsgBytes().isEmpty()) {
  390. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, errMsg_);
  391. }
  392. if (taskId_ != 0L) {
  393. size += com.google.protobuf.CodedOutputStream
  394. .computeInt64Size(4, taskId_);
  395. }
  396. if (snsId_ != 0L) {
  397. size += com.google.protobuf.CodedOutputStream
  398. .computeInt64Size(5, snsId_);
  399. }
  400. if (!getPostIdBytes().isEmpty()) {
  401. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, postId_);
  402. }
  403. if (commentId_ != 0L) {
  404. size += com.google.protobuf.CodedOutputStream
  405. .computeInt64Size(7, commentId_);
  406. }
  407. size += unknownFields.getSerializedSize();
  408. memoizedSize = size;
  409. return size;
  410. }
  411. @java.lang.Override
  412. public boolean equals(final java.lang.Object obj) {
  413. if (obj == this) {
  414. return true;
  415. }
  416. if (!(obj instanceof Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage)) {
  417. return super.equals(obj);
  418. }
  419. Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage other = (Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage) obj;
  420. if (getWxId()
  421. != other.getWxId()) return false;
  422. if (getSuccess()
  423. != other.getSuccess()) return false;
  424. if (!getErrMsg()
  425. .equals(other.getErrMsg())) return false;
  426. if (getTaskId()
  427. != other.getTaskId()) return false;
  428. if (getSnsId()
  429. != other.getSnsId()) return false;
  430. if (!getPostId()
  431. .equals(other.getPostId())) return false;
  432. if (getCommentId()
  433. != other.getCommentId()) return false;
  434. if (!unknownFields.equals(other.unknownFields)) return false;
  435. return true;
  436. }
  437. @java.lang.Override
  438. public int hashCode() {
  439. if (memoizedHashCode != 0) {
  440. return memoizedHashCode;
  441. }
  442. int hash = 41;
  443. hash = (19 * hash) + getDescriptor().hashCode();
  444. hash = (37 * hash) + WXID_FIELD_NUMBER;
  445. hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  446. getWxId());
  447. hash = (37 * hash) + SUCCESS_FIELD_NUMBER;
  448. hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
  449. getSuccess());
  450. hash = (37 * hash) + ERRMSG_FIELD_NUMBER;
  451. hash = (53 * hash) + getErrMsg().hashCode();
  452. hash = (37 * hash) + TASKID_FIELD_NUMBER;
  453. hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  454. getTaskId());
  455. hash = (37 * hash) + SNSID_FIELD_NUMBER;
  456. hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  457. getSnsId());
  458. hash = (37 * hash) + POSTID_FIELD_NUMBER;
  459. hash = (53 * hash) + getPostId().hashCode();
  460. hash = (37 * hash) + COMMENTID_FIELD_NUMBER;
  461. hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  462. getCommentId());
  463. hash = (29 * hash) + unknownFields.hashCode();
  464. memoizedHashCode = hash;
  465. return hash;
  466. }
  467. public static Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage parseFrom(
  468. java.nio.ByteBuffer data)
  469. throws com.google.protobuf.InvalidProtocolBufferException {
  470. return PARSER.parseFrom(data);
  471. }
  472. public static Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage parseFrom(
  473. java.nio.ByteBuffer data,
  474. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  475. throws com.google.protobuf.InvalidProtocolBufferException {
  476. return PARSER.parseFrom(data, extensionRegistry);
  477. }
  478. public static Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage parseFrom(
  479. com.google.protobuf.ByteString data)
  480. throws com.google.protobuf.InvalidProtocolBufferException {
  481. return PARSER.parseFrom(data);
  482. }
  483. public static Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage parseFrom(
  484. com.google.protobuf.ByteString data,
  485. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  486. throws com.google.protobuf.InvalidProtocolBufferException {
  487. return PARSER.parseFrom(data, extensionRegistry);
  488. }
  489. public static Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage parseFrom(byte[] data)
  490. throws com.google.protobuf.InvalidProtocolBufferException {
  491. return PARSER.parseFrom(data);
  492. }
  493. public static Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage parseFrom(
  494. byte[] data,
  495. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  496. throws com.google.protobuf.InvalidProtocolBufferException {
  497. return PARSER.parseFrom(data, extensionRegistry);
  498. }
  499. public static Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage parseFrom(java.io.InputStream input)
  500. throws java.io.IOException {
  501. return com.google.protobuf.GeneratedMessageV3
  502. .parseWithIOException(PARSER, input);
  503. }
  504. public static Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage parseFrom(
  505. java.io.InputStream input,
  506. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  507. throws java.io.IOException {
  508. return com.google.protobuf.GeneratedMessageV3
  509. .parseWithIOException(PARSER, input, extensionRegistry);
  510. }
  511. public static Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage parseDelimitedFrom(java.io.InputStream input)
  512. throws java.io.IOException {
  513. return com.google.protobuf.GeneratedMessageV3
  514. .parseDelimitedWithIOException(PARSER, input);
  515. }
  516. public static Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage parseDelimitedFrom(
  517. java.io.InputStream input,
  518. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  519. throws java.io.IOException {
  520. return com.google.protobuf.GeneratedMessageV3
  521. .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  522. }
  523. public static Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage parseFrom(
  524. com.google.protobuf.CodedInputStream input)
  525. throws java.io.IOException {
  526. return com.google.protobuf.GeneratedMessageV3
  527. .parseWithIOException(PARSER, input);
  528. }
  529. public static Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage parseFrom(
  530. com.google.protobuf.CodedInputStream input,
  531. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  532. throws java.io.IOException {
  533. return com.google.protobuf.GeneratedMessageV3
  534. .parseWithIOException(PARSER, input, extensionRegistry);
  535. }
  536. @java.lang.Override
  537. public Builder newBuilderForType() { return newBuilder(); }
  538. public static Builder newBuilder() {
  539. return DEFAULT_INSTANCE.toBuilder();
  540. }
  541. public static Builder newBuilder(Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage prototype) {
  542. return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  543. }
  544. @java.lang.Override
  545. public Builder toBuilder() {
  546. return this == DEFAULT_INSTANCE
  547. ? new Builder() : new Builder().mergeFrom(this);
  548. }
  549. @java.lang.Override
  550. protected Builder newBuilderForType(
  551. com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  552. Builder builder = new Builder(parent);
  553. return builder;
  554. }
  555. /**
  556. * Protobuf type {@code Im.Scrm.Ww.Proto.PostSnsTaskResultNoticeMessage}
  557. */
  558. public static final class Builder extends
  559. com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
  560. // @@protoc_insertion_point(builder_implements:Im.Scrm.Ww.Proto.PostSnsTaskResultNoticeMessage)
  561. Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessageOrBuilder {
  562. public static final com.google.protobuf.Descriptors.Descriptor
  563. getDescriptor() {
  564. return Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_PostSnsTaskResultNoticeMessage_descriptor;
  565. }
  566. @java.lang.Override
  567. protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  568. internalGetFieldAccessorTable() {
  569. return Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_PostSnsTaskResultNoticeMessage_fieldAccessorTable
  570. .ensureFieldAccessorsInitialized(
  571. Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage.class, Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage.Builder.class);
  572. }
  573. // Construct using Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage.newBuilder()
  574. private Builder() {
  575. maybeForceBuilderInitialization();
  576. }
  577. private Builder(
  578. com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  579. super(parent);
  580. maybeForceBuilderInitialization();
  581. }
  582. private void maybeForceBuilderInitialization() {
  583. if (com.google.protobuf.GeneratedMessageV3
  584. .alwaysUseFieldBuilders) {
  585. }
  586. }
  587. @java.lang.Override
  588. public Builder clear() {
  589. super.clear();
  590. wxId_ = 0L;
  591. success_ = false;
  592. errMsg_ = "";
  593. taskId_ = 0L;
  594. snsId_ = 0L;
  595. postId_ = "";
  596. commentId_ = 0L;
  597. return this;
  598. }
  599. @java.lang.Override
  600. public com.google.protobuf.Descriptors.Descriptor
  601. getDescriptorForType() {
  602. return Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_PostSnsTaskResultNoticeMessage_descriptor;
  603. }
  604. @java.lang.Override
  605. public Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage getDefaultInstanceForType() {
  606. return Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage.getDefaultInstance();
  607. }
  608. @java.lang.Override
  609. public Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage build() {
  610. Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage result = buildPartial();
  611. if (!result.isInitialized()) {
  612. throw newUninitializedMessageException(result);
  613. }
  614. return result;
  615. }
  616. @java.lang.Override
  617. public Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage buildPartial() {
  618. Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage result = new Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage(this);
  619. result.wxId_ = wxId_;
  620. result.success_ = success_;
  621. result.errMsg_ = errMsg_;
  622. result.taskId_ = taskId_;
  623. result.snsId_ = snsId_;
  624. result.postId_ = postId_;
  625. result.commentId_ = commentId_;
  626. onBuilt();
  627. return result;
  628. }
  629. @java.lang.Override
  630. public Builder clone() {
  631. return super.clone();
  632. }
  633. @java.lang.Override
  634. public Builder setField(
  635. com.google.protobuf.Descriptors.FieldDescriptor field,
  636. java.lang.Object value) {
  637. return super.setField(field, value);
  638. }
  639. @java.lang.Override
  640. public Builder clearField(
  641. com.google.protobuf.Descriptors.FieldDescriptor field) {
  642. return super.clearField(field);
  643. }
  644. @java.lang.Override
  645. public Builder clearOneof(
  646. com.google.protobuf.Descriptors.OneofDescriptor oneof) {
  647. return super.clearOneof(oneof);
  648. }
  649. @java.lang.Override
  650. public Builder setRepeatedField(
  651. com.google.protobuf.Descriptors.FieldDescriptor field,
  652. int index, java.lang.Object value) {
  653. return super.setRepeatedField(field, index, value);
  654. }
  655. @java.lang.Override
  656. public Builder addRepeatedField(
  657. com.google.protobuf.Descriptors.FieldDescriptor field,
  658. java.lang.Object value) {
  659. return super.addRepeatedField(field, value);
  660. }
  661. @java.lang.Override
  662. public Builder mergeFrom(com.google.protobuf.Message other) {
  663. if (other instanceof Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage) {
  664. return mergeFrom((Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage)other);
  665. } else {
  666. super.mergeFrom(other);
  667. return this;
  668. }
  669. }
  670. public Builder mergeFrom(Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage other) {
  671. if (other == Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage.getDefaultInstance()) return this;
  672. if (other.getWxId() != 0L) {
  673. setWxId(other.getWxId());
  674. }
  675. if (other.getSuccess() != false) {
  676. setSuccess(other.getSuccess());
  677. }
  678. if (!other.getErrMsg().isEmpty()) {
  679. errMsg_ = other.errMsg_;
  680. onChanged();
  681. }
  682. if (other.getTaskId() != 0L) {
  683. setTaskId(other.getTaskId());
  684. }
  685. if (other.getSnsId() != 0L) {
  686. setSnsId(other.getSnsId());
  687. }
  688. if (!other.getPostId().isEmpty()) {
  689. postId_ = other.postId_;
  690. onChanged();
  691. }
  692. if (other.getCommentId() != 0L) {
  693. setCommentId(other.getCommentId());
  694. }
  695. this.mergeUnknownFields(other.unknownFields);
  696. onChanged();
  697. return this;
  698. }
  699. @java.lang.Override
  700. public final boolean isInitialized() {
  701. return true;
  702. }
  703. @java.lang.Override
  704. public Builder mergeFrom(
  705. com.google.protobuf.CodedInputStream input,
  706. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  707. throws java.io.IOException {
  708. Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage parsedMessage = null;
  709. try {
  710. parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
  711. } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  712. parsedMessage = (Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage) e.getUnfinishedMessage();
  713. throw e.unwrapIOException();
  714. } finally {
  715. if (parsedMessage != null) {
  716. mergeFrom(parsedMessage);
  717. }
  718. }
  719. return this;
  720. }
  721. private long wxId_ ;
  722. /**
  723. * <pre>
  724. * </pre>
  725. *
  726. * <code>int64 WxId = 1;</code>
  727. * @return The wxId.
  728. */
  729. public long getWxId() {
  730. return wxId_;
  731. }
  732. /**
  733. * <pre>
  734. * </pre>
  735. *
  736. * <code>int64 WxId = 1;</code>
  737. * @param value The wxId to set.
  738. * @return This builder for chaining.
  739. */
  740. public Builder setWxId(long value) {
  741. wxId_ = value;
  742. onChanged();
  743. return this;
  744. }
  745. /**
  746. * <pre>
  747. * </pre>
  748. *
  749. * <code>int64 WxId = 1;</code>
  750. * @return This builder for chaining.
  751. */
  752. public Builder clearWxId() {
  753. wxId_ = 0L;
  754. onChanged();
  755. return this;
  756. }
  757. private boolean success_ ;
  758. /**
  759. * <pre>
  760. * 是否成功
  761. * </pre>
  762. *
  763. * <code>bool Success = 2;</code>
  764. * @return The success.
  765. */
  766. public boolean getSuccess() {
  767. return success_;
  768. }
  769. /**
  770. * <pre>
  771. * 是否成功
  772. * </pre>
  773. *
  774. * <code>bool Success = 2;</code>
  775. * @param value The success to set.
  776. * @return This builder for chaining.
  777. */
  778. public Builder setSuccess(boolean value) {
  779. success_ = value;
  780. onChanged();
  781. return this;
  782. }
  783. /**
  784. * <pre>
  785. * 是否成功
  786. * </pre>
  787. *
  788. * <code>bool Success = 2;</code>
  789. * @return This builder for chaining.
  790. */
  791. public Builder clearSuccess() {
  792. success_ = false;
  793. onChanged();
  794. return this;
  795. }
  796. private java.lang.Object errMsg_ = "";
  797. /**
  798. * <pre>
  799. * 错误内容描述 获取 成功时附带的结果内容
  800. * </pre>
  801. *
  802. * <code>string ErrMsg = 3;</code>
  803. * @return The errMsg.
  804. */
  805. public java.lang.String getErrMsg() {
  806. java.lang.Object ref = errMsg_;
  807. if (!(ref instanceof java.lang.String)) {
  808. com.google.protobuf.ByteString bs =
  809. (com.google.protobuf.ByteString) ref;
  810. java.lang.String s = bs.toStringUtf8();
  811. errMsg_ = s;
  812. return s;
  813. } else {
  814. return (java.lang.String) ref;
  815. }
  816. }
  817. /**
  818. * <pre>
  819. * 错误内容描述 获取 成功时附带的结果内容
  820. * </pre>
  821. *
  822. * <code>string ErrMsg = 3;</code>
  823. * @return The bytes for errMsg.
  824. */
  825. public com.google.protobuf.ByteString
  826. getErrMsgBytes() {
  827. java.lang.Object ref = errMsg_;
  828. if (ref instanceof String) {
  829. com.google.protobuf.ByteString b =
  830. com.google.protobuf.ByteString.copyFromUtf8(
  831. (java.lang.String) ref);
  832. errMsg_ = b;
  833. return b;
  834. } else {
  835. return (com.google.protobuf.ByteString) ref;
  836. }
  837. }
  838. /**
  839. * <pre>
  840. * 错误内容描述 获取 成功时附带的结果内容
  841. * </pre>
  842. *
  843. * <code>string ErrMsg = 3;</code>
  844. * @param value The errMsg to set.
  845. * @return This builder for chaining.
  846. */
  847. public Builder setErrMsg(
  848. java.lang.String value) {
  849. if (value == null) {
  850. throw new NullPointerException();
  851. }
  852. errMsg_ = value;
  853. onChanged();
  854. return this;
  855. }
  856. /**
  857. * <pre>
  858. * 错误内容描述 获取 成功时附带的结果内容
  859. * </pre>
  860. *
  861. * <code>string ErrMsg = 3;</code>
  862. * @return This builder for chaining.
  863. */
  864. public Builder clearErrMsg() {
  865. errMsg_ = getDefaultInstance().getErrMsg();
  866. onChanged();
  867. return this;
  868. }
  869. /**
  870. * <pre>
  871. * 错误内容描述 获取 成功时附带的结果内容
  872. * </pre>
  873. *
  874. * <code>string ErrMsg = 3;</code>
  875. * @param value The bytes for errMsg to set.
  876. * @return This builder for chaining.
  877. */
  878. public Builder setErrMsgBytes(
  879. com.google.protobuf.ByteString value) {
  880. if (value == null) {
  881. throw new NullPointerException();
  882. }
  883. checkByteStringIsUtf8(value);
  884. errMsg_ = value;
  885. onChanged();
  886. return this;
  887. }
  888. private long taskId_ ;
  889. /**
  890. * <pre>
  891. *任务id 在TaskResult中回传
  892. * </pre>
  893. *
  894. * <code>int64 TaskId = 4;</code>
  895. * @return The taskId.
  896. */
  897. public long getTaskId() {
  898. return taskId_;
  899. }
  900. /**
  901. * <pre>
  902. *任务id 在TaskResult中回传
  903. * </pre>
  904. *
  905. * <code>int64 TaskId = 4;</code>
  906. * @param value The taskId to set.
  907. * @return This builder for chaining.
  908. */
  909. public Builder setTaskId(long value) {
  910. taskId_ = value;
  911. onChanged();
  912. return this;
  913. }
  914. /**
  915. * <pre>
  916. *任务id 在TaskResult中回传
  917. * </pre>
  918. *
  919. * <code>int64 TaskId = 4;</code>
  920. * @return This builder for chaining.
  921. */
  922. public Builder clearTaskId() {
  923. taskId_ = 0L;
  924. onChanged();
  925. return this;
  926. }
  927. private long snsId_ ;
  928. /**
  929. * <pre>
  930. * </pre>
  931. *
  932. * <code>int64 SnsId = 5;</code>
  933. * @return The snsId.
  934. */
  935. public long getSnsId() {
  936. return snsId_;
  937. }
  938. /**
  939. * <pre>
  940. * </pre>
  941. *
  942. * <code>int64 SnsId = 5;</code>
  943. * @param value The snsId to set.
  944. * @return This builder for chaining.
  945. */
  946. public Builder setSnsId(long value) {
  947. snsId_ = value;
  948. onChanged();
  949. return this;
  950. }
  951. /**
  952. * <pre>
  953. * </pre>
  954. *
  955. * <code>int64 SnsId = 5;</code>
  956. * @return This builder for chaining.
  957. */
  958. public Builder clearSnsId() {
  959. snsId_ = 0L;
  960. onChanged();
  961. return this;
  962. }
  963. private java.lang.Object postId_ = "";
  964. /**
  965. * <pre>
  966. * </pre>
  967. *
  968. * <code>string PostId = 6;</code>
  969. * @return The postId.
  970. */
  971. public java.lang.String getPostId() {
  972. java.lang.Object ref = postId_;
  973. if (!(ref instanceof java.lang.String)) {
  974. com.google.protobuf.ByteString bs =
  975. (com.google.protobuf.ByteString) ref;
  976. java.lang.String s = bs.toStringUtf8();
  977. postId_ = s;
  978. return s;
  979. } else {
  980. return (java.lang.String) ref;
  981. }
  982. }
  983. /**
  984. * <pre>
  985. * </pre>
  986. *
  987. * <code>string PostId = 6;</code>
  988. * @return The bytes for postId.
  989. */
  990. public com.google.protobuf.ByteString
  991. getPostIdBytes() {
  992. java.lang.Object ref = postId_;
  993. if (ref instanceof String) {
  994. com.google.protobuf.ByteString b =
  995. com.google.protobuf.ByteString.copyFromUtf8(
  996. (java.lang.String) ref);
  997. postId_ = b;
  998. return b;
  999. } else {
  1000. return (com.google.protobuf.ByteString) ref;
  1001. }
  1002. }
  1003. /**
  1004. * <pre>
  1005. * </pre>
  1006. *
  1007. * <code>string PostId = 6;</code>
  1008. * @param value The postId to set.
  1009. * @return This builder for chaining.
  1010. */
  1011. public Builder setPostId(
  1012. java.lang.String value) {
  1013. if (value == null) {
  1014. throw new NullPointerException();
  1015. }
  1016. postId_ = value;
  1017. onChanged();
  1018. return this;
  1019. }
  1020. /**
  1021. * <pre>
  1022. * </pre>
  1023. *
  1024. * <code>string PostId = 6;</code>
  1025. * @return This builder for chaining.
  1026. */
  1027. public Builder clearPostId() {
  1028. postId_ = getDefaultInstance().getPostId();
  1029. onChanged();
  1030. return this;
  1031. }
  1032. /**
  1033. * <pre>
  1034. * </pre>
  1035. *
  1036. * <code>string PostId = 6;</code>
  1037. * @param value The bytes for postId to set.
  1038. * @return This builder for chaining.
  1039. */
  1040. public Builder setPostIdBytes(
  1041. com.google.protobuf.ByteString value) {
  1042. if (value == null) {
  1043. throw new NullPointerException();
  1044. }
  1045. checkByteStringIsUtf8(value);
  1046. postId_ = value;
  1047. onChanged();
  1048. return this;
  1049. }
  1050. private long commentId_ ;
  1051. /**
  1052. * <code>int64 CommentId = 7;</code>
  1053. * @return The commentId.
  1054. */
  1055. public long getCommentId() {
  1056. return commentId_;
  1057. }
  1058. /**
  1059. * <code>int64 CommentId = 7;</code>
  1060. * @param value The commentId to set.
  1061. * @return This builder for chaining.
  1062. */
  1063. public Builder setCommentId(long value) {
  1064. commentId_ = value;
  1065. onChanged();
  1066. return this;
  1067. }
  1068. /**
  1069. * <code>int64 CommentId = 7;</code>
  1070. * @return This builder for chaining.
  1071. */
  1072. public Builder clearCommentId() {
  1073. commentId_ = 0L;
  1074. onChanged();
  1075. return this;
  1076. }
  1077. @java.lang.Override
  1078. public final Builder setUnknownFields(
  1079. final com.google.protobuf.UnknownFieldSet unknownFields) {
  1080. return super.setUnknownFields(unknownFields);
  1081. }
  1082. @java.lang.Override
  1083. public final Builder mergeUnknownFields(
  1084. final com.google.protobuf.UnknownFieldSet unknownFields) {
  1085. return super.mergeUnknownFields(unknownFields);
  1086. }
  1087. // @@protoc_insertion_point(builder_scope:Im.Scrm.Ww.Proto.PostSnsTaskResultNoticeMessage)
  1088. }
  1089. // @@protoc_insertion_point(class_scope:Im.Scrm.Ww.Proto.PostSnsTaskResultNoticeMessage)
  1090. private static final Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage DEFAULT_INSTANCE;
  1091. static {
  1092. DEFAULT_INSTANCE = new Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage();
  1093. }
  1094. public static Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage getDefaultInstance() {
  1095. return DEFAULT_INSTANCE;
  1096. }
  1097. private static final com.google.protobuf.Parser<PostSnsTaskResultNoticeMessage>
  1098. PARSER = new com.google.protobuf.AbstractParser<PostSnsTaskResultNoticeMessage>() {
  1099. @java.lang.Override
  1100. public PostSnsTaskResultNoticeMessage parsePartialFrom(
  1101. com.google.protobuf.CodedInputStream input,
  1102. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1103. throws com.google.protobuf.InvalidProtocolBufferException {
  1104. return new PostSnsTaskResultNoticeMessage(input, extensionRegistry);
  1105. }
  1106. };
  1107. public static com.google.protobuf.Parser<PostSnsTaskResultNoticeMessage> parser() {
  1108. return PARSER;
  1109. }
  1110. @java.lang.Override
  1111. public com.google.protobuf.Parser<PostSnsTaskResultNoticeMessage> getParserForType() {
  1112. return PARSER;
  1113. }
  1114. @java.lang.Override
  1115. public Im.Scrm.Ww.Proto.WPostSnsTaskResultNotice.PostSnsTaskResultNoticeMessage getDefaultInstanceForType() {
  1116. return DEFAULT_INSTANCE;
  1117. }
  1118. }
  1119. private static final com.google.protobuf.Descriptors.Descriptor
  1120. internal_static_Im_Scrm_Ww_Proto_PostSnsTaskResultNoticeMessage_descriptor;
  1121. private static final
  1122. com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  1123. internal_static_Im_Scrm_Ww_Proto_PostSnsTaskResultNoticeMessage_fieldAccessorTable;
  1124. public static com.google.protobuf.Descriptors.FileDescriptor
  1125. getDescriptor() {
  1126. return descriptor;
  1127. }
  1128. private static com.google.protobuf.Descriptors.FileDescriptor
  1129. descriptor;
  1130. static {
  1131. java.lang.String[] descriptorData = {
  1132. "\n\036WPostSnsTaskResultNotice.proto\022\020Im.Scr" +
  1133. "m.Ww.Proto\"\221\001\n\036PostSnsTaskResultNoticeMe" +
  1134. "ssage\022\014\n\004WxId\030\001 \001(\003\022\017\n\007Success\030\002 \001(\010\022\016\n\006" +
  1135. "ErrMsg\030\003 \001(\t\022\016\n\006TaskId\030\004 \001(\003\022\r\n\005SnsId\030\005 " +
  1136. "\001(\003\022\016\n\006PostId\030\006 \001(\t\022\021\n\tCommentId\030\007 \001(\003b\006" +
  1137. "proto3"
  1138. };
  1139. descriptor = com.google.protobuf.Descriptors.FileDescriptor
  1140. .internalBuildGeneratedFileFrom(descriptorData,
  1141. new com.google.protobuf.Descriptors.FileDescriptor[] {
  1142. });
  1143. internal_static_Im_Scrm_Ww_Proto_PostSnsTaskResultNoticeMessage_descriptor =
  1144. getDescriptor().getMessageTypes().get(0);
  1145. internal_static_Im_Scrm_Ww_Proto_PostSnsTaskResultNoticeMessage_fieldAccessorTable = new
  1146. com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
  1147. internal_static_Im_Scrm_Ww_Proto_PostSnsTaskResultNoticeMessage_descriptor,
  1148. new java.lang.String[] { "WxId", "Success", "ErrMsg", "TaskId", "SnsId", "PostId", "CommentId", });
  1149. }
  1150. // @@protoc_insertion_point(outer_class_scope)
  1151. }