phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeffr...@apache.org
Subject [04/50] Port Phoenix to Hbase0.98
Date Mon, 10 Mar 2014 06:20:21 GMT
http://git-wip-us.apache.org/repos/asf/incubator-phoenix/blob/53f7d3ce/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/ServerCachingProtos.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/ServerCachingProtos.java b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/ServerCachingProtos.java
new file mode 100644
index 0000000..69db21b
--- /dev/null
+++ b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/ServerCachingProtos.java
@@ -0,0 +1,3447 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: ServerCachingService.proto
+
+package org.apache.phoenix.coprocessor.generated;
+
+public final class ServerCachingProtos {
+  private ServerCachingProtos() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+  }
+  public interface ImmutableBytesWritableOrBuilder
+      extends com.google.protobuf.MessageOrBuilder {
+
+    // required bytes byteArray = 1;
+    /**
+     * <code>required bytes byteArray = 1;</code>
+     */
+    boolean hasByteArray();
+    /**
+     * <code>required bytes byteArray = 1;</code>
+     */
+    com.google.protobuf.ByteString getByteArray();
+
+    // required int32 offset = 2;
+    /**
+     * <code>required int32 offset = 2;</code>
+     */
+    boolean hasOffset();
+    /**
+     * <code>required int32 offset = 2;</code>
+     */
+    int getOffset();
+
+    // required int32 length = 3;
+    /**
+     * <code>required int32 length = 3;</code>
+     */
+    boolean hasLength();
+    /**
+     * <code>required int32 length = 3;</code>
+     */
+    int getLength();
+  }
+  /**
+   * Protobuf type {@code ImmutableBytesWritable}
+   */
+  public static final class ImmutableBytesWritable extends
+      com.google.protobuf.GeneratedMessage
+      implements ImmutableBytesWritableOrBuilder {
+    // Use ImmutableBytesWritable.newBuilder() to construct.
+    private ImmutableBytesWritable(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
+      super(builder);
+      this.unknownFields = builder.getUnknownFields();
+    }
+    private ImmutableBytesWritable(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+    private static final ImmutableBytesWritable defaultInstance;
+    public static ImmutableBytesWritable getDefaultInstance() {
+      return defaultInstance;
+    }
+
+    public ImmutableBytesWritable getDefaultInstanceForType() {
+      return defaultInstance;
+    }
+
+    private final com.google.protobuf.UnknownFieldSet unknownFields;
+    @java.lang.Override
+    public final com.google.protobuf.UnknownFieldSet
+        getUnknownFields() {
+      return this.unknownFields;
+    }
+    private ImmutableBytesWritable(
+        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;
+              byteArray_ = input.readBytes();
+              break;
+            }
+            case 16: {
+              bitField0_ |= 0x00000002;
+              offset_ = input.readInt32();
+              break;
+            }
+            case 24: {
+              bitField0_ |= 0x00000004;
+              length_ = 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.ServerCachingProtos.internal_static_ImmutableBytesWritable_descriptor;
+    }
+
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+        internalGetFieldAccessorTable() {
+      return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_ImmutableBytesWritable_fieldAccessorTable
+          .ensureFieldAccessorsInitialized(
+              org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.class, org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.Builder.class);
+    }
+
+    public static com.google.protobuf.Parser<ImmutableBytesWritable> PARSER =
+        new com.google.protobuf.AbstractParser<ImmutableBytesWritable>() {
+      public ImmutableBytesWritable parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new ImmutableBytesWritable(input, extensionRegistry);
+      }
+    };
+
+    @java.lang.Override
+    public com.google.protobuf.Parser<ImmutableBytesWritable> getParserForType() {
+      return PARSER;
+    }
+
+    private int bitField0_;
+    // required bytes byteArray = 1;
+    public static final int BYTEARRAY_FIELD_NUMBER = 1;
+    private com.google.protobuf.ByteString byteArray_;
+    /**
+     * <code>required bytes byteArray = 1;</code>
+     */
+    public boolean hasByteArray() {
+      return ((bitField0_ & 0x00000001) == 0x00000001);
+    }
+    /**
+     * <code>required bytes byteArray = 1;</code>
+     */
+    public com.google.protobuf.ByteString getByteArray() {
+      return byteArray_;
+    }
+
+    // required int32 offset = 2;
+    public static final int OFFSET_FIELD_NUMBER = 2;
+    private int offset_;
+    /**
+     * <code>required int32 offset = 2;</code>
+     */
+    public boolean hasOffset() {
+      return ((bitField0_ & 0x00000002) == 0x00000002);
+    }
+    /**
+     * <code>required int32 offset = 2;</code>
+     */
+    public int getOffset() {
+      return offset_;
+    }
+
+    // required int32 length = 3;
+    public static final int LENGTH_FIELD_NUMBER = 3;
+    private int length_;
+    /**
+     * <code>required int32 length = 3;</code>
+     */
+    public boolean hasLength() {
+      return ((bitField0_ & 0x00000004) == 0x00000004);
+    }
+    /**
+     * <code>required int32 length = 3;</code>
+     */
+    public int getLength() {
+      return length_;
+    }
+
+    private void initFields() {
+      byteArray_ = com.google.protobuf.ByteString.EMPTY;
+      offset_ = 0;
+      length_ = 0;
+    }
+    private byte memoizedIsInitialized = -1;
+    public final boolean isInitialized() {
+      byte isInitialized = memoizedIsInitialized;
+      if (isInitialized != -1) return isInitialized == 1;
+
+      if (!hasByteArray()) {
+        memoizedIsInitialized = 0;
+        return false;
+      }
+      if (!hasOffset()) {
+        memoizedIsInitialized = 0;
+        return false;
+      }
+      if (!hasLength()) {
+        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, byteArray_);
+      }
+      if (((bitField0_ & 0x00000002) == 0x00000002)) {
+        output.writeInt32(2, offset_);
+      }
+      if (((bitField0_ & 0x00000004) == 0x00000004)) {
+        output.writeInt32(3, length_);
+      }
+      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, byteArray_);
+      }
+      if (((bitField0_ & 0x00000002) == 0x00000002)) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeInt32Size(2, offset_);
+      }
+      if (((bitField0_ & 0x00000004) == 0x00000004)) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeInt32Size(3, length_);
+      }
+      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.ServerCachingProtos.ImmutableBytesWritable)) {
+        return super.equals(obj);
+      }
+      org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable other = (org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable) obj;
+
+      boolean result = true;
+      result = result && (hasByteArray() == other.hasByteArray());
+      if (hasByteArray()) {
+        result = result && getByteArray()
+            .equals(other.getByteArray());
+      }
+      result = result && (hasOffset() == other.hasOffset());
+      if (hasOffset()) {
+        result = result && (getOffset()
+            == other.getOffset());
+      }
+      result = result && (hasLength() == other.hasLength());
+      if (hasLength()) {
+        result = result && (getLength()
+            == other.getLength());
+      }
+      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 (hasByteArray()) {
+        hash = (37 * hash) + BYTEARRAY_FIELD_NUMBER;
+        hash = (53 * hash) + getByteArray().hashCode();
+      }
+      if (hasOffset()) {
+        hash = (37 * hash) + OFFSET_FIELD_NUMBER;
+        hash = (53 * hash) + getOffset();
+      }
+      if (hasLength()) {
+        hash = (37 * hash) + LENGTH_FIELD_NUMBER;
+        hash = (53 * hash) + getLength();
+      }
+      hash = (29 * hash) + getUnknownFields().hashCode();
+      memoizedHashCode = hash;
+      return hash;
+    }
+
+    public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable parseFrom(
+        com.google.protobuf.ByteString data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return PARSER.parseFrom(data);
+    }
+    public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable 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.ServerCachingProtos.ImmutableBytesWritable parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return PARSER.parseFrom(data);
+    }
+    public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable 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.ServerCachingProtos.ImmutableBytesWritable parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return PARSER.parseFrom(input);
+    }
+    public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable 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.ServerCachingProtos.ImmutableBytesWritable parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return PARSER.parseDelimitedFrom(input);
+    }
+    public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable 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.ServerCachingProtos.ImmutableBytesWritable parseFrom(
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return PARSER.parseFrom(input);
+    }
+    public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable 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.ServerCachingProtos.ImmutableBytesWritable 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 ImmutableBytesWritable}
+     */
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessage.Builder<Builder>
+       implements org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritableOrBuilder {
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_ImmutableBytesWritable_descriptor;
+      }
+
+      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+          internalGetFieldAccessorTable() {
+        return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_ImmutableBytesWritable_fieldAccessorTable
+            .ensureFieldAccessorsInitialized(
+                org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.class, org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.Builder.class);
+      }
+
+      // Construct using org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.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();
+        byteArray_ = com.google.protobuf.ByteString.EMPTY;
+        bitField0_ = (bitField0_ & ~0x00000001);
+        offset_ = 0;
+        bitField0_ = (bitField0_ & ~0x00000002);
+        length_ = 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.ServerCachingProtos.internal_static_ImmutableBytesWritable_descriptor;
+      }
+
+      public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable getDefaultInstanceForType() {
+        return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.getDefaultInstance();
+      }
+
+      public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable build() {
+        org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable result = buildPartial();
+        if (!result.isInitialized()) {
+          throw newUninitializedMessageException(result);
+        }
+        return result;
+      }
+
+      public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable buildPartial() {
+        org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable result = new org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable(this);
+        int from_bitField0_ = bitField0_;
+        int to_bitField0_ = 0;
+        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+          to_bitField0_ |= 0x00000001;
+        }
+        result.byteArray_ = byteArray_;
+        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+          to_bitField0_ |= 0x00000002;
+        }
+        result.offset_ = offset_;
+        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+          to_bitField0_ |= 0x00000004;
+        }
+        result.length_ = length_;
+        result.bitField0_ = to_bitField0_;
+        onBuilt();
+        return result;
+      }
+
+      public Builder mergeFrom(com.google.protobuf.Message other) {
+        if (other instanceof org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable) {
+          return mergeFrom((org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable)other);
+        } else {
+          super.mergeFrom(other);
+          return this;
+        }
+      }
+
+      public Builder mergeFrom(org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable other) {
+        if (other == org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.getDefaultInstance()) return this;
+        if (other.hasByteArray()) {
+          setByteArray(other.getByteArray());
+        }
+        if (other.hasOffset()) {
+          setOffset(other.getOffset());
+        }
+        if (other.hasLength()) {
+          setLength(other.getLength());
+        }
+        this.mergeUnknownFields(other.getUnknownFields());
+        return this;
+      }
+
+      public final boolean isInitialized() {
+        if (!hasByteArray()) {
+          
+          return false;
+        }
+        if (!hasOffset()) {
+          
+          return false;
+        }
+        if (!hasLength()) {
+          
+          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.ServerCachingProtos.ImmutableBytesWritable parsedMessage = null;
+        try {
+          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          parsedMessage = (org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable) e.getUnfinishedMessage();
+          throw e;
+        } finally {
+          if (parsedMessage != null) {
+            mergeFrom(parsedMessage);
+          }
+        }
+        return this;
+      }
+      private int bitField0_;
+
+      // required bytes byteArray = 1;
+      private com.google.protobuf.ByteString byteArray_ = com.google.protobuf.ByteString.EMPTY;
+      /**
+       * <code>required bytes byteArray = 1;</code>
+       */
+      public boolean hasByteArray() {
+        return ((bitField0_ & 0x00000001) == 0x00000001);
+      }
+      /**
+       * <code>required bytes byteArray = 1;</code>
+       */
+      public com.google.protobuf.ByteString getByteArray() {
+        return byteArray_;
+      }
+      /**
+       * <code>required bytes byteArray = 1;</code>
+       */
+      public Builder setByteArray(com.google.protobuf.ByteString value) {
+        if (value == null) {
+    throw new NullPointerException();
+  }
+  bitField0_ |= 0x00000001;
+        byteArray_ = value;
+        onChanged();
+        return this;
+      }
+      /**
+       * <code>required bytes byteArray = 1;</code>
+       */
+      public Builder clearByteArray() {
+        bitField0_ = (bitField0_ & ~0x00000001);
+        byteArray_ = getDefaultInstance().getByteArray();
+        onChanged();
+        return this;
+      }
+
+      // required int32 offset = 2;
+      private int offset_ ;
+      /**
+       * <code>required int32 offset = 2;</code>
+       */
+      public boolean hasOffset() {
+        return ((bitField0_ & 0x00000002) == 0x00000002);
+      }
+      /**
+       * <code>required int32 offset = 2;</code>
+       */
+      public int getOffset() {
+        return offset_;
+      }
+      /**
+       * <code>required int32 offset = 2;</code>
+       */
+      public Builder setOffset(int value) {
+        bitField0_ |= 0x00000002;
+        offset_ = value;
+        onChanged();
+        return this;
+      }
+      /**
+       * <code>required int32 offset = 2;</code>
+       */
+      public Builder clearOffset() {
+        bitField0_ = (bitField0_ & ~0x00000002);
+        offset_ = 0;
+        onChanged();
+        return this;
+      }
+
+      // required int32 length = 3;
+      private int length_ ;
+      /**
+       * <code>required int32 length = 3;</code>
+       */
+      public boolean hasLength() {
+        return ((bitField0_ & 0x00000004) == 0x00000004);
+      }
+      /**
+       * <code>required int32 length = 3;</code>
+       */
+      public int getLength() {
+        return length_;
+      }
+      /**
+       * <code>required int32 length = 3;</code>
+       */
+      public Builder setLength(int value) {
+        bitField0_ |= 0x00000004;
+        length_ = value;
+        onChanged();
+        return this;
+      }
+      /**
+       * <code>required int32 length = 3;</code>
+       */
+      public Builder clearLength() {
+        bitField0_ = (bitField0_ & ~0x00000004);
+        length_ = 0;
+        onChanged();
+        return this;
+      }
+
+      // @@protoc_insertion_point(builder_scope:ImmutableBytesWritable)
+    }
+
+    static {
+      defaultInstance = new ImmutableBytesWritable(true);
+      defaultInstance.initFields();
+    }
+
+    // @@protoc_insertion_point(class_scope:ImmutableBytesWritable)
+  }
+
+  public interface AddServerCacheRequestOrBuilder
+      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 cacheId = 2;
+    /**
+     * <code>required bytes cacheId = 2;</code>
+     */
+    boolean hasCacheId();
+    /**
+     * <code>required bytes cacheId = 2;</code>
+     */
+    com.google.protobuf.ByteString getCacheId();
+
+    // required .ImmutableBytesWritable cachePtr = 3;
+    /**
+     * <code>required .ImmutableBytesWritable cachePtr = 3;</code>
+     */
+    boolean hasCachePtr();
+    /**
+     * <code>required .ImmutableBytesWritable cachePtr = 3;</code>
+     */
+    org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable getCachePtr();
+    /**
+     * <code>required .ImmutableBytesWritable cachePtr = 3;</code>
+     */
+    org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritableOrBuilder getCachePtrOrBuilder();
+
+    // required .ServerCacheFactory cacheFactory = 4;
+    /**
+     * <code>required .ServerCacheFactory cacheFactory = 4;</code>
+     */
+    boolean hasCacheFactory();
+    /**
+     * <code>required .ServerCacheFactory cacheFactory = 4;</code>
+     */
+    org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory getCacheFactory();
+    /**
+     * <code>required .ServerCacheFactory cacheFactory = 4;</code>
+     */
+    org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactoryOrBuilder getCacheFactoryOrBuilder();
+  }
+  /**
+   * Protobuf type {@code AddServerCacheRequest}
+   */
+  public static final class AddServerCacheRequest extends
+      com.google.protobuf.GeneratedMessage
+      implements AddServerCacheRequestOrBuilder {
+    // Use AddServerCacheRequest.newBuilder() to construct.
+    private AddServerCacheRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
+      super(builder);
+      this.unknownFields = builder.getUnknownFields();
+    }
+    private AddServerCacheRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+    private static final AddServerCacheRequest defaultInstance;
+    public static AddServerCacheRequest getDefaultInstance() {
+      return defaultInstance;
+    }
+
+    public AddServerCacheRequest getDefaultInstanceForType() {
+      return defaultInstance;
+    }
+
+    private final com.google.protobuf.UnknownFieldSet unknownFields;
+    @java.lang.Override
+    public final com.google.protobuf.UnknownFieldSet
+        getUnknownFields() {
+      return this.unknownFields;
+    }
+    private AddServerCacheRequest(
+        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;
+              cacheId_ = input.readBytes();
+              break;
+            }
+            case 26: {
+              org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.Builder subBuilder = null;
+              if (((bitField0_ & 0x00000004) == 0x00000004)) {
+                subBuilder = cachePtr_.toBuilder();
+              }
+              cachePtr_ = input.readMessage(org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.PARSER, extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(cachePtr_);
+                cachePtr_ = subBuilder.buildPartial();
+              }
+              bitField0_ |= 0x00000004;
+              break;
+            }
+            case 34: {
+              org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory.Builder subBuilder = null;
+              if (((bitField0_ & 0x00000008) == 0x00000008)) {
+                subBuilder = cacheFactory_.toBuilder();
+              }
+              cacheFactory_ = input.readMessage(org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory.PARSER, extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(cacheFactory_);
+                cacheFactory_ = subBuilder.buildPartial();
+              }
+              bitField0_ |= 0x00000008;
+              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.ServerCachingProtos.internal_static_AddServerCacheRequest_descriptor;
+    }
+
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+        internalGetFieldAccessorTable() {
+      return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_AddServerCacheRequest_fieldAccessorTable
+          .ensureFieldAccessorsInitialized(
+              org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest.class, org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest.Builder.class);
+    }
+
+    public static com.google.protobuf.Parser<AddServerCacheRequest> PARSER =
+        new com.google.protobuf.AbstractParser<AddServerCacheRequest>() {
+      public AddServerCacheRequest parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new AddServerCacheRequest(input, extensionRegistry);
+      }
+    };
+
+    @java.lang.Override
+    public com.google.protobuf.Parser<AddServerCacheRequest> 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 cacheId = 2;
+    public static final int CACHEID_FIELD_NUMBER = 2;
+    private com.google.protobuf.ByteString cacheId_;
+    /**
+     * <code>required bytes cacheId = 2;</code>
+     */
+    public boolean hasCacheId() {
+      return ((bitField0_ & 0x00000002) == 0x00000002);
+    }
+    /**
+     * <code>required bytes cacheId = 2;</code>
+     */
+    public com.google.protobuf.ByteString getCacheId() {
+      return cacheId_;
+    }
+
+    // required .ImmutableBytesWritable cachePtr = 3;
+    public static final int CACHEPTR_FIELD_NUMBER = 3;
+    private org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable cachePtr_;
+    /**
+     * <code>required .ImmutableBytesWritable cachePtr = 3;</code>
+     */
+    public boolean hasCachePtr() {
+      return ((bitField0_ & 0x00000004) == 0x00000004);
+    }
+    /**
+     * <code>required .ImmutableBytesWritable cachePtr = 3;</code>
+     */
+    public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable getCachePtr() {
+      return cachePtr_;
+    }
+    /**
+     * <code>required .ImmutableBytesWritable cachePtr = 3;</code>
+     */
+    public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritableOrBuilder getCachePtrOrBuilder() {
+      return cachePtr_;
+    }
+
+    // required .ServerCacheFactory cacheFactory = 4;
+    public static final int CACHEFACTORY_FIELD_NUMBER = 4;
+    private org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory cacheFactory_;
+    /**
+     * <code>required .ServerCacheFactory cacheFactory = 4;</code>
+     */
+    public boolean hasCacheFactory() {
+      return ((bitField0_ & 0x00000008) == 0x00000008);
+    }
+    /**
+     * <code>required .ServerCacheFactory cacheFactory = 4;</code>
+     */
+    public org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory getCacheFactory() {
+      return cacheFactory_;
+    }
+    /**
+     * <code>required .ServerCacheFactory cacheFactory = 4;</code>
+     */
+    public org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactoryOrBuilder getCacheFactoryOrBuilder() {
+      return cacheFactory_;
+    }
+
+    private void initFields() {
+      tenantId_ = com.google.protobuf.ByteString.EMPTY;
+      cacheId_ = com.google.protobuf.ByteString.EMPTY;
+      cachePtr_ = org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.getDefaultInstance();
+      cacheFactory_ = org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory.getDefaultInstance();
+    }
+    private byte memoizedIsInitialized = -1;
+    public final boolean isInitialized() {
+      byte isInitialized = memoizedIsInitialized;
+      if (isInitialized != -1) return isInitialized == 1;
+
+      if (!hasCacheId()) {
+        memoizedIsInitialized = 0;
+        return false;
+      }
+      if (!hasCachePtr()) {
+        memoizedIsInitialized = 0;
+        return false;
+      }
+      if (!hasCacheFactory()) {
+        memoizedIsInitialized = 0;
+        return false;
+      }
+      if (!getCachePtr().isInitialized()) {
+        memoizedIsInitialized = 0;
+        return false;
+      }
+      if (!getCacheFactory().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, cacheId_);
+      }
+      if (((bitField0_ & 0x00000004) == 0x00000004)) {
+        output.writeMessage(3, cachePtr_);
+      }
+      if (((bitField0_ & 0x00000008) == 0x00000008)) {
+        output.writeMessage(4, cacheFactory_);
+      }
+      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, cacheId_);
+      }
+      if (((bitField0_ & 0x00000004) == 0x00000004)) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, cachePtr_);
+      }
+      if (((bitField0_ & 0x00000008) == 0x00000008)) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, cacheFactory_);
+      }
+      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.ServerCachingProtos.AddServerCacheRequest)) {
+        return super.equals(obj);
+      }
+      org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest other = (org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest) obj;
+
+      boolean result = true;
+      result = result && (hasTenantId() == other.hasTenantId());
+      if (hasTenantId()) {
+        result = result && getTenantId()
+            .equals(other.getTenantId());
+      }
+      result = result && (hasCacheId() == other.hasCacheId());
+      if (hasCacheId()) {
+        result = result && getCacheId()
+            .equals(other.getCacheId());
+      }
+      result = result && (hasCachePtr() == other.hasCachePtr());
+      if (hasCachePtr()) {
+        result = result && getCachePtr()
+            .equals(other.getCachePtr());
+      }
+      result = result && (hasCacheFactory() == other.hasCacheFactory());
+      if (hasCacheFactory()) {
+        result = result && getCacheFactory()
+            .equals(other.getCacheFactory());
+      }
+      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 (hasCacheId()) {
+        hash = (37 * hash) + CACHEID_FIELD_NUMBER;
+        hash = (53 * hash) + getCacheId().hashCode();
+      }
+      if (hasCachePtr()) {
+        hash = (37 * hash) + CACHEPTR_FIELD_NUMBER;
+        hash = (53 * hash) + getCachePtr().hashCode();
+      }
+      if (hasCacheFactory()) {
+        hash = (37 * hash) + CACHEFACTORY_FIELD_NUMBER;
+        hash = (53 * hash) + getCacheFactory().hashCode();
+      }
+      hash = (29 * hash) + getUnknownFields().hashCode();
+      memoizedHashCode = hash;
+      return hash;
+    }
+
+    public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest parseFrom(
+        com.google.protobuf.ByteString data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return PARSER.parseFrom(data);
+    }
+    public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest 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.ServerCachingProtos.AddServerCacheRequest parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return PARSER.parseFrom(data);
+    }
+    public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest 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.ServerCachingProtos.AddServerCacheRequest parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return PARSER.parseFrom(input);
+    }
+    public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest 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.ServerCachingProtos.AddServerCacheRequest parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return PARSER.parseDelimitedFrom(input);
+    }
+    public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest 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.ServerCachingProtos.AddServerCacheRequest parseFrom(
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return PARSER.parseFrom(input);
+    }
+    public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest 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.ServerCachingProtos.AddServerCacheRequest 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 AddServerCacheRequest}
+     */
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessage.Builder<Builder>
+       implements org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequestOrBuilder {
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_AddServerCacheRequest_descriptor;
+      }
+
+      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+          internalGetFieldAccessorTable() {
+        return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_AddServerCacheRequest_fieldAccessorTable
+            .ensureFieldAccessorsInitialized(
+                org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest.class, org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest.Builder.class);
+      }
+
+      // Construct using org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest.newBuilder()
+      private Builder() {
+        maybeForceBuilderInitialization();
+      }
+
+      private Builder(
+          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+        super(parent);
+        maybeForceBuilderInitialization();
+      }
+      private void maybeForceBuilderInitialization() {
+        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+          getCachePtrFieldBuilder();
+          getCacheFactoryFieldBuilder();
+        }
+      }
+      private static Builder create() {
+        return new Builder();
+      }
+
+      public Builder clear() {
+        super.clear();
+        tenantId_ = com.google.protobuf.ByteString.EMPTY;
+        bitField0_ = (bitField0_ & ~0x00000001);
+        cacheId_ = com.google.protobuf.ByteString.EMPTY;
+        bitField0_ = (bitField0_ & ~0x00000002);
+        if (cachePtrBuilder_ == null) {
+          cachePtr_ = org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.getDefaultInstance();
+        } else {
+          cachePtrBuilder_.clear();
+        }
+        bitField0_ = (bitField0_ & ~0x00000004);
+        if (cacheFactoryBuilder_ == null) {
+          cacheFactory_ = org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory.getDefaultInstance();
+        } else {
+          cacheFactoryBuilder_.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.ServerCachingProtos.internal_static_AddServerCacheRequest_descriptor;
+      }
+
+      public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest getDefaultInstanceForType() {
+        return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest.getDefaultInstance();
+      }
+
+      public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest build() {
+        org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest result = buildPartial();
+        if (!result.isInitialized()) {
+          throw newUninitializedMessageException(result);
+        }
+        return result;
+      }
+
+      public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest buildPartial() {
+        org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest result = new org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest(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.cacheId_ = cacheId_;
+        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+          to_bitField0_ |= 0x00000004;
+        }
+        if (cachePtrBuilder_ == null) {
+          result.cachePtr_ = cachePtr_;
+        } else {
+          result.cachePtr_ = cachePtrBuilder_.build();
+        }
+        if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+          to_bitField0_ |= 0x00000008;
+        }
+        if (cacheFactoryBuilder_ == null) {
+          result.cacheFactory_ = cacheFactory_;
+        } else {
+          result.cacheFactory_ = cacheFactoryBuilder_.build();
+        }
+        result.bitField0_ = to_bitField0_;
+        onBuilt();
+        return result;
+      }
+
+      public Builder mergeFrom(com.google.protobuf.Message other) {
+        if (other instanceof org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest) {
+          return mergeFrom((org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest)other);
+        } else {
+          super.mergeFrom(other);
+          return this;
+        }
+      }
+
+      public Builder mergeFrom(org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest other) {
+        if (other == org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest.getDefaultInstance()) return this;
+        if (other.hasTenantId()) {
+          setTenantId(other.getTenantId());
+        }
+        if (other.hasCacheId()) {
+          setCacheId(other.getCacheId());
+        }
+        if (other.hasCachePtr()) {
+          mergeCachePtr(other.getCachePtr());
+        }
+        if (other.hasCacheFactory()) {
+          mergeCacheFactory(other.getCacheFactory());
+        }
+        this.mergeUnknownFields(other.getUnknownFields());
+        return this;
+      }
+
+      public final boolean isInitialized() {
+        if (!hasCacheId()) {
+          
+          return false;
+        }
+        if (!hasCachePtr()) {
+          
+          return false;
+        }
+        if (!hasCacheFactory()) {
+          
+          return false;
+        }
+        if (!getCachePtr().isInitialized()) {
+          
+          return false;
+        }
+        if (!getCacheFactory().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.ServerCachingProtos.AddServerCacheRequest parsedMessage = null;
+        try {
+          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          parsedMessage = (org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheRequest) 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 cacheId = 2;
+      private com.google.protobuf.ByteString cacheId_ = com.google.protobuf.ByteString.EMPTY;
+      /**
+       * <code>required bytes cacheId = 2;</code>
+       */
+      public boolean hasCacheId() {
+        return ((bitField0_ & 0x00000002) == 0x00000002);
+      }
+      /**
+       * <code>required bytes cacheId = 2;</code>
+       */
+      public com.google.protobuf.ByteString getCacheId() {
+        return cacheId_;
+      }
+      /**
+       * <code>required bytes cacheId = 2;</code>
+       */
+      public Builder setCacheId(com.google.protobuf.ByteString value) {
+        if (value == null) {
+    throw new NullPointerException();
+  }
+  bitField0_ |= 0x00000002;
+        cacheId_ = value;
+        onChanged();
+        return this;
+      }
+      /**
+       * <code>required bytes cacheId = 2;</code>
+       */
+      public Builder clearCacheId() {
+        bitField0_ = (bitField0_ & ~0x00000002);
+        cacheId_ = getDefaultInstance().getCacheId();
+        onChanged();
+        return this;
+      }
+
+      // required .ImmutableBytesWritable cachePtr = 3;
+      private org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable cachePtr_ = org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.getDefaultInstance();
+      private com.google.protobuf.SingleFieldBuilder<
+          org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable, org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.Builder, org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritableOrBuilder> cachePtrBuilder_;
+      /**
+       * <code>required .ImmutableBytesWritable cachePtr = 3;</code>
+       */
+      public boolean hasCachePtr() {
+        return ((bitField0_ & 0x00000004) == 0x00000004);
+      }
+      /**
+       * <code>required .ImmutableBytesWritable cachePtr = 3;</code>
+       */
+      public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable getCachePtr() {
+        if (cachePtrBuilder_ == null) {
+          return cachePtr_;
+        } else {
+          return cachePtrBuilder_.getMessage();
+        }
+      }
+      /**
+       * <code>required .ImmutableBytesWritable cachePtr = 3;</code>
+       */
+      public Builder setCachePtr(org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable value) {
+        if (cachePtrBuilder_ == null) {
+          if (value == null) {
+            throw new NullPointerException();
+          }
+          cachePtr_ = value;
+          onChanged();
+        } else {
+          cachePtrBuilder_.setMessage(value);
+        }
+        bitField0_ |= 0x00000004;
+        return this;
+      }
+      /**
+       * <code>required .ImmutableBytesWritable cachePtr = 3;</code>
+       */
+      public Builder setCachePtr(
+          org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.Builder builderForValue) {
+        if (cachePtrBuilder_ == null) {
+          cachePtr_ = builderForValue.build();
+          onChanged();
+        } else {
+          cachePtrBuilder_.setMessage(builderForValue.build());
+        }
+        bitField0_ |= 0x00000004;
+        return this;
+      }
+      /**
+       * <code>required .ImmutableBytesWritable cachePtr = 3;</code>
+       */
+      public Builder mergeCachePtr(org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable value) {
+        if (cachePtrBuilder_ == null) {
+          if (((bitField0_ & 0x00000004) == 0x00000004) &&
+              cachePtr_ != org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.getDefaultInstance()) {
+            cachePtr_ =
+              org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.newBuilder(cachePtr_).mergeFrom(value).buildPartial();
+          } else {
+            cachePtr_ = value;
+          }
+          onChanged();
+        } else {
+          cachePtrBuilder_.mergeFrom(value);
+        }
+        bitField0_ |= 0x00000004;
+        return this;
+      }
+      /**
+       * <code>required .ImmutableBytesWritable cachePtr = 3;</code>
+       */
+      public Builder clearCachePtr() {
+        if (cachePtrBuilder_ == null) {
+          cachePtr_ = org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.getDefaultInstance();
+          onChanged();
+        } else {
+          cachePtrBuilder_.clear();
+        }
+        bitField0_ = (bitField0_ & ~0x00000004);
+        return this;
+      }
+      /**
+       * <code>required .ImmutableBytesWritable cachePtr = 3;</code>
+       */
+      public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.Builder getCachePtrBuilder() {
+        bitField0_ |= 0x00000004;
+        onChanged();
+        return getCachePtrFieldBuilder().getBuilder();
+      }
+      /**
+       * <code>required .ImmutableBytesWritable cachePtr = 3;</code>
+       */
+      public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritableOrBuilder getCachePtrOrBuilder() {
+        if (cachePtrBuilder_ != null) {
+          return cachePtrBuilder_.getMessageOrBuilder();
+        } else {
+          return cachePtr_;
+        }
+      }
+      /**
+       * <code>required .ImmutableBytesWritable cachePtr = 3;</code>
+       */
+      private com.google.protobuf.SingleFieldBuilder<
+          org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable, org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.Builder, org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritableOrBuilder> 
+          getCachePtrFieldBuilder() {
+        if (cachePtrBuilder_ == null) {
+          cachePtrBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+              org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable, org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.Builder, org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritableOrBuilder>(
+                  cachePtr_,
+                  getParentForChildren(),
+                  isClean());
+          cachePtr_ = null;
+        }
+        return cachePtrBuilder_;
+      }
+
+      // required .ServerCacheFactory cacheFactory = 4;
+      private org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory cacheFactory_ = org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory.getDefaultInstance();
+      private com.google.protobuf.SingleFieldBuilder<
+          org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory, org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory.Builder, org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactoryOrBuilder> cacheFactoryBuilder_;
+      /**
+       * <code>required .ServerCacheFactory cacheFactory = 4;</code>
+       */
+      public boolean hasCacheFactory() {
+        return ((bitField0_ & 0x00000008) == 0x00000008);
+      }
+      /**
+       * <code>required .ServerCacheFactory cacheFactory = 4;</code>
+       */
+      public org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory getCacheFactory() {
+        if (cacheFactoryBuilder_ == null) {
+          return cacheFactory_;
+        } else {
+          return cacheFactoryBuilder_.getMessage();
+        }
+      }
+      /**
+       * <code>required .ServerCacheFactory cacheFactory = 4;</code>
+       */
+      public Builder setCacheFactory(org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory value) {
+        if (cacheFactoryBuilder_ == null) {
+          if (value == null) {
+            throw new NullPointerException();
+          }
+          cacheFactory_ = value;
+          onChanged();
+        } else {
+          cacheFactoryBuilder_.setMessage(value);
+        }
+        bitField0_ |= 0x00000008;
+        return this;
+      }
+      /**
+       * <code>required .ServerCacheFactory cacheFactory = 4;</code>
+       */
+      public Builder setCacheFactory(
+          org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory.Builder builderForValue) {
+        if (cacheFactoryBuilder_ == null) {
+          cacheFactory_ = builderForValue.build();
+          onChanged();
+        } else {
+          cacheFactoryBuilder_.setMessage(builderForValue.build());
+        }
+        bitField0_ |= 0x00000008;
+        return this;
+      }
+      /**
+       * <code>required .ServerCacheFactory cacheFactory = 4;</code>
+       */
+      public Builder mergeCacheFactory(org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory value) {
+        if (cacheFactoryBuilder_ == null) {
+          if (((bitField0_ & 0x00000008) == 0x00000008) &&
+              cacheFactory_ != org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory.getDefaultInstance()) {
+            cacheFactory_ =
+              org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory.newBuilder(cacheFactory_).mergeFrom(value).buildPartial();
+          } else {
+            cacheFactory_ = value;
+          }
+          onChanged();
+        } else {
+          cacheFactoryBuilder_.mergeFrom(value);
+        }
+        bitField0_ |= 0x00000008;
+        return this;
+      }
+      /**
+       * <code>required .ServerCacheFactory cacheFactory = 4;</code>
+       */
+      public Builder clearCacheFactory() {
+        if (cacheFactoryBuilder_ == null) {
+          cacheFactory_ = org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory.getDefaultInstance();
+          onChanged();
+        } else {
+          cacheFactoryBuilder_.clear();
+        }
+        bitField0_ = (bitField0_ & ~0x00000008);
+        return this;
+      }
+      /**
+       * <code>required .ServerCacheFactory cacheFactory = 4;</code>
+       */
+      public org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory.Builder getCacheFactoryBuilder() {
+        bitField0_ |= 0x00000008;
+        onChanged();
+        return getCacheFactoryFieldBuilder().getBuilder();
+      }
+      /**
+       * <code>required .ServerCacheFactory cacheFactory = 4;</code>
+       */
+      public org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactoryOrBuilder getCacheFactoryOrBuilder() {
+        if (cacheFactoryBuilder_ != null) {
+          return cacheFactoryBuilder_.getMessageOrBuilder();
+        } else {
+          return cacheFactory_;
+        }
+      }
+      /**
+       * <code>required .ServerCacheFactory cacheFactory = 4;</code>
+       */
+      private com.google.protobuf.SingleFieldBuilder<
+          org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory, org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory.Builder, org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactoryOrBuilder> 
+          getCacheFactoryFieldBuilder() {
+        if (cacheFactoryBuilder_ == null) {
+          cacheFactoryBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+              org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory, org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactory.Builder, org.apache.phoenix.coprocessor.generated.ServerCacheFactoryProtos.ServerCacheFactoryOrBuilder>(
+                  cacheFactory_,
+                  getParentForChildren(),
+                  isClean());
+          cacheFactory_ = null;
+        }
+        return cacheFactoryBuilder_;
+      }
+
+      // @@protoc_insertion_point(builder_scope:AddServerCacheRequest)
+    }
+
+    static {
+      defaultInstance = new AddServerCacheRequest(true);
+      defaultInstance.initFields();
+    }
+
+    // @@protoc_insertion_point(class_scope:AddServerCacheRequest)
+  }
+
+  public interface AddServerCacheResponseOrBuilder
+      extends com.google.protobuf.MessageOrBuilder {
+
+    // required bool return = 1;
+    /**
+     * <code>required bool return = 1;</code>
+     */
+    boolean hasReturn();
+    /**
+     * <code>required bool return = 1;</code>
+     */
+    boolean getReturn();
+  }
+  /**
+   * Protobuf type {@code AddServerCacheResponse}
+   */
+  public static final class AddServerCacheResponse extends
+      com.google.protobuf.GeneratedMessage
+      implements AddServerCacheResponseOrBuilder {
+    // Use AddServerCacheResponse.newBuilder() to construct.
+    private AddServerCacheResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
+      super(builder);
+      this.unknownFields = builder.getUnknownFields();
+    }
+    private AddServerCacheResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+    private static final AddServerCacheResponse defaultInstance;
+    public static AddServerCacheResponse getDefaultInstance() {
+      return defaultInstance;
+    }
+
+    public AddServerCacheResponse getDefaultInstanceForType() {
+      return defaultInstance;
+    }
+
+    private final com.google.protobuf.UnknownFieldSet unknownFields;
+    @java.lang.Override
+    public final com.google.protobuf.UnknownFieldSet
+        getUnknownFields() {
+      return this.unknownFields;
+    }
+    private AddServerCacheResponse(
+        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: {
+              bitField0_ |= 0x00000001;
+              return_ = input.readBool();
+              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.ServerCachingProtos.internal_static_AddServerCacheResponse_descriptor;
+    }
+
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+        internalGetFieldAccessorTable() {
+      return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_AddServerCacheResponse_fieldAccessorTable
+          .ensureFieldAccessorsInitialized(
+              org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse.class, org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse.Builder.class);
+    }
+
+    public static com.google.protobuf.Parser<AddServerCacheResponse> PARSER =
+        new com.google.protobuf.AbstractParser<AddServerCacheResponse>() {
+      public AddServerCacheResponse parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new AddServerCacheResponse(input, extensionRegistry);
+      }
+    };
+
+    @java.lang.Override
+    public com.google.protobuf.Parser<AddServerCacheResponse> getParserForType() {
+      return PARSER;
+    }
+
+    private int bitField0_;
+    // required bool return = 1;
+    public static final int RETURN_FIELD_NUMBER = 1;
+    private boolean return_;
+    /**
+     * <code>required bool return = 1;</code>
+     */
+    public boolean hasReturn() {
+      return ((bitField0_ & 0x00000001) == 0x00000001);
+    }
+    /**
+     * <code>required bool return = 1;</code>
+     */
+    public boolean getReturn() {
+      return return_;
+    }
+
+    private void initFields() {
+      return_ = false;
+    }
+    private byte memoizedIsInitialized = -1;
+    public final boolean isInitialized() {
+      byte isInitialized = memoizedIsInitialized;
+      if (isInitialized != -1) return isInitialized == 1;
+
+      if (!hasReturn()) {
+        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.writeBool(1, return_);
+      }
+      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
+          .computeBoolSize(1, return_);
+      }
+      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.ServerCachingProtos.AddServerCacheResponse)) {
+        return super.equals(obj);
+      }
+      org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse other = (org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse) obj;
+
+      boolean result = true;
+      result = result && (hasReturn() == other.hasReturn());
+      if (hasReturn()) {
+        result = result && (getReturn()
+            == other.getReturn());
+      }
+      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 (hasReturn()) {
+        hash = (37 * hash) + RETURN_FIELD_NUMBER;
+        hash = (53 * hash) + hashBoolean(getReturn());
+      }
+      hash = (29 * hash) + getUnknownFields().hashCode();
+      memoizedHashCode = hash;
+      return hash;
+    }
+
+    public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse parseFrom(
+        com.google.protobuf.ByteString data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return PARSER.parseFrom(data);
+    }
+    public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse 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.ServerCachingProtos.AddServerCacheResponse parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return PARSER.parseFrom(data);
+    }
+    public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse 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.ServerCachingProtos.AddServerCacheResponse parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return PARSER.parseFrom(input);
+    }
+    public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse 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.ServerCachingProtos.AddServerCacheResponse parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return PARSER.parseDelimitedFrom(input);
+    }
+    public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse 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.ServerCachingProtos.AddServerCacheResponse parseFrom(
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return PARSER.parseFrom(input);
+    }
+    public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse 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.ServerCachingProtos.AddServerCacheResponse 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 AddServerCacheResponse}
+     */
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessage.Builder<Builder>
+       implements org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponseOrBuilder {
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_AddServerCacheResponse_descriptor;
+      }
+
+      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+          internalGetFieldAccessorTable() {
+        return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_AddServerCacheResponse_fieldAccessorTable
+            .ensureFieldAccessorsInitialized(
+                org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse.class, org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse.Builder.class);
+      }
+
+      // Construct using org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse.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();
+        return_ = false;
+        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.ServerCachingProtos.internal_static_AddServerCacheResponse_descriptor;
+      }
+
+      public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse getDefaultInstanceForType() {
+        return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse.getDefaultInstance();
+      }
+
+      public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse build() {
+        org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse result = buildPartial();
+        if (!result.isInitialized()) {
+          throw newUninitializedMessageException(result);
+        }
+        return result;
+      }
+
+      public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse buildPartial() {
+        org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse result = new org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse(this);
+        int from_bitField0_ = bitField0_;
+        int to_bitField0_ = 0;
+        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+          to_bitField0_ |= 0x00000001;
+        }
+        result.return_ = return_;
+        result.bitField0_ = to_bitField0_;
+        onBuilt();
+        return result;
+      }
+
+      public Builder mergeFrom(com.google.protobuf.Message other) {
+        if (other instanceof org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse) {
+          return mergeFrom((org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse)other);
+        } else {
+          super.mergeFrom(other);
+          return this;
+        }
+      }
+
+      public Builder mergeFrom(org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse other) {
+        if (other == org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse.getDefaultInstance()) return this;
+        if (other.hasReturn()) {
+          setReturn(other.getReturn());
+        }
+        this.mergeUnknownFields(other.getUnknownFields());
+        return this;
+      }
+
+      public final boolean isInitialized() {
+        if (!hasReturn()) {
+          
+          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.ServerCachingProtos.AddServerCacheResponse parsedMessage = null;
+        try {
+          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          parsedMessage = (org.apache.phoenix.coprocessor.generated.ServerCachingProtos.AddServerCacheResponse) e.getUnfinishedMessage();
+          throw e;
+        } finally {
+          if (parsedMessage != null) {
+            mergeFrom(parsedMessage);
+          }
+        }
+        return this;
+      }
+      private int bitField0_;
+
+      // required bool return = 1;
+      private boolean return_ ;
+      /**
+       * <code>required bool return = 1;</code>
+       */
+      public boolean hasReturn() {
+        return ((bitField0_ & 0x00000001) == 0x00000001);
+      }
+      /**
+       * <code>required bool return = 1;</code>
+       */
+      public boolean getReturn() {
+        return return_;
+      }
+      /**
+       * <code>required bool return = 1;</code>
+       */
+      public Builder setReturn(boolean value) {
+        bitField0_ |= 0x00000001;
+        return_ = value;
+        onChanged();
+        return this;
+      }
+      /**
+       * <code>required bool return = 1;</code>
+       */
+      public Builder clearReturn() {
+        bitField0_ = (bitField0_ & ~0x00000001);
+        return_ = false;
+        onChanged();
+        return this;
+      }
+
+      // @@protoc_insertion_point(builder_scope:AddServerCacheResponse)
+    }
+
+    static {
+      defaultInstance = new AddServerCacheResponse(true);
+      defaultInstance.initFields();
+    }
+
+    // @@protoc_insertion_point(class_scope:AddServerCacheResponse)
+  }
+
+  public interface RemoveServerCacheRequestOrBuilder
+      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 cacheId = 2;
+    /**
+     * <code>required bytes cacheId = 2;</code>
+     */
+    boolean hasCacheId();
+    /**
+     * <code>required bytes cacheId = 2;</code>
+     */
+    com.google.protobuf.ByteString getCacheId();
+  }
+  /**
+   * Protobuf type {@code RemoveServerCacheRequest}
+   */
+  public static final class RemoveServerCacheRequest extends
+      com.google.protobuf.GeneratedMessage
+      implements RemoveServerCacheRequestOrBuilder {
+    // Use RemoveServerCacheRequest.newBuilder() to construct.
+    private RemoveServerCacheRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
+      super(builder);
+      this.unknownFields = builder.getUnknownFields();
+    }
+    private RemoveServerCacheRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+    private static final RemoveServerCacheRequest defaultInstance;
+    public static RemoveServerCacheRequest getDefaultInstance() {
+      return defaultInstance;
+    }
+
+    public RemoveServerCacheRequest getDefaultInstanceForType() {
+      return defaultInstance;
+    }
+
+    private final com.google.protobuf.UnknownFieldSet unknownFields;
+    @java.lang.Override
+    public final com.google.protobuf.UnknownFieldSet
+        getUnknownFields() {
+      return this.unknownFields;
+    }
+    private RemoveServerCacheRequest(
+        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;
+              cacheId_ = 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 {
+        this.unknownFields = unknownFields.build();
+        makeExtensionsImmutable();
+      }
+    }
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_RemoveServerCacheRequest_descriptor;
+    }
+
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+        internalGetFieldAccessorTable() {
+      return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_RemoveServerCacheRequest_fieldAccessorTable
+          .ensureFieldAccessorsInitialized(
+              org.apache.phoenix.coprocessor.generated.ServerCachingProtos.RemoveServerCacheRequest.class, org.apache.phoenix.coprocessor.generated.ServerCachingProtos.RemoveServerCacheRequest.Builder.class);
+    }
+
+    public static com.google.protobuf.Parser<RemoveServerCacheRequest> PARSER =
+        new com.google.protobuf.AbstractParser<RemoveServerCacheRequest>() {
+      public RemoveServerCacheRequest parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new RemoveServerCacheRequest(input, extensionRegistry);
+      }
+    };
+
+    @java.lang.Override
+    public com.google.protobuf.Parser<RemoveServerCacheRequest> 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 cacheId = 2;
+    public static final int CACHEID_FIELD_NUMBER = 2;
+    private com.google.protobuf.ByteString cacheId_;
+    /**
+     * <code>required bytes cacheId = 2;</code>
+     */
+    public boolean hasCacheId() {
+      return ((bitField0_ & 0x00000002) == 0x00000002);
+    }
+    /**
+     * <code>required bytes cacheId = 2;</code>
+     */
+    public com.google.protobuf.ByteString getCacheId() {
+      return cacheId_;
+    }
+
+    private void initFields() {
+      tenantId_ = com.google.protobuf.ByteString.EMPTY;
+      cacheId_ = com.google.protobuf.ByteString.EMPTY;
+    }
+    private byte memoizedIsInitialized = -1;
+    public final boolean isInitialized() {
+      byte isInitialized = memoizedIsInitialized;
+      if (isInitialized != -1) return isInitialized == 1;
+
+      if (!hasCacheId()) {
+        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, cacheId_);
+      }
+      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, cacheId_);
+      }
+      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.ServerCachingProtos.RemoveServerCacheRequest)) {
+        return super.equals(obj);
+      }
+      org.apache.phoenix.coprocessor.generated.ServerCachingProtos.RemoveServerCacheRequest other = (org.apache.phoenix.coprocessor.generated.ServerCachingProtos.RemoveServerCacheRequest) obj;
+
+      boolean result = true;
+      result = result && (hasTenantId() == other.hasTenantId());
+      if (hasTenantId()) {
+        result = result && getTenantId()
+            .equals(other.getTenantId());
+      }
+      result = result && (hasCacheId() == other.hasCacheId

<TRUNCATED>

Mime
View raw message