phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeffr...@apache.org
Subject [06/50] Port Phoenix to Hbase0.98
Date Mon, 10 Mar 2014 06:20:23 GMT
http://git-wip-us.apache.org/repos/asf/incubator-phoenix/blob/53f7d3ce/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/PTableProtos.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/PTableProtos.java b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/PTableProtos.java
new file mode 100644
index 0000000..ab57bae
--- /dev/null
+++ b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/PTableProtos.java
@@ -0,0 +1,5315 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: PTable.proto
+
+package org.apache.phoenix.coprocessor.generated;
+
+public final class PTableProtos {
+  private PTableProtos() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+  }
+  /**
+   * Protobuf enum {@code PTableType}
+   */
+  public enum PTableType
+      implements com.google.protobuf.ProtocolMessageEnum {
+    /**
+     * <code>SYSTEM = 0;</code>
+     */
+    SYSTEM(0, 0),
+    /**
+     * <code>USER = 1;</code>
+     */
+    USER(1, 1),
+    /**
+     * <code>VIEW = 2;</code>
+     */
+    VIEW(2, 2),
+    /**
+     * <code>INDEX = 3;</code>
+     */
+    INDEX(3, 3),
+    /**
+     * <code>JOIN = 4;</code>
+     */
+    JOIN(4, 4),
+    ;
+
+    /**
+     * <code>SYSTEM = 0;</code>
+     */
+    public static final int SYSTEM_VALUE = 0;
+    /**
+     * <code>USER = 1;</code>
+     */
+    public static final int USER_VALUE = 1;
+    /**
+     * <code>VIEW = 2;</code>
+     */
+    public static final int VIEW_VALUE = 2;
+    /**
+     * <code>INDEX = 3;</code>
+     */
+    public static final int INDEX_VALUE = 3;
+    /**
+     * <code>JOIN = 4;</code>
+     */
+    public static final int JOIN_VALUE = 4;
+
+
+    public final int getNumber() { return value; }
+
+    public static PTableType valueOf(int value) {
+      switch (value) {
+        case 0: return SYSTEM;
+        case 1: return USER;
+        case 2: return VIEW;
+        case 3: return INDEX;
+        case 4: return JOIN;
+        default: return null;
+      }
+    }
+
+    public static com.google.protobuf.Internal.EnumLiteMap<PTableType>
+        internalGetValueMap() {
+      return internalValueMap;
+    }
+    private static com.google.protobuf.Internal.EnumLiteMap<PTableType>
+        internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap<PTableType>() {
+            public PTableType findValueByNumber(int number) {
+              return PTableType.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 org.apache.phoenix.coprocessor.generated.PTableProtos.getDescriptor().getEnumTypes().get(0);
+    }
+
+    private static final PTableType[] VALUES = values();
+
+    public static PTableType 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 PTableType(int index, int value) {
+      this.index = index;
+      this.value = value;
+    }
+
+    // @@protoc_insertion_point(enum_scope:PTableType)
+  }
+
+  public interface PColumnOrBuilder
+      extends com.google.protobuf.MessageOrBuilder {
+
+    // required bytes columnNameBytes = 1;
+    /**
+     * <code>required bytes columnNameBytes = 1;</code>
+     */
+    boolean hasColumnNameBytes();
+    /**
+     * <code>required bytes columnNameBytes = 1;</code>
+     */
+    com.google.protobuf.ByteString getColumnNameBytes();
+
+    // optional bytes familyNameBytes = 2;
+    /**
+     * <code>optional bytes familyNameBytes = 2;</code>
+     */
+    boolean hasFamilyNameBytes();
+    /**
+     * <code>optional bytes familyNameBytes = 2;</code>
+     */
+    com.google.protobuf.ByteString getFamilyNameBytes();
+
+    // required string dataType = 3;
+    /**
+     * <code>required string dataType = 3;</code>
+     */
+    boolean hasDataType();
+    /**
+     * <code>required string dataType = 3;</code>
+     */
+    java.lang.String getDataType();
+    /**
+     * <code>required string dataType = 3;</code>
+     */
+    com.google.protobuf.ByteString
+        getDataTypeBytes();
+
+    // optional int32 maxLength = 4;
+    /**
+     * <code>optional int32 maxLength = 4;</code>
+     */
+    boolean hasMaxLength();
+    /**
+     * <code>optional int32 maxLength = 4;</code>
+     */
+    int getMaxLength();
+
+    // optional int32 scale = 5;
+    /**
+     * <code>optional int32 scale = 5;</code>
+     */
+    boolean hasScale();
+    /**
+     * <code>optional int32 scale = 5;</code>
+     */
+    int getScale();
+
+    // required bool nullable = 6;
+    /**
+     * <code>required bool nullable = 6;</code>
+     */
+    boolean hasNullable();
+    /**
+     * <code>required bool nullable = 6;</code>
+     */
+    boolean getNullable();
+
+    // required int32 position = 7;
+    /**
+     * <code>required int32 position = 7;</code>
+     */
+    boolean hasPosition();
+    /**
+     * <code>required int32 position = 7;</code>
+     */
+    int getPosition();
+
+    // required int32 columnModifier = 8;
+    /**
+     * <code>required int32 columnModifier = 8;</code>
+     */
+    boolean hasColumnModifier();
+    /**
+     * <code>required int32 columnModifier = 8;</code>
+     */
+    int getColumnModifier();
+
+    // optional int32 arraySize = 9;
+    /**
+     * <code>optional int32 arraySize = 9;</code>
+     */
+    boolean hasArraySize();
+    /**
+     * <code>optional int32 arraySize = 9;</code>
+     */
+    int getArraySize();
+  }
+  /**
+   * Protobuf type {@code PColumn}
+   */
+  public static final class PColumn extends
+      com.google.protobuf.GeneratedMessage
+      implements PColumnOrBuilder {
+    // Use PColumn.newBuilder() to construct.
+    private PColumn(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
+      super(builder);
+      this.unknownFields = builder.getUnknownFields();
+    }
+    private PColumn(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+    private static final PColumn defaultInstance;
+    public static PColumn getDefaultInstance() {
+      return defaultInstance;
+    }
+
+    public PColumn getDefaultInstanceForType() {
+      return defaultInstance;
+    }
+
+    private final com.google.protobuf.UnknownFieldSet unknownFields;
+    @java.lang.Override
+    public final com.google.protobuf.UnknownFieldSet
+        getUnknownFields() {
+      return this.unknownFields;
+    }
+    private PColumn(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      initFields();
+      int mutable_bitField0_ = 0;
+      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+          com.google.protobuf.UnknownFieldSet.newBuilder();
+      try {
+        boolean done = false;
+        while (!done) {
+          int tag = input.readTag();
+          switch (tag) {
+            case 0:
+              done = true;
+              break;
+            default: {
+              if (!parseUnknownField(input, unknownFields,
+                                     extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
+            }
+            case 10: {
+              bitField0_ |= 0x00000001;
+              columnNameBytes_ = input.readBytes();
+              break;
+            }
+            case 18: {
+              bitField0_ |= 0x00000002;
+              familyNameBytes_ = input.readBytes();
+              break;
+            }
+            case 26: {
+              bitField0_ |= 0x00000004;
+              dataType_ = input.readBytes();
+              break;
+            }
+            case 32: {
+              bitField0_ |= 0x00000008;
+              maxLength_ = input.readInt32();
+              break;
+            }
+            case 40: {
+              bitField0_ |= 0x00000010;
+              scale_ = input.readInt32();
+              break;
+            }
+            case 48: {
+              bitField0_ |= 0x00000020;
+              nullable_ = input.readBool();
+              break;
+            }
+            case 56: {
+              bitField0_ |= 0x00000040;
+              position_ = input.readInt32();
+              break;
+            }
+            case 64: {
+              bitField0_ |= 0x00000080;
+              columnModifier_ = input.readInt32();
+              break;
+            }
+            case 72: {
+              bitField0_ |= 0x00000100;
+              arraySize_ = input.readInt32();
+              break;
+            }
+          }
+        }
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(this);
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e.getMessage()).setUnfinishedMessage(this);
+      } finally {
+        this.unknownFields = unknownFields.build();
+        makeExtensionsImmutable();
+      }
+    }
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return org.apache.phoenix.coprocessor.generated.PTableProtos.internal_static_PColumn_descriptor;
+    }
+
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+        internalGetFieldAccessorTable() {
+      return org.apache.phoenix.coprocessor.generated.PTableProtos.internal_static_PColumn_fieldAccessorTable
+          .ensureFieldAccessorsInitialized(
+              org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.class, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder.class);
+    }
+
+    public static com.google.protobuf.Parser<PColumn> PARSER =
+        new com.google.protobuf.AbstractParser<PColumn>() {
+      public PColumn parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new PColumn(input, extensionRegistry);
+      }
+    };
+
+    @java.lang.Override
+    public com.google.protobuf.Parser<PColumn> getParserForType() {
+      return PARSER;
+    }
+
+    private int bitField0_;
+    // required bytes columnNameBytes = 1;
+    public static final int COLUMNNAMEBYTES_FIELD_NUMBER = 1;
+    private com.google.protobuf.ByteString columnNameBytes_;
+    /**
+     * <code>required bytes columnNameBytes = 1;</code>
+     */
+    public boolean hasColumnNameBytes() {
+      return ((bitField0_ & 0x00000001) == 0x00000001);
+    }
+    /**
+     * <code>required bytes columnNameBytes = 1;</code>
+     */
+    public com.google.protobuf.ByteString getColumnNameBytes() {
+      return columnNameBytes_;
+    }
+
+    // optional bytes familyNameBytes = 2;
+    public static final int FAMILYNAMEBYTES_FIELD_NUMBER = 2;
+    private com.google.protobuf.ByteString familyNameBytes_;
+    /**
+     * <code>optional bytes familyNameBytes = 2;</code>
+     */
+    public boolean hasFamilyNameBytes() {
+      return ((bitField0_ & 0x00000002) == 0x00000002);
+    }
+    /**
+     * <code>optional bytes familyNameBytes = 2;</code>
+     */
+    public com.google.protobuf.ByteString getFamilyNameBytes() {
+      return familyNameBytes_;
+    }
+
+    // required string dataType = 3;
+    public static final int DATATYPE_FIELD_NUMBER = 3;
+    private java.lang.Object dataType_;
+    /**
+     * <code>required string dataType = 3;</code>
+     */
+    public boolean hasDataType() {
+      return ((bitField0_ & 0x00000004) == 0x00000004);
+    }
+    /**
+     * <code>required string dataType = 3;</code>
+     */
+    public java.lang.String getDataType() {
+      java.lang.Object ref = dataType_;
+      if (ref instanceof java.lang.String) {
+        return (java.lang.String) ref;
+      } else {
+        com.google.protobuf.ByteString bs = 
+            (com.google.protobuf.ByteString) ref;
+        java.lang.String s = bs.toStringUtf8();
+        if (bs.isValidUtf8()) {
+          dataType_ = s;
+        }
+        return s;
+      }
+    }
+    /**
+     * <code>required string dataType = 3;</code>
+     */
+    public com.google.protobuf.ByteString
+        getDataTypeBytes() {
+      java.lang.Object ref = dataType_;
+      if (ref instanceof java.lang.String) {
+        com.google.protobuf.ByteString b = 
+            com.google.protobuf.ByteString.copyFromUtf8(
+                (java.lang.String) ref);
+        dataType_ = b;
+        return b;
+      } else {
+        return (com.google.protobuf.ByteString) ref;
+      }
+    }
+
+    // optional int32 maxLength = 4;
+    public static final int MAXLENGTH_FIELD_NUMBER = 4;
+    private int maxLength_;
+    /**
+     * <code>optional int32 maxLength = 4;</code>
+     */
+    public boolean hasMaxLength() {
+      return ((bitField0_ & 0x00000008) == 0x00000008);
+    }
+    /**
+     * <code>optional int32 maxLength = 4;</code>
+     */
+    public int getMaxLength() {
+      return maxLength_;
+    }
+
+    // optional int32 scale = 5;
+    public static final int SCALE_FIELD_NUMBER = 5;
+    private int scale_;
+    /**
+     * <code>optional int32 scale = 5;</code>
+     */
+    public boolean hasScale() {
+      return ((bitField0_ & 0x00000010) == 0x00000010);
+    }
+    /**
+     * <code>optional int32 scale = 5;</code>
+     */
+    public int getScale() {
+      return scale_;
+    }
+
+    // required bool nullable = 6;
+    public static final int NULLABLE_FIELD_NUMBER = 6;
+    private boolean nullable_;
+    /**
+     * <code>required bool nullable = 6;</code>
+     */
+    public boolean hasNullable() {
+      return ((bitField0_ & 0x00000020) == 0x00000020);
+    }
+    /**
+     * <code>required bool nullable = 6;</code>
+     */
+    public boolean getNullable() {
+      return nullable_;
+    }
+
+    // required int32 position = 7;
+    public static final int POSITION_FIELD_NUMBER = 7;
+    private int position_;
+    /**
+     * <code>required int32 position = 7;</code>
+     */
+    public boolean hasPosition() {
+      return ((bitField0_ & 0x00000040) == 0x00000040);
+    }
+    /**
+     * <code>required int32 position = 7;</code>
+     */
+    public int getPosition() {
+      return position_;
+    }
+
+    // required int32 columnModifier = 8;
+    public static final int COLUMNMODIFIER_FIELD_NUMBER = 8;
+    private int columnModifier_;
+    /**
+     * <code>required int32 columnModifier = 8;</code>
+     */
+    public boolean hasColumnModifier() {
+      return ((bitField0_ & 0x00000080) == 0x00000080);
+    }
+    /**
+     * <code>required int32 columnModifier = 8;</code>
+     */
+    public int getColumnModifier() {
+      return columnModifier_;
+    }
+
+    // optional int32 arraySize = 9;
+    public static final int ARRAYSIZE_FIELD_NUMBER = 9;
+    private int arraySize_;
+    /**
+     * <code>optional int32 arraySize = 9;</code>
+     */
+    public boolean hasArraySize() {
+      return ((bitField0_ & 0x00000100) == 0x00000100);
+    }
+    /**
+     * <code>optional int32 arraySize = 9;</code>
+     */
+    public int getArraySize() {
+      return arraySize_;
+    }
+
+    private void initFields() {
+      columnNameBytes_ = com.google.protobuf.ByteString.EMPTY;
+      familyNameBytes_ = com.google.protobuf.ByteString.EMPTY;
+      dataType_ = "";
+      maxLength_ = 0;
+      scale_ = 0;
+      nullable_ = false;
+      position_ = 0;
+      columnModifier_ = 0;
+      arraySize_ = 0;
+    }
+    private byte memoizedIsInitialized = -1;
+    public final boolean isInitialized() {
+      byte isInitialized = memoizedIsInitialized;
+      if (isInitialized != -1) return isInitialized == 1;
+
+      if (!hasColumnNameBytes()) {
+        memoizedIsInitialized = 0;
+        return false;
+      }
+      if (!hasDataType()) {
+        memoizedIsInitialized = 0;
+        return false;
+      }
+      if (!hasNullable()) {
+        memoizedIsInitialized = 0;
+        return false;
+      }
+      if (!hasPosition()) {
+        memoizedIsInitialized = 0;
+        return false;
+      }
+      if (!hasColumnModifier()) {
+        memoizedIsInitialized = 0;
+        return false;
+      }
+      memoizedIsInitialized = 1;
+      return true;
+    }
+
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
+      getSerializedSize();
+      if (((bitField0_ & 0x00000001) == 0x00000001)) {
+        output.writeBytes(1, columnNameBytes_);
+      }
+      if (((bitField0_ & 0x00000002) == 0x00000002)) {
+        output.writeBytes(2, familyNameBytes_);
+      }
+      if (((bitField0_ & 0x00000004) == 0x00000004)) {
+        output.writeBytes(3, getDataTypeBytes());
+      }
+      if (((bitField0_ & 0x00000008) == 0x00000008)) {
+        output.writeInt32(4, maxLength_);
+      }
+      if (((bitField0_ & 0x00000010) == 0x00000010)) {
+        output.writeInt32(5, scale_);
+      }
+      if (((bitField0_ & 0x00000020) == 0x00000020)) {
+        output.writeBool(6, nullable_);
+      }
+      if (((bitField0_ & 0x00000040) == 0x00000040)) {
+        output.writeInt32(7, position_);
+      }
+      if (((bitField0_ & 0x00000080) == 0x00000080)) {
+        output.writeInt32(8, columnModifier_);
+      }
+      if (((bitField0_ & 0x00000100) == 0x00000100)) {
+        output.writeInt32(9, arraySize_);
+      }
+      getUnknownFields().writeTo(output);
+    }
+
+    private int memoizedSerializedSize = -1;
+    public int getSerializedSize() {
+      int size = memoizedSerializedSize;
+      if (size != -1) return size;
+
+      size = 0;
+      if (((bitField0_ & 0x00000001) == 0x00000001)) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeBytesSize(1, columnNameBytes_);
+      }
+      if (((bitField0_ & 0x00000002) == 0x00000002)) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeBytesSize(2, familyNameBytes_);
+      }
+      if (((bitField0_ & 0x00000004) == 0x00000004)) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeBytesSize(3, getDataTypeBytes());
+      }
+      if (((bitField0_ & 0x00000008) == 0x00000008)) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeInt32Size(4, maxLength_);
+      }
+      if (((bitField0_ & 0x00000010) == 0x00000010)) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeInt32Size(5, scale_);
+      }
+      if (((bitField0_ & 0x00000020) == 0x00000020)) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeBoolSize(6, nullable_);
+      }
+      if (((bitField0_ & 0x00000040) == 0x00000040)) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeInt32Size(7, position_);
+      }
+      if (((bitField0_ & 0x00000080) == 0x00000080)) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeInt32Size(8, columnModifier_);
+      }
+      if (((bitField0_ & 0x00000100) == 0x00000100)) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeInt32Size(9, arraySize_);
+      }
+      size += getUnknownFields().getSerializedSize();
+      memoizedSerializedSize = size;
+      return size;
+    }
+
+    private static final long serialVersionUID = 0L;
+    @java.lang.Override
+    protected java.lang.Object writeReplace()
+        throws java.io.ObjectStreamException {
+      return super.writeReplace();
+    }
+
+    @java.lang.Override
+    public boolean equals(final java.lang.Object obj) {
+      if (obj == this) {
+       return true;
+      }
+      if (!(obj instanceof org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn)) {
+        return super.equals(obj);
+      }
+      org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn other = (org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn) obj;
+
+      boolean result = true;
+      result = result && (hasColumnNameBytes() == other.hasColumnNameBytes());
+      if (hasColumnNameBytes()) {
+        result = result && getColumnNameBytes()
+            .equals(other.getColumnNameBytes());
+      }
+      result = result && (hasFamilyNameBytes() == other.hasFamilyNameBytes());
+      if (hasFamilyNameBytes()) {
+        result = result && getFamilyNameBytes()
+            .equals(other.getFamilyNameBytes());
+      }
+      result = result && (hasDataType() == other.hasDataType());
+      if (hasDataType()) {
+        result = result && getDataType()
+            .equals(other.getDataType());
+      }
+      result = result && (hasMaxLength() == other.hasMaxLength());
+      if (hasMaxLength()) {
+        result = result && (getMaxLength()
+            == other.getMaxLength());
+      }
+      result = result && (hasScale() == other.hasScale());
+      if (hasScale()) {
+        result = result && (getScale()
+            == other.getScale());
+      }
+      result = result && (hasNullable() == other.hasNullable());
+      if (hasNullable()) {
+        result = result && (getNullable()
+            == other.getNullable());
+      }
+      result = result && (hasPosition() == other.hasPosition());
+      if (hasPosition()) {
+        result = result && (getPosition()
+            == other.getPosition());
+      }
+      result = result && (hasColumnModifier() == other.hasColumnModifier());
+      if (hasColumnModifier()) {
+        result = result && (getColumnModifier()
+            == other.getColumnModifier());
+      }
+      result = result && (hasArraySize() == other.hasArraySize());
+      if (hasArraySize()) {
+        result = result && (getArraySize()
+            == other.getArraySize());
+      }
+      result = result &&
+          getUnknownFields().equals(other.getUnknownFields());
+      return result;
+    }
+
+    private int memoizedHashCode = 0;
+    @java.lang.Override
+    public int hashCode() {
+      if (memoizedHashCode != 0) {
+        return memoizedHashCode;
+      }
+      int hash = 41;
+      hash = (19 * hash) + getDescriptorForType().hashCode();
+      if (hasColumnNameBytes()) {
+        hash = (37 * hash) + COLUMNNAMEBYTES_FIELD_NUMBER;
+        hash = (53 * hash) + getColumnNameBytes().hashCode();
+      }
+      if (hasFamilyNameBytes()) {
+        hash = (37 * hash) + FAMILYNAMEBYTES_FIELD_NUMBER;
+        hash = (53 * hash) + getFamilyNameBytes().hashCode();
+      }
+      if (hasDataType()) {
+        hash = (37 * hash) + DATATYPE_FIELD_NUMBER;
+        hash = (53 * hash) + getDataType().hashCode();
+      }
+      if (hasMaxLength()) {
+        hash = (37 * hash) + MAXLENGTH_FIELD_NUMBER;
+        hash = (53 * hash) + getMaxLength();
+      }
+      if (hasScale()) {
+        hash = (37 * hash) + SCALE_FIELD_NUMBER;
+        hash = (53 * hash) + getScale();
+      }
+      if (hasNullable()) {
+        hash = (37 * hash) + NULLABLE_FIELD_NUMBER;
+        hash = (53 * hash) + hashBoolean(getNullable());
+      }
+      if (hasPosition()) {
+        hash = (37 * hash) + POSITION_FIELD_NUMBER;
+        hash = (53 * hash) + getPosition();
+      }
+      if (hasColumnModifier()) {
+        hash = (37 * hash) + COLUMNMODIFIER_FIELD_NUMBER;
+        hash = (53 * hash) + getColumnModifier();
+      }
+      if (hasArraySize()) {
+        hash = (37 * hash) + ARRAYSIZE_FIELD_NUMBER;
+        hash = (53 * hash) + getArraySize();
+      }
+      hash = (29 * hash) + getUnknownFields().hashCode();
+      memoizedHashCode = hash;
+      return hash;
+    }
+
+    public static org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn parseFrom(
+        com.google.protobuf.ByteString data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return PARSER.parseFrom(data);
+    }
+    public static org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn parseFrom(
+        com.google.protobuf.ByteString data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return PARSER.parseFrom(data, extensionRegistry);
+    }
+    public static org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return PARSER.parseFrom(data);
+    }
+    public static org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn parseFrom(
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return PARSER.parseFrom(data, extensionRegistry);
+    }
+    public static org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return PARSER.parseFrom(input);
+    }
+    public static org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn parseFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return PARSER.parseFrom(input, extensionRegistry);
+    }
+    public static org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return PARSER.parseDelimitedFrom(input);
+    }
+    public static org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return PARSER.parseDelimitedFrom(input, extensionRegistry);
+    }
+    public static org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn parseFrom(
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return PARSER.parseFrom(input);
+    }
+    public static org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn parseFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return PARSER.parseFrom(input, extensionRegistry);
+    }
+
+    public static Builder newBuilder() { return Builder.create(); }
+    public Builder newBuilderForType() { return newBuilder(); }
+    public static Builder newBuilder(org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn prototype) {
+      return newBuilder().mergeFrom(prototype);
+    }
+    public Builder toBuilder() { return newBuilder(this); }
+
+    @java.lang.Override
+    protected Builder newBuilderForType(
+        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+      Builder builder = new Builder(parent);
+      return builder;
+    }
+    /**
+     * Protobuf type {@code PColumn}
+     */
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessage.Builder<Builder>
+       implements org.apache.phoenix.coprocessor.generated.PTableProtos.PColumnOrBuilder {
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return org.apache.phoenix.coprocessor.generated.PTableProtos.internal_static_PColumn_descriptor;
+      }
+
+      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+          internalGetFieldAccessorTable() {
+        return org.apache.phoenix.coprocessor.generated.PTableProtos.internal_static_PColumn_fieldAccessorTable
+            .ensureFieldAccessorsInitialized(
+                org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.class, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder.class);
+      }
+
+      // Construct using org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.newBuilder()
+      private Builder() {
+        maybeForceBuilderInitialization();
+      }
+
+      private Builder(
+          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+        super(parent);
+        maybeForceBuilderInitialization();
+      }
+      private void maybeForceBuilderInitialization() {
+        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+        }
+      }
+      private static Builder create() {
+        return new Builder();
+      }
+
+      public Builder clear() {
+        super.clear();
+        columnNameBytes_ = com.google.protobuf.ByteString.EMPTY;
+        bitField0_ = (bitField0_ & ~0x00000001);
+        familyNameBytes_ = com.google.protobuf.ByteString.EMPTY;
+        bitField0_ = (bitField0_ & ~0x00000002);
+        dataType_ = "";
+        bitField0_ = (bitField0_ & ~0x00000004);
+        maxLength_ = 0;
+        bitField0_ = (bitField0_ & ~0x00000008);
+        scale_ = 0;
+        bitField0_ = (bitField0_ & ~0x00000010);
+        nullable_ = false;
+        bitField0_ = (bitField0_ & ~0x00000020);
+        position_ = 0;
+        bitField0_ = (bitField0_ & ~0x00000040);
+        columnModifier_ = 0;
+        bitField0_ = (bitField0_ & ~0x00000080);
+        arraySize_ = 0;
+        bitField0_ = (bitField0_ & ~0x00000100);
+        return this;
+      }
+
+      public Builder clone() {
+        return create().mergeFrom(buildPartial());
+      }
+
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return org.apache.phoenix.coprocessor.generated.PTableProtos.internal_static_PColumn_descriptor;
+      }
+
+      public org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn getDefaultInstanceForType() {
+        return org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.getDefaultInstance();
+      }
+
+      public org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn build() {
+        org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn result = buildPartial();
+        if (!result.isInitialized()) {
+          throw newUninitializedMessageException(result);
+        }
+        return result;
+      }
+
+      public org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn buildPartial() {
+        org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn result = new org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn(this);
+        int from_bitField0_ = bitField0_;
+        int to_bitField0_ = 0;
+        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+          to_bitField0_ |= 0x00000001;
+        }
+        result.columnNameBytes_ = columnNameBytes_;
+        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+          to_bitField0_ |= 0x00000002;
+        }
+        result.familyNameBytes_ = familyNameBytes_;
+        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+          to_bitField0_ |= 0x00000004;
+        }
+        result.dataType_ = dataType_;
+        if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+          to_bitField0_ |= 0x00000008;
+        }
+        result.maxLength_ = maxLength_;
+        if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
+          to_bitField0_ |= 0x00000010;
+        }
+        result.scale_ = scale_;
+        if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
+          to_bitField0_ |= 0x00000020;
+        }
+        result.nullable_ = nullable_;
+        if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
+          to_bitField0_ |= 0x00000040;
+        }
+        result.position_ = position_;
+        if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
+          to_bitField0_ |= 0x00000080;
+        }
+        result.columnModifier_ = columnModifier_;
+        if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
+          to_bitField0_ |= 0x00000100;
+        }
+        result.arraySize_ = arraySize_;
+        result.bitField0_ = to_bitField0_;
+        onBuilt();
+        return result;
+      }
+
+      public Builder mergeFrom(com.google.protobuf.Message other) {
+        if (other instanceof org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn) {
+          return mergeFrom((org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn)other);
+        } else {
+          super.mergeFrom(other);
+          return this;
+        }
+      }
+
+      public Builder mergeFrom(org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn other) {
+        if (other == org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.getDefaultInstance()) return this;
+        if (other.hasColumnNameBytes()) {
+          setColumnNameBytes(other.getColumnNameBytes());
+        }
+        if (other.hasFamilyNameBytes()) {
+          setFamilyNameBytes(other.getFamilyNameBytes());
+        }
+        if (other.hasDataType()) {
+          bitField0_ |= 0x00000004;
+          dataType_ = other.dataType_;
+          onChanged();
+        }
+        if (other.hasMaxLength()) {
+          setMaxLength(other.getMaxLength());
+        }
+        if (other.hasScale()) {
+          setScale(other.getScale());
+        }
+        if (other.hasNullable()) {
+          setNullable(other.getNullable());
+        }
+        if (other.hasPosition()) {
+          setPosition(other.getPosition());
+        }
+        if (other.hasColumnModifier()) {
+          setColumnModifier(other.getColumnModifier());
+        }
+        if (other.hasArraySize()) {
+          setArraySize(other.getArraySize());
+        }
+        this.mergeUnknownFields(other.getUnknownFields());
+        return this;
+      }
+
+      public final boolean isInitialized() {
+        if (!hasColumnNameBytes()) {
+          
+          return false;
+        }
+        if (!hasDataType()) {
+          
+          return false;
+        }
+        if (!hasNullable()) {
+          
+          return false;
+        }
+        if (!hasPosition()) {
+          
+          return false;
+        }
+        if (!hasColumnModifier()) {
+          
+          return false;
+        }
+        return true;
+      }
+
+      public Builder mergeFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+        org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn parsedMessage = null;
+        try {
+          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          parsedMessage = (org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn) e.getUnfinishedMessage();
+          throw e;
+        } finally {
+          if (parsedMessage != null) {
+            mergeFrom(parsedMessage);
+          }
+        }
+        return this;
+      }
+      private int bitField0_;
+
+      // required bytes columnNameBytes = 1;
+      private com.google.protobuf.ByteString columnNameBytes_ = com.google.protobuf.ByteString.EMPTY;
+      /**
+       * <code>required bytes columnNameBytes = 1;</code>
+       */
+      public boolean hasColumnNameBytes() {
+        return ((bitField0_ & 0x00000001) == 0x00000001);
+      }
+      /**
+       * <code>required bytes columnNameBytes = 1;</code>
+       */
+      public com.google.protobuf.ByteString getColumnNameBytes() {
+        return columnNameBytes_;
+      }
+      /**
+       * <code>required bytes columnNameBytes = 1;</code>
+       */
+      public Builder setColumnNameBytes(com.google.protobuf.ByteString value) {
+        if (value == null) {
+    throw new NullPointerException();
+  }
+  bitField0_ |= 0x00000001;
+        columnNameBytes_ = value;
+        onChanged();
+        return this;
+      }
+      /**
+       * <code>required bytes columnNameBytes = 1;</code>
+       */
+      public Builder clearColumnNameBytes() {
+        bitField0_ = (bitField0_ & ~0x00000001);
+        columnNameBytes_ = getDefaultInstance().getColumnNameBytes();
+        onChanged();
+        return this;
+      }
+
+      // optional bytes familyNameBytes = 2;
+      private com.google.protobuf.ByteString familyNameBytes_ = com.google.protobuf.ByteString.EMPTY;
+      /**
+       * <code>optional bytes familyNameBytes = 2;</code>
+       */
+      public boolean hasFamilyNameBytes() {
+        return ((bitField0_ & 0x00000002) == 0x00000002);
+      }
+      /**
+       * <code>optional bytes familyNameBytes = 2;</code>
+       */
+      public com.google.protobuf.ByteString getFamilyNameBytes() {
+        return familyNameBytes_;
+      }
+      /**
+       * <code>optional bytes familyNameBytes = 2;</code>
+       */
+      public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) {
+        if (value == null) {
+    throw new NullPointerException();
+  }
+  bitField0_ |= 0x00000002;
+        familyNameBytes_ = value;
+        onChanged();
+        return this;
+      }
+      /**
+       * <code>optional bytes familyNameBytes = 2;</code>
+       */
+      public Builder clearFamilyNameBytes() {
+        bitField0_ = (bitField0_ & ~0x00000002);
+        familyNameBytes_ = getDefaultInstance().getFamilyNameBytes();
+        onChanged();
+        return this;
+      }
+
+      // required string dataType = 3;
+      private java.lang.Object dataType_ = "";
+      /**
+       * <code>required string dataType = 3;</code>
+       */
+      public boolean hasDataType() {
+        return ((bitField0_ & 0x00000004) == 0x00000004);
+      }
+      /**
+       * <code>required string dataType = 3;</code>
+       */
+      public java.lang.String getDataType() {
+        java.lang.Object ref = dataType_;
+        if (!(ref instanceof java.lang.String)) {
+          java.lang.String s = ((com.google.protobuf.ByteString) ref)
+              .toStringUtf8();
+          dataType_ = s;
+          return s;
+        } else {
+          return (java.lang.String) ref;
+        }
+      }
+      /**
+       * <code>required string dataType = 3;</code>
+       */
+      public com.google.protobuf.ByteString
+          getDataTypeBytes() {
+        java.lang.Object ref = dataType_;
+        if (ref instanceof String) {
+          com.google.protobuf.ByteString b = 
+              com.google.protobuf.ByteString.copyFromUtf8(
+                  (java.lang.String) ref);
+          dataType_ = b;
+          return b;
+        } else {
+          return (com.google.protobuf.ByteString) ref;
+        }
+      }
+      /**
+       * <code>required string dataType = 3;</code>
+       */
+      public Builder setDataType(
+          java.lang.String value) {
+        if (value == null) {
+    throw new NullPointerException();
+  }
+  bitField0_ |= 0x00000004;
+        dataType_ = value;
+        onChanged();
+        return this;
+      }
+      /**
+       * <code>required string dataType = 3;</code>
+       */
+      public Builder clearDataType() {
+        bitField0_ = (bitField0_ & ~0x00000004);
+        dataType_ = getDefaultInstance().getDataType();
+        onChanged();
+        return this;
+      }
+      /**
+       * <code>required string dataType = 3;</code>
+       */
+      public Builder setDataTypeBytes(
+          com.google.protobuf.ByteString value) {
+        if (value == null) {
+    throw new NullPointerException();
+  }
+  bitField0_ |= 0x00000004;
+        dataType_ = value;
+        onChanged();
+        return this;
+      }
+
+      // optional int32 maxLength = 4;
+      private int maxLength_ ;
+      /**
+       * <code>optional int32 maxLength = 4;</code>
+       */
+      public boolean hasMaxLength() {
+        return ((bitField0_ & 0x00000008) == 0x00000008);
+      }
+      /**
+       * <code>optional int32 maxLength = 4;</code>
+       */
+      public int getMaxLength() {
+        return maxLength_;
+      }
+      /**
+       * <code>optional int32 maxLength = 4;</code>
+       */
+      public Builder setMaxLength(int value) {
+        bitField0_ |= 0x00000008;
+        maxLength_ = value;
+        onChanged();
+        return this;
+      }
+      /**
+       * <code>optional int32 maxLength = 4;</code>
+       */
+      public Builder clearMaxLength() {
+        bitField0_ = (bitField0_ & ~0x00000008);
+        maxLength_ = 0;
+        onChanged();
+        return this;
+      }
+
+      // optional int32 scale = 5;
+      private int scale_ ;
+      /**
+       * <code>optional int32 scale = 5;</code>
+       */
+      public boolean hasScale() {
+        return ((bitField0_ & 0x00000010) == 0x00000010);
+      }
+      /**
+       * <code>optional int32 scale = 5;</code>
+       */
+      public int getScale() {
+        return scale_;
+      }
+      /**
+       * <code>optional int32 scale = 5;</code>
+       */
+      public Builder setScale(int value) {
+        bitField0_ |= 0x00000010;
+        scale_ = value;
+        onChanged();
+        return this;
+      }
+      /**
+       * <code>optional int32 scale = 5;</code>
+       */
+      public Builder clearScale() {
+        bitField0_ = (bitField0_ & ~0x00000010);
+        scale_ = 0;
+        onChanged();
+        return this;
+      }
+
+      // required bool nullable = 6;
+      private boolean nullable_ ;
+      /**
+       * <code>required bool nullable = 6;</code>
+       */
+      public boolean hasNullable() {
+        return ((bitField0_ & 0x00000020) == 0x00000020);
+      }
+      /**
+       * <code>required bool nullable = 6;</code>
+       */
+      public boolean getNullable() {
+        return nullable_;
+      }
+      /**
+       * <code>required bool nullable = 6;</code>
+       */
+      public Builder setNullable(boolean value) {
+        bitField0_ |= 0x00000020;
+        nullable_ = value;
+        onChanged();
+        return this;
+      }
+      /**
+       * <code>required bool nullable = 6;</code>
+       */
+      public Builder clearNullable() {
+        bitField0_ = (bitField0_ & ~0x00000020);
+        nullable_ = false;
+        onChanged();
+        return this;
+      }
+
+      // required int32 position = 7;
+      private int position_ ;
+      /**
+       * <code>required int32 position = 7;</code>
+       */
+      public boolean hasPosition() {
+        return ((bitField0_ & 0x00000040) == 0x00000040);
+      }
+      /**
+       * <code>required int32 position = 7;</code>
+       */
+      public int getPosition() {
+        return position_;
+      }
+      /**
+       * <code>required int32 position = 7;</code>
+       */
+      public Builder setPosition(int value) {
+        bitField0_ |= 0x00000040;
+        position_ = value;
+        onChanged();
+        return this;
+      }
+      /**
+       * <code>required int32 position = 7;</code>
+       */
+      public Builder clearPosition() {
+        bitField0_ = (bitField0_ & ~0x00000040);
+        position_ = 0;
+        onChanged();
+        return this;
+      }
+
+      // required int32 columnModifier = 8;
+      private int columnModifier_ ;
+      /**
+       * <code>required int32 columnModifier = 8;</code>
+       */
+      public boolean hasColumnModifier() {
+        return ((bitField0_ & 0x00000080) == 0x00000080);
+      }
+      /**
+       * <code>required int32 columnModifier = 8;</code>
+       */
+      public int getColumnModifier() {
+        return columnModifier_;
+      }
+      /**
+       * <code>required int32 columnModifier = 8;</code>
+       */
+      public Builder setColumnModifier(int value) {
+        bitField0_ |= 0x00000080;
+        columnModifier_ = value;
+        onChanged();
+        return this;
+      }
+      /**
+       * <code>required int32 columnModifier = 8;</code>
+       */
+      public Builder clearColumnModifier() {
+        bitField0_ = (bitField0_ & ~0x00000080);
+        columnModifier_ = 0;
+        onChanged();
+        return this;
+      }
+
+      // optional int32 arraySize = 9;
+      private int arraySize_ ;
+      /**
+       * <code>optional int32 arraySize = 9;</code>
+       */
+      public boolean hasArraySize() {
+        return ((bitField0_ & 0x00000100) == 0x00000100);
+      }
+      /**
+       * <code>optional int32 arraySize = 9;</code>
+       */
+      public int getArraySize() {
+        return arraySize_;
+      }
+      /**
+       * <code>optional int32 arraySize = 9;</code>
+       */
+      public Builder setArraySize(int value) {
+        bitField0_ |= 0x00000100;
+        arraySize_ = value;
+        onChanged();
+        return this;
+      }
+      /**
+       * <code>optional int32 arraySize = 9;</code>
+       */
+      public Builder clearArraySize() {
+        bitField0_ = (bitField0_ & ~0x00000100);
+        arraySize_ = 0;
+        onChanged();
+        return this;
+      }
+
+      // @@protoc_insertion_point(builder_scope:PColumn)
+    }
+
+    static {
+      defaultInstance = new PColumn(true);
+      defaultInstance.initFields();
+    }
+
+    // @@protoc_insertion_point(class_scope:PColumn)
+  }
+
+  public interface PTableStatsOrBuilder
+      extends com.google.protobuf.MessageOrBuilder {
+
+    // required string key = 1;
+    /**
+     * <code>required string key = 1;</code>
+     */
+    boolean hasKey();
+    /**
+     * <code>required string key = 1;</code>
+     */
+    java.lang.String getKey();
+    /**
+     * <code>required string key = 1;</code>
+     */
+    com.google.protobuf.ByteString
+        getKeyBytes();
+
+    // repeated bytes values = 2;
+    /**
+     * <code>repeated bytes values = 2;</code>
+     */
+    java.util.List<com.google.protobuf.ByteString> getValuesList();
+    /**
+     * <code>repeated bytes values = 2;</code>
+     */
+    int getValuesCount();
+    /**
+     * <code>repeated bytes values = 2;</code>
+     */
+    com.google.protobuf.ByteString getValues(int index);
+  }
+  /**
+   * Protobuf type {@code PTableStats}
+   */
+  public static final class PTableStats extends
+      com.google.protobuf.GeneratedMessage
+      implements PTableStatsOrBuilder {
+    // Use PTableStats.newBuilder() to construct.
+    private PTableStats(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
+      super(builder);
+      this.unknownFields = builder.getUnknownFields();
+    }
+    private PTableStats(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+    private static final PTableStats defaultInstance;
+    public static PTableStats getDefaultInstance() {
+      return defaultInstance;
+    }
+
+    public PTableStats getDefaultInstanceForType() {
+      return defaultInstance;
+    }
+
+    private final com.google.protobuf.UnknownFieldSet unknownFields;
+    @java.lang.Override
+    public final com.google.protobuf.UnknownFieldSet
+        getUnknownFields() {
+      return this.unknownFields;
+    }
+    private PTableStats(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      initFields();
+      int mutable_bitField0_ = 0;
+      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+          com.google.protobuf.UnknownFieldSet.newBuilder();
+      try {
+        boolean done = false;
+        while (!done) {
+          int tag = input.readTag();
+          switch (tag) {
+            case 0:
+              done = true;
+              break;
+            default: {
+              if (!parseUnknownField(input, unknownFields,
+                                     extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
+            }
+            case 10: {
+              bitField0_ |= 0x00000001;
+              key_ = input.readBytes();
+              break;
+            }
+            case 18: {
+              if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
+                values_ = new java.util.ArrayList<com.google.protobuf.ByteString>();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              values_.add(input.readBytes());
+              break;
+            }
+          }
+        }
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(this);
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e.getMessage()).setUnfinishedMessage(this);
+      } finally {
+        if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
+          values_ = java.util.Collections.unmodifiableList(values_);
+        }
+        this.unknownFields = unknownFields.build();
+        makeExtensionsImmutable();
+      }
+    }
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return org.apache.phoenix.coprocessor.generated.PTableProtos.internal_static_PTableStats_descriptor;
+    }
+
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+        internalGetFieldAccessorTable() {
+      return org.apache.phoenix.coprocessor.generated.PTableProtos.internal_static_PTableStats_fieldAccessorTable
+          .ensureFieldAccessorsInitialized(
+              org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats.class, org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats.Builder.class);
+    }
+
+    public static com.google.protobuf.Parser<PTableStats> PARSER =
+        new com.google.protobuf.AbstractParser<PTableStats>() {
+      public PTableStats parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new PTableStats(input, extensionRegistry);
+      }
+    };
+
+    @java.lang.Override
+    public com.google.protobuf.Parser<PTableStats> getParserForType() {
+      return PARSER;
+    }
+
+    private int bitField0_;
+    // required string key = 1;
+    public static final int KEY_FIELD_NUMBER = 1;
+    private java.lang.Object key_;
+    /**
+     * <code>required string key = 1;</code>
+     */
+    public boolean hasKey() {
+      return ((bitField0_ & 0x00000001) == 0x00000001);
+    }
+    /**
+     * <code>required string key = 1;</code>
+     */
+    public java.lang.String getKey() {
+      java.lang.Object ref = key_;
+      if (ref instanceof java.lang.String) {
+        return (java.lang.String) ref;
+      } else {
+        com.google.protobuf.ByteString bs = 
+            (com.google.protobuf.ByteString) ref;
+        java.lang.String s = bs.toStringUtf8();
+        if (bs.isValidUtf8()) {
+          key_ = s;
+        }
+        return s;
+      }
+    }
+    /**
+     * <code>required string key = 1;</code>
+     */
+    public com.google.protobuf.ByteString
+        getKeyBytes() {
+      java.lang.Object ref = key_;
+      if (ref instanceof java.lang.String) {
+        com.google.protobuf.ByteString b = 
+            com.google.protobuf.ByteString.copyFromUtf8(
+                (java.lang.String) ref);
+        key_ = b;
+        return b;
+      } else {
+        return (com.google.protobuf.ByteString) ref;
+      }
+    }
+
+    // repeated bytes values = 2;
+    public static final int VALUES_FIELD_NUMBER = 2;
+    private java.util.List<com.google.protobuf.ByteString> values_;
+    /**
+     * <code>repeated bytes values = 2;</code>
+     */
+    public java.util.List<com.google.protobuf.ByteString>
+        getValuesList() {
+      return values_;
+    }
+    /**
+     * <code>repeated bytes values = 2;</code>
+     */
+    public int getValuesCount() {
+      return values_.size();
+    }
+    /**
+     * <code>repeated bytes values = 2;</code>
+     */
+    public com.google.protobuf.ByteString getValues(int index) {
+      return values_.get(index);
+    }
+
+    private void initFields() {
+      key_ = "";
+      values_ = java.util.Collections.emptyList();
+    }
+    private byte memoizedIsInitialized = -1;
+    public final boolean isInitialized() {
+      byte isInitialized = memoizedIsInitialized;
+      if (isInitialized != -1) return isInitialized == 1;
+
+      if (!hasKey()) {
+        memoizedIsInitialized = 0;
+        return false;
+      }
+      memoizedIsInitialized = 1;
+      return true;
+    }
+
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
+      getSerializedSize();
+      if (((bitField0_ & 0x00000001) == 0x00000001)) {
+        output.writeBytes(1, getKeyBytes());
+      }
+      for (int i = 0; i < values_.size(); i++) {
+        output.writeBytes(2, values_.get(i));
+      }
+      getUnknownFields().writeTo(output);
+    }
+
+    private int memoizedSerializedSize = -1;
+    public int getSerializedSize() {
+      int size = memoizedSerializedSize;
+      if (size != -1) return size;
+
+      size = 0;
+      if (((bitField0_ & 0x00000001) == 0x00000001)) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeBytesSize(1, getKeyBytes());
+      }
+      {
+        int dataSize = 0;
+        for (int i = 0; i < values_.size(); i++) {
+          dataSize += com.google.protobuf.CodedOutputStream
+            .computeBytesSizeNoTag(values_.get(i));
+        }
+        size += dataSize;
+        size += 1 * getValuesList().size();
+      }
+      size += getUnknownFields().getSerializedSize();
+      memoizedSerializedSize = size;
+      return size;
+    }
+
+    private static final long serialVersionUID = 0L;
+    @java.lang.Override
+    protected java.lang.Object writeReplace()
+        throws java.io.ObjectStreamException {
+      return super.writeReplace();
+    }
+
+    @java.lang.Override
+    public boolean equals(final java.lang.Object obj) {
+      if (obj == this) {
+       return true;
+      }
+      if (!(obj instanceof org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats)) {
+        return super.equals(obj);
+      }
+      org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats other = (org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats) obj;
+
+      boolean result = true;
+      result = result && (hasKey() == other.hasKey());
+      if (hasKey()) {
+        result = result && getKey()
+            .equals(other.getKey());
+      }
+      result = result && getValuesList()
+          .equals(other.getValuesList());
+      result = result &&
+          getUnknownFields().equals(other.getUnknownFields());
+      return result;
+    }
+
+    private int memoizedHashCode = 0;
+    @java.lang.Override
+    public int hashCode() {
+      if (memoizedHashCode != 0) {
+        return memoizedHashCode;
+      }
+      int hash = 41;
+      hash = (19 * hash) + getDescriptorForType().hashCode();
+      if (hasKey()) {
+        hash = (37 * hash) + KEY_FIELD_NUMBER;
+        hash = (53 * hash) + getKey().hashCode();
+      }
+      if (getValuesCount() > 0) {
+        hash = (37 * hash) + VALUES_FIELD_NUMBER;
+        hash = (53 * hash) + getValuesList().hashCode();
+      }
+      hash = (29 * hash) + getUnknownFields().hashCode();
+      memoizedHashCode = hash;
+      return hash;
+    }
+
+    public static org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats parseFrom(
+        com.google.protobuf.ByteString data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return PARSER.parseFrom(data);
+    }
+    public static org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats parseFrom(
+        com.google.protobuf.ByteString data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return PARSER.parseFrom(data, extensionRegistry);
+    }
+    public static org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return PARSER.parseFrom(data);
+    }
+    public static org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats parseFrom(
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return PARSER.parseFrom(data, extensionRegistry);
+    }
+    public static org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return PARSER.parseFrom(input);
+    }
+    public static org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats parseFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return PARSER.parseFrom(input, extensionRegistry);
+    }
+    public static org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return PARSER.parseDelimitedFrom(input);
+    }
+    public static org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return PARSER.parseDelimitedFrom(input, extensionRegistry);
+    }
+    public static org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats parseFrom(
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return PARSER.parseFrom(input);
+    }
+    public static org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats parseFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return PARSER.parseFrom(input, extensionRegistry);
+    }
+
+    public static Builder newBuilder() { return Builder.create(); }
+    public Builder newBuilderForType() { return newBuilder(); }
+    public static Builder newBuilder(org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats prototype) {
+      return newBuilder().mergeFrom(prototype);
+    }
+    public Builder toBuilder() { return newBuilder(this); }
+
+    @java.lang.Override
+    protected Builder newBuilderForType(
+        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+      Builder builder = new Builder(parent);
+      return builder;
+    }
+    /**
+     * Protobuf type {@code PTableStats}
+     */
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessage.Builder<Builder>
+       implements org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStatsOrBuilder {
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return org.apache.phoenix.coprocessor.generated.PTableProtos.internal_static_PTableStats_descriptor;
+      }
+
+      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+          internalGetFieldAccessorTable() {
+        return org.apache.phoenix.coprocessor.generated.PTableProtos.internal_static_PTableStats_fieldAccessorTable
+            .ensureFieldAccessorsInitialized(
+                org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats.class, org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats.Builder.class);
+      }
+
+      // Construct using org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats.newBuilder()
+      private Builder() {
+        maybeForceBuilderInitialization();
+      }
+
+      private Builder(
+          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+        super(parent);
+        maybeForceBuilderInitialization();
+      }
+      private void maybeForceBuilderInitialization() {
+        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+        }
+      }
+      private static Builder create() {
+        return new Builder();
+      }
+
+      public Builder clear() {
+        super.clear();
+        key_ = "";
+        bitField0_ = (bitField0_ & ~0x00000001);
+        values_ = java.util.Collections.emptyList();
+        bitField0_ = (bitField0_ & ~0x00000002);
+        return this;
+      }
+
+      public Builder clone() {
+        return create().mergeFrom(buildPartial());
+      }
+
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return org.apache.phoenix.coprocessor.generated.PTableProtos.internal_static_PTableStats_descriptor;
+      }
+
+      public org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats getDefaultInstanceForType() {
+        return org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats.getDefaultInstance();
+      }
+
+      public org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats build() {
+        org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats result = buildPartial();
+        if (!result.isInitialized()) {
+          throw newUninitializedMessageException(result);
+        }
+        return result;
+      }
+
+      public org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats buildPartial() {
+        org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats result = new org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats(this);
+        int from_bitField0_ = bitField0_;
+        int to_bitField0_ = 0;
+        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+          to_bitField0_ |= 0x00000001;
+        }
+        result.key_ = key_;
+        if (((bitField0_ & 0x00000002) == 0x00000002)) {
+          values_ = java.util.Collections.unmodifiableList(values_);
+          bitField0_ = (bitField0_ & ~0x00000002);
+        }
+        result.values_ = values_;
+        result.bitField0_ = to_bitField0_;
+        onBuilt();
+        return result;
+      }
+
+      public Builder mergeFrom(com.google.protobuf.Message other) {
+        if (other instanceof org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats) {
+          return mergeFrom((org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats)other);
+        } else {
+          super.mergeFrom(other);
+          return this;
+        }
+      }
+
+      public Builder mergeFrom(org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats other) {
+        if (other == org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats.getDefaultInstance()) return this;
+        if (other.hasKey()) {
+          bitField0_ |= 0x00000001;
+          key_ = other.key_;
+          onChanged();
+        }
+        if (!other.values_.isEmpty()) {
+          if (values_.isEmpty()) {
+            values_ = other.values_;
+            bitField0_ = (bitField0_ & ~0x00000002);
+          } else {
+            ensureValuesIsMutable();
+            values_.addAll(other.values_);
+          }
+          onChanged();
+        }
+        this.mergeUnknownFields(other.getUnknownFields());
+        return this;
+      }
+
+      public final boolean isInitialized() {
+        if (!hasKey()) {
+          
+          return false;
+        }
+        return true;
+      }
+
+      public Builder mergeFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+        org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats parsedMessage = null;
+        try {
+          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          parsedMessage = (org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats) e.getUnfinishedMessage();
+          throw e;
+        } finally {
+          if (parsedMessage != null) {
+            mergeFrom(parsedMessage);
+          }
+        }
+        return this;
+      }
+      private int bitField0_;
+
+      // required string key = 1;
+      private java.lang.Object key_ = "";
+      /**
+       * <code>required string key = 1;</code>
+       */
+      public boolean hasKey() {
+        return ((bitField0_ & 0x00000001) == 0x00000001);
+      }
+      /**
+       * <code>required string key = 1;</code>
+       */
+      public java.lang.String getKey() {
+        java.lang.Object ref = key_;
+        if (!(ref instanceof java.lang.String)) {
+          java.lang.String s = ((com.google.protobuf.ByteString) ref)
+              .toStringUtf8();
+          key_ = s;
+          return s;
+        } else {
+          return (java.lang.String) ref;
+        }
+      }
+      /**
+       * <code>required string key = 1;</code>
+       */
+      public com.google.protobuf.ByteString
+          getKeyBytes() {
+        java.lang.Object ref = key_;
+        if (ref instanceof String) {
+          com.google.protobuf.ByteString b = 
+              com.google.protobuf.ByteString.copyFromUtf8(
+                  (java.lang.String) ref);
+          key_ = b;
+          return b;
+        } else {
+          return (com.google.protobuf.ByteString) ref;
+        }
+      }
+      /**
+       * <code>required string key = 1;</code>
+       */
+      public Builder setKey(
+          java.lang.String value) {
+        if (value == null) {
+    throw new NullPointerException();
+  }
+  bitField0_ |= 0x00000001;
+        key_ = value;
+        onChanged();
+        return this;
+      }
+      /**
+       * <code>required string key = 1;</code>
+       */
+      public Builder clearKey() {
+        bitField0_ = (bitField0_ & ~0x00000001);
+        key_ = getDefaultInstance().getKey();
+        onChanged();
+        return this;
+      }
+      /**
+       * <code>required string key = 1;</code>
+       */
+      public Builder setKeyBytes(
+          com.google.protobuf.ByteString value) {
+        if (value == null) {
+    throw new NullPointerException();
+  }
+  bitField0_ |= 0x00000001;
+        key_ = value;
+        onChanged();
+        return this;
+      }
+
+      // repeated bytes values = 2;
+      private java.util.List<com.google.protobuf.ByteString> values_ = java.util.Collections.emptyList();
+      private void ensureValuesIsMutable() {
+        if (!((bitField0_ & 0x00000002) == 0x00000002)) {
+          values_ = new java.util.ArrayList<com.google.protobuf.ByteString>(values_);
+          bitField0_ |= 0x00000002;
+         }
+      }
+      /**
+       * <code>repeated bytes values = 2;</code>
+       */
+      public java.util.List<com.google.protobuf.ByteString>
+          getValuesList() {
+        return java.util.Collections.unmodifiableList(values_);
+      }
+      /**
+       * <code>repeated bytes values = 2;</code>
+       */
+      public int getValuesCount() {
+        return values_.size();
+      }
+      /**
+       * <code>repeated bytes values = 2;</code>
+       */
+      public com.google.protobuf.ByteString getValues(int index) {
+        return values_.get(index);
+      }
+      /**
+       * <code>repeated bytes values = 2;</code>
+       */
+      public Builder setValues(
+          int index, com.google.protobuf.ByteString value) {
+        if (value == null) {
+    throw new NullPointerException();
+  }
+  ensureValuesIsMutable();
+        values_.set(index, value);
+        onChanged();
+        return this;
+      }
+      /**
+       * <code>repeated bytes values = 2;</code>
+       */
+      public Builder addValues(com.google.protobuf.ByteString value) {
+        if (value == null) {
+    throw new NullPointerException();
+  }
+  ensureValuesIsMutable();
+        values_.add(value);
+        onChanged();
+        return this;
+      }
+      /**
+       * <code>repeated bytes values = 2;</code>
+       */
+      public Builder addAllValues(
+          java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
+        ensureValuesIsMutable();
+        super.addAll(values, values_);
+        onChanged();
+        return this;
+      }
+      /**
+       * <code>repeated bytes values = 2;</code>
+       */
+      public Builder clearValues() {
+        values_ = java.util.Collections.emptyList();
+        bitField0_ = (bitField0_ & ~0x00000002);
+        onChanged();
+        return this;
+      }
+
+      // @@protoc_insertion_point(builder_scope:PTableStats)
+    }
+
+    static {
+      defaultInstance = new PTableStats(true);
+      defaultInstance.initFields();
+    }
+
+    // @@protoc_insertion_point(class_scope:PTableStats)
+  }
+
+  public interface PTableOrBuilder
+      extends com.google.protobuf.MessageOrBuilder {
+
+    // required bytes schemaNameBytes = 1;
+    /**
+     * <code>required bytes schemaNameBytes = 1;</code>
+     */
+    boolean hasSchemaNameBytes();
+    /**
+     * <code>required bytes schemaNameBytes = 1;</code>
+     */
+    com.google.protobuf.ByteString getSchemaNameBytes();
+
+    // required bytes tableNameBytes = 2;
+    /**
+     * <code>required bytes tableNameBytes = 2;</code>
+     */
+    boolean hasTableNameBytes();
+    /**
+     * <code>required bytes tableNameBytes = 2;</code>
+     */
+    com.google.protobuf.ByteString getTableNameBytes();
+
+    // required .PTableType tableType = 3;
+    /**
+     * <code>required .PTableType tableType = 3;</code>
+     */
+    boolean hasTableType();
+    /**
+     * <code>required .PTableType tableType = 3;</code>
+     */
+    org.apache.phoenix.coprocessor.generated.PTableProtos.PTableType getTableType();
+
+    // optional string indexState = 4;
+    /**
+     * <code>optional string indexState = 4;</code>
+     */
+    boolean hasIndexState();
+    /**
+     * <code>optional string indexState = 4;</code>
+     */
+    java.lang.String getIndexState();
+    /**
+     * <code>optional string indexState = 4;</code>
+     */
+    com.google.protobuf.ByteString
+        getIndexStateBytes();
+
+    // required int64 sequenceNumber = 5;
+    /**
+     * <code>required int64 sequenceNumber = 5;</code>
+     */
+    boolean hasSequenceNumber();
+    /**
+     * <code>required int64 sequenceNumber = 5;</code>
+     */
+    long getSequenceNumber();
+
+    // required int64 timeStamp = 6;
+    /**
+     * <code>required int64 timeStamp = 6;</code>
+     */
+    boolean hasTimeStamp();
+    /**
+     * <code>required int64 timeStamp = 6;</code>
+     */
+    long getTimeStamp();
+
+    // optional bytes pkNameBytes = 7;
+    /**
+     * <code>optional bytes pkNameBytes = 7;</code>
+     */
+    boolean hasPkNameBytes();
+    /**
+     * <code>optional bytes pkNameBytes = 7;</code>
+     */
+    com.google.protobuf.ByteString getPkNameBytes();
+
+    // required int32 bucketNum = 8;
+    /**
+     * <code>required int32 bucketNum = 8;</code>
+     */
+    boolean hasBucketNum();
+    /**
+     * <code>required int32 bucketNum = 8;</code>
+     */
+    int getBucketNum();
+
+    // repeated .PColumn columns = 9;
+    /**
+     * <code>repeated .PColumn columns = 9;</code>
+     */
+    java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn> 
+        getColumnsList();
+    /**
+     * <code>repeated .PColumn columns = 9;</code>
+     */
+    org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn getColumns(int index);
+    /**
+     * <code>repeated .PColumn columns = 9;</code>
+     */
+    int getColumnsCount();
+    /**
+     * <code>repeated .PColumn columns = 9;</code>
+     */
+    java.util.List<? extends org.apache.phoenix.coprocessor.generated.PTableProtos.PColumnOrBuilder> 
+        getColumnsOrBuilderList();
+    /**
+     * <code>repeated .PColumn columns = 9;</code>
+     */
+    org.apache.phoenix.coprocessor.generated.PTableProtos.PColumnOrBuilder getColumnsOrBuilder(
+        int index);
+
+    // repeated .PTable indexes = 10;
+    /**
+     * <code>repeated .PTable indexes = 10;</code>
+     */
+    java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.PTable> 
+        getIndexesList();
+    /**
+     * <code>repeated .PTable indexes = 10;</code>
+     */
+    org.apache.phoenix.coprocessor.generated.PTableProtos.PTable getIndexes(int index);
+    /**
+     * <code>repeated .PTable indexes = 10;</code>
+     */
+    int getIndexesCount();
+    /**
+     * <code>repeated .PTable indexes = 10;</code>
+     */
+    java.util.List<? extends org.apache.phoenix.coprocessor.generated.PTableProtos.PTableOrBuilder> 
+        getIndexesOrBuilderList();
+    /**
+     * <code>repeated .PTable indexes = 10;</code>
+     */
+    org.apache.phoenix.coprocessor.generated.PTableProtos.PTableOrBuilder getIndexesOrBuilder(
+        int index);
+
+    // required bool isImmutableRows = 11;
+    /**
+     * <code>required bool isImmutableRows = 11;</code>
+     */
+    boolean hasIsImmutableRows();
+    /**
+     * <code>required bool isImmutableRows = 11;</code>
+     */
+    boolean getIsImmutableRows();
+
+    // repeated .PTableStats guidePosts = 12;
+    /**
+     * <code>repeated .PTableStats guidePosts = 12;</code>
+     */
+    java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats> 
+        getGuidePostsList();
+    /**
+     * <code>repeated .PTableStats guidePosts = 12;</code>
+     */
+    org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats getGuidePosts(int index);
+    /**
+     * <code>repeated .PTableStats guidePosts = 12;</code>
+     */
+    int getGuidePostsCount();
+    /**
+     * <code>repeated .PTableStats guidePosts = 12;</code>
+     */
+    java.util.List<? extends org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStatsOrBuilder> 
+        getGuidePostsOrBuilderList();
+    /**
+     * <code>repeated .PTableStats guidePosts = 12;</code>
+     */
+    org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStatsOrBuilder getGuidePostsOrBuilder(
+        int index);
+
+    // optional bytes dataTableNameBytes = 13;
+    /**
+     * <code>optional bytes dataTableNameBytes = 13;</code>
+     */
+    boolean hasDataTableNameBytes();
+    /**
+     * <code>optional bytes dataTableNameBytes = 13;</code>
+     */
+    com.google.protobuf.ByteString getDataTableNameBytes();
+
+    // optional bytes defaultFamilyName = 14;
+    /**
+     * <code>optional bytes defaultFamilyName = 14;</code>
+     */
+    boolean hasDefaultFamilyName();
+    /**
+     * <code>optional bytes defaultFamilyName = 14;</code>
+     */
+    com.google.protobuf.ByteString getDefaultFamilyName();
+
+    // required bool disableWAL = 15;
+    /**
+     * <code>required bool disableWAL = 15;</code>
+     */
+    boolean hasDisableWAL();
+    /**
+     * <code>required bool disableWAL = 15;</code>
+     */
+    boolean getDisableWAL();
+
+    // required bool multiTenant = 16;
+    /**
+     * <code>required bool multiTenant = 16;</code>
+     */
+    boolean hasMultiTenant();
+    /**
+     * <code>required bool multiTenant = 16;</code>
+     */
+    boolean getMultiTenant();
+
+    // optional bytes viewType = 17;
+    /**
+     * <code>optional bytes viewType = 17;</code>
+     */
+    boolean hasViewType();
+    /**
+     * <code>optional bytes viewType = 17;</code>
+     */
+    com.google.protobuf.ByteString getViewType();
+
+    // optional bytes viewStatement = 18;
+    /**
+     * <code>optional bytes viewStatement = 18;</code>
+     */
+    boolean hasViewStatement();
+    /**
+     * <code>optional bytes viewStatement = 18;</code>
+     */
+    com.google.protobuf.ByteString getViewStatement();
+
+    // repeated bytes physicalNames = 19;
+    /**
+     * <code>repeated bytes physicalNames = 19;</code>
+     */
+    java.util.List<com.google.protobuf.ByteString> getPhysicalNamesList();
+    /**
+     * <code>repeated bytes physicalNames = 19;</code>
+     */
+    int getPhysicalNamesCount();
+    /**
+     * <code>repeated bytes physicalNames = 19;</code>
+     */
+    com.google.protobuf.ByteString getPhysicalNames(int index);
+  }
+  /**
+   * Protobuf type {@code PTable}
+   */
+  public static final class PTable extends
+      com.google.protobuf.GeneratedMessage
+      implements PTableOrBuilder {
+    // Use PTable.newBuilder() to construct.
+    private PTable(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
+      super(builder);
+      this.unknownFields = builder.getUnknownFields();
+    }
+    private PTable(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+    private static final PTable defaultInstance;
+    public static PTable getDefaultInstance() {
+      return defaultInstance;
+    }
+
+    public PTable getDefaultInstanceForType() {
+      return defaultInstance;
+    }
+
+    private final com.google.protobuf.UnknownFieldSet unknownFields;
+    @java.lang.Override
+    public final com.google.protobuf.UnknownFieldSet
+        getUnknownFields() {
+      return this.unknownFields;
+    }
+    private PTable(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      initFields();
+      int mutable_bitField0_ = 0;
+      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+          com.google.protobuf.UnknownFieldSet.newBuilder();
+      try {
+        boolean done = false;
+        while (!done) {
+          int tag = input.readTag();
+          switch (tag) {
+            case 0:
+              done = true;
+              break;
+            default: {
+              if (!parseUnknownField(input, unknownFields,
+                                     extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
+            }
+            case 10: {
+              bitField0_ |= 0x00000001;
+              schemaNameBytes_ = input.readBytes();
+              break;
+            }
+            case 18: {
+              bitField0_ |= 0x00000002;
+              tableNameBytes_ = input.readBytes();
+              break;
+            }
+            case 24: {
+              int rawValue = input.readEnum();
+              org.apache.phoenix.coprocessor.generated.PTableProtos.PTableType value = org.apache.phoenix.coprocessor.generated.PTableProtos.PTableType.valueOf(rawValue);
+              if (value == null) {
+                unknownFields.mergeVarintField(3, rawValue);
+              } else {
+                bitField0_ |= 0x00000004;
+                tableType_ = value;
+              }
+              break;
+            }
+            case 34: {
+              bitField0_ |= 0x00000008;
+              indexState_ = input.readBytes();
+              break;
+            }
+            case 40: {
+              bitField0_ |= 0x00000010;
+              sequenceNumber_ = input.readInt64();
+              break;
+            }
+            case 48: {
+              bitField0_ |= 0x00000020;
+              timeStamp_ = input.readInt64();
+              break;
+            }
+            case 58: {
+              bitField0_ |= 0x00000040;
+              pkNameBytes_ = input.readBytes();
+              break;
+            }
+            case 64: {
+              bitField0_ |= 0x00000080;
+              bucketNum_ = input.readInt32();
+              break;
+            }
+            case 74: {
+              if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
+                columns_ = new java.util.ArrayList<org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn>();
+                mutable_bitField0_ |= 0x00000100;
+              }
+              columns_.add(input.readMessage(org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.PARSER, extensionRegistry));
+              break;
+            }
+            case 82: {
+              if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
+                indexes_ = new java.util.ArrayList<org.apache.phoenix.coprocessor.generated.PTableProtos.PTable>();
+                mutable_bitField0_ |= 0x00000200;
+              }
+              indexes_.add(input.readMessage(org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.PARSER, extensionRegistry));
+              break;
+            }
+            case 88: {
+              bitField0_ |= 0x00000100;
+              isImmutableRows_ = input.readBool();
+              break;
+            }
+            case 98: {
+              if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
+                guidePosts_ = new java.util.ArrayList<org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats>();
+                mutable_bitField0_ |= 0x00000800;
+              }
+              guidePosts_.add(input.readMessage(org.apache.phoenix.coprocessor.generated.PTableProtos.PTableStats.PARSER, extensionRegistry));
+              break;
+            }
+            case 106: {
+              bitField0_ |= 0x00000200;
+              dataTableNameBytes_ = input.readBytes();
+              break;
+            }
+            case 114: {
+              bitField0_ |= 0x00000400;
+              defaultFamilyName_ = input.readBytes();
+              break;
+            }
+            case 120: {
+              bitField0_ |= 0x00000800;
+              disableWAL_ = input.readBool();
+              break;
+            }
+            case 128: {
+              bitField0_ |= 0x00001000;
+              multiTenant_ = input.readBool();
+              break;
+            }
+            case 138: {
+              bitField0_ |= 0x00002000;
+              viewType_ = input.readBytes();
+              break;
+            }
+            case 146: {
+              bitField0_ |= 0x00004000;
+              viewStatement_ = input.readBytes();
+              break;
+            }
+            case 154: {
+              if (!((mutable_bitField0_ & 0x00040000) == 0x00040000)) {
+                physicalNames_ = new java.util.ArrayList<com.google.protobuf.ByteString>();
+                mutable_bitField0_ |= 0x00040000;
+              }
+              physicalNames_.add(input.readBytes());
+              break;
+            }
+          }
+        }
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(this);
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e.getMessage()).setUnfinishedMessage(this);
+      } finally {
+        if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
+          columns_ = java.util.Collections.unmodifiableList(columns_);
+        }
+        if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
+          indexes_ = java.util.Collections.unmodifiableList(indexes_);
+        }
+        if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
+          guidePosts_ = java.util.Collections.unmodifiableList(guidePosts_);
+        }
+        if (((mutable_bitField0_ & 0x00040000) == 0x00040000)) {
+          physicalNames_ = java.util.Collections.unmodifiableList(physicalNames_);
+        }
+        this.unknownFields = unknownFields.build();
+        makeExtensionsImmutable();
+      }
+    }
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return org.apache.phoenix.coprocessor.generated.PTableProtos.internal_static_PTable_descriptor;
+    }
+
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+        internalGetFieldAccessorTable() {
+      return org.apache.phoenix.coprocessor.generated.PTableProtos.internal_static_PTable_fieldAccessorTable
+          .ensureFieldAccessorsInitialized(
+              org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.class, org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.Builder.class);
+    }
+
+    public static com.google.protobuf.Parser<PTable> PARSER =
+        new com.google.protobuf.AbstractParser<PTable>() {
+      public PTable parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new PTable(input, extensionRegistry);
+      }
+    };
+
+    @java.lang.Override
+    public com.google.protobuf.Parser<PTable> getParserForType() {
+      return PARSER;
+    }
+
+    private int bitField0_;
+    // required bytes schemaNameBytes = 1;
+    public static final int SCHEMANAMEBYTES_FIELD_NUMBER = 1;
+    private com.google.protobuf.ByteString schemaNameBytes_;
+    /**
+     * <code>required bytes schemaNameBytes = 1;</code>
+     */
+    public boolean hasSchemaNameBytes() {
+      return ((bitField0_ & 0x00000001) == 0x00000001);
+    }
+    /**
+     * <code>required bytes schemaNameBytes = 1;</code>
+     */
+    public com.google.protobuf.ByteString getSchemaNameBytes() {
+      return schemaNameBytes_;
+    }
+
+    // required bytes tableNameBytes = 2;
+    public static final int TABLENAMEBYTES_FIELD_NUMBER = 2;
+    private com.google.protobuf.ByteString tableNameBytes_;
+    /**
+     * <code>required bytes tableNameBytes = 2;</code>
+     */
+    public boolean hasTableNameBytes() {
+      return ((bitField0_ & 0x00000002) == 0x00000002);
+    }
+    /**
+     * <code>required bytes tableNameBytes = 2;</code>
+     */
+    public com.google.protobuf.ByteString getTableNameBytes() {
+      return tableNameBytes_;
+    }
+
+    // required .PTableType tableType = 3;
+    public static final int TABLETYPE_FIELD_NUMBER = 3;
+    private org.apache.phoenix.coprocessor.generated.PTableProtos.PTableType tableType_;
+    /**
+     * <code>required .PTableType tableType = 3;</code>
+     */
+    public boolean hasTableType() {
+      return ((bitField0_ & 0x00000004) == 0x00000004);
+    }
+    /**
+     * <code>required .PTableType tableType = 3;</code>
+     */
+    public org.apache.phoenix.coprocessor.generated.PTableProtos.PTableType getTableType() {
+      return tableType_;
+    }
+
+    // optional string indexState = 4;
+    public static final int INDEXSTATE_FIELD_NUMBER = 4;
+    private java.lang.Object indexState_;
+    /**
+     * <code>optional string indexState = 4;</code>
+     */
+    public boolean hasIndexState() {
+      return ((bitField0_ & 0x00000008) == 0x00000008);
+    }
+    /**
+     * <code>optional string indexState = 4;</code>
+     */
+    public java.lang.String getIndexState() {
+      java.lang.Object ref = indexState_;
+      if (ref instanceof java.lang.String) {
+        return (java.lang.String) ref;
+      } else {
+        com.google.protobuf.ByteString bs = 
+            (com.google.protobuf.ByteString) ref;
+        java.lang.String s = bs.toStringUtf8();
+        if (bs.isValidUtf8()) {
+          indexState_ = s;
+        }
+        return s;
+      }
+    }
+    /**
+     * <code>optional string indexState = 4;</code>
+     */
+    public com.google.protobuf.ByteString
+        getIndexStateBytes() {
+      java.lang.Object ref = indexState_;
+      if (ref instanceof java.lang.String) {
+        com.google.protobuf.ByteString b = 
+            com.google.protobuf.ByteString.copyFromUtf8(
+                (java.lang.String) ref);
+        indexState_ = b;
+        return b;
+      } else {
+        return (com.google.protobuf.ByteString) ref;
+      }
+    }
+
+    // required int64 sequenceNumber = 5;
+    public static final int SEQUENCENUMBER_FIELD_NUMBER = 5;
+    private long sequenceNumber_;
+    /**
+     * <code>required int64 sequenceNumber = 5;</code>
+     */
+    public boolean hasSequenceNumber() {
+      return ((bitField0_ & 0x00000010) == 0x00000010);
+    }
+    /**
+     * <code>required int64 sequenceNumber = 5;</code>
+     */
+    public long getSequenceNumber() {
+      return sequenceNumber_;
+    }
+
+    // required int64 timeStamp = 6;
+    public static final int TIMESTAMP_FIELD_NUMBER = 6;
+    private long timeStamp_;
+    /**
+     * <code>required int64 timeStamp = 6;</code>
+     */
+    public boolean hasTimeStamp() {
+      return ((bitField0_ & 0x00000020) == 0x00000020);
+    }
+    /**
+     * <code>required int64 timeStamp = 6;</code>
+     */
+    public long getTimeStamp() {
+      return timeStamp_;
+    }
+
+    // optional bytes pkNameBytes = 7;
+    public static final int PKNAMEBYTES_FIELD_NUMBER = 7;
+    private com.google.protobuf.ByteString pkNameBytes_;
+    /**
+     * <code>optional bytes pkNameBytes = 7;</code>
+     */
+    public boolean hasPkNameBytes() {
+  

<TRUNCATED>

Mime
View raw message