WPullMyQrCodeTaskResultNotice.java 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: WPullMyQrCodeTaskResultNotice.proto
  3. package Im.Scrm.Ww.Proto;
  4. public final class WPullMyQrCodeTaskResultNotice {
  5. private WPullMyQrCodeTaskResultNotice() {}
  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 PullMyQrCodeTaskResultNoticeMessageOrBuilder extends
  15. // @@protoc_insertion_point(interface_extends:Im.Scrm.Ww.Proto.PullMyQrCodeTaskResultNoticeMessage)
  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 = 4;</code>
  40. * @return The errMsg.
  41. */
  42. java.lang.String getErrMsg();
  43. /**
  44. * <pre>
  45. * 错误内容描述 获取 成功时附带的结果内容
  46. * </pre>
  47. *
  48. * <code>string ErrMsg = 4;</code>
  49. * @return The bytes for errMsg.
  50. */
  51. com.google.protobuf.ByteString
  52. getErrMsgBytes();
  53. /**
  54. * <pre>
  55. * </pre>
  56. *
  57. * <code>string Url = 5;</code>
  58. * @return The url.
  59. */
  60. java.lang.String getUrl();
  61. /**
  62. * <pre>
  63. * </pre>
  64. *
  65. * <code>string Url = 5;</code>
  66. * @return The bytes for url.
  67. */
  68. com.google.protobuf.ByteString
  69. getUrlBytes();
  70. }
  71. /**
  72. * <pre>
  73. * 通用Trigger任务消息
  74. * </pre>
  75. *
  76. * Protobuf type {@code Im.Scrm.Ww.Proto.PullMyQrCodeTaskResultNoticeMessage}
  77. */
  78. public static final class PullMyQrCodeTaskResultNoticeMessage extends
  79. com.google.protobuf.GeneratedMessageV3 implements
  80. // @@protoc_insertion_point(message_implements:Im.Scrm.Ww.Proto.PullMyQrCodeTaskResultNoticeMessage)
  81. PullMyQrCodeTaskResultNoticeMessageOrBuilder {
  82. private static final long serialVersionUID = 0L;
  83. // Use PullMyQrCodeTaskResultNoticeMessage.newBuilder() to construct.
  84. private PullMyQrCodeTaskResultNoticeMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
  85. super(builder);
  86. }
  87. private PullMyQrCodeTaskResultNoticeMessage() {
  88. errMsg_ = "";
  89. url_ = "";
  90. }
  91. @java.lang.Override
  92. @SuppressWarnings({"unused"})
  93. protected java.lang.Object newInstance(
  94. UnusedPrivateParameter unused) {
  95. return new PullMyQrCodeTaskResultNoticeMessage();
  96. }
  97. @java.lang.Override
  98. public final com.google.protobuf.UnknownFieldSet
  99. getUnknownFields() {
  100. return this.unknownFields;
  101. }
  102. private PullMyQrCodeTaskResultNoticeMessage(
  103. com.google.protobuf.CodedInputStream input,
  104. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  105. throws com.google.protobuf.InvalidProtocolBufferException {
  106. this();
  107. if (extensionRegistry == null) {
  108. throw new java.lang.NullPointerException();
  109. }
  110. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  111. com.google.protobuf.UnknownFieldSet.newBuilder();
  112. try {
  113. boolean done = false;
  114. while (!done) {
  115. int tag = input.readTag();
  116. switch (tag) {
  117. case 0:
  118. done = true;
  119. break;
  120. case 8: {
  121. wxId_ = input.readInt64();
  122. break;
  123. }
  124. case 16: {
  125. success_ = input.readBool();
  126. break;
  127. }
  128. case 34: {
  129. java.lang.String s = input.readStringRequireUtf8();
  130. errMsg_ = s;
  131. break;
  132. }
  133. case 42: {
  134. java.lang.String s = input.readStringRequireUtf8();
  135. url_ = s;
  136. break;
  137. }
  138. default: {
  139. if (!parseUnknownField(
  140. input, unknownFields, extensionRegistry, tag)) {
  141. done = true;
  142. }
  143. break;
  144. }
  145. }
  146. }
  147. } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  148. throw e.setUnfinishedMessage(this);
  149. } catch (java.io.IOException e) {
  150. throw new com.google.protobuf.InvalidProtocolBufferException(
  151. e).setUnfinishedMessage(this);
  152. } finally {
  153. this.unknownFields = unknownFields.build();
  154. makeExtensionsImmutable();
  155. }
  156. }
  157. public static final com.google.protobuf.Descriptors.Descriptor
  158. getDescriptor() {
  159. return Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_PullMyQrCodeTaskResultNoticeMessage_descriptor;
  160. }
  161. @java.lang.Override
  162. protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  163. internalGetFieldAccessorTable() {
  164. return Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_PullMyQrCodeTaskResultNoticeMessage_fieldAccessorTable
  165. .ensureFieldAccessorsInitialized(
  166. Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage.class, Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage.Builder.class);
  167. }
  168. public static final int WXID_FIELD_NUMBER = 1;
  169. private long wxId_;
  170. /**
  171. * <pre>
  172. * </pre>
  173. *
  174. * <code>int64 WxId = 1;</code>
  175. * @return The wxId.
  176. */
  177. public long getWxId() {
  178. return wxId_;
  179. }
  180. public static final int SUCCESS_FIELD_NUMBER = 2;
  181. private boolean success_;
  182. /**
  183. * <pre>
  184. * 是否成功
  185. * </pre>
  186. *
  187. * <code>bool Success = 2;</code>
  188. * @return The success.
  189. */
  190. public boolean getSuccess() {
  191. return success_;
  192. }
  193. public static final int ERRMSG_FIELD_NUMBER = 4;
  194. private volatile java.lang.Object errMsg_;
  195. /**
  196. * <pre>
  197. * 错误内容描述 获取 成功时附带的结果内容
  198. * </pre>
  199. *
  200. * <code>string ErrMsg = 4;</code>
  201. * @return The errMsg.
  202. */
  203. public java.lang.String getErrMsg() {
  204. java.lang.Object ref = errMsg_;
  205. if (ref instanceof java.lang.String) {
  206. return (java.lang.String) ref;
  207. } else {
  208. com.google.protobuf.ByteString bs =
  209. (com.google.protobuf.ByteString) ref;
  210. java.lang.String s = bs.toStringUtf8();
  211. errMsg_ = s;
  212. return s;
  213. }
  214. }
  215. /**
  216. * <pre>
  217. * 错误内容描述 获取 成功时附带的结果内容
  218. * </pre>
  219. *
  220. * <code>string ErrMsg = 4;</code>
  221. * @return The bytes for errMsg.
  222. */
  223. public com.google.protobuf.ByteString
  224. getErrMsgBytes() {
  225. java.lang.Object ref = errMsg_;
  226. if (ref instanceof java.lang.String) {
  227. com.google.protobuf.ByteString b =
  228. com.google.protobuf.ByteString.copyFromUtf8(
  229. (java.lang.String) ref);
  230. errMsg_ = b;
  231. return b;
  232. } else {
  233. return (com.google.protobuf.ByteString) ref;
  234. }
  235. }
  236. public static final int URL_FIELD_NUMBER = 5;
  237. private volatile java.lang.Object url_;
  238. /**
  239. * <pre>
  240. * </pre>
  241. *
  242. * <code>string Url = 5;</code>
  243. * @return The url.
  244. */
  245. public java.lang.String getUrl() {
  246. java.lang.Object ref = url_;
  247. if (ref instanceof java.lang.String) {
  248. return (java.lang.String) ref;
  249. } else {
  250. com.google.protobuf.ByteString bs =
  251. (com.google.protobuf.ByteString) ref;
  252. java.lang.String s = bs.toStringUtf8();
  253. url_ = s;
  254. return s;
  255. }
  256. }
  257. /**
  258. * <pre>
  259. * </pre>
  260. *
  261. * <code>string Url = 5;</code>
  262. * @return The bytes for url.
  263. */
  264. public com.google.protobuf.ByteString
  265. getUrlBytes() {
  266. java.lang.Object ref = url_;
  267. if (ref instanceof java.lang.String) {
  268. com.google.protobuf.ByteString b =
  269. com.google.protobuf.ByteString.copyFromUtf8(
  270. (java.lang.String) ref);
  271. url_ = b;
  272. return b;
  273. } else {
  274. return (com.google.protobuf.ByteString) ref;
  275. }
  276. }
  277. private byte memoizedIsInitialized = -1;
  278. @java.lang.Override
  279. public final boolean isInitialized() {
  280. byte isInitialized = memoizedIsInitialized;
  281. if (isInitialized == 1) return true;
  282. if (isInitialized == 0) return false;
  283. memoizedIsInitialized = 1;
  284. return true;
  285. }
  286. @java.lang.Override
  287. public void writeTo(com.google.protobuf.CodedOutputStream output)
  288. throws java.io.IOException {
  289. if (wxId_ != 0L) {
  290. output.writeInt64(1, wxId_);
  291. }
  292. if (success_ != false) {
  293. output.writeBool(2, success_);
  294. }
  295. if (!getErrMsgBytes().isEmpty()) {
  296. com.google.protobuf.GeneratedMessageV3.writeString(output, 4, errMsg_);
  297. }
  298. if (!getUrlBytes().isEmpty()) {
  299. com.google.protobuf.GeneratedMessageV3.writeString(output, 5, url_);
  300. }
  301. unknownFields.writeTo(output);
  302. }
  303. @java.lang.Override
  304. public int getSerializedSize() {
  305. int size = memoizedSize;
  306. if (size != -1) return size;
  307. size = 0;
  308. if (wxId_ != 0L) {
  309. size += com.google.protobuf.CodedOutputStream
  310. .computeInt64Size(1, wxId_);
  311. }
  312. if (success_ != false) {
  313. size += com.google.protobuf.CodedOutputStream
  314. .computeBoolSize(2, success_);
  315. }
  316. if (!getErrMsgBytes().isEmpty()) {
  317. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, errMsg_);
  318. }
  319. if (!getUrlBytes().isEmpty()) {
  320. size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, url_);
  321. }
  322. size += unknownFields.getSerializedSize();
  323. memoizedSize = size;
  324. return size;
  325. }
  326. @java.lang.Override
  327. public boolean equals(final java.lang.Object obj) {
  328. if (obj == this) {
  329. return true;
  330. }
  331. if (!(obj instanceof Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage)) {
  332. return super.equals(obj);
  333. }
  334. Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage other = (Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage) obj;
  335. if (getWxId()
  336. != other.getWxId()) return false;
  337. if (getSuccess()
  338. != other.getSuccess()) return false;
  339. if (!getErrMsg()
  340. .equals(other.getErrMsg())) return false;
  341. if (!getUrl()
  342. .equals(other.getUrl())) return false;
  343. if (!unknownFields.equals(other.unknownFields)) return false;
  344. return true;
  345. }
  346. @java.lang.Override
  347. public int hashCode() {
  348. if (memoizedHashCode != 0) {
  349. return memoizedHashCode;
  350. }
  351. int hash = 41;
  352. hash = (19 * hash) + getDescriptor().hashCode();
  353. hash = (37 * hash) + WXID_FIELD_NUMBER;
  354. hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
  355. getWxId());
  356. hash = (37 * hash) + SUCCESS_FIELD_NUMBER;
  357. hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
  358. getSuccess());
  359. hash = (37 * hash) + ERRMSG_FIELD_NUMBER;
  360. hash = (53 * hash) + getErrMsg().hashCode();
  361. hash = (37 * hash) + URL_FIELD_NUMBER;
  362. hash = (53 * hash) + getUrl().hashCode();
  363. hash = (29 * hash) + unknownFields.hashCode();
  364. memoizedHashCode = hash;
  365. return hash;
  366. }
  367. public static Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage parseFrom(
  368. java.nio.ByteBuffer data)
  369. throws com.google.protobuf.InvalidProtocolBufferException {
  370. return PARSER.parseFrom(data);
  371. }
  372. public static Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage parseFrom(
  373. java.nio.ByteBuffer data,
  374. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  375. throws com.google.protobuf.InvalidProtocolBufferException {
  376. return PARSER.parseFrom(data, extensionRegistry);
  377. }
  378. public static Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage parseFrom(
  379. com.google.protobuf.ByteString data)
  380. throws com.google.protobuf.InvalidProtocolBufferException {
  381. return PARSER.parseFrom(data);
  382. }
  383. public static Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage parseFrom(
  384. com.google.protobuf.ByteString data,
  385. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  386. throws com.google.protobuf.InvalidProtocolBufferException {
  387. return PARSER.parseFrom(data, extensionRegistry);
  388. }
  389. public static Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage parseFrom(byte[] data)
  390. throws com.google.protobuf.InvalidProtocolBufferException {
  391. return PARSER.parseFrom(data);
  392. }
  393. public static Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage parseFrom(
  394. byte[] data,
  395. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  396. throws com.google.protobuf.InvalidProtocolBufferException {
  397. return PARSER.parseFrom(data, extensionRegistry);
  398. }
  399. public static Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage parseFrom(java.io.InputStream input)
  400. throws java.io.IOException {
  401. return com.google.protobuf.GeneratedMessageV3
  402. .parseWithIOException(PARSER, input);
  403. }
  404. public static Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage parseFrom(
  405. java.io.InputStream input,
  406. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  407. throws java.io.IOException {
  408. return com.google.protobuf.GeneratedMessageV3
  409. .parseWithIOException(PARSER, input, extensionRegistry);
  410. }
  411. public static Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage parseDelimitedFrom(java.io.InputStream input)
  412. throws java.io.IOException {
  413. return com.google.protobuf.GeneratedMessageV3
  414. .parseDelimitedWithIOException(PARSER, input);
  415. }
  416. public static Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage parseDelimitedFrom(
  417. java.io.InputStream input,
  418. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  419. throws java.io.IOException {
  420. return com.google.protobuf.GeneratedMessageV3
  421. .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  422. }
  423. public static Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage parseFrom(
  424. com.google.protobuf.CodedInputStream input)
  425. throws java.io.IOException {
  426. return com.google.protobuf.GeneratedMessageV3
  427. .parseWithIOException(PARSER, input);
  428. }
  429. public static Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage parseFrom(
  430. com.google.protobuf.CodedInputStream input,
  431. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  432. throws java.io.IOException {
  433. return com.google.protobuf.GeneratedMessageV3
  434. .parseWithIOException(PARSER, input, extensionRegistry);
  435. }
  436. @java.lang.Override
  437. public Builder newBuilderForType() { return newBuilder(); }
  438. public static Builder newBuilder() {
  439. return DEFAULT_INSTANCE.toBuilder();
  440. }
  441. public static Builder newBuilder(Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage prototype) {
  442. return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  443. }
  444. @java.lang.Override
  445. public Builder toBuilder() {
  446. return this == DEFAULT_INSTANCE
  447. ? new Builder() : new Builder().mergeFrom(this);
  448. }
  449. @java.lang.Override
  450. protected Builder newBuilderForType(
  451. com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  452. Builder builder = new Builder(parent);
  453. return builder;
  454. }
  455. /**
  456. * <pre>
  457. * 通用Trigger任务消息
  458. * </pre>
  459. *
  460. * Protobuf type {@code Im.Scrm.Ww.Proto.PullMyQrCodeTaskResultNoticeMessage}
  461. */
  462. public static final class Builder extends
  463. com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
  464. // @@protoc_insertion_point(builder_implements:Im.Scrm.Ww.Proto.PullMyQrCodeTaskResultNoticeMessage)
  465. Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessageOrBuilder {
  466. public static final com.google.protobuf.Descriptors.Descriptor
  467. getDescriptor() {
  468. return Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_PullMyQrCodeTaskResultNoticeMessage_descriptor;
  469. }
  470. @java.lang.Override
  471. protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  472. internalGetFieldAccessorTable() {
  473. return Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_PullMyQrCodeTaskResultNoticeMessage_fieldAccessorTable
  474. .ensureFieldAccessorsInitialized(
  475. Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage.class, Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage.Builder.class);
  476. }
  477. // Construct using Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage.newBuilder()
  478. private Builder() {
  479. maybeForceBuilderInitialization();
  480. }
  481. private Builder(
  482. com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
  483. super(parent);
  484. maybeForceBuilderInitialization();
  485. }
  486. private void maybeForceBuilderInitialization() {
  487. if (com.google.protobuf.GeneratedMessageV3
  488. .alwaysUseFieldBuilders) {
  489. }
  490. }
  491. @java.lang.Override
  492. public Builder clear() {
  493. super.clear();
  494. wxId_ = 0L;
  495. success_ = false;
  496. errMsg_ = "";
  497. url_ = "";
  498. return this;
  499. }
  500. @java.lang.Override
  501. public com.google.protobuf.Descriptors.Descriptor
  502. getDescriptorForType() {
  503. return Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_PullMyQrCodeTaskResultNoticeMessage_descriptor;
  504. }
  505. @java.lang.Override
  506. public Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage getDefaultInstanceForType() {
  507. return Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage.getDefaultInstance();
  508. }
  509. @java.lang.Override
  510. public Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage build() {
  511. Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage result = buildPartial();
  512. if (!result.isInitialized()) {
  513. throw newUninitializedMessageException(result);
  514. }
  515. return result;
  516. }
  517. @java.lang.Override
  518. public Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage buildPartial() {
  519. Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage result = new Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage(this);
  520. result.wxId_ = wxId_;
  521. result.success_ = success_;
  522. result.errMsg_ = errMsg_;
  523. result.url_ = url_;
  524. onBuilt();
  525. return result;
  526. }
  527. @java.lang.Override
  528. public Builder clone() {
  529. return super.clone();
  530. }
  531. @java.lang.Override
  532. public Builder setField(
  533. com.google.protobuf.Descriptors.FieldDescriptor field,
  534. java.lang.Object value) {
  535. return super.setField(field, value);
  536. }
  537. @java.lang.Override
  538. public Builder clearField(
  539. com.google.protobuf.Descriptors.FieldDescriptor field) {
  540. return super.clearField(field);
  541. }
  542. @java.lang.Override
  543. public Builder clearOneof(
  544. com.google.protobuf.Descriptors.OneofDescriptor oneof) {
  545. return super.clearOneof(oneof);
  546. }
  547. @java.lang.Override
  548. public Builder setRepeatedField(
  549. com.google.protobuf.Descriptors.FieldDescriptor field,
  550. int index, java.lang.Object value) {
  551. return super.setRepeatedField(field, index, value);
  552. }
  553. @java.lang.Override
  554. public Builder addRepeatedField(
  555. com.google.protobuf.Descriptors.FieldDescriptor field,
  556. java.lang.Object value) {
  557. return super.addRepeatedField(field, value);
  558. }
  559. @java.lang.Override
  560. public Builder mergeFrom(com.google.protobuf.Message other) {
  561. if (other instanceof Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage) {
  562. return mergeFrom((Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage)other);
  563. } else {
  564. super.mergeFrom(other);
  565. return this;
  566. }
  567. }
  568. public Builder mergeFrom(Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage other) {
  569. if (other == Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage.getDefaultInstance()) return this;
  570. if (other.getWxId() != 0L) {
  571. setWxId(other.getWxId());
  572. }
  573. if (other.getSuccess() != false) {
  574. setSuccess(other.getSuccess());
  575. }
  576. if (!other.getErrMsg().isEmpty()) {
  577. errMsg_ = other.errMsg_;
  578. onChanged();
  579. }
  580. if (!other.getUrl().isEmpty()) {
  581. url_ = other.url_;
  582. onChanged();
  583. }
  584. this.mergeUnknownFields(other.unknownFields);
  585. onChanged();
  586. return this;
  587. }
  588. @java.lang.Override
  589. public final boolean isInitialized() {
  590. return true;
  591. }
  592. @java.lang.Override
  593. public Builder mergeFrom(
  594. com.google.protobuf.CodedInputStream input,
  595. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  596. throws java.io.IOException {
  597. Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage parsedMessage = null;
  598. try {
  599. parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
  600. } catch (com.google.protobuf.InvalidProtocolBufferException e) {
  601. parsedMessage = (Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage) e.getUnfinishedMessage();
  602. throw e.unwrapIOException();
  603. } finally {
  604. if (parsedMessage != null) {
  605. mergeFrom(parsedMessage);
  606. }
  607. }
  608. return this;
  609. }
  610. private long wxId_ ;
  611. /**
  612. * <pre>
  613. * </pre>
  614. *
  615. * <code>int64 WxId = 1;</code>
  616. * @return The wxId.
  617. */
  618. public long getWxId() {
  619. return wxId_;
  620. }
  621. /**
  622. * <pre>
  623. * </pre>
  624. *
  625. * <code>int64 WxId = 1;</code>
  626. * @param value The wxId to set.
  627. * @return This builder for chaining.
  628. */
  629. public Builder setWxId(long value) {
  630. wxId_ = value;
  631. onChanged();
  632. return this;
  633. }
  634. /**
  635. * <pre>
  636. * </pre>
  637. *
  638. * <code>int64 WxId = 1;</code>
  639. * @return This builder for chaining.
  640. */
  641. public Builder clearWxId() {
  642. wxId_ = 0L;
  643. onChanged();
  644. return this;
  645. }
  646. private boolean success_ ;
  647. /**
  648. * <pre>
  649. * 是否成功
  650. * </pre>
  651. *
  652. * <code>bool Success = 2;</code>
  653. * @return The success.
  654. */
  655. public boolean getSuccess() {
  656. return success_;
  657. }
  658. /**
  659. * <pre>
  660. * 是否成功
  661. * </pre>
  662. *
  663. * <code>bool Success = 2;</code>
  664. * @param value The success to set.
  665. * @return This builder for chaining.
  666. */
  667. public Builder setSuccess(boolean value) {
  668. success_ = value;
  669. onChanged();
  670. return this;
  671. }
  672. /**
  673. * <pre>
  674. * 是否成功
  675. * </pre>
  676. *
  677. * <code>bool Success = 2;</code>
  678. * @return This builder for chaining.
  679. */
  680. public Builder clearSuccess() {
  681. success_ = false;
  682. onChanged();
  683. return this;
  684. }
  685. private java.lang.Object errMsg_ = "";
  686. /**
  687. * <pre>
  688. * 错误内容描述 获取 成功时附带的结果内容
  689. * </pre>
  690. *
  691. * <code>string ErrMsg = 4;</code>
  692. * @return The errMsg.
  693. */
  694. public java.lang.String getErrMsg() {
  695. java.lang.Object ref = errMsg_;
  696. if (!(ref instanceof java.lang.String)) {
  697. com.google.protobuf.ByteString bs =
  698. (com.google.protobuf.ByteString) ref;
  699. java.lang.String s = bs.toStringUtf8();
  700. errMsg_ = s;
  701. return s;
  702. } else {
  703. return (java.lang.String) ref;
  704. }
  705. }
  706. /**
  707. * <pre>
  708. * 错误内容描述 获取 成功时附带的结果内容
  709. * </pre>
  710. *
  711. * <code>string ErrMsg = 4;</code>
  712. * @return The bytes for errMsg.
  713. */
  714. public com.google.protobuf.ByteString
  715. getErrMsgBytes() {
  716. java.lang.Object ref = errMsg_;
  717. if (ref instanceof String) {
  718. com.google.protobuf.ByteString b =
  719. com.google.protobuf.ByteString.copyFromUtf8(
  720. (java.lang.String) ref);
  721. errMsg_ = b;
  722. return b;
  723. } else {
  724. return (com.google.protobuf.ByteString) ref;
  725. }
  726. }
  727. /**
  728. * <pre>
  729. * 错误内容描述 获取 成功时附带的结果内容
  730. * </pre>
  731. *
  732. * <code>string ErrMsg = 4;</code>
  733. * @param value The errMsg to set.
  734. * @return This builder for chaining.
  735. */
  736. public Builder setErrMsg(
  737. java.lang.String value) {
  738. if (value == null) {
  739. throw new NullPointerException();
  740. }
  741. errMsg_ = value;
  742. onChanged();
  743. return this;
  744. }
  745. /**
  746. * <pre>
  747. * 错误内容描述 获取 成功时附带的结果内容
  748. * </pre>
  749. *
  750. * <code>string ErrMsg = 4;</code>
  751. * @return This builder for chaining.
  752. */
  753. public Builder clearErrMsg() {
  754. errMsg_ = getDefaultInstance().getErrMsg();
  755. onChanged();
  756. return this;
  757. }
  758. /**
  759. * <pre>
  760. * 错误内容描述 获取 成功时附带的结果内容
  761. * </pre>
  762. *
  763. * <code>string ErrMsg = 4;</code>
  764. * @param value The bytes for errMsg to set.
  765. * @return This builder for chaining.
  766. */
  767. public Builder setErrMsgBytes(
  768. com.google.protobuf.ByteString value) {
  769. if (value == null) {
  770. throw new NullPointerException();
  771. }
  772. checkByteStringIsUtf8(value);
  773. errMsg_ = value;
  774. onChanged();
  775. return this;
  776. }
  777. private java.lang.Object url_ = "";
  778. /**
  779. * <pre>
  780. * </pre>
  781. *
  782. * <code>string Url = 5;</code>
  783. * @return The url.
  784. */
  785. public java.lang.String getUrl() {
  786. java.lang.Object ref = url_;
  787. if (!(ref instanceof java.lang.String)) {
  788. com.google.protobuf.ByteString bs =
  789. (com.google.protobuf.ByteString) ref;
  790. java.lang.String s = bs.toStringUtf8();
  791. url_ = s;
  792. return s;
  793. } else {
  794. return (java.lang.String) ref;
  795. }
  796. }
  797. /**
  798. * <pre>
  799. * </pre>
  800. *
  801. * <code>string Url = 5;</code>
  802. * @return The bytes for url.
  803. */
  804. public com.google.protobuf.ByteString
  805. getUrlBytes() {
  806. java.lang.Object ref = url_;
  807. if (ref instanceof String) {
  808. com.google.protobuf.ByteString b =
  809. com.google.protobuf.ByteString.copyFromUtf8(
  810. (java.lang.String) ref);
  811. url_ = b;
  812. return b;
  813. } else {
  814. return (com.google.protobuf.ByteString) ref;
  815. }
  816. }
  817. /**
  818. * <pre>
  819. * </pre>
  820. *
  821. * <code>string Url = 5;</code>
  822. * @param value The url to set.
  823. * @return This builder for chaining.
  824. */
  825. public Builder setUrl(
  826. java.lang.String value) {
  827. if (value == null) {
  828. throw new NullPointerException();
  829. }
  830. url_ = value;
  831. onChanged();
  832. return this;
  833. }
  834. /**
  835. * <pre>
  836. * </pre>
  837. *
  838. * <code>string Url = 5;</code>
  839. * @return This builder for chaining.
  840. */
  841. public Builder clearUrl() {
  842. url_ = getDefaultInstance().getUrl();
  843. onChanged();
  844. return this;
  845. }
  846. /**
  847. * <pre>
  848. * </pre>
  849. *
  850. * <code>string Url = 5;</code>
  851. * @param value The bytes for url to set.
  852. * @return This builder for chaining.
  853. */
  854. public Builder setUrlBytes(
  855. com.google.protobuf.ByteString value) {
  856. if (value == null) {
  857. throw new NullPointerException();
  858. }
  859. checkByteStringIsUtf8(value);
  860. url_ = value;
  861. onChanged();
  862. return this;
  863. }
  864. @java.lang.Override
  865. public final Builder setUnknownFields(
  866. final com.google.protobuf.UnknownFieldSet unknownFields) {
  867. return super.setUnknownFields(unknownFields);
  868. }
  869. @java.lang.Override
  870. public final Builder mergeUnknownFields(
  871. final com.google.protobuf.UnknownFieldSet unknownFields) {
  872. return super.mergeUnknownFields(unknownFields);
  873. }
  874. // @@protoc_insertion_point(builder_scope:Im.Scrm.Ww.Proto.PullMyQrCodeTaskResultNoticeMessage)
  875. }
  876. // @@protoc_insertion_point(class_scope:Im.Scrm.Ww.Proto.PullMyQrCodeTaskResultNoticeMessage)
  877. private static final Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage DEFAULT_INSTANCE;
  878. static {
  879. DEFAULT_INSTANCE = new Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage();
  880. }
  881. public static Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage getDefaultInstance() {
  882. return DEFAULT_INSTANCE;
  883. }
  884. private static final com.google.protobuf.Parser<PullMyQrCodeTaskResultNoticeMessage>
  885. PARSER = new com.google.protobuf.AbstractParser<PullMyQrCodeTaskResultNoticeMessage>() {
  886. @java.lang.Override
  887. public PullMyQrCodeTaskResultNoticeMessage parsePartialFrom(
  888. com.google.protobuf.CodedInputStream input,
  889. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  890. throws com.google.protobuf.InvalidProtocolBufferException {
  891. return new PullMyQrCodeTaskResultNoticeMessage(input, extensionRegistry);
  892. }
  893. };
  894. public static com.google.protobuf.Parser<PullMyQrCodeTaskResultNoticeMessage> parser() {
  895. return PARSER;
  896. }
  897. @java.lang.Override
  898. public com.google.protobuf.Parser<PullMyQrCodeTaskResultNoticeMessage> getParserForType() {
  899. return PARSER;
  900. }
  901. @java.lang.Override
  902. public Im.Scrm.Ww.Proto.WPullMyQrCodeTaskResultNotice.PullMyQrCodeTaskResultNoticeMessage getDefaultInstanceForType() {
  903. return DEFAULT_INSTANCE;
  904. }
  905. }
  906. private static final com.google.protobuf.Descriptors.Descriptor
  907. internal_static_Im_Scrm_Ww_Proto_PullMyQrCodeTaskResultNoticeMessage_descriptor;
  908. private static final
  909. com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  910. internal_static_Im_Scrm_Ww_Proto_PullMyQrCodeTaskResultNoticeMessage_fieldAccessorTable;
  911. public static com.google.protobuf.Descriptors.FileDescriptor
  912. getDescriptor() {
  913. return descriptor;
  914. }
  915. private static com.google.protobuf.Descriptors.FileDescriptor
  916. descriptor;
  917. static {
  918. java.lang.String[] descriptorData = {
  919. "\n#WPullMyQrCodeTaskResultNotice.proto\022\020I" +
  920. "m.Scrm.Ww.Proto\"a\n#PullMyQrCodeTaskResul" +
  921. "tNoticeMessage\022\014\n\004WxId\030\001 \001(\003\022\017\n\007Success\030" +
  922. "\002 \001(\010\022\016\n\006ErrMsg\030\004 \001(\t\022\013\n\003Url\030\005 \001(\tb\006prot" +
  923. "o3"
  924. };
  925. descriptor = com.google.protobuf.Descriptors.FileDescriptor
  926. .internalBuildGeneratedFileFrom(descriptorData,
  927. new com.google.protobuf.Descriptors.FileDescriptor[] {
  928. });
  929. internal_static_Im_Scrm_Ww_Proto_PullMyQrCodeTaskResultNoticeMessage_descriptor =
  930. getDescriptor().getMessageTypes().get(0);
  931. internal_static_Im_Scrm_Ww_Proto_PullMyQrCodeTaskResultNoticeMessage_fieldAccessorTable = new
  932. com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
  933. internal_static_Im_Scrm_Ww_Proto_PullMyQrCodeTaskResultNoticeMessage_descriptor,
  934. new java.lang.String[] { "WxId", "Success", "ErrMsg", "Url", });
  935. }
  936. // @@protoc_insertion_point(outer_class_scope)
  937. }