WSnsCommentTaskResultNotice.java 38 KB

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