Return-Path: Delivered-To: apmail-hadoop-hbase-commits-archive@minotaur.apache.org Received: (qmail 48836 invoked from network); 29 Jun 2009 02:49:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Jun 2009 02:49:44 -0000 Received: (qmail 41966 invoked by uid 500); 29 Jun 2009 02:49:55 -0000 Delivered-To: apmail-hadoop-hbase-commits-archive@hadoop.apache.org Received: (qmail 41893 invoked by uid 500); 29 Jun 2009 02:49:54 -0000 Mailing-List: contact hbase-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-commits@hadoop.apache.org Received: (qmail 41876 invoked by uid 99); 29 Jun 2009 02:49:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2009 02:49:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2009 02:49:50 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C3DE823888FE; Mon, 29 Jun 2009 02:49:30 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r789195 [4/11] - in /hadoop/hbase/trunk_on_hadoop-0.18.3/contrib: ./ stargate/ stargate/conf/ stargate/lib/ stargate/src/ stargate/src/java/ stargate/src/java/org/ stargate/src/java/org/apache/ stargate/src/java/org/apache/hadoop/ stargate/... Date: Mon, 29 Jun 2009 02:49:26 -0000 To: hbase-commits@hadoop.apache.org From: apurtell@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090629024930.C3DE823888FE@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: hadoop/hbase/trunk_on_hadoop-0.18.3/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/protobuf/generated/CellMessage.java URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk_on_hadoop-0.18.3/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/protobuf/generated/CellMessage.java?rev=789195&view=auto ============================================================================== --- hadoop/hbase/trunk_on_hadoop-0.18.3/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/protobuf/generated/CellMessage.java (added) +++ hadoop/hbase/trunk_on_hadoop-0.18.3/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/protobuf/generated/CellMessage.java Mon Jun 29 02:49:21 2009 @@ -0,0 +1,443 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! + +package org.apache.hadoop.hbase.stargate.protobuf.generated; + +public final class CellMessage { + private CellMessage() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + } + public static final class Cell extends + com.google.protobuf.GeneratedMessage { + // Use Cell.newBuilder() to construct. + private Cell() {} + + private static final Cell defaultInstance = new Cell(); + public static Cell getDefaultInstance() { + return defaultInstance; + } + + public Cell getDefaultInstanceForType() { + return defaultInstance; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.internal_static_org_apache_hadoop_hbase_stargate_protobuf_generated_Cell_descriptor; + } + + @Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.internal_static_org_apache_hadoop_hbase_stargate_protobuf_generated_Cell_fieldAccessorTable; + } + + // optional bytes row = 1; + public static final int ROW_FIELD_NUMBER = 1; + private boolean hasRow; + private com.google.protobuf.ByteString row_ = com.google.protobuf.ByteString.EMPTY; + public boolean hasRow() { return hasRow; } + public com.google.protobuf.ByteString getRow() { return row_; } + + // optional bytes column = 2; + public static final int COLUMN_FIELD_NUMBER = 2; + private boolean hasColumn; + private com.google.protobuf.ByteString column_ = com.google.protobuf.ByteString.EMPTY; + public boolean hasColumn() { return hasColumn; } + public com.google.protobuf.ByteString getColumn() { return column_; } + + // optional int64 timestamp = 3; + public static final int TIMESTAMP_FIELD_NUMBER = 3; + private boolean hasTimestamp; + private long timestamp_ = 0L; + public boolean hasTimestamp() { return hasTimestamp; } + public long getTimestamp() { return timestamp_; } + + // optional bytes data = 4; + public static final int DATA_FIELD_NUMBER = 4; + 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_; } + + @Override + public final boolean isInitialized() { + return true; + } + + @Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (hasRow()) { + output.writeBytes(1, getRow()); + } + if (hasColumn()) { + output.writeBytes(2, getColumn()); + } + if (hasTimestamp()) { + output.writeInt64(3, getTimestamp()); + } + if (hasData()) { + output.writeBytes(4, getData()); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + @Override + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (hasRow()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, getRow()); + } + if (hasColumn()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, getColumn()); + } + if (hasTimestamp()) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, getTimestamp()); + } + if (hasData()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(4, getData()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data).buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistry extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data).buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistry extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell parseFrom(java.io.InputStream input) + throws java.io.IOException { + return newBuilder().mergeFrom(input).buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistry extensionRegistry) + throws java.io.IOException { + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return newBuilder().mergeDelimitedFrom(input).buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistry extensionRegistry) + throws java.io.IOException { + return newBuilder().mergeDelimitedFrom(input, extensionRegistry) + .buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return newBuilder().mergeFrom(input).buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistry extensionRegistry) + throws java.io.IOException { + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); + } + + public static Builder newBuilder() { return new Builder(); } + public Builder newBuilderForType() { return new Builder(); } + public static Builder newBuilder(org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell prototype) { + return new Builder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder { + // Construct using org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell.newBuilder() + private Builder() {} + + org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell result = new org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell(); + + @Override + protected org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell internalGetResult() { + return result; + } + + @Override + public Builder clear() { + result = new org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell(); + return this; + } + + @Override + public Builder clone() { + return new Builder().mergeFrom(result); + } + + @Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell.getDescriptor(); + } + + public org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell getDefaultInstanceForType() { + return org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell.getDefaultInstance(); + } + + public org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell build() { + if (result != null && !isInitialized()) { + throw new com.google.protobuf.UninitializedMessageException( + result); + } + return buildPartial(); + } + + private org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + if (!isInitialized()) { + throw new com.google.protobuf.UninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return buildPartial(); + } + + public org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell buildPartial() { + if (result == null) { + throw new IllegalStateException( + "build() has already been called on this Builder."); } + org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell returnMe = result; + result = null; + return returnMe; + } + + @Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell) { + return mergeFrom((org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell other) { + if (other == org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell.getDefaultInstance()) return this; + if (other.hasRow()) { + setRow(other.getRow()); + } + if (other.hasColumn()) { + setColumn(other.getColumn()); + } + if (other.hasTimestamp()) { + setTimestamp(other.getTimestamp()); + } + if (other.hasData()) { + setData(other.getData()); + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + @Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return mergeFrom(input, + com.google.protobuf.ExtensionRegistry.getEmptyRegistry()); + } + + @Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistry 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: { + setRow(input.readBytes()); + break; + } + case 18: { + setColumn(input.readBytes()); + break; + } + case 24: { + setTimestamp(input.readInt64()); + break; + } + case 34: { + setData(input.readBytes()); + break; + } + } + } + } + + + // optional bytes row = 1; + public boolean hasRow() { + return result.hasRow(); + } + public com.google.protobuf.ByteString getRow() { + return result.getRow(); + } + public Builder setRow(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + result.hasRow = true; + result.row_ = value; + return this; + } + public Builder clearRow() { + result.hasRow = false; + result.row_ = com.google.protobuf.ByteString.EMPTY; + return this; + } + + // optional bytes column = 2; + public boolean hasColumn() { + return result.hasColumn(); + } + public com.google.protobuf.ByteString getColumn() { + return result.getColumn(); + } + public Builder setColumn(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + result.hasColumn = true; + result.column_ = value; + return this; + } + public Builder clearColumn() { + result.hasColumn = false; + result.column_ = com.google.protobuf.ByteString.EMPTY; + return this; + } + + // optional int64 timestamp = 3; + 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 bytes data = 4; + 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_ = com.google.protobuf.ByteString.EMPTY; + return this; + } + } + + static { + org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.getDescriptor(); + } + } + + private static com.google.protobuf.Descriptors.Descriptor + internal_static_org_apache_hadoop_hbase_stargate_protobuf_generated_Cell_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_org_apache_hadoop_hbase_stargate_protobuf_generated_Cell_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\021CellMessage.proto\0223org.apache.hadoop.h" + + "base.stargate.protobuf.generated\"D\n\004Cell" + + "\022\013\n\003row\030\001 \001(\014\022\016\n\006column\030\002 \001(\014\022\021\n\ttimesta" + + "mp\030\003 \001(\003\022\014\n\004data\030\004 \001(\014"; + 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_org_apache_hadoop_hbase_stargate_protobuf_generated_Cell_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_org_apache_hadoop_hbase_stargate_protobuf_generated_Cell_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_org_apache_hadoop_hbase_stargate_protobuf_generated_Cell_descriptor, + new java.lang.String[] { "Row", "Column", "Timestamp", "Data", }, + org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell.class, + org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell.Builder.class); + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + } +} Added: hadoop/hbase/trunk_on_hadoop-0.18.3/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/protobuf/generated/CellSetMessage.java URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk_on_hadoop-0.18.3/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/protobuf/generated/CellSetMessage.java?rev=789195&view=auto ============================================================================== --- hadoop/hbase/trunk_on_hadoop-0.18.3/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/protobuf/generated/CellSetMessage.java (added) +++ hadoop/hbase/trunk_on_hadoop-0.18.3/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/protobuf/generated/CellSetMessage.java Mon Jun 29 02:49:21 2009 @@ -0,0 +1,743 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! + +package org.apache.hadoop.hbase.stargate.protobuf.generated; + +public final class CellSetMessage { + private CellSetMessage() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + } + public static final class CellSet extends + com.google.protobuf.GeneratedMessage { + // Use CellSet.newBuilder() to construct. + private CellSet() {} + + private static final CellSet defaultInstance = new CellSet(); + public static CellSet getDefaultInstance() { + return defaultInstance; + } + + public CellSet getDefaultInstanceForType() { + return defaultInstance; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.internal_static_org_apache_hadoop_hbase_stargate_protobuf_generated_CellSet_descriptor; + } + + @Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.internal_static_org_apache_hadoop_hbase_stargate_protobuf_generated_CellSet_fieldAccessorTable; + } + + public static final class Row extends + com.google.protobuf.GeneratedMessage { + // Use Row.newBuilder() to construct. + private Row() {} + + private static final Row defaultInstance = new Row(); + public static Row getDefaultInstance() { + return defaultInstance; + } + + public Row getDefaultInstanceForType() { + return defaultInstance; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.internal_static_org_apache_hadoop_hbase_stargate_protobuf_generated_CellSet_Row_descriptor; + } + + @Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.internal_static_org_apache_hadoop_hbase_stargate_protobuf_generated_CellSet_Row_fieldAccessorTable; + } + + // required bytes key = 1; + public static final int KEY_FIELD_NUMBER = 1; + private boolean hasKey; + private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY; + public boolean hasKey() { return hasKey; } + public com.google.protobuf.ByteString getKey() { return key_; } + + // repeated .org.apache.hadoop.hbase.stargate.protobuf.generated.Cell values = 2; + public static final int VALUES_FIELD_NUMBER = 2; + private java.util.List values_ = + java.util.Collections.emptyList(); + public java.util.List getValuesList() { + return values_; + } + public int getValuesCount() { return values_.size(); } + public org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell getValues(int index) { + return values_.get(index); + } + + @Override + public final boolean isInitialized() { + if (!hasKey) return false; + return true; + } + + @Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (hasKey()) { + output.writeBytes(1, getKey()); + } + for (org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell element : getValuesList()) { + output.writeMessage(2, element); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + @Override + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (hasKey()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, getKey()); + } + for (org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell element : getValuesList()) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, element); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data).buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistry extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data).buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistry extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row parseFrom(java.io.InputStream input) + throws java.io.IOException { + return newBuilder().mergeFrom(input).buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistry extensionRegistry) + throws java.io.IOException { + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return newBuilder().mergeDelimitedFrom(input).buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistry extensionRegistry) + throws java.io.IOException { + return newBuilder().mergeDelimitedFrom(input, extensionRegistry) + .buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return newBuilder().mergeFrom(input).buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistry extensionRegistry) + throws java.io.IOException { + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); + } + + public static Builder newBuilder() { return new Builder(); } + public Builder newBuilderForType() { return new Builder(); } + public static Builder newBuilder(org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row prototype) { + return new Builder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder { + // Construct using org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row.newBuilder() + private Builder() {} + + org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row result = new org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row(); + + @Override + protected org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row internalGetResult() { + return result; + } + + @Override + public Builder clear() { + result = new org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row(); + return this; + } + + @Override + public Builder clone() { + return new Builder().mergeFrom(result); + } + + @Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row.getDescriptor(); + } + + public org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row getDefaultInstanceForType() { + return org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row.getDefaultInstance(); + } + + public org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row build() { + if (result != null && !isInitialized()) { + throw new com.google.protobuf.UninitializedMessageException( + result); + } + return buildPartial(); + } + + private org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + if (!isInitialized()) { + throw new com.google.protobuf.UninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return buildPartial(); + } + + public org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row buildPartial() { + if (result == null) { + throw new IllegalStateException( + "build() has already been called on this Builder."); } + if (result.values_ != java.util.Collections.EMPTY_LIST) { + result.values_ = + java.util.Collections.unmodifiableList(result.values_); + } + org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row returnMe = result; + result = null; + return returnMe; + } + + @Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row) { + return mergeFrom((org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row other) { + if (other == org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row.getDefaultInstance()) return this; + if (other.hasKey()) { + setKey(other.getKey()); + } + if (!other.values_.isEmpty()) { + if (result.values_.isEmpty()) { + result.values_ = new java.util.ArrayList(); + } + result.values_.addAll(other.values_); + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + @Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return mergeFrom(input, + com.google.protobuf.ExtensionRegistry.getEmptyRegistry()); + } + + @Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistry 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: { + setKey(input.readBytes()); + break; + } + case 18: { + org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell.Builder subBuilder = org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell.newBuilder(); + input.readMessage(subBuilder, extensionRegistry); + addValues(subBuilder.buildPartial()); + break; + } + } + } + } + + + // required bytes key = 1; + public boolean hasKey() { + return result.hasKey(); + } + public com.google.protobuf.ByteString getKey() { + return result.getKey(); + } + public Builder setKey(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + result.hasKey = true; + result.key_ = value; + return this; + } + public Builder clearKey() { + result.hasKey = false; + result.key_ = com.google.protobuf.ByteString.EMPTY; + return this; + } + + // repeated .org.apache.hadoop.hbase.stargate.protobuf.generated.Cell values = 2; + public java.util.List getValuesList() { + return java.util.Collections.unmodifiableList(result.values_); + } + public int getValuesCount() { + return result.getValuesCount(); + } + public org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell getValues(int index) { + return result.getValues(index); + } + public Builder setValues(int index, org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell value) { + if (value == null) { + throw new NullPointerException(); + } + result.values_.set(index, value); + return this; + } + public Builder setValues(int index, org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell.Builder builderForValue) { + result.values_.set(index, builderForValue.build()); + return this; + } + public Builder addValues(org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell value) { + if (value == null) { + throw new NullPointerException(); + } + if (result.values_.isEmpty()) { + result.values_ = new java.util.ArrayList(); + } + result.values_.add(value); + return this; + } + public Builder addValues(org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.Cell.Builder builderForValue) { + if (result.values_.isEmpty()) { + result.values_ = new java.util.ArrayList(); + } + result.values_.add(builderForValue.build()); + return this; + } + public Builder addAllValues( + java.lang.Iterable values) { + if (result.values_.isEmpty()) { + result.values_ = new java.util.ArrayList(); + } + super.addAll(values, result.values_); + return this; + } + public Builder clearValues() { + result.values_ = java.util.Collections.emptyList(); + return this; + } + } + + static { + org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.getDescriptor(); + } + } + + // repeated .org.apache.hadoop.hbase.stargate.protobuf.generated.CellSet.Row rows = 1; + public static final int ROWS_FIELD_NUMBER = 1; + private java.util.List rows_ = + java.util.Collections.emptyList(); + public java.util.List getRowsList() { + return rows_; + } + public int getRowsCount() { return rows_.size(); } + public org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row getRows(int index) { + return rows_.get(index); + } + + @Override + public final boolean isInitialized() { + for (org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row element : getRowsList()) { + if (!element.isInitialized()) return false; + } + return true; + } + + @Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row element : getRowsList()) { + output.writeMessage(1, element); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + @Override + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + for (org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row element : getRowsList()) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, element); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data).buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistry extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data).buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistry extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return newBuilder().mergeFrom(data, extensionRegistry) + .buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet parseFrom(java.io.InputStream input) + throws java.io.IOException { + return newBuilder().mergeFrom(input).buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistry extensionRegistry) + throws java.io.IOException { + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return newBuilder().mergeDelimitedFrom(input).buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistry extensionRegistry) + throws java.io.IOException { + return newBuilder().mergeDelimitedFrom(input, extensionRegistry) + .buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return newBuilder().mergeFrom(input).buildParsed(); + } + public static org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistry extensionRegistry) + throws java.io.IOException { + return newBuilder().mergeFrom(input, extensionRegistry) + .buildParsed(); + } + + public static Builder newBuilder() { return new Builder(); } + public Builder newBuilderForType() { return new Builder(); } + public static Builder newBuilder(org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet prototype) { + return new Builder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder { + // Construct using org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.newBuilder() + private Builder() {} + + org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet result = new org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet(); + + @Override + protected org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet internalGetResult() { + return result; + } + + @Override + public Builder clear() { + result = new org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet(); + return this; + } + + @Override + public Builder clone() { + return new Builder().mergeFrom(result); + } + + @Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.getDescriptor(); + } + + public org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet getDefaultInstanceForType() { + return org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.getDefaultInstance(); + } + + public org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet build() { + if (result != null && !isInitialized()) { + throw new com.google.protobuf.UninitializedMessageException( + result); + } + return buildPartial(); + } + + private org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet buildParsed() + throws com.google.protobuf.InvalidProtocolBufferException { + if (!isInitialized()) { + throw new com.google.protobuf.UninitializedMessageException( + result).asInvalidProtocolBufferException(); + } + return buildPartial(); + } + + public org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet buildPartial() { + if (result == null) { + throw new IllegalStateException( + "build() has already been called on this Builder."); } + if (result.rows_ != java.util.Collections.EMPTY_LIST) { + result.rows_ = + java.util.Collections.unmodifiableList(result.rows_); + } + org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet returnMe = result; + result = null; + return returnMe; + } + + @Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet) { + return mergeFrom((org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet other) { + if (other == org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.getDefaultInstance()) return this; + if (!other.rows_.isEmpty()) { + if (result.rows_.isEmpty()) { + result.rows_ = new java.util.ArrayList(); + } + result.rows_.addAll(other.rows_); + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + @Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return mergeFrom(input, + com.google.protobuf.ExtensionRegistry.getEmptyRegistry()); + } + + @Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistry 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: { + org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row.Builder subBuilder = org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row.newBuilder(); + input.readMessage(subBuilder, extensionRegistry); + addRows(subBuilder.buildPartial()); + break; + } + } + } + } + + + // repeated .org.apache.hadoop.hbase.stargate.protobuf.generated.CellSet.Row rows = 1; + public java.util.List getRowsList() { + return java.util.Collections.unmodifiableList(result.rows_); + } + public int getRowsCount() { + return result.getRowsCount(); + } + public org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row getRows(int index) { + return result.getRows(index); + } + public Builder setRows(int index, org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row value) { + if (value == null) { + throw new NullPointerException(); + } + result.rows_.set(index, value); + return this; + } + public Builder setRows(int index, org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row.Builder builderForValue) { + result.rows_.set(index, builderForValue.build()); + return this; + } + public Builder addRows(org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row value) { + if (value == null) { + throw new NullPointerException(); + } + if (result.rows_.isEmpty()) { + result.rows_ = new java.util.ArrayList(); + } + result.rows_.add(value); + return this; + } + public Builder addRows(org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row.Builder builderForValue) { + if (result.rows_.isEmpty()) { + result.rows_ = new java.util.ArrayList(); + } + result.rows_.add(builderForValue.build()); + return this; + } + public Builder addAllRows( + java.lang.Iterable values) { + if (result.rows_.isEmpty()) { + result.rows_ = new java.util.ArrayList(); + } + super.addAll(values, result.rows_); + return this; + } + public Builder clearRows() { + result.rows_ = java.util.Collections.emptyList(); + return this; + } + } + + static { + org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.getDescriptor(); + } + } + + private static com.google.protobuf.Descriptors.Descriptor + internal_static_org_apache_hadoop_hbase_stargate_protobuf_generated_CellSet_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_org_apache_hadoop_hbase_stargate_protobuf_generated_CellSet_fieldAccessorTable; + private static com.google.protobuf.Descriptors.Descriptor + internal_static_org_apache_hadoop_hbase_stargate_protobuf_generated_CellSet_Row_descriptor; + private static + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_org_apache_hadoop_hbase_stargate_protobuf_generated_CellSet_Row_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\024CellSetMessage.proto\0223org.apache.hadoo" + + "p.hbase.stargate.protobuf.generated\032\021Cel" + + "lMessage.proto\"\270\001\n\007CellSet\022N\n\004rows\030\001 \003(\013" + + "2@.org.apache.hadoop.hbase.stargate.prot" + + "obuf.generated.CellSet.Row\032]\n\003Row\022\013\n\003key" + + "\030\001 \002(\014\022I\n\006values\030\002 \003(\01329.org.apache.hado" + + "op.hbase.stargate.protobuf.generated.Cel" + + "l"; + 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_org_apache_hadoop_hbase_stargate_protobuf_generated_CellSet_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_org_apache_hadoop_hbase_stargate_protobuf_generated_CellSet_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_org_apache_hadoop_hbase_stargate_protobuf_generated_CellSet_descriptor, + new java.lang.String[] { "Rows", }, + org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.class, + org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Builder.class); + internal_static_org_apache_hadoop_hbase_stargate_protobuf_generated_CellSet_Row_descriptor = + internal_static_org_apache_hadoop_hbase_stargate_protobuf_generated_CellSet_descriptor.getNestedTypes().get(0); + internal_static_org_apache_hadoop_hbase_stargate_protobuf_generated_CellSet_Row_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_org_apache_hadoop_hbase_stargate_protobuf_generated_CellSet_Row_descriptor, + new java.lang.String[] { "Key", "Values", }, + org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row.class, + org.apache.hadoop.hbase.stargate.protobuf.generated.CellSetMessage.CellSet.Row.Builder.class); + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + org.apache.hadoop.hbase.stargate.protobuf.generated.CellMessage.getDescriptor(), + }, assigner); + } +}