/replicator/src/java/com/continuent/tungsten/replicator/thl/protobuf/TungstenProtos.java
Java | 7304 lines | 6548 code | 566 blank | 190 comment | 758 complexity | 8b1b5a89f180cbaf10eb3d1b5d7b198a MD5 | raw file
Possible License(s): GPL-2.0
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: TungstenProtobufMessage
- package com.continuent.tungsten.replicator.thl.protobuf;
- public final class TungstenProtos {
- private TungstenProtos() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- }
- public static final class Header extends
- com.google.protobuf.GeneratedMessage {
- // Use Header.newBuilder() to construct.
- private Header() {
- initFields();
- }
- private Header(boolean noInit) {}
-
- private static final Header defaultInstance;
- public static Header getDefaultInstance() {
- return defaultInstance;
- }
-
- public Header getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_Header_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_Header_fieldAccessorTable;
- }
-
- // required int64 seqno = 1;
- public static final int SEQNO_FIELD_NUMBER = 1;
- private boolean hasSeqno;
- private long seqno_ = 0L;
- public boolean hasSeqno() { return hasSeqno; }
- public long getSeqno() { return seqno_; }
-
- // required int32 fragno = 2;
- public static final int FRAGNO_FIELD_NUMBER = 2;
- private boolean hasFragno;
- private int fragno_ = 0;
- public boolean hasFragno() { return hasFragno; }
- public int getFragno() { return fragno_; }
-
- // required bool lastFrag = 3;
- public static final int LASTFRAG_FIELD_NUMBER = 3;
- private boolean hasLastFrag;
- private boolean lastFrag_ = false;
- public boolean hasLastFrag() { return hasLastFrag; }
- public boolean getLastFrag() { return lastFrag_; }
-
- // required int64 sourceTstamp = 4;
- public static final int SOURCETSTAMP_FIELD_NUMBER = 4;
- private boolean hasSourceTstamp;
- private long sourceTstamp_ = 0L;
- public boolean hasSourceTstamp() { return hasSourceTstamp; }
- public long getSourceTstamp() { return sourceTstamp_; }
-
- // required int64 extractedTstamp = 5;
- public static final int EXTRACTEDTSTAMP_FIELD_NUMBER = 5;
- private boolean hasExtractedTstamp;
- private long extractedTstamp_ = 0L;
- public boolean hasExtractedTstamp() { return hasExtractedTstamp; }
- public long getExtractedTstamp() { return extractedTstamp_; }
-
- // required string sourceId = 6;
- public static final int SOURCEID_FIELD_NUMBER = 6;
- private boolean hasSourceId;
- private java.lang.String sourceId_ = "";
- public boolean hasSourceId() { return hasSourceId; }
- public java.lang.String getSourceId() { return sourceId_; }
-
- // required int64 epochNumber = 7;
- public static final int EPOCHNUMBER_FIELD_NUMBER = 7;
- private boolean hasEpochNumber;
- private long epochNumber_ = 0L;
- public boolean hasEpochNumber() { return hasEpochNumber; }
- public long getEpochNumber() { return epochNumber_; }
-
- // required string eventId = 8;
- public static final int EVENTID_FIELD_NUMBER = 8;
- private boolean hasEventId;
- private java.lang.String eventId_ = "";
- public boolean hasEventId() { return hasEventId; }
- public java.lang.String getEventId() { return eventId_; }
-
- // required string shardId = 9;
- public static final int SHARDID_FIELD_NUMBER = 9;
- private boolean hasShardId;
- private java.lang.String shardId_ = "";
- public boolean hasShardId() { return hasShardId; }
- public java.lang.String getShardId() { return shardId_; }
-
- // required bool filteredEvent = 10;
- public static final int FILTEREDEVENT_FIELD_NUMBER = 10;
- private boolean hasFilteredEvent;
- private boolean filteredEvent_ = false;
- public boolean hasFilteredEvent() { return hasFilteredEvent; }
- public boolean getFilteredEvent() { return filteredEvent_; }
-
- // optional int64 seqnoEnd = 11;
- public static final int SEQNOEND_FIELD_NUMBER = 11;
- private boolean hasSeqnoEnd;
- private long seqnoEnd_ = 0L;
- public boolean hasSeqnoEnd() { return hasSeqnoEnd; }
- public long getSeqnoEnd() { return seqnoEnd_; }
-
- // optional int32 fragnoEnd = 12;
- public static final int FRAGNOEND_FIELD_NUMBER = 12;
- private boolean hasFragnoEnd;
- private int fragnoEnd_ = 0;
- public boolean hasFragnoEnd() { return hasFragnoEnd; }
- public int getFragnoEnd() { return fragnoEnd_; }
-
- private void initFields() {
- }
- public final boolean isInitialized() {
- if (!hasSeqno) return false;
- if (!hasFragno) return false;
- if (!hasLastFrag) return false;
- if (!hasSourceTstamp) return false;
- if (!hasExtractedTstamp) return false;
- if (!hasSourceId) return false;
- if (!hasEpochNumber) return false;
- if (!hasEventId) return false;
- if (!hasShardId) return false;
- if (!hasFilteredEvent) return false;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (hasSeqno()) {
- output.writeInt64(1, getSeqno());
- }
- if (hasFragno()) {
- output.writeInt32(2, getFragno());
- }
- if (hasLastFrag()) {
- output.writeBool(3, getLastFrag());
- }
- if (hasSourceTstamp()) {
- output.writeInt64(4, getSourceTstamp());
- }
- if (hasExtractedTstamp()) {
- output.writeInt64(5, getExtractedTstamp());
- }
- if (hasSourceId()) {
- output.writeString(6, getSourceId());
- }
- if (hasEpochNumber()) {
- output.writeInt64(7, getEpochNumber());
- }
- if (hasEventId()) {
- output.writeString(8, getEventId());
- }
- if (hasShardId()) {
- output.writeString(9, getShardId());
- }
- if (hasFilteredEvent()) {
- output.writeBool(10, getFilteredEvent());
- }
- if (hasSeqnoEnd()) {
- output.writeInt64(11, getSeqnoEnd());
- }
- if (hasFragnoEnd()) {
- output.writeInt32(12, getFragnoEnd());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasSeqno()) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(1, getSeqno());
- }
- if (hasFragno()) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(2, getFragno());
- }
- if (hasLastFrag()) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(3, getLastFrag());
- }
- if (hasSourceTstamp()) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(4, getSourceTstamp());
- }
- if (hasExtractedTstamp()) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(5, getExtractedTstamp());
- }
- if (hasSourceId()) {
- size += com.google.protobuf.CodedOutputStream
- .computeStringSize(6, getSourceId());
- }
- if (hasEpochNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(7, getEpochNumber());
- }
- if (hasEventId()) {
- size += com.google.protobuf.CodedOutputStream
- .computeStringSize(8, getEventId());
- }
- if (hasShardId()) {
- size += com.google.protobuf.CodedOutputStream
- .computeStringSize(9, getShardId());
- }
- if (hasFilteredEvent()) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(10, getFilteredEvent());
- }
- if (hasSeqnoEnd()) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(11, getSeqnoEnd());
- }
- if (hasFragnoEnd()) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(12, getFragnoEnd());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header result;
-
- // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header.newBuilder()
- private Builder() {}
-
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header();
- return builder;
- }
-
- protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- if (result == null) {
- throw new IllegalStateException(
- "Cannot call clear() after build().");
- }
- result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header();
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header.getDescriptor();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header getDefaultInstanceForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header.getDefaultInstance();
- }
-
- public boolean isInitialized() {
- return result.isInitialized();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header build() {
- if (result != null && !isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return buildPartial();
- }
-
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header buildPartial() {
- if (result == null) {
- throw new IllegalStateException(
- "build() has already been called on this Builder.");
- }
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header) {
- return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header other) {
- if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header.getDefaultInstance()) return this;
- if (other.hasSeqno()) {
- setSeqno(other.getSeqno());
- }
- if (other.hasFragno()) {
- setFragno(other.getFragno());
- }
- if (other.hasLastFrag()) {
- setLastFrag(other.getLastFrag());
- }
- if (other.hasSourceTstamp()) {
- setSourceTstamp(other.getSourceTstamp());
- }
- if (other.hasExtractedTstamp()) {
- setExtractedTstamp(other.getExtractedTstamp());
- }
- if (other.hasSourceId()) {
- setSourceId(other.getSourceId());
- }
- if (other.hasEpochNumber()) {
- setEpochNumber(other.getEpochNumber());
- }
- if (other.hasEventId()) {
- setEventId(other.getEventId());
- }
- if (other.hasShardId()) {
- setShardId(other.getShardId());
- }
- if (other.hasFilteredEvent()) {
- setFilteredEvent(other.getFilteredEvent());
- }
- if (other.hasSeqnoEnd()) {
- setSeqnoEnd(other.getSeqnoEnd());
- }
- if (other.hasFragnoEnd()) {
- setFragnoEnd(other.getFragnoEnd());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 8: {
- setSeqno(input.readInt64());
- break;
- }
- case 16: {
- setFragno(input.readInt32());
- break;
- }
- case 24: {
- setLastFrag(input.readBool());
- break;
- }
- case 32: {
- setSourceTstamp(input.readInt64());
- break;
- }
- case 40: {
- setExtractedTstamp(input.readInt64());
- break;
- }
- case 50: {
- setSourceId(input.readString());
- break;
- }
- case 56: {
- setEpochNumber(input.readInt64());
- break;
- }
- case 66: {
- setEventId(input.readString());
- break;
- }
- case 74: {
- setShardId(input.readString());
- break;
- }
- case 80: {
- setFilteredEvent(input.readBool());
- break;
- }
- case 88: {
- setSeqnoEnd(input.readInt64());
- break;
- }
- case 96: {
- setFragnoEnd(input.readInt32());
- break;
- }
- }
- }
- }
-
-
- // required int64 seqno = 1;
- public boolean hasSeqno() {
- return result.hasSeqno();
- }
- public long getSeqno() {
- return result.getSeqno();
- }
- public Builder setSeqno(long value) {
- result.hasSeqno = true;
- result.seqno_ = value;
- return this;
- }
- public Builder clearSeqno() {
- result.hasSeqno = false;
- result.seqno_ = 0L;
- return this;
- }
-
- // required int32 fragno = 2;
- public boolean hasFragno() {
- return result.hasFragno();
- }
- public int getFragno() {
- return result.getFragno();
- }
- public Builder setFragno(int value) {
- result.hasFragno = true;
- result.fragno_ = value;
- return this;
- }
- public Builder clearFragno() {
- result.hasFragno = false;
- result.fragno_ = 0;
- return this;
- }
-
- // required bool lastFrag = 3;
- public boolean hasLastFrag() {
- return result.hasLastFrag();
- }
- public boolean getLastFrag() {
- return result.getLastFrag();
- }
- public Builder setLastFrag(boolean value) {
- result.hasLastFrag = true;
- result.lastFrag_ = value;
- return this;
- }
- public Builder clearLastFrag() {
- result.hasLastFrag = false;
- result.lastFrag_ = false;
- return this;
- }
-
- // required int64 sourceTstamp = 4;
- public boolean hasSourceTstamp() {
- return result.hasSourceTstamp();
- }
- public long getSourceTstamp() {
- return result.getSourceTstamp();
- }
- public Builder setSourceTstamp(long value) {
- result.hasSourceTstamp = true;
- result.sourceTstamp_ = value;
- return this;
- }
- public Builder clearSourceTstamp() {
- result.hasSourceTstamp = false;
- result.sourceTstamp_ = 0L;
- return this;
- }
-
- // required int64 extractedTstamp = 5;
- public boolean hasExtractedTstamp() {
- return result.hasExtractedTstamp();
- }
- public long getExtractedTstamp() {
- return result.getExtractedTstamp();
- }
- public Builder setExtractedTstamp(long value) {
- result.hasExtractedTstamp = true;
- result.extractedTstamp_ = value;
- return this;
- }
- public Builder clearExtractedTstamp() {
- result.hasExtractedTstamp = false;
- result.extractedTstamp_ = 0L;
- return this;
- }
-
- // required string sourceId = 6;
- public boolean hasSourceId() {
- return result.hasSourceId();
- }
- public java.lang.String getSourceId() {
- return result.getSourceId();
- }
- public Builder setSourceId(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasSourceId = true;
- result.sourceId_ = value;
- return this;
- }
- public Builder clearSourceId() {
- result.hasSourceId = false;
- result.sourceId_ = getDefaultInstance().getSourceId();
- return this;
- }
-
- // required int64 epochNumber = 7;
- public boolean hasEpochNumber() {
- return result.hasEpochNumber();
- }
- public long getEpochNumber() {
- return result.getEpochNumber();
- }
- public Builder setEpochNumber(long value) {
- result.hasEpochNumber = true;
- result.epochNumber_ = value;
- return this;
- }
- public Builder clearEpochNumber() {
- result.hasEpochNumber = false;
- result.epochNumber_ = 0L;
- return this;
- }
-
- // required string eventId = 8;
- public boolean hasEventId() {
- return result.hasEventId();
- }
- public java.lang.String getEventId() {
- return result.getEventId();
- }
- public Builder setEventId(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasEventId = true;
- result.eventId_ = value;
- return this;
- }
- public Builder clearEventId() {
- result.hasEventId = false;
- result.eventId_ = getDefaultInstance().getEventId();
- return this;
- }
-
- // required string shardId = 9;
- public boolean hasShardId() {
- return result.hasShardId();
- }
- public java.lang.String getShardId() {
- return result.getShardId();
- }
- public Builder setShardId(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasShardId = true;
- result.shardId_ = value;
- return this;
- }
- public Builder clearShardId() {
- result.hasShardId = false;
- result.shardId_ = getDefaultInstance().getShardId();
- return this;
- }
-
- // required bool filteredEvent = 10;
- public boolean hasFilteredEvent() {
- return result.hasFilteredEvent();
- }
- public boolean getFilteredEvent() {
- return result.getFilteredEvent();
- }
- public Builder setFilteredEvent(boolean value) {
- result.hasFilteredEvent = true;
- result.filteredEvent_ = value;
- return this;
- }
- public Builder clearFilteredEvent() {
- result.hasFilteredEvent = false;
- result.filteredEvent_ = false;
- return this;
- }
-
- // optional int64 seqnoEnd = 11;
- public boolean hasSeqnoEnd() {
- return result.hasSeqnoEnd();
- }
- public long getSeqnoEnd() {
- return result.getSeqnoEnd();
- }
- public Builder setSeqnoEnd(long value) {
- result.hasSeqnoEnd = true;
- result.seqnoEnd_ = value;
- return this;
- }
- public Builder clearSeqnoEnd() {
- result.hasSeqnoEnd = false;
- result.seqnoEnd_ = 0L;
- return this;
- }
-
- // optional int32 fragnoEnd = 12;
- public boolean hasFragnoEnd() {
- return result.hasFragnoEnd();
- }
- public int getFragnoEnd() {
- return result.getFragnoEnd();
- }
- public Builder setFragnoEnd(int value) {
- result.hasFragnoEnd = true;
- result.fragnoEnd_ = value;
- return this;
- }
- public Builder clearFragnoEnd() {
- result.hasFragnoEnd = false;
- result.fragnoEnd_ = 0;
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:TungstenProtobuf.Header)
- }
-
- static {
- defaultInstance = new Header(true);
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:TungstenProtobuf.Header)
- }
-
- public static final class ProtobufOneRowChange extends
- com.google.protobuf.GeneratedMessage {
- // Use ProtobufOneRowChange.newBuilder() to construct.
- private ProtobufOneRowChange() {
- initFields();
- }
- private ProtobufOneRowChange(boolean noInit) {}
-
- private static final ProtobufOneRowChange defaultInstance;
- public static ProtobufOneRowChange getDefaultInstance() {
- return defaultInstance;
- }
-
- public ProtobufOneRowChange getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufOneRowChange_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufOneRowChange_fieldAccessorTable;
- }
-
- public enum ActionType
- implements com.google.protobuf.ProtocolMessageEnum {
- INSERT(0, 1),
- DELETE(1, 2),
- UPDATE(2, 3),
- ;
-
-
- public final int getNumber() { return value; }
-
- public static ActionType valueOf(int value) {
- switch (value) {
- case 1: return INSERT;
- case 2: return DELETE;
- case 3: return UPDATE;
- default: return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMap<ActionType>
- internalGetValueMap() {
- return internalValueMap;
- }
- private static com.google.protobuf.Internal.EnumLiteMap<ActionType>
- internalValueMap =
- new com.google.protobuf.Internal.EnumLiteMap<ActionType>() {
- public ActionType findValueByNumber(int number) {
- return ActionType.valueOf(number)
- ; }
- };
-
- public final com.google.protobuf.Descriptors.EnumValueDescriptor
- getValueDescriptor() {
- return getDescriptor().getValues().get(index);
- }
- public final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptorForType() {
- return getDescriptor();
- }
- public static final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptor() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.getDescriptor().getEnumTypes().get(0);
- }
-
- private static final ActionType[] VALUES = {
- INSERT, DELETE, UPDATE,
- };
- public static ActionType valueOf(
- com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
- if (desc.getType() != getDescriptor()) {
- throw new java.lang.IllegalArgumentException(
- "EnumValueDescriptor is not for this type.");
- }
- return VALUES[desc.getIndex()];
- }
- private final int index;
- private final int value;
- private ActionType(int index, int value) {
- this.index = index;
- this.value = value;
- }
-
- static {
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.getDescriptor();
- }
-
- // @@protoc_insertion_point(enum_scope:TungstenProtobuf.ProtobufOneRowChange.ActionType)
- }
-
- public static final class ProtobufColumnSpec extends
- com.google.protobuf.GeneratedMessage {
- // Use ProtobufColumnSpec.newBuilder() to construct.
- private ProtobufColumnSpec() {
- initFields();
- }
- private ProtobufColumnSpec(boolean noInit) {}
-
- private static final ProtobufColumnSpec defaultInstance;
- public static ProtobufColumnSpec getDefaultInstance() {
- return defaultInstance;
- }
-
- public ProtobufColumnSpec getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufColumnSpec_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufColumnSpec_fieldAccessorTable;
- }
-
- // required int32 index = 1;
- public static final int INDEX_FIELD_NUMBER = 1;
- private boolean hasIndex;
- private int index_ = 0;
- public boolean hasIndex() { return hasIndex; }
- public int getIndex() { return index_; }
-
- // optional string name = 2;
- public static final int NAME_FIELD_NUMBER = 2;
- private boolean hasName;
- private java.lang.String name_ = "";
- public boolean hasName() { return hasName; }
- public java.lang.String getName() { return name_; }
-
- // required int32 type = 3;
- public static final int TYPE_FIELD_NUMBER = 3;
- private boolean hasType;
- private int type_ = 0;
- public boolean hasType() { return hasType; }
- public int getType() { return type_; }
-
- // required bool signed = 4;
- public static final int SIGNED_FIELD_NUMBER = 4;
- private boolean hasSigned;
- private boolean signed_ = false;
- public boolean hasSigned() { return hasSigned; }
- public boolean getSigned() { return signed_; }
-
- // required int32 length = 5;
- public static final int LENGTH_FIELD_NUMBER = 5;
- private boolean hasLength;
- private int length_ = 0;
- public boolean hasLength() { return hasLength; }
- public int getLength() { return length_; }
-
- // required bool notNull = 6;
- public static final int NOTNULL_FIELD_NUMBER = 6;
- private boolean hasNotNull;
- private boolean notNull_ = false;
- public boolean hasNotNull() { return hasNotNull; }
- public boolean getNotNull() { return notNull_; }
-
- private void initFields() {
- }
- public final boolean isInitialized() {
- if (!hasIndex) return false;
- if (!hasType) return false;
- if (!hasSigned) return false;
- if (!hasLength) return false;
- if (!hasNotNull) return false;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (hasIndex()) {
- output.writeInt32(1, getIndex());
- }
- if (hasName()) {
- output.writeString(2, getName());
- }
- if (hasType()) {
- output.writeInt32(3, getType());
- }
- if (hasSigned()) {
- output.writeBool(4, getSigned());
- }
- if (hasLength()) {
- output.writeInt32(5, getLength());
- }
- if (hasNotNull()) {
- output.writeBool(6, getNotNull());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasIndex()) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(1, getIndex());
- }
- if (hasName()) {
- size += com.google.protobuf.CodedOutputStream
- .computeStringSize(2, getName());
- }
- if (hasType()) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(3, getType());
- }
- if (hasSigned()) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(4, getSigned());
- }
- if (hasLength()) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(5, getLength());
- }
- if (hasNotNull()) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(6, getNotNull());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec result;
-
- // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.newBuilder()
- private Builder() {}
-
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec();
- return builder;
- }
-
- protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- if (result == null) {
- throw new IllegalStateException(
- "Cannot call clear() after build().");
- }
- result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec();
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.getDescriptor();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec getDefaultInstanceForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.getDefaultInstance();
- }
-
- public boolean isInitialized() {
- return result.isInitialized();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec build() {
- if (result != null && !isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return buildPartial();
- }
-
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec buildPartial() {
- if (result == null) {
- throw new IllegalStateException(
- "build() has already been called on this Builder.");
- }
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec) {
- return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec other) {
- if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.getDefaultInstance()) return this;
- if (other.hasIndex()) {
- setIndex(other.getIndex());
- }
- if (other.hasName()) {
- setName(other.getName());
- }
- if (other.hasType()) {
- setType(other.getType());
- }
- if (other.hasSigned()) {
- setSigned(other.getSigned());
- }
- if (other.hasLength()) {
- setLength(other.getLength());
- }
- if (other.hasNotNull()) {
- setNotNull(other.getNotNull());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 8: {
- setIndex(input.readInt32());
- break;
- }
- case 18: {
- setName(input.readString());
- break;
- }
- case 24: {
- setType(input.readInt32());
- break;
- }
- case 32: {
- setSigned(input.readBool());
- break;
- }
- case 40: {
- setLength(input.readInt32());
- break;
- }
- case 48: {
- setNotNull(input.readBool());
- break;
- }
- }
- }
- }
-
-
- // required int32 index = 1;
- public boolean hasIndex() {
- return result.hasIndex();
- }
- public int getIndex() {
- return result.getIndex();
- }
- public Builder setIndex(int value) {
- result.hasIndex = true;
- result.index_ = value;
- return this;
- }
- public Builder clearIndex() {
- result.hasIndex = false;
- result.index_ = 0;
- return this;
- }
-
- // optional string name = 2;
- public boolean hasName() {
- return result.hasName();
- }
- public java.lang.String getName() {
- return result.getName();
- }
- public Builder setName(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasName = true;
- result.name_ = value;
- return this;
- }
- public Builder clearName() {
- result.hasName = false;
- result.name_ = getDefaultInstance().getName();
- return this;
- }
-
- // required int32 type = 3;
- public boolean hasType() {
- return result.hasType();
- }
- public int getType() {
- return result.getType();
- }
- public Builder setType(int value) {
- result.hasType = true;
- result.type_ = value;
- return this;
- }
- public Builder clearType() {
- result.hasType = false;
- result.type_ = 0;
- return this;
- }
-
- // required bool signed = 4;
- public boolean hasSigned() {
- return result.hasSigned();
- }
- public boolean getSigned() {
- return result.getSigned();
- }
- public Builder setSigned(boolean value) {
- result.hasSigned = true;
- result.signed_ = value;
- return this;
- }
- public Builder clearSigned() {
- result.hasSigned = false;
- result.signed_ = false;
- return this;
- }
-
- // required int32 length = 5;
- public boolean hasLength() {
- return result.hasLength();
- }
- public int getLength() {
- return result.getLength();
- }
- public Builder setLength(int value) {
- result.hasLength = true;
- result.length_ = value;
- return this;
- }
- public Builder clearLength() {
- result.hasLength = false;
- result.length_ = 0;
- return this;
- }
-
- // required bool notNull = 6;
- public boolean hasNotNull() {
- return result.hasNotNull();
- }
- public boolean getNotNull() {
- return result.getNotNull();
- }
- public Builder setNotNull(boolean value) {
- result.hasNotNull = true;
- result.notNull_ = value;
- return this;
- }
- public Builder clearNotNull() {
- result.hasNotNull = false;
- result.notNull_ = false;
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufOneRowChange.ProtobufColumnSpec)
- }
-
- static {
- defaultInstance = new ProtobufColumnSpec(true);
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufOneRowChange.ProtobufColumnSpec)
- }
-
- public static final class ProtobufRowValue extends
- com.google.protobuf.GeneratedMessage {
- // Use ProtobufRowValue.newBuilder() to construct.
- private ProtobufRowValue() {
- initFields();
- }
- private ProtobufRowValue(boolean noInit) {}
-
- private static final ProtobufRowValue defaultInstance;
- public static ProtobufRowValue getDefaultInstance() {
- return defaultInstance;
- }
-
- public ProtobufRowValue getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_fieldAccessorTable;
- }
-
- public static final class ProtobufColumnVal extends
- com.google.protobuf.GeneratedMessage {
- // Use ProtobufColumnVal.newBuilder() to construct.
- private ProtobufColumnVal() {
- initFields();
- }
- private ProtobufColumnVal(boolean noInit) {}
-
- private static final ProtobufColumnVal defaultInstance;
- public static ProtobufColumnVal getDefaultInstance() {
- return defaultInstance;
- }
-
- public ProtobufColumnVal getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_ProtobufColumnVal_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_ProtobufColumnVal_fieldAccessorTable;
- }
-
- public enum Type
- implements com.google.protobuf.ProtocolMessageEnum {
- INT(0, 1),
- LONG(1, 2),
- FLOAT(2, 3),
- DOUBLE(3, 4),
- STRING(4, 5),
- TIMESTAMP(5, 6),
- BIT(6, 7),
- TIME(7, 8),
- DATE(8, 9),
- BLOB(9, 10),
- NULL(10, 11),
- DECIMAL(11, 12),
- BINARYSTRING(12, 13),
- ;
-
-
- public final int getNumber() { return value; }
-
- public static Type valueOf(int value) {
- switch (value) {
- case 1: return INT;
- case 2: return LONG;
- case 3: return FLOAT;
- case 4: return DOUBLE;
- case 5: return STRING;
- case 6: return TIMESTAMP;
- case 7: return BIT;
- case 8: return TIME;
- case 9: return DATE;
- case 10: return BLOB;
- case 11: return NULL;
- case 12: return DECIMAL;
- case 13: return BINARYSTRING;
- default: return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMap<Type>
- internalGetValueMap() {
- return internalValueMap;
- }
- private static com.google.protobuf.Internal.EnumLiteMap<Type>
- internalValueMap =
- new com.google.protobuf.Internal.EnumLiteMap<Type>() {
- public Type findValueByNumber(int number) {
- return Type.valueOf(number)
- ; }
- };
-
- public final com.google.protobuf.Descriptors.EnumValueDescriptor
- getValueDescriptor() {
- return getDescriptor().getValues().get(index);
- }
- public final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptorForType() {
- return getDescriptor();
- }
- public static final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptor() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.getDescriptor().getEnumTypes().get(0);
- }
-
- private static final Type[] VALUES = {
- INT, LONG, FLOAT, DOUBLE, STRING, TIMESTAMP, BIT, TIME, DATE, BLOB, NULL, DECIMAL, BINARYSTRING,
- };
- public static Type valueOf(
- com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
- if (desc.getType() != getDescriptor()) {
- throw new java.lang.IllegalArgumentException(
- "EnumValueDescriptor is not for this type.");
- }
- return VALUES[desc.getIndex()];
- }
- private final int index;
- private final int value;
- private Type(int index, int value) {
- this.index = index;
- this.value = value;
- }
-
- static {
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.getDescriptor();
- }
-
- // @@protoc_insertion_point(enum_scope:TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Type)
- }
-
- // required .TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Type type = 1;
- public static final int TYPE_FIELD_NUMBER = 1;
- private boolean hasType;
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Type type_;
- public boolean hasType() { return hasType; }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Type getType() { return type_; }
-
- // optional sint32 intValue = 2;
- public static final int INTVALUE_FIELD_NUMBER = 2;
- private boolean hasIntValue;
- private int intValue_ = 0;
- public boolean hasIntValue() { return hasIntValue; }
- public int getIntValue() { return intValue_; }
-
- // optional sint64 longValue = 3;
- public static final int LONGVALUE_FIELD_NUMBER = 3;
- private boolean hasLongValue;
- private long longValue_ = 0L;
- public boolean hasLongValue() { return hasLongValue; }
- public long getLongValue() { return longValue_; }
-
- // optional float floatValue = 4;
- public static final int FLOATVALUE_FIELD_NUMBER = 4;
- private boolean hasFloatValue;
- private float floatValue_ = 0F;
- public boolean hasFloatValue() { return hasFloatValue; }
- public float getFloatValue() { return floatValue_; }
-
- // optional double doubleValue = 5;
- public static final int DOUBLEVALUE_FIELD_NUMBER = 5;
- private boolean hasDoubleValue;
- private double doubleValue_ = 0D;
- public boolean hasDoubleValue() { return hasDoubleValue; }
- public double getDoubleValue() { return doubleValue_; }
-
- // optional string stringValue = 6;
- public static final int STRINGVALUE_FIELD_NUMBER = 6;
- private boolean hasStringValue;
- private java.lang.String stringValue_ = "";
- public boolean hasStringValue() { return hasStringValue; }
- public java.lang.String getStringValue() { return stringValue_; }
-
- // optional bytes bytesValue = 7;
- public static final int BYTESVALUE_FIELD_NUMBER = 7;
- private boolean hasBytesValue;
- private com.google.protobuf.ByteString bytesValue_ = com.google.protobuf.ByteString.EMPTY;
- public boolean hasBytesValue() { return hasBytesValue; }
- public com.google.protobuf.ByteString getBytesValue() { return bytesValue_; }
-
- private void initFields() {
- type_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Type.INT;
- }
- public final boolean isInitialized() {
- if (!hasType) return false;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (hasType()) {
- output.writeEnum(1, getType().getNumber());
- }
- if (hasIntValue()) {
- output.writeSInt32(2, getIntValue());
- }
- if (hasLongValue()) {
- output.writeSInt64(3, getLongValue());
- }
- if (hasFloatValue()) {
- output.writeFloat(4, getFloatValue());
- }
- if (hasDoubleValue()) {
- output.writeDouble(5, getDoubleValue());
- }
- if (hasStringValue()) {
- output.writeString(6, getStringValue());
- }
- if (hasBytesValue()) {
- output.writeBytes(7, getBytesValue());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasType()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(1, getType().getNumber());
- }
- if (hasIntValue()) {
- size += com.google.protobuf.CodedOutputStream
- .computeSInt32Size(2, getIntValue());
- }
- if (hasLongValue()) {
- size += com.google.protobuf.CodedOutputStream
- .computeSInt64Size(3, getLongValue());
- }
- if (hasFloatValue()) {
- size += com.google.protobuf.CodedOutputStream
- .computeFloatSize(4, getFloatValue());
- }
- if (hasDoubleValue()) {
- size += com.google.protobuf.CodedOutputStream
- .computeDoubleSize(5, getDoubleValue());
- }
- if (hasStringValue()) {
- size += com.google.protobuf.CodedOutputStream
- .computeStringSize(6, getStringValue());
- }
- if (hasBytesValue()) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(7, getBytesValue());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal result;
-
- // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.newBuilder()
- private Builder() {}
-
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal();
- return builder;
- }
-
- protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- if (result == null) {
- throw new IllegalStateException(
- "Cannot call clear() after build().");
- }
- result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal();
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.getDescriptor();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal getDefaultInstanceForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.getDefaultInstance();
- }
-
- public boolean isInitialized() {
- return result.isInitialized();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal build() {
- if (result != null && !isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return buildPartial();
- }
-
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal buildPartial() {
- if (result == null) {
- throw new IllegalStateException(
- "build() has already been called on this Builder.");
- }
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal) {
- return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal other) {
- if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.getDefaultInstance()) return this;
- if (other.hasType()) {
- setType(other.getType());
- }
- if (other.hasIntValue()) {
- setIntValue(other.getIntValue());
- }
- if (other.hasLongValue()) {
- setLongValue(other.getLongValue());
- }
- if (other.hasFloatValue()) {
- setFloatValue(other.getFloatValue());
- }
- if (other.hasDoubleValue()) {
- setDoubleValue(other.getDoubleValue());
- }
- if (other.hasStringValue()) {
- setStringValue(other.getStringValue());
- }
- if (other.hasBytesValue()) {
- setBytesValue(other.getBytesValue());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 8: {
- int rawValue = input.readEnum();
- 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);
- if (value == null) {
- unknownFields.mergeVarintField(1, rawValue);
- } else {
- setType(value);
- }
- break;
- }
- case 16: {
- setIntValue(input.readSInt32());
- break;
- }
- case 24: {
- setLongValue(input.readSInt64());
- break;
- }
- case 37: {
- setFloatValue(input.readFloat());
- break;
- }
- case 41: {
- setDoubleValue(input.readDouble());
- break;
- }
- case 50: {
- setStringValue(input.readString());
- break;
- }
- case 58: {
- setBytesValue(input.readBytes());
- break;
- }
- }
- }
- }
-
-
- // required .TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Type type = 1;
- public boolean hasType() {
- return result.hasType();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Type getType() {
- return result.getType();
- }
- public Builder setType(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Type value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasType = true;
- result.type_ = value;
- return this;
- }
- public Builder clearType() {
- result.hasType = false;
- result.type_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Type.INT;
- return this;
- }
-
- // optional sint32 intValue = 2;
- public boolean hasIntValue() {
- return result.hasIntValue();
- }
- public int getIntValue() {
- return result.getIntValue();
- }
- public Builder setIntValue(int value) {
- result.hasIntValue = true;
- result.intValue_ = value;
- return this;
- }
- public Builder clearIntValue() {
- result.hasIntValue = false;
- result.intValue_ = 0;
- return this;
- }
-
- // optional sint64 longValue = 3;
- public boolean hasLongValue() {
- return result.hasLongValue();
- }
- public long getLongValue() {
- return result.getLongValue();
- }
- public Builder setLongValue(long value) {
- result.hasLongValue = true;
- result.longValue_ = value;
- return this;
- }
- public Builder clearLongValue() {
- result.hasLongValue = false;
- result.longValue_ = 0L;
- return this;
- }
-
- // optional float floatValue = 4;
- public boolean hasFloatValue() {
- return result.hasFloatValue();
- }
- public float getFloatValue() {
- return result.getFloatValue();
- }
- public Builder setFloatValue(float value) {
- result.hasFloatValue = true;
- result.floatValue_ = value;
- return this;
- }
- public Builder clearFloatValue() {
- result.hasFloatValue = false;
- result.floatValue_ = 0F;
- return this;
- }
-
- // optional double doubleValue = 5;
- public boolean hasDoubleValue() {
- return result.hasDoubleValue();
- }
- public double getDoubleValue() {
- return result.getDoubleValue();
- }
- public Builder setDoubleValue(double value) {
- result.hasDoubleValue = true;
- result.doubleValue_ = value;
- return this;
- }
- public Builder clearDoubleValue() {
- result.hasDoubleValue = false;
- result.doubleValue_ = 0D;
- return this;
- }
-
- // optional string stringValue = 6;
- public boolean hasStringValue() {
- return result.hasStringValue();
- }
- public java.lang.String getStringValue() {
- return result.getStringValue();
- }
- public Builder setStringValue(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasStringValue = true;
- result.stringValue_ = value;
- return this;
- }
- public Builder clearStringValue() {
- result.hasStringValue = false;
- result.stringValue_ = getDefaultInstance().getStringValue();
- return this;
- }
-
- // optional bytes bytesValue = 7;
- public boolean hasBytesValue() {
- return result.hasBytesValue();
- }
- public com.google.protobuf.ByteString getBytesValue() {
- return result.getBytesValue();
- }
- public Builder setBytesValue(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasBytesValue = true;
- result.bytesValue_ = value;
- return this;
- }
- public Builder clearBytesValue() {
- result.hasBytesValue = false;
- result.bytesValue_ = getDefaultInstance().getBytesValue();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal)
- }
-
- static {
- defaultInstance = new ProtobufColumnVal(true);
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal)
- }
-
- // repeated .TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal columnValue = 1;
- public static final int COLUMNVALUE_FIELD_NUMBER = 1;
- private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal> columnValue_ =
- java.util.Collections.emptyList();
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal> getColumnValueList() {
- return columnValue_;
- }
- public int getColumnValueCount() { return columnValue_.size(); }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal getColumnValue(int index) {
- return columnValue_.get(index);
- }
-
- private void initFields() {
- }
- public final boolean isInitialized() {
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal element : getColumnValueList()) {
- if (!element.isInitialized()) return false;
- }
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal element : getColumnValueList()) {
- output.writeMessage(1, element);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal element : getColumnValueList()) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, element);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue result;
-
- // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.newBuilder()
- private Builder() {}
-
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue();
- return builder;
- }
-
- protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- if (result == null) {
- throw new IllegalStateException(
- "Cannot call clear() after build().");
- }
- result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue();
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.getDescriptor();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue getDefaultInstanceForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.getDefaultInstance();
- }
-
- public boolean isInitialized() {
- return result.isInitialized();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue build() {
- if (result != null && !isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return buildPartial();
- }
-
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue buildPartial() {
- if (result == null) {
- throw new IllegalStateException(
- "build() has already been called on this Builder.");
- }
- if (result.columnValue_ != java.util.Collections.EMPTY_LIST) {
- result.columnValue_ =
- java.util.Collections.unmodifiableList(result.columnValue_);
- }
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue) {
- return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue other) {
- if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.getDefaultInstance()) return this;
- if (!other.columnValue_.isEmpty()) {
- if (result.columnValue_.isEmpty()) {
- result.columnValue_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal>();
- }
- result.columnValue_.addAll(other.columnValue_);
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 10: {
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addColumnValue(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
-
- // repeated .TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal columnValue = 1;
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal> getColumnValueList() {
- return java.util.Collections.unmodifiableList(result.columnValue_);
- }
- public int getColumnValueCount() {
- return result.getColumnValueCount();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal getColumnValue(int index) {
- return result.getColumnValue(index);
- }
- public Builder setColumnValue(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.columnValue_.set(index, value);
- return this;
- }
- public Builder setColumnValue(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Builder builderForValue) {
- result.columnValue_.set(index, builderForValue.build());
- return this;
- }
- public Builder addColumnValue(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal value) {
- if (value == null) {
- throw new NullPointerException();
- }
- if (result.columnValue_.isEmpty()) {
- result.columnValue_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal>();
- }
- result.columnValue_.add(value);
- return this;
- }
- public Builder addColumnValue(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Builder builderForValue) {
- if (result.columnValue_.isEmpty()) {
- result.columnValue_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal>();
- }
- result.columnValue_.add(builderForValue.build());
- return this;
- }
- public Builder addAllColumnValue(
- java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal> values) {
- if (result.columnValue_.isEmpty()) {
- result.columnValue_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal>();
- }
- super.addAll(values, result.columnValue_);
- return this;
- }
- public Builder clearColumnValue() {
- result.columnValue_ = java.util.Collections.emptyList();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue)
- }
-
- static {
- defaultInstance = new ProtobufRowValue(true);
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue)
- }
-
- // required string schemaName = 1;
- public static final int SCHEMANAME_FIELD_NUMBER = 1;
- private boolean hasSchemaName;
- private java.lang.String schemaName_ = "";
- public boolean hasSchemaName() { return hasSchemaName; }
- public java.lang.String getSchemaName() { return schemaName_; }
-
- // required string tableName = 2;
- public static final int TABLENAME_FIELD_NUMBER = 2;
- private boolean hasTableName;
- private java.lang.String tableName_ = "";
- public boolean hasTableName() { return hasTableName; }
- public java.lang.String getTableName() { return tableName_; }
-
- // required .TungstenProtobuf.ProtobufOneRowChange.ActionType action = 3;
- public static final int ACTION_FIELD_NUMBER = 3;
- private boolean hasAction;
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ActionType action_;
- public boolean hasAction() { return hasAction; }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ActionType getAction() { return action_; }
-
- // repeated .TungstenProtobuf.ProtobufOneRowChange.ProtobufColumnSpec keySpec = 4;
- public static final int KEYSPEC_FIELD_NUMBER = 4;
- private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec> keySpec_ =
- java.util.Collections.emptyList();
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec> getKeySpecList() {
- return keySpec_;
- }
- public int getKeySpecCount() { return keySpec_.size(); }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec getKeySpec(int index) {
- return keySpec_.get(index);
- }
-
- // repeated .TungstenProtobuf.ProtobufOneRowChange.ProtobufColumnSpec columnSpec = 5;
- public static final int COLUMNSPEC_FIELD_NUMBER = 5;
- private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec> columnSpec_ =
- java.util.Collections.emptyList();
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec> getColumnSpecList() {
- return columnSpec_;
- }
- public int getColumnSpecCount() { return columnSpec_.size(); }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec getColumnSpec(int index) {
- return columnSpec_.get(index);
- }
-
- // repeated .TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue keyValues = 6;
- public static final int KEYVALUES_FIELD_NUMBER = 6;
- private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue> keyValues_ =
- java.util.Collections.emptyList();
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue> getKeyValuesList() {
- return keyValues_;
- }
- public int getKeyValuesCount() { return keyValues_.size(); }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue getKeyValues(int index) {
- return keyValues_.get(index);
- }
-
- // repeated .TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue columnValues = 7;
- public static final int COLUMNVALUES_FIELD_NUMBER = 7;
- private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue> columnValues_ =
- java.util.Collections.emptyList();
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue> getColumnValuesList() {
- return columnValues_;
- }
- public int getColumnValuesCount() { return columnValues_.size(); }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue getColumnValues(int index) {
- return columnValues_.get(index);
- }
-
- // optional sint64 tableId = 8;
- public static final int TABLEID_FIELD_NUMBER = 8;
- private boolean hasTableId;
- private long tableId_ = 0L;
- public boolean hasTableId() { return hasTableId; }
- public long getTableId() { return tableId_; }
-
- private void initFields() {
- action_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ActionType.INSERT;
- }
- public final boolean isInitialized() {
- if (!hasSchemaName) return false;
- if (!hasTableName) return false;
- if (!hasAction) return false;
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec element : getKeySpecList()) {
- if (!element.isInitialized()) return false;
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec element : getColumnSpecList()) {
- if (!element.isInitialized()) return false;
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue element : getKeyValuesList()) {
- if (!element.isInitialized()) return false;
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue element : getColumnValuesList()) {
- if (!element.isInitialized()) return false;
- }
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (hasSchemaName()) {
- output.writeString(1, getSchemaName());
- }
- if (hasTableName()) {
- output.writeString(2, getTableName());
- }
- if (hasAction()) {
- output.writeEnum(3, getAction().getNumber());
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec element : getKeySpecList()) {
- output.writeMessage(4, element);
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec element : getColumnSpecList()) {
- output.writeMessage(5, element);
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue element : getKeyValuesList()) {
- output.writeMessage(6, element);
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue element : getColumnValuesList()) {
- output.writeMessage(7, element);
- }
- if (hasTableId()) {
- output.writeSInt64(8, getTableId());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasSchemaName()) {
- size += com.google.protobuf.CodedOutputStream
- .computeStringSize(1, getSchemaName());
- }
- if (hasTableName()) {
- size += com.google.protobuf.CodedOutputStream
- .computeStringSize(2, getTableName());
- }
- if (hasAction()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(3, getAction().getNumber());
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec element : getKeySpecList()) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, element);
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec element : getColumnSpecList()) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, element);
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue element : getKeyValuesList()) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(6, element);
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue element : getColumnValuesList()) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(7, element);
- }
- if (hasTableId()) {
- size += com.google.protobuf.CodedOutputStream
- .computeSInt64Size(8, getTableId());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange result;
-
- // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.newBuilder()
- private Builder() {}
-
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange();
- return builder;
- }
-
- protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- if (result == null) {
- throw new IllegalStateException(
- "Cannot call clear() after build().");
- }
- result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange();
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.getDescriptor();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange getDefaultInstanceForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.getDefaultInstance();
- }
-
- public boolean isInitialized() {
- return result.isInitialized();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange build() {
- if (result != null && !isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return buildPartial();
- }
-
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange buildPartial() {
- if (result == null) {
- throw new IllegalStateException(
- "build() has already been called on this Builder.");
- }
- if (result.keySpec_ != java.util.Collections.EMPTY_LIST) {
- result.keySpec_ =
- java.util.Collections.unmodifiableList(result.keySpec_);
- }
- if (result.columnSpec_ != java.util.Collections.EMPTY_LIST) {
- result.columnSpec_ =
- java.util.Collections.unmodifiableList(result.columnSpec_);
- }
- if (result.keyValues_ != java.util.Collections.EMPTY_LIST) {
- result.keyValues_ =
- java.util.Collections.unmodifiableList(result.keyValues_);
- }
- if (result.columnValues_ != java.util.Collections.EMPTY_LIST) {
- result.columnValues_ =
- java.util.Collections.unmodifiableList(result.columnValues_);
- }
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange) {
- return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange other) {
- if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.getDefaultInstance()) return this;
- if (other.hasSchemaName()) {
- setSchemaName(other.getSchemaName());
- }
- if (other.hasTableName()) {
- setTableName(other.getTableName());
- }
- if (other.hasAction()) {
- setAction(other.getAction());
- }
- if (!other.keySpec_.isEmpty()) {
- if (result.keySpec_.isEmpty()) {
- result.keySpec_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec>();
- }
- result.keySpec_.addAll(other.keySpec_);
- }
- if (!other.columnSpec_.isEmpty()) {
- if (result.columnSpec_.isEmpty()) {
- result.columnSpec_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec>();
- }
- result.columnSpec_.addAll(other.columnSpec_);
- }
- if (!other.keyValues_.isEmpty()) {
- if (result.keyValues_.isEmpty()) {
- result.keyValues_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue>();
- }
- result.keyValues_.addAll(other.keyValues_);
- }
- if (!other.columnValues_.isEmpty()) {
- if (result.columnValues_.isEmpty()) {
- result.columnValues_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue>();
- }
- result.columnValues_.addAll(other.columnValues_);
- }
- if (other.hasTableId()) {
- setTableId(other.getTableId());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 10: {
- setSchemaName(input.readString());
- break;
- }
- case 18: {
- setTableName(input.readString());
- break;
- }
- case 24: {
- int rawValue = input.readEnum();
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ActionType value = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ActionType.valueOf(rawValue);
- if (value == null) {
- unknownFields.mergeVarintField(3, rawValue);
- } else {
- setAction(value);
- }
- break;
- }
- case 34: {
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addKeySpec(subBuilder.buildPartial());
- break;
- }
- case 42: {
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addColumnSpec(subBuilder.buildPartial());
- break;
- }
- case 50: {
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addKeyValues(subBuilder.buildPartial());
- break;
- }
- case 58: {
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addColumnValues(subBuilder.buildPartial());
- break;
- }
- case 64: {
- setTableId(input.readSInt64());
- break;
- }
- }
- }
- }
-
-
- // required string schemaName = 1;
- public boolean hasSchemaName() {
- return result.hasSchemaName();
- }
- public java.lang.String getSchemaName() {
- return result.getSchemaName();
- }
- public Builder setSchemaName(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasSchemaName = true;
- result.schemaName_ = value;
- return this;
- }
- public Builder clearSchemaName() {
- result.hasSchemaName = false;
- result.schemaName_ = getDefaultInstance().getSchemaName();
- return this;
- }
-
- // required string tableName = 2;
- public boolean hasTableName() {
- return result.hasTableName();
- }
- public java.lang.String getTableName() {
- return result.getTableName();
- }
- public Builder setTableName(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasTableName = true;
- result.tableName_ = value;
- return this;
- }
- public Builder clearTableName() {
- result.hasTableName = false;
- result.tableName_ = getDefaultInstance().getTableName();
- return this;
- }
-
- // required .TungstenProtobuf.ProtobufOneRowChange.ActionType action = 3;
- public boolean hasAction() {
- return result.hasAction();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ActionType getAction() {
- return result.getAction();
- }
- public Builder setAction(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ActionType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasAction = true;
- result.action_ = value;
- return this;
- }
- public Builder clearAction() {
- result.hasAction = false;
- result.action_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ActionType.INSERT;
- return this;
- }
-
- // repeated .TungstenProtobuf.ProtobufOneRowChange.ProtobufColumnSpec keySpec = 4;
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec> getKeySpecList() {
- return java.util.Collections.unmodifiableList(result.keySpec_);
- }
- public int getKeySpecCount() {
- return result.getKeySpecCount();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec getKeySpec(int index) {
- return result.getKeySpec(index);
- }
- public Builder setKeySpec(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.keySpec_.set(index, value);
- return this;
- }
- public Builder setKeySpec(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.Builder builderForValue) {
- result.keySpec_.set(index, builderForValue.build());
- return this;
- }
- public Builder addKeySpec(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec value) {
- if (value == null) {
- throw new NullPointerException();
- }
- if (result.keySpec_.isEmpty()) {
- result.keySpec_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec>();
- }
- result.keySpec_.add(value);
- return this;
- }
- public Builder addKeySpec(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.Builder builderForValue) {
- if (result.keySpec_.isEmpty()) {
- result.keySpec_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec>();
- }
- result.keySpec_.add(builderForValue.build());
- return this;
- }
- public Builder addAllKeySpec(
- java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec> values) {
- if (result.keySpec_.isEmpty()) {
- result.keySpec_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec>();
- }
- super.addAll(values, result.keySpec_);
- return this;
- }
- public Builder clearKeySpec() {
- result.keySpec_ = java.util.Collections.emptyList();
- return this;
- }
-
- // repeated .TungstenProtobuf.ProtobufOneRowChange.ProtobufColumnSpec columnSpec = 5;
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec> getColumnSpecList() {
- return java.util.Collections.unmodifiableList(result.columnSpec_);
- }
- public int getColumnSpecCount() {
- return result.getColumnSpecCount();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec getColumnSpec(int index) {
- return result.getColumnSpec(index);
- }
- public Builder setColumnSpec(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.columnSpec_.set(index, value);
- return this;
- }
- public Builder setColumnSpec(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.Builder builderForValue) {
- result.columnSpec_.set(index, builderForValue.build());
- return this;
- }
- public Builder addColumnSpec(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec value) {
- if (value == null) {
- throw new NullPointerException();
- }
- if (result.columnSpec_.isEmpty()) {
- result.columnSpec_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec>();
- }
- result.columnSpec_.add(value);
- return this;
- }
- public Builder addColumnSpec(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.Builder builderForValue) {
- if (result.columnSpec_.isEmpty()) {
- result.columnSpec_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec>();
- }
- result.columnSpec_.add(builderForValue.build());
- return this;
- }
- public Builder addAllColumnSpec(
- java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec> values) {
- if (result.columnSpec_.isEmpty()) {
- result.columnSpec_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec>();
- }
- super.addAll(values, result.columnSpec_);
- return this;
- }
- public Builder clearColumnSpec() {
- result.columnSpec_ = java.util.Collections.emptyList();
- return this;
- }
-
- // repeated .TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue keyValues = 6;
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue> getKeyValuesList() {
- return java.util.Collections.unmodifiableList(result.keyValues_);
- }
- public int getKeyValuesCount() {
- return result.getKeyValuesCount();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue getKeyValues(int index) {
- return result.getKeyValues(index);
- }
- public Builder setKeyValues(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.keyValues_.set(index, value);
- return this;
- }
- public Builder setKeyValues(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.Builder builderForValue) {
- result.keyValues_.set(index, builderForValue.build());
- return this;
- }
- public Builder addKeyValues(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue value) {
- if (value == null) {
- throw new NullPointerException();
- }
- if (result.keyValues_.isEmpty()) {
- result.keyValues_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue>();
- }
- result.keyValues_.add(value);
- return this;
- }
- public Builder addKeyValues(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.Builder builderForValue) {
- if (result.keyValues_.isEmpty()) {
- result.keyValues_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue>();
- }
- result.keyValues_.add(builderForValue.build());
- return this;
- }
- public Builder addAllKeyValues(
- java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue> values) {
- if (result.keyValues_.isEmpty()) {
- result.keyValues_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue>();
- }
- super.addAll(values, result.keyValues_);
- return this;
- }
- public Builder clearKeyValues() {
- result.keyValues_ = java.util.Collections.emptyList();
- return this;
- }
-
- // repeated .TungstenProtobuf.ProtobufOneRowChange.ProtobufRowValue columnValues = 7;
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue> getColumnValuesList() {
- return java.util.Collections.unmodifiableList(result.columnValues_);
- }
- public int getColumnValuesCount() {
- return result.getColumnValuesCount();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue getColumnValues(int index) {
- return result.getColumnValues(index);
- }
- public Builder setColumnValues(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.columnValues_.set(index, value);
- return this;
- }
- public Builder setColumnValues(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.Builder builderForValue) {
- result.columnValues_.set(index, builderForValue.build());
- return this;
- }
- public Builder addColumnValues(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue value) {
- if (value == null) {
- throw new NullPointerException();
- }
- if (result.columnValues_.isEmpty()) {
- result.columnValues_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue>();
- }
- result.columnValues_.add(value);
- return this;
- }
- public Builder addColumnValues(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.Builder builderForValue) {
- if (result.columnValues_.isEmpty()) {
- result.columnValues_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue>();
- }
- result.columnValues_.add(builderForValue.build());
- return this;
- }
- public Builder addAllColumnValues(
- java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue> values) {
- if (result.columnValues_.isEmpty()) {
- result.columnValues_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue>();
- }
- super.addAll(values, result.columnValues_);
- return this;
- }
- public Builder clearColumnValues() {
- result.columnValues_ = java.util.Collections.emptyList();
- return this;
- }
-
- // optional sint64 tableId = 8;
- public boolean hasTableId() {
- return result.hasTableId();
- }
- public long getTableId() {
- return result.getTableId();
- }
- public Builder setTableId(long value) {
- result.hasTableId = true;
- result.tableId_ = value;
- return this;
- }
- public Builder clearTableId() {
- result.hasTableId = false;
- result.tableId_ = 0L;
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufOneRowChange)
- }
-
- static {
- defaultInstance = new ProtobufOneRowChange(true);
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufOneRowChange)
- }
-
- public static final class ProtobufRowChangeData extends
- com.google.protobuf.GeneratedMessage {
- // Use ProtobufRowChangeData.newBuilder() to construct.
- private ProtobufRowChangeData() {
- initFields();
- }
- private ProtobufRowChangeData(boolean noInit) {}
-
- private static final ProtobufRowChangeData defaultInstance;
- public static ProtobufRowChangeData getDefaultInstance() {
- return defaultInstance;
- }
-
- public ProtobufRowChangeData getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufRowChangeData_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufRowChangeData_fieldAccessorTable;
- }
-
- // repeated .TungstenProtobuf.ProtobufOneRowChange rowChange = 1;
- public static final int ROWCHANGE_FIELD_NUMBER = 1;
- private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange> rowChange_ =
- java.util.Collections.emptyList();
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange> getRowChangeList() {
- return rowChange_;
- }
- public int getRowChangeCount() { return rowChange_.size(); }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange getRowChange(int index) {
- return rowChange_.get(index);
- }
-
- // repeated .TungstenProtobuf.ProtobufEventOption options = 2;
- public static final int OPTIONS_FIELD_NUMBER = 2;
- private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> options_ =
- java.util.Collections.emptyList();
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> getOptionsList() {
- return options_;
- }
- public int getOptionsCount() { return options_.size(); }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption getOptions(int index) {
- return options_.get(index);
- }
-
- private void initFields() {
- }
- public final boolean isInitialized() {
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange element : getRowChangeList()) {
- if (!element.isInitialized()) return false;
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getOptionsList()) {
- if (!element.isInitialized()) return false;
- }
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange element : getRowChangeList()) {
- output.writeMessage(1, element);
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getOptionsList()) {
- output.writeMessage(2, element);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange element : getRowChangeList()) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, element);
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getOptionsList()) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, element);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData result;
-
- // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.newBuilder()
- private Builder() {}
-
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData();
- return builder;
- }
-
- protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- if (result == null) {
- throw new IllegalStateException(
- "Cannot call clear() after build().");
- }
- result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData();
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.getDescriptor();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData getDefaultInstanceForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.getDefaultInstance();
- }
-
- public boolean isInitialized() {
- return result.isInitialized();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData build() {
- if (result != null && !isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return buildPartial();
- }
-
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData buildPartial() {
- if (result == null) {
- throw new IllegalStateException(
- "build() has already been called on this Builder.");
- }
- if (result.rowChange_ != java.util.Collections.EMPTY_LIST) {
- result.rowChange_ =
- java.util.Collections.unmodifiableList(result.rowChange_);
- }
- if (result.options_ != java.util.Collections.EMPTY_LIST) {
- result.options_ =
- java.util.Collections.unmodifiableList(result.options_);
- }
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData) {
- return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData other) {
- if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.getDefaultInstance()) return this;
- if (!other.rowChange_.isEmpty()) {
- if (result.rowChange_.isEmpty()) {
- result.rowChange_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange>();
- }
- result.rowChange_.addAll(other.rowChange_);
- }
- if (!other.options_.isEmpty()) {
- if (result.options_.isEmpty()) {
- result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
- }
- result.options_.addAll(other.options_);
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 10: {
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addRowChange(subBuilder.buildPartial());
- break;
- }
- case 18: {
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addOptions(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
-
- // repeated .TungstenProtobuf.ProtobufOneRowChange rowChange = 1;
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange> getRowChangeList() {
- return java.util.Collections.unmodifiableList(result.rowChange_);
- }
- public int getRowChangeCount() {
- return result.getRowChangeCount();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange getRowChange(int index) {
- return result.getRowChange(index);
- }
- public Builder setRowChange(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.rowChange_.set(index, value);
- return this;
- }
- public Builder setRowChange(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.Builder builderForValue) {
- result.rowChange_.set(index, builderForValue.build());
- return this;
- }
- public Builder addRowChange(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange value) {
- if (value == null) {
- throw new NullPointerException();
- }
- if (result.rowChange_.isEmpty()) {
- result.rowChange_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange>();
- }
- result.rowChange_.add(value);
- return this;
- }
- public Builder addRowChange(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.Builder builderForValue) {
- if (result.rowChange_.isEmpty()) {
- result.rowChange_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange>();
- }
- result.rowChange_.add(builderForValue.build());
- return this;
- }
- public Builder addAllRowChange(
- java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange> values) {
- if (result.rowChange_.isEmpty()) {
- result.rowChange_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange>();
- }
- super.addAll(values, result.rowChange_);
- return this;
- }
- public Builder clearRowChange() {
- result.rowChange_ = java.util.Collections.emptyList();
- return this;
- }
-
- // repeated .TungstenProtobuf.ProtobufEventOption options = 2;
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> getOptionsList() {
- return java.util.Collections.unmodifiableList(result.options_);
- }
- public int getOptionsCount() {
- return result.getOptionsCount();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption getOptions(int index) {
- return result.getOptions(index);
- }
- public Builder setOptions(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.options_.set(index, value);
- return this;
- }
- public Builder setOptions(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder builderForValue) {
- result.options_.set(index, builderForValue.build());
- return this;
- }
- public Builder addOptions(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption value) {
- if (value == null) {
- throw new NullPointerException();
- }
- if (result.options_.isEmpty()) {
- result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
- }
- result.options_.add(value);
- return this;
- }
- public Builder addOptions(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder builderForValue) {
- if (result.options_.isEmpty()) {
- result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
- }
- result.options_.add(builderForValue.build());
- return this;
- }
- public Builder addAllOptions(
- java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> values) {
- if (result.options_.isEmpty()) {
- result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
- }
- super.addAll(values, result.options_);
- return this;
- }
- public Builder clearOptions() {
- result.options_ = java.util.Collections.emptyList();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufRowChangeData)
- }
-
- static {
- defaultInstance = new ProtobufRowChangeData(true);
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufRowChangeData)
- }
-
- public static final class ProtobufOneChange extends
- com.google.protobuf.GeneratedMessage {
- // Use ProtobufOneChange.newBuilder() to construct.
- private ProtobufOneChange() {
- initFields();
- }
- private ProtobufOneChange(boolean noInit) {}
-
- private static final ProtobufOneChange defaultInstance;
- public static ProtobufOneChange getDefaultInstance() {
- return defaultInstance;
- }
-
- public ProtobufOneChange getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufOneChange_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufOneChange_fieldAccessorTable;
- }
-
- public enum Type
- implements com.google.protobuf.ProtocolMessageEnum {
- ROW_DATA(0, 1),
- STATEMENT_DATA(1, 2),
- ROW_ID_DATA(2, 3),
- LOAD_DATA_FILE_FRAGMENT(3, 4),
- LOAD_DATA_FILE_QUERY(4, 5),
- LOAD_DATA_FILE_DELETE(5, 6),
- ;
-
-
- public final int getNumber() { return value; }
-
- public static Type valueOf(int value) {
- switch (value) {
- case 1: return ROW_DATA;
- case 2: return STATEMENT_DATA;
- case 3: return ROW_ID_DATA;
- case 4: return LOAD_DATA_FILE_FRAGMENT;
- case 5: return LOAD_DATA_FILE_QUERY;
- case 6: return LOAD_DATA_FILE_DELETE;
- default: return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMap<Type>
- internalGetValueMap() {
- return internalValueMap;
- }
- private static com.google.protobuf.Internal.EnumLiteMap<Type>
- internalValueMap =
- new com.google.protobuf.Internal.EnumLiteMap<Type>() {
- public Type findValueByNumber(int number) {
- return Type.valueOf(number)
- ; }
- };
-
- public final com.google.protobuf.Descriptors.EnumValueDescriptor
- getValueDescriptor() {
- return getDescriptor().getValues().get(index);
- }
- public final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptorForType() {
- return getDescriptor();
- }
- public static final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptor() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.getDescriptor().getEnumTypes().get(0);
- }
-
- private static final Type[] VALUES = {
- ROW_DATA, STATEMENT_DATA, ROW_ID_DATA, LOAD_DATA_FILE_FRAGMENT, LOAD_DATA_FILE_QUERY, LOAD_DATA_FILE_DELETE,
- };
- public static Type valueOf(
- com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
- if (desc.getType() != getDescriptor()) {
- throw new java.lang.IllegalArgumentException(
- "EnumValueDescriptor is not for this type.");
- }
- return VALUES[desc.getIndex()];
- }
- private final int index;
- private final int value;
- private Type(int index, int value) {
- this.index = index;
- this.value = value;
- }
-
- static {
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.getDescriptor();
- }
-
- // @@protoc_insertion_point(enum_scope:TungstenProtobuf.ProtobufOneChange.Type)
- }
-
- // required .TungstenProtobuf.ProtobufOneChange.Type type = 1;
- public static final int TYPE_FIELD_NUMBER = 1;
- private boolean hasType;
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Type type_;
- public boolean hasType() { return hasType; }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Type getType() { return type_; }
-
- // optional .TungstenProtobuf.ProtobufRowChangeData data = 2;
- public static final int DATA_FIELD_NUMBER = 2;
- private boolean hasData;
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData data_;
- public boolean hasData() { return hasData; }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData getData() { return data_; }
-
- // optional .TungstenProtobuf.ProtobufStatementData statement = 3;
- public static final int STATEMENT_FIELD_NUMBER = 3;
- private boolean hasStatement;
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData statement_;
- public boolean hasStatement() { return hasStatement; }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData getStatement() { return statement_; }
-
- // optional .TungstenProtobuf.ProtobufRowIdData rowId = 4;
- public static final int ROWID_FIELD_NUMBER = 4;
- private boolean hasRowId;
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData rowId_;
- public boolean hasRowId() { return hasRowId; }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData getRowId() { return rowId_; }
-
- // optional .TungstenProtobuf.ProtobufLoadDataFileFragment fileFragment = 5;
- public static final int FILEFRAGMENT_FIELD_NUMBER = 5;
- private boolean hasFileFragment;
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment fileFragment_;
- public boolean hasFileFragment() { return hasFileFragment; }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment getFileFragment() { return fileFragment_; }
-
- // optional .TungstenProtobuf.ProtobufLoadDataFileQuery fileQuery = 6;
- public static final int FILEQUERY_FIELD_NUMBER = 6;
- private boolean hasFileQuery;
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery fileQuery_;
- public boolean hasFileQuery() { return hasFileQuery; }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery getFileQuery() { return fileQuery_; }
-
- // optional .TungstenProtobuf.ProtobufLoadDataFileDelete fileDelete = 7;
- public static final int FILEDELETE_FIELD_NUMBER = 7;
- private boolean hasFileDelete;
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete fileDelete_;
- public boolean hasFileDelete() { return hasFileDelete; }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete getFileDelete() { return fileDelete_; }
-
- private void initFields() {
- type_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Type.ROW_DATA;
- data_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.getDefaultInstance();
- statement_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.getDefaultInstance();
- rowId_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.getDefaultInstance();
- fileFragment_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.getDefaultInstance();
- fileQuery_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.getDefaultInstance();
- fileDelete_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.getDefaultInstance();
- }
- public final boolean isInitialized() {
- if (!hasType) return false;
- if (hasData()) {
- if (!getData().isInitialized()) return false;
- }
- if (hasStatement()) {
- if (!getStatement().isInitialized()) return false;
- }
- if (hasRowId()) {
- if (!getRowId().isInitialized()) return false;
- }
- if (hasFileFragment()) {
- if (!getFileFragment().isInitialized()) return false;
- }
- if (hasFileQuery()) {
- if (!getFileQuery().isInitialized()) return false;
- }
- if (hasFileDelete()) {
- if (!getFileDelete().isInitialized()) return false;
- }
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (hasType()) {
- output.writeEnum(1, getType().getNumber());
- }
- if (hasData()) {
- output.writeMessage(2, getData());
- }
- if (hasStatement()) {
- output.writeMessage(3, getStatement());
- }
- if (hasRowId()) {
- output.writeMessage(4, getRowId());
- }
- if (hasFileFragment()) {
- output.writeMessage(5, getFileFragment());
- }
- if (hasFileQuery()) {
- output.writeMessage(6, getFileQuery());
- }
- if (hasFileDelete()) {
- output.writeMessage(7, getFileDelete());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasType()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(1, getType().getNumber());
- }
- if (hasData()) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, getData());
- }
- if (hasStatement()) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, getStatement());
- }
- if (hasRowId()) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, getRowId());
- }
- if (hasFileFragment()) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, getFileFragment());
- }
- if (hasFileQuery()) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(6, getFileQuery());
- }
- if (hasFileDelete()) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(7, getFileDelete());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange result;
-
- // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.newBuilder()
- private Builder() {}
-
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange();
- return builder;
- }
-
- protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- if (result == null) {
- throw new IllegalStateException(
- "Cannot call clear() after build().");
- }
- result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange();
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.getDescriptor();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange getDefaultInstanceForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.getDefaultInstance();
- }
-
- public boolean isInitialized() {
- return result.isInitialized();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange build() {
- if (result != null && !isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return buildPartial();
- }
-
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange buildPartial() {
- if (result == null) {
- throw new IllegalStateException(
- "build() has already been called on this Builder.");
- }
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange) {
- return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange other) {
- if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.getDefaultInstance()) return this;
- if (other.hasType()) {
- setType(other.getType());
- }
- if (other.hasData()) {
- mergeData(other.getData());
- }
- if (other.hasStatement()) {
- mergeStatement(other.getStatement());
- }
- if (other.hasRowId()) {
- mergeRowId(other.getRowId());
- }
- if (other.hasFileFragment()) {
- mergeFileFragment(other.getFileFragment());
- }
- if (other.hasFileQuery()) {
- mergeFileQuery(other.getFileQuery());
- }
- if (other.hasFileDelete()) {
- mergeFileDelete(other.getFileDelete());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 8: {
- int rawValue = input.readEnum();
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Type value = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Type.valueOf(rawValue);
- if (value == null) {
- unknownFields.mergeVarintField(1, rawValue);
- } else {
- setType(value);
- }
- break;
- }
- case 18: {
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.newBuilder();
- if (hasData()) {
- subBuilder.mergeFrom(getData());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setData(subBuilder.buildPartial());
- break;
- }
- case 26: {
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.newBuilder();
- if (hasStatement()) {
- subBuilder.mergeFrom(getStatement());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setStatement(subBuilder.buildPartial());
- break;
- }
- case 34: {
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.newBuilder();
- if (hasRowId()) {
- subBuilder.mergeFrom(getRowId());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setRowId(subBuilder.buildPartial());
- break;
- }
- case 42: {
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.newBuilder();
- if (hasFileFragment()) {
- subBuilder.mergeFrom(getFileFragment());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setFileFragment(subBuilder.buildPartial());
- break;
- }
- case 50: {
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.newBuilder();
- if (hasFileQuery()) {
- subBuilder.mergeFrom(getFileQuery());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setFileQuery(subBuilder.buildPartial());
- break;
- }
- case 58: {
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.newBuilder();
- if (hasFileDelete()) {
- subBuilder.mergeFrom(getFileDelete());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setFileDelete(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
-
- // required .TungstenProtobuf.ProtobufOneChange.Type type = 1;
- public boolean hasType() {
- return result.hasType();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Type getType() {
- return result.getType();
- }
- public Builder setType(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Type value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasType = true;
- result.type_ = value;
- return this;
- }
- public Builder clearType() {
- result.hasType = false;
- result.type_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Type.ROW_DATA;
- return this;
- }
-
- // optional .TungstenProtobuf.ProtobufRowChangeData data = 2;
- public boolean hasData() {
- return result.hasData();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData getData() {
- return result.getData();
- }
- public Builder setData(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasData = true;
- result.data_ = value;
- return this;
- }
- public Builder setData(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.Builder builderForValue) {
- result.hasData = true;
- result.data_ = builderForValue.build();
- return this;
- }
- public Builder mergeData(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData value) {
- if (result.hasData() &&
- result.data_ != com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.getDefaultInstance()) {
- result.data_ =
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.newBuilder(result.data_).mergeFrom(value).buildPartial();
- } else {
- result.data_ = value;
- }
- result.hasData = true;
- return this;
- }
- public Builder clearData() {
- result.hasData = false;
- result.data_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.getDefaultInstance();
- return this;
- }
-
- // optional .TungstenProtobuf.ProtobufStatementData statement = 3;
- public boolean hasStatement() {
- return result.hasStatement();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData getStatement() {
- return result.getStatement();
- }
- public Builder setStatement(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasStatement = true;
- result.statement_ = value;
- return this;
- }
- public Builder setStatement(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.Builder builderForValue) {
- result.hasStatement = true;
- result.statement_ = builderForValue.build();
- return this;
- }
- public Builder mergeStatement(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData value) {
- if (result.hasStatement() &&
- result.statement_ != com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.getDefaultInstance()) {
- result.statement_ =
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.newBuilder(result.statement_).mergeFrom(value).buildPartial();
- } else {
- result.statement_ = value;
- }
- result.hasStatement = true;
- return this;
- }
- public Builder clearStatement() {
- result.hasStatement = false;
- result.statement_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.getDefaultInstance();
- return this;
- }
-
- // optional .TungstenProtobuf.ProtobufRowIdData rowId = 4;
- public boolean hasRowId() {
- return result.hasRowId();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData getRowId() {
- return result.getRowId();
- }
- public Builder setRowId(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasRowId = true;
- result.rowId_ = value;
- return this;
- }
- public Builder setRowId(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.Builder builderForValue) {
- result.hasRowId = true;
- result.rowId_ = builderForValue.build();
- return this;
- }
- public Builder mergeRowId(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData value) {
- if (result.hasRowId() &&
- result.rowId_ != com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.getDefaultInstance()) {
- result.rowId_ =
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.newBuilder(result.rowId_).mergeFrom(value).buildPartial();
- } else {
- result.rowId_ = value;
- }
- result.hasRowId = true;
- return this;
- }
- public Builder clearRowId() {
- result.hasRowId = false;
- result.rowId_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.getDefaultInstance();
- return this;
- }
-
- // optional .TungstenProtobuf.ProtobufLoadDataFileFragment fileFragment = 5;
- public boolean hasFileFragment() {
- return result.hasFileFragment();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment getFileFragment() {
- return result.getFileFragment();
- }
- public Builder setFileFragment(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasFileFragment = true;
- result.fileFragment_ = value;
- return this;
- }
- public Builder setFileFragment(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.Builder builderForValue) {
- result.hasFileFragment = true;
- result.fileFragment_ = builderForValue.build();
- return this;
- }
- public Builder mergeFileFragment(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment value) {
- if (result.hasFileFragment() &&
- result.fileFragment_ != com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.getDefaultInstance()) {
- result.fileFragment_ =
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.newBuilder(result.fileFragment_).mergeFrom(value).buildPartial();
- } else {
- result.fileFragment_ = value;
- }
- result.hasFileFragment = true;
- return this;
- }
- public Builder clearFileFragment() {
- result.hasFileFragment = false;
- result.fileFragment_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.getDefaultInstance();
- return this;
- }
-
- // optional .TungstenProtobuf.ProtobufLoadDataFileQuery fileQuery = 6;
- public boolean hasFileQuery() {
- return result.hasFileQuery();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery getFileQuery() {
- return result.getFileQuery();
- }
- public Builder setFileQuery(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasFileQuery = true;
- result.fileQuery_ = value;
- return this;
- }
- public Builder setFileQuery(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.Builder builderForValue) {
- result.hasFileQuery = true;
- result.fileQuery_ = builderForValue.build();
- return this;
- }
- public Builder mergeFileQuery(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery value) {
- if (result.hasFileQuery() &&
- result.fileQuery_ != com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.getDefaultInstance()) {
- result.fileQuery_ =
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.newBuilder(result.fileQuery_).mergeFrom(value).buildPartial();
- } else {
- result.fileQuery_ = value;
- }
- result.hasFileQuery = true;
- return this;
- }
- public Builder clearFileQuery() {
- result.hasFileQuery = false;
- result.fileQuery_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.getDefaultInstance();
- return this;
- }
-
- // optional .TungstenProtobuf.ProtobufLoadDataFileDelete fileDelete = 7;
- public boolean hasFileDelete() {
- return result.hasFileDelete();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete getFileDelete() {
- return result.getFileDelete();
- }
- public Builder setFileDelete(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasFileDelete = true;
- result.fileDelete_ = value;
- return this;
- }
- public Builder setFileDelete(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.Builder builderForValue) {
- result.hasFileDelete = true;
- result.fileDelete_ = builderForValue.build();
- return this;
- }
- public Builder mergeFileDelete(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete value) {
- if (result.hasFileDelete() &&
- result.fileDelete_ != com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.getDefaultInstance()) {
- result.fileDelete_ =
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.newBuilder(result.fileDelete_).mergeFrom(value).buildPartial();
- } else {
- result.fileDelete_ = value;
- }
- result.hasFileDelete = true;
- return this;
- }
- public Builder clearFileDelete() {
- result.hasFileDelete = false;
- result.fileDelete_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.getDefaultInstance();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufOneChange)
- }
-
- static {
- defaultInstance = new ProtobufOneChange(true);
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufOneChange)
- }
-
- public static final class ProtobufReplDBMSEvent extends
- com.google.protobuf.GeneratedMessage {
- // Use ProtobufReplDBMSEvent.newBuilder() to construct.
- private ProtobufReplDBMSEvent() {
- initFields();
- }
- private ProtobufReplDBMSEvent(boolean noInit) {}
-
- private static final ProtobufReplDBMSEvent defaultInstance;
- public static ProtobufReplDBMSEvent getDefaultInstance() {
- return defaultInstance;
- }
-
- public ProtobufReplDBMSEvent getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufReplDBMSEvent_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufReplDBMSEvent_fieldAccessorTable;
- }
-
- // repeated .TungstenProtobuf.ProtobufOneChange change = 1;
- public static final int CHANGE_FIELD_NUMBER = 1;
- private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange> change_ =
- java.util.Collections.emptyList();
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange> getChangeList() {
- return change_;
- }
- public int getChangeCount() { return change_.size(); }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange getChange(int index) {
- return change_.get(index);
- }
-
- // repeated .TungstenProtobuf.ProtobufEventOption metadata = 2;
- public static final int METADATA_FIELD_NUMBER = 2;
- private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> metadata_ =
- java.util.Collections.emptyList();
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> getMetadataList() {
- return metadata_;
- }
- public int getMetadataCount() { return metadata_.size(); }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption getMetadata(int index) {
- return metadata_.get(index);
- }
-
- // repeated .TungstenProtobuf.ProtobufEventOption options = 3;
- public static final int OPTIONS_FIELD_NUMBER = 3;
- private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> options_ =
- java.util.Collections.emptyList();
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> getOptionsList() {
- return options_;
- }
- public int getOptionsCount() { return options_.size(); }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption getOptions(int index) {
- return options_.get(index);
- }
-
- private void initFields() {
- }
- public final boolean isInitialized() {
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange element : getChangeList()) {
- if (!element.isInitialized()) return false;
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getMetadataList()) {
- if (!element.isInitialized()) return false;
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getOptionsList()) {
- if (!element.isInitialized()) return false;
- }
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange element : getChangeList()) {
- output.writeMessage(1, element);
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getMetadataList()) {
- output.writeMessage(2, element);
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getOptionsList()) {
- output.writeMessage(3, element);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange element : getChangeList()) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, element);
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getMetadataList()) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, element);
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getOptionsList()) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, element);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent result;
-
- // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent.newBuilder()
- private Builder() {}
-
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent();
- return builder;
- }
-
- protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- if (result == null) {
- throw new IllegalStateException(
- "Cannot call clear() after build().");
- }
- result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent();
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent.getDescriptor();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent getDefaultInstanceForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent.getDefaultInstance();
- }
-
- public boolean isInitialized() {
- return result.isInitialized();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent build() {
- if (result != null && !isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return buildPartial();
- }
-
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent buildPartial() {
- if (result == null) {
- throw new IllegalStateException(
- "build() has already been called on this Builder.");
- }
- if (result.change_ != java.util.Collections.EMPTY_LIST) {
- result.change_ =
- java.util.Collections.unmodifiableList(result.change_);
- }
- if (result.metadata_ != java.util.Collections.EMPTY_LIST) {
- result.metadata_ =
- java.util.Collections.unmodifiableList(result.metadata_);
- }
- if (result.options_ != java.util.Collections.EMPTY_LIST) {
- result.options_ =
- java.util.Collections.unmodifiableList(result.options_);
- }
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent) {
- return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent other) {
- if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent.getDefaultInstance()) return this;
- if (!other.change_.isEmpty()) {
- if (result.change_.isEmpty()) {
- result.change_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange>();
- }
- result.change_.addAll(other.change_);
- }
- if (!other.metadata_.isEmpty()) {
- if (result.metadata_.isEmpty()) {
- result.metadata_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
- }
- result.metadata_.addAll(other.metadata_);
- }
- if (!other.options_.isEmpty()) {
- if (result.options_.isEmpty()) {
- result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
- }
- result.options_.addAll(other.options_);
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- input.setSizeLimit(0x7FFFFFFF);
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 10: {
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addChange(subBuilder.buildPartial());
- break;
- }
- case 18: {
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addMetadata(subBuilder.buildPartial());
- break;
- }
- case 26: {
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addOptions(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
-
- // repeated .TungstenProtobuf.ProtobufOneChange change = 1;
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange> getChangeList() {
- return java.util.Collections.unmodifiableList(result.change_);
- }
- public int getChangeCount() {
- return result.getChangeCount();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange getChange(int index) {
- return result.getChange(index);
- }
- public Builder setChange(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.change_.set(index, value);
- return this;
- }
- public Builder setChange(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Builder builderForValue) {
- result.change_.set(index, builderForValue.build());
- return this;
- }
- public Builder addChange(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange value) {
- if (value == null) {
- throw new NullPointerException();
- }
- if (result.change_.isEmpty()) {
- result.change_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange>();
- }
- result.change_.add(value);
- return this;
- }
- public Builder addChange(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Builder builderForValue) {
- if (result.change_.isEmpty()) {
- result.change_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange>();
- }
- result.change_.add(builderForValue.build());
- return this;
- }
- public Builder addAllChange(
- java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange> values) {
- if (result.change_.isEmpty()) {
- result.change_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange>();
- }
- super.addAll(values, result.change_);
- return this;
- }
- public Builder clearChange() {
- result.change_ = java.util.Collections.emptyList();
- return this;
- }
-
- // repeated .TungstenProtobuf.ProtobufEventOption metadata = 2;
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> getMetadataList() {
- return java.util.Collections.unmodifiableList(result.metadata_);
- }
- public int getMetadataCount() {
- return result.getMetadataCount();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption getMetadata(int index) {
- return result.getMetadata(index);
- }
- public Builder setMetadata(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.metadata_.set(index, value);
- return this;
- }
- public Builder setMetadata(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder builderForValue) {
- result.metadata_.set(index, builderForValue.build());
- return this;
- }
- public Builder addMetadata(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption value) {
- if (value == null) {
- throw new NullPointerException();
- }
- if (result.metadata_.isEmpty()) {
- result.metadata_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
- }
- result.metadata_.add(value);
- return this;
- }
- public Builder addMetadata(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder builderForValue) {
- if (result.metadata_.isEmpty()) {
- result.metadata_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
- }
- result.metadata_.add(builderForValue.build());
- return this;
- }
- public Builder addAllMetadata(
- java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> values) {
- if (result.metadata_.isEmpty()) {
- result.metadata_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
- }
- super.addAll(values, result.metadata_);
- return this;
- }
- public Builder clearMetadata() {
- result.metadata_ = java.util.Collections.emptyList();
- return this;
- }
-
- // repeated .TungstenProtobuf.ProtobufEventOption options = 3;
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> getOptionsList() {
- return java.util.Collections.unmodifiableList(result.options_);
- }
- public int getOptionsCount() {
- return result.getOptionsCount();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption getOptions(int index) {
- return result.getOptions(index);
- }
- public Builder setOptions(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.options_.set(index, value);
- return this;
- }
- public Builder setOptions(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder builderForValue) {
- result.options_.set(index, builderForValue.build());
- return this;
- }
- public Builder addOptions(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption value) {
- if (value == null) {
- throw new NullPointerException();
- }
- if (result.options_.isEmpty()) {
- result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
- }
- result.options_.add(value);
- return this;
- }
- public Builder addOptions(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder builderForValue) {
- if (result.options_.isEmpty()) {
- result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
- }
- result.options_.add(builderForValue.build());
- return this;
- }
- public Builder addAllOptions(
- java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> values) {
- if (result.options_.isEmpty()) {
- result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
- }
- super.addAll(values, result.options_);
- return this;
- }
- public Builder clearOptions() {
- result.options_ = java.util.Collections.emptyList();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufReplDBMSEvent)
- }
-
- static {
- defaultInstance = new ProtobufReplDBMSEvent(true);
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufReplDBMSEvent)
- }
-
- public static final class ProtobufStatementData extends
- com.google.protobuf.GeneratedMessage {
- // Use ProtobufStatementData.newBuilder() to construct.
- private ProtobufStatementData() {
- initFields();
- }
- private ProtobufStatementData(boolean noInit) {}
-
- private static final ProtobufStatementData defaultInstance;
- public static ProtobufStatementData getDefaultInstance() {
- return defaultInstance;
- }
-
- public ProtobufStatementData getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufStatementData_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufStatementData_fieldAccessorTable;
- }
-
- // optional string defaultSchema = 1;
- public static final int DEFAULTSCHEMA_FIELD_NUMBER = 1;
- private boolean hasDefaultSchema;
- private java.lang.String defaultSchema_ = "";
- public boolean hasDefaultSchema() { return hasDefaultSchema; }
- public java.lang.String getDefaultSchema() { return defaultSchema_; }
-
- // optional int64 timestamp = 2;
- public static final int TIMESTAMP_FIELD_NUMBER = 2;
- private boolean hasTimestamp;
- private long timestamp_ = 0L;
- public boolean hasTimestamp() { return hasTimestamp; }
- public long getTimestamp() { return timestamp_; }
-
- // optional string query = 3;
- public static final int QUERY_FIELD_NUMBER = 3;
- private boolean hasQuery;
- private java.lang.String query_ = "";
- public boolean hasQuery() { return hasQuery; }
- public java.lang.String getQuery() { return query_; }
-
- // repeated .TungstenProtobuf.ProtobufEventOption options = 4;
- public static final int OPTIONS_FIELD_NUMBER = 4;
- private java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> options_ =
- java.util.Collections.emptyList();
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> getOptionsList() {
- return options_;
- }
- public int getOptionsCount() { return options_.size(); }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption getOptions(int index) {
- return options_.get(index);
- }
-
- // required int32 errorCode = 5;
- public static final int ERRORCODE_FIELD_NUMBER = 5;
- private boolean hasErrorCode;
- private int errorCode_ = 0;
- public boolean hasErrorCode() { return hasErrorCode; }
- public int getErrorCode() { return errorCode_; }
-
- // optional bytes queryBytes = 6;
- public static final int QUERYBYTES_FIELD_NUMBER = 6;
- private boolean hasQueryBytes;
- private com.google.protobuf.ByteString queryBytes_ = com.google.protobuf.ByteString.EMPTY;
- public boolean hasQueryBytes() { return hasQueryBytes; }
- public com.google.protobuf.ByteString getQueryBytes() { return queryBytes_; }
-
- private void initFields() {
- }
- public final boolean isInitialized() {
- if (!hasErrorCode) return false;
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getOptionsList()) {
- if (!element.isInitialized()) return false;
- }
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (hasDefaultSchema()) {
- output.writeString(1, getDefaultSchema());
- }
- if (hasTimestamp()) {
- output.writeInt64(2, getTimestamp());
- }
- if (hasQuery()) {
- output.writeString(3, getQuery());
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getOptionsList()) {
- output.writeMessage(4, element);
- }
- if (hasErrorCode()) {
- output.writeInt32(5, getErrorCode());
- }
- if (hasQueryBytes()) {
- output.writeBytes(6, getQueryBytes());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasDefaultSchema()) {
- size += com.google.protobuf.CodedOutputStream
- .computeStringSize(1, getDefaultSchema());
- }
- if (hasTimestamp()) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(2, getTimestamp());
- }
- if (hasQuery()) {
- size += com.google.protobuf.CodedOutputStream
- .computeStringSize(3, getQuery());
- }
- for (com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption element : getOptionsList()) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, element);
- }
- if (hasErrorCode()) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(5, getErrorCode());
- }
- if (hasQueryBytes()) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(6, getQueryBytes());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData result;
-
- // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.newBuilder()
- private Builder() {}
-
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData();
- return builder;
- }
-
- protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- if (result == null) {
- throw new IllegalStateException(
- "Cannot call clear() after build().");
- }
- result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData();
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.getDescriptor();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData getDefaultInstanceForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.getDefaultInstance();
- }
-
- public boolean isInitialized() {
- return result.isInitialized();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData build() {
- if (result != null && !isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return buildPartial();
- }
-
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData buildPartial() {
- if (result == null) {
- throw new IllegalStateException(
- "build() has already been called on this Builder.");
- }
- if (result.options_ != java.util.Collections.EMPTY_LIST) {
- result.options_ =
- java.util.Collections.unmodifiableList(result.options_);
- }
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData) {
- return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData other) {
- if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.getDefaultInstance()) return this;
- if (other.hasDefaultSchema()) {
- setDefaultSchema(other.getDefaultSchema());
- }
- if (other.hasTimestamp()) {
- setTimestamp(other.getTimestamp());
- }
- if (other.hasQuery()) {
- setQuery(other.getQuery());
- }
- if (!other.options_.isEmpty()) {
- if (result.options_.isEmpty()) {
- result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
- }
- result.options_.addAll(other.options_);
- }
- if (other.hasErrorCode()) {
- setErrorCode(other.getErrorCode());
- }
- if (other.hasQueryBytes()) {
- setQueryBytes(other.getQueryBytes());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 10: {
- setDefaultSchema(input.readString());
- break;
- }
- case 16: {
- setTimestamp(input.readInt64());
- break;
- }
- case 26: {
- setQuery(input.readString());
- break;
- }
- case 34: {
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addOptions(subBuilder.buildPartial());
- break;
- }
- case 40: {
- setErrorCode(input.readInt32());
- break;
- }
- case 50: {
- setQueryBytes(input.readBytes());
- break;
- }
- }
- }
- }
-
-
- // optional string defaultSchema = 1;
- public boolean hasDefaultSchema() {
- return result.hasDefaultSchema();
- }
- public java.lang.String getDefaultSchema() {
- return result.getDefaultSchema();
- }
- public Builder setDefaultSchema(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasDefaultSchema = true;
- result.defaultSchema_ = value;
- return this;
- }
- public Builder clearDefaultSchema() {
- result.hasDefaultSchema = false;
- result.defaultSchema_ = getDefaultInstance().getDefaultSchema();
- return this;
- }
-
- // optional int64 timestamp = 2;
- public boolean hasTimestamp() {
- return result.hasTimestamp();
- }
- public long getTimestamp() {
- return result.getTimestamp();
- }
- public Builder setTimestamp(long value) {
- result.hasTimestamp = true;
- result.timestamp_ = value;
- return this;
- }
- public Builder clearTimestamp() {
- result.hasTimestamp = false;
- result.timestamp_ = 0L;
- return this;
- }
-
- // optional string query = 3;
- public boolean hasQuery() {
- return result.hasQuery();
- }
- public java.lang.String getQuery() {
- return result.getQuery();
- }
- public Builder setQuery(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasQuery = true;
- result.query_ = value;
- return this;
- }
- public Builder clearQuery() {
- result.hasQuery = false;
- result.query_ = getDefaultInstance().getQuery();
- return this;
- }
-
- // repeated .TungstenProtobuf.ProtobufEventOption options = 4;
- public java.util.List<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> getOptionsList() {
- return java.util.Collections.unmodifiableList(result.options_);
- }
- public int getOptionsCount() {
- return result.getOptionsCount();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption getOptions(int index) {
- return result.getOptions(index);
- }
- public Builder setOptions(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.options_.set(index, value);
- return this;
- }
- public Builder setOptions(int index, com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder builderForValue) {
- result.options_.set(index, builderForValue.build());
- return this;
- }
- public Builder addOptions(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption value) {
- if (value == null) {
- throw new NullPointerException();
- }
- if (result.options_.isEmpty()) {
- result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
- }
- result.options_.add(value);
- return this;
- }
- public Builder addOptions(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder builderForValue) {
- if (result.options_.isEmpty()) {
- result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
- }
- result.options_.add(builderForValue.build());
- return this;
- }
- public Builder addAllOptions(
- java.lang.Iterable<? extends com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption> values) {
- if (result.options_.isEmpty()) {
- result.options_ = new java.util.ArrayList<com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption>();
- }
- super.addAll(values, result.options_);
- return this;
- }
- public Builder clearOptions() {
- result.options_ = java.util.Collections.emptyList();
- return this;
- }
-
- // required int32 errorCode = 5;
- public boolean hasErrorCode() {
- return result.hasErrorCode();
- }
- public int getErrorCode() {
- return result.getErrorCode();
- }
- public Builder setErrorCode(int value) {
- result.hasErrorCode = true;
- result.errorCode_ = value;
- return this;
- }
- public Builder clearErrorCode() {
- result.hasErrorCode = false;
- result.errorCode_ = 0;
- return this;
- }
-
- // optional bytes queryBytes = 6;
- public boolean hasQueryBytes() {
- return result.hasQueryBytes();
- }
- public com.google.protobuf.ByteString getQueryBytes() {
- return result.getQueryBytes();
- }
- public Builder setQueryBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasQueryBytes = true;
- result.queryBytes_ = value;
- return this;
- }
- public Builder clearQueryBytes() {
- result.hasQueryBytes = false;
- result.queryBytes_ = getDefaultInstance().getQueryBytes();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufStatementData)
- }
-
- static {
- defaultInstance = new ProtobufStatementData(true);
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufStatementData)
- }
-
- public static final class ProtobufEventOption extends
- com.google.protobuf.GeneratedMessage {
- // Use ProtobufEventOption.newBuilder() to construct.
- private ProtobufEventOption() {
- initFields();
- }
- private ProtobufEventOption(boolean noInit) {}
-
- private static final ProtobufEventOption defaultInstance;
- public static ProtobufEventOption getDefaultInstance() {
- return defaultInstance;
- }
-
- public ProtobufEventOption getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufEventOption_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufEventOption_fieldAccessorTable;
- }
-
- // required string name = 1;
- public static final int NAME_FIELD_NUMBER = 1;
- private boolean hasName;
- private java.lang.String name_ = "";
- public boolean hasName() { return hasName; }
- public java.lang.String getName() { return name_; }
-
- // required string value = 2;
- public static final int VALUE_FIELD_NUMBER = 2;
- private boolean hasValue;
- private java.lang.String value_ = "";
- public boolean hasValue() { return hasValue; }
- public java.lang.String getValue() { return value_; }
-
- private void initFields() {
- }
- public final boolean isInitialized() {
- if (!hasName) return false;
- if (!hasValue) return false;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (hasName()) {
- output.writeString(1, getName());
- }
- if (hasValue()) {
- output.writeString(2, getValue());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasName()) {
- size += com.google.protobuf.CodedOutputStream
- .computeStringSize(1, getName());
- }
- if (hasValue()) {
- size += com.google.protobuf.CodedOutputStream
- .computeStringSize(2, getValue());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption result;
-
- // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.newBuilder()
- private Builder() {}
-
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption();
- return builder;
- }
-
- protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- if (result == null) {
- throw new IllegalStateException(
- "Cannot call clear() after build().");
- }
- result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption();
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.getDescriptor();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption getDefaultInstanceForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.getDefaultInstance();
- }
-
- public boolean isInitialized() {
- return result.isInitialized();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption build() {
- if (result != null && !isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return buildPartial();
- }
-
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption buildPartial() {
- if (result == null) {
- throw new IllegalStateException(
- "build() has already been called on this Builder.");
- }
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption) {
- return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption other) {
- if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.getDefaultInstance()) return this;
- if (other.hasName()) {
- setName(other.getName());
- }
- if (other.hasValue()) {
- setValue(other.getValue());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 10: {
- setName(input.readString());
- break;
- }
- case 18: {
- setValue(input.readString());
- break;
- }
- }
- }
- }
-
-
- // required string name = 1;
- public boolean hasName() {
- return result.hasName();
- }
- public java.lang.String getName() {
- return result.getName();
- }
- public Builder setName(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasName = true;
- result.name_ = value;
- return this;
- }
- public Builder clearName() {
- result.hasName = false;
- result.name_ = getDefaultInstance().getName();
- return this;
- }
-
- // required string value = 2;
- public boolean hasValue() {
- return result.hasValue();
- }
- public java.lang.String getValue() {
- return result.getValue();
- }
- public Builder setValue(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasValue = true;
- result.value_ = value;
- return this;
- }
- public Builder clearValue() {
- result.hasValue = false;
- result.value_ = getDefaultInstance().getValue();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufEventOption)
- }
-
- static {
- defaultInstance = new ProtobufEventOption(true);
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufEventOption)
- }
-
- public static final class ProtobufRowIdData extends
- com.google.protobuf.GeneratedMessage {
- // Use ProtobufRowIdData.newBuilder() to construct.
- private ProtobufRowIdData() {
- initFields();
- }
- private ProtobufRowIdData(boolean noInit) {}
-
- private static final ProtobufRowIdData defaultInstance;
- public static ProtobufRowIdData getDefaultInstance() {
- return defaultInstance;
- }
-
- public ProtobufRowIdData getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufRowIdData_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufRowIdData_fieldAccessorTable;
- }
-
- // required int64 id = 1;
- public static final int ID_FIELD_NUMBER = 1;
- private boolean hasId;
- private long id_ = 0L;
- public boolean hasId() { return hasId; }
- public long getId() { return id_; }
-
- // optional int32 type = 2;
- public static final int TYPE_FIELD_NUMBER = 2;
- private boolean hasType;
- private int type_ = 0;
- public boolean hasType() { return hasType; }
- public int getType() { return type_; }
-
- private void initFields() {
- }
- public final boolean isInitialized() {
- if (!hasId) return false;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (hasId()) {
- output.writeInt64(1, getId());
- }
- if (hasType()) {
- output.writeInt32(2, getType());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasId()) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(1, getId());
- }
- if (hasType()) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(2, getType());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData result;
-
- // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.newBuilder()
- private Builder() {}
-
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData();
- return builder;
- }
-
- protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- if (result == null) {
- throw new IllegalStateException(
- "Cannot call clear() after build().");
- }
- result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData();
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.getDescriptor();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData getDefaultInstanceForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.getDefaultInstance();
- }
-
- public boolean isInitialized() {
- return result.isInitialized();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData build() {
- if (result != null && !isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return buildPartial();
- }
-
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData buildPartial() {
- if (result == null) {
- throw new IllegalStateException(
- "build() has already been called on this Builder.");
- }
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData) {
- return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData other) {
- if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.getDefaultInstance()) return this;
- if (other.hasId()) {
- setId(other.getId());
- }
- if (other.hasType()) {
- setType(other.getType());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 8: {
- setId(input.readInt64());
- break;
- }
- case 16: {
- setType(input.readInt32());
- break;
- }
- }
- }
- }
-
-
- // required int64 id = 1;
- public boolean hasId() {
- return result.hasId();
- }
- public long getId() {
- return result.getId();
- }
- public Builder setId(long value) {
- result.hasId = true;
- result.id_ = value;
- return this;
- }
- public Builder clearId() {
- result.hasId = false;
- result.id_ = 0L;
- return this;
- }
-
- // optional int32 type = 2;
- public boolean hasType() {
- return result.hasType();
- }
- public int getType() {
- return result.getType();
- }
- public Builder setType(int value) {
- result.hasType = true;
- result.type_ = value;
- return this;
- }
- public Builder clearType() {
- result.hasType = false;
- result.type_ = 0;
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufRowIdData)
- }
-
- static {
- defaultInstance = new ProtobufRowIdData(true);
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufRowIdData)
- }
-
- public static final class ProtobufLoadDataFileFragment extends
- com.google.protobuf.GeneratedMessage {
- // Use ProtobufLoadDataFileFragment.newBuilder() to construct.
- private ProtobufLoadDataFileFragment() {
- initFields();
- }
- private ProtobufLoadDataFileFragment(boolean noInit) {}
-
- private static final ProtobufLoadDataFileFragment defaultInstance;
- public static ProtobufLoadDataFileFragment getDefaultInstance() {
- return defaultInstance;
- }
-
- public ProtobufLoadDataFileFragment getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufLoadDataFileFragment_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufLoadDataFileFragment_fieldAccessorTable;
- }
-
- // required int32 fileId = 1;
- public static final int FILEID_FIELD_NUMBER = 1;
- private boolean hasFileId;
- private int fileId_ = 0;
- public boolean hasFileId() { return hasFileId; }
- public int getFileId() { return fileId_; }
-
- // required bytes data = 2;
- public static final int DATA_FIELD_NUMBER = 2;
- private boolean hasData;
- private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY;
- public boolean hasData() { return hasData; }
- public com.google.protobuf.ByteString getData() { return data_; }
-
- // optional string database = 3;
- public static final int DATABASE_FIELD_NUMBER = 3;
- private boolean hasDatabase;
- private java.lang.String database_ = "";
- public boolean hasDatabase() { return hasDatabase; }
- public java.lang.String getDatabase() { return database_; }
-
- private void initFields() {
- }
- public final boolean isInitialized() {
- if (!hasFileId) return false;
- if (!hasData) return false;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (hasFileId()) {
- output.writeInt32(1, getFileId());
- }
- if (hasData()) {
- output.writeBytes(2, getData());
- }
- if (hasDatabase()) {
- output.writeString(3, getDatabase());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasFileId()) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(1, getFileId());
- }
- if (hasData()) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(2, getData());
- }
- if (hasDatabase()) {
- size += com.google.protobuf.CodedOutputStream
- .computeStringSize(3, getDatabase());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment result;
-
- // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.newBuilder()
- private Builder() {}
-
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment();
- return builder;
- }
-
- protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- if (result == null) {
- throw new IllegalStateException(
- "Cannot call clear() after build().");
- }
- result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment();
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.getDescriptor();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment getDefaultInstanceForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.getDefaultInstance();
- }
-
- public boolean isInitialized() {
- return result.isInitialized();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment build() {
- if (result != null && !isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return buildPartial();
- }
-
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment buildPartial() {
- if (result == null) {
- throw new IllegalStateException(
- "build() has already been called on this Builder.");
- }
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment) {
- return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment other) {
- if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.getDefaultInstance()) return this;
- if (other.hasFileId()) {
- setFileId(other.getFileId());
- }
- if (other.hasData()) {
- setData(other.getData());
- }
- if (other.hasDatabase()) {
- setDatabase(other.getDatabase());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 8: {
- setFileId(input.readInt32());
- break;
- }
- case 18: {
- setData(input.readBytes());
- break;
- }
- case 26: {
- setDatabase(input.readString());
- break;
- }
- }
- }
- }
-
-
- // required int32 fileId = 1;
- public boolean hasFileId() {
- return result.hasFileId();
- }
- public int getFileId() {
- return result.getFileId();
- }
- public Builder setFileId(int value) {
- result.hasFileId = true;
- result.fileId_ = value;
- return this;
- }
- public Builder clearFileId() {
- result.hasFileId = false;
- result.fileId_ = 0;
- return this;
- }
-
- // required bytes data = 2;
- public boolean hasData() {
- return result.hasData();
- }
- public com.google.protobuf.ByteString getData() {
- return result.getData();
- }
- public Builder setData(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasData = true;
- result.data_ = value;
- return this;
- }
- public Builder clearData() {
- result.hasData = false;
- result.data_ = getDefaultInstance().getData();
- return this;
- }
-
- // optional string database = 3;
- public boolean hasDatabase() {
- return result.hasDatabase();
- }
- public java.lang.String getDatabase() {
- return result.getDatabase();
- }
- public Builder setDatabase(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasDatabase = true;
- result.database_ = value;
- return this;
- }
- public Builder clearDatabase() {
- result.hasDatabase = false;
- result.database_ = getDefaultInstance().getDatabase();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufLoadDataFileFragment)
- }
-
- static {
- defaultInstance = new ProtobufLoadDataFileFragment(true);
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufLoadDataFileFragment)
- }
-
- public static final class ProtobufLoadDataFileQuery extends
- com.google.protobuf.GeneratedMessage {
- // Use ProtobufLoadDataFileQuery.newBuilder() to construct.
- private ProtobufLoadDataFileQuery() {
- initFields();
- }
- private ProtobufLoadDataFileQuery(boolean noInit) {}
-
- private static final ProtobufLoadDataFileQuery defaultInstance;
- public static ProtobufLoadDataFileQuery getDefaultInstance() {
- return defaultInstance;
- }
-
- public ProtobufLoadDataFileQuery getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufLoadDataFileQuery_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufLoadDataFileQuery_fieldAccessorTable;
- }
-
- // required .TungstenProtobuf.ProtobufStatementData statement = 1;
- public static final int STATEMENT_FIELD_NUMBER = 1;
- private boolean hasStatement;
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData statement_;
- public boolean hasStatement() { return hasStatement; }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData getStatement() { return statement_; }
-
- // required int32 fileId = 2;
- public static final int FILEID_FIELD_NUMBER = 2;
- private boolean hasFileId;
- private int fileId_ = 0;
- public boolean hasFileId() { return hasFileId; }
- public int getFileId() { return fileId_; }
-
- // required int32 filenameStartPos = 3;
- public static final int FILENAMESTARTPOS_FIELD_NUMBER = 3;
- private boolean hasFilenameStartPos;
- private int filenameStartPos_ = 0;
- public boolean hasFilenameStartPos() { return hasFilenameStartPos; }
- public int getFilenameStartPos() { return filenameStartPos_; }
-
- // required int32 filenameEndPos = 4;
- public static final int FILENAMEENDPOS_FIELD_NUMBER = 4;
- private boolean hasFilenameEndPos;
- private int filenameEndPos_ = 0;
- public boolean hasFilenameEndPos() { return hasFilenameEndPos; }
- public int getFilenameEndPos() { return filenameEndPos_; }
-
- private void initFields() {
- statement_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.getDefaultInstance();
- }
- public final boolean isInitialized() {
- if (!hasStatement) return false;
- if (!hasFileId) return false;
- if (!hasFilenameStartPos) return false;
- if (!hasFilenameEndPos) return false;
- if (!getStatement().isInitialized()) return false;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (hasStatement()) {
- output.writeMessage(1, getStatement());
- }
- if (hasFileId()) {
- output.writeInt32(2, getFileId());
- }
- if (hasFilenameStartPos()) {
- output.writeInt32(3, getFilenameStartPos());
- }
- if (hasFilenameEndPos()) {
- output.writeInt32(4, getFilenameEndPos());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasStatement()) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getStatement());
- }
- if (hasFileId()) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(2, getFileId());
- }
- if (hasFilenameStartPos()) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(3, getFilenameStartPos());
- }
- if (hasFilenameEndPos()) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(4, getFilenameEndPos());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery result;
-
- // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.newBuilder()
- private Builder() {}
-
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery();
- return builder;
- }
-
- protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- if (result == null) {
- throw new IllegalStateException(
- "Cannot call clear() after build().");
- }
- result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery();
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.getDescriptor();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery getDefaultInstanceForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.getDefaultInstance();
- }
-
- public boolean isInitialized() {
- return result.isInitialized();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery build() {
- if (result != null && !isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return buildPartial();
- }
-
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery buildPartial() {
- if (result == null) {
- throw new IllegalStateException(
- "build() has already been called on this Builder.");
- }
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery) {
- return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery other) {
- if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.getDefaultInstance()) return this;
- if (other.hasStatement()) {
- mergeStatement(other.getStatement());
- }
- if (other.hasFileId()) {
- setFileId(other.getFileId());
- }
- if (other.hasFilenameStartPos()) {
- setFilenameStartPos(other.getFilenameStartPos());
- }
- if (other.hasFilenameEndPos()) {
- setFilenameEndPos(other.getFilenameEndPos());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 10: {
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.Builder subBuilder = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.newBuilder();
- if (hasStatement()) {
- subBuilder.mergeFrom(getStatement());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setStatement(subBuilder.buildPartial());
- break;
- }
- case 16: {
- setFileId(input.readInt32());
- break;
- }
- case 24: {
- setFilenameStartPos(input.readInt32());
- break;
- }
- case 32: {
- setFilenameEndPos(input.readInt32());
- break;
- }
- }
- }
- }
-
-
- // required .TungstenProtobuf.ProtobufStatementData statement = 1;
- public boolean hasStatement() {
- return result.hasStatement();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData getStatement() {
- return result.getStatement();
- }
- public Builder setStatement(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasStatement = true;
- result.statement_ = value;
- return this;
- }
- public Builder setStatement(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.Builder builderForValue) {
- result.hasStatement = true;
- result.statement_ = builderForValue.build();
- return this;
- }
- public Builder mergeStatement(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData value) {
- if (result.hasStatement() &&
- result.statement_ != com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.getDefaultInstance()) {
- result.statement_ =
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.newBuilder(result.statement_).mergeFrom(value).buildPartial();
- } else {
- result.statement_ = value;
- }
- result.hasStatement = true;
- return this;
- }
- public Builder clearStatement() {
- result.hasStatement = false;
- result.statement_ = com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.getDefaultInstance();
- return this;
- }
-
- // required int32 fileId = 2;
- public boolean hasFileId() {
- return result.hasFileId();
- }
- public int getFileId() {
- return result.getFileId();
- }
- public Builder setFileId(int value) {
- result.hasFileId = true;
- result.fileId_ = value;
- return this;
- }
- public Builder clearFileId() {
- result.hasFileId = false;
- result.fileId_ = 0;
- return this;
- }
-
- // required int32 filenameStartPos = 3;
- public boolean hasFilenameStartPos() {
- return result.hasFilenameStartPos();
- }
- public int getFilenameStartPos() {
- return result.getFilenameStartPos();
- }
- public Builder setFilenameStartPos(int value) {
- result.hasFilenameStartPos = true;
- result.filenameStartPos_ = value;
- return this;
- }
- public Builder clearFilenameStartPos() {
- result.hasFilenameStartPos = false;
- result.filenameStartPos_ = 0;
- return this;
- }
-
- // required int32 filenameEndPos = 4;
- public boolean hasFilenameEndPos() {
- return result.hasFilenameEndPos();
- }
- public int getFilenameEndPos() {
- return result.getFilenameEndPos();
- }
- public Builder setFilenameEndPos(int value) {
- result.hasFilenameEndPos = true;
- result.filenameEndPos_ = value;
- return this;
- }
- public Builder clearFilenameEndPos() {
- result.hasFilenameEndPos = false;
- result.filenameEndPos_ = 0;
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufLoadDataFileQuery)
- }
-
- static {
- defaultInstance = new ProtobufLoadDataFileQuery(true);
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufLoadDataFileQuery)
- }
-
- public static final class ProtobufLoadDataFileDelete extends
- com.google.protobuf.GeneratedMessage {
- // Use ProtobufLoadDataFileDelete.newBuilder() to construct.
- private ProtobufLoadDataFileDelete() {
- initFields();
- }
- private ProtobufLoadDataFileDelete(boolean noInit) {}
-
- private static final ProtobufLoadDataFileDelete defaultInstance;
- public static ProtobufLoadDataFileDelete getDefaultInstance() {
- return defaultInstance;
- }
-
- public ProtobufLoadDataFileDelete getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufLoadDataFileDelete_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internal_static_TungstenProtobuf_ProtobufLoadDataFileDelete_fieldAccessorTable;
- }
-
- // required int32 int32 = 1;
- public static final int INT32_FIELD_NUMBER = 1;
- private boolean hasInt32;
- private int int32_ = 0;
- public boolean hasInt32() { return hasInt32; }
- public int getInt32() { return int32_; }
-
- private void initFields() {
- }
- public final boolean isInitialized() {
- if (!hasInt32) return false;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (hasInt32()) {
- output.writeInt32(1, getInt32());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasInt32()) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(1, getInt32());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete result;
-
- // Construct using com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.newBuilder()
- private Builder() {}
-
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete();
- return builder;
- }
-
- protected com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- if (result == null) {
- throw new IllegalStateException(
- "Cannot call clear() after build().");
- }
- result = new com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete();
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.getDescriptor();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete getDefaultInstanceForType() {
- return com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.getDefaultInstance();
- }
-
- public boolean isInitialized() {
- return result.isInitialized();
- }
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete build() {
- if (result != null && !isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return buildPartial();
- }
-
- private com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete buildPartial() {
- if (result == null) {
- throw new IllegalStateException(
- "build() has already been called on this Builder.");
- }
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete) {
- return mergeFrom((com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete other) {
- if (other == com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.getDefaultInstance()) return this;
- if (other.hasInt32()) {
- setInt32(other.getInt32());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 8: {
- setInt32(input.readInt32());
- break;
- }
- }
- }
- }
-
-
- // required int32 int32 = 1;
- public boolean hasInt32() {
- return result.hasInt32();
- }
- public int getInt32() {
- return result.getInt32();
- }
- public Builder setInt32(int value) {
- result.hasInt32 = true;
- result.int32_ = value;
- return this;
- }
- public Builder clearInt32() {
- result.hasInt32 = false;
- result.int32_ = 0;
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:TungstenProtobuf.ProtobufLoadDataFileDelete)
- }
-
- static {
- defaultInstance = new ProtobufLoadDataFileDelete(true);
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.internalForceInit();
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:TungstenProtobuf.ProtobufLoadDataFileDelete)
- }
-
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_TungstenProtobuf_Header_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_TungstenProtobuf_Header_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_TungstenProtobuf_ProtobufOneRowChange_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_TungstenProtobuf_ProtobufOneRowChange_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufColumnSpec_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufColumnSpec_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_ProtobufColumnVal_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_ProtobufColumnVal_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_TungstenProtobuf_ProtobufRowChangeData_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_TungstenProtobuf_ProtobufRowChangeData_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_TungstenProtobuf_ProtobufOneChange_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_TungstenProtobuf_ProtobufOneChange_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_TungstenProtobuf_ProtobufReplDBMSEvent_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_TungstenProtobuf_ProtobufReplDBMSEvent_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_TungstenProtobuf_ProtobufStatementData_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_TungstenProtobuf_ProtobufStatementData_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_TungstenProtobuf_ProtobufEventOption_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_TungstenProtobuf_ProtobufEventOption_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_TungstenProtobuf_ProtobufRowIdData_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_TungstenProtobuf_ProtobufRowIdData_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_TungstenProtobuf_ProtobufLoadDataFileFragment_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_TungstenProtobuf_ProtobufLoadDataFileFragment_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_TungstenProtobuf_ProtobufLoadDataFileQuery_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_TungstenProtobuf_ProtobufLoadDataFileQuery_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor
- internal_static_TungstenProtobuf_ProtobufLoadDataFileDelete_descriptor;
- private static
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internal_static_TungstenProtobuf_ProtobufLoadDataFileDelete_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n\027TungstenProtobufMessage\022\020TungstenProto" +
- "buf\"\355\001\n\006Header\022\r\n\005seqno\030\001 \002(\003\022\016\n\006fragno\030" +
- "\002 \002(\005\022\020\n\010lastFrag\030\003 \002(\010\022\024\n\014sourceTstamp\030" +
- "\004 \002(\003\022\027\n\017extractedTstamp\030\005 \002(\003\022\020\n\010source" +
- "Id\030\006 \002(\t\022\023\n\013epochNumber\030\007 \002(\003\022\017\n\007eventId" +
- "\030\010 \002(\t\022\017\n\007shardId\030\t \002(\t\022\025\n\rfilteredEvent" +
- "\030\n \002(\010\022\020\n\010seqnoEnd\030\013 \001(\003\022\021\n\tfragnoEnd\030\014 " +
- "\001(\005\"\351\010\n\024ProtobufOneRowChange\022\022\n\nschemaNa" +
- "me\030\001 \002(\t\022\021\n\ttableName\030\002 \002(\t\022A\n\006action\030\003 " +
- "\002(\01621.TungstenProtobuf.ProtobufOneRowCha",
- "nge.ActionType\022J\n\007keySpec\030\004 \003(\01329.Tungst" +
- "enProtobuf.ProtobufOneRowChange.Protobuf" +
- "ColumnSpec\022M\n\ncolumnSpec\030\005 \003(\01329.Tungste" +
- "nProtobuf.ProtobufOneRowChange.ProtobufC" +
- "olumnSpec\022J\n\tkeyValues\030\006 \003(\01327.TungstenP" +
- "rotobuf.ProtobufOneRowChange.ProtobufRow" +
- "Value\022M\n\014columnValues\030\007 \003(\01327.TungstenPr" +
- "otobuf.ProtobufOneRowChange.ProtobufRowV" +
- "alue\022\017\n\007tableId\030\010 \001(\022\032p\n\022ProtobufColumnS" +
- "pec\022\r\n\005index\030\001 \002(\005\022\014\n\004name\030\002 \001(\t\022\014\n\004type",
- "\030\003 \002(\005\022\016\n\006signed\030\004 \002(\010\022\016\n\006length\030\005 \002(\005\022\017" +
- "\n\007notNull\030\006 \002(\010\032\373\003\n\020ProtobufRowValue\022^\n\013" +
- "columnValue\030\001 \003(\0132I.TungstenProtobuf.Pro" +
- "tobufOneRowChange.ProtobufRowValue.Proto" +
- "bufColumnVal\032\206\003\n\021ProtobufColumnVal\022\\\n\004ty" +
- "pe\030\001 \002(\0162N.TungstenProtobuf.ProtobufOneR" +
- "owChange.ProtobufRowValue.ProtobufColumn" +
- "Val.Type\022\020\n\010intValue\030\002 \001(\021\022\021\n\tlongValue\030" +
- "\003 \001(\022\022\022\n\nfloatValue\030\004 \001(\002\022\023\n\013doubleValue" +
- "\030\005 \001(\001\022\023\n\013stringValue\030\006 \001(\t\022\022\n\nbytesValu",
- "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" +
- "LOAT\020\003\022\n\n\006DOUBLE\020\004\022\n\n\006STRING\020\005\022\r\n\tTIMEST" +
- "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" +
- "OB\020\n\022\010\n\004NULL\020\013\022\013\n\007DECIMAL\020\014\022\020\n\014BINARYSTR" +
- "ING\020\r\"0\n\nActionType\022\n\n\006INSERT\020\001\022\n\n\006DELET" +
- "E\020\002\022\n\n\006UPDATE\020\003\"\212\001\n\025ProtobufRowChangeDat" +
- "a\0229\n\trowChange\030\001 \003(\0132&.TungstenProtobuf." +
- "ProtobufOneRowChange\0226\n\007options\030\002 \003(\0132%." +
- "TungstenProtobuf.ProtobufEventOption\"\310\004\n" +
- "\021ProtobufOneChange\0226\n\004type\030\001 \002(\0162(.Tungs",
- "tenProtobuf.ProtobufOneChange.Type\0225\n\004da" +
- "ta\030\002 \001(\0132\'.TungstenProtobuf.ProtobufRowC" +
- "hangeData\022:\n\tstatement\030\003 \001(\0132\'.TungstenP" +
- "rotobuf.ProtobufStatementData\0222\n\005rowId\030\004" +
- " \001(\0132#.TungstenProtobuf.ProtobufRowIdDat" +
- "a\022D\n\014fileFragment\030\005 \001(\0132..TungstenProtob" +
- "uf.ProtobufLoadDataFileFragment\022>\n\tfileQ" +
- "uery\030\006 \001(\0132+.TungstenProtobuf.ProtobufLo" +
- "adDataFileQuery\022@\n\nfileDelete\030\007 \001(\0132,.Tu" +
- "ngstenProtobuf.ProtobufLoadDataFileDelet",
- "e\"\213\001\n\004Type\022\014\n\010ROW_DATA\020\001\022\022\n\016STATEMENT_DA" +
- "TA\020\002\022\017\n\013ROW_ID_DATA\020\003\022\033\n\027LOAD_DATA_FILE_" +
- "FRAGMENT\020\004\022\030\n\024LOAD_DATA_FILE_QUERY\020\005\022\031\n\025" +
- "LOAD_DATA_FILE_DELETE\020\006\"\275\001\n\025ProtobufRepl" +
- "DBMSEvent\0223\n\006change\030\001 \003(\0132#.TungstenProt" +
- "obuf.ProtobufOneChange\0227\n\010metadata\030\002 \003(\013" +
- "2%.TungstenProtobuf.ProtobufEventOption\022" +
- "6\n\007options\030\003 \003(\0132%.TungstenProtobuf.Prot" +
- "obufEventOption\"\257\001\n\025ProtobufStatementDat" +
- "a\022\025\n\rdefaultSchema\030\001 \001(\t\022\021\n\ttimestamp\030\002 ",
- "\001(\003\022\r\n\005query\030\003 \001(\t\0226\n\007options\030\004 \003(\0132%.Tu" +
- "ngstenProtobuf.ProtobufEventOption\022\021\n\ter" +
- "rorCode\030\005 \002(\005\022\022\n\nqueryBytes\030\006 \001(\014\"2\n\023Pro" +
- "tobufEventOption\022\014\n\004name\030\001 \002(\t\022\r\n\005value\030" +
- "\002 \002(\t\"-\n\021ProtobufRowIdData\022\n\n\002id\030\001 \002(\003\022\014" +
- "\n\004type\030\002 \001(\005\"N\n\034ProtobufLoadDataFileFrag" +
- "ment\022\016\n\006fileId\030\001 \002(\005\022\014\n\004data\030\002 \002(\014\022\020\n\010da" +
- "tabase\030\003 \001(\t\"\231\001\n\031ProtobufLoadDataFileQue" +
- "ry\022:\n\tstatement\030\001 \002(\0132\'.TungstenProtobuf" +
- ".ProtobufStatementData\022\016\n\006fileId\030\002 \002(\005\022\030",
- "\n\020filenameStartPos\030\003 \002(\005\022\026\n\016filenameEndP" +
- "os\030\004 \002(\005\"+\n\032ProtobufLoadDataFileDelete\022\r" +
- "\n\005int32\030\001 \002(\005BA\n/com.continuent.tungsten" +
- ".replicator.thl.protobufB\016TungstenProtos"
- };
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- internal_static_TungstenProtobuf_Header_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_TungstenProtobuf_Header_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_TungstenProtobuf_Header_descriptor,
- new java.lang.String[] { "Seqno", "Fragno", "LastFrag", "SourceTstamp", "ExtractedTstamp", "SourceId", "EpochNumber", "EventId", "ShardId", "FilteredEvent", "SeqnoEnd", "FragnoEnd", },
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header.class,
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.Header.Builder.class);
- internal_static_TungstenProtobuf_ProtobufOneRowChange_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_TungstenProtobuf_ProtobufOneRowChange_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_TungstenProtobuf_ProtobufOneRowChange_descriptor,
- new java.lang.String[] { "SchemaName", "TableName", "Action", "KeySpec", "ColumnSpec", "KeyValues", "ColumnValues", "TableId", },
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.class,
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.Builder.class);
- internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufColumnSpec_descriptor =
- internal_static_TungstenProtobuf_ProtobufOneRowChange_descriptor.getNestedTypes().get(0);
- internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufColumnSpec_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufColumnSpec_descriptor,
- new java.lang.String[] { "Index", "Name", "Type", "Signed", "Length", "NotNull", },
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.class,
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufColumnSpec.Builder.class);
- internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_descriptor =
- internal_static_TungstenProtobuf_ProtobufOneRowChange_descriptor.getNestedTypes().get(1);
- internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_descriptor,
- new java.lang.String[] { "ColumnValue", },
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.class,
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.Builder.class);
- internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_ProtobufColumnVal_descriptor =
- internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_descriptor.getNestedTypes().get(0);
- internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_ProtobufColumnVal_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_TungstenProtobuf_ProtobufOneRowChange_ProtobufRowValue_ProtobufColumnVal_descriptor,
- new java.lang.String[] { "Type", "IntValue", "LongValue", "FloatValue", "DoubleValue", "StringValue", "BytesValue", },
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.class,
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneRowChange.ProtobufRowValue.ProtobufColumnVal.Builder.class);
- internal_static_TungstenProtobuf_ProtobufRowChangeData_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_TungstenProtobuf_ProtobufRowChangeData_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_TungstenProtobuf_ProtobufRowChangeData_descriptor,
- new java.lang.String[] { "RowChange", "Options", },
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.class,
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowChangeData.Builder.class);
- internal_static_TungstenProtobuf_ProtobufOneChange_descriptor =
- getDescriptor().getMessageTypes().get(3);
- internal_static_TungstenProtobuf_ProtobufOneChange_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_TungstenProtobuf_ProtobufOneChange_descriptor,
- new java.lang.String[] { "Type", "Data", "Statement", "RowId", "FileFragment", "FileQuery", "FileDelete", },
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.class,
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufOneChange.Builder.class);
- internal_static_TungstenProtobuf_ProtobufReplDBMSEvent_descriptor =
- getDescriptor().getMessageTypes().get(4);
- internal_static_TungstenProtobuf_ProtobufReplDBMSEvent_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_TungstenProtobuf_ProtobufReplDBMSEvent_descriptor,
- new java.lang.String[] { "Change", "Metadata", "Options", },
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent.class,
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufReplDBMSEvent.Builder.class);
- internal_static_TungstenProtobuf_ProtobufStatementData_descriptor =
- getDescriptor().getMessageTypes().get(5);
- internal_static_TungstenProtobuf_ProtobufStatementData_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_TungstenProtobuf_ProtobufStatementData_descriptor,
- new java.lang.String[] { "DefaultSchema", "Timestamp", "Query", "Options", "ErrorCode", "QueryBytes", },
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.class,
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufStatementData.Builder.class);
- internal_static_TungstenProtobuf_ProtobufEventOption_descriptor =
- getDescriptor().getMessageTypes().get(6);
- internal_static_TungstenProtobuf_ProtobufEventOption_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_TungstenProtobuf_ProtobufEventOption_descriptor,
- new java.lang.String[] { "Name", "Value", },
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.class,
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufEventOption.Builder.class);
- internal_static_TungstenProtobuf_ProtobufRowIdData_descriptor =
- getDescriptor().getMessageTypes().get(7);
- internal_static_TungstenProtobuf_ProtobufRowIdData_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_TungstenProtobuf_ProtobufRowIdData_descriptor,
- new java.lang.String[] { "Id", "Type", },
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.class,
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufRowIdData.Builder.class);
- internal_static_TungstenProtobuf_ProtobufLoadDataFileFragment_descriptor =
- getDescriptor().getMessageTypes().get(8);
- internal_static_TungstenProtobuf_ProtobufLoadDataFileFragment_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_TungstenProtobuf_ProtobufLoadDataFileFragment_descriptor,
- new java.lang.String[] { "FileId", "Data", "Database", },
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.class,
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileFragment.Builder.class);
- internal_static_TungstenProtobuf_ProtobufLoadDataFileQuery_descriptor =
- getDescriptor().getMessageTypes().get(9);
- internal_static_TungstenProtobuf_ProtobufLoadDataFileQuery_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_TungstenProtobuf_ProtobufLoadDataFileQuery_descriptor,
- new java.lang.String[] { "Statement", "FileId", "FilenameStartPos", "FilenameEndPos", },
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.class,
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileQuery.Builder.class);
- internal_static_TungstenProtobuf_ProtobufLoadDataFileDelete_descriptor =
- getDescriptor().getMessageTypes().get(10);
- internal_static_TungstenProtobuf_ProtobufLoadDataFileDelete_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_TungstenProtobuf_ProtobufLoadDataFileDelete_descriptor,
- new java.lang.String[] { "Int32", },
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.class,
- com.continuent.tungsten.replicator.thl.protobuf.TungstenProtos.ProtobufLoadDataFileDelete.Builder.class);
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- }, assigner);
- }
-
- public static void internalForceInit() {}
-
- // @@protoc_insertion_point(outer_class_scope)
- }