PageRenderTime 161ms CodeModel.GetById 21ms RepoModel.GetById 1ms app.codeStats 2ms

/replicator/src/java/com/continuent/tungsten/replicator/thl/protobuf/TungstenProtos.java

http://tungsten-replicator.googlecode.com/
Java | 7304 lines | 6548 code | 566 blank | 190 comment | 758 complexity | 8b1b5a89f180cbaf10eb3d1b5d7b198a MD5 | raw file
Possible License(s): GPL-2.0
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: TungstenProtobufMessage
  3. package com.continuent.tungsten.replicator.thl.protobuf;
  4. public final class TungstenProtos {
  5. private TungstenProtos() {}
  6. public static void registerAllExtensions(
  7. com.google.protobuf.ExtensionRegistry registry) {
  8. }
  9. public static final class Header extends
  10. com.google.protobuf.GeneratedMessage {
  11. // Use Header.newBuilder() to construct.
  12. private Header() {
  13. initFields();
  14. }
  15. private Header(boolean noInit) {}
  16. private static final Header defaultInstance;
  17. public static Header getDefaultInstance() {
  18. return defaultInstance;
  19. }
  20. public Header getDefaultInstanceForType() {
  21. return defaultInstance;
  22. }
  23. public static final com.google.protobuf.Descriptors.Descriptor
  24. getDescriptor() {
  25. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_Header_descriptor;
  26. }
  27. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  28. internalGetFieldAccessorTable() {
  29. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_Header_fieldAccessorTable;
  30. }
  31. // required int64 seqno = 1;
  32. public static final int SEQNO_FIELD_NUMBER = 1;
  33. private boolean hasSeqno;
  34. private long seqno_ = 0L;
  35. public boolean hasSeqno() { return hasSeqno; }
  36. public long getSeqno() { return seqno_; }
  37. // required int32 fragno = 2;
  38. public static final int FRAGNO_FIELD_NUMBER = 2;
  39. private boolean hasFragno;
  40. private int fragno_ = 0;
  41. public boolean hasFragno() { return hasFragno; }
  42. public int getFragno() { return fragno_; }
  43. // required bool lastFrag = 3;
  44. public static final int LASTFRAG_FIELD_NUMBER = 3;
  45. private boolean hasLastFrag;
  46. private boolean lastFrag_ = false;
  47. public boolean hasLastFrag() { return hasLastFrag; }
  48. public boolean getLastFrag() { return lastFrag_; }
  49. // required int64 sourceTstamp = 4;
  50. public static final int SOURCETSTAMP_FIELD_NUMBER = 4;
  51. private boolean hasSourceTstamp;
  52. private long sourceTstamp_ = 0L;
  53. public boolean hasSourceTstamp() { return hasSourceTstamp; }
  54. public long getSourceTstamp() { return sourceTstamp_; }
  55. // required int64 extractedTstamp = 5;
  56. public static final int EXTRACTEDTSTAMP_FIELD_NUMBER = 5;
  57. private boolean hasExtractedTstamp;
  58. private long extractedTstamp_ = 0L;
  59. public boolean hasExtractedTstamp() { return hasExtractedTstamp; }
  60. public long getExtractedTstamp() { return extractedTstamp_; }
  61. // required string sourceId = 6;
  62. public static final int SOURCEID_FIELD_NUMBER = 6;
  63. private boolean hasSourceId;
  64. private java.lang.String sourceId_ = "";
  65. public boolean hasSourceId() { return hasSourceId; }
  66. public java.lang.String getSourceId() { return sourceId_; }
  67. // required int64 epochNumber = 7;
  68. public static final int EPOCHNUMBER_FIELD_NUMBER = 7;
  69. private boolean hasEpochNumber;
  70. private long epochNumber_ = 0L;
  71. public boolean hasEpochNumber() { return hasEpochNumber; }
  72. public long getEpochNumber() { return epochNumber_; }
  73. // required string eventId = 8;
  74. public static final int EVENTID_FIELD_NUMBER = 8;
  75. private boolean hasEventId;
  76. private java.lang.String eventId_ = "";
  77. public boolean hasEventId() { return hasEventId; }
  78. public java.lang.String getEventId() { return eventId_; }
  79. // required string shardId = 9;
  80. public static final int SHARDID_FIELD_NUMBER = 9;
  81. private boolean hasShardId;
  82. private java.lang.String shardId_ = "";
  83. public boolean hasShardId() { return hasShardId; }
  84. public java.lang.String getShardId() { return shardId_; }
  85. // required bool filteredEvent = 10;
  86. public static final int FILTEREDEVENT_FIELD_NUMBER = 10;
  87. private boolean hasFilteredEvent;
  88. private boolean filteredEvent_ = false;
  89. public boolean hasFilteredEvent() { return hasFilteredEvent; }
  90. public boolean getFilteredEvent() { return filteredEvent_; }
  91. // optional int64 seqnoEnd = 11;
  92. public static final int SEQNOEND_FIELD_NUMBER = 11;
  93. private boolean hasSeqnoEnd;
  94. private long seqnoEnd_ = 0L;
  95. public boolean hasSeqnoEnd() { return hasSeqnoEnd; }
  96. public long getSeqnoEnd() { return seqnoEnd_; }
  97. // optional int32 fragnoEnd = 12;
  98. public static final int FRAGNOEND_FIELD_NUMBER = 12;
  99. private boolean hasFragnoEnd;
  100. private int fragnoEnd_ = 0;
  101. public boolean hasFragnoEnd() { return hasFragnoEnd; }
  102. public int getFragnoEnd() { return fragnoEnd_; }
  103. private void initFields() {
  104. }
  105. public final boolean isInitialized() {
  106. if (!hasSeqno) return false;
  107. if (!hasFragno) return false;
  108. if (!hasLastFrag) return false;
  109. if (!hasSourceTstamp) return false;
  110. if (!hasExtractedTstamp) return false;
  111. if (!hasSourceId) return false;
  112. if (!hasEpochNumber) return false;
  113. if (!hasEventId) return false;
  114. if (!hasShardId) return false;
  115. if (!hasFilteredEvent) return false;
  116. return true;
  117. }
  118. public void writeTo(com.google.protobuf.CodedOutputStream output)
  119. throws java.io.IOException {
  120. getSerializedSize();
  121. if (hasSeqno()) {
  122. output.writeInt64(1, getSeqno());
  123. }
  124. if (hasFragno()) {
  125. output.writeInt32(2, getFragno());
  126. }
  127. if (hasLastFrag()) {
  128. output.writeBool(3, getLastFrag());
  129. }
  130. if (hasSourceTstamp()) {
  131. output.writeInt64(4, getSourceTstamp());
  132. }
  133. if (hasExtractedTstamp()) {
  134. output.writeInt64(5, getExtractedTstamp());
  135. }
  136. if (hasSourceId()) {
  137. output.writeString(6, getSourceId());
  138. }
  139. if (hasEpochNumber()) {
  140. output.writeInt64(7, getEpochNumber());
  141. }
  142. if (hasEventId()) {
  143. output.writeString(8, getEventId());
  144. }
  145. if (hasShardId()) {
  146. output.writeString(9, getShardId());
  147. }
  148. if (hasFilteredEvent()) {
  149. output.writeBool(10, getFilteredEvent());
  150. }
  151. if (hasSeqnoEnd()) {
  152. output.writeInt64(11, getSeqnoEnd());
  153. }
  154. if (hasFragnoEnd()) {
  155. output.writeInt32(12, getFragnoEnd());
  156. }
  157. getUnknownFields().writeTo(output);
  158. }
  159. private int memoizedSerializedSize = -1;
  160. public int getSerializedSize() {
  161. int size = memoizedSerializedSize;
  162. if (size != -1) return size;
  163. size = 0;
  164. if (hasSeqno()) {
  165. size += com.google.protobuf.CodedOutputStream
  166. .computeInt64Size(1, getSeqno());
  167. }
  168. if (hasFragno()) {
  169. size += com.google.protobuf.CodedOutputStream
  170. .computeInt32Size(2, getFragno());
  171. }
  172. if (hasLastFrag()) {
  173. size += com.google.protobuf.CodedOutputStream
  174. .computeBoolSize(3, getLastFrag());
  175. }
  176. if (hasSourceTstamp()) {
  177. size += com.google.protobuf.CodedOutputStream
  178. .computeInt64Size(4, getSourceTstamp());
  179. }
  180. if (hasExtractedTstamp()) {
  181. size += com.google.protobuf.CodedOutputStream
  182. .computeInt64Size(5, getExtractedTstamp());
  183. }
  184. if (hasSourceId()) {
  185. size += com.google.protobuf.CodedOutputStream
  186. .computeStringSize(6, getSourceId());
  187. }
  188. if (hasEpochNumber()) {
  189. size += com.google.protobuf.CodedOutputStream
  190. .computeInt64Size(7, getEpochNumber());
  191. }
  192. if (hasEventId()) {
  193. size += com.google.protobuf.CodedOutputStream
  194. .computeStringSize(8, getEventId());
  195. }
  196. if (hasShardId()) {
  197. size += com.google.protobuf.CodedOutputStream
  198. .computeStringSize(9, getShardId());
  199. }
  200. if (hasFilteredEvent()) {
  201. size += com.google.protobuf.CodedOutputStream
  202. .computeBoolSize(10, getFilteredEvent());
  203. }
  204. if (hasSeqnoEnd()) {
  205. size += com.google.protobuf.CodedOutputStream
  206. .computeInt64Size(11, getSeqnoEnd());
  207. }
  208. if (hasFragnoEnd()) {
  209. size += com.google.protobuf.CodedOutputStream
  210. .computeInt32Size(12, getFragnoEnd());
  211. }
  212. size += getUnknownFields().getSerializedSize();
  213. memoizedSerializedSize = size;
  214. return size;
  215. }
  216. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header parseFrom(
  217. com.google.protobuf.ByteString data)
  218. throws com.google.protobuf.InvalidProtocolBufferException {
  219. return newBuilder().mergeFrom(data).buildParsed();
  220. }
  221. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header parseFrom(
  222. com.google.protobuf.ByteString data,
  223. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  224. throws com.google.protobuf.InvalidProtocolBufferException {
  225. return newBuilder().mergeFrom(data, extensionRegistry)
  226. .buildParsed();
  227. }
  228. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header parseFrom(byte[] data)
  229. throws com.google.protobuf.InvalidProtocolBufferException {
  230. return newBuilder().mergeFrom(data).buildParsed();
  231. }
  232. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header parseFrom(
  233. byte[] data,
  234. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  235. throws com.google.protobuf.InvalidProtocolBufferException {
  236. return newBuilder().mergeFrom(data, extensionRegistry)
  237. .buildParsed();
  238. }
  239. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header parseFrom(java.io.InputStream input)
  240. throws java.io.IOException {
  241. return newBuilder().mergeFrom(input).buildParsed();
  242. }
  243. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header parseFrom(
  244. java.io.InputStream input,
  245. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  246. throws java.io.IOException {
  247. return newBuilder().mergeFrom(input, extensionRegistry)
  248. .buildParsed();
  249. }
  250. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header parseDelimitedFrom(java.io.InputStream input)
  251. throws java.io.IOException {
  252. Builder builder = newBuilder();
  253. if (builder.mergeDelimitedFrom(input)) {
  254. return builder.buildParsed();
  255. } else {
  256. return null;
  257. }
  258. }
  259. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header parseDelimitedFrom(
  260. java.io.InputStream input,
  261. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  262. throws java.io.IOException {
  263. Builder builder = newBuilder();
  264. if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
  265. return builder.buildParsed();
  266. } else {
  267. return null;
  268. }
  269. }
  270. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header parseFrom(
  271. com.google.protobuf.CodedInputStream input)
  272. throws java.io.IOException {
  273. return newBuilder().mergeFrom(input).buildParsed();
  274. }
  275. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header parseFrom(
  276. com.google.protobuf.CodedInputStream input,
  277. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  278. throws java.io.IOException {
  279. return newBuilder().mergeFrom(input, extensionRegistry)
  280. .buildParsed();
  281. }
  282. public static Builder newBuilder() { return Builder.create(); }
  283. public Builder newBuilderForType() { return newBuilder(); }
  284. public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header prototype) {
  285. return newBuilder().mergeFrom(prototype);
  286. }
  287. public Builder toBuilder() { return newBuilder(this); }
  288. public static final class Builder extends
  289. com.google.protobuf.GeneratedMessage.Builder<Builder> {
  290. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header result;
  291. // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header.newBuilder()
  292. private Builder() {}
  293. private static Builder create() {
  294. Builder builder = new Builder();
  295. builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header();
  296. return builder;
  297. }
  298. protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header internalGetResult() {
  299. return result;
  300. }
  301. public Builder clear() {
  302. if (result == null) {
  303. throw new IllegalStateException(
  304. "Cannot call clear() after build().");
  305. }
  306. result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header();
  307. return this;
  308. }
  309. public Builder clone() {
  310. return create().mergeFrom(result);
  311. }
  312. public com.google.protobuf.Descriptors.Descriptor
  313. getDescriptorForType() {
  314. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header.getDescriptor();
  315. }
  316. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header getDefaultInstanceForType() {
  317. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header.getDefaultInstance();
  318. }
  319. public boolean isInitialized() {
  320. return result.isInitialized();
  321. }
  322. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header build() {
  323. if (result != null && !isInitialized()) {
  324. throw newUninitializedMessageException(result);
  325. }
  326. return buildPartial();
  327. }
  328. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header buildParsed()
  329. throws com.google.protobuf.InvalidProtocolBufferException {
  330. if (!isInitialized()) {
  331. throw newUninitializedMessageException(
  332. result).asInvalidProtocolBufferException();
  333. }
  334. return buildPartial();
  335. }
  336. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header buildPartial() {
  337. if (result == null) {
  338. throw new IllegalStateException(
  339. "build() has already been called on this Builder.");
  340. }
  341. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header returnMe = result;
  342. result = null;
  343. return returnMe;
  344. }
  345. public Builder mergeFrom(com.google.protobuf.Message other) {
  346. if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header) {
  347. return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header)other);
  348. } else {
  349. super.mergeFrom(other);
  350. return this;
  351. }
  352. }
  353. public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header other) {
  354. if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header.getDefaultInstance()) return this;
  355. if (other.hasSeqno()) {
  356. setSeqno(other.getSeqno());
  357. }
  358. if (other.hasFragno()) {
  359. setFragno(other.getFragno());
  360. }
  361. if (other.hasLastFrag()) {
  362. setLastFrag(other.getLastFrag());
  363. }
  364. if (other.hasSourceTstamp()) {
  365. setSourceTstamp(other.getSourceTstamp());
  366. }
  367. if (other.hasExtractedTstamp()) {
  368. setExtractedTstamp(other.getExtractedTstamp());
  369. }
  370. if (other.hasSourceId()) {
  371. setSourceId(other.getSourceId());
  372. }
  373. if (other.hasEpochNumber()) {
  374. setEpochNumber(other.getEpochNumber());
  375. }
  376. if (other.hasEventId()) {
  377. setEventId(other.getEventId());
  378. }
  379. if (other.hasShardId()) {
  380. setShardId(other.getShardId());
  381. }
  382. if (other.hasFilteredEvent()) {
  383. setFilteredEvent(other.getFilteredEvent());
  384. }
  385. if (other.hasSeqnoEnd()) {
  386. setSeqnoEnd(other.getSeqnoEnd());
  387. }
  388. if (other.hasFragnoEnd()) {
  389. setFragnoEnd(other.getFragnoEnd());
  390. }
  391. this.mergeUnknownFields(other.getUnknownFields());
  392. return this;
  393. }
  394. public Builder mergeFrom(
  395. com.google.protobuf.CodedInputStream input,
  396. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  397. throws java.io.IOException {
  398. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  399. com.google.protobuf.UnknownFieldSet.newBuilder(
  400. this.getUnknownFields());
  401. while (true) {
  402. int tag = input.readTag();
  403. switch (tag) {
  404. case 0:
  405. this.setUnknownFields(unknownFields.build());
  406. return this;
  407. default: {
  408. if (!parseUnknownField(input, unknownFields,
  409. extensionRegistry, tag)) {
  410. this.setUnknownFields(unknownFields.build());
  411. return this;
  412. }
  413. break;
  414. }
  415. case 8: {
  416. setSeqno(input.readInt64());
  417. break;
  418. }
  419. case 16: {
  420. setFragno(input.readInt32());
  421. break;
  422. }
  423. case 24: {
  424. setLastFrag(input.readBool());
  425. break;
  426. }
  427. case 32: {
  428. setSourceTstamp(input.readInt64());
  429. break;
  430. }
  431. case 40: {
  432. setExtractedTstamp(input.readInt64());
  433. break;
  434. }
  435. case 50: {
  436. setSourceId(input.readString());
  437. break;
  438. }
  439. case 56: {
  440. setEpochNumber(input.readInt64());
  441. break;
  442. }
  443. case 66: {
  444. setEventId(input.readString());
  445. break;
  446. }
  447. case 74: {
  448. setShardId(input.readString());
  449. break;
  450. }
  451. case 80: {
  452. setFilteredEvent(input.readBool());
  453. break;
  454. }
  455. case 88: {
  456. setSeqnoEnd(input.readInt64());
  457. break;
  458. }
  459. case 96: {
  460. setFragnoEnd(input.readInt32());
  461. break;
  462. }
  463. }
  464. }
  465. }
  466. // required int64 seqno = 1;
  467. public boolean hasSeqno() {
  468. return result.hasSeqno();
  469. }
  470. public long getSeqno() {
  471. return result.getSeqno();
  472. }
  473. public Builder setSeqno(long value) {
  474. result.hasSeqno = true;
  475. result.seqno_ = value;
  476. return this;
  477. }
  478. public Builder clearSeqno() {
  479. result.hasSeqno = false;
  480. result.seqno_ = 0L;
  481. return this;
  482. }
  483. // required int32 fragno = 2;
  484. public boolean hasFragno() {
  485. return result.hasFragno();
  486. }
  487. public int getFragno() {
  488. return result.getFragno();
  489. }
  490. public Builder setFragno(int value) {
  491. result.hasFragno = true;
  492. result.fragno_ = value;
  493. return this;
  494. }
  495. public Builder clearFragno() {
  496. result.hasFragno = false;
  497. result.fragno_ = 0;
  498. return this;
  499. }
  500. // required bool lastFrag = 3;
  501. public boolean hasLastFrag() {
  502. return result.hasLastFrag();
  503. }
  504. public boolean getLastFrag() {
  505. return result.getLastFrag();
  506. }
  507. public Builder setLastFrag(boolean value) {
  508. result.hasLastFrag = true;
  509. result.lastFrag_ = value;
  510. return this;
  511. }
  512. public Builder clearLastFrag() {
  513. result.hasLastFrag = false;
  514. result.lastFrag_ = false;
  515. return this;
  516. }
  517. // required int64 sourceTstamp = 4;
  518. public boolean hasSourceTstamp() {
  519. return result.hasSourceTstamp();
  520. }
  521. public long getSourceTstamp() {
  522. return result.getSourceTstamp();
  523. }
  524. public Builder setSourceTstamp(long value) {
  525. result.hasSourceTstamp = true;
  526. result.sourceTstamp_ = value;
  527. return this;
  528. }
  529. public Builder clearSourceTstamp() {
  530. result.hasSourceTstamp = false;
  531. result.sourceTstamp_ = 0L;
  532. return this;
  533. }
  534. // required int64 extractedTstamp = 5;
  535. public boolean hasExtractedTstamp() {
  536. return result.hasExtractedTstamp();
  537. }
  538. public long getExtractedTstamp() {
  539. return result.getExtractedTstamp();
  540. }
  541. public Builder setExtractedTstamp(long value) {
  542. result.hasExtractedTstamp = true;
  543. result.extractedTstamp_ = value;
  544. return this;
  545. }
  546. public Builder clearExtractedTstamp() {
  547. result.hasExtractedTstamp = false;
  548. result.extractedTstamp_ = 0L;
  549. return this;
  550. }
  551. // required string sourceId = 6;
  552. public boolean hasSourceId() {
  553. return result.hasSourceId();
  554. }
  555. public java.lang.String getSourceId() {
  556. return result.getSourceId();
  557. }
  558. public Builder setSourceId(java.lang.String value) {
  559. if (value == null) {
  560. throw new NullPointerException();
  561. }
  562. result.hasSourceId = true;
  563. result.sourceId_ = value;
  564. return this;
  565. }
  566. public Builder clearSourceId() {
  567. result.hasSourceId = false;
  568. result.sourceId_ = getDefaultInstance().getSourceId();
  569. return this;
  570. }
  571. // required int64 epochNumber = 7;
  572. public boolean hasEpochNumber() {
  573. return result.hasEpochNumber();
  574. }
  575. public long getEpochNumber() {
  576. return result.getEpochNumber();
  577. }
  578. public Builder setEpochNumber(long value) {
  579. result.hasEpochNumber = true;
  580. result.epochNumber_ = value;
  581. return this;
  582. }
  583. public Builder clearEpochNumber() {
  584. result.hasEpochNumber = false;
  585. result.epochNumber_ = 0L;
  586. return this;
  587. }
  588. // required string eventId = 8;
  589. public boolean hasEventId() {
  590. return result.hasEventId();
  591. }
  592. public java.lang.String getEventId() {
  593. return result.getEventId();
  594. }
  595. public Builder setEventId(java.lang.String value) {
  596. if (value == null) {
  597. throw new NullPointerException();
  598. }
  599. result.hasEventId = true;
  600. result.eventId_ = value;
  601. return this;
  602. }
  603. public Builder clearEventId() {
  604. result.hasEventId = false;
  605. result.eventId_ = getDefaultInstance().getEventId();
  606. return this;
  607. }
  608. // required string shardId = 9;
  609. public boolean hasShardId() {
  610. return result.hasShardId();
  611. }
  612. public java.lang.String getShardId() {
  613. return result.getShardId();
  614. }
  615. public Builder setShardId(java.lang.String value) {
  616. if (value == null) {
  617. throw new NullPointerException();
  618. }
  619. result.hasShardId = true;
  620. result.shardId_ = value;
  621. return this;
  622. }
  623. public Builder clearShardId() {
  624. result.hasShardId = false;
  625. result.shardId_ = getDefaultInstance().getShardId();
  626. return this;
  627. }
  628. // required bool filteredEvent = 10;
  629. public boolean hasFilteredEvent() {
  630. return result.hasFilteredEvent();
  631. }
  632. public boolean getFilteredEvent() {
  633. return result.getFilteredEvent();
  634. }
  635. public Builder setFilteredEvent(boolean value) {
  636. result.hasFilteredEvent = true;
  637. result.filteredEvent_ = value;
  638. return this;
  639. }
  640. public Builder clearFilteredEvent() {
  641. result.hasFilteredEvent = false;
  642. result.filteredEvent_ = false;
  643. return this;
  644. }
  645. // optional int64 seqnoEnd = 11;
  646. public boolean hasSeqnoEnd() {
  647. return result.hasSeqnoEnd();
  648. }
  649. public long getSeqnoEnd() {
  650. return result.getSeqnoEnd();
  651. }
  652. public Builder setSeqnoEnd(long value) {
  653. result.hasSeqnoEnd = true;
  654. result.seqnoEnd_ = value;
  655. return this;
  656. }
  657. public Builder clearSeqnoEnd() {
  658. result.hasSeqnoEnd = false;
  659. result.seqnoEnd_ = 0L;
  660. return this;
  661. }
  662. // optional int32 fragnoEnd = 12;
  663. public boolean hasFragnoEnd() {
  664. return result.hasFragnoEnd();
  665. }
  666. public int getFragnoEnd() {
  667. return result.getFragnoEnd();
  668. }
  669. public Builder setFragnoEnd(int value) {
  670. result.hasFragnoEnd = true;
  671. result.fragnoEnd_ = value;
  672. return this;
  673. }
  674. public Builder clearFragnoEnd() {
  675. result.hasFragnoEnd = false;
  676. result.fragnoEnd_ = 0;
  677. return this;
  678. }
  679. // @@protoc_insertion_point(builder_scope:TungstenProtobuf.Header)
  680. }
  681. static {
  682. defaultInstance = new Header(true);
  683. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
  684. defaultInstance.initFields();
  685. }
  686. // @@protoc_insertion_point(class_scope:TungstenProtobuf.Header)
  687. }
  688. public static final class ProtobufOneRowChange extends
  689. com.google.protobuf.GeneratedMessage {
  690. // Use ProtobufOneRowChange.newBuilder() to construct.
  691. private ProtobufOneRowChange() {
  692. initFields();
  693. }
  694. private ProtobufOneRowChange(boolean noInit) {}
  695. private static final ProtobufOneRowChange defaultInstance;
  696. public static ProtobufOneRowChange getDefaultInstance() {
  697. return defaultInstance;
  698. }
  699. public ProtobufOneRowChange getDefaultInstanceForType() {
  700. return defaultInstance;
  701. }
  702. public static final com.google.protobuf.Descriptors.Descriptor
  703. getDescriptor() {
  704. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufOneRowChange_descriptor;
  705. }
  706. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  707. internalGetFieldAccessorTable() {
  708. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufOneRowChange_fieldAccessorTable;
  709. }
  710. public enum ActionType
  711. implements com.google.protobuf.ProtocolMessageEnum {
  712. INSERT(0, 1),
  713. DELETE(1, 2),
  714. UPDATE(2, 3),
  715. ;
  716. public final int getNumber() { return value; }
  717. public static ActionType valueOf(int value) {
  718. switch (value) {
  719. case 1: return INSERT;
  720. case 2: return DELETE;
  721. case 3: return UPDATE;
  722. default: return null;
  723. }
  724. }
  725. public static com.google.protobuf.Internal.EnumLiteMap<ActionType>
  726. internalGetValueMap() {
  727. return internalValueMap;
  728. }
  729. private static com.google.protobuf.Internal.EnumLiteMap<ActionType>
  730. internalValueMap =
  731. new com.google.protobuf.Internal.EnumLiteMap<ActionType>() {
  732. public ActionType findValueByNumber(int number) {
  733. return ActionType.valueOf(number)
  734. ; }
  735. };
  736. public final com.google.protobuf.Descriptors.EnumValueDescriptor
  737. getValueDescriptor() {
  738. return getDescriptor().getValues().get(index);
  739. }
  740. public final com.google.protobuf.Descriptors.EnumDescriptor
  741. getDescriptorForType() {
  742. return getDescriptor();
  743. }
  744. public static final com.google.protobuf.Descriptors.EnumDescriptor
  745. getDescriptor() {
  746. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.getDescriptor().getEnumTypes().get(0);
  747. }
  748. private static final ActionType[] VALUES = {
  749. INSERT, DELETE, UPDATE,
  750. };
  751. public static ActionType valueOf(
  752. com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
  753. if (desc.getType() != getDescriptor()) {
  754. throw new java.lang.IllegalArgumentException(
  755. "EnumValueDescriptor is not for this type.");
  756. }
  757. return VALUES[desc.getIndex()];
  758. }
  759. private final int index;
  760. private final int value;
  761. private ActionType(int index, int value) {
  762. this.index = index;
  763. this.value = value;
  764. }
  765. static {
  766. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.getDescriptor();
  767. }
  768. // @@protoc_insertion_point(enum_scope:TungstenProtobuf.ProtobufOneRowChange.ActionType)
  769. }
  770. public static final class ProtobufColumnSpec extends
  771. com.google.protobuf.GeneratedMessage {
  772. // Use ProtobufColumnSpec.newBuilder() to construct.
  773. private ProtobufColumnSpec() {
  774. initFields();
  775. }
  776. private ProtobufColumnSpec(boolean noInit) {}
  777. private static final ProtobufColumnSpec defaultInstance;
  778. public static ProtobufColumnSpec getDefaultInstance() {
  779. return defaultInstance;
  780. }
  781. public ProtobufColumnSpec getDefaultInstanceForType() {
  782. return defaultInstance;
  783. }
  784. public static final com.google.protobuf.Descriptors.Descriptor
  785. getDescriptor() {
  786. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufColumnSpec_descriptor;
  787. }
  788. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  789. internalGetFieldAccessorTable() {
  790. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufColumnSpec_fieldAccessorTable;
  791. }
  792. // required int32 index = 1;
  793. public static final int INDEX_FIELD_NUMBER = 1;
  794. private boolean hasIndex;
  795. private int index_ = 0;
  796. public boolean hasIndex() { return hasIndex; }
  797. public int getIndex() { return index_; }
  798. // optional string name = 2;
  799. public static final int NAME_FIELD_NUMBER = 2;
  800. private boolean hasName;
  801. private java.lang.String name_ = "";
  802. public boolean hasName() { return hasName; }
  803. public java.lang.String getName() { return name_; }
  804. // required int32 type = 3;
  805. public static final int TYPE_FIELD_NUMBER = 3;
  806. private boolean hasType;
  807. private int type_ = 0;
  808. public boolean hasType() { return hasType; }
  809. public int getType() { return type_; }
  810. // required bool signed = 4;
  811. public static final int SIGNED_FIELD_NUMBER = 4;
  812. private boolean hasSigned;
  813. private boolean signed_ = false;
  814. public boolean hasSigned() { return hasSigned; }
  815. public boolean getSigned() { return signed_; }
  816. // required int32 length = 5;
  817. public static final int LENGTH_FIELD_NUMBER = 5;
  818. private boolean hasLength;
  819. private int length_ = 0;
  820. public boolean hasLength() { return hasLength; }
  821. public int getLength() { return length_; }
  822. // required bool notNull = 6;
  823. public static final int NOTNULL_FIELD_NUMBER = 6;
  824. private boolean hasNotNull;
  825. private boolean notNull_ = false;
  826. public boolean hasNotNull() { return hasNotNull; }
  827. public boolean getNotNull() { return notNull_; }
  828. private void initFields() {
  829. }
  830. public final boolean isInitialized() {
  831. if (!hasIndex) return false;
  832. if (!hasType) return false;
  833. if (!hasSigned) return false;
  834. if (!hasLength) return false;
  835. if (!hasNotNull) return false;
  836. return true;
  837. }
  838. public void writeTo(com.google.protobuf.CodedOutputStream output)
  839. throws java.io.IOException {
  840. getSerializedSize();
  841. if (hasIndex()) {
  842. output.writeInt32(1, getIndex());
  843. }
  844. if (hasName()) {
  845. output.writeString(2, getName());
  846. }
  847. if (hasType()) {
  848. output.writeInt32(3, getType());
  849. }
  850. if (hasSigned()) {
  851. output.writeBool(4, getSigned());
  852. }
  853. if (hasLength()) {
  854. output.writeInt32(5, getLength());
  855. }
  856. if (hasNotNull()) {
  857. output.writeBool(6, getNotNull());
  858. }
  859. getUnknownFields().writeTo(output);
  860. }
  861. private int memoizedSerializedSize = -1;
  862. public int getSerializedSize() {
  863. int size = memoizedSerializedSize;
  864. if (size != -1) return size;
  865. size = 0;
  866. if (hasIndex()) {
  867. size += com.google.protobuf.CodedOutputStream
  868. .computeInt32Size(1, getIndex());
  869. }
  870. if (hasName()) {
  871. size += com.google.protobuf.CodedOutputStream
  872. .computeStringSize(2, getName());
  873. }
  874. if (hasType()) {
  875. size += com.google.protobuf.CodedOutputStream
  876. .computeInt32Size(3, getType());
  877. }
  878. if (hasSigned()) {
  879. size += com.google.protobuf.CodedOutputStream
  880. .computeBoolSize(4, getSigned());
  881. }
  882. if (hasLength()) {
  883. size += com.google.protobuf.CodedOutputStream
  884. .computeInt32Size(5, getLength());
  885. }
  886. if (hasNotNull()) {
  887. size += com.google.protobuf.CodedOutputStream
  888. .computeBoolSize(6, getNotNull());
  889. }
  890. size += getUnknownFields().getSerializedSize();
  891. memoizedSerializedSize = size;
  892. return size;
  893. }
  894. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec parseFrom(
  895. com.google.protobuf.ByteString data)
  896. throws com.google.protobuf.InvalidProtocolBufferException {
  897. return newBuilder().mergeFrom(data).buildParsed();
  898. }
  899. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec parseFrom(
  900. com.google.protobuf.ByteString data,
  901. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  902. throws com.google.protobuf.InvalidProtocolBufferException {
  903. return newBuilder().mergeFrom(data, extensionRegistry)
  904. .buildParsed();
  905. }
  906. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec parseFrom(byte[] data)
  907. throws com.google.protobuf.InvalidProtocolBufferException {
  908. return newBuilder().mergeFrom(data).buildParsed();
  909. }
  910. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec parseFrom(
  911. byte[] data,
  912. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  913. throws com.google.protobuf.InvalidProtocolBufferException {
  914. return newBuilder().mergeFrom(data, extensionRegistry)
  915. .buildParsed();
  916. }
  917. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec parseFrom(java.io.InputStream input)
  918. throws java.io.IOException {
  919. return newBuilder().mergeFrom(input).buildParsed();
  920. }
  921. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec parseFrom(
  922. java.io.InputStream input,
  923. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  924. throws java.io.IOException {
  925. return newBuilder().mergeFrom(input, extensionRegistry)
  926. .buildParsed();
  927. }
  928. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec parseDelimitedFrom(java.io.InputStream input)
  929. throws java.io.IOException {
  930. Builder builder = newBuilder();
  931. if (builder.mergeDelimitedFrom(input)) {
  932. return builder.buildParsed();
  933. } else {
  934. return null;
  935. }
  936. }
  937. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec parseDelimitedFrom(
  938. java.io.InputStream input,
  939. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  940. throws java.io.IOException {
  941. Builder builder = newBuilder();
  942. if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
  943. return builder.buildParsed();
  944. } else {
  945. return null;
  946. }
  947. }
  948. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec parseFrom(
  949. com.google.protobuf.CodedInputStream input)
  950. throws java.io.IOException {
  951. return newBuilder().mergeFrom(input).buildParsed();
  952. }
  953. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec parseFrom(
  954. com.google.protobuf.CodedInputStream input,
  955. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  956. throws java.io.IOException {
  957. return newBuilder().mergeFrom(input, extensionRegistry)
  958. .buildParsed();
  959. }
  960. public static Builder newBuilder() { return Builder.create(); }
  961. public Builder newBuilderForType() { return newBuilder(); }
  962. public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec prototype) {
  963. return newBuilder().mergeFrom(prototype);
  964. }
  965. public Builder toBuilder() { return newBuilder(this); }
  966. public static final class Builder extends
  967. com.google.protobuf.GeneratedMessage.Builder<Builder> {
  968. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec result;
  969. // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.newBuilder()
  970. private Builder() {}
  971. private static Builder create() {
  972. Builder builder = new Builder();
  973. builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec();
  974. return builder;
  975. }
  976. protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec internalGetResult() {
  977. return result;
  978. }
  979. public Builder clear() {
  980. if (result == null) {
  981. throw new IllegalStateException(
  982. "Cannot call clear() after build().");
  983. }
  984. result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec();
  985. return this;
  986. }
  987. public Builder clone() {
  988. return create().mergeFrom(result);
  989. }
  990. public com.google.protobuf.Descriptors.Descriptor
  991. getDescriptorForType() {
  992. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.getDescriptor();
  993. }
  994. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec getDefaultInstanceForType() {
  995. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.getDefaultInstance();
  996. }
  997. public boolean isInitialized() {
  998. return result.isInitialized();
  999. }
  1000. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec build() {
  1001. if (result != null && !isInitialized()) {
  1002. throw newUninitializedMessageException(result);
  1003. }
  1004. return buildPartial();
  1005. }
  1006. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec buildParsed()
  1007. throws com.google.protobuf.InvalidProtocolBufferException {
  1008. if (!isInitialized()) {
  1009. throw newUninitializedMessageException(
  1010. result).asInvalidProtocolBufferException();
  1011. }
  1012. return buildPartial();
  1013. }
  1014. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec buildPartial() {
  1015. if (result == null) {
  1016. throw new IllegalStateException(
  1017. "build() has already been called on this Builder.");
  1018. }
  1019. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec returnMe = result;
  1020. result = null;
  1021. return returnMe;
  1022. }
  1023. public Builder mergeFrom(com.google.protobuf.Message other) {
  1024. if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec) {
  1025. return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec)other);
  1026. } else {
  1027. super.mergeFrom(other);
  1028. return this;
  1029. }
  1030. }
  1031. public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec other) {
  1032. if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.getDefaultInstance()) return this;
  1033. if (other.hasIndex()) {
  1034. setIndex(other.getIndex());
  1035. }
  1036. if (other.hasName()) {
  1037. setName(other.getName());
  1038. }
  1039. if (other.hasType()) {
  1040. setType(other.getType());
  1041. }
  1042. if (other.hasSigned()) {
  1043. setSigned(other.getSigned());
  1044. }
  1045. if (other.hasLength()) {
  1046. setLength(other.getLength());
  1047. }
  1048. if (other.hasNotNull()) {
  1049. setNotNull(other.getNotNull());
  1050. }
  1051. this.mergeUnknownFields(other.getUnknownFields());
  1052. return this;
  1053. }
  1054. public Builder mergeFrom(
  1055. com.google.protobuf.CodedInputStream input,
  1056. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1057. throws java.io.IOException {
  1058. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  1059. com.google.protobuf.UnknownFieldSet.newBuilder(
  1060. this.getUnknownFields());
  1061. while (true) {
  1062. int tag = input.readTag();
  1063. switch (tag) {
  1064. case 0:
  1065. this.setUnknownFields(unknownFields.build());
  1066. return this;
  1067. default: {
  1068. if (!parseUnknownField(input, unknownFields,
  1069. extensionRegistry, tag)) {
  1070. this.setUnknownFields(unknownFields.build());
  1071. return this;
  1072. }
  1073. break;
  1074. }
  1075. case 8: {
  1076. setIndex(input.readInt32());
  1077. break;
  1078. }
  1079. case 18: {
  1080. setName(input.readString());
  1081. break;
  1082. }
  1083. case 24: {
  1084. setType(input.readInt32());
  1085. break;
  1086. }
  1087. case 32: {
  1088. setSigned(input.readBool());
  1089. break;
  1090. }
  1091. case 40: {
  1092. setLength(input.readInt32());
  1093. break;
  1094. }
  1095. case 48: {
  1096. setNotNull(input.readBool());
  1097. break;
  1098. }
  1099. }
  1100. }
  1101. }
  1102. // required int32 index = 1;
  1103. public boolean hasIndex() {
  1104. return result.hasIndex();
  1105. }
  1106. public int getIndex() {
  1107. return result.getIndex();
  1108. }
  1109. public Builder setIndex(int value) {
  1110. result.hasIndex = true;
  1111. result.index_ = value;
  1112. return this;
  1113. }
  1114. public Builder clearIndex() {
  1115. result.hasIndex = false;
  1116. result.index_ = 0;
  1117. return this;
  1118. }
  1119. // optional string name = 2;
  1120. public boolean hasName() {
  1121. return result.hasName();
  1122. }
  1123. public java.lang.String getName() {
  1124. return result.getName();
  1125. }
  1126. public Builder setName(java.lang.String value) {
  1127. if (value == null) {
  1128. throw new NullPointerException();
  1129. }
  1130. result.hasName = true;
  1131. result.name_ = value;
  1132. return this;
  1133. }
  1134. public Builder clearName() {
  1135. result.hasName = false;
  1136. result.name_ = getDefaultInstance().getName();
  1137. return this;
  1138. }
  1139. // required int32 type = 3;
  1140. public boolean hasType() {
  1141. return result.hasType();
  1142. }
  1143. public int getType() {
  1144. return result.getType();
  1145. }
  1146. public Builder setType(int value) {
  1147. result.hasType = true;
  1148. result.type_ = value;
  1149. return this;
  1150. }
  1151. public Builder clearType() {
  1152. result.hasType = false;
  1153. result.type_ = 0;
  1154. return this;
  1155. }
  1156. // required bool signed = 4;
  1157. public boolean hasSigned() {
  1158. return result.hasSigned();
  1159. }
  1160. public boolean getSigned() {
  1161. return result.getSigned();
  1162. }
  1163. public Builder setSigned(boolean value) {
  1164. result.hasSigned = true;
  1165. result.signed_ = value;
  1166. return this;
  1167. }
  1168. public Builder clearSigned() {
  1169. result.hasSigned = false;
  1170. result.signed_ = false;
  1171. return this;
  1172. }
  1173. // required int32 length = 5;
  1174. public boolean hasLength() {
  1175. return result.hasLength();
  1176. }
  1177. public int getLength() {
  1178. return result.getLength();
  1179. }
  1180. public Builder setLength(int value) {
  1181. result.hasLength = true;
  1182. result.length_ = value;
  1183. return this;
  1184. }
  1185. public Builder clearLength() {
  1186. result.hasLength = false;
  1187. result.length_ = 0;
  1188. return this;
  1189. }
  1190. // required bool notNull = 6;
  1191. public boolean hasNotNull() {
  1192. return result.hasNotNull();
  1193. }
  1194. public boolean getNotNull() {
  1195. return result.getNotNull();
  1196. }
  1197. public Builder setNotNull(boolean value) {
  1198. result.hasNotNull = true;
  1199. result.notNull_ = value;
  1200. return this;
  1201. }
  1202. public Builder clearNotNull() {
  1203. result.hasNotNull = false;
  1204. result.notNull_ = false;
  1205. return this;
  1206. }
  1207. // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufOneRowChange.ProtobufColumnSpec)
  1208. }
  1209. static {
  1210. defaultInstance = new ProtobufColumnSpec(true);
  1211. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
  1212. defaultInstance.initFields();
  1213. }
  1214. // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufOneRowChange.ProtobufColumnSpec)
  1215. }
  1216. public static final class ProtobufRowValue extends
  1217. com.google.protobuf.GeneratedMessage {
  1218. // Use ProtobufRowValue.newBuilder() to construct.
  1219. private ProtobufRowValue() {
  1220. initFields();
  1221. }
  1222. private ProtobufRowValue(boolean noInit) {}
  1223. private static final ProtobufRowValue defaultInstance;
  1224. public static ProtobufRowValue getDefaultInstance() {
  1225. return defaultInstance;
  1226. }
  1227. public ProtobufRowValue getDefaultInstanceForType() {
  1228. return defaultInstance;
  1229. }
  1230. public static final com.google.protobuf.Descriptors.Descriptor
  1231. getDescriptor() {
  1232. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_descriptor;
  1233. }
  1234. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  1235. internalGetFieldAccessorTable() {
  1236. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_fieldAccessorTable;
  1237. }
  1238. public static final class ProtobufColumnVal extends
  1239. com.google.protobuf.GeneratedMessage {
  1240. // Use ProtobufColumnVal.newBuilder() to construct.
  1241. private ProtobufColumnVal() {
  1242. initFields();
  1243. }
  1244. private ProtobufColumnVal(boolean noInit) {}
  1245. private static final ProtobufColumnVal defaultInstance;
  1246. public static ProtobufColumnVal getDefaultInstance() {
  1247. return defaultInstance;
  1248. }
  1249. public ProtobufColumnVal getDefaultInstanceForType() {
  1250. return defaultInstance;
  1251. }
  1252. public static final com.google.protobuf.Descriptors.Descriptor
  1253. getDescriptor() {
  1254. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_ProtobufColumnVal_descriptor;
  1255. }
  1256. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  1257. internalGetFieldAccessorTable() {
  1258. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_ProtobufColumnVal_fieldAccessorTable;
  1259. }
  1260. public enum Type
  1261. implements com.google.protobuf.ProtocolMessageEnum {
  1262. INT(0, 1),
  1263. LONG(1, 2),
  1264. FLOAT(2, 3),
  1265. DOUBLE(3, 4),
  1266. STRING(4, 5),
  1267. TIMESTAMP(5, 6),
  1268. BIT(6, 7),
  1269. TIME(7, 8),
  1270. DATE(8, 9),
  1271. BLOB(9, 10),
  1272. NULL(10, 11),
  1273. DECIMAL(11, 12),
  1274. BINARYSTRING(12, 13),
  1275. ;
  1276. public final int getNumber() { return value; }
  1277. public static Type valueOf(int value) {
  1278. switch (value) {
  1279. case 1: return INT;
  1280. case 2: return LONG;
  1281. case 3: return FLOAT;
  1282. case 4: return DOUBLE;
  1283. case 5: return STRING;
  1284. case 6: return TIMESTAMP;
  1285. case 7: return BIT;
  1286. case 8: return TIME;
  1287. case 9: return DATE;
  1288. case 10: return BLOB;
  1289. case 11: return NULL;
  1290. case 12: return DECIMAL;
  1291. case 13: return BINARYSTRING;
  1292. default: return null;
  1293. }
  1294. }
  1295. public static com.google.protobuf.Internal.EnumLiteMap<Type>
  1296. internalGetValueMap() {
  1297. return internalValueMap;
  1298. }
  1299. private static com.google.protobuf.Internal.EnumLiteMap<Type>
  1300. internalValueMap =
  1301. new com.google.protobuf.Internal.EnumLiteMap<Type>() {
  1302. public Type findValueByNumber(int number) {
  1303. return Type.valueOf(number)
  1304. ; }
  1305. };
  1306. public final com.google.protobuf.Descriptors.EnumValueDescriptor
  1307. getValueDescriptor() {
  1308. return getDescriptor().getValues().get(index);
  1309. }
  1310. public final com.google.protobuf.Descriptors.EnumDescriptor
  1311. getDescriptorForType() {
  1312. return getDescriptor();
  1313. }
  1314. public static final com.google.protobuf.Descriptors.EnumDescriptor
  1315. getDescriptor() {
  1316. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.getDescriptor().getEnumTypes().get(0);
  1317. }
  1318. private static final Type[] VALUES = {
  1319. INT, LONG, FLOAT, DOUBLE, STRING, TIMESTAMP, BIT, TIME, DATE, BLOB, NULL, DECIMAL, BINARYSTRING,
  1320. };
  1321. public static Type valueOf(
  1322. com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
  1323. if (desc.getType() != getDescriptor()) {
  1324. throw new java.lang.IllegalArgumentException(
  1325. "EnumValueDescriptor is not for this type.");
  1326. }
  1327. return VALUES[desc.getIndex()];
  1328. }
  1329. private final int index;
  1330. private final int value;
  1331. private Type(int index, int value) {
  1332. this.index = index;
  1333. this.value = value;
  1334. }
  1335. static {
  1336. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.getDescriptor();
  1337. }
  1338. // @@protoc_insertion_point(enum_scope:TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Type)
  1339. }
  1340. // required .TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Type type = 1;
  1341. public static final int TYPE_FIELD_NUMBER = 1;
  1342. private boolean hasType;
  1343. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Type type_;
  1344. public boolean hasType() { return hasType; }
  1345. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Type getType() { return type_; }
  1346. // optional sint32 intValue = 2;
  1347. public static final int INTVALUE_FIELD_NUMBER = 2;
  1348. private boolean hasIntValue;
  1349. private int intValue_ = 0;
  1350. public boolean hasIntValue() { return hasIntValue; }
  1351. public int getIntValue() { return intValue_; }
  1352. // optional sint64 longValue = 3;
  1353. public static final int LONGVALUE_FIELD_NUMBER = 3;
  1354. private boolean hasLongValue;
  1355. private long longValue_ = 0L;
  1356. public boolean hasLongValue() { return hasLongValue; }
  1357. public long getLongValue() { return longValue_; }
  1358. // optional float floatValue = 4;
  1359. public static final int FLOATVALUE_FIELD_NUMBER = 4;
  1360. private boolean hasFloatValue;
  1361. private float floatValue_ = 0F;
  1362. public boolean hasFloatValue() { return hasFloatValue; }
  1363. public float getFloatValue() { return floatValue_; }
  1364. // optional double doubleValue = 5;
  1365. public static final int DOUBLEVALUE_FIELD_NUMBER = 5;
  1366. private boolean hasDoubleValue;
  1367. private double doubleValue_ = 0D;
  1368. public boolean hasDoubleValue() { return hasDoubleValue; }
  1369. public double getDoubleValue() { return doubleValue_; }
  1370. // optional string stringValue = 6;
  1371. public static final int STRINGVALUE_FIELD_NUMBER = 6;
  1372. private boolean hasStringValue;
  1373. private java.lang.String stringValue_ = "";
  1374. public boolean hasStringValue() { return hasStringValue; }
  1375. public java.lang.String getStringValue() { return stringValue_; }
  1376. // optional bytes bytesValue = 7;
  1377. public static final int BYTESVALUE_FIELD_NUMBER = 7;
  1378. private boolean hasBytesValue;
  1379. private com.google.protobuf.ByteString bytesValue_ = com.google.protobuf.ByteString.EMPTY;
  1380. public boolean hasBytesValue() { return hasBytesValue; }
  1381. public com.google.protobuf.ByteString getBytesValue() { return bytesValue_; }
  1382. private void initFields() {
  1383. type_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Type.INT;
  1384. }
  1385. public final boolean isInitialized() {
  1386. if (!hasType) return false;
  1387. return true;
  1388. }
  1389. public void writeTo(com.google.protobuf.CodedOutputStream output)
  1390. throws java.io.IOException {
  1391. getSerializedSize();
  1392. if (hasType()) {
  1393. output.writeEnum(1, getType().getNumber());
  1394. }
  1395. if (hasIntValue()) {
  1396. output.writeSInt32(2, getIntValue());
  1397. }
  1398. if (hasLongValue()) {
  1399. output.writeSInt64(3, getLongValue());
  1400. }
  1401. if (hasFloatValue()) {
  1402. output.writeFloat(4, getFloatValue());
  1403. }
  1404. if (hasDoubleValue()) {
  1405. output.writeDouble(5, getDoubleValue());
  1406. }
  1407. if (hasStringValue()) {
  1408. output.writeString(6, getStringValue());
  1409. }
  1410. if (hasBytesValue()) {
  1411. output.writeBytes(7, getBytesValue());
  1412. }
  1413. getUnknownFields().writeTo(output);
  1414. }
  1415. private int memoizedSerializedSize = -1;
  1416. public int getSerializedSize() {
  1417. int size = memoizedSerializedSize;
  1418. if (size != -1) return size;
  1419. size = 0;
  1420. if (hasType()) {
  1421. size += com.google.protobuf.CodedOutputStream
  1422. .computeEnumSize(1, getType().getNumber());
  1423. }
  1424. if (hasIntValue()) {
  1425. size += com.google.protobuf.CodedOutputStream
  1426. .computeSInt32Size(2, getIntValue());
  1427. }
  1428. if (hasLongValue()) {
  1429. size += com.google.protobuf.CodedOutputStream
  1430. .computeSInt64Size(3, getLongValue());
  1431. }
  1432. if (hasFloatValue()) {
  1433. size += com.google.protobuf.CodedOutputStream
  1434. .computeFloatSize(4, getFloatValue());
  1435. }
  1436. if (hasDoubleValue()) {
  1437. size += com.google.protobuf.CodedOutputStream
  1438. .computeDoubleSize(5, getDoubleValue());
  1439. }
  1440. if (hasStringValue()) {
  1441. size += com.google.protobuf.CodedOutputStream
  1442. .computeStringSize(6, getStringValue());
  1443. }
  1444. if (hasBytesValue()) {
  1445. size += com.google.protobuf.CodedOutputStream
  1446. .computeBytesSize(7, getBytesValue());
  1447. }
  1448. size += getUnknownFields().getSerializedSize();
  1449. memoizedSerializedSize = size;
  1450. return size;
  1451. }
  1452. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal parseFrom(
  1453. com.google.protobuf.ByteString data)
  1454. throws com.google.protobuf.InvalidProtocolBufferException {
  1455. return newBuilder().mergeFrom(data).buildParsed();
  1456. }
  1457. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal parseFrom(
  1458. com.google.protobuf.ByteString data,
  1459. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1460. throws com.google.protobuf.InvalidProtocolBufferException {
  1461. return newBuilder().mergeFrom(data, extensionRegistry)
  1462. .buildParsed();
  1463. }
  1464. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal parseFrom(byte[] data)
  1465. throws com.google.protobuf.InvalidProtocolBufferException {
  1466. return newBuilder().mergeFrom(data).buildParsed();
  1467. }
  1468. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal parseFrom(
  1469. byte[] data,
  1470. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1471. throws com.google.protobuf.InvalidProtocolBufferException {
  1472. return newBuilder().mergeFrom(data, extensionRegistry)
  1473. .buildParsed();
  1474. }
  1475. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal parseFrom(java.io.InputStream input)
  1476. throws java.io.IOException {
  1477. return newBuilder().mergeFrom(input).buildParsed();
  1478. }
  1479. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal parseFrom(
  1480. java.io.InputStream input,
  1481. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1482. throws java.io.IOException {
  1483. return newBuilder().mergeFrom(input, extensionRegistry)
  1484. .buildParsed();
  1485. }
  1486. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal parseDelimitedFrom(java.io.InputStream input)
  1487. throws java.io.IOException {
  1488. Builder builder = newBuilder();
  1489. if (builder.mergeDelimitedFrom(input)) {
  1490. return builder.buildParsed();
  1491. } else {
  1492. return null;
  1493. }
  1494. }
  1495. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal parseDelimitedFrom(
  1496. java.io.InputStream input,
  1497. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1498. throws java.io.IOException {
  1499. Builder builder = newBuilder();
  1500. if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
  1501. return builder.buildParsed();
  1502. } else {
  1503. return null;
  1504. }
  1505. }
  1506. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal parseFrom(
  1507. com.google.protobuf.CodedInputStream input)
  1508. throws java.io.IOException {
  1509. return newBuilder().mergeFrom(input).buildParsed();
  1510. }
  1511. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal parseFrom(
  1512. com.google.protobuf.CodedInputStream input,
  1513. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1514. throws java.io.IOException {
  1515. return newBuilder().mergeFrom(input, extensionRegistry)
  1516. .buildParsed();
  1517. }
  1518. public static Builder newBuilder() { return Builder.create(); }
  1519. public Builder newBuilderForType() { return newBuilder(); }
  1520. public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal prototype) {
  1521. return newBuilder().mergeFrom(prototype);
  1522. }
  1523. public Builder toBuilder() { return newBuilder(this); }
  1524. public static final class Builder extends
  1525. com.google.protobuf.GeneratedMessage.Builder<Builder> {
  1526. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal result;
  1527. // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.newBuilder()
  1528. private Builder() {}
  1529. private static Builder create() {
  1530. Builder builder = new Builder();
  1531. builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal();
  1532. return builder;
  1533. }
  1534. protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal internalGetResult() {
  1535. return result;
  1536. }
  1537. public Builder clear() {
  1538. if (result == null) {
  1539. throw new IllegalStateException(
  1540. "Cannot call clear() after build().");
  1541. }
  1542. result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal();
  1543. return this;
  1544. }
  1545. public Builder clone() {
  1546. return create().mergeFrom(result);
  1547. }
  1548. public com.google.protobuf.Descriptors.Descriptor
  1549. getDescriptorForType() {
  1550. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.getDescriptor();
  1551. }
  1552. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal getDefaultInstanceForType() {
  1553. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.getDefaultInstance();
  1554. }
  1555. public boolean isInitialized() {
  1556. return result.isInitialized();
  1557. }
  1558. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal build() {
  1559. if (result != null && !isInitialized()) {
  1560. throw newUninitializedMessageException(result);
  1561. }
  1562. return buildPartial();
  1563. }
  1564. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal buildParsed()
  1565. throws com.google.protobuf.InvalidProtocolBufferException {
  1566. if (!isInitialized()) {
  1567. throw newUninitializedMessageException(
  1568. result).asInvalidProtocolBufferException();
  1569. }
  1570. return buildPartial();
  1571. }
  1572. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal buildPartial() {
  1573. if (result == null) {
  1574. throw new IllegalStateException(
  1575. "build() has already been called on this Builder.");
  1576. }
  1577. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal returnMe = result;
  1578. result = null;
  1579. return returnMe;
  1580. }
  1581. public Builder mergeFrom(com.google.protobuf.Message other) {
  1582. if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal) {
  1583. return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal)other);
  1584. } else {
  1585. super.mergeFrom(other);
  1586. return this;
  1587. }
  1588. }
  1589. public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal other) {
  1590. if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.getDefaultInstance()) return this;
  1591. if (other.hasType()) {
  1592. setType(other.getType());
  1593. }
  1594. if (other.hasIntValue()) {
  1595. setIntValue(other.getIntValue());
  1596. }
  1597. if (other.hasLongValue()) {
  1598. setLongValue(other.getLongValue());
  1599. }
  1600. if (other.hasFloatValue()) {
  1601. setFloatValue(other.getFloatValue());
  1602. }
  1603. if (other.hasDoubleValue()) {
  1604. setDoubleValue(other.getDoubleValue());
  1605. }
  1606. if (other.hasStringValue()) {
  1607. setStringValue(other.getStringValue());
  1608. }
  1609. if (other.hasBytesValue()) {
  1610. setBytesValue(other.getBytesValue());
  1611. }
  1612. this.mergeUnknownFields(other.getUnknownFields());
  1613. return this;
  1614. }
  1615. public Builder mergeFrom(
  1616. com.google.protobuf.CodedInputStream input,
  1617. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1618. throws java.io.IOException {
  1619. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  1620. com.google.protobuf.UnknownFieldSet.newBuilder(
  1621. this.getUnknownFields());
  1622. while (true) {
  1623. int tag = input.readTag();
  1624. switch (tag) {
  1625. case 0:
  1626. this.setUnknownFields(unknownFields.build());
  1627. return this;
  1628. default: {
  1629. if (!parseUnknownField(input, unknownFields,
  1630. extensionRegistry, tag)) {
  1631. this.setUnknownFields(unknownFields.build());
  1632. return this;
  1633. }
  1634. break;
  1635. }
  1636. case 8: {
  1637. int rawValue = input.readEnum();
  1638. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Type value = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Type.valueOf(rawValue);
  1639. if (value == null) {
  1640. unknownFields.mergeVarintField(1, rawValue);
  1641. } else {
  1642. setType(value);
  1643. }
  1644. break;
  1645. }
  1646. case 16: {
  1647. setIntValue(input.readSInt32());
  1648. break;
  1649. }
  1650. case 24: {
  1651. setLongValue(input.readSInt64());
  1652. break;
  1653. }
  1654. case 37: {
  1655. setFloatValue(input.readFloat());
  1656. break;
  1657. }
  1658. case 41: {
  1659. setDoubleValue(input.readDouble());
  1660. break;
  1661. }
  1662. case 50: {
  1663. setStringValue(input.readString());
  1664. break;
  1665. }
  1666. case 58: {
  1667. setBytesValue(input.readBytes());
  1668. break;
  1669. }
  1670. }
  1671. }
  1672. }
  1673. // required .TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Type type = 1;
  1674. public boolean hasType() {
  1675. return result.hasType();
  1676. }
  1677. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Type getType() {
  1678. return result.getType();
  1679. }
  1680. public Builder setType(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Type value) {
  1681. if (value == null) {
  1682. throw new NullPointerException();
  1683. }
  1684. result.hasType = true;
  1685. result.type_ = value;
  1686. return this;
  1687. }
  1688. public Builder clearType() {
  1689. result.hasType = false;
  1690. result.type_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Type.INT;
  1691. return this;
  1692. }
  1693. // optional sint32 intValue = 2;
  1694. public boolean hasIntValue() {
  1695. return result.hasIntValue();
  1696. }
  1697. public int getIntValue() {
  1698. return result.getIntValue();
  1699. }
  1700. public Builder setIntValue(int value) {
  1701. result.hasIntValue = true;
  1702. result.intValue_ = value;
  1703. return this;
  1704. }
  1705. public Builder clearIntValue() {
  1706. result.hasIntValue = false;
  1707. result.intValue_ = 0;
  1708. return this;
  1709. }
  1710. // optional sint64 longValue = 3;
  1711. public boolean hasLongValue() {
  1712. return result.hasLongValue();
  1713. }
  1714. public long getLongValue() {
  1715. return result.getLongValue();
  1716. }
  1717. public Builder setLongValue(long value) {
  1718. result.hasLongValue = true;
  1719. result.longValue_ = value;
  1720. return this;
  1721. }
  1722. public Builder clearLongValue() {
  1723. result.hasLongValue = false;
  1724. result.longValue_ = 0L;
  1725. return this;
  1726. }
  1727. // optional float floatValue = 4;
  1728. public boolean hasFloatValue() {
  1729. return result.hasFloatValue();
  1730. }
  1731. public float getFloatValue() {
  1732. return result.getFloatValue();
  1733. }
  1734. public Builder setFloatValue(float value) {
  1735. result.hasFloatValue = true;
  1736. result.floatValue_ = value;
  1737. return this;
  1738. }
  1739. public Builder clearFloatValue() {
  1740. result.hasFloatValue = false;
  1741. result.floatValue_ = 0F;
  1742. return this;
  1743. }
  1744. // optional double doubleValue = 5;
  1745. public boolean hasDoubleValue() {
  1746. return result.hasDoubleValue();
  1747. }
  1748. public double getDoubleValue() {
  1749. return result.getDoubleValue();
  1750. }
  1751. public Builder setDoubleValue(double value) {
  1752. result.hasDoubleValue = true;
  1753. result.doubleValue_ = value;
  1754. return this;
  1755. }
  1756. public Builder clearDoubleValue() {
  1757. result.hasDoubleValue = false;
  1758. result.doubleValue_ = 0D;
  1759. return this;
  1760. }
  1761. // optional string stringValue = 6;
  1762. public boolean hasStringValue() {
  1763. return result.hasStringValue();
  1764. }
  1765. public java.lang.String getStringValue() {
  1766. return result.getStringValue();
  1767. }
  1768. public Builder setStringValue(java.lang.String value) {
  1769. if (value == null) {
  1770. throw new NullPointerException();
  1771. }
  1772. result.hasStringValue = true;
  1773. result.stringValue_ = value;
  1774. return this;
  1775. }
  1776. public Builder clearStringValue() {
  1777. result.hasStringValue = false;
  1778. result.stringValue_ = getDefaultInstance().getStringValue();
  1779. return this;
  1780. }
  1781. // optional bytes bytesValue = 7;
  1782. public boolean hasBytesValue() {
  1783. return result.hasBytesValue();
  1784. }
  1785. public com.google.protobuf.ByteString getBytesValue() {
  1786. return result.getBytesValue();
  1787. }
  1788. public Builder setBytesValue(com.google.protobuf.ByteString value) {
  1789. if (value == null) {
  1790. throw new NullPointerException();
  1791. }
  1792. result.hasBytesValue = true;
  1793. result.bytesValue_ = value;
  1794. return this;
  1795. }
  1796. public Builder clearBytesValue() {
  1797. result.hasBytesValue = false;
  1798. result.bytesValue_ = getDefaultInstance().getBytesValue();
  1799. return this;
  1800. }
  1801. // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal)
  1802. }
  1803. static {
  1804. defaultInstance = new ProtobufColumnVal(true);
  1805. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
  1806. defaultInstance.initFields();
  1807. }
  1808. // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal)
  1809. }
  1810. // repeated .TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal columnValue = 1;
  1811. public static final int COLUMNVALUE_FIELD_NUMBER = 1;
  1812. private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal> columnValue_ =
  1813. java.util.Collections.emptyList();
  1814. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal> getColumnValueList() {
  1815. return columnValue_;
  1816. }
  1817. public int getColumnValueCount() { return columnValue_.size(); }
  1818. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal getColumnValue(int index) {
  1819. return columnValue_.get(index);
  1820. }
  1821. private void initFields() {
  1822. }
  1823. public final boolean isInitialized() {
  1824. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal element : getColumnValueList()) {
  1825. if (!element.isInitialized()) return false;
  1826. }
  1827. return true;
  1828. }
  1829. public void writeTo(com.google.protobuf.CodedOutputStream output)
  1830. throws java.io.IOException {
  1831. getSerializedSize();
  1832. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal element : getColumnValueList()) {
  1833. output.writeMessage(1, element);
  1834. }
  1835. getUnknownFields().writeTo(output);
  1836. }
  1837. private int memoizedSerializedSize = -1;
  1838. public int getSerializedSize() {
  1839. int size = memoizedSerializedSize;
  1840. if (size != -1) return size;
  1841. size = 0;
  1842. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal element : getColumnValueList()) {
  1843. size += com.google.protobuf.CodedOutputStream
  1844. .computeMessageSize(1, element);
  1845. }
  1846. size += getUnknownFields().getSerializedSize();
  1847. memoizedSerializedSize = size;
  1848. return size;
  1849. }
  1850. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue parseFrom(
  1851. com.google.protobuf.ByteString data)
  1852. throws com.google.protobuf.InvalidProtocolBufferException {
  1853. return newBuilder().mergeFrom(data).buildParsed();
  1854. }
  1855. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue parseFrom(
  1856. com.google.protobuf.ByteString data,
  1857. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1858. throws com.google.protobuf.InvalidProtocolBufferException {
  1859. return newBuilder().mergeFrom(data, extensionRegistry)
  1860. .buildParsed();
  1861. }
  1862. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue parseFrom(byte[] data)
  1863. throws com.google.protobuf.InvalidProtocolBufferException {
  1864. return newBuilder().mergeFrom(data).buildParsed();
  1865. }
  1866. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue parseFrom(
  1867. byte[] data,
  1868. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1869. throws com.google.protobuf.InvalidProtocolBufferException {
  1870. return newBuilder().mergeFrom(data, extensionRegistry)
  1871. .buildParsed();
  1872. }
  1873. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue parseFrom(java.io.InputStream input)
  1874. throws java.io.IOException {
  1875. return newBuilder().mergeFrom(input).buildParsed();
  1876. }
  1877. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue parseFrom(
  1878. java.io.InputStream input,
  1879. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1880. throws java.io.IOException {
  1881. return newBuilder().mergeFrom(input, extensionRegistry)
  1882. .buildParsed();
  1883. }
  1884. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue parseDelimitedFrom(java.io.InputStream input)
  1885. throws java.io.IOException {
  1886. Builder builder = newBuilder();
  1887. if (builder.mergeDelimitedFrom(input)) {
  1888. return builder.buildParsed();
  1889. } else {
  1890. return null;
  1891. }
  1892. }
  1893. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue parseDelimitedFrom(
  1894. java.io.InputStream input,
  1895. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1896. throws java.io.IOException {
  1897. Builder builder = newBuilder();
  1898. if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
  1899. return builder.buildParsed();
  1900. } else {
  1901. return null;
  1902. }
  1903. }
  1904. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue parseFrom(
  1905. com.google.protobuf.CodedInputStream input)
  1906. throws java.io.IOException {
  1907. return newBuilder().mergeFrom(input).buildParsed();
  1908. }
  1909. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue parseFrom(
  1910. com.google.protobuf.CodedInputStream input,
  1911. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  1912. throws java.io.IOException {
  1913. return newBuilder().mergeFrom(input, extensionRegistry)
  1914. .buildParsed();
  1915. }
  1916. public static Builder newBuilder() { return Builder.create(); }
  1917. public Builder newBuilderForType() { return newBuilder(); }
  1918. public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue prototype) {
  1919. return newBuilder().mergeFrom(prototype);
  1920. }
  1921. public Builder toBuilder() { return newBuilder(this); }
  1922. public static final class Builder extends
  1923. com.google.protobuf.GeneratedMessage.Builder<Builder> {
  1924. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue result;
  1925. // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.newBuilder()
  1926. private Builder() {}
  1927. private static Builder create() {
  1928. Builder builder = new Builder();
  1929. builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue();
  1930. return builder;
  1931. }
  1932. protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue internalGetResult() {
  1933. return result;
  1934. }
  1935. public Builder clear() {
  1936. if (result == null) {
  1937. throw new IllegalStateException(
  1938. "Cannot call clear() after build().");
  1939. }
  1940. result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue();
  1941. return this;
  1942. }
  1943. public Builder clone() {
  1944. return create().mergeFrom(result);
  1945. }
  1946. public com.google.protobuf.Descriptors.Descriptor
  1947. getDescriptorForType() {
  1948. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.getDescriptor();
  1949. }
  1950. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue getDefaultInstanceForType() {
  1951. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.getDefaultInstance();
  1952. }
  1953. public boolean isInitialized() {
  1954. return result.isInitialized();
  1955. }
  1956. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue build() {
  1957. if (result != null && !isInitialized()) {
  1958. throw newUninitializedMessageException(result);
  1959. }
  1960. return buildPartial();
  1961. }
  1962. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue buildParsed()
  1963. throws com.google.protobuf.InvalidProtocolBufferException {
  1964. if (!isInitialized()) {
  1965. throw newUninitializedMessageException(
  1966. result).asInvalidProtocolBufferException();
  1967. }
  1968. return buildPartial();
  1969. }
  1970. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue buildPartial() {
  1971. if (result == null) {
  1972. throw new IllegalStateException(
  1973. "build() has already been called on this Builder.");
  1974. }
  1975. if (result.columnValue_ != java.util.Collections.EMPTY_LIST) {
  1976. result.columnValue_ =
  1977. java.util.Collections.unmodifiableList(result.columnValue_);
  1978. }
  1979. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue returnMe = result;
  1980. result = null;
  1981. return returnMe;
  1982. }
  1983. public Builder mergeFrom(com.google.protobuf.Message other) {
  1984. if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue) {
  1985. return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue)other);
  1986. } else {
  1987. super.mergeFrom(other);
  1988. return this;
  1989. }
  1990. }
  1991. public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue other) {
  1992. if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.getDefaultInstance()) return this;
  1993. if (!other.columnValue_.isEmpty()) {
  1994. if (result.columnValue_.isEmpty()) {
  1995. result.columnValue_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal>();
  1996. }
  1997. result.columnValue_.addAll(other.columnValue_);
  1998. }
  1999. this.mergeUnknownFields(other.getUnknownFields());
  2000. return this;
  2001. }
  2002. public Builder mergeFrom(
  2003. com.google.protobuf.CodedInputStream input,
  2004. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2005. throws java.io.IOException {
  2006. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  2007. com.google.protobuf.UnknownFieldSet.newBuilder(
  2008. this.getUnknownFields());
  2009. while (true) {
  2010. int tag = input.readTag();
  2011. switch (tag) {
  2012. case 0:
  2013. this.setUnknownFields(unknownFields.build());
  2014. return this;
  2015. default: {
  2016. if (!parseUnknownField(input, unknownFields,
  2017. extensionRegistry, tag)) {
  2018. this.setUnknownFields(unknownFields.build());
  2019. return this;
  2020. }
  2021. break;
  2022. }
  2023. case 10: {
  2024. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.newBuilder();
  2025. input.readMessage(subBuilder, extensionRegistry);
  2026. addColumnValue(subBuilder.buildPartial());
  2027. break;
  2028. }
  2029. }
  2030. }
  2031. }
  2032. // repeated .TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal columnValue = 1;
  2033. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal> getColumnValueList() {
  2034. return java.util.Collections.unmodifiableList(result.columnValue_);
  2035. }
  2036. public int getColumnValueCount() {
  2037. return result.getColumnValueCount();
  2038. }
  2039. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal getColumnValue(int index) {
  2040. return result.getColumnValue(index);
  2041. }
  2042. public Builder setColumnValue(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal value) {
  2043. if (value == null) {
  2044. throw new NullPointerException();
  2045. }
  2046. result.columnValue_.set(index, value);
  2047. return this;
  2048. }
  2049. public Builder setColumnValue(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Builder builderForValue) {
  2050. result.columnValue_.set(index, builderForValue.build());
  2051. return this;
  2052. }
  2053. public Builder addColumnValue(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal value) {
  2054. if (value == null) {
  2055. throw new NullPointerException();
  2056. }
  2057. if (result.columnValue_.isEmpty()) {
  2058. result.columnValue_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal>();
  2059. }
  2060. result.columnValue_.add(value);
  2061. return this;
  2062. }
  2063. public Builder addColumnValue(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Builder builderForValue) {
  2064. if (result.columnValue_.isEmpty()) {
  2065. result.columnValue_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal>();
  2066. }
  2067. result.columnValue_.add(builderForValue.build());
  2068. return this;
  2069. }
  2070. public Builder addAllColumnValue(
  2071. java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal> values) {
  2072. if (result.columnValue_.isEmpty()) {
  2073. result.columnValue_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal>();
  2074. }
  2075. super.addAll(values, result.columnValue_);
  2076. return this;
  2077. }
  2078. public Builder clearColumnValue() {
  2079. result.columnValue_ = java.util.Collections.emptyList();
  2080. return this;
  2081. }
  2082. // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue)
  2083. }
  2084. static {
  2085. defaultInstance = new ProtobufRowValue(true);
  2086. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
  2087. defaultInstance.initFields();
  2088. }
  2089. // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue)
  2090. }
  2091. // required string schemaName = 1;
  2092. public static final int SCHEMANAME_FIELD_NUMBER = 1;
  2093. private boolean hasSchemaName;
  2094. private java.lang.String schemaName_ = "";
  2095. public boolean hasSchemaName() { return hasSchemaName; }
  2096. public java.lang.String getSchemaName() { return schemaName_; }
  2097. // required string tableName = 2;
  2098. public static final int TABLENAME_FIELD_NUMBER = 2;
  2099. private boolean hasTableName;
  2100. private java.lang.String tableName_ = "";
  2101. public boolean hasTableName() { return hasTableName; }
  2102. public java.lang.String getTableName() { return tableName_; }
  2103. // required .TungstenProtobuf.ProtobufOneRowChange.ActionType action = 3;
  2104. public static final int ACTION_FIELD_NUMBER = 3;
  2105. private boolean hasAction;
  2106. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ActionType action_;
  2107. public boolean hasAction() { return hasAction; }
  2108. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ActionType getAction() { return action_; }
  2109. // repeated .TungstenProtobuf.ProtobufOneRowChange.ProtobufColumnSpec keySpec = 4;
  2110. public static final int KEYSPEC_FIELD_NUMBER = 4;
  2111. private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec> keySpec_ =
  2112. java.util.Collections.emptyList();
  2113. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec> getKeySpecList() {
  2114. return keySpec_;
  2115. }
  2116. public int getKeySpecCount() { return keySpec_.size(); }
  2117. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec getKeySpec(int index) {
  2118. return keySpec_.get(index);
  2119. }
  2120. // repeated .TungstenProtobuf.ProtobufOneRowChange.ProtobufColumnSpec columnSpec = 5;
  2121. public static final int COLUMNSPEC_FIELD_NUMBER = 5;
  2122. private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec> columnSpec_ =
  2123. java.util.Collections.emptyList();
  2124. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec> getColumnSpecList() {
  2125. return columnSpec_;
  2126. }
  2127. public int getColumnSpecCount() { return columnSpec_.size(); }
  2128. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec getColumnSpec(int index) {
  2129. return columnSpec_.get(index);
  2130. }
  2131. // repeated .TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue keyValues = 6;
  2132. public static final int KEYVALUES_FIELD_NUMBER = 6;
  2133. private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue> keyValues_ =
  2134. java.util.Collections.emptyList();
  2135. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue> getKeyValuesList() {
  2136. return keyValues_;
  2137. }
  2138. public int getKeyValuesCount() { return keyValues_.size(); }
  2139. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue getKeyValues(int index) {
  2140. return keyValues_.get(index);
  2141. }
  2142. // repeated .TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue columnValues = 7;
  2143. public static final int COLUMNVALUES_FIELD_NUMBER = 7;
  2144. private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue> columnValues_ =
  2145. java.util.Collections.emptyList();
  2146. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue> getColumnValuesList() {
  2147. return columnValues_;
  2148. }
  2149. public int getColumnValuesCount() { return columnValues_.size(); }
  2150. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue getColumnValues(int index) {
  2151. return columnValues_.get(index);
  2152. }
  2153. // optional sint64 tableId = 8;
  2154. public static final int TABLEID_FIELD_NUMBER = 8;
  2155. private boolean hasTableId;
  2156. private long tableId_ = 0L;
  2157. public boolean hasTableId() { return hasTableId; }
  2158. public long getTableId() { return tableId_; }
  2159. private void initFields() {
  2160. action_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ActionType.INSERT;
  2161. }
  2162. public final boolean isInitialized() {
  2163. if (!hasSchemaName) return false;
  2164. if (!hasTableName) return false;
  2165. if (!hasAction) return false;
  2166. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec element : getKeySpecList()) {
  2167. if (!element.isInitialized()) return false;
  2168. }
  2169. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec element : getColumnSpecList()) {
  2170. if (!element.isInitialized()) return false;
  2171. }
  2172. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue element : getKeyValuesList()) {
  2173. if (!element.isInitialized()) return false;
  2174. }
  2175. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue element : getColumnValuesList()) {
  2176. if (!element.isInitialized()) return false;
  2177. }
  2178. return true;
  2179. }
  2180. public void writeTo(com.google.protobuf.CodedOutputStream output)
  2181. throws java.io.IOException {
  2182. getSerializedSize();
  2183. if (hasSchemaName()) {
  2184. output.writeString(1, getSchemaName());
  2185. }
  2186. if (hasTableName()) {
  2187. output.writeString(2, getTableName());
  2188. }
  2189. if (hasAction()) {
  2190. output.writeEnum(3, getAction().getNumber());
  2191. }
  2192. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec element : getKeySpecList()) {
  2193. output.writeMessage(4, element);
  2194. }
  2195. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec element : getColumnSpecList()) {
  2196. output.writeMessage(5, element);
  2197. }
  2198. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue element : getKeyValuesList()) {
  2199. output.writeMessage(6, element);
  2200. }
  2201. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue element : getColumnValuesList()) {
  2202. output.writeMessage(7, element);
  2203. }
  2204. if (hasTableId()) {
  2205. output.writeSInt64(8, getTableId());
  2206. }
  2207. getUnknownFields().writeTo(output);
  2208. }
  2209. private int memoizedSerializedSize = -1;
  2210. public int getSerializedSize() {
  2211. int size = memoizedSerializedSize;
  2212. if (size != -1) return size;
  2213. size = 0;
  2214. if (hasSchemaName()) {
  2215. size += com.google.protobuf.CodedOutputStream
  2216. .computeStringSize(1, getSchemaName());
  2217. }
  2218. if (hasTableName()) {
  2219. size += com.google.protobuf.CodedOutputStream
  2220. .computeStringSize(2, getTableName());
  2221. }
  2222. if (hasAction()) {
  2223. size += com.google.protobuf.CodedOutputStream
  2224. .computeEnumSize(3, getAction().getNumber());
  2225. }
  2226. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec element : getKeySpecList()) {
  2227. size += com.google.protobuf.CodedOutputStream
  2228. .computeMessageSize(4, element);
  2229. }
  2230. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec element : getColumnSpecList()) {
  2231. size += com.google.protobuf.CodedOutputStream
  2232. .computeMessageSize(5, element);
  2233. }
  2234. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue element : getKeyValuesList()) {
  2235. size += com.google.protobuf.CodedOutputStream
  2236. .computeMessageSize(6, element);
  2237. }
  2238. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue element : getColumnValuesList()) {
  2239. size += com.google.protobuf.CodedOutputStream
  2240. .computeMessageSize(7, element);
  2241. }
  2242. if (hasTableId()) {
  2243. size += com.google.protobuf.CodedOutputStream
  2244. .computeSInt64Size(8, getTableId());
  2245. }
  2246. size += getUnknownFields().getSerializedSize();
  2247. memoizedSerializedSize = size;
  2248. return size;
  2249. }
  2250. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange parseFrom(
  2251. com.google.protobuf.ByteString data)
  2252. throws com.google.protobuf.InvalidProtocolBufferException {
  2253. return newBuilder().mergeFrom(data).buildParsed();
  2254. }
  2255. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange parseFrom(
  2256. com.google.protobuf.ByteString data,
  2257. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2258. throws com.google.protobuf.InvalidProtocolBufferException {
  2259. return newBuilder().mergeFrom(data, extensionRegistry)
  2260. .buildParsed();
  2261. }
  2262. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange parseFrom(byte[] data)
  2263. throws com.google.protobuf.InvalidProtocolBufferException {
  2264. return newBuilder().mergeFrom(data).buildParsed();
  2265. }
  2266. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange parseFrom(
  2267. byte[] data,
  2268. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2269. throws com.google.protobuf.InvalidProtocolBufferException {
  2270. return newBuilder().mergeFrom(data, extensionRegistry)
  2271. .buildParsed();
  2272. }
  2273. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange parseFrom(java.io.InputStream input)
  2274. throws java.io.IOException {
  2275. return newBuilder().mergeFrom(input).buildParsed();
  2276. }
  2277. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange parseFrom(
  2278. java.io.InputStream input,
  2279. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2280. throws java.io.IOException {
  2281. return newBuilder().mergeFrom(input, extensionRegistry)
  2282. .buildParsed();
  2283. }
  2284. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange parseDelimitedFrom(java.io.InputStream input)
  2285. throws java.io.IOException {
  2286. Builder builder = newBuilder();
  2287. if (builder.mergeDelimitedFrom(input)) {
  2288. return builder.buildParsed();
  2289. } else {
  2290. return null;
  2291. }
  2292. }
  2293. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange parseDelimitedFrom(
  2294. java.io.InputStream input,
  2295. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2296. throws java.io.IOException {
  2297. Builder builder = newBuilder();
  2298. if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
  2299. return builder.buildParsed();
  2300. } else {
  2301. return null;
  2302. }
  2303. }
  2304. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange parseFrom(
  2305. com.google.protobuf.CodedInputStream input)
  2306. throws java.io.IOException {
  2307. return newBuilder().mergeFrom(input).buildParsed();
  2308. }
  2309. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange parseFrom(
  2310. com.google.protobuf.CodedInputStream input,
  2311. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2312. throws java.io.IOException {
  2313. return newBuilder().mergeFrom(input, extensionRegistry)
  2314. .buildParsed();
  2315. }
  2316. public static Builder newBuilder() { return Builder.create(); }
  2317. public Builder newBuilderForType() { return newBuilder(); }
  2318. public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange prototype) {
  2319. return newBuilder().mergeFrom(prototype);
  2320. }
  2321. public Builder toBuilder() { return newBuilder(this); }
  2322. public static final class Builder extends
  2323. com.google.protobuf.GeneratedMessage.Builder<Builder> {
  2324. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange result;
  2325. // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.newBuilder()
  2326. private Builder() {}
  2327. private static Builder create() {
  2328. Builder builder = new Builder();
  2329. builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange();
  2330. return builder;
  2331. }
  2332. protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange internalGetResult() {
  2333. return result;
  2334. }
  2335. public Builder clear() {
  2336. if (result == null) {
  2337. throw new IllegalStateException(
  2338. "Cannot call clear() after build().");
  2339. }
  2340. result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange();
  2341. return this;
  2342. }
  2343. public Builder clone() {
  2344. return create().mergeFrom(result);
  2345. }
  2346. public com.google.protobuf.Descriptors.Descriptor
  2347. getDescriptorForType() {
  2348. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.getDescriptor();
  2349. }
  2350. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange getDefaultInstanceForType() {
  2351. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.getDefaultInstance();
  2352. }
  2353. public boolean isInitialized() {
  2354. return result.isInitialized();
  2355. }
  2356. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange build() {
  2357. if (result != null && !isInitialized()) {
  2358. throw newUninitializedMessageException(result);
  2359. }
  2360. return buildPartial();
  2361. }
  2362. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange buildParsed()
  2363. throws com.google.protobuf.InvalidProtocolBufferException {
  2364. if (!isInitialized()) {
  2365. throw newUninitializedMessageException(
  2366. result).asInvalidProtocolBufferException();
  2367. }
  2368. return buildPartial();
  2369. }
  2370. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange buildPartial() {
  2371. if (result == null) {
  2372. throw new IllegalStateException(
  2373. "build() has already been called on this Builder.");
  2374. }
  2375. if (result.keySpec_ != java.util.Collections.EMPTY_LIST) {
  2376. result.keySpec_ =
  2377. java.util.Collections.unmodifiableList(result.keySpec_);
  2378. }
  2379. if (result.columnSpec_ != java.util.Collections.EMPTY_LIST) {
  2380. result.columnSpec_ =
  2381. java.util.Collections.unmodifiableList(result.columnSpec_);
  2382. }
  2383. if (result.keyValues_ != java.util.Collections.EMPTY_LIST) {
  2384. result.keyValues_ =
  2385. java.util.Collections.unmodifiableList(result.keyValues_);
  2386. }
  2387. if (result.columnValues_ != java.util.Collections.EMPTY_LIST) {
  2388. result.columnValues_ =
  2389. java.util.Collections.unmodifiableList(result.columnValues_);
  2390. }
  2391. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange returnMe = result;
  2392. result = null;
  2393. return returnMe;
  2394. }
  2395. public Builder mergeFrom(com.google.protobuf.Message other) {
  2396. if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange) {
  2397. return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange)other);
  2398. } else {
  2399. super.mergeFrom(other);
  2400. return this;
  2401. }
  2402. }
  2403. public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange other) {
  2404. if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.getDefaultInstance()) return this;
  2405. if (other.hasSchemaName()) {
  2406. setSchemaName(other.getSchemaName());
  2407. }
  2408. if (other.hasTableName()) {
  2409. setTableName(other.getTableName());
  2410. }
  2411. if (other.hasAction()) {
  2412. setAction(other.getAction());
  2413. }
  2414. if (!other.keySpec_.isEmpty()) {
  2415. if (result.keySpec_.isEmpty()) {
  2416. result.keySpec_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec>();
  2417. }
  2418. result.keySpec_.addAll(other.keySpec_);
  2419. }
  2420. if (!other.columnSpec_.isEmpty()) {
  2421. if (result.columnSpec_.isEmpty()) {
  2422. result.columnSpec_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec>();
  2423. }
  2424. result.columnSpec_.addAll(other.columnSpec_);
  2425. }
  2426. if (!other.keyValues_.isEmpty()) {
  2427. if (result.keyValues_.isEmpty()) {
  2428. result.keyValues_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue>();
  2429. }
  2430. result.keyValues_.addAll(other.keyValues_);
  2431. }
  2432. if (!other.columnValues_.isEmpty()) {
  2433. if (result.columnValues_.isEmpty()) {
  2434. result.columnValues_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue>();
  2435. }
  2436. result.columnValues_.addAll(other.columnValues_);
  2437. }
  2438. if (other.hasTableId()) {
  2439. setTableId(other.getTableId());
  2440. }
  2441. this.mergeUnknownFields(other.getUnknownFields());
  2442. return this;
  2443. }
  2444. public Builder mergeFrom(
  2445. com.google.protobuf.CodedInputStream input,
  2446. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2447. throws java.io.IOException {
  2448. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  2449. com.google.protobuf.UnknownFieldSet.newBuilder(
  2450. this.getUnknownFields());
  2451. while (true) {
  2452. int tag = input.readTag();
  2453. switch (tag) {
  2454. case 0:
  2455. this.setUnknownFields(unknownFields.build());
  2456. return this;
  2457. default: {
  2458. if (!parseUnknownField(input, unknownFields,
  2459. extensionRegistry, tag)) {
  2460. this.setUnknownFields(unknownFields.build());
  2461. return this;
  2462. }
  2463. break;
  2464. }
  2465. case 10: {
  2466. setSchemaName(input.readString());
  2467. break;
  2468. }
  2469. case 18: {
  2470. setTableName(input.readString());
  2471. break;
  2472. }
  2473. case 24: {
  2474. int rawValue = input.readEnum();
  2475. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ActionType value = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ActionType.valueOf(rawValue);
  2476. if (value == null) {
  2477. unknownFields.mergeVarintField(3, rawValue);
  2478. } else {
  2479. setAction(value);
  2480. }
  2481. break;
  2482. }
  2483. case 34: {
  2484. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.newBuilder();
  2485. input.readMessage(subBuilder, extensionRegistry);
  2486. addKeySpec(subBuilder.buildPartial());
  2487. break;
  2488. }
  2489. case 42: {
  2490. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.newBuilder();
  2491. input.readMessage(subBuilder, extensionRegistry);
  2492. addColumnSpec(subBuilder.buildPartial());
  2493. break;
  2494. }
  2495. case 50: {
  2496. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.newBuilder();
  2497. input.readMessage(subBuilder, extensionRegistry);
  2498. addKeyValues(subBuilder.buildPartial());
  2499. break;
  2500. }
  2501. case 58: {
  2502. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.newBuilder();
  2503. input.readMessage(subBuilder, extensionRegistry);
  2504. addColumnValues(subBuilder.buildPartial());
  2505. break;
  2506. }
  2507. case 64: {
  2508. setTableId(input.readSInt64());
  2509. break;
  2510. }
  2511. }
  2512. }
  2513. }
  2514. // required string schemaName = 1;
  2515. public boolean hasSchemaName() {
  2516. return result.hasSchemaName();
  2517. }
  2518. public java.lang.String getSchemaName() {
  2519. return result.getSchemaName();
  2520. }
  2521. public Builder setSchemaName(java.lang.String value) {
  2522. if (value == null) {
  2523. throw new NullPointerException();
  2524. }
  2525. result.hasSchemaName = true;
  2526. result.schemaName_ = value;
  2527. return this;
  2528. }
  2529. public Builder clearSchemaName() {
  2530. result.hasSchemaName = false;
  2531. result.schemaName_ = getDefaultInstance().getSchemaName();
  2532. return this;
  2533. }
  2534. // required string tableName = 2;
  2535. public boolean hasTableName() {
  2536. return result.hasTableName();
  2537. }
  2538. public java.lang.String getTableName() {
  2539. return result.getTableName();
  2540. }
  2541. public Builder setTableName(java.lang.String value) {
  2542. if (value == null) {
  2543. throw new NullPointerException();
  2544. }
  2545. result.hasTableName = true;
  2546. result.tableName_ = value;
  2547. return this;
  2548. }
  2549. public Builder clearTableName() {
  2550. result.hasTableName = false;
  2551. result.tableName_ = getDefaultInstance().getTableName();
  2552. return this;
  2553. }
  2554. // required .TungstenProtobuf.ProtobufOneRowChange.ActionType action = 3;
  2555. public boolean hasAction() {
  2556. return result.hasAction();
  2557. }
  2558. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ActionType getAction() {
  2559. return result.getAction();
  2560. }
  2561. public Builder setAction(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ActionType value) {
  2562. if (value == null) {
  2563. throw new NullPointerException();
  2564. }
  2565. result.hasAction = true;
  2566. result.action_ = value;
  2567. return this;
  2568. }
  2569. public Builder clearAction() {
  2570. result.hasAction = false;
  2571. result.action_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ActionType.INSERT;
  2572. return this;
  2573. }
  2574. // repeated .TungstenProtobuf.ProtobufOneRowChange.ProtobufColumnSpec keySpec = 4;
  2575. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec> getKeySpecList() {
  2576. return java.util.Collections.unmodifiableList(result.keySpec_);
  2577. }
  2578. public int getKeySpecCount() {
  2579. return result.getKeySpecCount();
  2580. }
  2581. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec getKeySpec(int index) {
  2582. return result.getKeySpec(index);
  2583. }
  2584. public Builder setKeySpec(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec value) {
  2585. if (value == null) {
  2586. throw new NullPointerException();
  2587. }
  2588. result.keySpec_.set(index, value);
  2589. return this;
  2590. }
  2591. public Builder setKeySpec(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.Builder builderForValue) {
  2592. result.keySpec_.set(index, builderForValue.build());
  2593. return this;
  2594. }
  2595. public Builder addKeySpec(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec value) {
  2596. if (value == null) {
  2597. throw new NullPointerException();
  2598. }
  2599. if (result.keySpec_.isEmpty()) {
  2600. result.keySpec_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec>();
  2601. }
  2602. result.keySpec_.add(value);
  2603. return this;
  2604. }
  2605. public Builder addKeySpec(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.Builder builderForValue) {
  2606. if (result.keySpec_.isEmpty()) {
  2607. result.keySpec_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec>();
  2608. }
  2609. result.keySpec_.add(builderForValue.build());
  2610. return this;
  2611. }
  2612. public Builder addAllKeySpec(
  2613. java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec> values) {
  2614. if (result.keySpec_.isEmpty()) {
  2615. result.keySpec_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec>();
  2616. }
  2617. super.addAll(values, result.keySpec_);
  2618. return this;
  2619. }
  2620. public Builder clearKeySpec() {
  2621. result.keySpec_ = java.util.Collections.emptyList();
  2622. return this;
  2623. }
  2624. // repeated .TungstenProtobuf.ProtobufOneRowChange.ProtobufColumnSpec columnSpec = 5;
  2625. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec> getColumnSpecList() {
  2626. return java.util.Collections.unmodifiableList(result.columnSpec_);
  2627. }
  2628. public int getColumnSpecCount() {
  2629. return result.getColumnSpecCount();
  2630. }
  2631. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec getColumnSpec(int index) {
  2632. return result.getColumnSpec(index);
  2633. }
  2634. public Builder setColumnSpec(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec value) {
  2635. if (value == null) {
  2636. throw new NullPointerException();
  2637. }
  2638. result.columnSpec_.set(index, value);
  2639. return this;
  2640. }
  2641. public Builder setColumnSpec(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.Builder builderForValue) {
  2642. result.columnSpec_.set(index, builderForValue.build());
  2643. return this;
  2644. }
  2645. public Builder addColumnSpec(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec value) {
  2646. if (value == null) {
  2647. throw new NullPointerException();
  2648. }
  2649. if (result.columnSpec_.isEmpty()) {
  2650. result.columnSpec_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec>();
  2651. }
  2652. result.columnSpec_.add(value);
  2653. return this;
  2654. }
  2655. public Builder addColumnSpec(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.Builder builderForValue) {
  2656. if (result.columnSpec_.isEmpty()) {
  2657. result.columnSpec_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec>();
  2658. }
  2659. result.columnSpec_.add(builderForValue.build());
  2660. return this;
  2661. }
  2662. public Builder addAllColumnSpec(
  2663. java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec> values) {
  2664. if (result.columnSpec_.isEmpty()) {
  2665. result.columnSpec_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec>();
  2666. }
  2667. super.addAll(values, result.columnSpec_);
  2668. return this;
  2669. }
  2670. public Builder clearColumnSpec() {
  2671. result.columnSpec_ = java.util.Collections.emptyList();
  2672. return this;
  2673. }
  2674. // repeated .TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue keyValues = 6;
  2675. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue> getKeyValuesList() {
  2676. return java.util.Collections.unmodifiableList(result.keyValues_);
  2677. }
  2678. public int getKeyValuesCount() {
  2679. return result.getKeyValuesCount();
  2680. }
  2681. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue getKeyValues(int index) {
  2682. return result.getKeyValues(index);
  2683. }
  2684. public Builder setKeyValues(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue value) {
  2685. if (value == null) {
  2686. throw new NullPointerException();
  2687. }
  2688. result.keyValues_.set(index, value);
  2689. return this;
  2690. }
  2691. public Builder setKeyValues(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.Builder builderForValue) {
  2692. result.keyValues_.set(index, builderForValue.build());
  2693. return this;
  2694. }
  2695. public Builder addKeyValues(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue value) {
  2696. if (value == null) {
  2697. throw new NullPointerException();
  2698. }
  2699. if (result.keyValues_.isEmpty()) {
  2700. result.keyValues_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue>();
  2701. }
  2702. result.keyValues_.add(value);
  2703. return this;
  2704. }
  2705. public Builder addKeyValues(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.Builder builderForValue) {
  2706. if (result.keyValues_.isEmpty()) {
  2707. result.keyValues_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue>();
  2708. }
  2709. result.keyValues_.add(builderForValue.build());
  2710. return this;
  2711. }
  2712. public Builder addAllKeyValues(
  2713. java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue> values) {
  2714. if (result.keyValues_.isEmpty()) {
  2715. result.keyValues_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue>();
  2716. }
  2717. super.addAll(values, result.keyValues_);
  2718. return this;
  2719. }
  2720. public Builder clearKeyValues() {
  2721. result.keyValues_ = java.util.Collections.emptyList();
  2722. return this;
  2723. }
  2724. // repeated .TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue columnValues = 7;
  2725. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue> getColumnValuesList() {
  2726. return java.util.Collections.unmodifiableList(result.columnValues_);
  2727. }
  2728. public int getColumnValuesCount() {
  2729. return result.getColumnValuesCount();
  2730. }
  2731. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue getColumnValues(int index) {
  2732. return result.getColumnValues(index);
  2733. }
  2734. public Builder setColumnValues(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue value) {
  2735. if (value == null) {
  2736. throw new NullPointerException();
  2737. }
  2738. result.columnValues_.set(index, value);
  2739. return this;
  2740. }
  2741. public Builder setColumnValues(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.Builder builderForValue) {
  2742. result.columnValues_.set(index, builderForValue.build());
  2743. return this;
  2744. }
  2745. public Builder addColumnValues(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue value) {
  2746. if (value == null) {
  2747. throw new NullPointerException();
  2748. }
  2749. if (result.columnValues_.isEmpty()) {
  2750. result.columnValues_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue>();
  2751. }
  2752. result.columnValues_.add(value);
  2753. return this;
  2754. }
  2755. public Builder addColumnValues(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.Builder builderForValue) {
  2756. if (result.columnValues_.isEmpty()) {
  2757. result.columnValues_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue>();
  2758. }
  2759. result.columnValues_.add(builderForValue.build());
  2760. return this;
  2761. }
  2762. public Builder addAllColumnValues(
  2763. java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue> values) {
  2764. if (result.columnValues_.isEmpty()) {
  2765. result.columnValues_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue>();
  2766. }
  2767. super.addAll(values, result.columnValues_);
  2768. return this;
  2769. }
  2770. public Builder clearColumnValues() {
  2771. result.columnValues_ = java.util.Collections.emptyList();
  2772. return this;
  2773. }
  2774. // optional sint64 tableId = 8;
  2775. public boolean hasTableId() {
  2776. return result.hasTableId();
  2777. }
  2778. public long getTableId() {
  2779. return result.getTableId();
  2780. }
  2781. public Builder setTableId(long value) {
  2782. result.hasTableId = true;
  2783. result.tableId_ = value;
  2784. return this;
  2785. }
  2786. public Builder clearTableId() {
  2787. result.hasTableId = false;
  2788. result.tableId_ = 0L;
  2789. return this;
  2790. }
  2791. // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufOneRowChange)
  2792. }
  2793. static {
  2794. defaultInstance = new ProtobufOneRowChange(true);
  2795. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
  2796. defaultInstance.initFields();
  2797. }
  2798. // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufOneRowChange)
  2799. }
  2800. public static final class ProtobufRowChangeData extends
  2801. com.google.protobuf.GeneratedMessage {
  2802. // Use ProtobufRowChangeData.newBuilder() to construct.
  2803. private ProtobufRowChangeData() {
  2804. initFields();
  2805. }
  2806. private ProtobufRowChangeData(boolean noInit) {}
  2807. private static final ProtobufRowChangeData defaultInstance;
  2808. public static ProtobufRowChangeData getDefaultInstance() {
  2809. return defaultInstance;
  2810. }
  2811. public ProtobufRowChangeData getDefaultInstanceForType() {
  2812. return defaultInstance;
  2813. }
  2814. public static final com.google.protobuf.Descriptors.Descriptor
  2815. getDescriptor() {
  2816. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufRowChangeData_descriptor;
  2817. }
  2818. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  2819. internalGetFieldAccessorTable() {
  2820. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufRowChangeData_fieldAccessorTable;
  2821. }
  2822. // repeated .TungstenProtobuf.ProtobufOneRowChange rowChange = 1;
  2823. public static final int ROWCHANGE_FIELD_NUMBER = 1;
  2824. private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange> rowChange_ =
  2825. java.util.Collections.emptyList();
  2826. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange> getRowChangeList() {
  2827. return rowChange_;
  2828. }
  2829. public int getRowChangeCount() { return rowChange_.size(); }
  2830. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange getRowChange(int index) {
  2831. return rowChange_.get(index);
  2832. }
  2833. // repeated .TungstenProtobuf.ProtobufEventOption options = 2;
  2834. public static final int OPTIONS_FIELD_NUMBER = 2;
  2835. private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> options_ =
  2836. java.util.Collections.emptyList();
  2837. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> getOptionsList() {
  2838. return options_;
  2839. }
  2840. public int getOptionsCount() { return options_.size(); }
  2841. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption getOptions(int index) {
  2842. return options_.get(index);
  2843. }
  2844. private void initFields() {
  2845. }
  2846. public final boolean isInitialized() {
  2847. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange element : getRowChangeList()) {
  2848. if (!element.isInitialized()) return false;
  2849. }
  2850. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getOptionsList()) {
  2851. if (!element.isInitialized()) return false;
  2852. }
  2853. return true;
  2854. }
  2855. public void writeTo(com.google.protobuf.CodedOutputStream output)
  2856. throws java.io.IOException {
  2857. getSerializedSize();
  2858. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange element : getRowChangeList()) {
  2859. output.writeMessage(1, element);
  2860. }
  2861. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getOptionsList()) {
  2862. output.writeMessage(2, element);
  2863. }
  2864. getUnknownFields().writeTo(output);
  2865. }
  2866. private int memoizedSerializedSize = -1;
  2867. public int getSerializedSize() {
  2868. int size = memoizedSerializedSize;
  2869. if (size != -1) return size;
  2870. size = 0;
  2871. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange element : getRowChangeList()) {
  2872. size += com.google.protobuf.CodedOutputStream
  2873. .computeMessageSize(1, element);
  2874. }
  2875. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getOptionsList()) {
  2876. size += com.google.protobuf.CodedOutputStream
  2877. .computeMessageSize(2, element);
  2878. }
  2879. size += getUnknownFields().getSerializedSize();
  2880. memoizedSerializedSize = size;
  2881. return size;
  2882. }
  2883. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData parseFrom(
  2884. com.google.protobuf.ByteString data)
  2885. throws com.google.protobuf.InvalidProtocolBufferException {
  2886. return newBuilder().mergeFrom(data).buildParsed();
  2887. }
  2888. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData parseFrom(
  2889. com.google.protobuf.ByteString data,
  2890. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2891. throws com.google.protobuf.InvalidProtocolBufferException {
  2892. return newBuilder().mergeFrom(data, extensionRegistry)
  2893. .buildParsed();
  2894. }
  2895. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData parseFrom(byte[] data)
  2896. throws com.google.protobuf.InvalidProtocolBufferException {
  2897. return newBuilder().mergeFrom(data).buildParsed();
  2898. }
  2899. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData parseFrom(
  2900. byte[] data,
  2901. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2902. throws com.google.protobuf.InvalidProtocolBufferException {
  2903. return newBuilder().mergeFrom(data, extensionRegistry)
  2904. .buildParsed();
  2905. }
  2906. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData parseFrom(java.io.InputStream input)
  2907. throws java.io.IOException {
  2908. return newBuilder().mergeFrom(input).buildParsed();
  2909. }
  2910. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData parseFrom(
  2911. java.io.InputStream input,
  2912. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2913. throws java.io.IOException {
  2914. return newBuilder().mergeFrom(input, extensionRegistry)
  2915. .buildParsed();
  2916. }
  2917. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData parseDelimitedFrom(java.io.InputStream input)
  2918. throws java.io.IOException {
  2919. Builder builder = newBuilder();
  2920. if (builder.mergeDelimitedFrom(input)) {
  2921. return builder.buildParsed();
  2922. } else {
  2923. return null;
  2924. }
  2925. }
  2926. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData parseDelimitedFrom(
  2927. java.io.InputStream input,
  2928. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2929. throws java.io.IOException {
  2930. Builder builder = newBuilder();
  2931. if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
  2932. return builder.buildParsed();
  2933. } else {
  2934. return null;
  2935. }
  2936. }
  2937. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData parseFrom(
  2938. com.google.protobuf.CodedInputStream input)
  2939. throws java.io.IOException {
  2940. return newBuilder().mergeFrom(input).buildParsed();
  2941. }
  2942. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData parseFrom(
  2943. com.google.protobuf.CodedInputStream input,
  2944. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  2945. throws java.io.IOException {
  2946. return newBuilder().mergeFrom(input, extensionRegistry)
  2947. .buildParsed();
  2948. }
  2949. public static Builder newBuilder() { return Builder.create(); }
  2950. public Builder newBuilderForType() { return newBuilder(); }
  2951. public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData prototype) {
  2952. return newBuilder().mergeFrom(prototype);
  2953. }
  2954. public Builder toBuilder() { return newBuilder(this); }
  2955. public static final class Builder extends
  2956. com.google.protobuf.GeneratedMessage.Builder<Builder> {
  2957. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData result;
  2958. // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.newBuilder()
  2959. private Builder() {}
  2960. private static Builder create() {
  2961. Builder builder = new Builder();
  2962. builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData();
  2963. return builder;
  2964. }
  2965. protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData internalGetResult() {
  2966. return result;
  2967. }
  2968. public Builder clear() {
  2969. if (result == null) {
  2970. throw new IllegalStateException(
  2971. "Cannot call clear() after build().");
  2972. }
  2973. result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData();
  2974. return this;
  2975. }
  2976. public Builder clone() {
  2977. return create().mergeFrom(result);
  2978. }
  2979. public com.google.protobuf.Descriptors.Descriptor
  2980. getDescriptorForType() {
  2981. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.getDescriptor();
  2982. }
  2983. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData getDefaultInstanceForType() {
  2984. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.getDefaultInstance();
  2985. }
  2986. public boolean isInitialized() {
  2987. return result.isInitialized();
  2988. }
  2989. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData build() {
  2990. if (result != null && !isInitialized()) {
  2991. throw newUninitializedMessageException(result);
  2992. }
  2993. return buildPartial();
  2994. }
  2995. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData buildParsed()
  2996. throws com.google.protobuf.InvalidProtocolBufferException {
  2997. if (!isInitialized()) {
  2998. throw newUninitializedMessageException(
  2999. result).asInvalidProtocolBufferException();
  3000. }
  3001. return buildPartial();
  3002. }
  3003. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData buildPartial() {
  3004. if (result == null) {
  3005. throw new IllegalStateException(
  3006. "build() has already been called on this Builder.");
  3007. }
  3008. if (result.rowChange_ != java.util.Collections.EMPTY_LIST) {
  3009. result.rowChange_ =
  3010. java.util.Collections.unmodifiableList(result.rowChange_);
  3011. }
  3012. if (result.options_ != java.util.Collections.EMPTY_LIST) {
  3013. result.options_ =
  3014. java.util.Collections.unmodifiableList(result.options_);
  3015. }
  3016. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData returnMe = result;
  3017. result = null;
  3018. return returnMe;
  3019. }
  3020. public Builder mergeFrom(com.google.protobuf.Message other) {
  3021. if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData) {
  3022. return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData)other);
  3023. } else {
  3024. super.mergeFrom(other);
  3025. return this;
  3026. }
  3027. }
  3028. public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData other) {
  3029. if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.getDefaultInstance()) return this;
  3030. if (!other.rowChange_.isEmpty()) {
  3031. if (result.rowChange_.isEmpty()) {
  3032. result.rowChange_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange>();
  3033. }
  3034. result.rowChange_.addAll(other.rowChange_);
  3035. }
  3036. if (!other.options_.isEmpty()) {
  3037. if (result.options_.isEmpty()) {
  3038. result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
  3039. }
  3040. result.options_.addAll(other.options_);
  3041. }
  3042. this.mergeUnknownFields(other.getUnknownFields());
  3043. return this;
  3044. }
  3045. public Builder mergeFrom(
  3046. com.google.protobuf.CodedInputStream input,
  3047. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  3048. throws java.io.IOException {
  3049. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  3050. com.google.protobuf.UnknownFieldSet.newBuilder(
  3051. this.getUnknownFields());
  3052. while (true) {
  3053. int tag = input.readTag();
  3054. switch (tag) {
  3055. case 0:
  3056. this.setUnknownFields(unknownFields.build());
  3057. return this;
  3058. default: {
  3059. if (!parseUnknownField(input, unknownFields,
  3060. extensionRegistry, tag)) {
  3061. this.setUnknownFields(unknownFields.build());
  3062. return this;
  3063. }
  3064. break;
  3065. }
  3066. case 10: {
  3067. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.newBuilder();
  3068. input.readMessage(subBuilder, extensionRegistry);
  3069. addRowChange(subBuilder.buildPartial());
  3070. break;
  3071. }
  3072. case 18: {
  3073. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.newBuilder();
  3074. input.readMessage(subBuilder, extensionRegistry);
  3075. addOptions(subBuilder.buildPartial());
  3076. break;
  3077. }
  3078. }
  3079. }
  3080. }
  3081. // repeated .TungstenProtobuf.ProtobufOneRowChange rowChange = 1;
  3082. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange> getRowChangeList() {
  3083. return java.util.Collections.unmodifiableList(result.rowChange_);
  3084. }
  3085. public int getRowChangeCount() {
  3086. return result.getRowChangeCount();
  3087. }
  3088. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange getRowChange(int index) {
  3089. return result.getRowChange(index);
  3090. }
  3091. public Builder setRowChange(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange value) {
  3092. if (value == null) {
  3093. throw new NullPointerException();
  3094. }
  3095. result.rowChange_.set(index, value);
  3096. return this;
  3097. }
  3098. public Builder setRowChange(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.Builder builderForValue) {
  3099. result.rowChange_.set(index, builderForValue.build());
  3100. return this;
  3101. }
  3102. public Builder addRowChange(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange value) {
  3103. if (value == null) {
  3104. throw new NullPointerException();
  3105. }
  3106. if (result.rowChange_.isEmpty()) {
  3107. result.rowChange_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange>();
  3108. }
  3109. result.rowChange_.add(value);
  3110. return this;
  3111. }
  3112. public Builder addRowChange(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.Builder builderForValue) {
  3113. if (result.rowChange_.isEmpty()) {
  3114. result.rowChange_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange>();
  3115. }
  3116. result.rowChange_.add(builderForValue.build());
  3117. return this;
  3118. }
  3119. public Builder addAllRowChange(
  3120. java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange> values) {
  3121. if (result.rowChange_.isEmpty()) {
  3122. result.rowChange_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange>();
  3123. }
  3124. super.addAll(values, result.rowChange_);
  3125. return this;
  3126. }
  3127. public Builder clearRowChange() {
  3128. result.rowChange_ = java.util.Collections.emptyList();
  3129. return this;
  3130. }
  3131. // repeated .TungstenProtobuf.ProtobufEventOption options = 2;
  3132. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> getOptionsList() {
  3133. return java.util.Collections.unmodifiableList(result.options_);
  3134. }
  3135. public int getOptionsCount() {
  3136. return result.getOptionsCount();
  3137. }
  3138. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption getOptions(int index) {
  3139. return result.getOptions(index);
  3140. }
  3141. public Builder setOptions(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption value) {
  3142. if (value == null) {
  3143. throw new NullPointerException();
  3144. }
  3145. result.options_.set(index, value);
  3146. return this;
  3147. }
  3148. public Builder setOptions(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder builderForValue) {
  3149. result.options_.set(index, builderForValue.build());
  3150. return this;
  3151. }
  3152. public Builder addOptions(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption value) {
  3153. if (value == null) {
  3154. throw new NullPointerException();
  3155. }
  3156. if (result.options_.isEmpty()) {
  3157. result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
  3158. }
  3159. result.options_.add(value);
  3160. return this;
  3161. }
  3162. public Builder addOptions(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder builderForValue) {
  3163. if (result.options_.isEmpty()) {
  3164. result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
  3165. }
  3166. result.options_.add(builderForValue.build());
  3167. return this;
  3168. }
  3169. public Builder addAllOptions(
  3170. java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> values) {
  3171. if (result.options_.isEmpty()) {
  3172. result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
  3173. }
  3174. super.addAll(values, result.options_);
  3175. return this;
  3176. }
  3177. public Builder clearOptions() {
  3178. result.options_ = java.util.Collections.emptyList();
  3179. return this;
  3180. }
  3181. // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufRowChangeData)
  3182. }
  3183. static {
  3184. defaultInstance = new ProtobufRowChangeData(true);
  3185. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
  3186. defaultInstance.initFields();
  3187. }
  3188. // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufRowChangeData)
  3189. }
  3190. public static final class ProtobufOneChange extends
  3191. com.google.protobuf.GeneratedMessage {
  3192. // Use ProtobufOneChange.newBuilder() to construct.
  3193. private ProtobufOneChange() {
  3194. initFields();
  3195. }
  3196. private ProtobufOneChange(boolean noInit) {}
  3197. private static final ProtobufOneChange defaultInstance;
  3198. public static ProtobufOneChange getDefaultInstance() {
  3199. return defaultInstance;
  3200. }
  3201. public ProtobufOneChange getDefaultInstanceForType() {
  3202. return defaultInstance;
  3203. }
  3204. public static final com.google.protobuf.Descriptors.Descriptor
  3205. getDescriptor() {
  3206. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufOneChange_descriptor;
  3207. }
  3208. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  3209. internalGetFieldAccessorTable() {
  3210. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufOneChange_fieldAccessorTable;
  3211. }
  3212. public enum Type
  3213. implements com.google.protobuf.ProtocolMessageEnum {
  3214. ROW_DATA(0, 1),
  3215. STATEMENT_DATA(1, 2),
  3216. ROW_ID_DATA(2, 3),
  3217. LOAD_DATA_FILE_FRAGMENT(3, 4),
  3218. LOAD_DATA_FILE_QUERY(4, 5),
  3219. LOAD_DATA_FILE_DELETE(5, 6),
  3220. ;
  3221. public final int getNumber() { return value; }
  3222. public static Type valueOf(int value) {
  3223. switch (value) {
  3224. case 1: return ROW_DATA;
  3225. case 2: return STATEMENT_DATA;
  3226. case 3: return ROW_ID_DATA;
  3227. case 4: return LOAD_DATA_FILE_FRAGMENT;
  3228. case 5: return LOAD_DATA_FILE_QUERY;
  3229. case 6: return LOAD_DATA_FILE_DELETE;
  3230. default: return null;
  3231. }
  3232. }
  3233. public static com.google.protobuf.Internal.EnumLiteMap<Type>
  3234. internalGetValueMap() {
  3235. return internalValueMap;
  3236. }
  3237. private static com.google.protobuf.Internal.EnumLiteMap<Type>
  3238. internalValueMap =
  3239. new com.google.protobuf.Internal.EnumLiteMap<Type>() {
  3240. public Type findValueByNumber(int number) {
  3241. return Type.valueOf(number)
  3242. ; }
  3243. };
  3244. public final com.google.protobuf.Descriptors.EnumValueDescriptor
  3245. getValueDescriptor() {
  3246. return getDescriptor().getValues().get(index);
  3247. }
  3248. public final com.google.protobuf.Descriptors.EnumDescriptor
  3249. getDescriptorForType() {
  3250. return getDescriptor();
  3251. }
  3252. public static final com.google.protobuf.Descriptors.EnumDescriptor
  3253. getDescriptor() {
  3254. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.getDescriptor().getEnumTypes().get(0);
  3255. }
  3256. private static final Type[] VALUES = {
  3257. ROW_DATA, STATEMENT_DATA, ROW_ID_DATA, LOAD_DATA_FILE_FRAGMENT, LOAD_DATA_FILE_QUERY, LOAD_DATA_FILE_DELETE,
  3258. };
  3259. public static Type valueOf(
  3260. com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
  3261. if (desc.getType() != getDescriptor()) {
  3262. throw new java.lang.IllegalArgumentException(
  3263. "EnumValueDescriptor is not for this type.");
  3264. }
  3265. return VALUES[desc.getIndex()];
  3266. }
  3267. private final int index;
  3268. private final int value;
  3269. private Type(int index, int value) {
  3270. this.index = index;
  3271. this.value = value;
  3272. }
  3273. static {
  3274. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.getDescriptor();
  3275. }
  3276. // @@protoc_insertion_point(enum_scope:TungstenProtobuf.ProtobufOneChange.Type)
  3277. }
  3278. // required .TungstenProtobuf.ProtobufOneChange.Type type = 1;
  3279. public static final int TYPE_FIELD_NUMBER = 1;
  3280. private boolean hasType;
  3281. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Type type_;
  3282. public boolean hasType() { return hasType; }
  3283. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Type getType() { return type_; }
  3284. // optional .TungstenProtobuf.ProtobufRowChangeData data = 2;
  3285. public static final int DATA_FIELD_NUMBER = 2;
  3286. private boolean hasData;
  3287. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData data_;
  3288. public boolean hasData() { return hasData; }
  3289. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData getData() { return data_; }
  3290. // optional .TungstenProtobuf.ProtobufStatementData statement = 3;
  3291. public static final int STATEMENT_FIELD_NUMBER = 3;
  3292. private boolean hasStatement;
  3293. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData statement_;
  3294. public boolean hasStatement() { return hasStatement; }
  3295. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData getStatement() { return statement_; }
  3296. // optional .TungstenProtobuf.ProtobufRowIdData rowId = 4;
  3297. public static final int ROWID_FIELD_NUMBER = 4;
  3298. private boolean hasRowId;
  3299. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData rowId_;
  3300. public boolean hasRowId() { return hasRowId; }
  3301. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData getRowId() { return rowId_; }
  3302. // optional .TungstenProtobuf.ProtobufLoadDataFileFragment fileFragment = 5;
  3303. public static final int FILEFRAGMENT_FIELD_NUMBER = 5;
  3304. private boolean hasFileFragment;
  3305. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment fileFragment_;
  3306. public boolean hasFileFragment() { return hasFileFragment; }
  3307. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment getFileFragment() { return fileFragment_; }
  3308. // optional .TungstenProtobuf.ProtobufLoadDataFileQuery fileQuery = 6;
  3309. public static final int FILEQUERY_FIELD_NUMBER = 6;
  3310. private boolean hasFileQuery;
  3311. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery fileQuery_;
  3312. public boolean hasFileQuery() { return hasFileQuery; }
  3313. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery getFileQuery() { return fileQuery_; }
  3314. // optional .TungstenProtobuf.ProtobufLoadDataFileDelete fileDelete = 7;
  3315. public static final int FILEDELETE_FIELD_NUMBER = 7;
  3316. private boolean hasFileDelete;
  3317. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete fileDelete_;
  3318. public boolean hasFileDelete() { return hasFileDelete; }
  3319. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete getFileDelete() { return fileDelete_; }
  3320. private void initFields() {
  3321. type_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Type.ROW_DATA;
  3322. data_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.getDefaultInstance();
  3323. statement_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.getDefaultInstance();
  3324. rowId_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.getDefaultInstance();
  3325. fileFragment_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.getDefaultInstance();
  3326. fileQuery_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.getDefaultInstance();
  3327. fileDelete_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.getDefaultInstance();
  3328. }
  3329. public final boolean isInitialized() {
  3330. if (!hasType) return false;
  3331. if (hasData()) {
  3332. if (!getData().isInitialized()) return false;
  3333. }
  3334. if (hasStatement()) {
  3335. if (!getStatement().isInitialized()) return false;
  3336. }
  3337. if (hasRowId()) {
  3338. if (!getRowId().isInitialized()) return false;
  3339. }
  3340. if (hasFileFragment()) {
  3341. if (!getFileFragment().isInitialized()) return false;
  3342. }
  3343. if (hasFileQuery()) {
  3344. if (!getFileQuery().isInitialized()) return false;
  3345. }
  3346. if (hasFileDelete()) {
  3347. if (!getFileDelete().isInitialized()) return false;
  3348. }
  3349. return true;
  3350. }
  3351. public void writeTo(com.google.protobuf.CodedOutputStream output)
  3352. throws java.io.IOException {
  3353. getSerializedSize();
  3354. if (hasType()) {
  3355. output.writeEnum(1, getType().getNumber());
  3356. }
  3357. if (hasData()) {
  3358. output.writeMessage(2, getData());
  3359. }
  3360. if (hasStatement()) {
  3361. output.writeMessage(3, getStatement());
  3362. }
  3363. if (hasRowId()) {
  3364. output.writeMessage(4, getRowId());
  3365. }
  3366. if (hasFileFragment()) {
  3367. output.writeMessage(5, getFileFragment());
  3368. }
  3369. if (hasFileQuery()) {
  3370. output.writeMessage(6, getFileQuery());
  3371. }
  3372. if (hasFileDelete()) {
  3373. output.writeMessage(7, getFileDelete());
  3374. }
  3375. getUnknownFields().writeTo(output);
  3376. }
  3377. private int memoizedSerializedSize = -1;
  3378. public int getSerializedSize() {
  3379. int size = memoizedSerializedSize;
  3380. if (size != -1) return size;
  3381. size = 0;
  3382. if (hasType()) {
  3383. size += com.google.protobuf.CodedOutputStream
  3384. .computeEnumSize(1, getType().getNumber());
  3385. }
  3386. if (hasData()) {
  3387. size += com.google.protobuf.CodedOutputStream
  3388. .computeMessageSize(2, getData());
  3389. }
  3390. if (hasStatement()) {
  3391. size += com.google.protobuf.CodedOutputStream
  3392. .computeMessageSize(3, getStatement());
  3393. }
  3394. if (hasRowId()) {
  3395. size += com.google.protobuf.CodedOutputStream
  3396. .computeMessageSize(4, getRowId());
  3397. }
  3398. if (hasFileFragment()) {
  3399. size += com.google.protobuf.CodedOutputStream
  3400. .computeMessageSize(5, getFileFragment());
  3401. }
  3402. if (hasFileQuery()) {
  3403. size += com.google.protobuf.CodedOutputStream
  3404. .computeMessageSize(6, getFileQuery());
  3405. }
  3406. if (hasFileDelete()) {
  3407. size += com.google.protobuf.CodedOutputStream
  3408. .computeMessageSize(7, getFileDelete());
  3409. }
  3410. size += getUnknownFields().getSerializedSize();
  3411. memoizedSerializedSize = size;
  3412. return size;
  3413. }
  3414. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange parseFrom(
  3415. com.google.protobuf.ByteString data)
  3416. throws com.google.protobuf.InvalidProtocolBufferException {
  3417. return newBuilder().mergeFrom(data).buildParsed();
  3418. }
  3419. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange parseFrom(
  3420. com.google.protobuf.ByteString data,
  3421. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  3422. throws com.google.protobuf.InvalidProtocolBufferException {
  3423. return newBuilder().mergeFrom(data, extensionRegistry)
  3424. .buildParsed();
  3425. }
  3426. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange parseFrom(byte[] data)
  3427. throws com.google.protobuf.InvalidProtocolBufferException {
  3428. return newBuilder().mergeFrom(data).buildParsed();
  3429. }
  3430. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange parseFrom(
  3431. byte[] data,
  3432. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  3433. throws com.google.protobuf.InvalidProtocolBufferException {
  3434. return newBuilder().mergeFrom(data, extensionRegistry)
  3435. .buildParsed();
  3436. }
  3437. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange parseFrom(java.io.InputStream input)
  3438. throws java.io.IOException {
  3439. return newBuilder().mergeFrom(input).buildParsed();
  3440. }
  3441. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange parseFrom(
  3442. java.io.InputStream input,
  3443. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  3444. throws java.io.IOException {
  3445. return newBuilder().mergeFrom(input, extensionRegistry)
  3446. .buildParsed();
  3447. }
  3448. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange parseDelimitedFrom(java.io.InputStream input)
  3449. throws java.io.IOException {
  3450. Builder builder = newBuilder();
  3451. if (builder.mergeDelimitedFrom(input)) {
  3452. return builder.buildParsed();
  3453. } else {
  3454. return null;
  3455. }
  3456. }
  3457. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange parseDelimitedFrom(
  3458. java.io.InputStream input,
  3459. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  3460. throws java.io.IOException {
  3461. Builder builder = newBuilder();
  3462. if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
  3463. return builder.buildParsed();
  3464. } else {
  3465. return null;
  3466. }
  3467. }
  3468. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange parseFrom(
  3469. com.google.protobuf.CodedInputStream input)
  3470. throws java.io.IOException {
  3471. return newBuilder().mergeFrom(input).buildParsed();
  3472. }
  3473. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange parseFrom(
  3474. com.google.protobuf.CodedInputStream input,
  3475. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  3476. throws java.io.IOException {
  3477. return newBuilder().mergeFrom(input, extensionRegistry)
  3478. .buildParsed();
  3479. }
  3480. public static Builder newBuilder() { return Builder.create(); }
  3481. public Builder newBuilderForType() { return newBuilder(); }
  3482. public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange prototype) {
  3483. return newBuilder().mergeFrom(prototype);
  3484. }
  3485. public Builder toBuilder() { return newBuilder(this); }
  3486. public static final class Builder extends
  3487. com.google.protobuf.GeneratedMessage.Builder<Builder> {
  3488. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange result;
  3489. // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.newBuilder()
  3490. private Builder() {}
  3491. private static Builder create() {
  3492. Builder builder = new Builder();
  3493. builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange();
  3494. return builder;
  3495. }
  3496. protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange internalGetResult() {
  3497. return result;
  3498. }
  3499. public Builder clear() {
  3500. if (result == null) {
  3501. throw new IllegalStateException(
  3502. "Cannot call clear() after build().");
  3503. }
  3504. result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange();
  3505. return this;
  3506. }
  3507. public Builder clone() {
  3508. return create().mergeFrom(result);
  3509. }
  3510. public com.google.protobuf.Descriptors.Descriptor
  3511. getDescriptorForType() {
  3512. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.getDescriptor();
  3513. }
  3514. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange getDefaultInstanceForType() {
  3515. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.getDefaultInstance();
  3516. }
  3517. public boolean isInitialized() {
  3518. return result.isInitialized();
  3519. }
  3520. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange build() {
  3521. if (result != null && !isInitialized()) {
  3522. throw newUninitializedMessageException(result);
  3523. }
  3524. return buildPartial();
  3525. }
  3526. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange buildParsed()
  3527. throws com.google.protobuf.InvalidProtocolBufferException {
  3528. if (!isInitialized()) {
  3529. throw newUninitializedMessageException(
  3530. result).asInvalidProtocolBufferException();
  3531. }
  3532. return buildPartial();
  3533. }
  3534. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange buildPartial() {
  3535. if (result == null) {
  3536. throw new IllegalStateException(
  3537. "build() has already been called on this Builder.");
  3538. }
  3539. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange returnMe = result;
  3540. result = null;
  3541. return returnMe;
  3542. }
  3543. public Builder mergeFrom(com.google.protobuf.Message other) {
  3544. if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange) {
  3545. return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange)other);
  3546. } else {
  3547. super.mergeFrom(other);
  3548. return this;
  3549. }
  3550. }
  3551. public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange other) {
  3552. if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.getDefaultInstance()) return this;
  3553. if (other.hasType()) {
  3554. setType(other.getType());
  3555. }
  3556. if (other.hasData()) {
  3557. mergeData(other.getData());
  3558. }
  3559. if (other.hasStatement()) {
  3560. mergeStatement(other.getStatement());
  3561. }
  3562. if (other.hasRowId()) {
  3563. mergeRowId(other.getRowId());
  3564. }
  3565. if (other.hasFileFragment()) {
  3566. mergeFileFragment(other.getFileFragment());
  3567. }
  3568. if (other.hasFileQuery()) {
  3569. mergeFileQuery(other.getFileQuery());
  3570. }
  3571. if (other.hasFileDelete()) {
  3572. mergeFileDelete(other.getFileDelete());
  3573. }
  3574. this.mergeUnknownFields(other.getUnknownFields());
  3575. return this;
  3576. }
  3577. public Builder mergeFrom(
  3578. com.google.protobuf.CodedInputStream input,
  3579. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  3580. throws java.io.IOException {
  3581. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  3582. com.google.protobuf.UnknownFieldSet.newBuilder(
  3583. this.getUnknownFields());
  3584. while (true) {
  3585. int tag = input.readTag();
  3586. switch (tag) {
  3587. case 0:
  3588. this.setUnknownFields(unknownFields.build());
  3589. return this;
  3590. default: {
  3591. if (!parseUnknownField(input, unknownFields,
  3592. extensionRegistry, tag)) {
  3593. this.setUnknownFields(unknownFields.build());
  3594. return this;
  3595. }
  3596. break;
  3597. }
  3598. case 8: {
  3599. int rawValue = input.readEnum();
  3600. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Type value = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Type.valueOf(rawValue);
  3601. if (value == null) {
  3602. unknownFields.mergeVarintField(1, rawValue);
  3603. } else {
  3604. setType(value);
  3605. }
  3606. break;
  3607. }
  3608. case 18: {
  3609. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.newBuilder();
  3610. if (hasData()) {
  3611. subBuilder.mergeFrom(getData());
  3612. }
  3613. input.readMessage(subBuilder, extensionRegistry);
  3614. setData(subBuilder.buildPartial());
  3615. break;
  3616. }
  3617. case 26: {
  3618. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.newBuilder();
  3619. if (hasStatement()) {
  3620. subBuilder.mergeFrom(getStatement());
  3621. }
  3622. input.readMessage(subBuilder, extensionRegistry);
  3623. setStatement(subBuilder.buildPartial());
  3624. break;
  3625. }
  3626. case 34: {
  3627. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.newBuilder();
  3628. if (hasRowId()) {
  3629. subBuilder.mergeFrom(getRowId());
  3630. }
  3631. input.readMessage(subBuilder, extensionRegistry);
  3632. setRowId(subBuilder.buildPartial());
  3633. break;
  3634. }
  3635. case 42: {
  3636. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.newBuilder();
  3637. if (hasFileFragment()) {
  3638. subBuilder.mergeFrom(getFileFragment());
  3639. }
  3640. input.readMessage(subBuilder, extensionRegistry);
  3641. setFileFragment(subBuilder.buildPartial());
  3642. break;
  3643. }
  3644. case 50: {
  3645. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.newBuilder();
  3646. if (hasFileQuery()) {
  3647. subBuilder.mergeFrom(getFileQuery());
  3648. }
  3649. input.readMessage(subBuilder, extensionRegistry);
  3650. setFileQuery(subBuilder.buildPartial());
  3651. break;
  3652. }
  3653. case 58: {
  3654. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.newBuilder();
  3655. if (hasFileDelete()) {
  3656. subBuilder.mergeFrom(getFileDelete());
  3657. }
  3658. input.readMessage(subBuilder, extensionRegistry);
  3659. setFileDelete(subBuilder.buildPartial());
  3660. break;
  3661. }
  3662. }
  3663. }
  3664. }
  3665. // required .TungstenProtobuf.ProtobufOneChange.Type type = 1;
  3666. public boolean hasType() {
  3667. return result.hasType();
  3668. }
  3669. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Type getType() {
  3670. return result.getType();
  3671. }
  3672. public Builder setType(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Type value) {
  3673. if (value == null) {
  3674. throw new NullPointerException();
  3675. }
  3676. result.hasType = true;
  3677. result.type_ = value;
  3678. return this;
  3679. }
  3680. public Builder clearType() {
  3681. result.hasType = false;
  3682. result.type_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Type.ROW_DATA;
  3683. return this;
  3684. }
  3685. // optional .TungstenProtobuf.ProtobufRowChangeData data = 2;
  3686. public boolean hasData() {
  3687. return result.hasData();
  3688. }
  3689. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData getData() {
  3690. return result.getData();
  3691. }
  3692. public Builder setData(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData value) {
  3693. if (value == null) {
  3694. throw new NullPointerException();
  3695. }
  3696. result.hasData = true;
  3697. result.data_ = value;
  3698. return this;
  3699. }
  3700. public Builder setData(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.Builder builderForValue) {
  3701. result.hasData = true;
  3702. result.data_ = builderForValue.build();
  3703. return this;
  3704. }
  3705. public Builder mergeData(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData value) {
  3706. if (result.hasData() &&
  3707. result.data_ != com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.getDefaultInstance()) {
  3708. result.data_ =
  3709. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.newBuilder(result.data_).mergeFrom(value).buildPartial();
  3710. } else {
  3711. result.data_ = value;
  3712. }
  3713. result.hasData = true;
  3714. return this;
  3715. }
  3716. public Builder clearData() {
  3717. result.hasData = false;
  3718. result.data_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.getDefaultInstance();
  3719. return this;
  3720. }
  3721. // optional .TungstenProtobuf.ProtobufStatementData statement = 3;
  3722. public boolean hasStatement() {
  3723. return result.hasStatement();
  3724. }
  3725. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData getStatement() {
  3726. return result.getStatement();
  3727. }
  3728. public Builder setStatement(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData value) {
  3729. if (value == null) {
  3730. throw new NullPointerException();
  3731. }
  3732. result.hasStatement = true;
  3733. result.statement_ = value;
  3734. return this;
  3735. }
  3736. public Builder setStatement(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.Builder builderForValue) {
  3737. result.hasStatement = true;
  3738. result.statement_ = builderForValue.build();
  3739. return this;
  3740. }
  3741. public Builder mergeStatement(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData value) {
  3742. if (result.hasStatement() &&
  3743. result.statement_ != com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.getDefaultInstance()) {
  3744. result.statement_ =
  3745. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.newBuilder(result.statement_).mergeFrom(value).buildPartial();
  3746. } else {
  3747. result.statement_ = value;
  3748. }
  3749. result.hasStatement = true;
  3750. return this;
  3751. }
  3752. public Builder clearStatement() {
  3753. result.hasStatement = false;
  3754. result.statement_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.getDefaultInstance();
  3755. return this;
  3756. }
  3757. // optional .TungstenProtobuf.ProtobufRowIdData rowId = 4;
  3758. public boolean hasRowId() {
  3759. return result.hasRowId();
  3760. }
  3761. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData getRowId() {
  3762. return result.getRowId();
  3763. }
  3764. public Builder setRowId(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData value) {
  3765. if (value == null) {
  3766. throw new NullPointerException();
  3767. }
  3768. result.hasRowId = true;
  3769. result.rowId_ = value;
  3770. return this;
  3771. }
  3772. public Builder setRowId(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.Builder builderForValue) {
  3773. result.hasRowId = true;
  3774. result.rowId_ = builderForValue.build();
  3775. return this;
  3776. }
  3777. public Builder mergeRowId(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData value) {
  3778. if (result.hasRowId() &&
  3779. result.rowId_ != com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.getDefaultInstance()) {
  3780. result.rowId_ =
  3781. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.newBuilder(result.rowId_).mergeFrom(value).buildPartial();
  3782. } else {
  3783. result.rowId_ = value;
  3784. }
  3785. result.hasRowId = true;
  3786. return this;
  3787. }
  3788. public Builder clearRowId() {
  3789. result.hasRowId = false;
  3790. result.rowId_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.getDefaultInstance();
  3791. return this;
  3792. }
  3793. // optional .TungstenProtobuf.ProtobufLoadDataFileFragment fileFragment = 5;
  3794. public boolean hasFileFragment() {
  3795. return result.hasFileFragment();
  3796. }
  3797. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment getFileFragment() {
  3798. return result.getFileFragment();
  3799. }
  3800. public Builder setFileFragment(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment value) {
  3801. if (value == null) {
  3802. throw new NullPointerException();
  3803. }
  3804. result.hasFileFragment = true;
  3805. result.fileFragment_ = value;
  3806. return this;
  3807. }
  3808. public Builder setFileFragment(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.Builder builderForValue) {
  3809. result.hasFileFragment = true;
  3810. result.fileFragment_ = builderForValue.build();
  3811. return this;
  3812. }
  3813. public Builder mergeFileFragment(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment value) {
  3814. if (result.hasFileFragment() &&
  3815. result.fileFragment_ != com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.getDefaultInstance()) {
  3816. result.fileFragment_ =
  3817. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.newBuilder(result.fileFragment_).mergeFrom(value).buildPartial();
  3818. } else {
  3819. result.fileFragment_ = value;
  3820. }
  3821. result.hasFileFragment = true;
  3822. return this;
  3823. }
  3824. public Builder clearFileFragment() {
  3825. result.hasFileFragment = false;
  3826. result.fileFragment_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.getDefaultInstance();
  3827. return this;
  3828. }
  3829. // optional .TungstenProtobuf.ProtobufLoadDataFileQuery fileQuery = 6;
  3830. public boolean hasFileQuery() {
  3831. return result.hasFileQuery();
  3832. }
  3833. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery getFileQuery() {
  3834. return result.getFileQuery();
  3835. }
  3836. public Builder setFileQuery(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery value) {
  3837. if (value == null) {
  3838. throw new NullPointerException();
  3839. }
  3840. result.hasFileQuery = true;
  3841. result.fileQuery_ = value;
  3842. return this;
  3843. }
  3844. public Builder setFileQuery(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.Builder builderForValue) {
  3845. result.hasFileQuery = true;
  3846. result.fileQuery_ = builderForValue.build();
  3847. return this;
  3848. }
  3849. public Builder mergeFileQuery(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery value) {
  3850. if (result.hasFileQuery() &&
  3851. result.fileQuery_ != com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.getDefaultInstance()) {
  3852. result.fileQuery_ =
  3853. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.newBuilder(result.fileQuery_).mergeFrom(value).buildPartial();
  3854. } else {
  3855. result.fileQuery_ = value;
  3856. }
  3857. result.hasFileQuery = true;
  3858. return this;
  3859. }
  3860. public Builder clearFileQuery() {
  3861. result.hasFileQuery = false;
  3862. result.fileQuery_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.getDefaultInstance();
  3863. return this;
  3864. }
  3865. // optional .TungstenProtobuf.ProtobufLoadDataFileDelete fileDelete = 7;
  3866. public boolean hasFileDelete() {
  3867. return result.hasFileDelete();
  3868. }
  3869. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete getFileDelete() {
  3870. return result.getFileDelete();
  3871. }
  3872. public Builder setFileDelete(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete value) {
  3873. if (value == null) {
  3874. throw new NullPointerException();
  3875. }
  3876. result.hasFileDelete = true;
  3877. result.fileDelete_ = value;
  3878. return this;
  3879. }
  3880. public Builder setFileDelete(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.Builder builderForValue) {
  3881. result.hasFileDelete = true;
  3882. result.fileDelete_ = builderForValue.build();
  3883. return this;
  3884. }
  3885. public Builder mergeFileDelete(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete value) {
  3886. if (result.hasFileDelete() &&
  3887. result.fileDelete_ != com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.getDefaultInstance()) {
  3888. result.fileDelete_ =
  3889. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.newBuilder(result.fileDelete_).mergeFrom(value).buildPartial();
  3890. } else {
  3891. result.fileDelete_ = value;
  3892. }
  3893. result.hasFileDelete = true;
  3894. return this;
  3895. }
  3896. public Builder clearFileDelete() {
  3897. result.hasFileDelete = false;
  3898. result.fileDelete_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.getDefaultInstance();
  3899. return this;
  3900. }
  3901. // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufOneChange)
  3902. }
  3903. static {
  3904. defaultInstance = new ProtobufOneChange(true);
  3905. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
  3906. defaultInstance.initFields();
  3907. }
  3908. // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufOneChange)
  3909. }
  3910. public static final class ProtobufReplDBMSEvent extends
  3911. com.google.protobuf.GeneratedMessage {
  3912. // Use ProtobufReplDBMSEvent.newBuilder() to construct.
  3913. private ProtobufReplDBMSEvent() {
  3914. initFields();
  3915. }
  3916. private ProtobufReplDBMSEvent(boolean noInit) {}
  3917. private static final ProtobufReplDBMSEvent defaultInstance;
  3918. public static ProtobufReplDBMSEvent getDefaultInstance() {
  3919. return defaultInstance;
  3920. }
  3921. public ProtobufReplDBMSEvent getDefaultInstanceForType() {
  3922. return defaultInstance;
  3923. }
  3924. public static final com.google.protobuf.Descriptors.Descriptor
  3925. getDescriptor() {
  3926. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufReplDBMSEvent_descriptor;
  3927. }
  3928. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  3929. internalGetFieldAccessorTable() {
  3930. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufReplDBMSEvent_fieldAccessorTable;
  3931. }
  3932. // repeated .TungstenProtobuf.ProtobufOneChange change = 1;
  3933. public static final int CHANGE_FIELD_NUMBER = 1;
  3934. private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange> change_ =
  3935. java.util.Collections.emptyList();
  3936. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange> getChangeList() {
  3937. return change_;
  3938. }
  3939. public int getChangeCount() { return change_.size(); }
  3940. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange getChange(int index) {
  3941. return change_.get(index);
  3942. }
  3943. // repeated .TungstenProtobuf.ProtobufEventOption metadata = 2;
  3944. public static final int METADATA_FIELD_NUMBER = 2;
  3945. private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> metadata_ =
  3946. java.util.Collections.emptyList();
  3947. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> getMetadataList() {
  3948. return metadata_;
  3949. }
  3950. public int getMetadataCount() { return metadata_.size(); }
  3951. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption getMetadata(int index) {
  3952. return metadata_.get(index);
  3953. }
  3954. // repeated .TungstenProtobuf.ProtobufEventOption options = 3;
  3955. public static final int OPTIONS_FIELD_NUMBER = 3;
  3956. private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> options_ =
  3957. java.util.Collections.emptyList();
  3958. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> getOptionsList() {
  3959. return options_;
  3960. }
  3961. public int getOptionsCount() { return options_.size(); }
  3962. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption getOptions(int index) {
  3963. return options_.get(index);
  3964. }
  3965. private void initFields() {
  3966. }
  3967. public final boolean isInitialized() {
  3968. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange element : getChangeList()) {
  3969. if (!element.isInitialized()) return false;
  3970. }
  3971. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getMetadataList()) {
  3972. if (!element.isInitialized()) return false;
  3973. }
  3974. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getOptionsList()) {
  3975. if (!element.isInitialized()) return false;
  3976. }
  3977. return true;
  3978. }
  3979. public void writeTo(com.google.protobuf.CodedOutputStream output)
  3980. throws java.io.IOException {
  3981. getSerializedSize();
  3982. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange element : getChangeList()) {
  3983. output.writeMessage(1, element);
  3984. }
  3985. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getMetadataList()) {
  3986. output.writeMessage(2, element);
  3987. }
  3988. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getOptionsList()) {
  3989. output.writeMessage(3, element);
  3990. }
  3991. getUnknownFields().writeTo(output);
  3992. }
  3993. private int memoizedSerializedSize = -1;
  3994. public int getSerializedSize() {
  3995. int size = memoizedSerializedSize;
  3996. if (size != -1) return size;
  3997. size = 0;
  3998. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange element : getChangeList()) {
  3999. size += com.google.protobuf.CodedOutputStream
  4000. .computeMessageSize(1, element);
  4001. }
  4002. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getMetadataList()) {
  4003. size += com.google.protobuf.CodedOutputStream
  4004. .computeMessageSize(2, element);
  4005. }
  4006. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getOptionsList()) {
  4007. size += com.google.protobuf.CodedOutputStream
  4008. .computeMessageSize(3, element);
  4009. }
  4010. size += getUnknownFields().getSerializedSize();
  4011. memoizedSerializedSize = size;
  4012. return size;
  4013. }
  4014. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent parseFrom(
  4015. com.google.protobuf.ByteString data)
  4016. throws com.google.protobuf.InvalidProtocolBufferException {
  4017. return newBuilder().mergeFrom(data).buildParsed();
  4018. }
  4019. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent parseFrom(
  4020. com.google.protobuf.ByteString data,
  4021. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  4022. throws com.google.protobuf.InvalidProtocolBufferException {
  4023. return newBuilder().mergeFrom(data, extensionRegistry)
  4024. .buildParsed();
  4025. }
  4026. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent parseFrom(byte[] data)
  4027. throws com.google.protobuf.InvalidProtocolBufferException {
  4028. return newBuilder().mergeFrom(data).buildParsed();
  4029. }
  4030. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent parseFrom(
  4031. byte[] data,
  4032. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  4033. throws com.google.protobuf.InvalidProtocolBufferException {
  4034. return newBuilder().mergeFrom(data, extensionRegistry)
  4035. .buildParsed();
  4036. }
  4037. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent parseFrom(java.io.InputStream input)
  4038. throws java.io.IOException {
  4039. return newBuilder().mergeFrom(input).buildParsed();
  4040. }
  4041. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent parseFrom(
  4042. java.io.InputStream input,
  4043. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  4044. throws java.io.IOException {
  4045. return newBuilder().mergeFrom(input, extensionRegistry)
  4046. .buildParsed();
  4047. }
  4048. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent parseDelimitedFrom(java.io.InputStream input)
  4049. throws java.io.IOException {
  4050. Builder builder = newBuilder();
  4051. if (builder.mergeDelimitedFrom(input)) {
  4052. return builder.buildParsed();
  4053. } else {
  4054. return null;
  4055. }
  4056. }
  4057. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent parseDelimitedFrom(
  4058. java.io.InputStream input,
  4059. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  4060. throws java.io.IOException {
  4061. Builder builder = newBuilder();
  4062. if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
  4063. return builder.buildParsed();
  4064. } else {
  4065. return null;
  4066. }
  4067. }
  4068. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent parseFrom(
  4069. com.google.protobuf.CodedInputStream input)
  4070. throws java.io.IOException {
  4071. return newBuilder().mergeFrom(input).buildParsed();
  4072. }
  4073. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent parseFrom(
  4074. com.google.protobuf.CodedInputStream input,
  4075. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  4076. throws java.io.IOException {
  4077. return newBuilder().mergeFrom(input, extensionRegistry)
  4078. .buildParsed();
  4079. }
  4080. public static Builder newBuilder() { return Builder.create(); }
  4081. public Builder newBuilderForType() { return newBuilder(); }
  4082. public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent prototype) {
  4083. return newBuilder().mergeFrom(prototype);
  4084. }
  4085. public Builder toBuilder() { return newBuilder(this); }
  4086. public static final class Builder extends
  4087. com.google.protobuf.GeneratedMessage.Builder<Builder> {
  4088. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent result;
  4089. // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent.newBuilder()
  4090. private Builder() {}
  4091. private static Builder create() {
  4092. Builder builder = new Builder();
  4093. builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent();
  4094. return builder;
  4095. }
  4096. protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent internalGetResult() {
  4097. return result;
  4098. }
  4099. public Builder clear() {
  4100. if (result == null) {
  4101. throw new IllegalStateException(
  4102. "Cannot call clear() after build().");
  4103. }
  4104. result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent();
  4105. return this;
  4106. }
  4107. public Builder clone() {
  4108. return create().mergeFrom(result);
  4109. }
  4110. public com.google.protobuf.Descriptors.Descriptor
  4111. getDescriptorForType() {
  4112. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent.getDescriptor();
  4113. }
  4114. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent getDefaultInstanceForType() {
  4115. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent.getDefaultInstance();
  4116. }
  4117. public boolean isInitialized() {
  4118. return result.isInitialized();
  4119. }
  4120. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent build() {
  4121. if (result != null && !isInitialized()) {
  4122. throw newUninitializedMessageException(result);
  4123. }
  4124. return buildPartial();
  4125. }
  4126. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent buildParsed()
  4127. throws com.google.protobuf.InvalidProtocolBufferException {
  4128. if (!isInitialized()) {
  4129. throw newUninitializedMessageException(
  4130. result).asInvalidProtocolBufferException();
  4131. }
  4132. return buildPartial();
  4133. }
  4134. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent buildPartial() {
  4135. if (result == null) {
  4136. throw new IllegalStateException(
  4137. "build() has already been called on this Builder.");
  4138. }
  4139. if (result.change_ != java.util.Collections.EMPTY_LIST) {
  4140. result.change_ =
  4141. java.util.Collections.unmodifiableList(result.change_);
  4142. }
  4143. if (result.metadata_ != java.util.Collections.EMPTY_LIST) {
  4144. result.metadata_ =
  4145. java.util.Collections.unmodifiableList(result.metadata_);
  4146. }
  4147. if (result.options_ != java.util.Collections.EMPTY_LIST) {
  4148. result.options_ =
  4149. java.util.Collections.unmodifiableList(result.options_);
  4150. }
  4151. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent returnMe = result;
  4152. result = null;
  4153. return returnMe;
  4154. }
  4155. public Builder mergeFrom(com.google.protobuf.Message other) {
  4156. if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent) {
  4157. return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent)other);
  4158. } else {
  4159. super.mergeFrom(other);
  4160. return this;
  4161. }
  4162. }
  4163. public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent other) {
  4164. if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent.getDefaultInstance()) return this;
  4165. if (!other.change_.isEmpty()) {
  4166. if (result.change_.isEmpty()) {
  4167. result.change_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange>();
  4168. }
  4169. result.change_.addAll(other.change_);
  4170. }
  4171. if (!other.metadata_.isEmpty()) {
  4172. if (result.metadata_.isEmpty()) {
  4173. result.metadata_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
  4174. }
  4175. result.metadata_.addAll(other.metadata_);
  4176. }
  4177. if (!other.options_.isEmpty()) {
  4178. if (result.options_.isEmpty()) {
  4179. result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
  4180. }
  4181. result.options_.addAll(other.options_);
  4182. }
  4183. this.mergeUnknownFields(other.getUnknownFields());
  4184. return this;
  4185. }
  4186. public Builder mergeFrom(
  4187. com.google.protobuf.CodedInputStream input,
  4188. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  4189. throws java.io.IOException {
  4190. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  4191. com.google.protobuf.UnknownFieldSet.newBuilder(
  4192. this.getUnknownFields());
  4193. input.setSizeLimit(0x7FFFFFFF);
  4194. while (true) {
  4195. int tag = input.readTag();
  4196. switch (tag) {
  4197. case 0:
  4198. this.setUnknownFields(unknownFields.build());
  4199. return this;
  4200. default: {
  4201. if (!parseUnknownField(input, unknownFields,
  4202. extensionRegistry, tag)) {
  4203. this.setUnknownFields(unknownFields.build());
  4204. return this;
  4205. }
  4206. break;
  4207. }
  4208. case 10: {
  4209. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.newBuilder();
  4210. input.readMessage(subBuilder, extensionRegistry);
  4211. addChange(subBuilder.buildPartial());
  4212. break;
  4213. }
  4214. case 18: {
  4215. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.newBuilder();
  4216. input.readMessage(subBuilder, extensionRegistry);
  4217. addMetadata(subBuilder.buildPartial());
  4218. break;
  4219. }
  4220. case 26: {
  4221. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.newBuilder();
  4222. input.readMessage(subBuilder, extensionRegistry);
  4223. addOptions(subBuilder.buildPartial());
  4224. break;
  4225. }
  4226. }
  4227. }
  4228. }
  4229. // repeated .TungstenProtobuf.ProtobufOneChange change = 1;
  4230. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange> getChangeList() {
  4231. return java.util.Collections.unmodifiableList(result.change_);
  4232. }
  4233. public int getChangeCount() {
  4234. return result.getChangeCount();
  4235. }
  4236. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange getChange(int index) {
  4237. return result.getChange(index);
  4238. }
  4239. public Builder setChange(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange value) {
  4240. if (value == null) {
  4241. throw new NullPointerException();
  4242. }
  4243. result.change_.set(index, value);
  4244. return this;
  4245. }
  4246. public Builder setChange(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Builder builderForValue) {
  4247. result.change_.set(index, builderForValue.build());
  4248. return this;
  4249. }
  4250. public Builder addChange(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange value) {
  4251. if (value == null) {
  4252. throw new NullPointerException();
  4253. }
  4254. if (result.change_.isEmpty()) {
  4255. result.change_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange>();
  4256. }
  4257. result.change_.add(value);
  4258. return this;
  4259. }
  4260. public Builder addChange(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Builder builderForValue) {
  4261. if (result.change_.isEmpty()) {
  4262. result.change_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange>();
  4263. }
  4264. result.change_.add(builderForValue.build());
  4265. return this;
  4266. }
  4267. public Builder addAllChange(
  4268. java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange> values) {
  4269. if (result.change_.isEmpty()) {
  4270. result.change_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange>();
  4271. }
  4272. super.addAll(values, result.change_);
  4273. return this;
  4274. }
  4275. public Builder clearChange() {
  4276. result.change_ = java.util.Collections.emptyList();
  4277. return this;
  4278. }
  4279. // repeated .TungstenProtobuf.ProtobufEventOption metadata = 2;
  4280. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> getMetadataList() {
  4281. return java.util.Collections.unmodifiableList(result.metadata_);
  4282. }
  4283. public int getMetadataCount() {
  4284. return result.getMetadataCount();
  4285. }
  4286. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption getMetadata(int index) {
  4287. return result.getMetadata(index);
  4288. }
  4289. public Builder setMetadata(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption value) {
  4290. if (value == null) {
  4291. throw new NullPointerException();
  4292. }
  4293. result.metadata_.set(index, value);
  4294. return this;
  4295. }
  4296. public Builder setMetadata(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder builderForValue) {
  4297. result.metadata_.set(index, builderForValue.build());
  4298. return this;
  4299. }
  4300. public Builder addMetadata(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption value) {
  4301. if (value == null) {
  4302. throw new NullPointerException();
  4303. }
  4304. if (result.metadata_.isEmpty()) {
  4305. result.metadata_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
  4306. }
  4307. result.metadata_.add(value);
  4308. return this;
  4309. }
  4310. public Builder addMetadata(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder builderForValue) {
  4311. if (result.metadata_.isEmpty()) {
  4312. result.metadata_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
  4313. }
  4314. result.metadata_.add(builderForValue.build());
  4315. return this;
  4316. }
  4317. public Builder addAllMetadata(
  4318. java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> values) {
  4319. if (result.metadata_.isEmpty()) {
  4320. result.metadata_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
  4321. }
  4322. super.addAll(values, result.metadata_);
  4323. return this;
  4324. }
  4325. public Builder clearMetadata() {
  4326. result.metadata_ = java.util.Collections.emptyList();
  4327. return this;
  4328. }
  4329. // repeated .TungstenProtobuf.ProtobufEventOption options = 3;
  4330. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> getOptionsList() {
  4331. return java.util.Collections.unmodifiableList(result.options_);
  4332. }
  4333. public int getOptionsCount() {
  4334. return result.getOptionsCount();
  4335. }
  4336. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption getOptions(int index) {
  4337. return result.getOptions(index);
  4338. }
  4339. public Builder setOptions(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption value) {
  4340. if (value == null) {
  4341. throw new NullPointerException();
  4342. }
  4343. result.options_.set(index, value);
  4344. return this;
  4345. }
  4346. public Builder setOptions(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder builderForValue) {
  4347. result.options_.set(index, builderForValue.build());
  4348. return this;
  4349. }
  4350. public Builder addOptions(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption value) {
  4351. if (value == null) {
  4352. throw new NullPointerException();
  4353. }
  4354. if (result.options_.isEmpty()) {
  4355. result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
  4356. }
  4357. result.options_.add(value);
  4358. return this;
  4359. }
  4360. public Builder addOptions(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder builderForValue) {
  4361. if (result.options_.isEmpty()) {
  4362. result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
  4363. }
  4364. result.options_.add(builderForValue.build());
  4365. return this;
  4366. }
  4367. public Builder addAllOptions(
  4368. java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> values) {
  4369. if (result.options_.isEmpty()) {
  4370. result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
  4371. }
  4372. super.addAll(values, result.options_);
  4373. return this;
  4374. }
  4375. public Builder clearOptions() {
  4376. result.options_ = java.util.Collections.emptyList();
  4377. return this;
  4378. }
  4379. // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufReplDBMSEvent)
  4380. }
  4381. static {
  4382. defaultInstance = new ProtobufReplDBMSEvent(true);
  4383. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
  4384. defaultInstance.initFields();
  4385. }
  4386. // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufReplDBMSEvent)
  4387. }
  4388. public static final class ProtobufStatementData extends
  4389. com.google.protobuf.GeneratedMessage {
  4390. // Use ProtobufStatementData.newBuilder() to construct.
  4391. private ProtobufStatementData() {
  4392. initFields();
  4393. }
  4394. private ProtobufStatementData(boolean noInit) {}
  4395. private static final ProtobufStatementData defaultInstance;
  4396. public static ProtobufStatementData getDefaultInstance() {
  4397. return defaultInstance;
  4398. }
  4399. public ProtobufStatementData getDefaultInstanceForType() {
  4400. return defaultInstance;
  4401. }
  4402. public static final com.google.protobuf.Descriptors.Descriptor
  4403. getDescriptor() {
  4404. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufStatementData_descriptor;
  4405. }
  4406. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  4407. internalGetFieldAccessorTable() {
  4408. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufStatementData_fieldAccessorTable;
  4409. }
  4410. // optional string defaultSchema = 1;
  4411. public static final int DEFAULTSCHEMA_FIELD_NUMBER = 1;
  4412. private boolean hasDefaultSchema;
  4413. private java.lang.String defaultSchema_ = "";
  4414. public boolean hasDefaultSchema() { return hasDefaultSchema; }
  4415. public java.lang.String getDefaultSchema() { return defaultSchema_; }
  4416. // optional int64 timestamp = 2;
  4417. public static final int TIMESTAMP_FIELD_NUMBER = 2;
  4418. private boolean hasTimestamp;
  4419. private long timestamp_ = 0L;
  4420. public boolean hasTimestamp() { return hasTimestamp; }
  4421. public long getTimestamp() { return timestamp_; }
  4422. // optional string query = 3;
  4423. public static final int QUERY_FIELD_NUMBER = 3;
  4424. private boolean hasQuery;
  4425. private java.lang.String query_ = "";
  4426. public boolean hasQuery() { return hasQuery; }
  4427. public java.lang.String getQuery() { return query_; }
  4428. // repeated .TungstenProtobuf.ProtobufEventOption options = 4;
  4429. public static final int OPTIONS_FIELD_NUMBER = 4;
  4430. private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> options_ =
  4431. java.util.Collections.emptyList();
  4432. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> getOptionsList() {
  4433. return options_;
  4434. }
  4435. public int getOptionsCount() { return options_.size(); }
  4436. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption getOptions(int index) {
  4437. return options_.get(index);
  4438. }
  4439. // required int32 errorCode = 5;
  4440. public static final int ERRORCODE_FIELD_NUMBER = 5;
  4441. private boolean hasErrorCode;
  4442. private int errorCode_ = 0;
  4443. public boolean hasErrorCode() { return hasErrorCode; }
  4444. public int getErrorCode() { return errorCode_; }
  4445. // optional bytes queryBytes = 6;
  4446. public static final int QUERYBYTES_FIELD_NUMBER = 6;
  4447. private boolean hasQueryBytes;
  4448. private com.google.protobuf.ByteString queryBytes_ = com.google.protobuf.ByteString.EMPTY;
  4449. public boolean hasQueryBytes() { return hasQueryBytes; }
  4450. public com.google.protobuf.ByteString getQueryBytes() { return queryBytes_; }
  4451. private void initFields() {
  4452. }
  4453. public final boolean isInitialized() {
  4454. if (!hasErrorCode) return false;
  4455. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getOptionsList()) {
  4456. if (!element.isInitialized()) return false;
  4457. }
  4458. return true;
  4459. }
  4460. public void writeTo(com.google.protobuf.CodedOutputStream output)
  4461. throws java.io.IOException {
  4462. getSerializedSize();
  4463. if (hasDefaultSchema()) {
  4464. output.writeString(1, getDefaultSchema());
  4465. }
  4466. if (hasTimestamp()) {
  4467. output.writeInt64(2, getTimestamp());
  4468. }
  4469. if (hasQuery()) {
  4470. output.writeString(3, getQuery());
  4471. }
  4472. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getOptionsList()) {
  4473. output.writeMessage(4, element);
  4474. }
  4475. if (hasErrorCode()) {
  4476. output.writeInt32(5, getErrorCode());
  4477. }
  4478. if (hasQueryBytes()) {
  4479. output.writeBytes(6, getQueryBytes());
  4480. }
  4481. getUnknownFields().writeTo(output);
  4482. }
  4483. private int memoizedSerializedSize = -1;
  4484. public int getSerializedSize() {
  4485. int size = memoizedSerializedSize;
  4486. if (size != -1) return size;
  4487. size = 0;
  4488. if (hasDefaultSchema()) {
  4489. size += com.google.protobuf.CodedOutputStream
  4490. .computeStringSize(1, getDefaultSchema());
  4491. }
  4492. if (hasTimestamp()) {
  4493. size += com.google.protobuf.CodedOutputStream
  4494. .computeInt64Size(2, getTimestamp());
  4495. }
  4496. if (hasQuery()) {
  4497. size += com.google.protobuf.CodedOutputStream
  4498. .computeStringSize(3, getQuery());
  4499. }
  4500. for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getOptionsList()) {
  4501. size += com.google.protobuf.CodedOutputStream
  4502. .computeMessageSize(4, element);
  4503. }
  4504. if (hasErrorCode()) {
  4505. size += com.google.protobuf.CodedOutputStream
  4506. .computeInt32Size(5, getErrorCode());
  4507. }
  4508. if (hasQueryBytes()) {
  4509. size += com.google.protobuf.CodedOutputStream
  4510. .computeBytesSize(6, getQueryBytes());
  4511. }
  4512. size += getUnknownFields().getSerializedSize();
  4513. memoizedSerializedSize = size;
  4514. return size;
  4515. }
  4516. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData parseFrom(
  4517. com.google.protobuf.ByteString data)
  4518. throws com.google.protobuf.InvalidProtocolBufferException {
  4519. return newBuilder().mergeFrom(data).buildParsed();
  4520. }
  4521. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData parseFrom(
  4522. com.google.protobuf.ByteString data,
  4523. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  4524. throws com.google.protobuf.InvalidProtocolBufferException {
  4525. return newBuilder().mergeFrom(data, extensionRegistry)
  4526. .buildParsed();
  4527. }
  4528. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData parseFrom(byte[] data)
  4529. throws com.google.protobuf.InvalidProtocolBufferException {
  4530. return newBuilder().mergeFrom(data).buildParsed();
  4531. }
  4532. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData parseFrom(
  4533. byte[] data,
  4534. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  4535. throws com.google.protobuf.InvalidProtocolBufferException {
  4536. return newBuilder().mergeFrom(data, extensionRegistry)
  4537. .buildParsed();
  4538. }
  4539. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData parseFrom(java.io.InputStream input)
  4540. throws java.io.IOException {
  4541. return newBuilder().mergeFrom(input).buildParsed();
  4542. }
  4543. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData parseFrom(
  4544. java.io.InputStream input,
  4545. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  4546. throws java.io.IOException {
  4547. return newBuilder().mergeFrom(input, extensionRegistry)
  4548. .buildParsed();
  4549. }
  4550. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData parseDelimitedFrom(java.io.InputStream input)
  4551. throws java.io.IOException {
  4552. Builder builder = newBuilder();
  4553. if (builder.mergeDelimitedFrom(input)) {
  4554. return builder.buildParsed();
  4555. } else {
  4556. return null;
  4557. }
  4558. }
  4559. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData parseDelimitedFrom(
  4560. java.io.InputStream input,
  4561. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  4562. throws java.io.IOException {
  4563. Builder builder = newBuilder();
  4564. if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
  4565. return builder.buildParsed();
  4566. } else {
  4567. return null;
  4568. }
  4569. }
  4570. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData parseFrom(
  4571. com.google.protobuf.CodedInputStream input)
  4572. throws java.io.IOException {
  4573. return newBuilder().mergeFrom(input).buildParsed();
  4574. }
  4575. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData parseFrom(
  4576. com.google.protobuf.CodedInputStream input,
  4577. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  4578. throws java.io.IOException {
  4579. return newBuilder().mergeFrom(input, extensionRegistry)
  4580. .buildParsed();
  4581. }
  4582. public static Builder newBuilder() { return Builder.create(); }
  4583. public Builder newBuilderForType() { return newBuilder(); }
  4584. public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData prototype) {
  4585. return newBuilder().mergeFrom(prototype);
  4586. }
  4587. public Builder toBuilder() { return newBuilder(this); }
  4588. public static final class Builder extends
  4589. com.google.protobuf.GeneratedMessage.Builder<Builder> {
  4590. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData result;
  4591. // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.newBuilder()
  4592. private Builder() {}
  4593. private static Builder create() {
  4594. Builder builder = new Builder();
  4595. builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData();
  4596. return builder;
  4597. }
  4598. protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData internalGetResult() {
  4599. return result;
  4600. }
  4601. public Builder clear() {
  4602. if (result == null) {
  4603. throw new IllegalStateException(
  4604. "Cannot call clear() after build().");
  4605. }
  4606. result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData();
  4607. return this;
  4608. }
  4609. public Builder clone() {
  4610. return create().mergeFrom(result);
  4611. }
  4612. public com.google.protobuf.Descriptors.Descriptor
  4613. getDescriptorForType() {
  4614. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.getDescriptor();
  4615. }
  4616. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData getDefaultInstanceForType() {
  4617. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.getDefaultInstance();
  4618. }
  4619. public boolean isInitialized() {
  4620. return result.isInitialized();
  4621. }
  4622. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData build() {
  4623. if (result != null && !isInitialized()) {
  4624. throw newUninitializedMessageException(result);
  4625. }
  4626. return buildPartial();
  4627. }
  4628. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData buildParsed()
  4629. throws com.google.protobuf.InvalidProtocolBufferException {
  4630. if (!isInitialized()) {
  4631. throw newUninitializedMessageException(
  4632. result).asInvalidProtocolBufferException();
  4633. }
  4634. return buildPartial();
  4635. }
  4636. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData buildPartial() {
  4637. if (result == null) {
  4638. throw new IllegalStateException(
  4639. "build() has already been called on this Builder.");
  4640. }
  4641. if (result.options_ != java.util.Collections.EMPTY_LIST) {
  4642. result.options_ =
  4643. java.util.Collections.unmodifiableList(result.options_);
  4644. }
  4645. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData returnMe = result;
  4646. result = null;
  4647. return returnMe;
  4648. }
  4649. public Builder mergeFrom(com.google.protobuf.Message other) {
  4650. if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData) {
  4651. return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData)other);
  4652. } else {
  4653. super.mergeFrom(other);
  4654. return this;
  4655. }
  4656. }
  4657. public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData other) {
  4658. if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.getDefaultInstance()) return this;
  4659. if (other.hasDefaultSchema()) {
  4660. setDefaultSchema(other.getDefaultSchema());
  4661. }
  4662. if (other.hasTimestamp()) {
  4663. setTimestamp(other.getTimestamp());
  4664. }
  4665. if (other.hasQuery()) {
  4666. setQuery(other.getQuery());
  4667. }
  4668. if (!other.options_.isEmpty()) {
  4669. if (result.options_.isEmpty()) {
  4670. result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
  4671. }
  4672. result.options_.addAll(other.options_);
  4673. }
  4674. if (other.hasErrorCode()) {
  4675. setErrorCode(other.getErrorCode());
  4676. }
  4677. if (other.hasQueryBytes()) {
  4678. setQueryBytes(other.getQueryBytes());
  4679. }
  4680. this.mergeUnknownFields(other.getUnknownFields());
  4681. return this;
  4682. }
  4683. public Builder mergeFrom(
  4684. com.google.protobuf.CodedInputStream input,
  4685. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  4686. throws java.io.IOException {
  4687. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  4688. com.google.protobuf.UnknownFieldSet.newBuilder(
  4689. this.getUnknownFields());
  4690. while (true) {
  4691. int tag = input.readTag();
  4692. switch (tag) {
  4693. case 0:
  4694. this.setUnknownFields(unknownFields.build());
  4695. return this;
  4696. default: {
  4697. if (!parseUnknownField(input, unknownFields,
  4698. extensionRegistry, tag)) {
  4699. this.setUnknownFields(unknownFields.build());
  4700. return this;
  4701. }
  4702. break;
  4703. }
  4704. case 10: {
  4705. setDefaultSchema(input.readString());
  4706. break;
  4707. }
  4708. case 16: {
  4709. setTimestamp(input.readInt64());
  4710. break;
  4711. }
  4712. case 26: {
  4713. setQuery(input.readString());
  4714. break;
  4715. }
  4716. case 34: {
  4717. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.newBuilder();
  4718. input.readMessage(subBuilder, extensionRegistry);
  4719. addOptions(subBuilder.buildPartial());
  4720. break;
  4721. }
  4722. case 40: {
  4723. setErrorCode(input.readInt32());
  4724. break;
  4725. }
  4726. case 50: {
  4727. setQueryBytes(input.readBytes());
  4728. break;
  4729. }
  4730. }
  4731. }
  4732. }
  4733. // optional string defaultSchema = 1;
  4734. public boolean hasDefaultSchema() {
  4735. return result.hasDefaultSchema();
  4736. }
  4737. public java.lang.String getDefaultSchema() {
  4738. return result.getDefaultSchema();
  4739. }
  4740. public Builder setDefaultSchema(java.lang.String value) {
  4741. if (value == null) {
  4742. throw new NullPointerException();
  4743. }
  4744. result.hasDefaultSchema = true;
  4745. result.defaultSchema_ = value;
  4746. return this;
  4747. }
  4748. public Builder clearDefaultSchema() {
  4749. result.hasDefaultSchema = false;
  4750. result.defaultSchema_ = getDefaultInstance().getDefaultSchema();
  4751. return this;
  4752. }
  4753. // optional int64 timestamp = 2;
  4754. public boolean hasTimestamp() {
  4755. return result.hasTimestamp();
  4756. }
  4757. public long getTimestamp() {
  4758. return result.getTimestamp();
  4759. }
  4760. public Builder setTimestamp(long value) {
  4761. result.hasTimestamp = true;
  4762. result.timestamp_ = value;
  4763. return this;
  4764. }
  4765. public Builder clearTimestamp() {
  4766. result.hasTimestamp = false;
  4767. result.timestamp_ = 0L;
  4768. return this;
  4769. }
  4770. // optional string query = 3;
  4771. public boolean hasQuery() {
  4772. return result.hasQuery();
  4773. }
  4774. public java.lang.String getQuery() {
  4775. return result.getQuery();
  4776. }
  4777. public Builder setQuery(java.lang.String value) {
  4778. if (value == null) {
  4779. throw new NullPointerException();
  4780. }
  4781. result.hasQuery = true;
  4782. result.query_ = value;
  4783. return this;
  4784. }
  4785. public Builder clearQuery() {
  4786. result.hasQuery = false;
  4787. result.query_ = getDefaultInstance().getQuery();
  4788. return this;
  4789. }
  4790. // repeated .TungstenProtobuf.ProtobufEventOption options = 4;
  4791. public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> getOptionsList() {
  4792. return java.util.Collections.unmodifiableList(result.options_);
  4793. }
  4794. public int getOptionsCount() {
  4795. return result.getOptionsCount();
  4796. }
  4797. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption getOptions(int index) {
  4798. return result.getOptions(index);
  4799. }
  4800. public Builder setOptions(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption value) {
  4801. if (value == null) {
  4802. throw new NullPointerException();
  4803. }
  4804. result.options_.set(index, value);
  4805. return this;
  4806. }
  4807. public Builder setOptions(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder builderForValue) {
  4808. result.options_.set(index, builderForValue.build());
  4809. return this;
  4810. }
  4811. public Builder addOptions(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption value) {
  4812. if (value == null) {
  4813. throw new NullPointerException();
  4814. }
  4815. if (result.options_.isEmpty()) {
  4816. result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
  4817. }
  4818. result.options_.add(value);
  4819. return this;
  4820. }
  4821. public Builder addOptions(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder builderForValue) {
  4822. if (result.options_.isEmpty()) {
  4823. result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
  4824. }
  4825. result.options_.add(builderForValue.build());
  4826. return this;
  4827. }
  4828. public Builder addAllOptions(
  4829. java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> values) {
  4830. if (result.options_.isEmpty()) {
  4831. result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
  4832. }
  4833. super.addAll(values, result.options_);
  4834. return this;
  4835. }
  4836. public Builder clearOptions() {
  4837. result.options_ = java.util.Collections.emptyList();
  4838. return this;
  4839. }
  4840. // required int32 errorCode = 5;
  4841. public boolean hasErrorCode() {
  4842. return result.hasErrorCode();
  4843. }
  4844. public int getErrorCode() {
  4845. return result.getErrorCode();
  4846. }
  4847. public Builder setErrorCode(int value) {
  4848. result.hasErrorCode = true;
  4849. result.errorCode_ = value;
  4850. return this;
  4851. }
  4852. public Builder clearErrorCode() {
  4853. result.hasErrorCode = false;
  4854. result.errorCode_ = 0;
  4855. return this;
  4856. }
  4857. // optional bytes queryBytes = 6;
  4858. public boolean hasQueryBytes() {
  4859. return result.hasQueryBytes();
  4860. }
  4861. public com.google.protobuf.ByteString getQueryBytes() {
  4862. return result.getQueryBytes();
  4863. }
  4864. public Builder setQueryBytes(com.google.protobuf.ByteString value) {
  4865. if (value == null) {
  4866. throw new NullPointerException();
  4867. }
  4868. result.hasQueryBytes = true;
  4869. result.queryBytes_ = value;
  4870. return this;
  4871. }
  4872. public Builder clearQueryBytes() {
  4873. result.hasQueryBytes = false;
  4874. result.queryBytes_ = getDefaultInstance().getQueryBytes();
  4875. return this;
  4876. }
  4877. // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufStatementData)
  4878. }
  4879. static {
  4880. defaultInstance = new ProtobufStatementData(true);
  4881. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
  4882. defaultInstance.initFields();
  4883. }
  4884. // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufStatementData)
  4885. }
  4886. public static final class ProtobufEventOption extends
  4887. com.google.protobuf.GeneratedMessage {
  4888. // Use ProtobufEventOption.newBuilder() to construct.
  4889. private ProtobufEventOption() {
  4890. initFields();
  4891. }
  4892. private ProtobufEventOption(boolean noInit) {}
  4893. private static final ProtobufEventOption defaultInstance;
  4894. public static ProtobufEventOption getDefaultInstance() {
  4895. return defaultInstance;
  4896. }
  4897. public ProtobufEventOption getDefaultInstanceForType() {
  4898. return defaultInstance;
  4899. }
  4900. public static final com.google.protobuf.Descriptors.Descriptor
  4901. getDescriptor() {
  4902. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufEventOption_descriptor;
  4903. }
  4904. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  4905. internalGetFieldAccessorTable() {
  4906. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufEventOption_fieldAccessorTable;
  4907. }
  4908. // required string name = 1;
  4909. public static final int NAME_FIELD_NUMBER = 1;
  4910. private boolean hasName;
  4911. private java.lang.String name_ = "";
  4912. public boolean hasName() { return hasName; }
  4913. public java.lang.String getName() { return name_; }
  4914. // required string value = 2;
  4915. public static final int VALUE_FIELD_NUMBER = 2;
  4916. private boolean hasValue;
  4917. private java.lang.String value_ = "";
  4918. public boolean hasValue() { return hasValue; }
  4919. public java.lang.String getValue() { return value_; }
  4920. private void initFields() {
  4921. }
  4922. public final boolean isInitialized() {
  4923. if (!hasName) return false;
  4924. if (!hasValue) return false;
  4925. return true;
  4926. }
  4927. public void writeTo(com.google.protobuf.CodedOutputStream output)
  4928. throws java.io.IOException {
  4929. getSerializedSize();
  4930. if (hasName()) {
  4931. output.writeString(1, getName());
  4932. }
  4933. if (hasValue()) {
  4934. output.writeString(2, getValue());
  4935. }
  4936. getUnknownFields().writeTo(output);
  4937. }
  4938. private int memoizedSerializedSize = -1;
  4939. public int getSerializedSize() {
  4940. int size = memoizedSerializedSize;
  4941. if (size != -1) return size;
  4942. size = 0;
  4943. if (hasName()) {
  4944. size += com.google.protobuf.CodedOutputStream
  4945. .computeStringSize(1, getName());
  4946. }
  4947. if (hasValue()) {
  4948. size += com.google.protobuf.CodedOutputStream
  4949. .computeStringSize(2, getValue());
  4950. }
  4951. size += getUnknownFields().getSerializedSize();
  4952. memoizedSerializedSize = size;
  4953. return size;
  4954. }
  4955. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption parseFrom(
  4956. com.google.protobuf.ByteString data)
  4957. throws com.google.protobuf.InvalidProtocolBufferException {
  4958. return newBuilder().mergeFrom(data).buildParsed();
  4959. }
  4960. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption parseFrom(
  4961. com.google.protobuf.ByteString data,
  4962. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  4963. throws com.google.protobuf.InvalidProtocolBufferException {
  4964. return newBuilder().mergeFrom(data, extensionRegistry)
  4965. .buildParsed();
  4966. }
  4967. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption parseFrom(byte[] data)
  4968. throws com.google.protobuf.InvalidProtocolBufferException {
  4969. return newBuilder().mergeFrom(data).buildParsed();
  4970. }
  4971. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption parseFrom(
  4972. byte[] data,
  4973. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  4974. throws com.google.protobuf.InvalidProtocolBufferException {
  4975. return newBuilder().mergeFrom(data, extensionRegistry)
  4976. .buildParsed();
  4977. }
  4978. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption parseFrom(java.io.InputStream input)
  4979. throws java.io.IOException {
  4980. return newBuilder().mergeFrom(input).buildParsed();
  4981. }
  4982. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption parseFrom(
  4983. java.io.InputStream input,
  4984. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  4985. throws java.io.IOException {
  4986. return newBuilder().mergeFrom(input, extensionRegistry)
  4987. .buildParsed();
  4988. }
  4989. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption parseDelimitedFrom(java.io.InputStream input)
  4990. throws java.io.IOException {
  4991. Builder builder = newBuilder();
  4992. if (builder.mergeDelimitedFrom(input)) {
  4993. return builder.buildParsed();
  4994. } else {
  4995. return null;
  4996. }
  4997. }
  4998. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption parseDelimitedFrom(
  4999. java.io.InputStream input,
  5000. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5001. throws java.io.IOException {
  5002. Builder builder = newBuilder();
  5003. if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
  5004. return builder.buildParsed();
  5005. } else {
  5006. return null;
  5007. }
  5008. }
  5009. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption parseFrom(
  5010. com.google.protobuf.CodedInputStream input)
  5011. throws java.io.IOException {
  5012. return newBuilder().mergeFrom(input).buildParsed();
  5013. }
  5014. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption parseFrom(
  5015. com.google.protobuf.CodedInputStream input,
  5016. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5017. throws java.io.IOException {
  5018. return newBuilder().mergeFrom(input, extensionRegistry)
  5019. .buildParsed();
  5020. }
  5021. public static Builder newBuilder() { return Builder.create(); }
  5022. public Builder newBuilderForType() { return newBuilder(); }
  5023. public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption prototype) {
  5024. return newBuilder().mergeFrom(prototype);
  5025. }
  5026. public Builder toBuilder() { return newBuilder(this); }
  5027. public static final class Builder extends
  5028. com.google.protobuf.GeneratedMessage.Builder<Builder> {
  5029. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption result;
  5030. // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.newBuilder()
  5031. private Builder() {}
  5032. private static Builder create() {
  5033. Builder builder = new Builder();
  5034. builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption();
  5035. return builder;
  5036. }
  5037. protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption internalGetResult() {
  5038. return result;
  5039. }
  5040. public Builder clear() {
  5041. if (result == null) {
  5042. throw new IllegalStateException(
  5043. "Cannot call clear() after build().");
  5044. }
  5045. result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption();
  5046. return this;
  5047. }
  5048. public Builder clone() {
  5049. return create().mergeFrom(result);
  5050. }
  5051. public com.google.protobuf.Descriptors.Descriptor
  5052. getDescriptorForType() {
  5053. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.getDescriptor();
  5054. }
  5055. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption getDefaultInstanceForType() {
  5056. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.getDefaultInstance();
  5057. }
  5058. public boolean isInitialized() {
  5059. return result.isInitialized();
  5060. }
  5061. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption build() {
  5062. if (result != null && !isInitialized()) {
  5063. throw newUninitializedMessageException(result);
  5064. }
  5065. return buildPartial();
  5066. }
  5067. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption buildParsed()
  5068. throws com.google.protobuf.InvalidProtocolBufferException {
  5069. if (!isInitialized()) {
  5070. throw newUninitializedMessageException(
  5071. result).asInvalidProtocolBufferException();
  5072. }
  5073. return buildPartial();
  5074. }
  5075. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption buildPartial() {
  5076. if (result == null) {
  5077. throw new IllegalStateException(
  5078. "build() has already been called on this Builder.");
  5079. }
  5080. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption returnMe = result;
  5081. result = null;
  5082. return returnMe;
  5083. }
  5084. public Builder mergeFrom(com.google.protobuf.Message other) {
  5085. if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption) {
  5086. return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption)other);
  5087. } else {
  5088. super.mergeFrom(other);
  5089. return this;
  5090. }
  5091. }
  5092. public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption other) {
  5093. if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.getDefaultInstance()) return this;
  5094. if (other.hasName()) {
  5095. setName(other.getName());
  5096. }
  5097. if (other.hasValue()) {
  5098. setValue(other.getValue());
  5099. }
  5100. this.mergeUnknownFields(other.getUnknownFields());
  5101. return this;
  5102. }
  5103. public Builder mergeFrom(
  5104. com.google.protobuf.CodedInputStream input,
  5105. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5106. throws java.io.IOException {
  5107. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  5108. com.google.protobuf.UnknownFieldSet.newBuilder(
  5109. this.getUnknownFields());
  5110. while (true) {
  5111. int tag = input.readTag();
  5112. switch (tag) {
  5113. case 0:
  5114. this.setUnknownFields(unknownFields.build());
  5115. return this;
  5116. default: {
  5117. if (!parseUnknownField(input, unknownFields,
  5118. extensionRegistry, tag)) {
  5119. this.setUnknownFields(unknownFields.build());
  5120. return this;
  5121. }
  5122. break;
  5123. }
  5124. case 10: {
  5125. setName(input.readString());
  5126. break;
  5127. }
  5128. case 18: {
  5129. setValue(input.readString());
  5130. break;
  5131. }
  5132. }
  5133. }
  5134. }
  5135. // required string name = 1;
  5136. public boolean hasName() {
  5137. return result.hasName();
  5138. }
  5139. public java.lang.String getName() {
  5140. return result.getName();
  5141. }
  5142. public Builder setName(java.lang.String value) {
  5143. if (value == null) {
  5144. throw new NullPointerException();
  5145. }
  5146. result.hasName = true;
  5147. result.name_ = value;
  5148. return this;
  5149. }
  5150. public Builder clearName() {
  5151. result.hasName = false;
  5152. result.name_ = getDefaultInstance().getName();
  5153. return this;
  5154. }
  5155. // required string value = 2;
  5156. public boolean hasValue() {
  5157. return result.hasValue();
  5158. }
  5159. public java.lang.String getValue() {
  5160. return result.getValue();
  5161. }
  5162. public Builder setValue(java.lang.String value) {
  5163. if (value == null) {
  5164. throw new NullPointerException();
  5165. }
  5166. result.hasValue = true;
  5167. result.value_ = value;
  5168. return this;
  5169. }
  5170. public Builder clearValue() {
  5171. result.hasValue = false;
  5172. result.value_ = getDefaultInstance().getValue();
  5173. return this;
  5174. }
  5175. // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufEventOption)
  5176. }
  5177. static {
  5178. defaultInstance = new ProtobufEventOption(true);
  5179. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
  5180. defaultInstance.initFields();
  5181. }
  5182. // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufEventOption)
  5183. }
  5184. public static final class ProtobufRowIdData extends
  5185. com.google.protobuf.GeneratedMessage {
  5186. // Use ProtobufRowIdData.newBuilder() to construct.
  5187. private ProtobufRowIdData() {
  5188. initFields();
  5189. }
  5190. private ProtobufRowIdData(boolean noInit) {}
  5191. private static final ProtobufRowIdData defaultInstance;
  5192. public static ProtobufRowIdData getDefaultInstance() {
  5193. return defaultInstance;
  5194. }
  5195. public ProtobufRowIdData getDefaultInstanceForType() {
  5196. return defaultInstance;
  5197. }
  5198. public static final com.google.protobuf.Descriptors.Descriptor
  5199. getDescriptor() {
  5200. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufRowIdData_descriptor;
  5201. }
  5202. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  5203. internalGetFieldAccessorTable() {
  5204. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufRowIdData_fieldAccessorTable;
  5205. }
  5206. // required int64 id = 1;
  5207. public static final int ID_FIELD_NUMBER = 1;
  5208. private boolean hasId;
  5209. private long id_ = 0L;
  5210. public boolean hasId() { return hasId; }
  5211. public long getId() { return id_; }
  5212. // optional int32 type = 2;
  5213. public static final int TYPE_FIELD_NUMBER = 2;
  5214. private boolean hasType;
  5215. private int type_ = 0;
  5216. public boolean hasType() { return hasType; }
  5217. public int getType() { return type_; }
  5218. private void initFields() {
  5219. }
  5220. public final boolean isInitialized() {
  5221. if (!hasId) return false;
  5222. return true;
  5223. }
  5224. public void writeTo(com.google.protobuf.CodedOutputStream output)
  5225. throws java.io.IOException {
  5226. getSerializedSize();
  5227. if (hasId()) {
  5228. output.writeInt64(1, getId());
  5229. }
  5230. if (hasType()) {
  5231. output.writeInt32(2, getType());
  5232. }
  5233. getUnknownFields().writeTo(output);
  5234. }
  5235. private int memoizedSerializedSize = -1;
  5236. public int getSerializedSize() {
  5237. int size = memoizedSerializedSize;
  5238. if (size != -1) return size;
  5239. size = 0;
  5240. if (hasId()) {
  5241. size += com.google.protobuf.CodedOutputStream
  5242. .computeInt64Size(1, getId());
  5243. }
  5244. if (hasType()) {
  5245. size += com.google.protobuf.CodedOutputStream
  5246. .computeInt32Size(2, getType());
  5247. }
  5248. size += getUnknownFields().getSerializedSize();
  5249. memoizedSerializedSize = size;
  5250. return size;
  5251. }
  5252. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData parseFrom(
  5253. com.google.protobuf.ByteString data)
  5254. throws com.google.protobuf.InvalidProtocolBufferException {
  5255. return newBuilder().mergeFrom(data).buildParsed();
  5256. }
  5257. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData parseFrom(
  5258. com.google.protobuf.ByteString data,
  5259. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5260. throws com.google.protobuf.InvalidProtocolBufferException {
  5261. return newBuilder().mergeFrom(data, extensionRegistry)
  5262. .buildParsed();
  5263. }
  5264. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData parseFrom(byte[] data)
  5265. throws com.google.protobuf.InvalidProtocolBufferException {
  5266. return newBuilder().mergeFrom(data).buildParsed();
  5267. }
  5268. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData parseFrom(
  5269. byte[] data,
  5270. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5271. throws com.google.protobuf.InvalidProtocolBufferException {
  5272. return newBuilder().mergeFrom(data, extensionRegistry)
  5273. .buildParsed();
  5274. }
  5275. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData parseFrom(java.io.InputStream input)
  5276. throws java.io.IOException {
  5277. return newBuilder().mergeFrom(input).buildParsed();
  5278. }
  5279. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData parseFrom(
  5280. java.io.InputStream input,
  5281. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5282. throws java.io.IOException {
  5283. return newBuilder().mergeFrom(input, extensionRegistry)
  5284. .buildParsed();
  5285. }
  5286. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData parseDelimitedFrom(java.io.InputStream input)
  5287. throws java.io.IOException {
  5288. Builder builder = newBuilder();
  5289. if (builder.mergeDelimitedFrom(input)) {
  5290. return builder.buildParsed();
  5291. } else {
  5292. return null;
  5293. }
  5294. }
  5295. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData parseDelimitedFrom(
  5296. java.io.InputStream input,
  5297. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5298. throws java.io.IOException {
  5299. Builder builder = newBuilder();
  5300. if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
  5301. return builder.buildParsed();
  5302. } else {
  5303. return null;
  5304. }
  5305. }
  5306. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData parseFrom(
  5307. com.google.protobuf.CodedInputStream input)
  5308. throws java.io.IOException {
  5309. return newBuilder().mergeFrom(input).buildParsed();
  5310. }
  5311. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData parseFrom(
  5312. com.google.protobuf.CodedInputStream input,
  5313. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5314. throws java.io.IOException {
  5315. return newBuilder().mergeFrom(input, extensionRegistry)
  5316. .buildParsed();
  5317. }
  5318. public static Builder newBuilder() { return Builder.create(); }
  5319. public Builder newBuilderForType() { return newBuilder(); }
  5320. public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData prototype) {
  5321. return newBuilder().mergeFrom(prototype);
  5322. }
  5323. public Builder toBuilder() { return newBuilder(this); }
  5324. public static final class Builder extends
  5325. com.google.protobuf.GeneratedMessage.Builder<Builder> {
  5326. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData result;
  5327. // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.newBuilder()
  5328. private Builder() {}
  5329. private static Builder create() {
  5330. Builder builder = new Builder();
  5331. builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData();
  5332. return builder;
  5333. }
  5334. protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData internalGetResult() {
  5335. return result;
  5336. }
  5337. public Builder clear() {
  5338. if (result == null) {
  5339. throw new IllegalStateException(
  5340. "Cannot call clear() after build().");
  5341. }
  5342. result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData();
  5343. return this;
  5344. }
  5345. public Builder clone() {
  5346. return create().mergeFrom(result);
  5347. }
  5348. public com.google.protobuf.Descriptors.Descriptor
  5349. getDescriptorForType() {
  5350. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.getDescriptor();
  5351. }
  5352. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData getDefaultInstanceForType() {
  5353. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.getDefaultInstance();
  5354. }
  5355. public boolean isInitialized() {
  5356. return result.isInitialized();
  5357. }
  5358. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData build() {
  5359. if (result != null && !isInitialized()) {
  5360. throw newUninitializedMessageException(result);
  5361. }
  5362. return buildPartial();
  5363. }
  5364. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData buildParsed()
  5365. throws com.google.protobuf.InvalidProtocolBufferException {
  5366. if (!isInitialized()) {
  5367. throw newUninitializedMessageException(
  5368. result).asInvalidProtocolBufferException();
  5369. }
  5370. return buildPartial();
  5371. }
  5372. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData buildPartial() {
  5373. if (result == null) {
  5374. throw new IllegalStateException(
  5375. "build() has already been called on this Builder.");
  5376. }
  5377. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData returnMe = result;
  5378. result = null;
  5379. return returnMe;
  5380. }
  5381. public Builder mergeFrom(com.google.protobuf.Message other) {
  5382. if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData) {
  5383. return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData)other);
  5384. } else {
  5385. super.mergeFrom(other);
  5386. return this;
  5387. }
  5388. }
  5389. public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData other) {
  5390. if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.getDefaultInstance()) return this;
  5391. if (other.hasId()) {
  5392. setId(other.getId());
  5393. }
  5394. if (other.hasType()) {
  5395. setType(other.getType());
  5396. }
  5397. this.mergeUnknownFields(other.getUnknownFields());
  5398. return this;
  5399. }
  5400. public Builder mergeFrom(
  5401. com.google.protobuf.CodedInputStream input,
  5402. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5403. throws java.io.IOException {
  5404. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  5405. com.google.protobuf.UnknownFieldSet.newBuilder(
  5406. this.getUnknownFields());
  5407. while (true) {
  5408. int tag = input.readTag();
  5409. switch (tag) {
  5410. case 0:
  5411. this.setUnknownFields(unknownFields.build());
  5412. return this;
  5413. default: {
  5414. if (!parseUnknownField(input, unknownFields,
  5415. extensionRegistry, tag)) {
  5416. this.setUnknownFields(unknownFields.build());
  5417. return this;
  5418. }
  5419. break;
  5420. }
  5421. case 8: {
  5422. setId(input.readInt64());
  5423. break;
  5424. }
  5425. case 16: {
  5426. setType(input.readInt32());
  5427. break;
  5428. }
  5429. }
  5430. }
  5431. }
  5432. // required int64 id = 1;
  5433. public boolean hasId() {
  5434. return result.hasId();
  5435. }
  5436. public long getId() {
  5437. return result.getId();
  5438. }
  5439. public Builder setId(long value) {
  5440. result.hasId = true;
  5441. result.id_ = value;
  5442. return this;
  5443. }
  5444. public Builder clearId() {
  5445. result.hasId = false;
  5446. result.id_ = 0L;
  5447. return this;
  5448. }
  5449. // optional int32 type = 2;
  5450. public boolean hasType() {
  5451. return result.hasType();
  5452. }
  5453. public int getType() {
  5454. return result.getType();
  5455. }
  5456. public Builder setType(int value) {
  5457. result.hasType = true;
  5458. result.type_ = value;
  5459. return this;
  5460. }
  5461. public Builder clearType() {
  5462. result.hasType = false;
  5463. result.type_ = 0;
  5464. return this;
  5465. }
  5466. // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufRowIdData)
  5467. }
  5468. static {
  5469. defaultInstance = new ProtobufRowIdData(true);
  5470. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
  5471. defaultInstance.initFields();
  5472. }
  5473. // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufRowIdData)
  5474. }
  5475. public static final class ProtobufLoadDataFileFragment extends
  5476. com.google.protobuf.GeneratedMessage {
  5477. // Use ProtobufLoadDataFileFragment.newBuilder() to construct.
  5478. private ProtobufLoadDataFileFragment() {
  5479. initFields();
  5480. }
  5481. private ProtobufLoadDataFileFragment(boolean noInit) {}
  5482. private static final ProtobufLoadDataFileFragment defaultInstance;
  5483. public static ProtobufLoadDataFileFragment getDefaultInstance() {
  5484. return defaultInstance;
  5485. }
  5486. public ProtobufLoadDataFileFragment getDefaultInstanceForType() {
  5487. return defaultInstance;
  5488. }
  5489. public static final com.google.protobuf.Descriptors.Descriptor
  5490. getDescriptor() {
  5491. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufLoadDataFileFragment_descriptor;
  5492. }
  5493. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  5494. internalGetFieldAccessorTable() {
  5495. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufLoadDataFileFragment_fieldAccessorTable;
  5496. }
  5497. // required int32 fileId = 1;
  5498. public static final int FILEID_FIELD_NUMBER = 1;
  5499. private boolean hasFileId;
  5500. private int fileId_ = 0;
  5501. public boolean hasFileId() { return hasFileId; }
  5502. public int getFileId() { return fileId_; }
  5503. // required bytes data = 2;
  5504. public static final int DATA_FIELD_NUMBER = 2;
  5505. private boolean hasData;
  5506. private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY;
  5507. public boolean hasData() { return hasData; }
  5508. public com.google.protobuf.ByteString getData() { return data_; }
  5509. // optional string database = 3;
  5510. public static final int DATABASE_FIELD_NUMBER = 3;
  5511. private boolean hasDatabase;
  5512. private java.lang.String database_ = "";
  5513. public boolean hasDatabase() { return hasDatabase; }
  5514. public java.lang.String getDatabase() { return database_; }
  5515. private void initFields() {
  5516. }
  5517. public final boolean isInitialized() {
  5518. if (!hasFileId) return false;
  5519. if (!hasData) return false;
  5520. return true;
  5521. }
  5522. public void writeTo(com.google.protobuf.CodedOutputStream output)
  5523. throws java.io.IOException {
  5524. getSerializedSize();
  5525. if (hasFileId()) {
  5526. output.writeInt32(1, getFileId());
  5527. }
  5528. if (hasData()) {
  5529. output.writeBytes(2, getData());
  5530. }
  5531. if (hasDatabase()) {
  5532. output.writeString(3, getDatabase());
  5533. }
  5534. getUnknownFields().writeTo(output);
  5535. }
  5536. private int memoizedSerializedSize = -1;
  5537. public int getSerializedSize() {
  5538. int size = memoizedSerializedSize;
  5539. if (size != -1) return size;
  5540. size = 0;
  5541. if (hasFileId()) {
  5542. size += com.google.protobuf.CodedOutputStream
  5543. .computeInt32Size(1, getFileId());
  5544. }
  5545. if (hasData()) {
  5546. size += com.google.protobuf.CodedOutputStream
  5547. .computeBytesSize(2, getData());
  5548. }
  5549. if (hasDatabase()) {
  5550. size += com.google.protobuf.CodedOutputStream
  5551. .computeStringSize(3, getDatabase());
  5552. }
  5553. size += getUnknownFields().getSerializedSize();
  5554. memoizedSerializedSize = size;
  5555. return size;
  5556. }
  5557. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment parseFrom(
  5558. com.google.protobuf.ByteString data)
  5559. throws com.google.protobuf.InvalidProtocolBufferException {
  5560. return newBuilder().mergeFrom(data).buildParsed();
  5561. }
  5562. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment parseFrom(
  5563. com.google.protobuf.ByteString data,
  5564. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5565. throws com.google.protobuf.InvalidProtocolBufferException {
  5566. return newBuilder().mergeFrom(data, extensionRegistry)
  5567. .buildParsed();
  5568. }
  5569. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment parseFrom(byte[] data)
  5570. throws com.google.protobuf.InvalidProtocolBufferException {
  5571. return newBuilder().mergeFrom(data).buildParsed();
  5572. }
  5573. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment parseFrom(
  5574. byte[] data,
  5575. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5576. throws com.google.protobuf.InvalidProtocolBufferException {
  5577. return newBuilder().mergeFrom(data, extensionRegistry)
  5578. .buildParsed();
  5579. }
  5580. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment parseFrom(java.io.InputStream input)
  5581. throws java.io.IOException {
  5582. return newBuilder().mergeFrom(input).buildParsed();
  5583. }
  5584. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment parseFrom(
  5585. java.io.InputStream input,
  5586. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5587. throws java.io.IOException {
  5588. return newBuilder().mergeFrom(input, extensionRegistry)
  5589. .buildParsed();
  5590. }
  5591. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment parseDelimitedFrom(java.io.InputStream input)
  5592. throws java.io.IOException {
  5593. Builder builder = newBuilder();
  5594. if (builder.mergeDelimitedFrom(input)) {
  5595. return builder.buildParsed();
  5596. } else {
  5597. return null;
  5598. }
  5599. }
  5600. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment parseDelimitedFrom(
  5601. java.io.InputStream input,
  5602. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5603. throws java.io.IOException {
  5604. Builder builder = newBuilder();
  5605. if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
  5606. return builder.buildParsed();
  5607. } else {
  5608. return null;
  5609. }
  5610. }
  5611. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment parseFrom(
  5612. com.google.protobuf.CodedInputStream input)
  5613. throws java.io.IOException {
  5614. return newBuilder().mergeFrom(input).buildParsed();
  5615. }
  5616. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment parseFrom(
  5617. com.google.protobuf.CodedInputStream input,
  5618. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5619. throws java.io.IOException {
  5620. return newBuilder().mergeFrom(input, extensionRegistry)
  5621. .buildParsed();
  5622. }
  5623. public static Builder newBuilder() { return Builder.create(); }
  5624. public Builder newBuilderForType() { return newBuilder(); }
  5625. public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment prototype) {
  5626. return newBuilder().mergeFrom(prototype);
  5627. }
  5628. public Builder toBuilder() { return newBuilder(this); }
  5629. public static final class Builder extends
  5630. com.google.protobuf.GeneratedMessage.Builder<Builder> {
  5631. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment result;
  5632. // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.newBuilder()
  5633. private Builder() {}
  5634. private static Builder create() {
  5635. Builder builder = new Builder();
  5636. builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment();
  5637. return builder;
  5638. }
  5639. protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment internalGetResult() {
  5640. return result;
  5641. }
  5642. public Builder clear() {
  5643. if (result == null) {
  5644. throw new IllegalStateException(
  5645. "Cannot call clear() after build().");
  5646. }
  5647. result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment();
  5648. return this;
  5649. }
  5650. public Builder clone() {
  5651. return create().mergeFrom(result);
  5652. }
  5653. public com.google.protobuf.Descriptors.Descriptor
  5654. getDescriptorForType() {
  5655. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.getDescriptor();
  5656. }
  5657. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment getDefaultInstanceForType() {
  5658. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.getDefaultInstance();
  5659. }
  5660. public boolean isInitialized() {
  5661. return result.isInitialized();
  5662. }
  5663. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment build() {
  5664. if (result != null && !isInitialized()) {
  5665. throw newUninitializedMessageException(result);
  5666. }
  5667. return buildPartial();
  5668. }
  5669. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment buildParsed()
  5670. throws com.google.protobuf.InvalidProtocolBufferException {
  5671. if (!isInitialized()) {
  5672. throw newUninitializedMessageException(
  5673. result).asInvalidProtocolBufferException();
  5674. }
  5675. return buildPartial();
  5676. }
  5677. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment buildPartial() {
  5678. if (result == null) {
  5679. throw new IllegalStateException(
  5680. "build() has already been called on this Builder.");
  5681. }
  5682. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment returnMe = result;
  5683. result = null;
  5684. return returnMe;
  5685. }
  5686. public Builder mergeFrom(com.google.protobuf.Message other) {
  5687. if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment) {
  5688. return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment)other);
  5689. } else {
  5690. super.mergeFrom(other);
  5691. return this;
  5692. }
  5693. }
  5694. public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment other) {
  5695. if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.getDefaultInstance()) return this;
  5696. if (other.hasFileId()) {
  5697. setFileId(other.getFileId());
  5698. }
  5699. if (other.hasData()) {
  5700. setData(other.getData());
  5701. }
  5702. if (other.hasDatabase()) {
  5703. setDatabase(other.getDatabase());
  5704. }
  5705. this.mergeUnknownFields(other.getUnknownFields());
  5706. return this;
  5707. }
  5708. public Builder mergeFrom(
  5709. com.google.protobuf.CodedInputStream input,
  5710. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5711. throws java.io.IOException {
  5712. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  5713. com.google.protobuf.UnknownFieldSet.newBuilder(
  5714. this.getUnknownFields());
  5715. while (true) {
  5716. int tag = input.readTag();
  5717. switch (tag) {
  5718. case 0:
  5719. this.setUnknownFields(unknownFields.build());
  5720. return this;
  5721. default: {
  5722. if (!parseUnknownField(input, unknownFields,
  5723. extensionRegistry, tag)) {
  5724. this.setUnknownFields(unknownFields.build());
  5725. return this;
  5726. }
  5727. break;
  5728. }
  5729. case 8: {
  5730. setFileId(input.readInt32());
  5731. break;
  5732. }
  5733. case 18: {
  5734. setData(input.readBytes());
  5735. break;
  5736. }
  5737. case 26: {
  5738. setDatabase(input.readString());
  5739. break;
  5740. }
  5741. }
  5742. }
  5743. }
  5744. // required int32 fileId = 1;
  5745. public boolean hasFileId() {
  5746. return result.hasFileId();
  5747. }
  5748. public int getFileId() {
  5749. return result.getFileId();
  5750. }
  5751. public Builder setFileId(int value) {
  5752. result.hasFileId = true;
  5753. result.fileId_ = value;
  5754. return this;
  5755. }
  5756. public Builder clearFileId() {
  5757. result.hasFileId = false;
  5758. result.fileId_ = 0;
  5759. return this;
  5760. }
  5761. // required bytes data = 2;
  5762. public boolean hasData() {
  5763. return result.hasData();
  5764. }
  5765. public com.google.protobuf.ByteString getData() {
  5766. return result.getData();
  5767. }
  5768. public Builder setData(com.google.protobuf.ByteString value) {
  5769. if (value == null) {
  5770. throw new NullPointerException();
  5771. }
  5772. result.hasData = true;
  5773. result.data_ = value;
  5774. return this;
  5775. }
  5776. public Builder clearData() {
  5777. result.hasData = false;
  5778. result.data_ = getDefaultInstance().getData();
  5779. return this;
  5780. }
  5781. // optional string database = 3;
  5782. public boolean hasDatabase() {
  5783. return result.hasDatabase();
  5784. }
  5785. public java.lang.String getDatabase() {
  5786. return result.getDatabase();
  5787. }
  5788. public Builder setDatabase(java.lang.String value) {
  5789. if (value == null) {
  5790. throw new NullPointerException();
  5791. }
  5792. result.hasDatabase = true;
  5793. result.database_ = value;
  5794. return this;
  5795. }
  5796. public Builder clearDatabase() {
  5797. result.hasDatabase = false;
  5798. result.database_ = getDefaultInstance().getDatabase();
  5799. return this;
  5800. }
  5801. // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufLoadDataFileFragment)
  5802. }
  5803. static {
  5804. defaultInstance = new ProtobufLoadDataFileFragment(true);
  5805. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
  5806. defaultInstance.initFields();
  5807. }
  5808. // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufLoadDataFileFragment)
  5809. }
  5810. public static final class ProtobufLoadDataFileQuery extends
  5811. com.google.protobuf.GeneratedMessage {
  5812. // Use ProtobufLoadDataFileQuery.newBuilder() to construct.
  5813. private ProtobufLoadDataFileQuery() {
  5814. initFields();
  5815. }
  5816. private ProtobufLoadDataFileQuery(boolean noInit) {}
  5817. private static final ProtobufLoadDataFileQuery defaultInstance;
  5818. public static ProtobufLoadDataFileQuery getDefaultInstance() {
  5819. return defaultInstance;
  5820. }
  5821. public ProtobufLoadDataFileQuery getDefaultInstanceForType() {
  5822. return defaultInstance;
  5823. }
  5824. public static final com.google.protobuf.Descriptors.Descriptor
  5825. getDescriptor() {
  5826. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufLoadDataFileQuery_descriptor;
  5827. }
  5828. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  5829. internalGetFieldAccessorTable() {
  5830. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufLoadDataFileQuery_fieldAccessorTable;
  5831. }
  5832. // required .TungstenProtobuf.ProtobufStatementData statement = 1;
  5833. public static final int STATEMENT_FIELD_NUMBER = 1;
  5834. private boolean hasStatement;
  5835. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData statement_;
  5836. public boolean hasStatement() { return hasStatement; }
  5837. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData getStatement() { return statement_; }
  5838. // required int32 fileId = 2;
  5839. public static final int FILEID_FIELD_NUMBER = 2;
  5840. private boolean hasFileId;
  5841. private int fileId_ = 0;
  5842. public boolean hasFileId() { return hasFileId; }
  5843. public int getFileId() { return fileId_; }
  5844. // required int32 filenameStartPos = 3;
  5845. public static final int FILENAMESTARTPOS_FIELD_NUMBER = 3;
  5846. private boolean hasFilenameStartPos;
  5847. private int filenameStartPos_ = 0;
  5848. public boolean hasFilenameStartPos() { return hasFilenameStartPos; }
  5849. public int getFilenameStartPos() { return filenameStartPos_; }
  5850. // required int32 filenameEndPos = 4;
  5851. public static final int FILENAMEENDPOS_FIELD_NUMBER = 4;
  5852. private boolean hasFilenameEndPos;
  5853. private int filenameEndPos_ = 0;
  5854. public boolean hasFilenameEndPos() { return hasFilenameEndPos; }
  5855. public int getFilenameEndPos() { return filenameEndPos_; }
  5856. private void initFields() {
  5857. statement_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.getDefaultInstance();
  5858. }
  5859. public final boolean isInitialized() {
  5860. if (!hasStatement) return false;
  5861. if (!hasFileId) return false;
  5862. if (!hasFilenameStartPos) return false;
  5863. if (!hasFilenameEndPos) return false;
  5864. if (!getStatement().isInitialized()) return false;
  5865. return true;
  5866. }
  5867. public void writeTo(com.google.protobuf.CodedOutputStream output)
  5868. throws java.io.IOException {
  5869. getSerializedSize();
  5870. if (hasStatement()) {
  5871. output.writeMessage(1, getStatement());
  5872. }
  5873. if (hasFileId()) {
  5874. output.writeInt32(2, getFileId());
  5875. }
  5876. if (hasFilenameStartPos()) {
  5877. output.writeInt32(3, getFilenameStartPos());
  5878. }
  5879. if (hasFilenameEndPos()) {
  5880. output.writeInt32(4, getFilenameEndPos());
  5881. }
  5882. getUnknownFields().writeTo(output);
  5883. }
  5884. private int memoizedSerializedSize = -1;
  5885. public int getSerializedSize() {
  5886. int size = memoizedSerializedSize;
  5887. if (size != -1) return size;
  5888. size = 0;
  5889. if (hasStatement()) {
  5890. size += com.google.protobuf.CodedOutputStream
  5891. .computeMessageSize(1, getStatement());
  5892. }
  5893. if (hasFileId()) {
  5894. size += com.google.protobuf.CodedOutputStream
  5895. .computeInt32Size(2, getFileId());
  5896. }
  5897. if (hasFilenameStartPos()) {
  5898. size += com.google.protobuf.CodedOutputStream
  5899. .computeInt32Size(3, getFilenameStartPos());
  5900. }
  5901. if (hasFilenameEndPos()) {
  5902. size += com.google.protobuf.CodedOutputStream
  5903. .computeInt32Size(4, getFilenameEndPos());
  5904. }
  5905. size += getUnknownFields().getSerializedSize();
  5906. memoizedSerializedSize = size;
  5907. return size;
  5908. }
  5909. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery parseFrom(
  5910. com.google.protobuf.ByteString data)
  5911. throws com.google.protobuf.InvalidProtocolBufferException {
  5912. return newBuilder().mergeFrom(data).buildParsed();
  5913. }
  5914. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery parseFrom(
  5915. com.google.protobuf.ByteString data,
  5916. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5917. throws com.google.protobuf.InvalidProtocolBufferException {
  5918. return newBuilder().mergeFrom(data, extensionRegistry)
  5919. .buildParsed();
  5920. }
  5921. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery parseFrom(byte[] data)
  5922. throws com.google.protobuf.InvalidProtocolBufferException {
  5923. return newBuilder().mergeFrom(data).buildParsed();
  5924. }
  5925. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery parseFrom(
  5926. byte[] data,
  5927. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5928. throws com.google.protobuf.InvalidProtocolBufferException {
  5929. return newBuilder().mergeFrom(data, extensionRegistry)
  5930. .buildParsed();
  5931. }
  5932. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery parseFrom(java.io.InputStream input)
  5933. throws java.io.IOException {
  5934. return newBuilder().mergeFrom(input).buildParsed();
  5935. }
  5936. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery parseFrom(
  5937. java.io.InputStream input,
  5938. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5939. throws java.io.IOException {
  5940. return newBuilder().mergeFrom(input, extensionRegistry)
  5941. .buildParsed();
  5942. }
  5943. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery parseDelimitedFrom(java.io.InputStream input)
  5944. throws java.io.IOException {
  5945. Builder builder = newBuilder();
  5946. if (builder.mergeDelimitedFrom(input)) {
  5947. return builder.buildParsed();
  5948. } else {
  5949. return null;
  5950. }
  5951. }
  5952. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery parseDelimitedFrom(
  5953. java.io.InputStream input,
  5954. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5955. throws java.io.IOException {
  5956. Builder builder = newBuilder();
  5957. if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
  5958. return builder.buildParsed();
  5959. } else {
  5960. return null;
  5961. }
  5962. }
  5963. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery parseFrom(
  5964. com.google.protobuf.CodedInputStream input)
  5965. throws java.io.IOException {
  5966. return newBuilder().mergeFrom(input).buildParsed();
  5967. }
  5968. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery parseFrom(
  5969. com.google.protobuf.CodedInputStream input,
  5970. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  5971. throws java.io.IOException {
  5972. return newBuilder().mergeFrom(input, extensionRegistry)
  5973. .buildParsed();
  5974. }
  5975. public static Builder newBuilder() { return Builder.create(); }
  5976. public Builder newBuilderForType() { return newBuilder(); }
  5977. public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery prototype) {
  5978. return newBuilder().mergeFrom(prototype);
  5979. }
  5980. public Builder toBuilder() { return newBuilder(this); }
  5981. public static final class Builder extends
  5982. com.google.protobuf.GeneratedMessage.Builder<Builder> {
  5983. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery result;
  5984. // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.newBuilder()
  5985. private Builder() {}
  5986. private static Builder create() {
  5987. Builder builder = new Builder();
  5988. builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery();
  5989. return builder;
  5990. }
  5991. protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery internalGetResult() {
  5992. return result;
  5993. }
  5994. public Builder clear() {
  5995. if (result == null) {
  5996. throw new IllegalStateException(
  5997. "Cannot call clear() after build().");
  5998. }
  5999. result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery();
  6000. return this;
  6001. }
  6002. public Builder clone() {
  6003. return create().mergeFrom(result);
  6004. }
  6005. public com.google.protobuf.Descriptors.Descriptor
  6006. getDescriptorForType() {
  6007. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.getDescriptor();
  6008. }
  6009. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery getDefaultInstanceForType() {
  6010. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.getDefaultInstance();
  6011. }
  6012. public boolean isInitialized() {
  6013. return result.isInitialized();
  6014. }
  6015. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery build() {
  6016. if (result != null && !isInitialized()) {
  6017. throw newUninitializedMessageException(result);
  6018. }
  6019. return buildPartial();
  6020. }
  6021. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery buildParsed()
  6022. throws com.google.protobuf.InvalidProtocolBufferException {
  6023. if (!isInitialized()) {
  6024. throw newUninitializedMessageException(
  6025. result).asInvalidProtocolBufferException();
  6026. }
  6027. return buildPartial();
  6028. }
  6029. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery buildPartial() {
  6030. if (result == null) {
  6031. throw new IllegalStateException(
  6032. "build() has already been called on this Builder.");
  6033. }
  6034. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery returnMe = result;
  6035. result = null;
  6036. return returnMe;
  6037. }
  6038. public Builder mergeFrom(com.google.protobuf.Message other) {
  6039. if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery) {
  6040. return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery)other);
  6041. } else {
  6042. super.mergeFrom(other);
  6043. return this;
  6044. }
  6045. }
  6046. public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery other) {
  6047. if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.getDefaultInstance()) return this;
  6048. if (other.hasStatement()) {
  6049. mergeStatement(other.getStatement());
  6050. }
  6051. if (other.hasFileId()) {
  6052. setFileId(other.getFileId());
  6053. }
  6054. if (other.hasFilenameStartPos()) {
  6055. setFilenameStartPos(other.getFilenameStartPos());
  6056. }
  6057. if (other.hasFilenameEndPos()) {
  6058. setFilenameEndPos(other.getFilenameEndPos());
  6059. }
  6060. this.mergeUnknownFields(other.getUnknownFields());
  6061. return this;
  6062. }
  6063. public Builder mergeFrom(
  6064. com.google.protobuf.CodedInputStream input,
  6065. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  6066. throws java.io.IOException {
  6067. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  6068. com.google.protobuf.UnknownFieldSet.newBuilder(
  6069. this.getUnknownFields());
  6070. while (true) {
  6071. int tag = input.readTag();
  6072. switch (tag) {
  6073. case 0:
  6074. this.setUnknownFields(unknownFields.build());
  6075. return this;
  6076. default: {
  6077. if (!parseUnknownField(input, unknownFields,
  6078. extensionRegistry, tag)) {
  6079. this.setUnknownFields(unknownFields.build());
  6080. return this;
  6081. }
  6082. break;
  6083. }
  6084. case 10: {
  6085. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.newBuilder();
  6086. if (hasStatement()) {
  6087. subBuilder.mergeFrom(getStatement());
  6088. }
  6089. input.readMessage(subBuilder, extensionRegistry);
  6090. setStatement(subBuilder.buildPartial());
  6091. break;
  6092. }
  6093. case 16: {
  6094. setFileId(input.readInt32());
  6095. break;
  6096. }
  6097. case 24: {
  6098. setFilenameStartPos(input.readInt32());
  6099. break;
  6100. }
  6101. case 32: {
  6102. setFilenameEndPos(input.readInt32());
  6103. break;
  6104. }
  6105. }
  6106. }
  6107. }
  6108. // required .TungstenProtobuf.ProtobufStatementData statement = 1;
  6109. public boolean hasStatement() {
  6110. return result.hasStatement();
  6111. }
  6112. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData getStatement() {
  6113. return result.getStatement();
  6114. }
  6115. public Builder setStatement(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData value) {
  6116. if (value == null) {
  6117. throw new NullPointerException();
  6118. }
  6119. result.hasStatement = true;
  6120. result.statement_ = value;
  6121. return this;
  6122. }
  6123. public Builder setStatement(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.Builder builderForValue) {
  6124. result.hasStatement = true;
  6125. result.statement_ = builderForValue.build();
  6126. return this;
  6127. }
  6128. public Builder mergeStatement(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData value) {
  6129. if (result.hasStatement() &&
  6130. result.statement_ != com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.getDefaultInstance()) {
  6131. result.statement_ =
  6132. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.newBuilder(result.statement_).mergeFrom(value).buildPartial();
  6133. } else {
  6134. result.statement_ = value;
  6135. }
  6136. result.hasStatement = true;
  6137. return this;
  6138. }
  6139. public Builder clearStatement() {
  6140. result.hasStatement = false;
  6141. result.statement_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.getDefaultInstance();
  6142. return this;
  6143. }
  6144. // required int32 fileId = 2;
  6145. public boolean hasFileId() {
  6146. return result.hasFileId();
  6147. }
  6148. public int getFileId() {
  6149. return result.getFileId();
  6150. }
  6151. public Builder setFileId(int value) {
  6152. result.hasFileId = true;
  6153. result.fileId_ = value;
  6154. return this;
  6155. }
  6156. public Builder clearFileId() {
  6157. result.hasFileId = false;
  6158. result.fileId_ = 0;
  6159. return this;
  6160. }
  6161. // required int32 filenameStartPos = 3;
  6162. public boolean hasFilenameStartPos() {
  6163. return result.hasFilenameStartPos();
  6164. }
  6165. public int getFilenameStartPos() {
  6166. return result.getFilenameStartPos();
  6167. }
  6168. public Builder setFilenameStartPos(int value) {
  6169. result.hasFilenameStartPos = true;
  6170. result.filenameStartPos_ = value;
  6171. return this;
  6172. }
  6173. public Builder clearFilenameStartPos() {
  6174. result.hasFilenameStartPos = false;
  6175. result.filenameStartPos_ = 0;
  6176. return this;
  6177. }
  6178. // required int32 filenameEndPos = 4;
  6179. public boolean hasFilenameEndPos() {
  6180. return result.hasFilenameEndPos();
  6181. }
  6182. public int getFilenameEndPos() {
  6183. return result.getFilenameEndPos();
  6184. }
  6185. public Builder setFilenameEndPos(int value) {
  6186. result.hasFilenameEndPos = true;
  6187. result.filenameEndPos_ = value;
  6188. return this;
  6189. }
  6190. public Builder clearFilenameEndPos() {
  6191. result.hasFilenameEndPos = false;
  6192. result.filenameEndPos_ = 0;
  6193. return this;
  6194. }
  6195. // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufLoadDataFileQuery)
  6196. }
  6197. static {
  6198. defaultInstance = new ProtobufLoadDataFileQuery(true);
  6199. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
  6200. defaultInstance.initFields();
  6201. }
  6202. // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufLoadDataFileQuery)
  6203. }
  6204. public static final class ProtobufLoadDataFileDelete extends
  6205. com.google.protobuf.GeneratedMessage {
  6206. // Use ProtobufLoadDataFileDelete.newBuilder() to construct.
  6207. private ProtobufLoadDataFileDelete() {
  6208. initFields();
  6209. }
  6210. private ProtobufLoadDataFileDelete(boolean noInit) {}
  6211. private static final ProtobufLoadDataFileDelete defaultInstance;
  6212. public static ProtobufLoadDataFileDelete getDefaultInstance() {
  6213. return defaultInstance;
  6214. }
  6215. public ProtobufLoadDataFileDelete getDefaultInstanceForType() {
  6216. return defaultInstance;
  6217. }
  6218. public static final com.google.protobuf.Descriptors.Descriptor
  6219. getDescriptor() {
  6220. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufLoadDataFileDelete_descriptor;
  6221. }
  6222. protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
  6223. internalGetFieldAccessorTable() {
  6224. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufLoadDataFileDelete_fieldAccessorTable;
  6225. }
  6226. // required int32 int32 = 1;
  6227. public static final int INT32_FIELD_NUMBER = 1;
  6228. private boolean hasInt32;
  6229. private int int32_ = 0;
  6230. public boolean hasInt32() { return hasInt32; }
  6231. public int getInt32() { return int32_; }
  6232. private void initFields() {
  6233. }
  6234. public final boolean isInitialized() {
  6235. if (!hasInt32) return false;
  6236. return true;
  6237. }
  6238. public void writeTo(com.google.protobuf.CodedOutputStream output)
  6239. throws java.io.IOException {
  6240. getSerializedSize();
  6241. if (hasInt32()) {
  6242. output.writeInt32(1, getInt32());
  6243. }
  6244. getUnknownFields().writeTo(output);
  6245. }
  6246. private int memoizedSerializedSize = -1;
  6247. public int getSerializedSize() {
  6248. int size = memoizedSerializedSize;
  6249. if (size != -1) return size;
  6250. size = 0;
  6251. if (hasInt32()) {
  6252. size += com.google.protobuf.CodedOutputStream
  6253. .computeInt32Size(1, getInt32());
  6254. }
  6255. size += getUnknownFields().getSerializedSize();
  6256. memoizedSerializedSize = size;
  6257. return size;
  6258. }
  6259. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete parseFrom(
  6260. com.google.protobuf.ByteString data)
  6261. throws com.google.protobuf.InvalidProtocolBufferException {
  6262. return newBuilder().mergeFrom(data).buildParsed();
  6263. }
  6264. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete parseFrom(
  6265. com.google.protobuf.ByteString data,
  6266. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  6267. throws com.google.protobuf.InvalidProtocolBufferException {
  6268. return newBuilder().mergeFrom(data, extensionRegistry)
  6269. .buildParsed();
  6270. }
  6271. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete parseFrom(byte[] data)
  6272. throws com.google.protobuf.InvalidProtocolBufferException {
  6273. return newBuilder().mergeFrom(data).buildParsed();
  6274. }
  6275. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete parseFrom(
  6276. byte[] data,
  6277. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  6278. throws com.google.protobuf.InvalidProtocolBufferException {
  6279. return newBuilder().mergeFrom(data, extensionRegistry)
  6280. .buildParsed();
  6281. }
  6282. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete parseFrom(java.io.InputStream input)
  6283. throws java.io.IOException {
  6284. return newBuilder().mergeFrom(input).buildParsed();
  6285. }
  6286. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete parseFrom(
  6287. java.io.InputStream input,
  6288. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  6289. throws java.io.IOException {
  6290. return newBuilder().mergeFrom(input, extensionRegistry)
  6291. .buildParsed();
  6292. }
  6293. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete parseDelimitedFrom(java.io.InputStream input)
  6294. throws java.io.IOException {
  6295. Builder builder = newBuilder();
  6296. if (builder.mergeDelimitedFrom(input)) {
  6297. return builder.buildParsed();
  6298. } else {
  6299. return null;
  6300. }
  6301. }
  6302. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete parseDelimitedFrom(
  6303. java.io.InputStream input,
  6304. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  6305. throws java.io.IOException {
  6306. Builder builder = newBuilder();
  6307. if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
  6308. return builder.buildParsed();
  6309. } else {
  6310. return null;
  6311. }
  6312. }
  6313. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete parseFrom(
  6314. com.google.protobuf.CodedInputStream input)
  6315. throws java.io.IOException {
  6316. return newBuilder().mergeFrom(input).buildParsed();
  6317. }
  6318. public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete parseFrom(
  6319. com.google.protobuf.CodedInputStream input,
  6320. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  6321. throws java.io.IOException {
  6322. return newBuilder().mergeFrom(input, extensionRegistry)
  6323. .buildParsed();
  6324. }
  6325. public static Builder newBuilder() { return Builder.create(); }
  6326. public Builder newBuilderForType() { return newBuilder(); }
  6327. public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete prototype) {
  6328. return newBuilder().mergeFrom(prototype);
  6329. }
  6330. public Builder toBuilder() { return newBuilder(this); }
  6331. public static final class Builder extends
  6332. com.google.protobuf.GeneratedMessage.Builder<Builder> {
  6333. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete result;
  6334. // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.newBuilder()
  6335. private Builder() {}
  6336. private static Builder create() {
  6337. Builder builder = new Builder();
  6338. builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete();
  6339. return builder;
  6340. }
  6341. protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete internalGetResult() {
  6342. return result;
  6343. }
  6344. public Builder clear() {
  6345. if (result == null) {
  6346. throw new IllegalStateException(
  6347. "Cannot call clear() after build().");
  6348. }
  6349. result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete();
  6350. return this;
  6351. }
  6352. public Builder clone() {
  6353. return create().mergeFrom(result);
  6354. }
  6355. public com.google.protobuf.Descriptors.Descriptor
  6356. getDescriptorForType() {
  6357. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.getDescriptor();
  6358. }
  6359. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete getDefaultInstanceForType() {
  6360. return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.getDefaultInstance();
  6361. }
  6362. public boolean isInitialized() {
  6363. return result.isInitialized();
  6364. }
  6365. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete build() {
  6366. if (result != null && !isInitialized()) {
  6367. throw newUninitializedMessageException(result);
  6368. }
  6369. return buildPartial();
  6370. }
  6371. private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete buildParsed()
  6372. throws com.google.protobuf.InvalidProtocolBufferException {
  6373. if (!isInitialized()) {
  6374. throw newUninitializedMessageException(
  6375. result).asInvalidProtocolBufferException();
  6376. }
  6377. return buildPartial();
  6378. }
  6379. public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete buildPartial() {
  6380. if (result == null) {
  6381. throw new IllegalStateException(
  6382. "build() has already been called on this Builder.");
  6383. }
  6384. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete returnMe = result;
  6385. result = null;
  6386. return returnMe;
  6387. }
  6388. public Builder mergeFrom(com.google.protobuf.Message other) {
  6389. if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete) {
  6390. return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete)other);
  6391. } else {
  6392. super.mergeFrom(other);
  6393. return this;
  6394. }
  6395. }
  6396. public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete other) {
  6397. if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.getDefaultInstance()) return this;
  6398. if (other.hasInt32()) {
  6399. setInt32(other.getInt32());
  6400. }
  6401. this.mergeUnknownFields(other.getUnknownFields());
  6402. return this;
  6403. }
  6404. public Builder mergeFrom(
  6405. com.google.protobuf.CodedInputStream input,
  6406. com.google.protobuf.ExtensionRegistryLite extensionRegistry)
  6407. throws java.io.IOException {
  6408. com.google.protobuf.UnknownFieldSet.Builder unknownFields =
  6409. com.google.protobuf.UnknownFieldSet.newBuilder(
  6410. this.getUnknownFields());
  6411. while (true) {
  6412. int tag = input.readTag();
  6413. switch (tag) {
  6414. case 0:
  6415. this.setUnknownFields(unknownFields.build());
  6416. return this;
  6417. default: {
  6418. if (!parseUnknownField(input, unknownFields,
  6419. extensionRegistry, tag)) {
  6420. this.setUnknownFields(unknownFields.build());
  6421. return this;
  6422. }
  6423. break;
  6424. }
  6425. case 8: {
  6426. setInt32(input.readInt32());
  6427. break;
  6428. }
  6429. }
  6430. }
  6431. }
  6432. // required int32 int32 = 1;
  6433. public boolean hasInt32() {
  6434. return result.hasInt32();
  6435. }
  6436. public int getInt32() {
  6437. return result.getInt32();
  6438. }
  6439. public Builder setInt32(int value) {
  6440. result.hasInt32 = true;
  6441. result.int32_ = value;
  6442. return this;
  6443. }
  6444. public Builder clearInt32() {
  6445. result.hasInt32 = false;
  6446. result.int32_ = 0;
  6447. return this;
  6448. }
  6449. // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufLoadDataFileDelete)
  6450. }
  6451. static {
  6452. defaultInstance = new ProtobufLoadDataFileDelete(true);
  6453. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
  6454. defaultInstance.initFields();
  6455. }
  6456. // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufLoadDataFileDelete)
  6457. }
  6458. private static com.google.protobuf.Descriptors.Descriptor
  6459. internal_static_TungstenProtobuf_Header_descriptor;
  6460. private static
  6461. com.google.protobuf.GeneratedMessage.FieldAccessorTable
  6462. internal_static_TungstenProtobuf_Header_fieldAccessorTable;
  6463. private static com.google.protobuf.Descriptors.Descriptor
  6464. internal_static_TungstenProtobuf_ProtobufOneRowChange_descriptor;
  6465. private static
  6466. com.google.protobuf.GeneratedMessage.FieldAccessorTable
  6467. internal_static_TungstenProtobuf_ProtobufOneRowChange_fieldAccessorTable;
  6468. private static com.google.protobuf.Descriptors.Descriptor
  6469. internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufColumnSpec_descriptor;
  6470. private static
  6471. com.google.protobuf.GeneratedMessage.FieldAccessorTable
  6472. internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufColumnSpec_fieldAccessorTable;
  6473. private static com.google.protobuf.Descriptors.Descriptor
  6474. internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_descriptor;
  6475. private static
  6476. com.google.protobuf.GeneratedMessage.FieldAccessorTable
  6477. internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_fieldAccessorTable;
  6478. private static com.google.protobuf.Descriptors.Descriptor
  6479. internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_ProtobufColumnVal_descriptor;
  6480. private static
  6481. com.google.protobuf.GeneratedMessage.FieldAccessorTable
  6482. internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_ProtobufColumnVal_fieldAccessorTable;
  6483. private static com.google.protobuf.Descriptors.Descriptor
  6484. internal_static_TungstenProtobuf_ProtobufRowChangeData_descriptor;
  6485. private static
  6486. com.google.protobuf.GeneratedMessage.FieldAccessorTable
  6487. internal_static_TungstenProtobuf_ProtobufRowChangeData_fieldAccessorTable;
  6488. private static com.google.protobuf.Descriptors.Descriptor
  6489. internal_static_TungstenProtobuf_ProtobufOneChange_descriptor;
  6490. private static
  6491. com.google.protobuf.GeneratedMessage.FieldAccessorTable
  6492. internal_static_TungstenProtobuf_ProtobufOneChange_fieldAccessorTable;
  6493. private static com.google.protobuf.Descriptors.Descriptor
  6494. internal_static_TungstenProtobuf_ProtobufReplDBMSEvent_descriptor;
  6495. private static
  6496. com.google.protobuf.GeneratedMessage.FieldAccessorTable
  6497. internal_static_TungstenProtobuf_ProtobufReplDBMSEvent_fieldAccessorTable;
  6498. private static com.google.protobuf.Descriptors.Descriptor
  6499. internal_static_TungstenProtobuf_ProtobufStatementData_descriptor;
  6500. private static
  6501. com.google.protobuf.GeneratedMessage.FieldAccessorTable
  6502. internal_static_TungstenProtobuf_ProtobufStatementData_fieldAccessorTable;
  6503. private static com.google.protobuf.Descriptors.Descriptor
  6504. internal_static_TungstenProtobuf_ProtobufEventOption_descriptor;
  6505. private static
  6506. com.google.protobuf.GeneratedMessage.FieldAccessorTable
  6507. internal_static_TungstenProtobuf_ProtobufEventOption_fieldAccessorTable;
  6508. private static com.google.protobuf.Descriptors.Descriptor
  6509. internal_static_TungstenProtobuf_ProtobufRowIdData_descriptor;
  6510. private static
  6511. com.google.protobuf.GeneratedMessage.FieldAccessorTable
  6512. internal_static_TungstenProtobuf_ProtobufRowIdData_fieldAccessorTable;
  6513. private static com.google.protobuf.Descriptors.Descriptor
  6514. internal_static_TungstenProtobuf_ProtobufLoadDataFileFragment_descriptor;
  6515. private static
  6516. com.google.protobuf.GeneratedMessage.FieldAccessorTable
  6517. internal_static_TungstenProtobuf_ProtobufLoadDataFileFragment_fieldAccessorTable;
  6518. private static com.google.protobuf.Descriptors.Descriptor
  6519. internal_static_TungstenProtobuf_ProtobufLoadDataFileQuery_descriptor;
  6520. private static
  6521. com.google.protobuf.GeneratedMessage.FieldAccessorTable
  6522. internal_static_TungstenProtobuf_ProtobufLoadDataFileQuery_fieldAccessorTable;
  6523. private static com.google.protobuf.Descriptors.Descriptor
  6524. internal_static_TungstenProtobuf_ProtobufLoadDataFileDelete_descriptor;
  6525. private static
  6526. com.google.protobuf.GeneratedMessage.FieldAccessorTable
  6527. internal_static_TungstenProtobuf_ProtobufLoadDataFileDelete_fieldAccessorTable;
  6528. public static com.google.protobuf.Descriptors.FileDescriptor
  6529. getDescriptor() {
  6530. return descriptor;
  6531. }
  6532. private static com.google.protobuf.Descriptors.FileDescriptor
  6533. descriptor;
  6534. static {
  6535. java.lang.String[] descriptorData = {
  6536. "\n\027TungstenProtobufMessage\022\020TungstenProto" +
  6537. "buf\"\355\001\n\006Header\022\r\n\005seqno\030\001 \002(\003\022\016\n\006fragno\030" +
  6538. "\002 \002(\005\022\020\n\010lastFrag\030\003 \002(\010\022\024\n\014sourceTstamp\030" +
  6539. "\004 \002(\003\022\027\n\017extractedTstamp\030\005 \002(\003\022\020\n\010source" +
  6540. "Id\030\006 \002(\t\022\023\n\013epochNumber\030\007 \002(\003\022\017\n\007eventId" +
  6541. "\030\010 \002(\t\022\017\n\007shardId\030\t \002(\t\022\025\n\rfilteredEvent" +
  6542. "\030\n \002(\010\022\020\n\010seqnoEnd\030\013 \001(\003\022\021\n\tfragnoEnd\030\014 " +
  6543. "\001(\005\"\351\010\n\024ProtobufOneRowChange\022\022\n\nschemaNa" +
  6544. "me\030\001 \002(\t\022\021\n\ttableName\030\002 \002(\t\022A\n\006action\030\003 " +
  6545. "\002(\01621.TungstenProtobuf.ProtobufOneRowCha",
  6546. "nge.ActionType\022J\n\007keySpec\030\004 \003(\01329.Tungst" +
  6547. "enProtobuf.ProtobufOneRowChange.Protobuf" +
  6548. "ColumnSpec\022M\n\ncolumnSpec\030\005 \003(\01329.Tungste" +
  6549. "nProtobuf.ProtobufOneRowChange.ProtobufC" +
  6550. "olumnSpec\022J\n\tkeyValues\030\006 \003(\01327.TungstenP" +
  6551. "rotobuf.ProtobufOneRowChange.ProtobufRow" +
  6552. "Value\022M\n\014columnValues\030\007 \003(\01327.TungstenPr" +
  6553. "otobuf.ProtobufOneRowChange.ProtobufRowV" +
  6554. "alue\022\017\n\007tableId\030\010 \001(\022\032p\n\022ProtobufColumnS" +
  6555. "pec\022\r\n\005index\030\001 \002(\005\022\014\n\004name\030\002 \001(\t\022\014\n\004type",
  6556. "\030\003 \002(\005\022\016\n\006signed\030\004 \002(\010\022\016\n\006length\030\005 \002(\005\022\017" +
  6557. "\n\007notNull\030\006 \002(\010\032\373\003\n\020ProtobufRowValue\022^\n\013" +
  6558. "columnValue\030\001 \003(\0132I.TungstenProtobuf.Pro" +
  6559. "tobufOneRowChange.ProtobufRowValue.Proto" +
  6560. "bufColumnVal\032\206\003\n\021ProtobufColumnVal\022\\\n\004ty" +
  6561. "pe\030\001 \002(\0162N.TungstenProtobuf.ProtobufOneR" +
  6562. "owChange.ProtobufRowValue.ProtobufColumn" +
  6563. "Val.Type\022\020\n\010intValue\030\002 \001(\021\022\021\n\tlongValue\030" +
  6564. "\003 \001(\022\022\022\n\nfloatValue\030\004 \001(\002\022\023\n\013doubleValue" +
  6565. "\030\005 \001(\001\022\023\n\013stringValue\030\006 \001(\t\022\022\n\nbytesValu",
  6566. "e\030\007 \001(\014\"\233\001\n\004Type\022\007\n\003INT\020\001\022\010\n\004LONG\020\002\022\t\n\005F" +
  6567. "LOAT\020\003\022\n\n\006DOUBLE\020\004\022\n\n\006STRING\020\005\022\r\n\tTIMEST" +
  6568. "AMP\020\006\022\007\n\003BIT\020\007\022\010\n\004TIME\020\010\022\010\n\004DATE\020\t\022\010\n\004BL" +
  6569. "OB\020\n\022\010\n\004NULL\020\013\022\013\n\007DECIMAL\020\014\022\020\n\014BINARYSTR" +
  6570. "ING\020\r\"0\n\nActionType\022\n\n\006INSERT\020\001\022\n\n\006DELET" +
  6571. "E\020\002\022\n\n\006UPDATE\020\003\"\212\001\n\025ProtobufRowChangeDat" +
  6572. "a\0229\n\trowChange\030\001 \003(\0132&.TungstenProtobuf." +
  6573. "ProtobufOneRowChange\0226\n\007options\030\002 \003(\0132%." +
  6574. "TungstenProtobuf.ProtobufEventOption\"\310\004\n" +
  6575. "\021ProtobufOneChange\0226\n\004type\030\001 \002(\0162(.Tungs",
  6576. "tenProtobuf.ProtobufOneChange.Type\0225\n\004da" +
  6577. "ta\030\002 \001(\0132\'.TungstenProtobuf.ProtobufRowC" +
  6578. "hangeData\022:\n\tstatement\030\003 \001(\0132\'.TungstenP" +
  6579. "rotobuf.ProtobufStatementData\0222\n\005rowId\030\004" +
  6580. " \001(\0132#.TungstenProtobuf.ProtobufRowIdDat" +
  6581. "a\022D\n\014fileFragment\030\005 \001(\0132..TungstenProtob" +
  6582. "uf.ProtobufLoadDataFileFragment\022>\n\tfileQ" +
  6583. "uery\030\006 \001(\0132+.TungstenProtobuf.ProtobufLo" +
  6584. "adDataFileQuery\022@\n\nfileDelete\030\007 \001(\0132,.Tu" +
  6585. "ngstenProtobuf.ProtobufLoadDataFileDelet",
  6586. "e\"\213\001\n\004Type\022\014\n\010ROW_DATA\020\001\022\022\n\016STATEMENT_DA" +
  6587. "TA\020\002\022\017\n\013ROW_ID_DATA\020\003\022\033\n\027LOAD_DATA_FILE_" +
  6588. "FRAGMENT\020\004\022\030\n\024LOAD_DATA_FILE_QUERY\020\005\022\031\n\025" +
  6589. "LOAD_DATA_FILE_DELETE\020\006\"\275\001\n\025ProtobufRepl" +
  6590. "DBMSEvent\0223\n\006change\030\001 \003(\0132#.TungstenProt" +
  6591. "obuf.ProtobufOneChange\0227\n\010metadata\030\002 \003(\013" +
  6592. "2%.TungstenProtobuf.ProtobufEventOption\022" +
  6593. "6\n\007options\030\003 \003(\0132%.TungstenProtobuf.Prot" +
  6594. "obufEventOption\"\257\001\n\025ProtobufStatementDat" +
  6595. "a\022\025\n\rdefaultSchema\030\001 \001(\t\022\021\n\ttimestamp\030\002 ",
  6596. "\001(\003\022\r\n\005query\030\003 \001(\t\0226\n\007options\030\004 \003(\0132%.Tu" +
  6597. "ngstenProtobuf.ProtobufEventOption\022\021\n\ter" +
  6598. "rorCode\030\005 \002(\005\022\022\n\nqueryBytes\030\006 \001(\014\"2\n\023Pro" +
  6599. "tobufEventOption\022\014\n\004name\030\001 \002(\t\022\r\n\005value\030" +
  6600. "\002 \002(\t\"-\n\021ProtobufRowIdData\022\n\n\002id\030\001 \002(\003\022\014" +
  6601. "\n\004type\030\002 \001(\005\"N\n\034ProtobufLoadDataFileFrag" +
  6602. "ment\022\016\n\006fileId\030\001 \002(\005\022\014\n\004data\030\002 \002(\014\022\020\n\010da" +
  6603. "tabase\030\003 \001(\t\"\231\001\n\031ProtobufLoadDataFileQue" +
  6604. "ry\022:\n\tstatement\030\001 \002(\0132\'.TungstenProtobuf" +
  6605. ".ProtobufStatementData\022\016\n\006fileId\030\002 \002(\005\022\030",
  6606. "\n\020filenameStartPos\030\003 \002(\005\022\026\n\016filenameEndP" +
  6607. "os\030\004 \002(\005\"+\n\032ProtobufLoadDataFileDelete\022\r" +
  6608. "\n\005int32\030\001 \002(\005BA\n/com.continuent.tungsten" +
  6609. ".replicator.thl.protobufB\016TungstenProtos"
  6610. };
  6611. com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
  6612. new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
  6613. public com.google.protobuf.ExtensionRegistry assignDescriptors(
  6614. com.google.protobuf.Descriptors.FileDescriptor root) {
  6615. descriptor = root;
  6616. internal_static_TungstenProtobuf_Header_descriptor =
  6617. getDescriptor().getMessageTypes().get(0);
  6618. internal_static_TungstenProtobuf_Header_fieldAccessorTable = new
  6619. com.google.protobuf.GeneratedMessage.FieldAccessorTable(
  6620. internal_static_TungstenProtobuf_Header_descriptor,
  6621. new java.lang.String[] { "Seqno", "Fragno", "LastFrag", "SourceTstamp", "ExtractedTstamp", "SourceId", "EpochNumber", "EventId", "ShardId", "FilteredEvent", "SeqnoEnd", "FragnoEnd", },
  6622. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header.class,
  6623. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header.Builder.class);
  6624. internal_static_TungstenProtobuf_ProtobufOneRowChange_descriptor =
  6625. getDescriptor().getMessageTypes().get(1);
  6626. internal_static_TungstenProtobuf_ProtobufOneRowChange_fieldAccessorTable = new
  6627. com.google.protobuf.GeneratedMessage.FieldAccessorTable(
  6628. internal_static_TungstenProtobuf_ProtobufOneRowChange_descriptor,
  6629. new java.lang.String[] { "SchemaName", "TableName", "Action", "KeySpec", "ColumnSpec", "KeyValues", "ColumnValues", "TableId", },
  6630. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.class,
  6631. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.Builder.class);
  6632. internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufColumnSpec_descriptor =
  6633. internal_static_TungstenProtobuf_ProtobufOneRowChange_descriptor.getNestedTypes().get(0);
  6634. internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufColumnSpec_fieldAccessorTable = new
  6635. com.google.protobuf.GeneratedMessage.FieldAccessorTable(
  6636. internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufColumnSpec_descriptor,
  6637. new java.lang.String[] { "Index", "Name", "Type", "Signed", "Length", "NotNull", },
  6638. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.class,
  6639. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.Builder.class);
  6640. internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_descriptor =
  6641. internal_static_TungstenProtobuf_ProtobufOneRowChange_descriptor.getNestedTypes().get(1);
  6642. internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_fieldAccessorTable = new
  6643. com.google.protobuf.GeneratedMessage.FieldAccessorTable(
  6644. internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_descriptor,
  6645. new java.lang.String[] { "ColumnValue", },
  6646. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.class,
  6647. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.Builder.class);
  6648. internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_ProtobufColumnVal_descriptor =
  6649. internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_descriptor.getNestedTypes().get(0);
  6650. internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_ProtobufColumnVal_fieldAccessorTable = new
  6651. com.google.protobuf.GeneratedMessage.FieldAccessorTable(
  6652. internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_ProtobufColumnVal_descriptor,
  6653. new java.lang.String[] { "Type", "IntValue", "LongValue", "FloatValue", "DoubleValue", "StringValue", "BytesValue", },
  6654. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.class,
  6655. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Builder.class);
  6656. internal_static_TungstenProtobuf_ProtobufRowChangeData_descriptor =
  6657. getDescriptor().getMessageTypes().get(2);
  6658. internal_static_TungstenProtobuf_ProtobufRowChangeData_fieldAccessorTable = new
  6659. com.google.protobuf.GeneratedMessage.FieldAccessorTable(
  6660. internal_static_TungstenProtobuf_ProtobufRowChangeData_descriptor,
  6661. new java.lang.String[] { "RowChange", "Options", },
  6662. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.class,
  6663. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.Builder.class);
  6664. internal_static_TungstenProtobuf_ProtobufOneChange_descriptor =
  6665. getDescriptor().getMessageTypes().get(3);
  6666. internal_static_TungstenProtobuf_ProtobufOneChange_fieldAccessorTable = new
  6667. com.google.protobuf.GeneratedMessage.FieldAccessorTable(
  6668. internal_static_TungstenProtobuf_ProtobufOneChange_descriptor,
  6669. new java.lang.String[] { "Type", "Data", "Statement", "RowId", "FileFragment", "FileQuery", "FileDelete", },
  6670. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.class,
  6671. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Builder.class);
  6672. internal_static_TungstenProtobuf_ProtobufReplDBMSEvent_descriptor =
  6673. getDescriptor().getMessageTypes().get(4);
  6674. internal_static_TungstenProtobuf_ProtobufReplDBMSEvent_fieldAccessorTable = new
  6675. com.google.protobuf.GeneratedMessage.FieldAccessorTable(
  6676. internal_static_TungstenProtobuf_ProtobufReplDBMSEvent_descriptor,
  6677. new java.lang.String[] { "Change", "Metadata", "Options", },
  6678. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent.class,
  6679. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent.Builder.class);
  6680. internal_static_TungstenProtobuf_ProtobufStatementData_descriptor =
  6681. getDescriptor().getMessageTypes().get(5);
  6682. internal_static_TungstenProtobuf_ProtobufStatementData_fieldAccessorTable = new
  6683. com.google.protobuf.GeneratedMessage.FieldAccessorTable(
  6684. internal_static_TungstenProtobuf_ProtobufStatementData_descriptor,
  6685. new java.lang.String[] { "DefaultSchema", "Timestamp", "Query", "Options", "ErrorCode", "QueryBytes", },
  6686. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.class,
  6687. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.Builder.class);
  6688. internal_static_TungstenProtobuf_ProtobufEventOption_descriptor =
  6689. getDescriptor().getMessageTypes().get(6);
  6690. internal_static_TungstenProtobuf_ProtobufEventOption_fieldAccessorTable = new
  6691. com.google.protobuf.GeneratedMessage.FieldAccessorTable(
  6692. internal_static_TungstenProtobuf_ProtobufEventOption_descriptor,
  6693. new java.lang.String[] { "Name", "Value", },
  6694. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.class,
  6695. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder.class);
  6696. internal_static_TungstenProtobuf_ProtobufRowIdData_descriptor =
  6697. getDescriptor().getMessageTypes().get(7);
  6698. internal_static_TungstenProtobuf_ProtobufRowIdData_fieldAccessorTable = new
  6699. com.google.protobuf.GeneratedMessage.FieldAccessorTable(
  6700. internal_static_TungstenProtobuf_ProtobufRowIdData_descriptor,
  6701. new java.lang.String[] { "Id", "Type", },
  6702. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.class,
  6703. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.Builder.class);
  6704. internal_static_TungstenProtobuf_ProtobufLoadDataFileFragment_descriptor =
  6705. getDescriptor().getMessageTypes().get(8);
  6706. internal_static_TungstenProtobuf_ProtobufLoadDataFileFragment_fieldAccessorTable = new
  6707. com.google.protobuf.GeneratedMessage.FieldAccessorTable(
  6708. internal_static_TungstenProtobuf_ProtobufLoadDataFileFragment_descriptor,
  6709. new java.lang.String[] { "FileId", "Data", "Database", },
  6710. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.class,
  6711. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.Builder.class);
  6712. internal_static_TungstenProtobuf_ProtobufLoadDataFileQuery_descriptor =
  6713. getDescriptor().getMessageTypes().get(9);
  6714. internal_static_TungstenProtobuf_ProtobufLoadDataFileQuery_fieldAccessorTable = new
  6715. com.google.protobuf.GeneratedMessage.FieldAccessorTable(
  6716. internal_static_TungstenProtobuf_ProtobufLoadDataFileQuery_descriptor,
  6717. new java.lang.String[] { "Statement", "FileId", "FilenameStartPos", "FilenameEndPos", },
  6718. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.class,
  6719. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.Builder.class);
  6720. internal_static_TungstenProtobuf_ProtobufLoadDataFileDelete_descriptor =
  6721. getDescriptor().getMessageTypes().get(10);
  6722. internal_static_TungstenProtobuf_ProtobufLoadDataFileDelete_fieldAccessorTable = new
  6723. com.google.protobuf.GeneratedMessage.FieldAccessorTable(
  6724. internal_static_TungstenProtobuf_ProtobufLoadDataFileDelete_descriptor,
  6725. new java.lang.String[] { "Int32", },
  6726. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.class,
  6727. com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.Builder.class);
  6728. return null;
  6729. }
  6730. };
  6731. com.google.protobuf.Descriptors.FileDescriptor
  6732. .internalBuildGeneratedFileFrom(descriptorData,
  6733. new com.google.protobuf.Descriptors.FileDescriptor[] {
  6734. }, assigner);
  6735. }
  6736. public static void internalForceInit() {}
  6737. // @@protoc_insertion_point(outer_class_scope)
  6738. }