WDownloadFileResultNotice.java 43 KB

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