You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2020/12/26 17:24:28 UTC

[phoenix] branch 4.x updated: PHOENIX-6282 : Generate PB files inline with build and remove checked in files

This is an automated email from the ASF dual-hosted git repository.

stoty pushed a commit to branch 4.x
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/4.x by this push:
     new 6e8d38e  PHOENIX-6282 : Generate PB files inline with build and remove checked in files
6e8d38e is described below

commit 6e8d38e9467bef5efbf80e5a3ef0faf0da700987
Author: Viraj Jasani <vj...@apache.org>
AuthorDate: Sat Dec 26 19:19:38 2020 +0530

    PHOENIX-6282 : Generate PB files inline with build and remove checked in files
---
 phoenix-core/pom.xml                               |    20 +
 .../generated/ChildLinkMetaDataProtos.java         |   786 -
 .../generated/DynamicColumnMetaDataProtos.java     |   774 -
 .../coprocessor/generated/MetaDataProtos.java      | 18333 -------------------
 .../coprocessor/generated/PFunctionProtos.java     |  3032 ---
 .../coprocessor/generated/PGuidePostsProtos.java   |  1333 --
 .../coprocessor/generated/PSchemaProtos.java       |   666 -
 .../coprocessor/generated/PTableProtos.java        |  9645 ----------
 .../generated/ServerCacheFactoryProtos.java        |   568 -
 .../coprocessor/generated/ServerCachingProtos.java |  9320 ----------
 .../coprocessor/generated/TaskMetaDataProtos.java  |   784 -
 .../main/protobuf}/ChildLinkMetaDataService.proto  |     0
 .../src/main/protobuf}/DynamicColumnMetaData.proto |     0
 .../src/main/protobuf}/MetaDataService.proto       |    66 +-
 .../src/main/protobuf}/PFunction.proto             |     0
 .../src/main/protobuf}/PGuidePosts.proto           |     0
 .../src/main/protobuf}/PSchema.proto               |     0
 .../src/main/protobuf}/PTable.proto                |     8 +-
 .../src/main/protobuf}/ServerCacheFactory.proto    |     0
 .../src/main/protobuf}/ServerCachingService.proto  |     8 +-
 .../src/main/protobuf}/TaskMetaDataService.proto   |     0
 phoenix-protocol/README.txt                        |    10 -
 phoenix-protocol/src/main/build-proto.sh           |    43 -
 pom.xml                                            |    15 +
 24 files changed, 76 insertions(+), 45335 deletions(-)

diff --git a/phoenix-core/pom.xml b/phoenix-core/pom.xml
index de08a2d..5120edd 100644
--- a/phoenix-core/pom.xml
+++ b/phoenix-core/pom.xml
@@ -185,6 +185,26 @@
           </excludes>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.xolstice.maven.plugins</groupId>
