PageRenderTime 76ms CodeModel.GetById 34ms RepoModel.GetById 0ms app.codeStats 3ms

/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

Large files files are truncated, but you can click here to view the full file

  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),

Large files files are truncated, but you can click here to view the full file