+        <artifactId>protobuf-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>compile-protoc</id>
+            <phase>generate-sources</phase>
+            <goals>
+              <goal>compile</goal>
+            </goals>
+            <configuration>
+              <protocArtifact>com.google.protobuf:protoc:${protobuf-java.version}:exe:${os.detected.classifier}
+              </protocArtifact>
+              <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
+              <clearOutputDirectory>false</clearOutputDirectory>
+              <checkStaleness>true</checkStaleness>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/ChildLinkMetaDataProtos.java b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/ChildLinkMetaDataProtos.java
deleted file mode 100644
index d3bc1e1..0000000
--- a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/ChildLinkMetaDataProtos.java
+++ /dev/null
@@ -1,786 +0,0 @@
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: ChildLinkMetaDataService.proto
-
-package org.apache.phoenix.coprocessor.generated;
-
-public final class ChildLinkMetaDataProtos {
-  private ChildLinkMetaDataProtos() {}
-  public static void registerAllExtensions(
-      com.google.protobuf.ExtensionRegistry registry) {
-  }
-  public interface CreateViewAddChildLinkRequestOrBuilder
-      extends com.google.protobuf.MessageOrBuilder {
-
-    // repeated bytes tableMetadataMutations = 1;
-    /**
-     * <code>repeated bytes tableMetadataMutations = 1;</code>
-     */
-    java.util.List<com.google.protobuf.ByteString> getTableMetadataMutationsList();
-    /**
-     * <code>repeated bytes tableMetadataMutations = 1;</code>
-     */
-    int getTableMetadataMutationsCount();
-    /**
-     * <code>repeated bytes tableMetadataMutations = 1;</code>
-     */
-    com.google.protobuf.ByteString getTableMetadataMutations(int index);
-  }
-  /**
-   * Protobuf type {@code CreateViewAddChildLinkRequest}
-   */
-  public static final class CreateViewAddChildLinkRequest extends
-      com.google.protobuf.GeneratedMessage
-      implements CreateViewAddChildLinkRequestOrBuilder {
-    // Use CreateViewAddChildLinkRequest.newBuilder() to construct.
-    private CreateViewAddChildLinkRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
-      super(builder);
-      this.unknownFields = builder.getUnknownFields();
-    }
-    private CreateViewAddChildLinkRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-    private static final CreateViewAddChildLinkRequest defaultInstance;
-    public static CreateViewAddChildLinkRequest getDefaultInstance() {
-      return defaultInstance;
-    }
-
-    public CreateViewAddChildLinkRequest getDefaultInstanceForType() {
-      return defaultInstance;
-    }
-
-    private final com.google.protobuf.UnknownFieldSet unknownFields;
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
-      return this.unknownFields;
-    }
-    private CreateViewAddChildLinkRequest(
-        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: {
-              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
-                tableMetadataMutations_ = new java.util.ArrayList<com.google.protobuf.ByteString>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              tableMetadataMutations_.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_ & 0x00000001) == 0x00000001)) {
-          tableMetadataMutations_ = java.util.Collections.unmodifiableList(tableMetadataMutations_);
-        }
-        this.unknownFields = unknownFields.build();
-        makeExtensionsImmutable();
-      }
-    }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.internal_static_CreateViewAddChildLinkRequest_descriptor;
-    }
-
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-        internalGetFieldAccessorTable() {
-      return org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.internal_static_CreateViewAddChildLinkRequest_fieldAccessorTable
-          .ensureFieldAccessorsInitialized(
-              org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest.class, org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest.Builder.class);
-    }
-
-    public static com.google.protobuf.Parser<CreateViewAddChildLinkRequest> PARSER =
-        new com.google.protobuf.AbstractParser<CreateViewAddChildLinkRequest>() {
-      public CreateViewAddChildLinkRequest parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new CreateViewAddChildLinkRequest(input, extensionRegistry);
-      }
-    };
-
-    @java.lang.Override
-    public com.google.protobuf.Parser<CreateViewAddChildLinkRequest> getParserForType() {
-      return PARSER;
-    }
-
-    // repeated bytes tableMetadataMutations = 1;
-    public static final int TABLEMETADATAMUTATIONS_FIELD_NUMBER = 1;
-    private java.util.List<com.google.protobuf.ByteString> tableMetadataMutations_;
-    /**
-     * <code>repeated bytes tableMetadataMutations = 1;</code>
-     */
-    public java.util.List<com.google.protobuf.ByteString>
-        getTableMetadataMutationsList() {
-      return tableMetadataMutations_;
-    }
-    /**
-     * <code>repeated bytes tableMetadataMutations = 1;</code>
-     */
-    public int getTableMetadataMutationsCount() {
-      return tableMetadataMutations_.size();
-    }
-    /**
-     * <code>repeated bytes tableMetadataMutations = 1;</code>
-     */
-    public com.google.protobuf.ByteString getTableMetadataMutations(int index) {
-      return tableMetadataMutations_.get(index);
-    }
-
-    private void initFields() {
-      tableMetadataMutations_ = java.util.Collections.emptyList();
-    }
-    private byte memoizedIsInitialized = -1;
-    public final boolean isInitialized() {
-      byte isInitialized = memoizedIsInitialized;
-      if (isInitialized != -1) return isInitialized == 1;
-
-      memoizedIsInitialized = 1;
-      return true;
-    }
-
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      getSerializedSize();
-      for (int i = 0; i < tableMetadataMutations_.size(); i++) {
-        output.writeBytes(1, tableMetadataMutations_.get(i));
-      }
-      getUnknownFields().writeTo(output);
-    }
-
-    private int memoizedSerializedSize = -1;
-    public int getSerializedSize() {
-      int size = memoizedSerializedSize;
-      if (size != -1) return size;
-
-      size = 0;
-      {
-        int dataSize = 0;
-        for (int i = 0; i < tableMetadataMutations_.size(); i++) {
-          dataSize += com.google.protobuf.CodedOutputStream
-            .computeBytesSizeNoTag(tableMetadataMutations_.get(i));
-        }
-        size += dataSize;
-        size += 1 * getTableMetadataMutationsList().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.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest)) {
-        return super.equals(obj);
-      }
-      org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest other = (org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest) obj;
-
-      boolean result = true;
-      result = result && getTableMetadataMutationsList()
-          .equals(other.getTableMetadataMutationsList());
-      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 (getTableMetadataMutationsCount() > 0) {
-        hash = (37 * hash) + TABLEMETADATAMUTATIONS_FIELD_NUMBER;
-        hash = (53 * hash) + getTableMetadataMutationsList().hashCode();
-      }
-      hash = (29 * hash) + getUnknownFields().hashCode();
-      memoizedHashCode = hash;
-      return hash;
-    }
-
-    public static org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest 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.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest 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.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest 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.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest 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.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest 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.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest 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 CreateViewAddChildLinkRequest}
-     */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessage.Builder<Builder>
-       implements org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequestOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.internal_static_CreateViewAddChildLinkRequest_descriptor;
-      }
-
-      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-          internalGetFieldAccessorTable() {
-        return org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.internal_static_CreateViewAddChildLinkRequest_fieldAccessorTable
-            .ensureFieldAccessorsInitialized(
-                org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest.class, org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest.Builder.class);
-      }
-
-      // Construct using org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest.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();
-        tableMetadataMutations_ = java.util.Collections.emptyList();
-        bitField0_ = (bitField0_ & ~0x00000001);
-        return this;
-      }
-
-      public Builder clone() {
-        return create().mergeFrom(buildPartial());
-      }
-
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.internal_static_CreateViewAddChildLinkRequest_descriptor;
-      }
-
-      public org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest getDefaultInstanceForType() {
-        return org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest.getDefaultInstance();
-      }
-
-      public org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest build() {
-        org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest result = buildPartial();
-        if (!result.isInitialized()) {
-          throw newUninitializedMessageException(result);
-        }
-        return result;
-      }
-
-      public org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest buildPartial() {
-        org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest result = new org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest(this);
-        int from_bitField0_ = bitField0_;
-        if (((bitField0_ & 0x00000001) == 0x00000001)) {
-          tableMetadataMutations_ = java.util.Collections.unmodifiableList(tableMetadataMutations_);
-          bitField0_ = (bitField0_ & ~0x00000001);
-        }
-        result.tableMetadataMutations_ = tableMetadataMutations_;
-        onBuilt();
-        return result;
-      }
-
-      public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest) {
-          return mergeFrom((org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest)other);
-        } else {
-          super.mergeFrom(other);
-          return this;
-        }
-      }
-
-      public Builder mergeFrom(org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest other) {
-        if (other == org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest.getDefaultInstance()) return this;
-        if (!other.tableMetadataMutations_.isEmpty()) {
-          if (tableMetadataMutations_.isEmpty()) {
-            tableMetadataMutations_ = other.tableMetadataMutations_;
-            bitField0_ = (bitField0_ & ~0x00000001);
-          } else {
-            ensureTableMetadataMutationsIsMutable();
-            tableMetadataMutations_.addAll(other.tableMetadataMutations_);
-          }
-          onChanged();
-        }
-        this.mergeUnknownFields(other.getUnknownFields());
-        return this;
-      }
-
-      public final boolean isInitialized() {
-        return true;
-      }
-
-      public Builder mergeFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-        org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest parsedMessage = null;
-        try {
-          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest) e.getUnfinishedMessage();
-          throw e;
-        } finally {
-          if (parsedMessage != null) {
-            mergeFrom(parsedMessage);
-          }
-        }
-        return this;
-      }
-      private int bitField0_;
-
-      // repeated bytes tableMetadataMutations = 1;
-      private java.util.List<com.google.protobuf.ByteString> tableMetadataMutations_ = java.util.Collections.emptyList();
-      private void ensureTableMetadataMutationsIsMutable() {
-        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
-          tableMetadataMutations_ = new java.util.ArrayList<com.google.protobuf.ByteString>(tableMetadataMutations_);
-          bitField0_ |= 0x00000001;
-         }
-      }
-      /**
-       * <code>repeated bytes tableMetadataMutations = 1;</code>
-       */
-      public java.util.List<com.google.protobuf.ByteString>
-          getTableMetadataMutationsList() {
-        return java.util.Collections.unmodifiableList(tableMetadataMutations_);
-      }
-      /**
-       * <code>repeated bytes tableMetadataMutations = 1;</code>
-       */
-      public int getTableMetadataMutationsCount() {
-        return tableMetadataMutations_.size();
-      }
-      /**
-       * <code>repeated bytes tableMetadataMutations = 1;</code>
-       */
-      public com.google.protobuf.ByteString getTableMetadataMutations(int index) {
-        return tableMetadataMutations_.get(index);
-      }
-      /**
-       * <code>repeated bytes tableMetadataMutations = 1;</code>
-       */
-      public Builder setTableMetadataMutations(
-          int index, com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureTableMetadataMutationsIsMutable();
-        tableMetadataMutations_.set(index, value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated bytes tableMetadataMutations = 1;</code>
-       */
-      public Builder addTableMetadataMutations(com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureTableMetadataMutationsIsMutable();
-        tableMetadataMutations_.add(value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated bytes tableMetadataMutations = 1;</code>
-       */
-      public Builder addAllTableMetadataMutations(
-          java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
-        ensureTableMetadataMutationsIsMutable();
-        super.addAll(values, tableMetadataMutations_);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated bytes tableMetadataMutations = 1;</code>
-       */
-      public Builder clearTableMetadataMutations() {
-        tableMetadataMutations_ = java.util.Collections.emptyList();
-        bitField0_ = (bitField0_ & ~0x00000001);
-        onChanged();
-        return this;
-      }
-
-      // @@protoc_insertion_point(builder_scope:CreateViewAddChildLinkRequest)
-    }
-
-    static {
-      defaultInstance = new CreateViewAddChildLinkRequest(true);
-      defaultInstance.initFields();
-    }
-
-    // @@protoc_insertion_point(class_scope:CreateViewAddChildLinkRequest)
-  }
-
-  /**
-   * Protobuf service {@code ChildLinkMetaDataService}
-   */
-  public static abstract class ChildLinkMetaDataService
-      implements com.google.protobuf.Service {
-    protected ChildLinkMetaDataService() {}
-
-    public interface Interface {
-      /**
-       * <code>rpc createViewAddChildLink(.CreateViewAddChildLinkRequest) returns (.MetaDataResponse);</code>
-       */
-      public abstract void createViewAddChildLink(
-          com.google.protobuf.RpcController controller,
-          org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest request,
-          com.google.protobuf.RpcCallback<org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse> done);
-
-    }
-
-    public static com.google.protobuf.Service newReflectiveService(
-        final Interface impl) {
-      return new ChildLinkMetaDataService() {
-        @java.lang.Override
-        public  void createViewAddChildLink(
-            com.google.protobuf.RpcController controller,
-            org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest request,
-            com.google.protobuf.RpcCallback<org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse> done) {
-          impl.createViewAddChildLink(controller, request, done);
-        }
-
-      };
-    }
-
-    public static com.google.protobuf.BlockingService
-        newReflectiveBlockingService(final BlockingInterface impl) {
-      return new com.google.protobuf.BlockingService() {
-        public final com.google.protobuf.Descriptors.ServiceDescriptor
-            getDescriptorForType() {
-          return getDescriptor();
-        }
-
-        public final com.google.protobuf.Message callBlockingMethod(
-            com.google.protobuf.Descriptors.MethodDescriptor method,
-            com.google.protobuf.RpcController controller,
-            com.google.protobuf.Message request)
-            throws com.google.protobuf.ServiceException {
-          if (method.getService() != getDescriptor()) {
-            throw new java.lang.IllegalArgumentException(
-              "Service.callBlockingMethod() given method descriptor for " +
-              "wrong service type.");
-          }
-          switch(method.getIndex()) {
-            case 0:
-              return impl.createViewAddChildLink(controller, (org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest)request);
-            default:
-              throw new java.lang.AssertionError("Can't get here.");
-          }
-        }
-
-        public final com.google.protobuf.Message
-            getRequestPrototype(
-            com.google.protobuf.Descriptors.MethodDescriptor method) {
-          if (method.getService() != getDescriptor()) {
-            throw new java.lang.IllegalArgumentException(
-              "Service.getRequestPrototype() given method " +
-              "descriptor for wrong service type.");
-          }
-          switch(method.getIndex()) {
-            case 0:
-              return org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest.getDefaultInstance();
-            default:
-              throw new java.lang.AssertionError("Can't get here.");
-          }
-        }
-
-        public final com.google.protobuf.Message
-            getResponsePrototype(
-            com.google.protobuf.Descriptors.MethodDescriptor method) {
-          if (method.getService() != getDescriptor()) {
-            throw new java.lang.IllegalArgumentException(
-              "Service.getResponsePrototype() given method " +
-              "descriptor for wrong service type.");
-          }
-          switch(method.getIndex()) {
-            case 0:
-              return org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse.getDefaultInstance();
-            default:
-              throw new java.lang.AssertionError("Can't get here.");
-          }
-        }
-
-      };
-    }
-
-    /**
-     * <code>rpc createViewAddChildLink(.CreateViewAddChildLinkRequest) returns (.MetaDataResponse);</code>
-     */
-    public abstract void createViewAddChildLink(
-        com.google.protobuf.RpcController controller,
-        org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest request,
-        com.google.protobuf.RpcCallback<org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse> done);
-
-    public static final
-        com.google.protobuf.Descriptors.ServiceDescriptor
-        getDescriptor() {
-      return org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.getDescriptor().getServices().get(0);
-    }
-    public final com.google.protobuf.Descriptors.ServiceDescriptor
-        getDescriptorForType() {
-      return getDescriptor();
-    }
-
-    public final void callMethod(
-        com.google.protobuf.Descriptors.MethodDescriptor method,
-        com.google.protobuf.RpcController controller,
-        com.google.protobuf.Message request,
-        com.google.protobuf.RpcCallback<
-          com.google.protobuf.Message> done) {
-      if (method.getService() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "Service.callMethod() given method descriptor for wrong " +
-          "service type.");
-      }
-      switch(method.getIndex()) {
-        case 0:
-          this.createViewAddChildLink(controller, (org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest)request,
-            com.google.protobuf.RpcUtil.<org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse>specializeCallback(
-              done));
-          return;
-        default:
-          throw new java.lang.AssertionError("Can't get here.");
-      }
-    }
-
-    public final com.google.protobuf.Message
-        getRequestPrototype(
-        com.google.protobuf.Descriptors.MethodDescriptor method) {
-      if (method.getService() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "Service.getRequestPrototype() given method " +
-          "descriptor for wrong service type.");
-      }
-      switch(method.getIndex()) {
-        case 0:
-          return org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest.getDefaultInstance();
-        default:
-          throw new java.lang.AssertionError("Can't get here.");
-      }
-    }
-
-    public final com.google.protobuf.Message
-        getResponsePrototype(
-        com.google.protobuf.Descriptors.MethodDescriptor method) {
-      if (method.getService() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "Service.getResponsePrototype() given method " +
-          "descriptor for wrong service type.");
-      }
-      switch(method.getIndex()) {
-        case 0:
-          return org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse.getDefaultInstance();
-        default:
-          throw new java.lang.AssertionError("Can't get here.");
-      }
-    }
-
-    public static Stub newStub(
-        com.google.protobuf.RpcChannel channel) {
-      return new Stub(channel);
-    }
-
-    public static final class Stub extends org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.ChildLinkMetaDataService implements Interface {
-      private Stub(com.google.protobuf.RpcChannel channel) {
-        this.channel = channel;
-      }
-
-      private final com.google.protobuf.RpcChannel channel;
-
-      public com.google.protobuf.RpcChannel getChannel() {
-        return channel;
-      }
-
-      public  void createViewAddChildLink(
-          com.google.protobuf.RpcController controller,
-          org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest request,
-          com.google.protobuf.RpcCallback<org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse> done) {
-        channel.callMethod(
-          getDescriptor().getMethods().get(0),
-          controller,
-          request,
-          org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse.getDefaultInstance(),
-          com.google.protobuf.RpcUtil.generalizeCallback(
-            done,
-            org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse.class,
-            org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse.getDefaultInstance()));
-      }
-    }
-
-    public static BlockingInterface newBlockingStub(
-        com.google.protobuf.BlockingRpcChannel channel) {
-      return new BlockingStub(channel);
-    }
-
-    public interface BlockingInterface {
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse createViewAddChildLink(
-          com.google.protobuf.RpcController controller,
-          org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest request)
-          throws com.google.protobuf.ServiceException;
-    }
-
-    private static final class BlockingStub implements BlockingInterface {
-      private BlockingStub(com.google.protobuf.BlockingRpcChannel channel) {
-        this.channel = channel;
-      }
-
-      private final com.google.protobuf.BlockingRpcChannel channel;
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse createViewAddChildLink(
-          com.google.protobuf.RpcController controller,
-          org.apache.phoenix.coprocessor.generated.ChildLinkMetaDataProtos.CreateViewAddChildLinkRequest request)
-          throws com.google.protobuf.ServiceException {
-        return (org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse) channel.callBlockingMethod(
-          getDescriptor().getMethods().get(0),
-          controller,
-          request,
-          org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse.getDefaultInstance());
-      }
-
-    }
-
-    // @@protoc_insertion_point(class_scope:ChildLinkMetaDataService)
-  }
-
-  private static com.google.protobuf.Descriptors.Descriptor
-    internal_static_CreateViewAddChildLinkRequest_descriptor;
-  private static
-    com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_CreateViewAddChildLinkRequest_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\036ChildLinkMetaDataService.proto\032\025MetaDa" +
-      "taService.proto\032\014PTable.proto\"?\n\035CreateV" +
-      "iewAddChildLinkRequest\022\036\n\026tableMetadataM" +
-      "utations\030\001 \003(\0142g\n\030ChildLinkMetaDataServi" +
-      "ce\022K\n\026createViewAddChildLink\022\036.CreateVie" +
-      "wAddChildLinkRequest\032\021.MetaDataResponseB" +
-      "K\n(org.apache.phoenix.coprocessor.genera" +
-      "tedB\027ChildLinkMetaDataProtosH\001\210\001\001\240\001\001"
-    };
-    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_CreateViewAddChildLinkRequest_descriptor =
-            getDescriptor().getMessageTypes().get(0);
-          internal_static_CreateViewAddChildLinkRequest_fieldAccessorTable = new
-            com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-              internal_static_CreateViewAddChildLinkRequest_descriptor,
-              new java.lang.String[] { "TableMetadataMutations", });
-          return null;
-        }
-      };
-    com.google.protobuf.Descriptors.FileDescriptor
-      .internalBuildGeneratedFileFrom(descriptorData,
-        new com.google.protobuf.Descriptors.FileDescriptor[] {
-          org.apache.phoenix.coprocessor.generated.MetaDataProtos.getDescriptor(),
-          org.apache.phoenix.coprocessor.generated.PTableProtos.getDescriptor(),
-        }, assigner);
-  }
-
-  // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/DynamicColumnMetaDataProtos.java b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/DynamicColumnMetaDataProtos.java
deleted file mode 100644
index 760f8f9..0000000
--- a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/DynamicColumnMetaDataProtos.java
+++ /dev/null
@@ -1,774 +0,0 @@
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: DynamicColumnMetaData.proto
-
-package org.apache.phoenix.coprocessor.generated;
-
-public final class DynamicColumnMetaDataProtos {
-  private DynamicColumnMetaDataProtos() {}
-  public static void registerAllExtensions(
-      com.google.protobuf.ExtensionRegistry registry) {
-  }
-  public interface DynamicColumnMetaDataOrBuilder
-      extends com.google.protobuf.MessageOrBuilder {
-
-    // repeated .PColumn dynamicColumns = 1;
-    /**
-     * <code>repeated .PColumn dynamicColumns = 1;</code>
-     */
-    java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn> 
-        getDynamicColumnsList();
-    /**
-     * <code>repeated .PColumn dynamicColumns = 1;</code>
-     */
-    org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn getDynamicColumns(int index);
-    /**
-     * <code>repeated .PColumn dynamicColumns = 1;</code>
-     */
-    int getDynamicColumnsCount();
-    /**
-     * <code>repeated .PColumn dynamicColumns = 1;</code>
-     */
-    java.util.List<? extends org.apache.phoenix.coprocessor.generated.PTableProtos.PColumnOrBuilder> 
-        getDynamicColumnsOrBuilderList();
-    /**
-     * <code>repeated .PColumn dynamicColumns = 1;</code>
-     */
-    org.apache.phoenix.coprocessor.generated.PTableProtos.PColumnOrBuilder getDynamicColumnsOrBuilder(
-        int index);
-  }
-  /**
-   * Protobuf type {@code DynamicColumnMetaData}
-   */
-  public static final class DynamicColumnMetaData extends
-      com.google.protobuf.GeneratedMessage
-      implements DynamicColumnMetaDataOrBuilder {
-    // Use DynamicColumnMetaData.newBuilder() to construct.
-    private DynamicColumnMetaData(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
-      super(builder);
-      this.unknownFields = builder.getUnknownFields();
-    }
-    private DynamicColumnMetaData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-    private static final DynamicColumnMetaData defaultInstance;
-    public static DynamicColumnMetaData getDefaultInstance() {
-      return defaultInstance;
-    }
-
-    public DynamicColumnMetaData getDefaultInstanceForType() {
-      return defaultInstance;
-    }
-
-    private final com.google.protobuf.UnknownFieldSet unknownFields;
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
-      return this.unknownFields;
-    }
-    private DynamicColumnMetaData(
-        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: {
-              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
-                dynamicColumns_ = new java.util.ArrayList<org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              dynamicColumns_.add(input.readMessage(org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.PARSER, extensionRegistry));
-              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_ & 0x00000001) == 0x00000001)) {
-          dynamicColumns_ = java.util.Collections.unmodifiableList(dynamicColumns_);
-        }
-        this.unknownFields = unknownFields.build();
-        makeExtensionsImmutable();
-      }
-    }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.internal_static_DynamicColumnMetaData_descriptor;
-    }
-
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-        internalGetFieldAccessorTable() {
-      return org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.internal_static_DynamicColumnMetaData_fieldAccessorTable
-          .ensureFieldAccessorsInitialized(
-              org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData.class, org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData.Builder.class);
-    }
-
-    public static com.google.protobuf.Parser<DynamicColumnMetaData> PARSER =
-        new com.google.protobuf.AbstractParser<DynamicColumnMetaData>() {
-      public DynamicColumnMetaData parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new DynamicColumnMetaData(input, extensionRegistry);
-      }
-    };
-
-    @java.lang.Override
-    public com.google.protobuf.Parser<DynamicColumnMetaData> getParserForType() {
-      return PARSER;
-    }
-
-    // repeated .PColumn dynamicColumns = 1;
-    public static final int DYNAMICCOLUMNS_FIELD_NUMBER = 1;
-    private java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn> dynamicColumns_;
-    /**
-     * <code>repeated .PColumn dynamicColumns = 1;</code>
-     */
-    public java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn> getDynamicColumnsList() {
-      return dynamicColumns_;
-    }
-    /**
-     * <code>repeated .PColumn dynamicColumns = 1;</code>
-     */
-    public java.util.List<? extends org.apache.phoenix.coprocessor.generated.PTableProtos.PColumnOrBuilder> 
-        getDynamicColumnsOrBuilderList() {
-      return dynamicColumns_;
-    }
-    /**
-     * <code>repeated .PColumn dynamicColumns = 1;</code>
-     */
-    public int getDynamicColumnsCount() {
-      return dynamicColumns_.size();
-    }
-    /**
-     * <code>repeated .PColumn dynamicColumns = 1;</code>
-     */
-    public org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn getDynamicColumns(int index) {
-      return dynamicColumns_.get(index);
-    }
-    /**
-     * <code>repeated .PColumn dynamicColumns = 1;</code>
-     */
-    public org.apache.phoenix.coprocessor.generated.PTableProtos.PColumnOrBuilder getDynamicColumnsOrBuilder(
-        int index) {
-      return dynamicColumns_.get(index);
-    }
-
-    private void initFields() {
-      dynamicColumns_ = java.util.Collections.emptyList();
-    }
-    private byte memoizedIsInitialized = -1;
-    public final boolean isInitialized() {
-      byte isInitialized = memoizedIsInitialized;
-      if (isInitialized != -1) return isInitialized == 1;
-
-      for (int i = 0; i < getDynamicColumnsCount(); i++) {
-        if (!getDynamicColumns(i).isInitialized()) {
-          memoizedIsInitialized = 0;
-          return false;
-        }
-      }
-      memoizedIsInitialized = 1;
-      return true;
-    }
-
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      getSerializedSize();
-      for (int i = 0; i < dynamicColumns_.size(); i++) {
-        output.writeMessage(1, dynamicColumns_.get(i));
-      }
-      getUnknownFields().writeTo(output);
-    }
-
-    private int memoizedSerializedSize = -1;
-    public int getSerializedSize() {
-      int size = memoizedSerializedSize;
-      if (size != -1) return size;
-
-      size = 0;
-      for (int i = 0; i < dynamicColumns_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, dynamicColumns_.get(i));
-      }
-      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.DynamicColumnMetaDataProtos.DynamicColumnMetaData)) {
-        return super.equals(obj);
-      }
-      org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData other = (org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData) obj;
-
-      boolean result = true;
-      result = result && getDynamicColumnsList()
-          .equals(other.getDynamicColumnsList());
-      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 (getDynamicColumnsCount() > 0) {
-        hash = (37 * hash) + DYNAMICCOLUMNS_FIELD_NUMBER;
-        hash = (53 * hash) + getDynamicColumnsList().hashCode();
-      }
-      hash = (29 * hash) + getUnknownFields().hashCode();
-      memoizedHashCode = hash;
-      return hash;
-    }
-
-    public static org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData 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.DynamicColumnMetaDataProtos.DynamicColumnMetaData parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData 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.DynamicColumnMetaDataProtos.DynamicColumnMetaData parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData 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.DynamicColumnMetaDataProtos.DynamicColumnMetaData parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData 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.DynamicColumnMetaDataProtos.DynamicColumnMetaData parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData 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.DynamicColumnMetaDataProtos.DynamicColumnMetaData 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 DynamicColumnMetaData}
-     */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessage.Builder<Builder>
-       implements org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaDataOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.internal_static_DynamicColumnMetaData_descriptor;
-      }
-
-      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-          internalGetFieldAccessorTable() {
-        return org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.internal_static_DynamicColumnMetaData_fieldAccessorTable
-            .ensureFieldAccessorsInitialized(
-                org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData.class, org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData.Builder.class);
-      }
-
-      // Construct using org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData.newBuilder()
-      private Builder() {
-        maybeForceBuilderInitialization();
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-        super(parent);
-        maybeForceBuilderInitialization();
-      }
-      private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
-          getDynamicColumnsFieldBuilder();
-        }
-      }
-      private static Builder create() {
-        return new Builder();
-      }
-
-      public Builder clear() {
-        super.clear();
-        if (dynamicColumnsBuilder_ == null) {
-          dynamicColumns_ = java.util.Collections.emptyList();
-          bitField0_ = (bitField0_ & ~0x00000001);
-        } else {
-          dynamicColumnsBuilder_.clear();
-        }
-        return this;
-      }
-
-      public Builder clone() {
-        return create().mergeFrom(buildPartial());
-      }
-
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.internal_static_DynamicColumnMetaData_descriptor;
-      }
-
-      public org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData getDefaultInstanceForType() {
-        return org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData.getDefaultInstance();
-      }
-
-      public org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData build() {
-        org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData result = buildPartial();
-        if (!result.isInitialized()) {
-          throw newUninitializedMessageException(result);
-        }
-        return result;
-      }
-
-      public org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData buildPartial() {
-        org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData result = new org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData(this);
-        int from_bitField0_ = bitField0_;
-        if (dynamicColumnsBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) == 0x00000001)) {
-            dynamicColumns_ = java.util.Collections.unmodifiableList(dynamicColumns_);
-            bitField0_ = (bitField0_ & ~0x00000001);
-          }
-          result.dynamicColumns_ = dynamicColumns_;
-        } else {
-          result.dynamicColumns_ = dynamicColumnsBuilder_.build();
-        }
-        onBuilt();
-        return result;
-      }
-
-      public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData) {
-          return mergeFrom((org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData)other);
-        } else {
-          super.mergeFrom(other);
-          return this;
-        }
-      }
-
-      public Builder mergeFrom(org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData other) {
-        if (other == org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData.getDefaultInstance()) return this;
-        if (dynamicColumnsBuilder_ == null) {
-          if (!other.dynamicColumns_.isEmpty()) {
-            if (dynamicColumns_.isEmpty()) {
-              dynamicColumns_ = other.dynamicColumns_;
-              bitField0_ = (bitField0_ & ~0x00000001);
-            } else {
-              ensureDynamicColumnsIsMutable();
-              dynamicColumns_.addAll(other.dynamicColumns_);
-            }
-            onChanged();
-          }
-        } else {
-          if (!other.dynamicColumns_.isEmpty()) {
-            if (dynamicColumnsBuilder_.isEmpty()) {
-              dynamicColumnsBuilder_.dispose();
-              dynamicColumnsBuilder_ = null;
-              dynamicColumns_ = other.dynamicColumns_;
-              bitField0_ = (bitField0_ & ~0x00000001);
-              dynamicColumnsBuilder_ = 
-                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
-                   getDynamicColumnsFieldBuilder() : null;
-            } else {
-              dynamicColumnsBuilder_.addAllMessages(other.dynamicColumns_);
-            }
-          }
-        }
-        this.mergeUnknownFields(other.getUnknownFields());
-        return this;
-      }
-
-      public final boolean isInitialized() {
-        for (int i = 0; i < getDynamicColumnsCount(); i++) {
-          if (!getDynamicColumns(i).isInitialized()) {
-            
-            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.DynamicColumnMetaDataProtos.DynamicColumnMetaData parsedMessage = null;
-        try {
-          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (org.apache.phoenix.coprocessor.generated.DynamicColumnMetaDataProtos.DynamicColumnMetaData) e.getUnfinishedMessage();
-          throw e;
-        } finally {
-          if (parsedMessage != null) {
-            mergeFrom(parsedMessage);
-          }
-        }
-        return this;
-      }
-      private int bitField0_;
-
-      // repeated .PColumn dynamicColumns = 1;
-      private java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn> dynamicColumns_ =
-        java.util.Collections.emptyList();
-      private void ensureDynamicColumnsIsMutable() {
-        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
-          dynamicColumns_ = new java.util.ArrayList<org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn>(dynamicColumns_);
-          bitField0_ |= 0x00000001;
-         }
-      }
-
-      private com.google.protobuf.RepeatedFieldBuilder<
-          org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumnOrBuilder> dynamicColumnsBuilder_;
-
-      /**
-       * <code>repeated .PColumn dynamicColumns = 1;</code>
-       */
-      public java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn> getDynamicColumnsList() {
-        if (dynamicColumnsBuilder_ == null) {
-          return java.util.Collections.unmodifiableList(dynamicColumns_);
-        } else {
-          return dynamicColumnsBuilder_.getMessageList();
-        }
-      }
-      /**
-       * <code>repeated .PColumn dynamicColumns = 1;</code>
-       */
-      public int getDynamicColumnsCount() {
-        if (dynamicColumnsBuilder_ == null) {
-          return dynamicColumns_.size();
-        } else {
-          return dynamicColumnsBuilder_.getCount();
-        }
-      }
-      /**
-       * <code>repeated .PColumn dynamicColumns = 1;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn getDynamicColumns(int index) {
-        if (dynamicColumnsBuilder_ == null) {
-          return dynamicColumns_.get(index);
-        } else {
-          return dynamicColumnsBuilder_.getMessage(index);
-        }
-      }
-      /**
-       * <code>repeated .PColumn dynamicColumns = 1;</code>
-       */
-      public Builder setDynamicColumns(
-          int index, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn value) {
-        if (dynamicColumnsBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureDynamicColumnsIsMutable();
-          dynamicColumns_.set(index, value);
-          onChanged();
-        } else {
-          dynamicColumnsBuilder_.setMessage(index, value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PColumn dynamicColumns = 1;</code>
-       */
-      public Builder setDynamicColumns(
-          int index, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder builderForValue) {
-        if (dynamicColumnsBuilder_ == null) {
-          ensureDynamicColumnsIsMutable();
-          dynamicColumns_.set(index, builderForValue.build());
-          onChanged();
-        } else {
-          dynamicColumnsBuilder_.setMessage(index, builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PColumn dynamicColumns = 1;</code>
-       */
-      public Builder addDynamicColumns(org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn value) {
-        if (dynamicColumnsBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureDynamicColumnsIsMutable();
-          dynamicColumns_.add(value);
-          onChanged();
-        } else {
-          dynamicColumnsBuilder_.addMessage(value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PColumn dynamicColumns = 1;</code>
-       */
-      public Builder addDynamicColumns(
-          int index, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn value) {
-        if (dynamicColumnsBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureDynamicColumnsIsMutable();
-          dynamicColumns_.add(index, value);
-          onChanged();
-        } else {
-          dynamicColumnsBuilder_.addMessage(index, value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PColumn dynamicColumns = 1;</code>
-       */
-      public Builder addDynamicColumns(
-          org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder builderForValue) {
-        if (dynamicColumnsBuilder_ == null) {
-          ensureDynamicColumnsIsMutable();
-          dynamicColumns_.add(builderForValue.build());
-          onChanged();
-        } else {
-          dynamicColumnsBuilder_.addMessage(builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PColumn dynamicColumns = 1;</code>
-       */
-      public Builder addDynamicColumns(
-          int index, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder builderForValue) {
-        if (dynamicColumnsBuilder_ == null) {
-          ensureDynamicColumnsIsMutable();
-          dynamicColumns_.add(index, builderForValue.build());
-          onChanged();
-        } else {
-          dynamicColumnsBuilder_.addMessage(index, builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PColumn dynamicColumns = 1;</code>
-       */
-      public Builder addAllDynamicColumns(
-          java.lang.Iterable<? extends org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn> values) {
-        if (dynamicColumnsBuilder_ == null) {
-          ensureDynamicColumnsIsMutable();
-          super.addAll(values, dynamicColumns_);
-          onChanged();
-        } else {
-          dynamicColumnsBuilder_.addAllMessages(values);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PColumn dynamicColumns = 1;</code>
-       */
-      public Builder clearDynamicColumns() {
-        if (dynamicColumnsBuilder_ == null) {
-          dynamicColumns_ = java.util.Collections.emptyList();
-          bitField0_ = (bitField0_ & ~0x00000001);
-          onChanged();
-        } else {
-          dynamicColumnsBuilder_.clear();
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PColumn dynamicColumns = 1;</code>
-       */
-      public Builder removeDynamicColumns(int index) {
-        if (dynamicColumnsBuilder_ == null) {
-          ensureDynamicColumnsIsMutable();
-          dynamicColumns_.remove(index);
-          onChanged();
-        } else {
-          dynamicColumnsBuilder_.remove(index);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PColumn dynamicColumns = 1;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder getDynamicColumnsBuilder(
-          int index) {
-        return getDynamicColumnsFieldBuilder().getBuilder(index);
-      }
-      /**
-       * <code>repeated .PColumn dynamicColumns = 1;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PTableProtos.PColumnOrBuilder getDynamicColumnsOrBuilder(
-          int index) {
-        if (dynamicColumnsBuilder_ == null) {
-          return dynamicColumns_.get(index);  } else {
-          return dynamicColumnsBuilder_.getMessageOrBuilder(index);
-        }
-      }
-      /**
-       * <code>repeated .PColumn dynamicColumns = 1;</code>
-       */
-      public java.util.List<? extends org.apache.phoenix.coprocessor.generated.PTableProtos.PColumnOrBuilder> 
-           getDynamicColumnsOrBuilderList() {
-        if (dynamicColumnsBuilder_ != null) {
-          return dynamicColumnsBuilder_.getMessageOrBuilderList();
-        } else {
-          return java.util.Collections.unmodifiableList(dynamicColumns_);
-        }
-      }
-      /**
-       * <code>repeated .PColumn dynamicColumns = 1;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder addDynamicColumnsBuilder() {
-        return getDynamicColumnsFieldBuilder().addBuilder(
-            org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.getDefaultInstance());
-      }
-      /**
-       * <code>repeated .PColumn dynamicColumns = 1;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder addDynamicColumnsBuilder(
-          int index) {
-        return getDynamicColumnsFieldBuilder().addBuilder(
-            index, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.getDefaultInstance());
-      }
-      /**
-       * <code>repeated .PColumn dynamicColumns = 1;</code>
-       */
-      public java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder> 
-           getDynamicColumnsBuilderList() {
-        return getDynamicColumnsFieldBuilder().getBuilderList();
-      }
-      private com.google.protobuf.RepeatedFieldBuilder<
-          org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumnOrBuilder> 
-          getDynamicColumnsFieldBuilder() {
-        if (dynamicColumnsBuilder_ == null) {
-          dynamicColumnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
-              org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumnOrBuilder>(
-                  dynamicColumns_,
-                  ((bitField0_ & 0x00000001) == 0x00000001),
-                  getParentForChildren(),
-                  isClean());
-          dynamicColumns_ = null;
-        }
-        return dynamicColumnsBuilder_;
-      }
-
-      // @@protoc_insertion_point(builder_scope:DynamicColumnMetaData)
-    }
-
-    static {
-      defaultInstance = new DynamicColumnMetaData(true);
-      defaultInstance.initFields();
-    }
-
-    // @@protoc_insertion_point(class_scope:DynamicColumnMetaData)
-  }
-
-  private static com.google.protobuf.Descriptors.Descriptor
-    internal_static_DynamicColumnMetaData_descriptor;
-  private static
-    com.google.protobuf.GeneratedMessage.FieldAccessorTable
-      internal_static_DynamicColumnMetaData_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\033DynamicColumnMetaData.proto\032\014PTable.pr" +
-      "oto\"9\n\025DynamicColumnMetaData\022 \n\016dynamicC" +
-      "olumns\030\001 \003(\0132\010.PColumnBO\n(org.apache.pho" +
-      "enix.coprocessor.generatedB\033DynamicColum" +
-      "nMetaDataProtosH\001\210\001\001\240\001\001"
-    };
-    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_DynamicColumnMetaData_descriptor =
-            getDescriptor().getMessageTypes().get(0);
-          internal_static_DynamicColumnMetaData_fieldAccessorTable = new
-            com.google.protobuf.GeneratedMessage.FieldAccessorTable(
-              internal_static_DynamicColumnMetaData_descriptor,
-              new java.lang.String[] { "DynamicColumns", });
-          return null;
-        }
-      };
-    com.google.protobuf.Descriptors.FileDescriptor
-      .internalBuildGeneratedFileFrom(descriptorData,
-        new com.google.protobuf.Descriptors.FileDescriptor[] {
-          org.apache.phoenix.coprocessor.generated.PTableProtos.getDescriptor(),
-        }, assigner);
-  }
-
-  // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/MetaDataProtos.java b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/MetaDataProtos.java
deleted file mode 100644
index 619a92e..0000000
--- a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/MetaDataProtos.java
+++ /dev/null
@@ -1,18333 +0,0 @@
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: MetaDataService.proto
-
-package org.apache.phoenix.coprocessor.generated;
-
-public final class MetaDataProtos {
-  private MetaDataProtos() {}
-  public static void registerAllExtensions(
-      com.google.protobuf.ExtensionRegistry registry) {
-  }
-  /**
-   * Protobuf enum {@code MutationCode}
-   */
-  public enum MutationCode
-      implements com.google.protobuf.ProtocolMessageEnum {
-    /**
-     * <code>TABLE_ALREADY_EXISTS = 0;</code>
-     */
-    TABLE_ALREADY_EXISTS(0, 0),
-    /**
-     * <code>TABLE_NOT_FOUND = 1;</code>
-     */
-    TABLE_NOT_FOUND(1, 1),
-    /**
-     * <code>COLUMN_NOT_FOUND = 2;</code>
-     */
-    COLUMN_NOT_FOUND(2, 2),
-    /**
-     * <code>COLUMN_ALREADY_EXISTS = 3;</code>
-     */
-    COLUMN_ALREADY_EXISTS(3, 3),
-    /**
-     * <code>CONCURRENT_TABLE_MUTATION = 4;</code>
-     */
-    CONCURRENT_TABLE_MUTATION(4, 4),
-    /**
-     * <code>TABLE_NOT_IN_REGION = 5;</code>
-     */
-    TABLE_NOT_IN_REGION(5, 5),
-    /**
-     * <code>NEWER_TABLE_FOUND = 6;</code>
-     */
-    NEWER_TABLE_FOUND(6, 6),
-    /**
-     * <code>UNALLOWED_TABLE_MUTATION = 7;</code>
-     */
-    UNALLOWED_TABLE_MUTATION(7, 7),
-    /**
-     * <code>NO_PK_COLUMNS = 8;</code>
-     */
-    NO_PK_COLUMNS(8, 8),
-    /**
-     * <code>PARENT_TABLE_NOT_FOUND = 9;</code>
-     */
-    PARENT_TABLE_NOT_FOUND(9, 9),
-    /**
-     * <code>FUNCTION_ALREADY_EXISTS = 10;</code>
-     */
-    FUNCTION_ALREADY_EXISTS(10, 10),
-    /**
-     * <code>FUNCTION_NOT_FOUND = 11;</code>
-     */
-    FUNCTION_NOT_FOUND(11, 11),
-    /**
-     * <code>NEWER_FUNCTION_FOUND = 12;</code>
-     */
-    NEWER_FUNCTION_FOUND(12, 12),
-    /**
-     * <code>FUNCTION_NOT_IN_REGION = 13;</code>
-     */
-    FUNCTION_NOT_IN_REGION(13, 13),
-    /**
-     * <code>SCHEMA_ALREADY_EXISTS = 14;</code>
-     */
-    SCHEMA_ALREADY_EXISTS(14, 14),
-    /**
-     * <code>NEWER_SCHEMA_FOUND = 15;</code>
-     */
-    NEWER_SCHEMA_FOUND(15, 15),
-    /**
-     * <code>SCHEMA_NOT_FOUND = 16;</code>
-     */
-    SCHEMA_NOT_FOUND(16, 16),
-    /**
-     * <code>SCHEMA_NOT_IN_REGION = 17;</code>
-     */
-    SCHEMA_NOT_IN_REGION(17, 17),
-    /**
-     * <code>TABLES_EXIST_ON_SCHEMA = 18;</code>
-     */
-    TABLES_EXIST_ON_SCHEMA(18, 18),
-    /**
-     * <code>UNALLOWED_SCHEMA_MUTATION = 19;</code>
-     */
-    UNALLOWED_SCHEMA_MUTATION(19, 19),
-    /**
-     * <code>AUTO_PARTITION_SEQUENCE_NOT_FOUND = 20;</code>
-     */
-    AUTO_PARTITION_SEQUENCE_NOT_FOUND(20, 20),
-    /**
-     * <code>CANNOT_COERCE_AUTO_PARTITION_ID = 21;</code>
-     */
-    CANNOT_COERCE_AUTO_PARTITION_ID(21, 21),
-    /**
-     * <code>TOO_MANY_INDEXES = 22;</code>
-     */
-    TOO_MANY_INDEXES(22, 22),
-    /**
-     * <code>UNABLE_TO_CREATE_CHILD_LINK = 23;</code>
-     */
-    UNABLE_TO_CREATE_CHILD_LINK(23, 23),
-    /**
-     * <code>UNABLE_TO_UPDATE_PARENT_TABLE = 24;</code>
-     */
-    UNABLE_TO_UPDATE_PARENT_TABLE(24, 24),
-    /**
-     * <code>UNABLE_TO_DELETE_CHILD_LINK = 25;</code>
-     */
-    UNABLE_TO_DELETE_CHILD_LINK(25, 25),
-    /**
-     * <code>UNABLE_TO_UPSERT_TASK = 26;</code>
-     */
-    UNABLE_TO_UPSERT_TASK(26, 26),
-    ;
-
-    /**
-     * <code>TABLE_ALREADY_EXISTS = 0;</code>
-     */
-    public static final int TABLE_ALREADY_EXISTS_VALUE = 0;
-    /**
-     * <code>TABLE_NOT_FOUND = 1;</code>
-     */
-    public static final int TABLE_NOT_FOUND_VALUE = 1;
-    /**
-     * <code>COLUMN_NOT_FOUND = 2;</code>
-     */
-    public static final int COLUMN_NOT_FOUND_VALUE = 2;
-    /**
-     * <code>COLUMN_ALREADY_EXISTS = 3;</code>
-     */
-    public static final int COLUMN_ALREADY_EXISTS_VALUE = 3;
-    /**
-     * <code>CONCURRENT_TABLE_MUTATION = 4;</code>
-     */
-    public static final int CONCURRENT_TABLE_MUTATION_VALUE = 4;
-    /**
-     * <code>TABLE_NOT_IN_REGION = 5;</code>
-     */
-    public static final int TABLE_NOT_IN_REGION_VALUE = 5;
-    /**
-     * <code>NEWER_TABLE_FOUND = 6;</code>
-     */
-    public static final int NEWER_TABLE_FOUND_VALUE = 6;
-    /**
-     * <code>UNALLOWED_TABLE_MUTATION = 7;</code>
-     */
-    public static final int UNALLOWED_TABLE_MUTATION_VALUE = 7;
-    /**
-     * <code>NO_PK_COLUMNS = 8;</code>
-     */
-    public static final int NO_PK_COLUMNS_VALUE = 8;
-    /**
-     * <code>PARENT_TABLE_NOT_FOUND = 9;</code>
-     */
-    public static final int PARENT_TABLE_NOT_FOUND_VALUE = 9;
-    /**
-     * <code>FUNCTION_ALREADY_EXISTS = 10;</code>
-     */
-    public static final int FUNCTION_ALREADY_EXISTS_VALUE = 10;
-    /**
-     * <code>FUNCTION_NOT_FOUND = 11;</code>
-     */
-    public static final int FUNCTION_NOT_FOUND_VALUE = 11;
-    /**
-     * <code>NEWER_FUNCTION_FOUND = 12;</code>
-     */
-    public static final int NEWER_FUNCTION_FOUND_VALUE = 12;
-    /**
-     * <code>FUNCTION_NOT_IN_REGION = 13;</code>
-     */
-    public static final int FUNCTION_NOT_IN_REGION_VALUE = 13;
-    /**
-     * <code>SCHEMA_ALREADY_EXISTS = 14;</code>
-     */
-    public static final int SCHEMA_ALREADY_EXISTS_VALUE = 14;
-    /**
-     * <code>NEWER_SCHEMA_FOUND = 15;</code>
-     */
-    public static final int NEWER_SCHEMA_FOUND_VALUE = 15;
-    /**
-     * <code>SCHEMA_NOT_FOUND = 16;</code>
-     */
-    public static final int SCHEMA_NOT_FOUND_VALUE = 16;
-    /**
-     * <code>SCHEMA_NOT_IN_REGION = 17;</code>
-     */
-    public static final int SCHEMA_NOT_IN_REGION_VALUE = 17;
-    /**
-     * <code>TABLES_EXIST_ON_SCHEMA = 18;</code>
-     */
-    public static final int TABLES_EXIST_ON_SCHEMA_VALUE = 18;
-    /**
-     * <code>UNALLOWED_SCHEMA_MUTATION = 19;</code>
-     */
-    public static final int UNALLOWED_SCHEMA_MUTATION_VALUE = 19;
-    /**
-     * <code>AUTO_PARTITION_SEQUENCE_NOT_FOUND = 20;</code>
-     */
-    public static final int AUTO_PARTITION_SEQUENCE_NOT_FOUND_VALUE = 20;
-    /**
-     * <code>CANNOT_COERCE_AUTO_PARTITION_ID = 21;</code>
-     */
-    public static final int CANNOT_COERCE_AUTO_PARTITION_ID_VALUE = 21;
-    /**
-     * <code>TOO_MANY_INDEXES = 22;</code>
-     */
-    public static final int TOO_MANY_INDEXES_VALUE = 22;
-    /**
-     * <code>UNABLE_TO_CREATE_CHILD_LINK = 23;</code>
-     */
-    public static final int UNABLE_TO_CREATE_CHILD_LINK_VALUE = 23;
-    /**
-     * <code>UNABLE_TO_UPDATE_PARENT_TABLE = 24;</code>
-     */
-    public static final int UNABLE_TO_UPDATE_PARENT_TABLE_VALUE = 24;
-    /**
-     * <code>UNABLE_TO_DELETE_CHILD_LINK = 25;</code>
-     */
-    public static final int UNABLE_TO_DELETE_CHILD_LINK_VALUE = 25;
-    /**
-     * <code>UNABLE_TO_UPSERT_TASK = 26;</code>
-     */
-    public static final int UNABLE_TO_UPSERT_TASK_VALUE = 26;
-
-
-    public final int getNumber() { return value; }
-
-    public static MutationCode valueOf(int value) {
-      switch (value) {
-        case 0: return TABLE_ALREADY_EXISTS;
-        case 1: return TABLE_NOT_FOUND;
-        case 2: return COLUMN_NOT_FOUND;
-        case 3: return COLUMN_ALREADY_EXISTS;
-        case 4: return CONCURRENT_TABLE_MUTATION;
-        case 5: return TABLE_NOT_IN_REGION;
-        case 6: return NEWER_TABLE_FOUND;
-        case 7: return UNALLOWED_TABLE_MUTATION;
-        case 8: return NO_PK_COLUMNS;
-        case 9: return PARENT_TABLE_NOT_FOUND;
-        case 10: return FUNCTION_ALREADY_EXISTS;
-        case 11: return FUNCTION_NOT_FOUND;
-        case 12: return NEWER_FUNCTION_FOUND;
-        case 13: return FUNCTION_NOT_IN_REGION;
-        case 14: return SCHEMA_ALREADY_EXISTS;
-        case 15: return NEWER_SCHEMA_FOUND;
-        case 16: return SCHEMA_NOT_FOUND;
-        case 17: return SCHEMA_NOT_IN_REGION;
-        case 18: return TABLES_EXIST_ON_SCHEMA;
-        case 19: return UNALLOWED_SCHEMA_MUTATION;
-        case 20: return AUTO_PARTITION_SEQUENCE_NOT_FOUND;
-        case 21: return CANNOT_COERCE_AUTO_PARTITION_ID;
-        case 22: return TOO_MANY_INDEXES;
-        case 23: return UNABLE_TO_CREATE_CHILD_LINK;
-        case 24: return UNABLE_TO_UPDATE_PARENT_TABLE;
-        case 25: return UNABLE_TO_DELETE_CHILD_LINK;
-        case 26: return UNABLE_TO_UPSERT_TASK;
-        default: return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap<MutationCode>
-        internalGetValueMap() {
-      return internalValueMap;
-    }
-    private static com.google.protobuf.Internal.EnumLiteMap<MutationCode>
-        internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap<MutationCode>() {
-            public MutationCode findValueByNumber(int number) {
-              return MutationCode.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.MetaDataProtos.getDescriptor().getEnumTypes().get(0);
-    }
-
-    private static final MutationCode[] VALUES = values();
-
-    public static MutationCode 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 MutationCode(int index, int value) {
-      this.index = index;
-      this.value = value;
-    }
-
-    // @@protoc_insertion_point(enum_scope:MutationCode)
-  }
-
-  public interface SharedTableStateOrBuilder
-      extends com.google.protobuf.MessageOrBuilder {
-
-    // optional bytes tenantId = 1;
-    /**
-     * <code>optional bytes tenantId = 1;</code>
-     */
-    boolean hasTenantId();
-    /**
-     * <code>optional bytes tenantId = 1;</code>
-     */
-    com.google.protobuf.ByteString getTenantId();
-
-    // required bytes schemaName = 2;
-    /**
-     * <code>required bytes schemaName = 2;</code>
-     */
-    boolean hasSchemaName();
-    /**
-     * <code>required bytes schemaName = 2;</code>
-     */
-    com.google.protobuf.ByteString getSchemaName();
-
-    // required bytes tableName = 3;
-    /**
-     * <code>required bytes tableName = 3;</code>
-     */
-    boolean hasTableName();
-    /**
-     * <code>required bytes tableName = 3;</code>
-     */
-    com.google.protobuf.ByteString getTableName();
-
-    // repeated .PColumn columns = 4;
-    /**
-     * <code>repeated .PColumn columns = 4;</code>
-     */
-    java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn> 
-        getColumnsList();
-    /**
-     * <code>repeated .PColumn columns = 4;</code>
-     */
-    org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn getColumns(int index);
-    /**
-     * <code>repeated .PColumn columns = 4;</code>
-     */
-    int getColumnsCount();
-    /**
-     * <code>repeated .PColumn columns = 4;</code>
-     */
-    java.util.List<? extends org.apache.phoenix.coprocessor.generated.PTableProtos.PColumnOrBuilder> 
-        getColumnsOrBuilderList();
-    /**
-     * <code>repeated .PColumn columns = 4;</code>
-     */
-    org.apache.phoenix.coprocessor.generated.PTableProtos.PColumnOrBuilder getColumnsOrBuilder(
-        int index);
-
-    // repeated bytes physicalNames = 5;
-    /**
-     * <code>repeated bytes physicalNames = 5;</code>
-     */
-    java.util.List<com.google.protobuf.ByteString> getPhysicalNamesList();
-    /**
-     * <code>repeated bytes physicalNames = 5;</code>
-     */
-    int getPhysicalNamesCount();
-    /**
-     * <code>repeated bytes physicalNames = 5;</code>
-     */
-    com.google.protobuf.ByteString getPhysicalNames(int index);
-
-    // required int64 viewIndexId = 6;
-    /**
-     * <code>required int64 viewIndexId = 6;</code>
-     */
-    boolean hasViewIndexId();
-    /**
-     * <code>required int64 viewIndexId = 6;</code>
-     */
-    long getViewIndexId();
-
-    // optional int32 viewIndexIdType = 7 [default = 5];
-    /**
-     * <code>optional int32 viewIndexIdType = 7 [default = 5];</code>
-     */
-    boolean hasViewIndexIdType();
-    /**
-     * <code>optional int32 viewIndexIdType = 7 [default = 5];</code>
-     */
-    int getViewIndexIdType();
-  }
-  /**
-   * Protobuf type {@code SharedTableState}
-   */
-  public static final class SharedTableState extends
-      com.google.protobuf.GeneratedMessage
-      implements SharedTableStateOrBuilder {
-    // Use SharedTableState.newBuilder() to construct.
-    private SharedTableState(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
-      super(builder);
-      this.unknownFields = builder.getUnknownFields();
-    }
-    private SharedTableState(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-    private static final SharedTableState defaultInstance;
-    public static SharedTableState getDefaultInstance() {
-      return defaultInstance;
-    }
-
-    public SharedTableState getDefaultInstanceForType() {
-      return defaultInstance;
-    }
-
-    private final com.google.protobuf.UnknownFieldSet unknownFields;
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
-      return this.unknownFields;
-    }
-    private SharedTableState(
-        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;
-              tenantId_ = input.readBytes();
-              break;
-            }
-            case 18: {
-              bitField0_ |= 0x00000002;
-              schemaName_ = input.readBytes();
-              break;
-            }
-            case 26: {
-              bitField0_ |= 0x00000004;
-              tableName_ = input.readBytes();
-              break;
-            }
-            case 34: {
-              if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
-                columns_ = new java.util.ArrayList<org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn>();
-                mutable_bitField0_ |= 0x00000008;
-              }
-              columns_.add(input.readMessage(org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.PARSER, extensionRegistry));
-              break;
-            }
-            case 42: {
-              if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
-                physicalNames_ = new java.util.ArrayList<com.google.protobuf.ByteString>();
-                mutable_bitField0_ |= 0x00000010;
-              }
-              physicalNames_.add(input.readBytes());
-              break;
-            }
-            case 48: {
-              bitField0_ |= 0x00000008;
-              viewIndexId_ = input.readInt64();
-              break;
-            }
-            case 56: {
-              bitField0_ |= 0x00000010;
-              viewIndexIdType_ = 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 {
-        if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
-          columns_ = java.util.Collections.unmodifiableList(columns_);
-        }
-        if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
-          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.MetaDataProtos.internal_static_SharedTableState_descriptor;
-    }
-
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-        internalGetFieldAccessorTable() {
-      return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_SharedTableState_fieldAccessorTable
-          .ensureFieldAccessorsInitialized(
-              org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState.class, org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState.Builder.class);
-    }
-
-    public static com.google.protobuf.Parser<SharedTableState> PARSER =
-        new com.google.protobuf.AbstractParser<SharedTableState>() {
-      public SharedTableState parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new SharedTableState(input, extensionRegistry);
-      }
-    };
-
-    @java.lang.Override
-    public com.google.protobuf.Parser<SharedTableState> getParserForType() {
-      return PARSER;
-    }
-
-    private int bitField0_;
-    // optional bytes tenantId = 1;
-    public static final int TENANTID_FIELD_NUMBER = 1;
-    private com.google.protobuf.ByteString tenantId_;
-    /**
-     * <code>optional bytes tenantId = 1;</code>
-     */
-    public boolean hasTenantId() {
-      return ((bitField0_ & 0x00000001) == 0x00000001);
-    }
-    /**
-     * <code>optional bytes tenantId = 1;</code>
-     */
-    public com.google.protobuf.ByteString getTenantId() {
-      return tenantId_;
-    }
-
-    // required bytes schemaName = 2;
-    public static final int SCHEMANAME_FIELD_NUMBER = 2;
-    private com.google.protobuf.ByteString schemaName_;
-    /**
-     * <code>required bytes schemaName = 2;</code>
-     */
-    public boolean hasSchemaName() {
-      return ((bitField0_ & 0x00000002) == 0x00000002);
-    }
-    /**
-     * <code>required bytes schemaName = 2;</code>
-     */
-    public com.google.protobuf.ByteString getSchemaName() {
-      return schemaName_;
-    }
-
-    // required bytes tableName = 3;
-    public static final int TABLENAME_FIELD_NUMBER = 3;
-    private com.google.protobuf.ByteString tableName_;
-    /**
-     * <code>required bytes tableName = 3;</code>
-     */
-    public boolean hasTableName() {
-      return ((bitField0_ & 0x00000004) == 0x00000004);
-    }
-    /**
-     * <code>required bytes tableName = 3;</code>
-     */
-    public com.google.protobuf.ByteString getTableName() {
-      return tableName_;
-    }
-
-    // repeated .PColumn columns = 4;
-    public static final int COLUMNS_FIELD_NUMBER = 4;
-    private java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn> columns_;
-    /**
-     * <code>repeated .PColumn columns = 4;</code>
-     */
-    public java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn> getColumnsList() {
-      return columns_;
-    }
-    /**
-     * <code>repeated .PColumn columns = 4;</code>
-     */
-    public java.util.List<? extends org.apache.phoenix.coprocessor.generated.PTableProtos.PColumnOrBuilder> 
-        getColumnsOrBuilderList() {
-      return columns_;
-    }
-    /**
-     * <code>repeated .PColumn columns = 4;</code>
-     */
-    public int getColumnsCount() {
-      return columns_.size();
-    }
-    /**
-     * <code>repeated .PColumn columns = 4;</code>
-     */
-    public org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn getColumns(int index) {
-      return columns_.get(index);
-    }
-    /**
-     * <code>repeated .PColumn columns = 4;</code>
-     */
-    public org.apache.phoenix.coprocessor.generated.PTableProtos.PColumnOrBuilder getColumnsOrBuilder(
-        int index) {
-      return columns_.get(index);
-    }
-
-    // repeated bytes physicalNames = 5;
-    public static final int PHYSICALNAMES_FIELD_NUMBER = 5;
-    private java.util.List<com.google.protobuf.ByteString> physicalNames_;
-    /**
-     * <code>repeated bytes physicalNames = 5;</code>
-     */
-    public java.util.List<com.google.protobuf.ByteString>
-        getPhysicalNamesList() {
-      return physicalNames_;
-    }
-    /**
-     * <code>repeated bytes physicalNames = 5;</code>
-     */
-    public int getPhysicalNamesCount() {
-      return physicalNames_.size();
-    }
-    /**
-     * <code>repeated bytes physicalNames = 5;</code>
-     */
-    public com.google.protobuf.ByteString getPhysicalNames(int index) {
-      return physicalNames_.get(index);
-    }
-
-    // required int64 viewIndexId = 6;
-    public static final int VIEWINDEXID_FIELD_NUMBER = 6;
-    private long viewIndexId_;
-    /**
-     * <code>required int64 viewIndexId = 6;</code>
-     */
-    public boolean hasViewIndexId() {
-      return ((bitField0_ & 0x00000008) == 0x00000008);
-    }
-    /**
-     * <code>required int64 viewIndexId = 6;</code>
-     */
-    public long getViewIndexId() {
-      return viewIndexId_;
-    }
-
-    // optional int32 viewIndexIdType = 7 [default = 5];
-    public static final int VIEWINDEXIDTYPE_FIELD_NUMBER = 7;
-    private int viewIndexIdType_;
-    /**
-     * <code>optional int32 viewIndexIdType = 7 [default = 5];</code>
-     */
-    public boolean hasViewIndexIdType() {
-      return ((bitField0_ & 0x00000010) == 0x00000010);
-    }
-    /**
-     * <code>optional int32 viewIndexIdType = 7 [default = 5];</code>
-     */
-    public int getViewIndexIdType() {
-      return viewIndexIdType_;
-    }
-
-    private void initFields() {
-      tenantId_ = com.google.protobuf.ByteString.EMPTY;
-      schemaName_ = com.google.protobuf.ByteString.EMPTY;
-      tableName_ = com.google.protobuf.ByteString.EMPTY;
-      columns_ = java.util.Collections.emptyList();
-      physicalNames_ = java.util.Collections.emptyList();
-      viewIndexId_ = 0L;
-      viewIndexIdType_ = 5;
-    }
-    private byte memoizedIsInitialized = -1;
-    public final boolean isInitialized() {
-      byte isInitialized = memoizedIsInitialized;
-      if (isInitialized != -1) return isInitialized == 1;
-
-      if (!hasSchemaName()) {
-        memoizedIsInitialized = 0;
-        return false;
-      }
-      if (!hasTableName()) {
-        memoizedIsInitialized = 0;
-        return false;
-      }
-      if (!hasViewIndexId()) {
-        memoizedIsInitialized = 0;
-        return false;
-      }
-      for (int i = 0; i < getColumnsCount(); i++) {
-        if (!getColumns(i).isInitialized()) {
-          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, tenantId_);
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        output.writeBytes(2, schemaName_);
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        output.writeBytes(3, tableName_);
-      }
-      for (int i = 0; i < columns_.size(); i++) {
-        output.writeMessage(4, columns_.get(i));
-      }
-      for (int i = 0; i < physicalNames_.size(); i++) {
-        output.writeBytes(5, physicalNames_.get(i));
-      }
-      if (((bitField0_ & 0x00000008) == 0x00000008)) {
-        output.writeInt64(6, viewIndexId_);
-      }
-      if (((bitField0_ & 0x00000010) == 0x00000010)) {
-        output.writeInt32(7, viewIndexIdType_);
-      }
-      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, tenantId_);
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(2, schemaName_);
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(3, tableName_);
-      }
-      for (int i = 0; i < columns_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, columns_.get(i));
-      }
-      {
-        int dataSize = 0;
-        for (int i = 0; i < physicalNames_.size(); i++) {
-          dataSize += com.google.protobuf.CodedOutputStream
-            .computeBytesSizeNoTag(physicalNames_.get(i));
-        }
-        size += dataSize;
-        size += 1 * getPhysicalNamesList().size();
-      }
-      if (((bitField0_ & 0x00000008) == 0x00000008)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt64Size(6, viewIndexId_);
-      }
-      if (((bitField0_ & 0x00000010) == 0x00000010)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt32Size(7, viewIndexIdType_);
-      }
-      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.MetaDataProtos.SharedTableState)) {
-        return super.equals(obj);
-      }
-      org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState other = (org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState) obj;
-
-      boolean result = true;
-      result = result && (hasTenantId() == other.hasTenantId());
-      if (hasTenantId()) {
-        result = result && getTenantId()
-            .equals(other.getTenantId());
-      }
-      result = result && (hasSchemaName() == other.hasSchemaName());
-      if (hasSchemaName()) {
-        result = result && getSchemaName()
-            .equals(other.getSchemaName());
-      }
-      result = result && (hasTableName() == other.hasTableName());
-      if (hasTableName()) {
-        result = result && getTableName()
-            .equals(other.getTableName());
-      }
-      result = result && getColumnsList()
-          .equals(other.getColumnsList());
-      result = result && getPhysicalNamesList()
-          .equals(other.getPhysicalNamesList());
-      result = result && (hasViewIndexId() == other.hasViewIndexId());
-      if (hasViewIndexId()) {
-        result = result && (getViewIndexId()
-            == other.getViewIndexId());
-      }
-      result = result && (hasViewIndexIdType() == other.hasViewIndexIdType());
-      if (hasViewIndexIdType()) {
-        result = result && (getViewIndexIdType()
-            == other.getViewIndexIdType());
-      }
-      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 (hasTenantId()) {
-        hash = (37 * hash) + TENANTID_FIELD_NUMBER;
-        hash = (53 * hash) + getTenantId().hashCode();
-      }
-      if (hasSchemaName()) {
-        hash = (37 * hash) + SCHEMANAME_FIELD_NUMBER;
-        hash = (53 * hash) + getSchemaName().hashCode();
-      }
-      if (hasTableName()) {
-        hash = (37 * hash) + TABLENAME_FIELD_NUMBER;
-        hash = (53 * hash) + getTableName().hashCode();
-      }
-      if (getColumnsCount() > 0) {
-        hash = (37 * hash) + COLUMNS_FIELD_NUMBER;
-        hash = (53 * hash) + getColumnsList().hashCode();
-      }
-      if (getPhysicalNamesCount() > 0) {
-        hash = (37 * hash) + PHYSICALNAMES_FIELD_NUMBER;
-        hash = (53 * hash) + getPhysicalNamesList().hashCode();
-      }
-      if (hasViewIndexId()) {
-        hash = (37 * hash) + VIEWINDEXID_FIELD_NUMBER;
-        hash = (53 * hash) + hashLong(getViewIndexId());
-      }
-      if (hasViewIndexIdType()) {
-        hash = (37 * hash) + VIEWINDEXIDTYPE_FIELD_NUMBER;
-        hash = (53 * hash) + getViewIndexIdType();
-      }
-      hash = (29 * hash) + getUnknownFields().hashCode();
-      memoizedHashCode = hash;
-      return hash;
-    }
-
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState 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.MetaDataProtos.SharedTableState parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState 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.MetaDataProtos.SharedTableState parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState 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.MetaDataProtos.SharedTableState parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState 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.MetaDataProtos.SharedTableState parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState 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.MetaDataProtos.SharedTableState 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 SharedTableState}
-     */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessage.Builder<Builder>
-       implements org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableStateOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_SharedTableState_descriptor;
-      }
-
-      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-          internalGetFieldAccessorTable() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_SharedTableState_fieldAccessorTable
-            .ensureFieldAccessorsInitialized(
-                org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState.class, org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState.Builder.class);
-      }
-
-      // Construct using org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState.newBuilder()
-      private Builder() {
-        maybeForceBuilderInitialization();
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-        super(parent);
-        maybeForceBuilderInitialization();
-      }
-      private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
-          getColumnsFieldBuilder();
-        }
-      }
-      private static Builder create() {
-        return new Builder();
-      }
-
-      public Builder clear() {
-        super.clear();
-        tenantId_ = com.google.protobuf.ByteString.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000001);
-        schemaName_ = com.google.protobuf.ByteString.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000002);
-        tableName_ = com.google.protobuf.ByteString.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000004);
-        if (columnsBuilder_ == null) {
-          columns_ = java.util.Collections.emptyList();
-          bitField0_ = (bitField0_ & ~0x00000008);
-        } else {
-          columnsBuilder_.clear();
-        }
-        physicalNames_ = java.util.Collections.emptyList();
-        bitField0_ = (bitField0_ & ~0x00000010);
-        viewIndexId_ = 0L;
-        bitField0_ = (bitField0_ & ~0x00000020);
-        viewIndexIdType_ = 5;
-        bitField0_ = (bitField0_ & ~0x00000040);
-        return this;
-      }
-
-      public Builder clone() {
-        return create().mergeFrom(buildPartial());
-      }
-
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_SharedTableState_descriptor;
-      }
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState getDefaultInstanceForType() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState.getDefaultInstance();
-      }
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState build() {
-        org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState result = buildPartial();
-        if (!result.isInitialized()) {
-          throw newUninitializedMessageException(result);
-        }
-        return result;
-      }
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState buildPartial() {
-        org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState result = new org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState(this);
-        int from_bitField0_ = bitField0_;
-        int to_bitField0_ = 0;
-        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
-          to_bitField0_ |= 0x00000001;
-        }
-        result.tenantId_ = tenantId_;
-        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
-          to_bitField0_ |= 0x00000002;
-        }
-        result.schemaName_ = schemaName_;
-        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
-          to_bitField0_ |= 0x00000004;
-        }
-        result.tableName_ = tableName_;
-        if (columnsBuilder_ == null) {
-          if (((bitField0_ & 0x00000008) == 0x00000008)) {
-            columns_ = java.util.Collections.unmodifiableList(columns_);
-            bitField0_ = (bitField0_ & ~0x00000008);
-          }
-          result.columns_ = columns_;
-        } else {
-          result.columns_ = columnsBuilder_.build();
-        }
-        if (((bitField0_ & 0x00000010) == 0x00000010)) {
-          physicalNames_ = java.util.Collections.unmodifiableList(physicalNames_);
-          bitField0_ = (bitField0_ & ~0x00000010);
-        }
-        result.physicalNames_ = physicalNames_;
-        if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
-          to_bitField0_ |= 0x00000008;
-        }
-        result.viewIndexId_ = viewIndexId_;
-        if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
-          to_bitField0_ |= 0x00000010;
-        }
-        result.viewIndexIdType_ = viewIndexIdType_;
-        result.bitField0_ = to_bitField0_;
-        onBuilt();
-        return result;
-      }
-
-      public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState) {
-          return mergeFrom((org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState)other);
-        } else {
-          super.mergeFrom(other);
-          return this;
-        }
-      }
-
-      public Builder mergeFrom(org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState other) {
-        if (other == org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState.getDefaultInstance()) return this;
-        if (other.hasTenantId()) {
-          setTenantId(other.getTenantId());
-        }
-        if (other.hasSchemaName()) {
-          setSchemaName(other.getSchemaName());
-        }
-        if (other.hasTableName()) {
-          setTableName(other.getTableName());
-        }
-        if (columnsBuilder_ == null) {
-          if (!other.columns_.isEmpty()) {
-            if (columns_.isEmpty()) {
-              columns_ = other.columns_;
-              bitField0_ = (bitField0_ & ~0x00000008);
-            } else {
-              ensureColumnsIsMutable();
-              columns_.addAll(other.columns_);
-            }
-            onChanged();
-          }
-        } else {
-          if (!other.columns_.isEmpty()) {
-            if (columnsBuilder_.isEmpty()) {
-              columnsBuilder_.dispose();
-              columnsBuilder_ = null;
-              columns_ = other.columns_;
-              bitField0_ = (bitField0_ & ~0x00000008);
-              columnsBuilder_ = 
-                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
-                   getColumnsFieldBuilder() : null;
-            } else {
-              columnsBuilder_.addAllMessages(other.columns_);
-            }
-          }
-        }
-        if (!other.physicalNames_.isEmpty()) {
-          if (physicalNames_.isEmpty()) {
-            physicalNames_ = other.physicalNames_;
-            bitField0_ = (bitField0_ & ~0x00000010);
-          } else {
-            ensurePhysicalNamesIsMutable();
-            physicalNames_.addAll(other.physicalNames_);
-          }
-          onChanged();
-        }
-        if (other.hasViewIndexId()) {
-          setViewIndexId(other.getViewIndexId());
-        }
-        if (other.hasViewIndexIdType()) {
-          setViewIndexIdType(other.getViewIndexIdType());
-        }
-        this.mergeUnknownFields(other.getUnknownFields());
-        return this;
-      }
-
-      public final boolean isInitialized() {
-        if (!hasSchemaName()) {
-          
-          return false;
-        }
-        if (!hasTableName()) {
-          
-          return false;
-        }
-        if (!hasViewIndexId()) {
-          
-          return false;
-        }
-        for (int i = 0; i < getColumnsCount(); i++) {
-          if (!getColumns(i).isInitialized()) {
-            
-            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.MetaDataProtos.SharedTableState parsedMessage = null;
-        try {
-          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState) e.getUnfinishedMessage();
-          throw e;
-        } finally {
-          if (parsedMessage != null) {
-            mergeFrom(parsedMessage);
-          }
-        }
-        return this;
-      }
-      private int bitField0_;
-
-      // optional bytes tenantId = 1;
-      private com.google.protobuf.ByteString tenantId_ = com.google.protobuf.ByteString.EMPTY;
-      /**
-       * <code>optional bytes tenantId = 1;</code>
-       */
-      public boolean hasTenantId() {
-        return ((bitField0_ & 0x00000001) == 0x00000001);
-      }
-      /**
-       * <code>optional bytes tenantId = 1;</code>
-       */
-      public com.google.protobuf.ByteString getTenantId() {
-        return tenantId_;
-      }
-      /**
-       * <code>optional bytes tenantId = 1;</code>
-       */
-      public Builder setTenantId(com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
-        tenantId_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional bytes tenantId = 1;</code>
-       */
-      public Builder clearTenantId() {
-        bitField0_ = (bitField0_ & ~0x00000001);
-        tenantId_ = getDefaultInstance().getTenantId();
-        onChanged();
-        return this;
-      }
-
-      // required bytes schemaName = 2;
-      private com.google.protobuf.ByteString schemaName_ = com.google.protobuf.ByteString.EMPTY;
-      /**
-       * <code>required bytes schemaName = 2;</code>
-       */
-      public boolean hasSchemaName() {
-        return ((bitField0_ & 0x00000002) == 0x00000002);
-      }
-      /**
-       * <code>required bytes schemaName = 2;</code>
-       */
-      public com.google.protobuf.ByteString getSchemaName() {
-        return schemaName_;
-      }
-      /**
-       * <code>required bytes schemaName = 2;</code>
-       */
-      public Builder setSchemaName(com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000002;
-        schemaName_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>required bytes schemaName = 2;</code>
-       */
-      public Builder clearSchemaName() {
-        bitField0_ = (bitField0_ & ~0x00000002);
-        schemaName_ = getDefaultInstance().getSchemaName();
-        onChanged();
-        return this;
-      }
-
-      // required bytes tableName = 3;
-      private com.google.protobuf.ByteString tableName_ = com.google.protobuf.ByteString.EMPTY;
-      /**
-       * <code>required bytes tableName = 3;</code>
-       */
-      public boolean hasTableName() {
-        return ((bitField0_ & 0x00000004) == 0x00000004);
-      }
-      /**
-       * <code>required bytes tableName = 3;</code>
-       */
-      public com.google.protobuf.ByteString getTableName() {
-        return tableName_;
-      }
-      /**
-       * <code>required bytes tableName = 3;</code>
-       */
-      public Builder setTableName(com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000004;
-        tableName_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>required bytes tableName = 3;</code>
-       */
-      public Builder clearTableName() {
-        bitField0_ = (bitField0_ & ~0x00000004);
-        tableName_ = getDefaultInstance().getTableName();
-        onChanged();
-        return this;
-      }
-
-      // repeated .PColumn columns = 4;
-      private java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn> columns_ =
-        java.util.Collections.emptyList();
-      private void ensureColumnsIsMutable() {
-        if (!((bitField0_ & 0x00000008) == 0x00000008)) {
-          columns_ = new java.util.ArrayList<org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn>(columns_);
-          bitField0_ |= 0x00000008;
-         }
-      }
-
-      private com.google.protobuf.RepeatedFieldBuilder<
-          org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumnOrBuilder> columnsBuilder_;
-
-      /**
-       * <code>repeated .PColumn columns = 4;</code>
-       */
-      public java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn> getColumnsList() {
-        if (columnsBuilder_ == null) {
-          return java.util.Collections.unmodifiableList(columns_);
-        } else {
-          return columnsBuilder_.getMessageList();
-        }
-      }
-      /**
-       * <code>repeated .PColumn columns = 4;</code>
-       */
-      public int getColumnsCount() {
-        if (columnsBuilder_ == null) {
-          return columns_.size();
-        } else {
-          return columnsBuilder_.getCount();
-        }
-      }
-      /**
-       * <code>repeated .PColumn columns = 4;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn getColumns(int index) {
-        if (columnsBuilder_ == null) {
-          return columns_.get(index);
-        } else {
-          return columnsBuilder_.getMessage(index);
-        }
-      }
-      /**
-       * <code>repeated .PColumn columns = 4;</code>
-       */
-      public Builder setColumns(
-          int index, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn value) {
-        if (columnsBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureColumnsIsMutable();
-          columns_.set(index, value);
-          onChanged();
-        } else {
-          columnsBuilder_.setMessage(index, value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PColumn columns = 4;</code>
-       */
-      public Builder setColumns(
-          int index, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder builderForValue) {
-        if (columnsBuilder_ == null) {
-          ensureColumnsIsMutable();
-          columns_.set(index, builderForValue.build());
-          onChanged();
-        } else {
-          columnsBuilder_.setMessage(index, builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PColumn columns = 4;</code>
-       */
-      public Builder addColumns(org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn value) {
-        if (columnsBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureColumnsIsMutable();
-          columns_.add(value);
-          onChanged();
-        } else {
-          columnsBuilder_.addMessage(value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PColumn columns = 4;</code>
-       */
-      public Builder addColumns(
-          int index, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn value) {
-        if (columnsBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureColumnsIsMutable();
-          columns_.add(index, value);
-          onChanged();
-        } else {
-          columnsBuilder_.addMessage(index, value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PColumn columns = 4;</code>
-       */
-      public Builder addColumns(
-          org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder builderForValue) {
-        if (columnsBuilder_ == null) {
-          ensureColumnsIsMutable();
-          columns_.add(builderForValue.build());
-          onChanged();
-        } else {
-          columnsBuilder_.addMessage(builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PColumn columns = 4;</code>
-       */
-      public Builder addColumns(
-          int index, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder builderForValue) {
-        if (columnsBuilder_ == null) {
-          ensureColumnsIsMutable();
-          columns_.add(index, builderForValue.build());
-          onChanged();
-        } else {
-          columnsBuilder_.addMessage(index, builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PColumn columns = 4;</code>
-       */
-      public Builder addAllColumns(
-          java.lang.Iterable<? extends org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn> values) {
-        if (columnsBuilder_ == null) {
-          ensureColumnsIsMutable();
-          super.addAll(values, columns_);
-          onChanged();
-        } else {
-          columnsBuilder_.addAllMessages(values);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PColumn columns = 4;</code>
-       */
-      public Builder clearColumns() {
-        if (columnsBuilder_ == null) {
-          columns_ = java.util.Collections.emptyList();
-          bitField0_ = (bitField0_ & ~0x00000008);
-          onChanged();
-        } else {
-          columnsBuilder_.clear();
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PColumn columns = 4;</code>
-       */
-      public Builder removeColumns(int index) {
-        if (columnsBuilder_ == null) {
-          ensureColumnsIsMutable();
-          columns_.remove(index);
-          onChanged();
-        } else {
-          columnsBuilder_.remove(index);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PColumn columns = 4;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder getColumnsBuilder(
-          int index) {
-        return getColumnsFieldBuilder().getBuilder(index);
-      }
-      /**
-       * <code>repeated .PColumn columns = 4;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PTableProtos.PColumnOrBuilder getColumnsOrBuilder(
-          int index) {
-        if (columnsBuilder_ == null) {
-          return columns_.get(index);  } else {
-          return columnsBuilder_.getMessageOrBuilder(index);
-        }
-      }
-      /**
-       * <code>repeated .PColumn columns = 4;</code>
-       */
-      public java.util.List<? extends org.apache.phoenix.coprocessor.generated.PTableProtos.PColumnOrBuilder> 
-           getColumnsOrBuilderList() {
-        if (columnsBuilder_ != null) {
-          return columnsBuilder_.getMessageOrBuilderList();
-        } else {
-          return java.util.Collections.unmodifiableList(columns_);
-        }
-      }
-      /**
-       * <code>repeated .PColumn columns = 4;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder addColumnsBuilder() {
-        return getColumnsFieldBuilder().addBuilder(
-            org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.getDefaultInstance());
-      }
-      /**
-       * <code>repeated .PColumn columns = 4;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder addColumnsBuilder(
-          int index) {
-        return getColumnsFieldBuilder().addBuilder(
-            index, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.getDefaultInstance());
-      }
-      /**
-       * <code>repeated .PColumn columns = 4;</code>
-       */
-      public java.util.List<org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder> 
-           getColumnsBuilderList() {
-        return getColumnsFieldBuilder().getBuilderList();
-      }
-      private com.google.protobuf.RepeatedFieldBuilder<
-          org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumnOrBuilder> 
-          getColumnsFieldBuilder() {
-        if (columnsBuilder_ == null) {
-          columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
-              org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumn.Builder, org.apache.phoenix.coprocessor.generated.PTableProtos.PColumnOrBuilder>(
-                  columns_,
-                  ((bitField0_ & 0x00000008) == 0x00000008),
-                  getParentForChildren(),
-                  isClean());
-          columns_ = null;
-        }
-        return columnsBuilder_;
-      }
-
-      // repeated bytes physicalNames = 5;
-      private java.util.List<com.google.protobuf.ByteString> physicalNames_ = java.util.Collections.emptyList();
-      private void ensurePhysicalNamesIsMutable() {
-        if (!((bitField0_ & 0x00000010) == 0x00000010)) {
-          physicalNames_ = new java.util.ArrayList<com.google.protobuf.ByteString>(physicalNames_);
-          bitField0_ |= 0x00000010;
-         }
-      }
-      /**
-       * <code>repeated bytes physicalNames = 5;</code>
-       */
-      public java.util.List<com.google.protobuf.ByteString>
-          getPhysicalNamesList() {
-        return java.util.Collections.unmodifiableList(physicalNames_);
-      }
-      /**
-       * <code>repeated bytes physicalNames = 5;</code>
-       */
-      public int getPhysicalNamesCount() {
-        return physicalNames_.size();
-      }
-      /**
-       * <code>repeated bytes physicalNames = 5;</code>
-       */
-      public com.google.protobuf.ByteString getPhysicalNames(int index) {
-        return physicalNames_.get(index);
-      }
-      /**
-       * <code>repeated bytes physicalNames = 5;</code>
-       */
-      public Builder setPhysicalNames(
-          int index, com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensurePhysicalNamesIsMutable();
-        physicalNames_.set(index, value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated bytes physicalNames = 5;</code>
-       */
-      public Builder addPhysicalNames(com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensurePhysicalNamesIsMutable();
-        physicalNames_.add(value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated bytes physicalNames = 5;</code>
-       */
-      public Builder addAllPhysicalNames(
-          java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
-        ensurePhysicalNamesIsMutable();
-        super.addAll(values, physicalNames_);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated bytes physicalNames = 5;</code>
-       */
-      public Builder clearPhysicalNames() {
-        physicalNames_ = java.util.Collections.emptyList();
-        bitField0_ = (bitField0_ & ~0x00000010);
-        onChanged();
-        return this;
-      }
-
-      // required int64 viewIndexId = 6;
-      private long viewIndexId_ ;
-      /**
-       * <code>required int64 viewIndexId = 6;</code>
-       */
-      public boolean hasViewIndexId() {
-        return ((bitField0_ & 0x00000020) == 0x00000020);
-      }
-      /**
-       * <code>required int64 viewIndexId = 6;</code>
-       */
-      public long getViewIndexId() {
-        return viewIndexId_;
-      }
-      /**
-       * <code>required int64 viewIndexId = 6;</code>
-       */
-      public Builder setViewIndexId(long value) {
-        bitField0_ |= 0x00000020;
-        viewIndexId_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>required int64 viewIndexId = 6;</code>
-       */
-      public Builder clearViewIndexId() {
-        bitField0_ = (bitField0_ & ~0x00000020);
-        viewIndexId_ = 0L;
-        onChanged();
-        return this;
-      }
-
-      // optional int32 viewIndexIdType = 7 [default = 5];
-      private int viewIndexIdType_ = 5;
-      /**
-       * <code>optional int32 viewIndexIdType = 7 [default = 5];</code>
-       */
-      public boolean hasViewIndexIdType() {
-        return ((bitField0_ & 0x00000040) == 0x00000040);
-      }
-      /**
-       * <code>optional int32 viewIndexIdType = 7 [default = 5];</code>
-       */
-      public int getViewIndexIdType() {
-        return viewIndexIdType_;
-      }
-      /**
-       * <code>optional int32 viewIndexIdType = 7 [default = 5];</code>
-       */
-      public Builder setViewIndexIdType(int value) {
-        bitField0_ |= 0x00000040;
-        viewIndexIdType_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional int32 viewIndexIdType = 7 [default = 5];</code>
-       */
-      public Builder clearViewIndexIdType() {
-        bitField0_ = (bitField0_ & ~0x00000040);
-        viewIndexIdType_ = 5;
-        onChanged();
-        return this;
-      }
-
-      // @@protoc_insertion_point(builder_scope:SharedTableState)
-    }
-
-    static {
-      defaultInstance = new SharedTableState(true);
-      defaultInstance.initFields();
-    }
-
-    // @@protoc_insertion_point(class_scope:SharedTableState)
-  }
-
-  public interface MetaDataResponseOrBuilder
-      extends com.google.protobuf.MessageOrBuilder {
-
-    // optional .MutationCode returnCode = 1;
-    /**
-     * <code>optional .MutationCode returnCode = 1;</code>
-     */
-    boolean hasReturnCode();
-    /**
-     * <code>optional .MutationCode returnCode = 1;</code>
-     */
-    org.apache.phoenix.coprocessor.generated.MetaDataProtos.MutationCode getReturnCode();
-
-    // optional int64 mutationTime = 2;
-    /**
-     * <code>optional int64 mutationTime = 2;</code>
-     */
-    boolean hasMutationTime();
-    /**
-     * <code>optional int64 mutationTime = 2;</code>
-     */
-    long getMutationTime();
-
-    // optional .PTable table = 3;
-    /**
-     * <code>optional .PTable table = 3;</code>
-     */
-    boolean hasTable();
-    /**
-     * <code>optional .PTable table = 3;</code>
-     */
-    org.apache.phoenix.coprocessor.generated.PTableProtos.PTable getTable();
-    /**
-     * <code>optional .PTable table = 3;</code>
-     */
-    org.apache.phoenix.coprocessor.generated.PTableProtos.PTableOrBuilder getTableOrBuilder();
-
-    // repeated bytes tablesToDelete = 4;
-    /**
-     * <code>repeated bytes tablesToDelete = 4;</code>
-     */
-    java.util.List<com.google.protobuf.ByteString> getTablesToDeleteList();
-    /**
-     * <code>repeated bytes tablesToDelete = 4;</code>
-     */
-    int getTablesToDeleteCount();
-    /**
-     * <code>repeated bytes tablesToDelete = 4;</code>
-     */
-    com.google.protobuf.ByteString getTablesToDelete(int index);
-
-    // optional bytes columnName = 5;
-    /**
-     * <code>optional bytes columnName = 5;</code>
-     */
-    boolean hasColumnName();
-    /**
-     * <code>optional bytes columnName = 5;</code>
-     */
-    com.google.protobuf.ByteString getColumnName();
-
-    // optional bytes familyName = 6;
-    /**
-     * <code>optional bytes familyName = 6;</code>
-     */
-    boolean hasFamilyName();
-    /**
-     * <code>optional bytes familyName = 6;</code>
-     */
-    com.google.protobuf.ByteString getFamilyName();
-
-    // optional bytes functionName = 7;
-    /**
-     * <code>optional bytes functionName = 7;</code>
-     */
-    boolean hasFunctionName();
-    /**
-     * <code>optional bytes functionName = 7;</code>
-     */
-    com.google.protobuf.ByteString getFunctionName();
-
-    // repeated .PFunction function = 8;
-    /**
-     * <code>repeated .PFunction function = 8;</code>
-     */
-    java.util.List<org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction> 
-        getFunctionList();
-    /**
-     * <code>repeated .PFunction function = 8;</code>
-     */
-    org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction getFunction(int index);
-    /**
-     * <code>repeated .PFunction function = 8;</code>
-     */
-    int getFunctionCount();
-    /**
-     * <code>repeated .PFunction function = 8;</code>
-     */
-    java.util.List<? extends org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunctionOrBuilder> 
-        getFunctionOrBuilderList();
-    /**
-     * <code>repeated .PFunction function = 8;</code>
-     */
-    org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunctionOrBuilder getFunctionOrBuilder(
-        int index);
-
-    // repeated .SharedTableState sharedTablesToDelete = 9;
-    /**
-     * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-     */
-    java.util.List<org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState> 
-        getSharedTablesToDeleteList();
-    /**
-     * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-     */
-    org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState getSharedTablesToDelete(int index);
-    /**
-     * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-     */
-    int getSharedTablesToDeleteCount();
-    /**
-     * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-     */
-    java.util.List<? extends org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableStateOrBuilder> 
-        getSharedTablesToDeleteOrBuilderList();
-    /**
-     * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-     */
-    org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableStateOrBuilder getSharedTablesToDeleteOrBuilder(
-        int index);
-
-    // optional .PSchema schema = 10;
-    /**
-     * <code>optional .PSchema schema = 10;</code>
-     */
-    boolean hasSchema();
-    /**
-     * <code>optional .PSchema schema = 10;</code>
-     */
-    org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema getSchema();
-    /**
-     * <code>optional .PSchema schema = 10;</code>
-     */
-    org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchemaOrBuilder getSchemaOrBuilder();
-
-    // optional int64 autoPartitionNum = 11;
-    /**
-     * <code>optional int64 autoPartitionNum = 11;</code>
-     */
-    boolean hasAutoPartitionNum();
-    /**
-     * <code>optional int64 autoPartitionNum = 11;</code>
-     */
-    long getAutoPartitionNum();
-
-    // optional int64 viewIndexId = 12;
-    /**
-     * <code>optional int64 viewIndexId = 12;</code>
-     */
-    boolean hasViewIndexId();
-    /**
-     * <code>optional int64 viewIndexId = 12;</code>
-     */
-    long getViewIndexId();
-
-    // optional int32 viewIndexIdType = 13 [default = 5];
-    /**
-     * <code>optional int32 viewIndexIdType = 13 [default = 5];</code>
-     */
-    boolean hasViewIndexIdType();
-    /**
-     * <code>optional int32 viewIndexIdType = 13 [default = 5];</code>
-     */
-    int getViewIndexIdType();
-  }
-  /**
-   * Protobuf type {@code MetaDataResponse}
-   */
-  public static final class MetaDataResponse extends
-      com.google.protobuf.GeneratedMessage
-      implements MetaDataResponseOrBuilder {
-    // Use MetaDataResponse.newBuilder() to construct.
-    private MetaDataResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
-      super(builder);
-      this.unknownFields = builder.getUnknownFields();
-    }
-    private MetaDataResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-    private static final MetaDataResponse defaultInstance;
-    public static MetaDataResponse getDefaultInstance() {
-      return defaultInstance;
-    }
-
-    public MetaDataResponse getDefaultInstanceForType() {
-      return defaultInstance;
-    }
-
-    private final com.google.protobuf.UnknownFieldSet unknownFields;
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
-      return this.unknownFields;
-    }
-    private MetaDataResponse(
-        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 8: {
-              int rawValue = input.readEnum();
-              org.apache.phoenix.coprocessor.generated.MetaDataProtos.MutationCode value = org.apache.phoenix.coprocessor.generated.MetaDataProtos.MutationCode.valueOf(rawValue);
-              if (value == null) {
-                unknownFields.mergeVarintField(1, rawValue);
-              } else {
-                bitField0_ |= 0x00000001;
-                returnCode_ = value;
-              }
-              break;
-            }
-            case 16: {
-              bitField0_ |= 0x00000002;
-              mutationTime_ = input.readInt64();
-              break;
-            }
-            case 26: {
-              org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.Builder subBuilder = null;
-              if (((bitField0_ & 0x00000004) == 0x00000004)) {
-                subBuilder = table_.toBuilder();
-              }
-              table_ = input.readMessage(org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.PARSER, extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(table_);
-                table_ = subBuilder.buildPartial();
-              }
-              bitField0_ |= 0x00000004;
-              break;
-            }
-            case 34: {
-              if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
-                tablesToDelete_ = new java.util.ArrayList<com.google.protobuf.ByteString>();
-                mutable_bitField0_ |= 0x00000008;
-              }
-              tablesToDelete_.add(input.readBytes());
-              break;
-            }
-            case 42: {
-              bitField0_ |= 0x00000008;
-              columnName_ = input.readBytes();
-              break;
-            }
-            case 50: {
-              bitField0_ |= 0x00000010;
-              familyName_ = input.readBytes();
-              break;
-            }
-            case 58: {
-              bitField0_ |= 0x00000020;
-              functionName_ = input.readBytes();
-              break;
-            }
-            case 66: {
-              if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
-                function_ = new java.util.ArrayList<org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction>();
-                mutable_bitField0_ |= 0x00000080;
-              }
-              function_.add(input.readMessage(org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction.PARSER, extensionRegistry));
-              break;
-            }
-            case 74: {
-              if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
-                sharedTablesToDelete_ = new java.util.ArrayList<org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState>();
-                mutable_bitField0_ |= 0x00000100;
-              }
-              sharedTablesToDelete_.add(input.readMessage(org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState.PARSER, extensionRegistry));
-              break;
-            }
-            case 82: {
-              org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema.Builder subBuilder = null;
-              if (((bitField0_ & 0x00000040) == 0x00000040)) {
-                subBuilder = schema_.toBuilder();
-              }
-              schema_ = input.readMessage(org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema.PARSER, extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(schema_);
-                schema_ = subBuilder.buildPartial();
-              }
-              bitField0_ |= 0x00000040;
-              break;
-            }
-            case 88: {
-              bitField0_ |= 0x00000080;
-              autoPartitionNum_ = input.readInt64();
-              break;
-            }
-            case 96: {
-              bitField0_ |= 0x00000100;
-              viewIndexId_ = input.readInt64();
-              break;
-            }
-            case 104: {
-              bitField0_ |= 0x00000200;
-              viewIndexIdType_ = 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 {
-        if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
-          tablesToDelete_ = java.util.Collections.unmodifiableList(tablesToDelete_);
-        }
-        if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
-          function_ = java.util.Collections.unmodifiableList(function_);
-        }
-        if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
-          sharedTablesToDelete_ = java.util.Collections.unmodifiableList(sharedTablesToDelete_);
-        }
-        this.unknownFields = unknownFields.build();
-        makeExtensionsImmutable();
-      }
-    }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_MetaDataResponse_descriptor;
-    }
-
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-        internalGetFieldAccessorTable() {
-      return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_MetaDataResponse_fieldAccessorTable
-          .ensureFieldAccessorsInitialized(
-              org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse.class, org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse.Builder.class);
-    }
-
-    public static com.google.protobuf.Parser<MetaDataResponse> PARSER =
-        new com.google.protobuf.AbstractParser<MetaDataResponse>() {
-      public MetaDataResponse parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new MetaDataResponse(input, extensionRegistry);
-      }
-    };
-
-    @java.lang.Override
-    public com.google.protobuf.Parser<MetaDataResponse> getParserForType() {
-      return PARSER;
-    }
-
-    private int bitField0_;
-    // optional .MutationCode returnCode = 1;
-    public static final int RETURNCODE_FIELD_NUMBER = 1;
-    private org.apache.phoenix.coprocessor.generated.MetaDataProtos.MutationCode returnCode_;
-    /**
-     * <code>optional .MutationCode returnCode = 1;</code>
-     */
-    public boolean hasReturnCode() {
-      return ((bitField0_ & 0x00000001) == 0x00000001);
-    }
-    /**
-     * <code>optional .MutationCode returnCode = 1;</code>
-     */
-    public org.apache.phoenix.coprocessor.generated.MetaDataProtos.MutationCode getReturnCode() {
-      return returnCode_;
-    }
-
-    // optional int64 mutationTime = 2;
-    public static final int MUTATIONTIME_FIELD_NUMBER = 2;
-    private long mutationTime_;
-    /**
-     * <code>optional int64 mutationTime = 2;</code>
-     */
-    public boolean hasMutationTime() {
-      return ((bitField0_ & 0x00000002) == 0x00000002);
-    }
-    /**
-     * <code>optional int64 mutationTime = 2;</code>
-     */
-    public long getMutationTime() {
-      return mutationTime_;
-    }
-
-    // optional .PTable table = 3;
-    public static final int TABLE_FIELD_NUMBER = 3;
-    private org.apache.phoenix.coprocessor.generated.PTableProtos.PTable table_;
-    /**
-     * <code>optional .PTable table = 3;</code>
-     */
-    public boolean hasTable() {
-      return ((bitField0_ & 0x00000004) == 0x00000004);
-    }
-    /**
-     * <code>optional .PTable table = 3;</code>
-     */
-    public org.apache.phoenix.coprocessor.generated.PTableProtos.PTable getTable() {
-      return table_;
-    }
-    /**
-     * <code>optional .PTable table = 3;</code>
-     */
-    public org.apache.phoenix.coprocessor.generated.PTableProtos.PTableOrBuilder getTableOrBuilder() {
-      return table_;
-    }
-
-    // repeated bytes tablesToDelete = 4;
-    public static final int TABLESTODELETE_FIELD_NUMBER = 4;
-    private java.util.List<com.google.protobuf.ByteString> tablesToDelete_;
-    /**
-     * <code>repeated bytes tablesToDelete = 4;</code>
-     */
-    public java.util.List<com.google.protobuf.ByteString>
-        getTablesToDeleteList() {
-      return tablesToDelete_;
-    }
-    /**
-     * <code>repeated bytes tablesToDelete = 4;</code>
-     */
-    public int getTablesToDeleteCount() {
-      return tablesToDelete_.size();
-    }
-    /**
-     * <code>repeated bytes tablesToDelete = 4;</code>
-     */
-    public com.google.protobuf.ByteString getTablesToDelete(int index) {
-      return tablesToDelete_.get(index);
-    }
-
-    // optional bytes columnName = 5;
-    public static final int COLUMNNAME_FIELD_NUMBER = 5;
-    private com.google.protobuf.ByteString columnName_;
-    /**
-     * <code>optional bytes columnName = 5;</code>
-     */
-    public boolean hasColumnName() {
-      return ((bitField0_ & 0x00000008) == 0x00000008);
-    }
-    /**
-     * <code>optional bytes columnName = 5;</code>
-     */
-    public com.google.protobuf.ByteString getColumnName() {
-      return columnName_;
-    }
-
-    // optional bytes familyName = 6;
-    public static final int FAMILYNAME_FIELD_NUMBER = 6;
-    private com.google.protobuf.ByteString familyName_;
-    /**
-     * <code>optional bytes familyName = 6;</code>
-     */
-    public boolean hasFamilyName() {
-      return ((bitField0_ & 0x00000010) == 0x00000010);
-    }
-    /**
-     * <code>optional bytes familyName = 6;</code>
-     */
-    public com.google.protobuf.ByteString getFamilyName() {
-      return familyName_;
-    }
-
-    // optional bytes functionName = 7;
-    public static final int FUNCTIONNAME_FIELD_NUMBER = 7;
-    private com.google.protobuf.ByteString functionName_;
-    /**
-     * <code>optional bytes functionName = 7;</code>
-     */
-    public boolean hasFunctionName() {
-      return ((bitField0_ & 0x00000020) == 0x00000020);
-    }
-    /**
-     * <code>optional bytes functionName = 7;</code>
-     */
-    public com.google.protobuf.ByteString getFunctionName() {
-      return functionName_;
-    }
-
-    // repeated .PFunction function = 8;
-    public static final int FUNCTION_FIELD_NUMBER = 8;
-    private java.util.List<org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction> function_;
-    /**
-     * <code>repeated .PFunction function = 8;</code>
-     */
-    public java.util.List<org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction> getFunctionList() {
-      return function_;
-    }
-    /**
-     * <code>repeated .PFunction function = 8;</code>
-     */
-    public java.util.List<? extends org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunctionOrBuilder> 
-        getFunctionOrBuilderList() {
-      return function_;
-    }
-    /**
-     * <code>repeated .PFunction function = 8;</code>
-     */
-    public int getFunctionCount() {
-      return function_.size();
-    }
-    /**
-     * <code>repeated .PFunction function = 8;</code>
-     */
-    public org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction getFunction(int index) {
-      return function_.get(index);
-    }
-    /**
-     * <code>repeated .PFunction function = 8;</code>
-     */
-    public org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunctionOrBuilder getFunctionOrBuilder(
-        int index) {
-      return function_.get(index);
-    }
-
-    // repeated .SharedTableState sharedTablesToDelete = 9;
-    public static final int SHAREDTABLESTODELETE_FIELD_NUMBER = 9;
-    private java.util.List<org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState> sharedTablesToDelete_;
-    /**
-     * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-     */
-    public java.util.List<org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState> getSharedTablesToDeleteList() {
-      return sharedTablesToDelete_;
-    }
-    /**
-     * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-     */
-    public java.util.List<? extends org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableStateOrBuilder> 
-        getSharedTablesToDeleteOrBuilderList() {
-      return sharedTablesToDelete_;
-    }
-    /**
-     * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-     */
-    public int getSharedTablesToDeleteCount() {
-      return sharedTablesToDelete_.size();
-    }
-    /**
-     * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-     */
-    public org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState getSharedTablesToDelete(int index) {
-      return sharedTablesToDelete_.get(index);
-    }
-    /**
-     * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-     */
-    public org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableStateOrBuilder getSharedTablesToDeleteOrBuilder(
-        int index) {
-      return sharedTablesToDelete_.get(index);
-    }
-
-    // optional .PSchema schema = 10;
-    public static final int SCHEMA_FIELD_NUMBER = 10;
-    private org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema schema_;
-    /**
-     * <code>optional .PSchema schema = 10;</code>
-     */
-    public boolean hasSchema() {
-      return ((bitField0_ & 0x00000040) == 0x00000040);
-    }
-    /**
-     * <code>optional .PSchema schema = 10;</code>
-     */
-    public org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema getSchema() {
-      return schema_;
-    }
-    /**
-     * <code>optional .PSchema schema = 10;</code>
-     */
-    public org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchemaOrBuilder getSchemaOrBuilder() {
-      return schema_;
-    }
-
-    // optional int64 autoPartitionNum = 11;
-    public static final int AUTOPARTITIONNUM_FIELD_NUMBER = 11;
-    private long autoPartitionNum_;
-    /**
-     * <code>optional int64 autoPartitionNum = 11;</code>
-     */
-    public boolean hasAutoPartitionNum() {
-      return ((bitField0_ & 0x00000080) == 0x00000080);
-    }
-    /**
-     * <code>optional int64 autoPartitionNum = 11;</code>
-     */
-    public long getAutoPartitionNum() {
-      return autoPartitionNum_;
-    }
-
-    // optional int64 viewIndexId = 12;
-    public static final int VIEWINDEXID_FIELD_NUMBER = 12;
-    private long viewIndexId_;
-    /**
-     * <code>optional int64 viewIndexId = 12;</code>
-     */
-    public boolean hasViewIndexId() {
-      return ((bitField0_ & 0x00000100) == 0x00000100);
-    }
-    /**
-     * <code>optional int64 viewIndexId = 12;</code>
-     */
-    public long getViewIndexId() {
-      return viewIndexId_;
-    }
-
-    // optional int32 viewIndexIdType = 13 [default = 5];
-    public static final int VIEWINDEXIDTYPE_FIELD_NUMBER = 13;
-    private int viewIndexIdType_;
-    /**
-     * <code>optional int32 viewIndexIdType = 13 [default = 5];</code>
-     */
-    public boolean hasViewIndexIdType() {
-      return ((bitField0_ & 0x00000200) == 0x00000200);
-    }
-    /**
-     * <code>optional int32 viewIndexIdType = 13 [default = 5];</code>
-     */
-    public int getViewIndexIdType() {
-      return viewIndexIdType_;
-    }
-
-    private void initFields() {
-      returnCode_ = org.apache.phoenix.coprocessor.generated.MetaDataProtos.MutationCode.TABLE_ALREADY_EXISTS;
-      mutationTime_ = 0L;
-      table_ = org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.getDefaultInstance();
-      tablesToDelete_ = java.util.Collections.emptyList();
-      columnName_ = com.google.protobuf.ByteString.EMPTY;
-      familyName_ = com.google.protobuf.ByteString.EMPTY;
-      functionName_ = com.google.protobuf.ByteString.EMPTY;
-      function_ = java.util.Collections.emptyList();
-      sharedTablesToDelete_ = java.util.Collections.emptyList();
-      schema_ = org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema.getDefaultInstance();
-      autoPartitionNum_ = 0L;
-      viewIndexId_ = 0L;
-      viewIndexIdType_ = 5;
-    }
-    private byte memoizedIsInitialized = -1;
-    public final boolean isInitialized() {
-      byte isInitialized = memoizedIsInitialized;
-      if (isInitialized != -1) return isInitialized == 1;
-
-      if (hasTable()) {
-        if (!getTable().isInitialized()) {
-          memoizedIsInitialized = 0;
-          return false;
-        }
-      }
-      for (int i = 0; i < getFunctionCount(); i++) {
-        if (!getFunction(i).isInitialized()) {
-          memoizedIsInitialized = 0;
-          return false;
-        }
-      }
-      for (int i = 0; i < getSharedTablesToDeleteCount(); i++) {
-        if (!getSharedTablesToDelete(i).isInitialized()) {
-          memoizedIsInitialized = 0;
-          return false;
-        }
-      }
-      if (hasSchema()) {
-        if (!getSchema().isInitialized()) {
-          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.writeEnum(1, returnCode_.getNumber());
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        output.writeInt64(2, mutationTime_);
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        output.writeMessage(3, table_);
-      }
-      for (int i = 0; i < tablesToDelete_.size(); i++) {
-        output.writeBytes(4, tablesToDelete_.get(i));
-      }
-      if (((bitField0_ & 0x00000008) == 0x00000008)) {
-        output.writeBytes(5, columnName_);
-      }
-      if (((bitField0_ & 0x00000010) == 0x00000010)) {
-        output.writeBytes(6, familyName_);
-      }
-      if (((bitField0_ & 0x00000020) == 0x00000020)) {
-        output.writeBytes(7, functionName_);
-      }
-      for (int i = 0; i < function_.size(); i++) {
-        output.writeMessage(8, function_.get(i));
-      }
-      for (int i = 0; i < sharedTablesToDelete_.size(); i++) {
-        output.writeMessage(9, sharedTablesToDelete_.get(i));
-      }
-      if (((bitField0_ & 0x00000040) == 0x00000040)) {
-        output.writeMessage(10, schema_);
-      }
-      if (((bitField0_ & 0x00000080) == 0x00000080)) {
-        output.writeInt64(11, autoPartitionNum_);
-      }
-      if (((bitField0_ & 0x00000100) == 0x00000100)) {
-        output.writeInt64(12, viewIndexId_);
-      }
-      if (((bitField0_ & 0x00000200) == 0x00000200)) {
-        output.writeInt32(13, viewIndexIdType_);
-      }
-      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
-          .computeEnumSize(1, returnCode_.getNumber());
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt64Size(2, mutationTime_);
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, table_);
-      }
-      {
-        int dataSize = 0;
-        for (int i = 0; i < tablesToDelete_.size(); i++) {
-          dataSize += com.google.protobuf.CodedOutputStream
-            .computeBytesSizeNoTag(tablesToDelete_.get(i));
-        }
-        size += dataSize;
-        size += 1 * getTablesToDeleteList().size();
-      }
-      if (((bitField0_ & 0x00000008) == 0x00000008)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(5, columnName_);
-      }
-      if (((bitField0_ & 0x00000010) == 0x00000010)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(6, familyName_);
-      }
-      if (((bitField0_ & 0x00000020) == 0x00000020)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(7, functionName_);
-      }
-      for (int i = 0; i < function_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(8, function_.get(i));
-      }
-      for (int i = 0; i < sharedTablesToDelete_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(9, sharedTablesToDelete_.get(i));
-      }
-      if (((bitField0_ & 0x00000040) == 0x00000040)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(10, schema_);
-      }
-      if (((bitField0_ & 0x00000080) == 0x00000080)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt64Size(11, autoPartitionNum_);
-      }
-      if (((bitField0_ & 0x00000100) == 0x00000100)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt64Size(12, viewIndexId_);
-      }
-      if (((bitField0_ & 0x00000200) == 0x00000200)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt32Size(13, viewIndexIdType_);
-      }
-      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.MetaDataProtos.MetaDataResponse)) {
-        return super.equals(obj);
-      }
-      org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse other = (org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse) obj;
-
-      boolean result = true;
-      result = result && (hasReturnCode() == other.hasReturnCode());
-      if (hasReturnCode()) {
-        result = result &&
-            (getReturnCode() == other.getReturnCode());
-      }
-      result = result && (hasMutationTime() == other.hasMutationTime());
-      if (hasMutationTime()) {
-        result = result && (getMutationTime()
-            == other.getMutationTime());
-      }
-      result = result && (hasTable() == other.hasTable());
-      if (hasTable()) {
-        result = result && getTable()
-            .equals(other.getTable());
-      }
-      result = result && getTablesToDeleteList()
-          .equals(other.getTablesToDeleteList());
-      result = result && (hasColumnName() == other.hasColumnName());
-      if (hasColumnName()) {
-        result = result && getColumnName()
-            .equals(other.getColumnName());
-      }
-      result = result && (hasFamilyName() == other.hasFamilyName());
-      if (hasFamilyName()) {
-        result = result && getFamilyName()
-            .equals(other.getFamilyName());
-      }
-      result = result && (hasFunctionName() == other.hasFunctionName());
-      if (hasFunctionName()) {
-        result = result && getFunctionName()
-            .equals(other.getFunctionName());
-      }
-      result = result && getFunctionList()
-          .equals(other.getFunctionList());
-      result = result && getSharedTablesToDeleteList()
-          .equals(other.getSharedTablesToDeleteList());
-      result = result && (hasSchema() == other.hasSchema());
-      if (hasSchema()) {
-        result = result && getSchema()
-            .equals(other.getSchema());
-      }
-      result = result && (hasAutoPartitionNum() == other.hasAutoPartitionNum());
-      if (hasAutoPartitionNum()) {
-        result = result && (getAutoPartitionNum()
-            == other.getAutoPartitionNum());
-      }
-      result = result && (hasViewIndexId() == other.hasViewIndexId());
-      if (hasViewIndexId()) {
-        result = result && (getViewIndexId()
-            == other.getViewIndexId());
-      }
-      result = result && (hasViewIndexIdType() == other.hasViewIndexIdType());
-      if (hasViewIndexIdType()) {
-        result = result && (getViewIndexIdType()
-            == other.getViewIndexIdType());
-      }
-      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 (hasReturnCode()) {
-        hash = (37 * hash) + RETURNCODE_FIELD_NUMBER;
-        hash = (53 * hash) + hashEnum(getReturnCode());
-      }
-      if (hasMutationTime()) {
-        hash = (37 * hash) + MUTATIONTIME_FIELD_NUMBER;
-        hash = (53 * hash) + hashLong(getMutationTime());
-      }
-      if (hasTable()) {
-        hash = (37 * hash) + TABLE_FIELD_NUMBER;
-        hash = (53 * hash) + getTable().hashCode();
-      }
-      if (getTablesToDeleteCount() > 0) {
-        hash = (37 * hash) + TABLESTODELETE_FIELD_NUMBER;
-        hash = (53 * hash) + getTablesToDeleteList().hashCode();
-      }
-      if (hasColumnName()) {
-        hash = (37 * hash) + COLUMNNAME_FIELD_NUMBER;
-        hash = (53 * hash) + getColumnName().hashCode();
-      }
-      if (hasFamilyName()) {
-        hash = (37 * hash) + FAMILYNAME_FIELD_NUMBER;
-        hash = (53 * hash) + getFamilyName().hashCode();
-      }
-      if (hasFunctionName()) {
-        hash = (37 * hash) + FUNCTIONNAME_FIELD_NUMBER;
-        hash = (53 * hash) + getFunctionName().hashCode();
-      }
-      if (getFunctionCount() > 0) {
-        hash = (37 * hash) + FUNCTION_FIELD_NUMBER;
-        hash = (53 * hash) + getFunctionList().hashCode();
-      }
-      if (getSharedTablesToDeleteCount() > 0) {
-        hash = (37 * hash) + SHAREDTABLESTODELETE_FIELD_NUMBER;
-        hash = (53 * hash) + getSharedTablesToDeleteList().hashCode();
-      }
-      if (hasSchema()) {
-        hash = (37 * hash) + SCHEMA_FIELD_NUMBER;
-        hash = (53 * hash) + getSchema().hashCode();
-      }
-      if (hasAutoPartitionNum()) {
-        hash = (37 * hash) + AUTOPARTITIONNUM_FIELD_NUMBER;
-        hash = (53 * hash) + hashLong(getAutoPartitionNum());
-      }
-      if (hasViewIndexId()) {
-        hash = (37 * hash) + VIEWINDEXID_FIELD_NUMBER;
-        hash = (53 * hash) + hashLong(getViewIndexId());
-      }
-      if (hasViewIndexIdType()) {
-        hash = (37 * hash) + VIEWINDEXIDTYPE_FIELD_NUMBER;
-        hash = (53 * hash) + getViewIndexIdType();
-      }
-      hash = (29 * hash) + getUnknownFields().hashCode();
-      memoizedHashCode = hash;
-      return hash;
-    }
-
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse 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.MetaDataProtos.MetaDataResponse parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse 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.MetaDataProtos.MetaDataResponse parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse 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.MetaDataProtos.MetaDataResponse parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse 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.MetaDataProtos.MetaDataResponse parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse 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.MetaDataProtos.MetaDataResponse 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 MetaDataResponse}
-     */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessage.Builder<Builder>
-       implements org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponseOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_MetaDataResponse_descriptor;
-      }
-
-      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-          internalGetFieldAccessorTable() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_MetaDataResponse_fieldAccessorTable
-            .ensureFieldAccessorsInitialized(
-                org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse.class, org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse.Builder.class);
-      }
-
-      // Construct using org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse.newBuilder()
-      private Builder() {
-        maybeForceBuilderInitialization();
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-        super(parent);
-        maybeForceBuilderInitialization();
-      }
-      private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
-          getTableFieldBuilder();
-          getFunctionFieldBuilder();
-          getSharedTablesToDeleteFieldBuilder();
-          getSchemaFieldBuilder();
-        }
-      }
-      private static Builder create() {
-        return new Builder();
-      }
-
-      public Builder clear() {
-        super.clear();
-        returnCode_ = org.apache.phoenix.coprocessor.generated.MetaDataProtos.MutationCode.TABLE_ALREADY_EXISTS;
-        bitField0_ = (bitField0_ & ~0x00000001);
-        mutationTime_ = 0L;
-        bitField0_ = (bitField0_ & ~0x00000002);
-        if (tableBuilder_ == null) {
-          table_ = org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.getDefaultInstance();
-        } else {
-          tableBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000004);
-        tablesToDelete_ = java.util.Collections.emptyList();
-        bitField0_ = (bitField0_ & ~0x00000008);
-        columnName_ = com.google.protobuf.ByteString.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000010);
-        familyName_ = com.google.protobuf.ByteString.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000020);
-        functionName_ = com.google.protobuf.ByteString.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000040);
-        if (functionBuilder_ == null) {
-          function_ = java.util.Collections.emptyList();
-          bitField0_ = (bitField0_ & ~0x00000080);
-        } else {
-          functionBuilder_.clear();
-        }
-        if (sharedTablesToDeleteBuilder_ == null) {
-          sharedTablesToDelete_ = java.util.Collections.emptyList();
-          bitField0_ = (bitField0_ & ~0x00000100);
-        } else {
-          sharedTablesToDeleteBuilder_.clear();
-        }
-        if (schemaBuilder_ == null) {
-          schema_ = org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema.getDefaultInstance();
-        } else {
-          schemaBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000200);
-        autoPartitionNum_ = 0L;
-        bitField0_ = (bitField0_ & ~0x00000400);
-        viewIndexId_ = 0L;
-        bitField0_ = (bitField0_ & ~0x00000800);
-        viewIndexIdType_ = 5;
-        bitField0_ = (bitField0_ & ~0x00001000);
-        return this;
-      }
-
-      public Builder clone() {
-        return create().mergeFrom(buildPartial());
-      }
-
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_MetaDataResponse_descriptor;
-      }
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse getDefaultInstanceForType() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse.getDefaultInstance();
-      }
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse build() {
-        org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse result = buildPartial();
-        if (!result.isInitialized()) {
-          throw newUninitializedMessageException(result);
-        }
-        return result;
-      }
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse buildPartial() {
-        org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse result = new org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse(this);
-        int from_bitField0_ = bitField0_;
-        int to_bitField0_ = 0;
-        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
-          to_bitField0_ |= 0x00000001;
-        }
-        result.returnCode_ = returnCode_;
-        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
-          to_bitField0_ |= 0x00000002;
-        }
-        result.mutationTime_ = mutationTime_;
-        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
-          to_bitField0_ |= 0x00000004;
-        }
-        if (tableBuilder_ == null) {
-          result.table_ = table_;
-        } else {
-          result.table_ = tableBuilder_.build();
-        }
-        if (((bitField0_ & 0x00000008) == 0x00000008)) {
-          tablesToDelete_ = java.util.Collections.unmodifiableList(tablesToDelete_);
-          bitField0_ = (bitField0_ & ~0x00000008);
-        }
-        result.tablesToDelete_ = tablesToDelete_;
-        if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
-          to_bitField0_ |= 0x00000008;
-        }
-        result.columnName_ = columnName_;
-        if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
-          to_bitField0_ |= 0x00000010;
-        }
-        result.familyName_ = familyName_;
-        if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
-          to_bitField0_ |= 0x00000020;
-        }
-        result.functionName_ = functionName_;
-        if (functionBuilder_ == null) {
-          if (((bitField0_ & 0x00000080) == 0x00000080)) {
-            function_ = java.util.Collections.unmodifiableList(function_);
-            bitField0_ = (bitField0_ & ~0x00000080);
-          }
-          result.function_ = function_;
-        } else {
-          result.function_ = functionBuilder_.build();
-        }
-        if (sharedTablesToDeleteBuilder_ == null) {
-          if (((bitField0_ & 0x00000100) == 0x00000100)) {
-            sharedTablesToDelete_ = java.util.Collections.unmodifiableList(sharedTablesToDelete_);
-            bitField0_ = (bitField0_ & ~0x00000100);
-          }
-          result.sharedTablesToDelete_ = sharedTablesToDelete_;
-        } else {
-          result.sharedTablesToDelete_ = sharedTablesToDeleteBuilder_.build();
-        }
-        if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
-          to_bitField0_ |= 0x00000040;
-        }
-        if (schemaBuilder_ == null) {
-          result.schema_ = schema_;
-        } else {
-          result.schema_ = schemaBuilder_.build();
-        }
-        if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
-          to_bitField0_ |= 0x00000080;
-        }
-        result.autoPartitionNum_ = autoPartitionNum_;
-        if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
-          to_bitField0_ |= 0x00000100;
-        }
-        result.viewIndexId_ = viewIndexId_;
-        if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
-          to_bitField0_ |= 0x00000200;
-        }
-        result.viewIndexIdType_ = viewIndexIdType_;
-        result.bitField0_ = to_bitField0_;
-        onBuilt();
-        return result;
-      }
-
-      public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse) {
-          return mergeFrom((org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse)other);
-        } else {
-          super.mergeFrom(other);
-          return this;
-        }
-      }
-
-      public Builder mergeFrom(org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse other) {
-        if (other == org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse.getDefaultInstance()) return this;
-        if (other.hasReturnCode()) {
-          setReturnCode(other.getReturnCode());
-        }
-        if (other.hasMutationTime()) {
-          setMutationTime(other.getMutationTime());
-        }
-        if (other.hasTable()) {
-          mergeTable(other.getTable());
-        }
-        if (!other.tablesToDelete_.isEmpty()) {
-          if (tablesToDelete_.isEmpty()) {
-            tablesToDelete_ = other.tablesToDelete_;
-            bitField0_ = (bitField0_ & ~0x00000008);
-          } else {
-            ensureTablesToDeleteIsMutable();
-            tablesToDelete_.addAll(other.tablesToDelete_);
-          }
-          onChanged();
-        }
-        if (other.hasColumnName()) {
-          setColumnName(other.getColumnName());
-        }
-        if (other.hasFamilyName()) {
-          setFamilyName(other.getFamilyName());
-        }
-        if (other.hasFunctionName()) {
-          setFunctionName(other.getFunctionName());
-        }
-        if (functionBuilder_ == null) {
-          if (!other.function_.isEmpty()) {
-            if (function_.isEmpty()) {
-              function_ = other.function_;
-              bitField0_ = (bitField0_ & ~0x00000080);
-            } else {
-              ensureFunctionIsMutable();
-              function_.addAll(other.function_);
-            }
-            onChanged();
-          }
-        } else {
-          if (!other.function_.isEmpty()) {
-            if (functionBuilder_.isEmpty()) {
-              functionBuilder_.dispose();
-              functionBuilder_ = null;
-              function_ = other.function_;
-              bitField0_ = (bitField0_ & ~0x00000080);
-              functionBuilder_ = 
-                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
-                   getFunctionFieldBuilder() : null;
-            } else {
-              functionBuilder_.addAllMessages(other.function_);
-            }
-          }
-        }
-        if (sharedTablesToDeleteBuilder_ == null) {
-          if (!other.sharedTablesToDelete_.isEmpty()) {
-            if (sharedTablesToDelete_.isEmpty()) {
-              sharedTablesToDelete_ = other.sharedTablesToDelete_;
-              bitField0_ = (bitField0_ & ~0x00000100);
-            } else {
-              ensureSharedTablesToDeleteIsMutable();
-              sharedTablesToDelete_.addAll(other.sharedTablesToDelete_);
-            }
-            onChanged();
-          }
-        } else {
-          if (!other.sharedTablesToDelete_.isEmpty()) {
-            if (sharedTablesToDeleteBuilder_.isEmpty()) {
-              sharedTablesToDeleteBuilder_.dispose();
-              sharedTablesToDeleteBuilder_ = null;
-              sharedTablesToDelete_ = other.sharedTablesToDelete_;
-              bitField0_ = (bitField0_ & ~0x00000100);
-              sharedTablesToDeleteBuilder_ = 
-                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
-                   getSharedTablesToDeleteFieldBuilder() : null;
-            } else {
-              sharedTablesToDeleteBuilder_.addAllMessages(other.sharedTablesToDelete_);
-            }
-          }
-        }
-        if (other.hasSchema()) {
-          mergeSchema(other.getSchema());
-        }
-        if (other.hasAutoPartitionNum()) {
-          setAutoPartitionNum(other.getAutoPartitionNum());
-        }
-        if (other.hasViewIndexId()) {
-          setViewIndexId(other.getViewIndexId());
-        }
-        if (other.hasViewIndexIdType()) {
-          setViewIndexIdType(other.getViewIndexIdType());
-        }
-        this.mergeUnknownFields(other.getUnknownFields());
-        return this;
-      }
-
-      public final boolean isInitialized() {
-        if (hasTable()) {
-          if (!getTable().isInitialized()) {
-            
-            return false;
-          }
-        }
-        for (int i = 0; i < getFunctionCount(); i++) {
-          if (!getFunction(i).isInitialized()) {
-            
-            return false;
-          }
-        }
-        for (int i = 0; i < getSharedTablesToDeleteCount(); i++) {
-          if (!getSharedTablesToDelete(i).isInitialized()) {
-            
-            return false;
-          }
-        }
-        if (hasSchema()) {
-          if (!getSchema().isInitialized()) {
-            
-            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.MetaDataProtos.MetaDataResponse parsedMessage = null;
-        try {
-          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse) e.getUnfinishedMessage();
-          throw e;
-        } finally {
-          if (parsedMessage != null) {
-            mergeFrom(parsedMessage);
-          }
-        }
-        return this;
-      }
-      private int bitField0_;
-
-      // optional .MutationCode returnCode = 1;
-      private org.apache.phoenix.coprocessor.generated.MetaDataProtos.MutationCode returnCode_ = org.apache.phoenix.coprocessor.generated.MetaDataProtos.MutationCode.TABLE_ALREADY_EXISTS;
-      /**
-       * <code>optional .MutationCode returnCode = 1;</code>
-       */
-      public boolean hasReturnCode() {
-        return ((bitField0_ & 0x00000001) == 0x00000001);
-      }
-      /**
-       * <code>optional .MutationCode returnCode = 1;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.MutationCode getReturnCode() {
-        return returnCode_;
-      }
-      /**
-       * <code>optional .MutationCode returnCode = 1;</code>
-       */
-      public Builder setReturnCode(org.apache.phoenix.coprocessor.generated.MetaDataProtos.MutationCode value) {
-        if (value == null) {
-          throw new NullPointerException();
-        }
-        bitField0_ |= 0x00000001;
-        returnCode_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional .MutationCode returnCode = 1;</code>
-       */
-      public Builder clearReturnCode() {
-        bitField0_ = (bitField0_ & ~0x00000001);
-        returnCode_ = org.apache.phoenix.coprocessor.generated.MetaDataProtos.MutationCode.TABLE_ALREADY_EXISTS;
-        onChanged();
-        return this;
-      }
-
-      // optional int64 mutationTime = 2;
-      private long mutationTime_ ;
-      /**
-       * <code>optional int64 mutationTime = 2;</code>
-       */
-      public boolean hasMutationTime() {
-        return ((bitField0_ & 0x00000002) == 0x00000002);
-      }
-      /**
-       * <code>optional int64 mutationTime = 2;</code>
-       */
-      public long getMutationTime() {
-        return mutationTime_;
-      }
-      /**
-       * <code>optional int64 mutationTime = 2;</code>
-       */
-      public Builder setMutationTime(long value) {
-        bitField0_ |= 0x00000002;
-        mutationTime_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional int64 mutationTime = 2;</code>
-       */
-      public Builder clearMutationTime() {
-        bitField0_ = (bitField0_ & ~0x00000002);
-        mutationTime_ = 0L;
-        onChanged();
-        return this;
-      }
-
-      // optional .PTable table = 3;
-      private org.apache.phoenix.coprocessor.generated.PTableProtos.PTable table_ = org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.getDefaultInstance();
-      private com.google.protobuf.SingleFieldBuilder<
-          org.apache.phoenix.coprocessor.generated.PTableProtos.PTable, org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.Builder, org.apache.phoenix.coprocessor.generated.PTableProtos.PTableOrBuilder> tableBuilder_;
-      /**
-       * <code>optional .PTable table = 3;</code>
-       */
-      public boolean hasTable() {
-        return ((bitField0_ & 0x00000004) == 0x00000004);
-      }
-      /**
-       * <code>optional .PTable table = 3;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PTableProtos.PTable getTable() {
-        if (tableBuilder_ == null) {
-          return table_;
-        } else {
-          return tableBuilder_.getMessage();
-        }
-      }
-      /**
-       * <code>optional .PTable table = 3;</code>
-       */
-      public Builder setTable(org.apache.phoenix.coprocessor.generated.PTableProtos.PTable value) {
-        if (tableBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          table_ = value;
-          onChanged();
-        } else {
-          tableBuilder_.setMessage(value);
-        }
-        bitField0_ |= 0x00000004;
-        return this;
-      }
-      /**
-       * <code>optional .PTable table = 3;</code>
-       */
-      public Builder setTable(
-          org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.Builder builderForValue) {
-        if (tableBuilder_ == null) {
-          table_ = builderForValue.build();
-          onChanged();
-        } else {
-          tableBuilder_.setMessage(builderForValue.build());
-        }
-        bitField0_ |= 0x00000004;
-        return this;
-      }
-      /**
-       * <code>optional .PTable table = 3;</code>
-       */
-      public Builder mergeTable(org.apache.phoenix.coprocessor.generated.PTableProtos.PTable value) {
-        if (tableBuilder_ == null) {
-          if (((bitField0_ & 0x00000004) == 0x00000004) &&
-              table_ != org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.getDefaultInstance()) {
-            table_ =
-              org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.newBuilder(table_).mergeFrom(value).buildPartial();
-          } else {
-            table_ = value;
-          }
-          onChanged();
-        } else {
-          tableBuilder_.mergeFrom(value);
-        }
-        bitField0_ |= 0x00000004;
-        return this;
-      }
-      /**
-       * <code>optional .PTable table = 3;</code>
-       */
-      public Builder clearTable() {
-        if (tableBuilder_ == null) {
-          table_ = org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.getDefaultInstance();
-          onChanged();
-        } else {
-          tableBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000004);
-        return this;
-      }
-      /**
-       * <code>optional .PTable table = 3;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.Builder getTableBuilder() {
-        bitField0_ |= 0x00000004;
-        onChanged();
-        return getTableFieldBuilder().getBuilder();
-      }
-      /**
-       * <code>optional .PTable table = 3;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PTableProtos.PTableOrBuilder getTableOrBuilder() {
-        if (tableBuilder_ != null) {
-          return tableBuilder_.getMessageOrBuilder();
-        } else {
-          return table_;
-        }
-      }
-      /**
-       * <code>optional .PTable table = 3;</code>
-       */
-      private com.google.protobuf.SingleFieldBuilder<
-          org.apache.phoenix.coprocessor.generated.PTableProtos.PTable, org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.Builder, org.apache.phoenix.coprocessor.generated.PTableProtos.PTableOrBuilder> 
-          getTableFieldBuilder() {
-        if (tableBuilder_ == null) {
-          tableBuilder_ = new com.google.protobuf.SingleFieldBuilder<
-              org.apache.phoenix.coprocessor.generated.PTableProtos.PTable, org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.Builder, org.apache.phoenix.coprocessor.generated.PTableProtos.PTableOrBuilder>(
-                  table_,
-                  getParentForChildren(),
-                  isClean());
-          table_ = null;
-        }
-        return tableBuilder_;
-      }
-
-      // repeated bytes tablesToDelete = 4;
-      private java.util.List<com.google.protobuf.ByteString> tablesToDelete_ = java.util.Collections.emptyList();
-      private void ensureTablesToDeleteIsMutable() {
-        if (!((bitField0_ & 0x00000008) == 0x00000008)) {
-          tablesToDelete_ = new java.util.ArrayList<com.google.protobuf.ByteString>(tablesToDelete_);
-          bitField0_ |= 0x00000008;
-         }
-      }
-      /**
-       * <code>repeated bytes tablesToDelete = 4;</code>
-       */
-      public java.util.List<com.google.protobuf.ByteString>
-          getTablesToDeleteList() {
-        return java.util.Collections.unmodifiableList(tablesToDelete_);
-      }
-      /**
-       * <code>repeated bytes tablesToDelete = 4;</code>
-       */
-      public int getTablesToDeleteCount() {
-        return tablesToDelete_.size();
-      }
-      /**
-       * <code>repeated bytes tablesToDelete = 4;</code>
-       */
-      public com.google.protobuf.ByteString getTablesToDelete(int index) {
-        return tablesToDelete_.get(index);
-      }
-      /**
-       * <code>repeated bytes tablesToDelete = 4;</code>
-       */
-      public Builder setTablesToDelete(
-          int index, com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureTablesToDeleteIsMutable();
-        tablesToDelete_.set(index, value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated bytes tablesToDelete = 4;</code>
-       */
-      public Builder addTablesToDelete(com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureTablesToDeleteIsMutable();
-        tablesToDelete_.add(value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated bytes tablesToDelete = 4;</code>
-       */
-      public Builder addAllTablesToDelete(
-          java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
-        ensureTablesToDeleteIsMutable();
-        super.addAll(values, tablesToDelete_);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated bytes tablesToDelete = 4;</code>
-       */
-      public Builder clearTablesToDelete() {
-        tablesToDelete_ = java.util.Collections.emptyList();
-        bitField0_ = (bitField0_ & ~0x00000008);
-        onChanged();
-        return this;
-      }
-
-      // optional bytes columnName = 5;
-      private com.google.protobuf.ByteString columnName_ = com.google.protobuf.ByteString.EMPTY;
-      /**
-       * <code>optional bytes columnName = 5;</code>
-       */
-      public boolean hasColumnName() {
-        return ((bitField0_ & 0x00000010) == 0x00000010);
-      }
-      /**
-       * <code>optional bytes columnName = 5;</code>
-       */
-      public com.google.protobuf.ByteString getColumnName() {
-        return columnName_;
-      }
-      /**
-       * <code>optional bytes columnName = 5;</code>
-       */
-      public Builder setColumnName(com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000010;
-        columnName_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional bytes columnName = 5;</code>
-       */
-      public Builder clearColumnName() {
-        bitField0_ = (bitField0_ & ~0x00000010);
-        columnName_ = getDefaultInstance().getColumnName();
-        onChanged();
-        return this;
-      }
-
-      // optional bytes familyName = 6;
-      private com.google.protobuf.ByteString familyName_ = com.google.protobuf.ByteString.EMPTY;
-      /**
-       * <code>optional bytes familyName = 6;</code>
-       */
-      public boolean hasFamilyName() {
-        return ((bitField0_ & 0x00000020) == 0x00000020);
-      }
-      /**
-       * <code>optional bytes familyName = 6;</code>
-       */
-      public com.google.protobuf.ByteString getFamilyName() {
-        return familyName_;
-      }
-      /**
-       * <code>optional bytes familyName = 6;</code>
-       */
-      public Builder setFamilyName(com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000020;
-        familyName_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional bytes familyName = 6;</code>
-       */
-      public Builder clearFamilyName() {
-        bitField0_ = (bitField0_ & ~0x00000020);
-        familyName_ = getDefaultInstance().getFamilyName();
-        onChanged();
-        return this;
-      }
-
-      // optional bytes functionName = 7;
-      private com.google.protobuf.ByteString functionName_ = com.google.protobuf.ByteString.EMPTY;
-      /**
-       * <code>optional bytes functionName = 7;</code>
-       */
-      public boolean hasFunctionName() {
-        return ((bitField0_ & 0x00000040) == 0x00000040);
-      }
-      /**
-       * <code>optional bytes functionName = 7;</code>
-       */
-      public com.google.protobuf.ByteString getFunctionName() {
-        return functionName_;
-      }
-      /**
-       * <code>optional bytes functionName = 7;</code>
-       */
-      public Builder setFunctionName(com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000040;
-        functionName_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional bytes functionName = 7;</code>
-       */
-      public Builder clearFunctionName() {
-        bitField0_ = (bitField0_ & ~0x00000040);
-        functionName_ = getDefaultInstance().getFunctionName();
-        onChanged();
-        return this;
-      }
-
-      // repeated .PFunction function = 8;
-      private java.util.List<org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction> function_ =
-        java.util.Collections.emptyList();
-      private void ensureFunctionIsMutable() {
-        if (!((bitField0_ & 0x00000080) == 0x00000080)) {
-          function_ = new java.util.ArrayList<org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction>(function_);
-          bitField0_ |= 0x00000080;
-         }
-      }
-
-      private com.google.protobuf.RepeatedFieldBuilder<
-          org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction, org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction.Builder, org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunctionOrBuilder> functionBuilder_;
-
-      /**
-       * <code>repeated .PFunction function = 8;</code>
-       */
-      public java.util.List<org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction> getFunctionList() {
-        if (functionBuilder_ == null) {
-          return java.util.Collections.unmodifiableList(function_);
-        } else {
-          return functionBuilder_.getMessageList();
-        }
-      }
-      /**
-       * <code>repeated .PFunction function = 8;</code>
-       */
-      public int getFunctionCount() {
-        if (functionBuilder_ == null) {
-          return function_.size();
-        } else {
-          return functionBuilder_.getCount();
-        }
-      }
-      /**
-       * <code>repeated .PFunction function = 8;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction getFunction(int index) {
-        if (functionBuilder_ == null) {
-          return function_.get(index);
-        } else {
-          return functionBuilder_.getMessage(index);
-        }
-      }
-      /**
-       * <code>repeated .PFunction function = 8;</code>
-       */
-      public Builder setFunction(
-          int index, org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction value) {
-        if (functionBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureFunctionIsMutable();
-          function_.set(index, value);
-          onChanged();
-        } else {
-          functionBuilder_.setMessage(index, value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PFunction function = 8;</code>
-       */
-      public Builder setFunction(
-          int index, org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction.Builder builderForValue) {
-        if (functionBuilder_ == null) {
-          ensureFunctionIsMutable();
-          function_.set(index, builderForValue.build());
-          onChanged();
-        } else {
-          functionBuilder_.setMessage(index, builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PFunction function = 8;</code>
-       */
-      public Builder addFunction(org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction value) {
-        if (functionBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureFunctionIsMutable();
-          function_.add(value);
-          onChanged();
-        } else {
-          functionBuilder_.addMessage(value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PFunction function = 8;</code>
-       */
-      public Builder addFunction(
-          int index, org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction value) {
-        if (functionBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureFunctionIsMutable();
-          function_.add(index, value);
-          onChanged();
-        } else {
-          functionBuilder_.addMessage(index, value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PFunction function = 8;</code>
-       */
-      public Builder addFunction(
-          org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction.Builder builderForValue) {
-        if (functionBuilder_ == null) {
-          ensureFunctionIsMutable();
-          function_.add(builderForValue.build());
-          onChanged();
-        } else {
-          functionBuilder_.addMessage(builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PFunction function = 8;</code>
-       */
-      public Builder addFunction(
-          int index, org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction.Builder builderForValue) {
-        if (functionBuilder_ == null) {
-          ensureFunctionIsMutable();
-          function_.add(index, builderForValue.build());
-          onChanged();
-        } else {
-          functionBuilder_.addMessage(index, builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PFunction function = 8;</code>
-       */
-      public Builder addAllFunction(
-          java.lang.Iterable<? extends org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction> values) {
-        if (functionBuilder_ == null) {
-          ensureFunctionIsMutable();
-          super.addAll(values, function_);
-          onChanged();
-        } else {
-          functionBuilder_.addAllMessages(values);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PFunction function = 8;</code>
-       */
-      public Builder clearFunction() {
-        if (functionBuilder_ == null) {
-          function_ = java.util.Collections.emptyList();
-          bitField0_ = (bitField0_ & ~0x00000080);
-          onChanged();
-        } else {
-          functionBuilder_.clear();
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PFunction function = 8;</code>
-       */
-      public Builder removeFunction(int index) {
-        if (functionBuilder_ == null) {
-          ensureFunctionIsMutable();
-          function_.remove(index);
-          onChanged();
-        } else {
-          functionBuilder_.remove(index);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .PFunction function = 8;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction.Builder getFunctionBuilder(
-          int index) {
-        return getFunctionFieldBuilder().getBuilder(index);
-      }
-      /**
-       * <code>repeated .PFunction function = 8;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunctionOrBuilder getFunctionOrBuilder(
-          int index) {
-        if (functionBuilder_ == null) {
-          return function_.get(index);  } else {
-          return functionBuilder_.getMessageOrBuilder(index);
-        }
-      }
-      /**
-       * <code>repeated .PFunction function = 8;</code>
-       */
-      public java.util.List<? extends org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunctionOrBuilder> 
-           getFunctionOrBuilderList() {
-        if (functionBuilder_ != null) {
-          return functionBuilder_.getMessageOrBuilderList();
-        } else {
-          return java.util.Collections.unmodifiableList(function_);
-        }
-      }
-      /**
-       * <code>repeated .PFunction function = 8;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction.Builder addFunctionBuilder() {
-        return getFunctionFieldBuilder().addBuilder(
-            org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction.getDefaultInstance());
-      }
-      /**
-       * <code>repeated .PFunction function = 8;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction.Builder addFunctionBuilder(
-          int index) {
-        return getFunctionFieldBuilder().addBuilder(
-            index, org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction.getDefaultInstance());
-      }
-      /**
-       * <code>repeated .PFunction function = 8;</code>
-       */
-      public java.util.List<org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction.Builder> 
-           getFunctionBuilderList() {
-        return getFunctionFieldBuilder().getBuilderList();
-      }
-      private com.google.protobuf.RepeatedFieldBuilder<
-          org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction, org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction.Builder, org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunctionOrBuilder> 
-          getFunctionFieldBuilder() {
-        if (functionBuilder_ == null) {
-          functionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
-              org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction, org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunction.Builder, org.apache.phoenix.coprocessor.generated.PFunctionProtos.PFunctionOrBuilder>(
-                  function_,
-                  ((bitField0_ & 0x00000080) == 0x00000080),
-                  getParentForChildren(),
-                  isClean());
-          function_ = null;
-        }
-        return functionBuilder_;
-      }
-
-      // repeated .SharedTableState sharedTablesToDelete = 9;
-      private java.util.List<org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState> sharedTablesToDelete_ =
-        java.util.Collections.emptyList();
-      private void ensureSharedTablesToDeleteIsMutable() {
-        if (!((bitField0_ & 0x00000100) == 0x00000100)) {
-          sharedTablesToDelete_ = new java.util.ArrayList<org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState>(sharedTablesToDelete_);
-          bitField0_ |= 0x00000100;
-         }
-      }
-
-      private com.google.protobuf.RepeatedFieldBuilder<
-          org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState, org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState.Builder, org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableStateOrBuilder> sharedTablesToDeleteBuilder_;
-
-      /**
-       * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-       */
-      public java.util.List<org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState> getSharedTablesToDeleteList() {
-        if (sharedTablesToDeleteBuilder_ == null) {
-          return java.util.Collections.unmodifiableList(sharedTablesToDelete_);
-        } else {
-          return sharedTablesToDeleteBuilder_.getMessageList();
-        }
-      }
-      /**
-       * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-       */
-      public int getSharedTablesToDeleteCount() {
-        if (sharedTablesToDeleteBuilder_ == null) {
-          return sharedTablesToDelete_.size();
-        } else {
-          return sharedTablesToDeleteBuilder_.getCount();
-        }
-      }
-      /**
-       * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState getSharedTablesToDelete(int index) {
-        if (sharedTablesToDeleteBuilder_ == null) {
-          return sharedTablesToDelete_.get(index);
-        } else {
-          return sharedTablesToDeleteBuilder_.getMessage(index);
-        }
-      }
-      /**
-       * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-       */
-      public Builder setSharedTablesToDelete(
-          int index, org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState value) {
-        if (sharedTablesToDeleteBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureSharedTablesToDeleteIsMutable();
-          sharedTablesToDelete_.set(index, value);
-          onChanged();
-        } else {
-          sharedTablesToDeleteBuilder_.setMessage(index, value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-       */
-      public Builder setSharedTablesToDelete(
-          int index, org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState.Builder builderForValue) {
-        if (sharedTablesToDeleteBuilder_ == null) {
-          ensureSharedTablesToDeleteIsMutable();
-          sharedTablesToDelete_.set(index, builderForValue.build());
-          onChanged();
-        } else {
-          sharedTablesToDeleteBuilder_.setMessage(index, builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-       */
-      public Builder addSharedTablesToDelete(org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState value) {
-        if (sharedTablesToDeleteBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureSharedTablesToDeleteIsMutable();
-          sharedTablesToDelete_.add(value);
-          onChanged();
-        } else {
-          sharedTablesToDeleteBuilder_.addMessage(value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-       */
-      public Builder addSharedTablesToDelete(
-          int index, org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState value) {
-        if (sharedTablesToDeleteBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          ensureSharedTablesToDeleteIsMutable();
-          sharedTablesToDelete_.add(index, value);
-          onChanged();
-        } else {
-          sharedTablesToDeleteBuilder_.addMessage(index, value);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-       */
-      public Builder addSharedTablesToDelete(
-          org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState.Builder builderForValue) {
-        if (sharedTablesToDeleteBuilder_ == null) {
-          ensureSharedTablesToDeleteIsMutable();
-          sharedTablesToDelete_.add(builderForValue.build());
-          onChanged();
-        } else {
-          sharedTablesToDeleteBuilder_.addMessage(builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-       */
-      public Builder addSharedTablesToDelete(
-          int index, org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState.Builder builderForValue) {
-        if (sharedTablesToDeleteBuilder_ == null) {
-          ensureSharedTablesToDeleteIsMutable();
-          sharedTablesToDelete_.add(index, builderForValue.build());
-          onChanged();
-        } else {
-          sharedTablesToDeleteBuilder_.addMessage(index, builderForValue.build());
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-       */
-      public Builder addAllSharedTablesToDelete(
-          java.lang.Iterable<? extends org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState> values) {
-        if (sharedTablesToDeleteBuilder_ == null) {
-          ensureSharedTablesToDeleteIsMutable();
-          super.addAll(values, sharedTablesToDelete_);
-          onChanged();
-        } else {
-          sharedTablesToDeleteBuilder_.addAllMessages(values);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-       */
-      public Builder clearSharedTablesToDelete() {
-        if (sharedTablesToDeleteBuilder_ == null) {
-          sharedTablesToDelete_ = java.util.Collections.emptyList();
-          bitField0_ = (bitField0_ & ~0x00000100);
-          onChanged();
-        } else {
-          sharedTablesToDeleteBuilder_.clear();
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-       */
-      public Builder removeSharedTablesToDelete(int index) {
-        if (sharedTablesToDeleteBuilder_ == null) {
-          ensureSharedTablesToDeleteIsMutable();
-          sharedTablesToDelete_.remove(index);
-          onChanged();
-        } else {
-          sharedTablesToDeleteBuilder_.remove(index);
-        }
-        return this;
-      }
-      /**
-       * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState.Builder getSharedTablesToDeleteBuilder(
-          int index) {
-        return getSharedTablesToDeleteFieldBuilder().getBuilder(index);
-      }
-      /**
-       * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableStateOrBuilder getSharedTablesToDeleteOrBuilder(
-          int index) {
-        if (sharedTablesToDeleteBuilder_ == null) {
-          return sharedTablesToDelete_.get(index);  } else {
-          return sharedTablesToDeleteBuilder_.getMessageOrBuilder(index);
-        }
-      }
-      /**
-       * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-       */
-      public java.util.List<? extends org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableStateOrBuilder> 
-           getSharedTablesToDeleteOrBuilderList() {
-        if (sharedTablesToDeleteBuilder_ != null) {
-          return sharedTablesToDeleteBuilder_.getMessageOrBuilderList();
-        } else {
-          return java.util.Collections.unmodifiableList(sharedTablesToDelete_);
-        }
-      }
-      /**
-       * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState.Builder addSharedTablesToDeleteBuilder() {
-        return getSharedTablesToDeleteFieldBuilder().addBuilder(
-            org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState.getDefaultInstance());
-      }
-      /**
-       * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState.Builder addSharedTablesToDeleteBuilder(
-          int index) {
-        return getSharedTablesToDeleteFieldBuilder().addBuilder(
-            index, org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState.getDefaultInstance());
-      }
-      /**
-       * <code>repeated .SharedTableState sharedTablesToDelete = 9;</code>
-       */
-      public java.util.List<org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState.Builder> 
-           getSharedTablesToDeleteBuilderList() {
-        return getSharedTablesToDeleteFieldBuilder().getBuilderList();
-      }
-      private com.google.protobuf.RepeatedFieldBuilder<
-          org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState, org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState.Builder, org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableStateOrBuilder> 
-          getSharedTablesToDeleteFieldBuilder() {
-        if (sharedTablesToDeleteBuilder_ == null) {
-          sharedTablesToDeleteBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
-              org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState, org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableState.Builder, org.apache.phoenix.coprocessor.generated.MetaDataProtos.SharedTableStateOrBuilder>(
-                  sharedTablesToDelete_,
-                  ((bitField0_ & 0x00000100) == 0x00000100),
-                  getParentForChildren(),
-                  isClean());
-          sharedTablesToDelete_ = null;
-        }
-        return sharedTablesToDeleteBuilder_;
-      }
-
-      // optional .PSchema schema = 10;
-      private org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema schema_ = org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema.getDefaultInstance();
-      private com.google.protobuf.SingleFieldBuilder<
-          org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema, org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema.Builder, org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchemaOrBuilder> schemaBuilder_;
-      /**
-       * <code>optional .PSchema schema = 10;</code>
-       */
-      public boolean hasSchema() {
-        return ((bitField0_ & 0x00000200) == 0x00000200);
-      }
-      /**
-       * <code>optional .PSchema schema = 10;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema getSchema() {
-        if (schemaBuilder_ == null) {
-          return schema_;
-        } else {
-          return schemaBuilder_.getMessage();
-        }
-      }
-      /**
-       * <code>optional .PSchema schema = 10;</code>
-       */
-      public Builder setSchema(org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema value) {
-        if (schemaBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          schema_ = value;
-          onChanged();
-        } else {
-          schemaBuilder_.setMessage(value);
-        }
-        bitField0_ |= 0x00000200;
-        return this;
-      }
-      /**
-       * <code>optional .PSchema schema = 10;</code>
-       */
-      public Builder setSchema(
-          org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema.Builder builderForValue) {
-        if (schemaBuilder_ == null) {
-          schema_ = builderForValue.build();
-          onChanged();
-        } else {
-          schemaBuilder_.setMessage(builderForValue.build());
-        }
-        bitField0_ |= 0x00000200;
-        return this;
-      }
-      /**
-       * <code>optional .PSchema schema = 10;</code>
-       */
-      public Builder mergeSchema(org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema value) {
-        if (schemaBuilder_ == null) {
-          if (((bitField0_ & 0x00000200) == 0x00000200) &&
-              schema_ != org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema.getDefaultInstance()) {
-            schema_ =
-              org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema.newBuilder(schema_).mergeFrom(value).buildPartial();
-          } else {
-            schema_ = value;
-          }
-          onChanged();
-        } else {
-          schemaBuilder_.mergeFrom(value);
-        }
-        bitField0_ |= 0x00000200;
-        return this;
-      }
-      /**
-       * <code>optional .PSchema schema = 10;</code>
-       */
-      public Builder clearSchema() {
-        if (schemaBuilder_ == null) {
-          schema_ = org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema.getDefaultInstance();
-          onChanged();
-        } else {
-          schemaBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000200);
-        return this;
-      }
-      /**
-       * <code>optional .PSchema schema = 10;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema.Builder getSchemaBuilder() {
-        bitField0_ |= 0x00000200;
-        onChanged();
-        return getSchemaFieldBuilder().getBuilder();
-      }
-      /**
-       * <code>optional .PSchema schema = 10;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchemaOrBuilder getSchemaOrBuilder() {
-        if (schemaBuilder_ != null) {
-          return schemaBuilder_.getMessageOrBuilder();
-        } else {
-          return schema_;
-        }
-      }
-      /**
-       * <code>optional .PSchema schema = 10;</code>
-       */
-      private com.google.protobuf.SingleFieldBuilder<
-          org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema, org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema.Builder, org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchemaOrBuilder> 
-          getSchemaFieldBuilder() {
-        if (schemaBuilder_ == null) {
-          schemaBuilder_ = new com.google.protobuf.SingleFieldBuilder<
-              org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema, org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchema.Builder, org.apache.phoenix.coprocessor.generated.PSchemaProtos.PSchemaOrBuilder>(
-                  schema_,
-                  getParentForChildren(),
-                  isClean());
-          schema_ = null;
-        }
-        return schemaBuilder_;
-      }
-
-      // optional int64 autoPartitionNum = 11;
-      private long autoPartitionNum_ ;
-      /**
-       * <code>optional int64 autoPartitionNum = 11;</code>
-       */
-      public boolean hasAutoPartitionNum() {
-        return ((bitField0_ & 0x00000400) == 0x00000400);
-      }
-      /**
-       * <code>optional int64 autoPartitionNum = 11;</code>
-       */
-      public long getAutoPartitionNum() {
-        return autoPartitionNum_;
-      }
-      /**
-       * <code>optional int64 autoPartitionNum = 11;</code>
-       */
-      public Builder setAutoPartitionNum(long value) {
-        bitField0_ |= 0x00000400;
-        autoPartitionNum_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional int64 autoPartitionNum = 11;</code>
-       */
-      public Builder clearAutoPartitionNum() {
-        bitField0_ = (bitField0_ & ~0x00000400);
-        autoPartitionNum_ = 0L;
-        onChanged();
-        return this;
-      }
-
-      // optional int64 viewIndexId = 12;
-      private long viewIndexId_ ;
-      /**
-       * <code>optional int64 viewIndexId = 12;</code>
-       */
-      public boolean hasViewIndexId() {
-        return ((bitField0_ & 0x00000800) == 0x00000800);
-      }
-      /**
-       * <code>optional int64 viewIndexId = 12;</code>
-       */
-      public long getViewIndexId() {
-        return viewIndexId_;
-      }
-      /**
-       * <code>optional int64 viewIndexId = 12;</code>
-       */
-      public Builder setViewIndexId(long value) {
-        bitField0_ |= 0x00000800;
-        viewIndexId_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional int64 viewIndexId = 12;</code>
-       */
-      public Builder clearViewIndexId() {
-        bitField0_ = (bitField0_ & ~0x00000800);
-        viewIndexId_ = 0L;
-        onChanged();
-        return this;
-      }
-
-      // optional int32 viewIndexIdType = 13 [default = 5];
-      private int viewIndexIdType_ = 5;
-      /**
-       * <code>optional int32 viewIndexIdType = 13 [default = 5];</code>
-       */
-      public boolean hasViewIndexIdType() {
-        return ((bitField0_ & 0x00001000) == 0x00001000);
-      }
-      /**
-       * <code>optional int32 viewIndexIdType = 13 [default = 5];</code>
-       */
-      public int getViewIndexIdType() {
-        return viewIndexIdType_;
-      }
-      /**
-       * <code>optional int32 viewIndexIdType = 13 [default = 5];</code>
-       */
-      public Builder setViewIndexIdType(int value) {
-        bitField0_ |= 0x00001000;
-        viewIndexIdType_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional int32 viewIndexIdType = 13 [default = 5];</code>
-       */
-      public Builder clearViewIndexIdType() {
-        bitField0_ = (bitField0_ & ~0x00001000);
-        viewIndexIdType_ = 5;
-        onChanged();
-        return this;
-      }
-
-      // @@protoc_insertion_point(builder_scope:MetaDataResponse)
-    }
-
-    static {
-      defaultInstance = new MetaDataResponse(true);
-      defaultInstance.initFields();
-    }
-
-    // @@protoc_insertion_point(class_scope:MetaDataResponse)
-  }
-
-  public interface GetTableRequestOrBuilder
-      extends com.google.protobuf.MessageOrBuilder {
-
-    // required bytes tenantId = 1;
-    /**
-     * <code>required bytes tenantId = 1;</code>
-     */
-    boolean hasTenantId();
-    /**
-     * <code>required bytes tenantId = 1;</code>
-     */
-    com.google.protobuf.ByteString getTenantId();
-
-    // required bytes schemaName = 2;
-    /**
-     * <code>required bytes schemaName = 2;</code>
-     */
-    boolean hasSchemaName();
-    /**
-     * <code>required bytes schemaName = 2;</code>
-     */
-    com.google.protobuf.ByteString getSchemaName();
-
-    // required bytes tableName = 3;
-    /**
-     * <code>required bytes tableName = 3;</code>
-     */
-    boolean hasTableName();
-    /**
-     * <code>required bytes tableName = 3;</code>
-     */
-    com.google.protobuf.ByteString getTableName();
-
-    // required int64 tableTimestamp = 4;
-    /**
-     * <code>required int64 tableTimestamp = 4;</code>
-     */
-    boolean hasTableTimestamp();
-    /**
-     * <code>required int64 tableTimestamp = 4;</code>
-     */
-    long getTableTimestamp();
-
-    // required int64 clientTimestamp = 5;
-    /**
-     * <code>required int64 clientTimestamp = 5;</code>
-     */
-    boolean hasClientTimestamp();
-    /**
-     * <code>required int64 clientTimestamp = 5;</code>
-     */
-    long getClientTimestamp();
-
-    // optional int32 clientVersion = 6;
-    /**
-     * <code>optional int32 clientVersion = 6;</code>
-     */
-    boolean hasClientVersion();
-    /**
-     * <code>optional int32 clientVersion = 6;</code>
-     */
-    int getClientVersion();
-  }
-  /**
-   * Protobuf type {@code GetTableRequest}
-   */
-  public static final class GetTableRequest extends
-      com.google.protobuf.GeneratedMessage
-      implements GetTableRequestOrBuilder {
-    // Use GetTableRequest.newBuilder() to construct.
-    private GetTableRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
-      super(builder);
-      this.unknownFields = builder.getUnknownFields();
-    }
-    private GetTableRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-    private static final GetTableRequest defaultInstance;
-    public static GetTableRequest getDefaultInstance() {
-      return defaultInstance;
-    }
-
-    public GetTableRequest getDefaultInstanceForType() {
-      return defaultInstance;
-    }
-
-    private final com.google.protobuf.UnknownFieldSet unknownFields;
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
-      return this.unknownFields;
-    }
-    private GetTableRequest(
-        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;
-              tenantId_ = input.readBytes();
-              break;
-            }
-            case 18: {
-              bitField0_ |= 0x00000002;
-              schemaName_ = input.readBytes();
-              break;
-            }
-            case 26: {
-              bitField0_ |= 0x00000004;
-              tableName_ = input.readBytes();
-              break;
-            }
-            case 32: {
-              bitField0_ |= 0x00000008;
-              tableTimestamp_ = input.readInt64();
-              break;
-            }
-            case 40: {
-              bitField0_ |= 0x00000010;
-              clientTimestamp_ = input.readInt64();
-              break;
-            }
-            case 48: {
-              bitField0_ |= 0x00000020;
-              clientVersion_ = 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.MetaDataProtos.internal_static_GetTableRequest_descriptor;
-    }
-
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-        internalGetFieldAccessorTable() {
-      return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_GetTableRequest_fieldAccessorTable
-          .ensureFieldAccessorsInitialized(
-              org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest.class, org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest.Builder.class);
-    }
-
-    public static com.google.protobuf.Parser<GetTableRequest> PARSER =
-        new com.google.protobuf.AbstractParser<GetTableRequest>() {
-      public GetTableRequest parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new GetTableRequest(input, extensionRegistry);
-      }
-    };
-
-    @java.lang.Override
-    public com.google.protobuf.Parser<GetTableRequest> getParserForType() {
-      return PARSER;
-    }
-
-    private int bitField0_;
-    // required bytes tenantId = 1;
-    public static final int TENANTID_FIELD_NUMBER = 1;
-    private com.google.protobuf.ByteString tenantId_;
-    /**
-     * <code>required bytes tenantId = 1;</code>
-     */
-    public boolean hasTenantId() {
-      return ((bitField0_ & 0x00000001) == 0x00000001);
-    }
-    /**
-     * <code>required bytes tenantId = 1;</code>
-     */
-    public com.google.protobuf.ByteString getTenantId() {
-      return tenantId_;
-    }
-
-    // required bytes schemaName = 2;
-    public static final int SCHEMANAME_FIELD_NUMBER = 2;
-    private com.google.protobuf.ByteString schemaName_;
-    /**
-     * <code>required bytes schemaName = 2;</code>
-     */
-    public boolean hasSchemaName() {
-      return ((bitField0_ & 0x00000002) == 0x00000002);
-    }
-    /**
-     * <code>required bytes schemaName = 2;</code>
-     */
-    public com.google.protobuf.ByteString getSchemaName() {
-      return schemaName_;
-    }
-
-    // required bytes tableName = 3;
-    public static final int TABLENAME_FIELD_NUMBER = 3;
-    private com.google.protobuf.ByteString tableName_;
-    /**
-     * <code>required bytes tableName = 3;</code>
-     */
-    public boolean hasTableName() {
-      return ((bitField0_ & 0x00000004) == 0x00000004);
-    }
-    /**
-     * <code>required bytes tableName = 3;</code>
-     */
-    public com.google.protobuf.ByteString getTableName() {
-      return tableName_;
-    }
-
-    // required int64 tableTimestamp = 4;
-    public static final int TABLETIMESTAMP_FIELD_NUMBER = 4;
-    private long tableTimestamp_;
-    /**
-     * <code>required int64 tableTimestamp = 4;</code>
-     */
-    public boolean hasTableTimestamp() {
-      return ((bitField0_ & 0x00000008) == 0x00000008);
-    }
-    /**
-     * <code>required int64 tableTimestamp = 4;</code>
-     */
-    public long getTableTimestamp() {
-      return tableTimestamp_;
-    }
-
-    // required int64 clientTimestamp = 5;
-    public static final int CLIENTTIMESTAMP_FIELD_NUMBER = 5;
-    private long clientTimestamp_;
-    /**
-     * <code>required int64 clientTimestamp = 5;</code>
-     */
-    public boolean hasClientTimestamp() {
-      return ((bitField0_ & 0x00000010) == 0x00000010);
-    }
-    /**
-     * <code>required int64 clientTimestamp = 5;</code>
-     */
-    public long getClientTimestamp() {
-      return clientTimestamp_;
-    }
-
-    // optional int32 clientVersion = 6;
-    public static final int CLIENTVERSION_FIELD_NUMBER = 6;
-    private int clientVersion_;
-    /**
-     * <code>optional int32 clientVersion = 6;</code>
-     */
-    public boolean hasClientVersion() {
-      return ((bitField0_ & 0x00000020) == 0x00000020);
-    }
-    /**
-     * <code>optional int32 clientVersion = 6;</code>
-     */
-    public int getClientVersion() {
-      return clientVersion_;
-    }
-
-    private void initFields() {
-      tenantId_ = com.google.protobuf.ByteString.EMPTY;
-      schemaName_ = com.google.protobuf.ByteString.EMPTY;
-      tableName_ = com.google.protobuf.ByteString.EMPTY;
-      tableTimestamp_ = 0L;
-      clientTimestamp_ = 0L;
-      clientVersion_ = 0;
-    }
-    private byte memoizedIsInitialized = -1;
-    public final boolean isInitialized() {
-      byte isInitialized = memoizedIsInitialized;
-      if (isInitialized != -1) return isInitialized == 1;
-
-      if (!hasTenantId()) {
-        memoizedIsInitialized = 0;
-        return false;
-      }
-      if (!hasSchemaName()) {
-        memoizedIsInitialized = 0;
-        return false;
-      }
-      if (!hasTableName()) {
-        memoizedIsInitialized = 0;
-        return false;
-      }
-      if (!hasTableTimestamp()) {
-        memoizedIsInitialized = 0;
-        return false;
-      }
-      if (!hasClientTimestamp()) {
-        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, tenantId_);
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        output.writeBytes(2, schemaName_);
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        output.writeBytes(3, tableName_);
-      }
-      if (((bitField0_ & 0x00000008) == 0x00000008)) {
-        output.writeInt64(4, tableTimestamp_);
-      }
-      if (((bitField0_ & 0x00000010) == 0x00000010)) {
-        output.writeInt64(5, clientTimestamp_);
-      }
-      if (((bitField0_ & 0x00000020) == 0x00000020)) {
-        output.writeInt32(6, clientVersion_);
-      }
-      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, tenantId_);
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(2, schemaName_);
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(3, tableName_);
-      }
-      if (((bitField0_ & 0x00000008) == 0x00000008)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt64Size(4, tableTimestamp_);
-      }
-      if (((bitField0_ & 0x00000010) == 0x00000010)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt64Size(5, clientTimestamp_);
-      }
-      if (((bitField0_ & 0x00000020) == 0x00000020)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt32Size(6, clientVersion_);
-      }
-      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.MetaDataProtos.GetTableRequest)) {
-        return super.equals(obj);
-      }
-      org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest other = (org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest) obj;
-
-      boolean result = true;
-      result = result && (hasTenantId() == other.hasTenantId());
-      if (hasTenantId()) {
-        result = result && getTenantId()
-            .equals(other.getTenantId());
-      }
-      result = result && (hasSchemaName() == other.hasSchemaName());
-      if (hasSchemaName()) {
-        result = result && getSchemaName()
-            .equals(other.getSchemaName());
-      }
-      result = result && (hasTableName() == other.hasTableName());
-      if (hasTableName()) {
-        result = result && getTableName()
-            .equals(other.getTableName());
-      }
-      result = result && (hasTableTimestamp() == other.hasTableTimestamp());
-      if (hasTableTimestamp()) {
-        result = result && (getTableTimestamp()
-            == other.getTableTimestamp());
-      }
-      result = result && (hasClientTimestamp() == other.hasClientTimestamp());
-      if (hasClientTimestamp()) {
-        result = result && (getClientTimestamp()
-            == other.getClientTimestamp());
-      }
-      result = result && (hasClientVersion() == other.hasClientVersion());
-      if (hasClientVersion()) {
-        result = result && (getClientVersion()
-            == other.getClientVersion());
-      }
-      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 (hasTenantId()) {
-        hash = (37 * hash) + TENANTID_FIELD_NUMBER;
-        hash = (53 * hash) + getTenantId().hashCode();
-      }
-      if (hasSchemaName()) {
-        hash = (37 * hash) + SCHEMANAME_FIELD_NUMBER;
-        hash = (53 * hash) + getSchemaName().hashCode();
-      }
-      if (hasTableName()) {
-        hash = (37 * hash) + TABLENAME_FIELD_NUMBER;
-        hash = (53 * hash) + getTableName().hashCode();
-      }
-      if (hasTableTimestamp()) {
-        hash = (37 * hash) + TABLETIMESTAMP_FIELD_NUMBER;
-        hash = (53 * hash) + hashLong(getTableTimestamp());
-      }
-      if (hasClientTimestamp()) {
-        hash = (37 * hash) + CLIENTTIMESTAMP_FIELD_NUMBER;
-        hash = (53 * hash) + hashLong(getClientTimestamp());
-      }
-      if (hasClientVersion()) {
-        hash = (37 * hash) + CLIENTVERSION_FIELD_NUMBER;
-        hash = (53 * hash) + getClientVersion();
-      }
-      hash = (29 * hash) + getUnknownFields().hashCode();
-      memoizedHashCode = hash;
-      return hash;
-    }
-
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest 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.MetaDataProtos.GetTableRequest parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest 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.MetaDataProtos.GetTableRequest parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest 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.MetaDataProtos.GetTableRequest parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest 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.MetaDataProtos.GetTableRequest parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest 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.MetaDataProtos.GetTableRequest 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 GetTableRequest}
-     */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessage.Builder<Builder>
-       implements org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequestOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_GetTableRequest_descriptor;
-      }
-
-      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-          internalGetFieldAccessorTable() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_GetTableRequest_fieldAccessorTable
-            .ensureFieldAccessorsInitialized(
-                org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest.class, org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest.Builder.class);
-      }
-
-      // Construct using org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest.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();
-        tenantId_ = com.google.protobuf.ByteString.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000001);
-        schemaName_ = com.google.protobuf.ByteString.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000002);
-        tableName_ = com.google.protobuf.ByteString.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000004);
-        tableTimestamp_ = 0L;
-        bitField0_ = (bitField0_ & ~0x00000008);
-        clientTimestamp_ = 0L;
-        bitField0_ = (bitField0_ & ~0x00000010);
-        clientVersion_ = 0;
-        bitField0_ = (bitField0_ & ~0x00000020);
-        return this;
-      }
-
-      public Builder clone() {
-        return create().mergeFrom(buildPartial());
-      }
-
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_GetTableRequest_descriptor;
-      }
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest getDefaultInstanceForType() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest.getDefaultInstance();
-      }
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest build() {
-        org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest result = buildPartial();
-        if (!result.isInitialized()) {
-          throw newUninitializedMessageException(result);
-        }
-        return result;
-      }
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest buildPartial() {
-        org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest result = new org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest(this);
-        int from_bitField0_ = bitField0_;
-        int to_bitField0_ = 0;
-        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
-          to_bitField0_ |= 0x00000001;
-        }
-        result.tenantId_ = tenantId_;
-        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
-          to_bitField0_ |= 0x00000002;
-        }
-        result.schemaName_ = schemaName_;
-        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
-          to_bitField0_ |= 0x00000004;
-        }
-        result.tableName_ = tableName_;
-        if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
-          to_bitField0_ |= 0x00000008;
-        }
-        result.tableTimestamp_ = tableTimestamp_;
-        if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
-          to_bitField0_ |= 0x00000010;
-        }
-        result.clientTimestamp_ = clientTimestamp_;
-        if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
-          to_bitField0_ |= 0x00000020;
-        }
-        result.clientVersion_ = clientVersion_;
-        result.bitField0_ = to_bitField0_;
-        onBuilt();
-        return result;
-      }
-
-      public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest) {
-          return mergeFrom((org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest)other);
-        } else {
-          super.mergeFrom(other);
-          return this;
-        }
-      }
-
-      public Builder mergeFrom(org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest other) {
-        if (other == org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest.getDefaultInstance()) return this;
-        if (other.hasTenantId()) {
-          setTenantId(other.getTenantId());
-        }
-        if (other.hasSchemaName()) {
-          setSchemaName(other.getSchemaName());
-        }
-        if (other.hasTableName()) {
-          setTableName(other.getTableName());
-        }
-        if (other.hasTableTimestamp()) {
-          setTableTimestamp(other.getTableTimestamp());
-        }
-        if (other.hasClientTimestamp()) {
-          setClientTimestamp(other.getClientTimestamp());
-        }
-        if (other.hasClientVersion()) {
-          setClientVersion(other.getClientVersion());
-        }
-        this.mergeUnknownFields(other.getUnknownFields());
-        return this;
-      }
-
-      public final boolean isInitialized() {
-        if (!hasTenantId()) {
-          
-          return false;
-        }
-        if (!hasSchemaName()) {
-          
-          return false;
-        }
-        if (!hasTableName()) {
-          
-          return false;
-        }
-        if (!hasTableTimestamp()) {
-          
-          return false;
-        }
-        if (!hasClientTimestamp()) {
-          
-          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.MetaDataProtos.GetTableRequest parsedMessage = null;
-        try {
-          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetTableRequest) e.getUnfinishedMessage();
-          throw e;
-        } finally {
-          if (parsedMessage != null) {
-            mergeFrom(parsedMessage);
-          }
-        }
-        return this;
-      }
-      private int bitField0_;
-
-      // required bytes tenantId = 1;
-      private com.google.protobuf.ByteString tenantId_ = com.google.protobuf.ByteString.EMPTY;
-      /**
-       * <code>required bytes tenantId = 1;</code>
-       */
-      public boolean hasTenantId() {
-        return ((bitField0_ & 0x00000001) == 0x00000001);
-      }
-      /**
-       * <code>required bytes tenantId = 1;</code>
-       */
-      public com.google.protobuf.ByteString getTenantId() {
-        return tenantId_;
-      }
-      /**
-       * <code>required bytes tenantId = 1;</code>
-       */
-      public Builder setTenantId(com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
-        tenantId_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>required bytes tenantId = 1;</code>
-       */
-      public Builder clearTenantId() {
-        bitField0_ = (bitField0_ & ~0x00000001);
-        tenantId_ = getDefaultInstance().getTenantId();
-        onChanged();
-        return this;
-      }
-
-      // required bytes schemaName = 2;
-      private com.google.protobuf.ByteString schemaName_ = com.google.protobuf.ByteString.EMPTY;
-      /**
-       * <code>required bytes schemaName = 2;</code>
-       */
-      public boolean hasSchemaName() {
-        return ((bitField0_ & 0x00000002) == 0x00000002);
-      }
-      /**
-       * <code>required bytes schemaName = 2;</code>
-       */
-      public com.google.protobuf.ByteString getSchemaName() {
-        return schemaName_;
-      }
-      /**
-       * <code>required bytes schemaName = 2;</code>
-       */
-      public Builder setSchemaName(com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000002;
-        schemaName_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>required bytes schemaName = 2;</code>
-       */
-      public Builder clearSchemaName() {
-        bitField0_ = (bitField0_ & ~0x00000002);
-        schemaName_ = getDefaultInstance().getSchemaName();
-        onChanged();
-        return this;
-      }
-
-      // required bytes tableName = 3;
-      private com.google.protobuf.ByteString tableName_ = com.google.protobuf.ByteString.EMPTY;
-      /**
-       * <code>required bytes tableName = 3;</code>
-       */
-      public boolean hasTableName() {
-        return ((bitField0_ & 0x00000004) == 0x00000004);
-      }
-      /**
-       * <code>required bytes tableName = 3;</code>
-       */
-      public com.google.protobuf.ByteString getTableName() {
-        return tableName_;
-      }
-      /**
-       * <code>required bytes tableName = 3;</code>
-       */
-      public Builder setTableName(com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000004;
-        tableName_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>required bytes tableName = 3;</code>
-       */
-      public Builder clearTableName() {
-        bitField0_ = (bitField0_ & ~0x00000004);
-        tableName_ = getDefaultInstance().getTableName();
-        onChanged();
-        return this;
-      }
-
-      // required int64 tableTimestamp = 4;
-      private long tableTimestamp_ ;
-      /**
-       * <code>required int64 tableTimestamp = 4;</code>
-       */
-      public boolean hasTableTimestamp() {
-        return ((bitField0_ & 0x00000008) == 0x00000008);
-      }
-      /**
-       * <code>required int64 tableTimestamp = 4;</code>
-       */
-      public long getTableTimestamp() {
-        return tableTimestamp_;
-      }
-      /**
-       * <code>required int64 tableTimestamp = 4;</code>
-       */
-      public Builder setTableTimestamp(long value) {
-        bitField0_ |= 0x00000008;
-        tableTimestamp_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>required int64 tableTimestamp = 4;</code>
-       */
-      public Builder clearTableTimestamp() {
-        bitField0_ = (bitField0_ & ~0x00000008);
-        tableTimestamp_ = 0L;
-        onChanged();
-        return this;
-      }
-
-      // required int64 clientTimestamp = 5;
-      private long clientTimestamp_ ;
-      /**
-       * <code>required int64 clientTimestamp = 5;</code>
-       */
-      public boolean hasClientTimestamp() {
-        return ((bitField0_ & 0x00000010) == 0x00000010);
-      }
-      /**
-       * <code>required int64 clientTimestamp = 5;</code>
-       */
-      public long getClientTimestamp() {
-        return clientTimestamp_;
-      }
-      /**
-       * <code>required int64 clientTimestamp = 5;</code>
-       */
-      public Builder setClientTimestamp(long value) {
-        bitField0_ |= 0x00000010;
-        clientTimestamp_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>required int64 clientTimestamp = 5;</code>
-       */
-      public Builder clearClientTimestamp() {
-        bitField0_ = (bitField0_ & ~0x00000010);
-        clientTimestamp_ = 0L;
-        onChanged();
-        return this;
-      }
-
-      // optional int32 clientVersion = 6;
-      private int clientVersion_ ;
-      /**
-       * <code>optional int32 clientVersion = 6;</code>
-       */
-      public boolean hasClientVersion() {
-        return ((bitField0_ & 0x00000020) == 0x00000020);
-      }
-      /**
-       * <code>optional int32 clientVersion = 6;</code>
-       */
-      public int getClientVersion() {
-        return clientVersion_;
-      }
-      /**
-       * <code>optional int32 clientVersion = 6;</code>
-       */
-      public Builder setClientVersion(int value) {
-        bitField0_ |= 0x00000020;
-        clientVersion_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional int32 clientVersion = 6;</code>
-       */
-      public Builder clearClientVersion() {
-        bitField0_ = (bitField0_ & ~0x00000020);
-        clientVersion_ = 0;
-        onChanged();
-        return this;
-      }
-
-      // @@protoc_insertion_point(builder_scope:GetTableRequest)
-    }
-
-    static {
-      defaultInstance = new GetTableRequest(true);
-      defaultInstance.initFields();
-    }
-
-    // @@protoc_insertion_point(class_scope:GetTableRequest)
-  }
-
-  public interface GetFunctionsRequestOrBuilder
-      extends com.google.protobuf.MessageOrBuilder {
-
-    // required bytes tenantId = 1;
-    /**
-     * <code>required bytes tenantId = 1;</code>
-     */
-    boolean hasTenantId();
-    /**
-     * <code>required bytes tenantId = 1;</code>
-     */
-    com.google.protobuf.ByteString getTenantId();
-
-    // repeated bytes functionNames = 2;
-    /**
-     * <code>repeated bytes functionNames = 2;</code>
-     */
-    java.util.List<com.google.protobuf.ByteString> getFunctionNamesList();
-    /**
-     * <code>repeated bytes functionNames = 2;</code>
-     */
-    int getFunctionNamesCount();
-    /**
-     * <code>repeated bytes functionNames = 2;</code>
-     */
-    com.google.protobuf.ByteString getFunctionNames(int index);
-
-    // repeated int64 functionTimestamps = 3;
-    /**
-     * <code>repeated int64 functionTimestamps = 3;</code>
-     */
-    java.util.List<java.lang.Long> getFunctionTimestampsList();
-    /**
-     * <code>repeated int64 functionTimestamps = 3;</code>
-     */
-    int getFunctionTimestampsCount();
-    /**
-     * <code>repeated int64 functionTimestamps = 3;</code>
-     */
-    long getFunctionTimestamps(int index);
-
-    // required int64 clientTimestamp = 4;
-    /**
-     * <code>required int64 clientTimestamp = 4;</code>
-     */
-    boolean hasClientTimestamp();
-    /**
-     * <code>required int64 clientTimestamp = 4;</code>
-     */
-    long getClientTimestamp();
-
-    // optional int32 clientVersion = 5;
-    /**
-     * <code>optional int32 clientVersion = 5;</code>
-     */
-    boolean hasClientVersion();
-    /**
-     * <code>optional int32 clientVersion = 5;</code>
-     */
-    int getClientVersion();
-  }
-  /**
-   * Protobuf type {@code GetFunctionsRequest}
-   */
-  public static final class GetFunctionsRequest extends
-      com.google.protobuf.GeneratedMessage
-      implements GetFunctionsRequestOrBuilder {
-    // Use GetFunctionsRequest.newBuilder() to construct.
-    private GetFunctionsRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
-      super(builder);
-      this.unknownFields = builder.getUnknownFields();
-    }
-    private GetFunctionsRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-    private static final GetFunctionsRequest defaultInstance;
-    public static GetFunctionsRequest getDefaultInstance() {
-      return defaultInstance;
-    }
-
-    public GetFunctionsRequest getDefaultInstanceForType() {
-      return defaultInstance;
-    }
-
-    private final com.google.protobuf.UnknownFieldSet unknownFields;
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
-      return this.unknownFields;
-    }
-    private GetFunctionsRequest(
-        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;
-              tenantId_ = input.readBytes();
-              break;
-            }
-            case 18: {
-              if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
-                functionNames_ = new java.util.ArrayList<com.google.protobuf.ByteString>();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              functionNames_.add(input.readBytes());
-              break;
-            }
-            case 24: {
-              if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
-                functionTimestamps_ = new java.util.ArrayList<java.lang.Long>();
-                mutable_bitField0_ |= 0x00000004;
-              }
-              functionTimestamps_.add(input.readInt64());
-              break;
-            }
-            case 26: {
-              int length = input.readRawVarint32();
-              int limit = input.pushLimit(length);
-              if (!((mutable_bitField0_ & 0x00000004) == 0x00000004) && input.getBytesUntilLimit() > 0) {
-                functionTimestamps_ = new java.util.ArrayList<java.lang.Long>();
-                mutable_bitField0_ |= 0x00000004;
-              }
-              while (input.getBytesUntilLimit() > 0) {
-                functionTimestamps_.add(input.readInt64());
-              }
-              input.popLimit(limit);
-              break;
-            }
-            case 32: {
-              bitField0_ |= 0x00000002;
-              clientTimestamp_ = input.readInt64();
-              break;
-            }
-            case 40: {
-              bitField0_ |= 0x00000004;
-              clientVersion_ = 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 {
-        if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
-          functionNames_ = java.util.Collections.unmodifiableList(functionNames_);
-        }
-        if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
-          functionTimestamps_ = java.util.Collections.unmodifiableList(functionTimestamps_);
-        }
-        this.unknownFields = unknownFields.build();
-        makeExtensionsImmutable();
-      }
-    }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_GetFunctionsRequest_descriptor;
-    }
-
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-        internalGetFieldAccessorTable() {
-      return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_GetFunctionsRequest_fieldAccessorTable
-          .ensureFieldAccessorsInitialized(
-              org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest.class, org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest.Builder.class);
-    }
-
-    public static com.google.protobuf.Parser<GetFunctionsRequest> PARSER =
-        new com.google.protobuf.AbstractParser<GetFunctionsRequest>() {
-      public GetFunctionsRequest parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new GetFunctionsRequest(input, extensionRegistry);
-      }
-    };
-
-    @java.lang.Override
-    public com.google.protobuf.Parser<GetFunctionsRequest> getParserForType() {
-      return PARSER;
-    }
-
-    private int bitField0_;
-    // required bytes tenantId = 1;
-    public static final int TENANTID_FIELD_NUMBER = 1;
-    private com.google.protobuf.ByteString tenantId_;
-    /**
-     * <code>required bytes tenantId = 1;</code>
-     */
-    public boolean hasTenantId() {
-      return ((bitField0_ & 0x00000001) == 0x00000001);
-    }
-    /**
-     * <code>required bytes tenantId = 1;</code>
-     */
-    public com.google.protobuf.ByteString getTenantId() {
-      return tenantId_;
-    }
-
-    // repeated bytes functionNames = 2;
-    public static final int FUNCTIONNAMES_FIELD_NUMBER = 2;
-    private java.util.List<com.google.protobuf.ByteString> functionNames_;
-    /**
-     * <code>repeated bytes functionNames = 2;</code>
-     */
-    public java.util.List<com.google.protobuf.ByteString>
-        getFunctionNamesList() {
-      return functionNames_;
-    }
-    /**
-     * <code>repeated bytes functionNames = 2;</code>
-     */
-    public int getFunctionNamesCount() {
-      return functionNames_.size();
-    }
-    /**
-     * <code>repeated bytes functionNames = 2;</code>
-     */
-    public com.google.protobuf.ByteString getFunctionNames(int index) {
-      return functionNames_.get(index);
-    }
-
-    // repeated int64 functionTimestamps = 3;
-    public static final int FUNCTIONTIMESTAMPS_FIELD_NUMBER = 3;
-    private java.util.List<java.lang.Long> functionTimestamps_;
-    /**
-     * <code>repeated int64 functionTimestamps = 3;</code>
-     */
-    public java.util.List<java.lang.Long>
-        getFunctionTimestampsList() {
-      return functionTimestamps_;
-    }
-    /**
-     * <code>repeated int64 functionTimestamps = 3;</code>
-     */
-    public int getFunctionTimestampsCount() {
-      return functionTimestamps_.size();
-    }
-    /**
-     * <code>repeated int64 functionTimestamps = 3;</code>
-     */
-    public long getFunctionTimestamps(int index) {
-      return functionTimestamps_.get(index);
-    }
-
-    // required int64 clientTimestamp = 4;
-    public static final int CLIENTTIMESTAMP_FIELD_NUMBER = 4;
-    private long clientTimestamp_;
-    /**
-     * <code>required int64 clientTimestamp = 4;</code>
-     */
-    public boolean hasClientTimestamp() {
-      return ((bitField0_ & 0x00000002) == 0x00000002);
-    }
-    /**
-     * <code>required int64 clientTimestamp = 4;</code>
-     */
-    public long getClientTimestamp() {
-      return clientTimestamp_;
-    }
-
-    // optional int32 clientVersion = 5;
-    public static final int CLIENTVERSION_FIELD_NUMBER = 5;
-    private int clientVersion_;
-    /**
-     * <code>optional int32 clientVersion = 5;</code>
-     */
-    public boolean hasClientVersion() {
-      return ((bitField0_ & 0x00000004) == 0x00000004);
-    }
-    /**
-     * <code>optional int32 clientVersion = 5;</code>
-     */
-    public int getClientVersion() {
-      return clientVersion_;
-    }
-
-    private void initFields() {
-      tenantId_ = com.google.protobuf.ByteString.EMPTY;
-      functionNames_ = java.util.Collections.emptyList();
-      functionTimestamps_ = java.util.Collections.emptyList();
-      clientTimestamp_ = 0L;
-      clientVersion_ = 0;
-    }
-    private byte memoizedIsInitialized = -1;
-    public final boolean isInitialized() {
-      byte isInitialized = memoizedIsInitialized;
-      if (isInitialized != -1) return isInitialized == 1;
-
-      if (!hasTenantId()) {
-        memoizedIsInitialized = 0;
-        return false;
-      }
-      if (!hasClientTimestamp()) {
-        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, tenantId_);
-      }
-      for (int i = 0; i < functionNames_.size(); i++) {
-        output.writeBytes(2, functionNames_.get(i));
-      }
-      for (int i = 0; i < functionTimestamps_.size(); i++) {
-        output.writeInt64(3, functionTimestamps_.get(i));
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        output.writeInt64(4, clientTimestamp_);
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        output.writeInt32(5, clientVersion_);
-      }
-      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, tenantId_);
-      }
-      {
-        int dataSize = 0;
-        for (int i = 0; i < functionNames_.size(); i++) {
-          dataSize += com.google.protobuf.CodedOutputStream
-            .computeBytesSizeNoTag(functionNames_.get(i));
-        }
-        size += dataSize;
-        size += 1 * getFunctionNamesList().size();
-      }
-      {
-        int dataSize = 0;
-        for (int i = 0; i < functionTimestamps_.size(); i++) {
-          dataSize += com.google.protobuf.CodedOutputStream
-            .computeInt64SizeNoTag(functionTimestamps_.get(i));
-        }
-        size += dataSize;
-        size += 1 * getFunctionTimestampsList().size();
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt64Size(4, clientTimestamp_);
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt32Size(5, clientVersion_);
-      }
-      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.MetaDataProtos.GetFunctionsRequest)) {
-        return super.equals(obj);
-      }
-      org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest other = (org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest) obj;
-
-      boolean result = true;
-      result = result && (hasTenantId() == other.hasTenantId());
-      if (hasTenantId()) {
-        result = result && getTenantId()
-            .equals(other.getTenantId());
-      }
-      result = result && getFunctionNamesList()
-          .equals(other.getFunctionNamesList());
-      result = result && getFunctionTimestampsList()
-          .equals(other.getFunctionTimestampsList());
-      result = result && (hasClientTimestamp() == other.hasClientTimestamp());
-      if (hasClientTimestamp()) {
-        result = result && (getClientTimestamp()
-            == other.getClientTimestamp());
-      }
-      result = result && (hasClientVersion() == other.hasClientVersion());
-      if (hasClientVersion()) {
-        result = result && (getClientVersion()
-            == other.getClientVersion());
-      }
-      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 (hasTenantId()) {
-        hash = (37 * hash) + TENANTID_FIELD_NUMBER;
-        hash = (53 * hash) + getTenantId().hashCode();
-      }
-      if (getFunctionNamesCount() > 0) {
-        hash = (37 * hash) + FUNCTIONNAMES_FIELD_NUMBER;
-        hash = (53 * hash) + getFunctionNamesList().hashCode();
-      }
-      if (getFunctionTimestampsCount() > 0) {
-        hash = (37 * hash) + FUNCTIONTIMESTAMPS_FIELD_NUMBER;
-        hash = (53 * hash) + getFunctionTimestampsList().hashCode();
-      }
-      if (hasClientTimestamp()) {
-        hash = (37 * hash) + CLIENTTIMESTAMP_FIELD_NUMBER;
-        hash = (53 * hash) + hashLong(getClientTimestamp());
-      }
-      if (hasClientVersion()) {
-        hash = (37 * hash) + CLIENTVERSION_FIELD_NUMBER;
-        hash = (53 * hash) + getClientVersion();
-      }
-      hash = (29 * hash) + getUnknownFields().hashCode();
-      memoizedHashCode = hash;
-      return hash;
-    }
-
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest 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.MetaDataProtos.GetFunctionsRequest parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest 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.MetaDataProtos.GetFunctionsRequest parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest 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.MetaDataProtos.GetFunctionsRequest parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest 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.MetaDataProtos.GetFunctionsRequest parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest 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.MetaDataProtos.GetFunctionsRequest 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 GetFunctionsRequest}
-     */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessage.Builder<Builder>
-       implements org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequestOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_GetFunctionsRequest_descriptor;
-      }
-
-      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-          internalGetFieldAccessorTable() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_GetFunctionsRequest_fieldAccessorTable
-            .ensureFieldAccessorsInitialized(
-                org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest.class, org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest.Builder.class);
-      }
-
-      // Construct using org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest.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();
-        tenantId_ = com.google.protobuf.ByteString.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000001);
-        functionNames_ = java.util.Collections.emptyList();
-        bitField0_ = (bitField0_ & ~0x00000002);
-        functionTimestamps_ = java.util.Collections.emptyList();
-        bitField0_ = (bitField0_ & ~0x00000004);
-        clientTimestamp_ = 0L;
-        bitField0_ = (bitField0_ & ~0x00000008);
-        clientVersion_ = 0;
-        bitField0_ = (bitField0_ & ~0x00000010);
-        return this;
-      }
-
-      public Builder clone() {
-        return create().mergeFrom(buildPartial());
-      }
-
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_GetFunctionsRequest_descriptor;
-      }
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest getDefaultInstanceForType() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest.getDefaultInstance();
-      }
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest build() {
-        org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest result = buildPartial();
-        if (!result.isInitialized()) {
-          throw newUninitializedMessageException(result);
-        }
-        return result;
-      }
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest buildPartial() {
-        org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest result = new org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest(this);
-        int from_bitField0_ = bitField0_;
-        int to_bitField0_ = 0;
-        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
-          to_bitField0_ |= 0x00000001;
-        }
-        result.tenantId_ = tenantId_;
-        if (((bitField0_ & 0x00000002) == 0x00000002)) {
-          functionNames_ = java.util.Collections.unmodifiableList(functionNames_);
-          bitField0_ = (bitField0_ & ~0x00000002);
-        }
-        result.functionNames_ = functionNames_;
-        if (((bitField0_ & 0x00000004) == 0x00000004)) {
-          functionTimestamps_ = java.util.Collections.unmodifiableList(functionTimestamps_);
-          bitField0_ = (bitField0_ & ~0x00000004);
-        }
-        result.functionTimestamps_ = functionTimestamps_;
-        if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
-          to_bitField0_ |= 0x00000002;
-        }
-        result.clientTimestamp_ = clientTimestamp_;
-        if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
-          to_bitField0_ |= 0x00000004;
-        }
-        result.clientVersion_ = clientVersion_;
-        result.bitField0_ = to_bitField0_;
-        onBuilt();
-        return result;
-      }
-
-      public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest) {
-          return mergeFrom((org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest)other);
-        } else {
-          super.mergeFrom(other);
-          return this;
-        }
-      }
-
-      public Builder mergeFrom(org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest other) {
-        if (other == org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest.getDefaultInstance()) return this;
-        if (other.hasTenantId()) {
-          setTenantId(other.getTenantId());
-        }
-        if (!other.functionNames_.isEmpty()) {
-          if (functionNames_.isEmpty()) {
-            functionNames_ = other.functionNames_;
-            bitField0_ = (bitField0_ & ~0x00000002);
-          } else {
-            ensureFunctionNamesIsMutable();
-            functionNames_.addAll(other.functionNames_);
-          }
-          onChanged();
-        }
-        if (!other.functionTimestamps_.isEmpty()) {
-          if (functionTimestamps_.isEmpty()) {
-            functionTimestamps_ = other.functionTimestamps_;
-            bitField0_ = (bitField0_ & ~0x00000004);
-          } else {
-            ensureFunctionTimestampsIsMutable();
-            functionTimestamps_.addAll(other.functionTimestamps_);
-          }
-          onChanged();
-        }
-        if (other.hasClientTimestamp()) {
-          setClientTimestamp(other.getClientTimestamp());
-        }
-        if (other.hasClientVersion()) {
-          setClientVersion(other.getClientVersion());
-        }
-        this.mergeUnknownFields(other.getUnknownFields());
-        return this;
-      }
-
-      public final boolean isInitialized() {
-        if (!hasTenantId()) {
-          
-          return false;
-        }
-        if (!hasClientTimestamp()) {
-          
-          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.MetaDataProtos.GetFunctionsRequest parsedMessage = null;
-        try {
-          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetFunctionsRequest) e.getUnfinishedMessage();
-          throw e;
-        } finally {
-          if (parsedMessage != null) {
-            mergeFrom(parsedMessage);
-          }
-        }
-        return this;
-      }
-      private int bitField0_;
-
-      // required bytes tenantId = 1;
-      private com.google.protobuf.ByteString tenantId_ = com.google.protobuf.ByteString.EMPTY;
-      /**
-       * <code>required bytes tenantId = 1;</code>
-       */
-      public boolean hasTenantId() {
-        return ((bitField0_ & 0x00000001) == 0x00000001);
-      }
-      /**
-       * <code>required bytes tenantId = 1;</code>
-       */
-      public com.google.protobuf.ByteString getTenantId() {
-        return tenantId_;
-      }
-      /**
-       * <code>required bytes tenantId = 1;</code>
-       */
-      public Builder setTenantId(com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
-        tenantId_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>required bytes tenantId = 1;</code>
-       */
-      public Builder clearTenantId() {
-        bitField0_ = (bitField0_ & ~0x00000001);
-        tenantId_ = getDefaultInstance().getTenantId();
-        onChanged();
-        return this;
-      }
-
-      // repeated bytes functionNames = 2;
-      private java.util.List<com.google.protobuf.ByteString> functionNames_ = java.util.Collections.emptyList();
-      private void ensureFunctionNamesIsMutable() {
-        if (!((bitField0_ & 0x00000002) == 0x00000002)) {
-          functionNames_ = new java.util.ArrayList<com.google.protobuf.ByteString>(functionNames_);
-          bitField0_ |= 0x00000002;
-         }
-      }
-      /**
-       * <code>repeated bytes functionNames = 2;</code>
-       */
-      public java.util.List<com.google.protobuf.ByteString>
-          getFunctionNamesList() {
-        return java.util.Collections.unmodifiableList(functionNames_);
-      }
-      /**
-       * <code>repeated bytes functionNames = 2;</code>
-       */
-      public int getFunctionNamesCount() {
-        return functionNames_.size();
-      }
-      /**
-       * <code>repeated bytes functionNames = 2;</code>
-       */
-      public com.google.protobuf.ByteString getFunctionNames(int index) {
-        return functionNames_.get(index);
-      }
-      /**
-       * <code>repeated bytes functionNames = 2;</code>
-       */
-      public Builder setFunctionNames(
-          int index, com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureFunctionNamesIsMutable();
-        functionNames_.set(index, value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated bytes functionNames = 2;</code>
-       */
-      public Builder addFunctionNames(com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureFunctionNamesIsMutable();
-        functionNames_.add(value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated bytes functionNames = 2;</code>
-       */
-      public Builder addAllFunctionNames(
-          java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
-        ensureFunctionNamesIsMutable();
-        super.addAll(values, functionNames_);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated bytes functionNames = 2;</code>
-       */
-      public Builder clearFunctionNames() {
-        functionNames_ = java.util.Collections.emptyList();
-        bitField0_ = (bitField0_ & ~0x00000002);
-        onChanged();
-        return this;
-      }
-
-      // repeated int64 functionTimestamps = 3;
-      private java.util.List<java.lang.Long> functionTimestamps_ = java.util.Collections.emptyList();
-      private void ensureFunctionTimestampsIsMutable() {
-        if (!((bitField0_ & 0x00000004) == 0x00000004)) {
-          functionTimestamps_ = new java.util.ArrayList<java.lang.Long>(functionTimestamps_);
-          bitField0_ |= 0x00000004;
-         }
-      }
-      /**
-       * <code>repeated int64 functionTimestamps = 3;</code>
-       */
-      public java.util.List<java.lang.Long>
-          getFunctionTimestampsList() {
-        return java.util.Collections.unmodifiableList(functionTimestamps_);
-      }
-      /**
-       * <code>repeated int64 functionTimestamps = 3;</code>
-       */
-      public int getFunctionTimestampsCount() {
-        return functionTimestamps_.size();
-      }
-      /**
-       * <code>repeated int64 functionTimestamps = 3;</code>
-       */
-      public long getFunctionTimestamps(int index) {
-        return functionTimestamps_.get(index);
-      }
-      /**
-       * <code>repeated int64 functionTimestamps = 3;</code>
-       */
-      public Builder setFunctionTimestamps(
-          int index, long value) {
-        ensureFunctionTimestampsIsMutable();
-        functionTimestamps_.set(index, value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated int64 functionTimestamps = 3;</code>
-       */
-      public Builder addFunctionTimestamps(long value) {
-        ensureFunctionTimestampsIsMutable();
-        functionTimestamps_.add(value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated int64 functionTimestamps = 3;</code>
-       */
-      public Builder addAllFunctionTimestamps(
-          java.lang.Iterable<? extends java.lang.Long> values) {
-        ensureFunctionTimestampsIsMutable();
-        super.addAll(values, functionTimestamps_);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated int64 functionTimestamps = 3;</code>
-       */
-      public Builder clearFunctionTimestamps() {
-        functionTimestamps_ = java.util.Collections.emptyList();
-        bitField0_ = (bitField0_ & ~0x00000004);
-        onChanged();
-        return this;
-      }
-
-      // required int64 clientTimestamp = 4;
-      private long clientTimestamp_ ;
-      /**
-       * <code>required int64 clientTimestamp = 4;</code>
-       */
-      public boolean hasClientTimestamp() {
-        return ((bitField0_ & 0x00000008) == 0x00000008);
-      }
-      /**
-       * <code>required int64 clientTimestamp = 4;</code>
-       */
-      public long getClientTimestamp() {
-        return clientTimestamp_;
-      }
-      /**
-       * <code>required int64 clientTimestamp = 4;</code>
-       */
-      public Builder setClientTimestamp(long value) {
-        bitField0_ |= 0x00000008;
-        clientTimestamp_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>required int64 clientTimestamp = 4;</code>
-       */
-      public Builder clearClientTimestamp() {
-        bitField0_ = (bitField0_ & ~0x00000008);
-        clientTimestamp_ = 0L;
-        onChanged();
-        return this;
-      }
-
-      // optional int32 clientVersion = 5;
-      private int clientVersion_ ;
-      /**
-       * <code>optional int32 clientVersion = 5;</code>
-       */
-      public boolean hasClientVersion() {
-        return ((bitField0_ & 0x00000010) == 0x00000010);
-      }
-      /**
-       * <code>optional int32 clientVersion = 5;</code>
-       */
-      public int getClientVersion() {
-        return clientVersion_;
-      }
-      /**
-       * <code>optional int32 clientVersion = 5;</code>
-       */
-      public Builder setClientVersion(int value) {
-        bitField0_ |= 0x00000010;
-        clientVersion_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional int32 clientVersion = 5;</code>
-       */
-      public Builder clearClientVersion() {
-        bitField0_ = (bitField0_ & ~0x00000010);
-        clientVersion_ = 0;
-        onChanged();
-        return this;
-      }
-
-      // @@protoc_insertion_point(builder_scope:GetFunctionsRequest)
-    }
-
-    static {
-      defaultInstance = new GetFunctionsRequest(true);
-      defaultInstance.initFields();
-    }
-
-    // @@protoc_insertion_point(class_scope:GetFunctionsRequest)
-  }
-
-  public interface GetSchemaRequestOrBuilder
-      extends com.google.protobuf.MessageOrBuilder {
-
-    // required string schemaName = 1;
-    /**
-     * <code>required string schemaName = 1;</code>
-     */
-    boolean hasSchemaName();
-    /**
-     * <code>required string schemaName = 1;</code>
-     */
-    java.lang.String getSchemaName();
-    /**
-     * <code>required string schemaName = 1;</code>
-     */
-    com.google.protobuf.ByteString
-        getSchemaNameBytes();
-
-    // required int64 clientTimestamp = 2;
-    /**
-     * <code>required int64 clientTimestamp = 2;</code>
-     */
-    boolean hasClientTimestamp();
-    /**
-     * <code>required int64 clientTimestamp = 2;</code>
-     */
-    long getClientTimestamp();
-
-    // required int32 clientVersion = 3;
-    /**
-     * <code>required int32 clientVersion = 3;</code>
-     */
-    boolean hasClientVersion();
-    /**
-     * <code>required int32 clientVersion = 3;</code>
-     */
-    int getClientVersion();
-  }
-  /**
-   * Protobuf type {@code GetSchemaRequest}
-   */
-  public static final class GetSchemaRequest extends
-      com.google.protobuf.GeneratedMessage
-      implements GetSchemaRequestOrBuilder {
-    // Use GetSchemaRequest.newBuilder() to construct.
-    private GetSchemaRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
-      super(builder);
-      this.unknownFields = builder.getUnknownFields();
-    }
-    private GetSchemaRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-    private static final GetSchemaRequest defaultInstance;
-    public static GetSchemaRequest getDefaultInstance() {
-      return defaultInstance;
-    }
-
-    public GetSchemaRequest getDefaultInstanceForType() {
-      return defaultInstance;
-    }
-
-    private final com.google.protobuf.UnknownFieldSet unknownFields;
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
-      return this.unknownFields;
-    }
-    private GetSchemaRequest(
-        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;
-              schemaName_ = input.readBytes();
-              break;
-            }
-            case 16: {
-              bitField0_ |= 0x00000002;
-              clientTimestamp_ = input.readInt64();
-              break;
-            }
-            case 24: {
-              bitField0_ |= 0x00000004;
-              clientVersion_ = 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.MetaDataProtos.internal_static_GetSchemaRequest_descriptor;
-    }
-
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-        internalGetFieldAccessorTable() {
-      return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_GetSchemaRequest_fieldAccessorTable
-          .ensureFieldAccessorsInitialized(
-              org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest.class, org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest.Builder.class);
-    }
-
-    public static com.google.protobuf.Parser<GetSchemaRequest> PARSER =
-        new com.google.protobuf.AbstractParser<GetSchemaRequest>() {
-      public GetSchemaRequest parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new GetSchemaRequest(input, extensionRegistry);
-      }
-    };
-
-    @java.lang.Override
-    public com.google.protobuf.Parser<GetSchemaRequest> getParserForType() {
-      return PARSER;
-    }
-
-    private int bitField0_;
-    // required string schemaName = 1;
-    public static final int SCHEMANAME_FIELD_NUMBER = 1;
-    private java.lang.Object schemaName_;
-    /**
-     * <code>required string schemaName = 1;</code>
-     */
-    public boolean hasSchemaName() {
-      return ((bitField0_ & 0x00000001) == 0x00000001);
-    }
-    /**
-     * <code>required string schemaName = 1;</code>
-     */
-    public java.lang.String getSchemaName() {
-      java.lang.Object ref = schemaName_;
-      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()) {
-          schemaName_ = s;
-        }
-        return s;
-      }
-    }
-    /**
-     * <code>required string schemaName = 1;</code>
-     */
-    public com.google.protobuf.ByteString
-        getSchemaNameBytes() {
-      java.lang.Object ref = schemaName_;
-      if (ref instanceof java.lang.String) {
-        com.google.protobuf.ByteString b = 
-            com.google.protobuf.ByteString.copyFromUtf8(
-                (java.lang.String) ref);
-        schemaName_ = b;
-        return b;
-      } else {
-        return (com.google.protobuf.ByteString) ref;
-      }
-    }
-
-    // required int64 clientTimestamp = 2;
-    public static final int CLIENTTIMESTAMP_FIELD_NUMBER = 2;
-    private long clientTimestamp_;
-    /**
-     * <code>required int64 clientTimestamp = 2;</code>
-     */
-    public boolean hasClientTimestamp() {
-      return ((bitField0_ & 0x00000002) == 0x00000002);
-    }
-    /**
-     * <code>required int64 clientTimestamp = 2;</code>
-     */
-    public long getClientTimestamp() {
-      return clientTimestamp_;
-    }
-
-    // required int32 clientVersion = 3;
-    public static final int CLIENTVERSION_FIELD_NUMBER = 3;
-    private int clientVersion_;
-    /**
-     * <code>required int32 clientVersion = 3;</code>
-     */
-    public boolean hasClientVersion() {
-      return ((bitField0_ & 0x00000004) == 0x00000004);
-    }
-    /**
-     * <code>required int32 clientVersion = 3;</code>
-     */
-    public int getClientVersion() {
-      return clientVersion_;
-    }
-
-    private void initFields() {
-      schemaName_ = "";
-      clientTimestamp_ = 0L;
-      clientVersion_ = 0;
-    }
-    private byte memoizedIsInitialized = -1;
-    public final boolean isInitialized() {
-      byte isInitialized = memoizedIsInitialized;
-      if (isInitialized != -1) return isInitialized == 1;
-
-      if (!hasSchemaName()) {
-        memoizedIsInitialized = 0;
-        return false;
-      }
-      if (!hasClientTimestamp()) {
-        memoizedIsInitialized = 0;
-        return false;
-      }
-      if (!hasClientVersion()) {
-        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, getSchemaNameBytes());
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        output.writeInt64(2, clientTimestamp_);
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        output.writeInt32(3, clientVersion_);
-      }
-      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, getSchemaNameBytes());
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt64Size(2, clientTimestamp_);
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt32Size(3, clientVersion_);
-      }
-      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.MetaDataProtos.GetSchemaRequest)) {
-        return super.equals(obj);
-      }
-      org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest other = (org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest) obj;
-
-      boolean result = true;
-      result = result && (hasSchemaName() == other.hasSchemaName());
-      if (hasSchemaName()) {
-        result = result && getSchemaName()
-            .equals(other.getSchemaName());
-      }
-      result = result && (hasClientTimestamp() == other.hasClientTimestamp());
-      if (hasClientTimestamp()) {
-        result = result && (getClientTimestamp()
-            == other.getClientTimestamp());
-      }
-      result = result && (hasClientVersion() == other.hasClientVersion());
-      if (hasClientVersion()) {
-        result = result && (getClientVersion()
-            == other.getClientVersion());
-      }
-      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 (hasSchemaName()) {
-        hash = (37 * hash) + SCHEMANAME_FIELD_NUMBER;
-        hash = (53 * hash) + getSchemaName().hashCode();
-      }
-      if (hasClientTimestamp()) {
-        hash = (37 * hash) + CLIENTTIMESTAMP_FIELD_NUMBER;
-        hash = (53 * hash) + hashLong(getClientTimestamp());
-      }
-      if (hasClientVersion()) {
-        hash = (37 * hash) + CLIENTVERSION_FIELD_NUMBER;
-        hash = (53 * hash) + getClientVersion();
-      }
-      hash = (29 * hash) + getUnknownFields().hashCode();
-      memoizedHashCode = hash;
-      return hash;
-    }
-
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest 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.MetaDataProtos.GetSchemaRequest parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest 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.MetaDataProtos.GetSchemaRequest parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest 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.MetaDataProtos.GetSchemaRequest parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest 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.MetaDataProtos.GetSchemaRequest parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest 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.MetaDataProtos.GetSchemaRequest 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 GetSchemaRequest}
-     */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessage.Builder<Builder>
-       implements org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequestOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_GetSchemaRequest_descriptor;
-      }
-
-      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-          internalGetFieldAccessorTable() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_GetSchemaRequest_fieldAccessorTable
-            .ensureFieldAccessorsInitialized(
-                org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest.class, org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest.Builder.class);
-      }
-
-      // Construct using org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest.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();
-        schemaName_ = "";
-        bitField0_ = (bitField0_ & ~0x00000001);
-        clientTimestamp_ = 0L;
-        bitField0_ = (bitField0_ & ~0x00000002);
-        clientVersion_ = 0;
-        bitField0_ = (bitField0_ & ~0x00000004);
-        return this;
-      }
-
-      public Builder clone() {
-        return create().mergeFrom(buildPartial());
-      }
-
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_GetSchemaRequest_descriptor;
-      }
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest getDefaultInstanceForType() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest.getDefaultInstance();
-      }
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest build() {
-        org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest result = buildPartial();
-        if (!result.isInitialized()) {
-          throw newUninitializedMessageException(result);
-        }
-        return result;
-      }
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest buildPartial() {
-        org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest result = new org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest(this);
-        int from_bitField0_ = bitField0_;
-        int to_bitField0_ = 0;
-        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
-          to_bitField0_ |= 0x00000001;
-        }
-        result.schemaName_ = schemaName_;
-        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
-          to_bitField0_ |= 0x00000002;
-        }
-        result.clientTimestamp_ = clientTimestamp_;
-        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
-          to_bitField0_ |= 0x00000004;
-        }
-        result.clientVersion_ = clientVersion_;
-        result.bitField0_ = to_bitField0_;
-        onBuilt();
-        return result;
-      }
-
-      public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest) {
-          return mergeFrom((org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest)other);
-        } else {
-          super.mergeFrom(other);
-          return this;
-        }
-      }
-
-      public Builder mergeFrom(org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest other) {
-        if (other == org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest.getDefaultInstance()) return this;
-        if (other.hasSchemaName()) {
-          bitField0_ |= 0x00000001;
-          schemaName_ = other.schemaName_;
-          onChanged();
-        }
-        if (other.hasClientTimestamp()) {
-          setClientTimestamp(other.getClientTimestamp());
-        }
-        if (other.hasClientVersion()) {
-          setClientVersion(other.getClientVersion());
-        }
-        this.mergeUnknownFields(other.getUnknownFields());
-        return this;
-      }
-
-      public final boolean isInitialized() {
-        if (!hasSchemaName()) {
-          
-          return false;
-        }
-        if (!hasClientTimestamp()) {
-          
-          return false;
-        }
-        if (!hasClientVersion()) {
-          
-          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.MetaDataProtos.GetSchemaRequest parsedMessage = null;
-        try {
-          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetSchemaRequest) e.getUnfinishedMessage();
-          throw e;
-        } finally {
-          if (parsedMessage != null) {
-            mergeFrom(parsedMessage);
-          }
-        }
-        return this;
-      }
-      private int bitField0_;
-
-      // required string schemaName = 1;
-      private java.lang.Object schemaName_ = "";
-      /**
-       * <code>required string schemaName = 1;</code>
-       */
-      public boolean hasSchemaName() {
-        return ((bitField0_ & 0x00000001) == 0x00000001);
-      }
-      /**
-       * <code>required string schemaName = 1;</code>
-       */
-      public java.lang.String getSchemaName() {
-        java.lang.Object ref = schemaName_;
-        if (!(ref instanceof java.lang.String)) {
-          java.lang.String s = ((com.google.protobuf.ByteString) ref)
-              .toStringUtf8();
-          schemaName_ = s;
-          return s;
-        } else {
-          return (java.lang.String) ref;
-        }
-      }
-      /**
-       * <code>required string schemaName = 1;</code>
-       */
-      public com.google.protobuf.ByteString
-          getSchemaNameBytes() {
-        java.lang.Object ref = schemaName_;
-        if (ref instanceof String) {
-          com.google.protobuf.ByteString b = 
-              com.google.protobuf.ByteString.copyFromUtf8(
-                  (java.lang.String) ref);
-          schemaName_ = b;
-          return b;
-        } else {
-          return (com.google.protobuf.ByteString) ref;
-        }
-      }
-      /**
-       * <code>required string schemaName = 1;</code>
-       */
-      public Builder setSchemaName(
-          java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
-        schemaName_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>required string schemaName = 1;</code>
-       */
-      public Builder clearSchemaName() {
-        bitField0_ = (bitField0_ & ~0x00000001);
-        schemaName_ = getDefaultInstance().getSchemaName();
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>required string schemaName = 1;</code>
-       */
-      public Builder setSchemaNameBytes(
-          com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
-        schemaName_ = value;
-        onChanged();
-        return this;
-      }
-
-      // required int64 clientTimestamp = 2;
-      private long clientTimestamp_ ;
-      /**
-       * <code>required int64 clientTimestamp = 2;</code>
-       */
-      public boolean hasClientTimestamp() {
-        return ((bitField0_ & 0x00000002) == 0x00000002);
-      }
-      /**
-       * <code>required int64 clientTimestamp = 2;</code>
-       */
-      public long getClientTimestamp() {
-        return clientTimestamp_;
-      }
-      /**
-       * <code>required int64 clientTimestamp = 2;</code>
-       */
-      public Builder setClientTimestamp(long value) {
-        bitField0_ |= 0x00000002;
-        clientTimestamp_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>required int64 clientTimestamp = 2;</code>
-       */
-      public Builder clearClientTimestamp() {
-        bitField0_ = (bitField0_ & ~0x00000002);
-        clientTimestamp_ = 0L;
-        onChanged();
-        return this;
-      }
-
-      // required int32 clientVersion = 3;
-      private int clientVersion_ ;
-      /**
-       * <code>required int32 clientVersion = 3;</code>
-       */
-      public boolean hasClientVersion() {
-        return ((bitField0_ & 0x00000004) == 0x00000004);
-      }
-      /**
-       * <code>required int32 clientVersion = 3;</code>
-       */
-      public int getClientVersion() {
-        return clientVersion_;
-      }
-      /**
-       * <code>required int32 clientVersion = 3;</code>
-       */
-      public Builder setClientVersion(int value) {
-        bitField0_ |= 0x00000004;
-        clientVersion_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>required int32 clientVersion = 3;</code>
-       */
-      public Builder clearClientVersion() {
-        bitField0_ = (bitField0_ & ~0x00000004);
-        clientVersion_ = 0;
-        onChanged();
-        return this;
-      }
-
-      // @@protoc_insertion_point(builder_scope:GetSchemaRequest)
-    }
-
-    static {
-      defaultInstance = new GetSchemaRequest(true);
-      defaultInstance.initFields();
-    }
-
-    // @@protoc_insertion_point(class_scope:GetSchemaRequest)
-  }
-
-  public interface CreateTableRequestOrBuilder
-      extends com.google.protobuf.MessageOrBuilder {
-
-    // repeated bytes tableMetadataMutations = 1;
-    /**
-     * <code>repeated bytes tableMetadataMutations = 1;</code>
-     */
-    java.util.List<com.google.protobuf.ByteString> getTableMetadataMutationsList();
-    /**
-     * <code>repeated bytes tableMetadataMutations = 1;</code>
-     */
-    int getTableMetadataMutationsCount();
-    /**
-     * <code>repeated bytes tableMetadataMutations = 1;</code>
-     */
-    com.google.protobuf.ByteString getTableMetadataMutations(int index);
-
-    // optional int32 clientVersion = 2;
-    /**
-     * <code>optional int32 clientVersion = 2;</code>
-     */
-    boolean hasClientVersion();
-    /**
-     * <code>optional int32 clientVersion = 2;</code>
-     */
-    int getClientVersion();
-
-    // optional bool allocateIndexId = 3;
-    /**
-     * <code>optional bool allocateIndexId = 3;</code>
-     */
-    boolean hasAllocateIndexId();
-    /**
-     * <code>optional bool allocateIndexId = 3;</code>
-     */
-    boolean getAllocateIndexId();
-
-    // optional .PTable parentTable = 4;
-    /**
-     * <code>optional .PTable parentTable = 4;</code>
-     */
-    boolean hasParentTable();
-    /**
-     * <code>optional .PTable parentTable = 4;</code>
-     */
-    org.apache.phoenix.coprocessor.generated.PTableProtos.PTable getParentTable();
-    /**
-     * <code>optional .PTable parentTable = 4;</code>
-     */
-    org.apache.phoenix.coprocessor.generated.PTableProtos.PTableOrBuilder getParentTableOrBuilder();
-  }
-  /**
-   * Protobuf type {@code CreateTableRequest}
-   *
-   * <pre>
-   * each byte array represents a MutationProto instance
-   * </pre>
-   */
-  public static final class CreateTableRequest extends
-      com.google.protobuf.GeneratedMessage
-      implements CreateTableRequestOrBuilder {
-    // Use CreateTableRequest.newBuilder() to construct.
-    private CreateTableRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
-      super(builder);
-      this.unknownFields = builder.getUnknownFields();
-    }
-    private CreateTableRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-    private static final CreateTableRequest defaultInstance;
-    public static CreateTableRequest getDefaultInstance() {
-      return defaultInstance;
-    }
-
-    public CreateTableRequest getDefaultInstanceForType() {
-      return defaultInstance;
-    }
-
-    private final com.google.protobuf.UnknownFieldSet unknownFields;
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
-      return this.unknownFields;
-    }
-    private CreateTableRequest(
-        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: {
-              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
-                tableMetadataMutations_ = new java.util.ArrayList<com.google.protobuf.ByteString>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              tableMetadataMutations_.add(input.readBytes());
-              break;
-            }
-            case 16: {
-              bitField0_ |= 0x00000001;
-              clientVersion_ = input.readInt32();
-              break;
-            }
-            case 24: {
-              bitField0_ |= 0x00000002;
-              allocateIndexId_ = input.readBool();
-              break;
-            }
-            case 34: {
-              org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.Builder subBuilder = null;
-              if (((bitField0_ & 0x00000004) == 0x00000004)) {
-                subBuilder = parentTable_.toBuilder();
-              }
-              parentTable_ = input.readMessage(org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.PARSER, extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(parentTable_);
-                parentTable_ = subBuilder.buildPartial();
-              }
-              bitField0_ |= 0x00000004;
-              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_ & 0x00000001) == 0x00000001)) {
-          tableMetadataMutations_ = java.util.Collections.unmodifiableList(tableMetadataMutations_);
-        }
-        this.unknownFields = unknownFields.build();
-        makeExtensionsImmutable();
-      }
-    }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_CreateTableRequest_descriptor;
-    }
-
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-        internalGetFieldAccessorTable() {
-      return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_CreateTableRequest_fieldAccessorTable
-          .ensureFieldAccessorsInitialized(
-              org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest.class, org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest.Builder.class);
-    }
-
-    public static com.google.protobuf.Parser<CreateTableRequest> PARSER =
-        new com.google.protobuf.AbstractParser<CreateTableRequest>() {
-      public CreateTableRequest parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new CreateTableRequest(input, extensionRegistry);
-      }
-    };
-
-    @java.lang.Override
-    public com.google.protobuf.Parser<CreateTableRequest> getParserForType() {
-      return PARSER;
-    }
-
-    private int bitField0_;
-    // repeated bytes tableMetadataMutations = 1;
-    public static final int TABLEMETADATAMUTATIONS_FIELD_NUMBER = 1;
-    private java.util.List<com.google.protobuf.ByteString> tableMetadataMutations_;
-    /**
-     * <code>repeated bytes tableMetadataMutations = 1;</code>
-     */
-    public java.util.List<com.google.protobuf.ByteString>
-        getTableMetadataMutationsList() {
-      return tableMetadataMutations_;
-    }
-    /**
-     * <code>repeated bytes tableMetadataMutations = 1;</code>
-     */
-    public int getTableMetadataMutationsCount() {
-      return tableMetadataMutations_.size();
-    }
-    /**
-     * <code>repeated bytes tableMetadataMutations = 1;</code>
-     */
-    public com.google.protobuf.ByteString getTableMetadataMutations(int index) {
-      return tableMetadataMutations_.get(index);
-    }
-
-    // optional int32 clientVersion = 2;
-    public static final int CLIENTVERSION_FIELD_NUMBER = 2;
-    private int clientVersion_;
-    /**
-     * <code>optional int32 clientVersion = 2;</code>
-     */
-    public boolean hasClientVersion() {
-      return ((bitField0_ & 0x00000001) == 0x00000001);
-    }
-    /**
-     * <code>optional int32 clientVersion = 2;</code>
-     */
-    public int getClientVersion() {
-      return clientVersion_;
-    }
-
-    // optional bool allocateIndexId = 3;
-    public static final int ALLOCATEINDEXID_FIELD_NUMBER = 3;
-    private boolean allocateIndexId_;
-    /**
-     * <code>optional bool allocateIndexId = 3;</code>
-     */
-    public boolean hasAllocateIndexId() {
-      return ((bitField0_ & 0x00000002) == 0x00000002);
-    }
-    /**
-     * <code>optional bool allocateIndexId = 3;</code>
-     */
-    public boolean getAllocateIndexId() {
-      return allocateIndexId_;
-    }
-
-    // optional .PTable parentTable = 4;
-    public static final int PARENTTABLE_FIELD_NUMBER = 4;
-    private org.apache.phoenix.coprocessor.generated.PTableProtos.PTable parentTable_;
-    /**
-     * <code>optional .PTable parentTable = 4;</code>
-     */
-    public boolean hasParentTable() {
-      return ((bitField0_ & 0x00000004) == 0x00000004);
-    }
-    /**
-     * <code>optional .PTable parentTable = 4;</code>
-     */
-    public org.apache.phoenix.coprocessor.generated.PTableProtos.PTable getParentTable() {
-      return parentTable_;
-    }
-    /**
-     * <code>optional .PTable parentTable = 4;</code>
-     */
-    public org.apache.phoenix.coprocessor.generated.PTableProtos.PTableOrBuilder getParentTableOrBuilder() {
-      return parentTable_;
-    }
-
-    private void initFields() {
-      tableMetadataMutations_ = java.util.Collections.emptyList();
-      clientVersion_ = 0;
-      allocateIndexId_ = false;
-      parentTable_ = org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.getDefaultInstance();
-    }
-    private byte memoizedIsInitialized = -1;
-    public final boolean isInitialized() {
-      byte isInitialized = memoizedIsInitialized;
-      if (isInitialized != -1) return isInitialized == 1;
-
-      if (hasParentTable()) {
-        if (!getParentTable().isInitialized()) {
-          memoizedIsInitialized = 0;
-          return false;
-        }
-      }
-      memoizedIsInitialized = 1;
-      return true;
-    }
-
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      getSerializedSize();
-      for (int i = 0; i < tableMetadataMutations_.size(); i++) {
-        output.writeBytes(1, tableMetadataMutations_.get(i));
-      }
-      if (((bitField0_ & 0x00000001) == 0x00000001)) {
-        output.writeInt32(2, clientVersion_);
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        output.writeBool(3, allocateIndexId_);
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        output.writeMessage(4, parentTable_);
-      }
-      getUnknownFields().writeTo(output);
-    }
-
-    private int memoizedSerializedSize = -1;
-    public int getSerializedSize() {
-      int size = memoizedSerializedSize;
-      if (size != -1) return size;
-
-      size = 0;
-      {
-        int dataSize = 0;
-        for (int i = 0; i < tableMetadataMutations_.size(); i++) {
-          dataSize += com.google.protobuf.CodedOutputStream
-            .computeBytesSizeNoTag(tableMetadataMutations_.get(i));
-        }
-        size += dataSize;
-        size += 1 * getTableMetadataMutationsList().size();
-      }
-      if (((bitField0_ & 0x00000001) == 0x00000001)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt32Size(2, clientVersion_);
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBoolSize(3, allocateIndexId_);
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, parentTable_);
-      }
-      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.MetaDataProtos.CreateTableRequest)) {
-        return super.equals(obj);
-      }
-      org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest other = (org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest) obj;
-
-      boolean result = true;
-      result = result && getTableMetadataMutationsList()
-          .equals(other.getTableMetadataMutationsList());
-      result = result && (hasClientVersion() == other.hasClientVersion());
-      if (hasClientVersion()) {
-        result = result && (getClientVersion()
-            == other.getClientVersion());
-      }
-      result = result && (hasAllocateIndexId() == other.hasAllocateIndexId());
-      if (hasAllocateIndexId()) {
-        result = result && (getAllocateIndexId()
-            == other.getAllocateIndexId());
-      }
-      result = result && (hasParentTable() == other.hasParentTable());
-      if (hasParentTable()) {
-        result = result && getParentTable()
-            .equals(other.getParentTable());
-      }
-      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 (getTableMetadataMutationsCount() > 0) {
-        hash = (37 * hash) + TABLEMETADATAMUTATIONS_FIELD_NUMBER;
-        hash = (53 * hash) + getTableMetadataMutationsList().hashCode();
-      }
-      if (hasClientVersion()) {
-        hash = (37 * hash) + CLIENTVERSION_FIELD_NUMBER;
-        hash = (53 * hash) + getClientVersion();
-      }
-      if (hasAllocateIndexId()) {
-        hash = (37 * hash) + ALLOCATEINDEXID_FIELD_NUMBER;
-        hash = (53 * hash) + hashBoolean(getAllocateIndexId());
-      }
-      if (hasParentTable()) {
-        hash = (37 * hash) + PARENTTABLE_FIELD_NUMBER;
-        hash = (53 * hash) + getParentTable().hashCode();
-      }
-      hash = (29 * hash) + getUnknownFields().hashCode();
-      memoizedHashCode = hash;
-      return hash;
-    }
-
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest 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.MetaDataProtos.CreateTableRequest parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest 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.MetaDataProtos.CreateTableRequest parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest 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.MetaDataProtos.CreateTableRequest parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest 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.MetaDataProtos.CreateTableRequest parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest 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.MetaDataProtos.CreateTableRequest 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 CreateTableRequest}
-     *
-     * <pre>
-     * each byte array represents a MutationProto instance
-     * </pre>
-     */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessage.Builder<Builder>
-       implements org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequestOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_CreateTableRequest_descriptor;
-      }
-
-      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-          internalGetFieldAccessorTable() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_CreateTableRequest_fieldAccessorTable
-            .ensureFieldAccessorsInitialized(
-                org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest.class, org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest.Builder.class);
-      }
-
-      // Construct using org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest.newBuilder()
-      private Builder() {
-        maybeForceBuilderInitialization();
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
-        super(parent);
-        maybeForceBuilderInitialization();
-      }
-      private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
-          getParentTableFieldBuilder();
-        }
-      }
-      private static Builder create() {
-        return new Builder();
-      }
-
-      public Builder clear() {
-        super.clear();
-        tableMetadataMutations_ = java.util.Collections.emptyList();
-        bitField0_ = (bitField0_ & ~0x00000001);
-        clientVersion_ = 0;
-        bitField0_ = (bitField0_ & ~0x00000002);
-        allocateIndexId_ = false;
-        bitField0_ = (bitField0_ & ~0x00000004);
-        if (parentTableBuilder_ == null) {
-          parentTable_ = org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.getDefaultInstance();
-        } else {
-          parentTableBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000008);
-        return this;
-      }
-
-      public Builder clone() {
-        return create().mergeFrom(buildPartial());
-      }
-
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_CreateTableRequest_descriptor;
-      }
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest getDefaultInstanceForType() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest.getDefaultInstance();
-      }
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest build() {
-        org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest result = buildPartial();
-        if (!result.isInitialized()) {
-          throw newUninitializedMessageException(result);
-        }
-        return result;
-      }
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest buildPartial() {
-        org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest result = new org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest(this);
-        int from_bitField0_ = bitField0_;
-        int to_bitField0_ = 0;
-        if (((bitField0_ & 0x00000001) == 0x00000001)) {
-          tableMetadataMutations_ = java.util.Collections.unmodifiableList(tableMetadataMutations_);
-          bitField0_ = (bitField0_ & ~0x00000001);
-        }
-        result.tableMetadataMutations_ = tableMetadataMutations_;
-        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
-          to_bitField0_ |= 0x00000001;
-        }
-        result.clientVersion_ = clientVersion_;
-        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
-          to_bitField0_ |= 0x00000002;
-        }
-        result.allocateIndexId_ = allocateIndexId_;
-        if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
-          to_bitField0_ |= 0x00000004;
-        }
-        if (parentTableBuilder_ == null) {
-          result.parentTable_ = parentTable_;
-        } else {
-          result.parentTable_ = parentTableBuilder_.build();
-        }
-        result.bitField0_ = to_bitField0_;
-        onBuilt();
-        return result;
-      }
-
-      public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest) {
-          return mergeFrom((org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest)other);
-        } else {
-          super.mergeFrom(other);
-          return this;
-        }
-      }
-
-      public Builder mergeFrom(org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest other) {
-        if (other == org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest.getDefaultInstance()) return this;
-        if (!other.tableMetadataMutations_.isEmpty()) {
-          if (tableMetadataMutations_.isEmpty()) {
-            tableMetadataMutations_ = other.tableMetadataMutations_;
-            bitField0_ = (bitField0_ & ~0x00000001);
-          } else {
-            ensureTableMetadataMutationsIsMutable();
-            tableMetadataMutations_.addAll(other.tableMetadataMutations_);
-          }
-          onChanged();
-        }
-        if (other.hasClientVersion()) {
-          setClientVersion(other.getClientVersion());
-        }
-        if (other.hasAllocateIndexId()) {
-          setAllocateIndexId(other.getAllocateIndexId());
-        }
-        if (other.hasParentTable()) {
-          mergeParentTable(other.getParentTable());
-        }
-        this.mergeUnknownFields(other.getUnknownFields());
-        return this;
-      }
-
-      public final boolean isInitialized() {
-        if (hasParentTable()) {
-          if (!getParentTable().isInitialized()) {
-            
-            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.MetaDataProtos.CreateTableRequest parsedMessage = null;
-        try {
-          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateTableRequest) e.getUnfinishedMessage();
-          throw e;
-        } finally {
-          if (parsedMessage != null) {
-            mergeFrom(parsedMessage);
-          }
-        }
-        return this;
-      }
-      private int bitField0_;
-
-      // repeated bytes tableMetadataMutations = 1;
-      private java.util.List<com.google.protobuf.ByteString> tableMetadataMutations_ = java.util.Collections.emptyList();
-      private void ensureTableMetadataMutationsIsMutable() {
-        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
-          tableMetadataMutations_ = new java.util.ArrayList<com.google.protobuf.ByteString>(tableMetadataMutations_);
-          bitField0_ |= 0x00000001;
-         }
-      }
-      /**
-       * <code>repeated bytes tableMetadataMutations = 1;</code>
-       */
-      public java.util.List<com.google.protobuf.ByteString>
-          getTableMetadataMutationsList() {
-        return java.util.Collections.unmodifiableList(tableMetadataMutations_);
-      }
-      /**
-       * <code>repeated bytes tableMetadataMutations = 1;</code>
-       */
-      public int getTableMetadataMutationsCount() {
-        return tableMetadataMutations_.size();
-      }
-      /**
-       * <code>repeated bytes tableMetadataMutations = 1;</code>
-       */
-      public com.google.protobuf.ByteString getTableMetadataMutations(int index) {
-        return tableMetadataMutations_.get(index);
-      }
-      /**
-       * <code>repeated bytes tableMetadataMutations = 1;</code>
-       */
-      public Builder setTableMetadataMutations(
-          int index, com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureTableMetadataMutationsIsMutable();
-        tableMetadataMutations_.set(index, value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated bytes tableMetadataMutations = 1;</code>
-       */
-      public Builder addTableMetadataMutations(com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureTableMetadataMutationsIsMutable();
-        tableMetadataMutations_.add(value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated bytes tableMetadataMutations = 1;</code>
-       */
-      public Builder addAllTableMetadataMutations(
-          java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
-        ensureTableMetadataMutationsIsMutable();
-        super.addAll(values, tableMetadataMutations_);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated bytes tableMetadataMutations = 1;</code>
-       */
-      public Builder clearTableMetadataMutations() {
-        tableMetadataMutations_ = java.util.Collections.emptyList();
-        bitField0_ = (bitField0_ & ~0x00000001);
-        onChanged();
-        return this;
-      }
-
-      // optional int32 clientVersion = 2;
-      private int clientVersion_ ;
-      /**
-       * <code>optional int32 clientVersion = 2;</code>
-       */
-      public boolean hasClientVersion() {
-        return ((bitField0_ & 0x00000002) == 0x00000002);
-      }
-      /**
-       * <code>optional int32 clientVersion = 2;</code>
-       */
-      public int getClientVersion() {
-        return clientVersion_;
-      }
-      /**
-       * <code>optional int32 clientVersion = 2;</code>
-       */
-      public Builder setClientVersion(int value) {
-        bitField0_ |= 0x00000002;
-        clientVersion_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional int32 clientVersion = 2;</code>
-       */
-      public Builder clearClientVersion() {
-        bitField0_ = (bitField0_ & ~0x00000002);
-        clientVersion_ = 0;
-        onChanged();
-        return this;
-      }
-
-      // optional bool allocateIndexId = 3;
-      private boolean allocateIndexId_ ;
-      /**
-       * <code>optional bool allocateIndexId = 3;</code>
-       */
-      public boolean hasAllocateIndexId() {
-        return ((bitField0_ & 0x00000004) == 0x00000004);
-      }
-      /**
-       * <code>optional bool allocateIndexId = 3;</code>
-       */
-      public boolean getAllocateIndexId() {
-        return allocateIndexId_;
-      }
-      /**
-       * <code>optional bool allocateIndexId = 3;</code>
-       */
-      public Builder setAllocateIndexId(boolean value) {
-        bitField0_ |= 0x00000004;
-        allocateIndexId_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional bool allocateIndexId = 3;</code>
-       */
-      public Builder clearAllocateIndexId() {
-        bitField0_ = (bitField0_ & ~0x00000004);
-        allocateIndexId_ = false;
-        onChanged();
-        return this;
-      }
-
-      // optional .PTable parentTable = 4;
-      private org.apache.phoenix.coprocessor.generated.PTableProtos.PTable parentTable_ = org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.getDefaultInstance();
-      private com.google.protobuf.SingleFieldBuilder<
-          org.apache.phoenix.coprocessor.generated.PTableProtos.PTable, org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.Builder, org.apache.phoenix.coprocessor.generated.PTableProtos.PTableOrBuilder> parentTableBuilder_;
-      /**
-       * <code>optional .PTable parentTable = 4;</code>
-       */
-      public boolean hasParentTable() {
-        return ((bitField0_ & 0x00000008) == 0x00000008);
-      }
-      /**
-       * <code>optional .PTable parentTable = 4;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PTableProtos.PTable getParentTable() {
-        if (parentTableBuilder_ == null) {
-          return parentTable_;
-        } else {
-          return parentTableBuilder_.getMessage();
-        }
-      }
-      /**
-       * <code>optional .PTable parentTable = 4;</code>
-       */
-      public Builder setParentTable(org.apache.phoenix.coprocessor.generated.PTableProtos.PTable value) {
-        if (parentTableBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          parentTable_ = value;
-          onChanged();
-        } else {
-          parentTableBuilder_.setMessage(value);
-        }
-        bitField0_ |= 0x00000008;
-        return this;
-      }
-      /**
-       * <code>optional .PTable parentTable = 4;</code>
-       */
-      public Builder setParentTable(
-          org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.Builder builderForValue) {
-        if (parentTableBuilder_ == null) {
-          parentTable_ = builderForValue.build();
-          onChanged();
-        } else {
-          parentTableBuilder_.setMessage(builderForValue.build());
-        }
-        bitField0_ |= 0x00000008;
-        return this;
-      }
-      /**
-       * <code>optional .PTable parentTable = 4;</code>
-       */
-      public Builder mergeParentTable(org.apache.phoenix.coprocessor.generated.PTableProtos.PTable value) {
-        if (parentTableBuilder_ == null) {
-          if (((bitField0_ & 0x00000008) == 0x00000008) &&
-              parentTable_ != org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.getDefaultInstance()) {
-            parentTable_ =
-              org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.newBuilder(parentTable_).mergeFrom(value).buildPartial();
-          } else {
-            parentTable_ = value;
-          }
-          onChanged();
-        } else {
-          parentTableBuilder_.mergeFrom(value);
-        }
-        bitField0_ |= 0x00000008;
-        return this;
-      }
-      /**
-       * <code>optional .PTable parentTable = 4;</code>
-       */
-      public Builder clearParentTable() {
-        if (parentTableBuilder_ == null) {
-          parentTable_ = org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.getDefaultInstance();
-          onChanged();
-        } else {
-          parentTableBuilder_.clear();
-        }
-        bitField0_ = (bitField0_ & ~0x00000008);
-        return this;
-      }
-      /**
-       * <code>optional .PTable parentTable = 4;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.Builder getParentTableBuilder() {
-        bitField0_ |= 0x00000008;
-        onChanged();
-        return getParentTableFieldBuilder().getBuilder();
-      }
-      /**
-       * <code>optional .PTable parentTable = 4;</code>
-       */
-      public org.apache.phoenix.coprocessor.generated.PTableProtos.PTableOrBuilder getParentTableOrBuilder() {
-        if (parentTableBuilder_ != null) {
-          return parentTableBuilder_.getMessageOrBuilder();
-        } else {
-          return parentTable_;
-        }
-      }
-      /**
-       * <code>optional .PTable parentTable = 4;</code>
-       */
-      private com.google.protobuf.SingleFieldBuilder<
-          org.apache.phoenix.coprocessor.generated.PTableProtos.PTable, org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.Builder, org.apache.phoenix.coprocessor.generated.PTableProtos.PTableOrBuilder> 
-          getParentTableFieldBuilder() {
-        if (parentTableBuilder_ == null) {
-          parentTableBuilder_ = new com.google.protobuf.SingleFieldBuilder<
-              org.apache.phoenix.coprocessor.generated.PTableProtos.PTable, org.apache.phoenix.coprocessor.generated.PTableProtos.PTable.Builder, org.apache.phoenix.coprocessor.generated.PTableProtos.PTableOrBuilder>(
-                  parentTable_,
-                  getParentForChildren(),
-                  isClean());
-          parentTable_ = null;
-        }
-        return parentTableBuilder_;
-      }
-
-      // @@protoc_insertion_point(builder_scope:CreateTableRequest)
-    }
-
-    static {
-      defaultInstance = new CreateTableRequest(true);
-      defaultInstance.initFields();
-    }
-
-    // @@protoc_insertion_point(class_scope:CreateTableRequest)
-  }
-
-  public interface CreateFunctionRequestOrBuilder
-      extends com.google.protobuf.MessageOrBuilder {
-
-    // repeated bytes tableMetadataMutations = 1;
-    /**
-     * <code>repeated bytes tableMetadataMutations = 1;</code>
-     */
-    java.util.List<com.google.protobuf.ByteString> getTableMetadataMutationsList();
-    /**
-     * <code>repeated bytes tableMetadataMutations = 1;</code>
-     */
-    int getTableMetadataMutationsCount();
-    /**
-     * <code>repeated bytes tableMetadataMutations = 1;</code>
-     */
-    com.google.protobuf.ByteString getTableMetadataMutations(int index);
-
-    // required bool temporary = 2;
-    /**
-     * <code>required bool temporary = 2;</code>
-     */
-    boolean hasTemporary();
-    /**
-     * <code>required bool temporary = 2;</code>
-     */
-    boolean getTemporary();
-
-    // optional bool replace = 3;
-    /**
-     * <code>optional bool replace = 3;</code>
-     */
-    boolean hasReplace();
-    /**
-     * <code>optional bool replace = 3;</code>
-     */
-    boolean getReplace();
-
-    // optional int32 clientVersion = 4;
-    /**
-     * <code>optional int32 clientVersion = 4;</code>
-     */
-    boolean hasClientVersion();
-    /**
-     * <code>optional int32 clientVersion = 4;</code>
-     */
-    int getClientVersion();
-  }
-  /**
-   * Protobuf type {@code CreateFunctionRequest}
-   *
-   * <pre>
-   * each byte array represents a MutationProto instance
-   * </pre>
-   */
-  public static final class CreateFunctionRequest extends
-      com.google.protobuf.GeneratedMessage
-      implements CreateFunctionRequestOrBuilder {
-    // Use CreateFunctionRequest.newBuilder() to construct.
-    private CreateFunctionRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
-      super(builder);
-      this.unknownFields = builder.getUnknownFields();
-    }
-    private CreateFunctionRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-    private static final CreateFunctionRequest defaultInstance;
-    public static CreateFunctionRequest getDefaultInstance() {
-      return defaultInstance;
-    }
-
-    public CreateFunctionRequest getDefaultInstanceForType() {
-      return defaultInstance;
-    }
-
-    private final com.google.protobuf.UnknownFieldSet unknownFields;
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
-      return this.unknownFields;
-    }
-    private CreateFunctionRequest(
-        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: {
-              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
-                tableMetadataMutations_ = new java.util.ArrayList<com.google.protobuf.ByteString>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              tableMetadataMutations_.add(input.readBytes());
-              break;
-            }
-            case 16: {
-              bitField0_ |= 0x00000001;
-              temporary_ = input.readBool();
-              break;
-            }
-            case 24: {
-              bitField0_ |= 0x00000002;
-              replace_ = input.readBool();
-              break;
-            }
-            case 32: {
-              bitField0_ |= 0x00000004;
-              clientVersion_ = 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 {
-        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
-          tableMetadataMutations_ = java.util.Collections.unmodifiableList(tableMetadataMutations_);
-        }
-        this.unknownFields = unknownFields.build();
-        makeExtensionsImmutable();
-      }
-    }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_CreateFunctionRequest_descriptor;
-    }
-
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-        internalGetFieldAccessorTable() {
-      return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_CreateFunctionRequest_fieldAccessorTable
-          .ensureFieldAccessorsInitialized(
-              org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest.class, org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest.Builder.class);
-    }
-
-    public static com.google.protobuf.Parser<CreateFunctionRequest> PARSER =
-        new com.google.protobuf.AbstractParser<CreateFunctionRequest>() {
-      public CreateFunctionRequest parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new CreateFunctionRequest(input, extensionRegistry);
-      }
-    };
-
-    @java.lang.Override
-    public com.google.protobuf.Parser<CreateFunctionRequest> getParserForType() {
-      return PARSER;
-    }
-
-    private int bitField0_;
-    // repeated bytes tableMetadataMutations = 1;
-    public static final int TABLEMETADATAMUTATIONS_FIELD_NUMBER = 1;
-    private java.util.List<com.google.protobuf.ByteString> tableMetadataMutations_;
-    /**
-     * <code>repeated bytes tableMetadataMutations = 1;</code>
-     */
-    public java.util.List<com.google.protobuf.ByteString>
-        getTableMetadataMutationsList() {
-      return tableMetadataMutations_;
-    }
-    /**
-     * <code>repeated bytes tableMetadataMutations = 1;</code>
-     */
-    public int getTableMetadataMutationsCount() {
-      return tableMetadataMutations_.size();
-    }
-    /**
-     * <code>repeated bytes tableMetadataMutations = 1;</code>
-     */
-    public com.google.protobuf.ByteString getTableMetadataMutations(int index) {
-      return tableMetadataMutations_.get(index);
-    }
-
-    // required bool temporary = 2;
-    public static final int TEMPORARY_FIELD_NUMBER = 2;
-    private boolean temporary_;
-    /**
-     * <code>required bool temporary = 2;</code>
-     */
-    public boolean hasTemporary() {
-      return ((bitField0_ & 0x00000001) == 0x00000001);
-    }
-    /**
-     * <code>required bool temporary = 2;</code>
-     */
-    public boolean getTemporary() {
-      return temporary_;
-    }
-
-    // optional bool replace = 3;
-    public static final int REPLACE_FIELD_NUMBER = 3;
-    private boolean replace_;
-    /**
-     * <code>optional bool replace = 3;</code>
-     */
-    public boolean hasReplace() {
-      return ((bitField0_ & 0x00000002) == 0x00000002);
-    }
-    /**
-     * <code>optional bool replace = 3;</code>
-     */
-    public boolean getReplace() {
-      return replace_;
-    }
-
-    // optional int32 clientVersion = 4;
-    public static final int CLIENTVERSION_FIELD_NUMBER = 4;
-    private int clientVersion_;
-    /**
-     * <code>optional int32 clientVersion = 4;</code>
-     */
-    public boolean hasClientVersion() {
-      return ((bitField0_ & 0x00000004) == 0x00000004);
-    }
-    /**
-     * <code>optional int32 clientVersion = 4;</code>
-     */
-    public int getClientVersion() {
-      return clientVersion_;
-    }
-
-    private void initFields() {
-      tableMetadataMutations_ = java.util.Collections.emptyList();
-      temporary_ = false;
-      replace_ = false;
-      clientVersion_ = 0;
-    }
-    private byte memoizedIsInitialized = -1;
-    public final boolean isInitialized() {
-      byte isInitialized = memoizedIsInitialized;
-      if (isInitialized != -1) return isInitialized == 1;
-
-      if (!hasTemporary()) {
-        memoizedIsInitialized = 0;
-        return false;
-      }
-      memoizedIsInitialized = 1;
-      return true;
-    }
-
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      getSerializedSize();
-      for (int i = 0; i < tableMetadataMutations_.size(); i++) {
-        output.writeBytes(1, tableMetadataMutations_.get(i));
-      }
-      if (((bitField0_ & 0x00000001) == 0x00000001)) {
-        output.writeBool(2, temporary_);
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        output.writeBool(3, replace_);
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        output.writeInt32(4, clientVersion_);
-      }
-      getUnknownFields().writeTo(output);
-    }
-
-    private int memoizedSerializedSize = -1;
-    public int getSerializedSize() {
-      int size = memoizedSerializedSize;
-      if (size != -1) return size;
-
-      size = 0;
-      {
-        int dataSize = 0;
-        for (int i = 0; i < tableMetadataMutations_.size(); i++) {
-          dataSize += com.google.protobuf.CodedOutputStream
-            .computeBytesSizeNoTag(tableMetadataMutations_.get(i));
-        }
-        size += dataSize;
-        size += 1 * getTableMetadataMutationsList().size();
-      }
-      if (((bitField0_ & 0x00000001) == 0x00000001)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBoolSize(2, temporary_);
-      }
-      if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBoolSize(3, replace_);
-      }
-      if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt32Size(4, clientVersion_);
-      }
-      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.MetaDataProtos.CreateFunctionRequest)) {
-        return super.equals(obj);
-      }
-      org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest other = (org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest) obj;
-
-      boolean result = true;
-      result = result && getTableMetadataMutationsList()
-          .equals(other.getTableMetadataMutationsList());
-      result = result && (hasTemporary() == other.hasTemporary());
-      if (hasTemporary()) {
-        result = result && (getTemporary()
-            == other.getTemporary());
-      }
-      result = result && (hasReplace() == other.hasReplace());
-      if (hasReplace()) {
-        result = result && (getReplace()
-            == other.getReplace());
-      }
-      result = result && (hasClientVersion() == other.hasClientVersion());
-      if (hasClientVersion()) {
-        result = result && (getClientVersion()
-            == other.getClientVersion());
-      }
-      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 (getTableMetadataMutationsCount() > 0) {
-        hash = (37 * hash) + TABLEMETADATAMUTATIONS_FIELD_NUMBER;
-        hash = (53 * hash) + getTableMetadataMutationsList().hashCode();
-      }
-      if (hasTemporary()) {
-        hash = (37 * hash) + TEMPORARY_FIELD_NUMBER;
-        hash = (53 * hash) + hashBoolean(getTemporary());
-      }
-      if (hasReplace()) {
-        hash = (37 * hash) + REPLACE_FIELD_NUMBER;
-        hash = (53 * hash) + hashBoolean(getReplace());
-      }
-      if (hasClientVersion()) {
-        hash = (37 * hash) + CLIENTVERSION_FIELD_NUMBER;
-        hash = (53 * hash) + getClientVersion();
-      }
-      hash = (29 * hash) + getUnknownFields().hashCode();
-      memoizedHashCode = hash;
-      return hash;
-    }
-
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest 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.MetaDataProtos.CreateFunctionRequest parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return PARSER.parseFrom(data);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest 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.MetaDataProtos.CreateFunctionRequest parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest 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.MetaDataProtos.CreateFunctionRequest parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest 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.MetaDataProtos.CreateFunctionRequest parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return PARSER.parseFrom(input);
-    }
-    public static org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest 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.MetaDataProtos.CreateFunctionRequest 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 CreateFunctionRequest}
-     *
-     * <pre>
-     * each byte array represents a MutationProto instance
-     * </pre>
-     */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessage.Builder<Builder>
-       implements org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequestOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_CreateFunctionRequest_descriptor;
-      }
-
-      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
-          internalGetFieldAccessorTable() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_CreateFunctionRequest_fieldAccessorTable
-            .ensureFieldAccessorsInitialized(
-                org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest.class, org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest.Builder.class);
-      }
-
-      // Construct using org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest.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();
-        tableMetadataMutations_ = java.util.Collections.emptyList();
-        bitField0_ = (bitField0_ & ~0x00000001);
-        temporary_ = false;
-        bitField0_ = (bitField0_ & ~0x00000002);
-        replace_ = false;
-        bitField0_ = (bitField0_ & ~0x00000004);
-        clientVersion_ = 0;
-        bitField0_ = (bitField0_ & ~0x00000008);
-        return this;
-      }
-
-      public Builder clone() {
-        return create().mergeFrom(buildPartial());
-      }
-
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.internal_static_CreateFunctionRequest_descriptor;
-      }
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest getDefaultInstanceForType() {
-        return org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest.getDefaultInstance();
-      }
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest build() {
-        org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest result = buildPartial();
-        if (!result.isInitialized()) {
-          throw newUninitializedMessageException(result);
-        }
-        return result;
-      }
-
-      public org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest buildPartial() {
-        org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest result = new org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest(this);
-        int from_bitField0_ = bitField0_;
-        int to_bitField0_ = 0;
-        if (((bitField0_ & 0x00000001) == 0x00000001)) {
-          tableMetadataMutations_ = java.util.Collections.unmodifiableList(tableMetadataMutations_);
-          bitField0_ = (bitField0_ & ~0x00000001);
-        }
-        result.tableMetadataMutations_ = tableMetadataMutations_;
-        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
-          to_bitField0_ |= 0x00000001;
-        }
-        result.temporary_ = temporary_;
-        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
-          to_bitField0_ |= 0x00000002;
-        }
-        result.replace_ = replace_;
-        if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
-          to_bitField0_ |= 0x00000004;
-        }
-        result.clientVersion_ = clientVersion_;
-        result.bitField0_ = to_bitField0_;
-        onBuilt();
-        return result;
-      }
-
-      public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest) {
-          return mergeFrom((org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest)other);
-        } else {
-          super.mergeFrom(other);
-          return this;
-        }
-      }
-
-      public Builder mergeFrom(org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest other) {
-        if (other == org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest.getDefaultInstance()) return this;
-        if (!other.tableMetadataMutations_.isEmpty()) {
-          if (tableMetadataMutations_.isEmpty()) {
-            tableMetadataMutations_ = other.tableMetadataMutations_;
-            bitField0_ = (bitField0_ & ~0x00000001);
-          } else {
-            ensureTableMetadataMutationsIsMutable();
-            tableMetadataMutations_.addAll(other.tableMetadataMutations_);
-          }
-          onChanged();
-        }
-        if (other.hasTemporary()) {
-          setTemporary(other.getTemporary());
-        }
-        if (other.hasReplace()) {
-          setReplace(other.getReplace());
-        }
-        if (other.hasClientVersion()) {
-          setClientVersion(other.getClientVersion());
-        }
-        this.mergeUnknownFields(other.getUnknownFields());
-        return this;
-      }
-
-      public final boolean isInitialized() {
-        if (!hasTemporary()) {
-          
-          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.MetaDataProtos.CreateFunctionRequest parsedMessage = null;
-        try {
-          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (org.apache.phoenix.coprocessor.generated.MetaDataProtos.CreateFunctionRequest) e.getUnfinishedMessage();
-          throw e;
-        } finally {
-          if (parsedMessage != null) {
-            mergeFrom(parsedMessage);
-          }
-        }
-        return this;
-      }
-      private int bitField0_;
-
-      // repeated bytes tableMetadataMutations = 1;
-      private java.util.List<com.google.protobuf.ByteString> tableMetadataMutations_ = java.util.Collections.emptyList();
-      private void ensureTableMetadataMutationsIsMutable() {
-        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
-          tableMetadataMutations_ = new java.util.ArrayList<com.google.protobuf.ByteString>(tableMetadataMutations_);
-          bitField0_ |= 0x00000001;
-         }
-      }
-      /**
-       * <code>repeated bytes tableMetadataMutations = 1;</code>
-       */
-      public java.util.List<com.google.protobuf.ByteString>
-          getTableMetadataMutationsList() {
-        return java.util.Collections.unmodifiableList(tableMetadataMutations_);
-      }
-      /**
-       * <code>repeated bytes tableMetadataMutations = 1;</code>
-       */
-      public int getTableMetadataMutationsCount() {
-        return tableMetadataMutations_.size();
-      }
-      /**
-       * <code>repeated bytes tableMetadataMutations = 1;</code>
-       */
-      public com.google.protobuf.ByteString getTableMetadataMutations(int index) {
-        return tableMetadataMutations_.get(index);
-      }
-      /**
-       * <code>repeated bytes tableMetadataMutations = 1;</code>
-       */
-      public Builder setTableMetadataMutations(
-          int index, com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureTableMetadataMutationsIsMutable();
-        tableMetadataMutations_.set(index, value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated bytes tableMetadataMutations = 1;</code>
-       */
-      public Builder addTableMetadataMutations(com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureTableMetadataMutationsIsMutable();
-        tableMetadataMutations_.add(value);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated bytes tableMetadataMutations = 1;</code>
-       */
-      public Builder addAllTableMetadataMutations(
-          java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
-        ensureTableMetadataMutationsIsMutable();
-        super.addAll(values, tableMetadataMutations_);
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>repeated bytes tableMetadataMutations = 1;</code>
-       */
-      public Builder clearTableMetadataMutations() {
-        tableMetadataMutations_ = java.util.Collections.emptyList();
-        bitField0_ = (bitField0_ & ~0x00000001);
-        onChanged();
-        return this;
-      }
-
-      // required bool temporary = 2;
-      private boolean temporary_ ;
-      /**
-       * <code>required bool temporary = 2;</code>
-       */
-      public boolean hasTemporary() {
-        return ((bitField0_ & 0x00000002) == 0x00000002);
-      }
-      /**
-       * <code>required bool temporary = 2;</code>
-       */
-      public boolean getTemporary() {
-        return temporary_;
-      }
-      /**
-       * <code>required bool temporary = 2;</code>
-       */
-      public Builder setTemporary(boolean value) {
-        bitField0_ |= 0x00000002;
-        temporary_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>required bool temporary = 2;</code>
-       */
-      public Builder clearTemporary() {
-        bitField0_ = (bitField0_ & ~0x00000002);
-        temporary_ = false;
-        onChanged();
-        return this;
-      }
-
-      // optional bool replace = 3;
-      private boolean replace_ ;
-      /**
-       * <code>optional bool replace = 3;</code>
-       */
-      public boolean hasReplace() {
-        return ((bitField0_ & 0x00000004) == 0x00000004);
-      }
-      /**
-       * <code>optional bool replace = 3;</code>
-       */
-      public boolean getReplace() {
-        return replace_;
-      }
-      /**
-       * <code>optional bool replace = 3;</code>
-       */
-      public Builder setReplace(boolean value) {
-        bitField0_ |= 0x00000004;
-        replace_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * <code>optional bool replace = 3;</code>
-       */
-      public Builder clearReplace() {
-        bitField0_ = (bitField0_ & ~0x00000004);
-        replace_ = false;
-        onChanged();
-        return this;
-      }
-
-      // optional int32 clientVersion = 4;
-      private int clientVersion_ ;
-      /**
-       * <code>optional int32 clientVersion = 4;</code>
-       */
-      public boolean hasClientVersion() {
-        return ((bitField0_ & 0x00000008) == 0x00000008);
-      }
-      /**
-       * <code>optional int32 clientVersion = 4;</code>
... 35682 lines suppressed ...