hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject [09/29] hbase git commit: HBASE-16567 Upgrade to protobuf-3.1.x Regenerate all protos in this module with protoc3. Redo ByteStringer to use new pb3.1.0 unsafebytesutil instead of HBaseZeroCopyByteString
Date Fri, 30 Sep 2016 00:30:38 GMT
http://git-wip-us.apache.org/repos/asf/hbase/blob/b4a729ed/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/generated/QuotaProtos.java
----------------------------------------------------------------------
diff --git a/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/generated/QuotaProtos.java b/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/generated/QuotaProtos.java
index da4f9d4..d31e338 100644
--- a/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/generated/QuotaProtos.java
+++ b/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/generated/QuotaProtos.java
@@ -6,7 +6,13 @@ package org.apache.hadoop.hbase.shaded.protobuf.generated;
 public final class QuotaProtos {
   private QuotaProtos() {}
   public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
       com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
   }
   /**
    * Protobuf enum {@code hbase.pb.QuotaScope}
@@ -16,11 +22,11 @@ public final class QuotaProtos {
     /**
      * <code>CLUSTER = 1;</code>
      */
-    CLUSTER(0, 1),
+    CLUSTER(1),
     /**
      * <code>MACHINE = 2;</code>
      */
-    MACHINE(1, 2),
+    MACHINE(2),
     ;
 
     /**
@@ -33,9 +39,19 @@ public final class QuotaProtos {
     public static final int MACHINE_VALUE = 2;
 
 
-    public final int getNumber() { return value; }
+    public final int getNumber() {
+      return value;
+    }
 
+    /**
+     * @deprecated Use {@link #forNumber(int)} instead.
+     */
+    @java.lang.Deprecated
     public static QuotaScope valueOf(int value) {
+      return forNumber(value);
+    }
+
+    public static QuotaScope forNumber(int value) {
       switch (value) {
         case 1: return CLUSTER;
         case 2: return MACHINE;
@@ -47,17 +63,17 @@ public final class QuotaProtos {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static com.google.protobuf.Internal.EnumLiteMap<QuotaScope>
-        internalValueMap =
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        QuotaScope> internalValueMap =
           new com.google.protobuf.Internal.EnumLiteMap<QuotaScope>() {
             public QuotaScope findValueByNumber(int number) {
-              return QuotaScope.valueOf(number);
+              return QuotaScope.forNumber(number);
             }
           };
 
     public final com.google.protobuf.Descriptors.EnumValueDescriptor
         getValueDescriptor() {
-      return getDescriptor().getValues().get(index);
+      return getDescriptor().getValues().get(ordinal());
     }
     public final com.google.protobuf.Descriptors.EnumDescriptor
         getDescriptorForType() {
@@ -79,11 +95,9 @@ public final class QuotaProtos {
       return VALUES[desc.getIndex()];
     }
 
-    private final int index;
     private final int value;
 
-    private QuotaScope(int index, int value) {
-      this.index = index;
+    private QuotaScope(int value) {
       this.value = value;
     }
 
@@ -98,27 +112,27 @@ public final class QuotaProtos {
     /**
      * <code>REQUEST_NUMBER = 1;</code>
      */
-    REQUEST_NUMBER(0, 1),
+    REQUEST_NUMBER(1),
     /**
      * <code>REQUEST_SIZE = 2;</code>
      */
-    REQUEST_SIZE(1, 2),
+    REQUEST_SIZE(2),
     /**
      * <code>WRITE_NUMBER = 3;</code>
      */
-    WRITE_NUMBER(2, 3),
+    WRITE_NUMBER(3),
     /**
      * <code>WRITE_SIZE = 4;</code>
      */
-    WRITE_SIZE(3, 4),
+    WRITE_SIZE(4),
     /**
      * <code>READ_NUMBER = 5;</code>
      */
-    READ_NUMBER(4, 5),
+    READ_NUMBER(5),
     /**
      * <code>READ_SIZE = 6;</code>
      */
-    READ_SIZE(5, 6),
+    READ_SIZE(6),
     ;
 
     /**
@@ -147,9 +161,19 @@ public final class QuotaProtos {
     public static final int READ_SIZE_VALUE = 6;
 
 
-    public final int getNumber() { return value; }
+    public final int getNumber() {
+      return value;
+    }
 
+    /**
+     * @deprecated Use {@link #forNumber(int)} instead.
+     */
+    @java.lang.Deprecated
     public static ThrottleType valueOf(int value) {
+      return forNumber(value);
+    }
+
+    public static ThrottleType forNumber(int value) {
       switch (value) {
         case 1: return REQUEST_NUMBER;
         case 2: return REQUEST_SIZE;
@@ -165,17 +189,17 @@ public final class QuotaProtos {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static com.google.protobuf.Internal.EnumLiteMap<ThrottleType>
-        internalValueMap =
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        ThrottleType> internalValueMap =
           new com.google.protobuf.Internal.EnumLiteMap<ThrottleType>() {
             public ThrottleType findValueByNumber(int number) {
-              return ThrottleType.valueOf(number);
+              return ThrottleType.forNumber(number);
             }
           };
 
     public final com.google.protobuf.Descriptors.EnumValueDescriptor
         getValueDescriptor() {
-      return getDescriptor().getValues().get(index);
+      return getDescriptor().getValues().get(ordinal());
     }
     public final com.google.protobuf.Descriptors.EnumDescriptor
         getDescriptorForType() {
@@ -197,11 +221,9 @@ public final class QuotaProtos {
       return VALUES[desc.getIndex()];
     }
 
-    private final int index;
     private final int value;
 
-    private ThrottleType(int index, int value) {
-      this.index = index;
+    private ThrottleType(int value) {
       this.value = value;
     }
 
@@ -216,7 +238,7 @@ public final class QuotaProtos {
     /**
      * <code>THROTTLE = 1;</code>
      */
-    THROTTLE(0, 1),
+    THROTTLE(1),
     ;
 
     /**
@@ -225,9 +247,19 @@ public final class QuotaProtos {
     public static final int THROTTLE_VALUE = 1;
 
 
-    public final int getNumber() { return value; }
+    public final int getNumber() {
+      return value;
+    }
 
+    /**
+     * @deprecated Use {@link #forNumber(int)} instead.
+     */
+    @java.lang.Deprecated
     public static QuotaType valueOf(int value) {
+      return forNumber(value);
+    }
+
+    public static QuotaType forNumber(int value) {
       switch (value) {
         case 1: return THROTTLE;
         default: return null;
@@ -238,17 +270,17 @@ public final class QuotaProtos {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static com.google.protobuf.Internal.EnumLiteMap<QuotaType>
-        internalValueMap =
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        QuotaType> internalValueMap =
           new com.google.protobuf.Internal.EnumLiteMap<QuotaType>() {
             public QuotaType findValueByNumber(int number) {
-              return QuotaType.valueOf(number);
+              return QuotaType.forNumber(number);
             }
           };
 
     public final com.google.protobuf.Descriptors.EnumValueDescriptor
         getValueDescriptor() {
-      return getDescriptor().getValues().get(index);
+      return getDescriptor().getValues().get(ordinal());
     }
     public final com.google.protobuf.Descriptors.EnumDescriptor
         getDescriptorForType() {
@@ -270,21 +302,19 @@ public final class QuotaProtos {
       return VALUES[desc.getIndex()];
     }
 
-    private final int index;
     private final int value;
 
-    private QuotaType(int index, int value) {
-      this.index = index;
+    private QuotaType(int value) {
       this.value = value;
     }
 
     // @@protoc_insertion_point(enum_scope:hbase.pb.QuotaType)
   }
 
-  public interface TimedQuotaOrBuilder
-      extends com.google.protobuf.MessageOrBuilder {
+  public interface TimedQuotaOrBuilder extends
+      // @@protoc_insertion_point(interface_extends:hbase.pb.TimedQuota)
+      com.google.protobuf.MessageOrBuilder {
 
-    // required .hbase.pb.TimeUnit time_unit = 1;
     /**
      * <code>required .hbase.pb.TimeUnit time_unit = 1;</code>
      */
@@ -294,7 +324,6 @@ public final class QuotaProtos {
      */
     org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TimeUnit getTimeUnit();
 
-    // optional uint64 soft_limit = 2;
     /**
      * <code>optional uint64 soft_limit = 2;</code>
      */
@@ -304,7 +333,6 @@ public final class QuotaProtos {
      */
     long getSoftLimit();
 
-    // optional float share = 3;
     /**
      * <code>optional float share = 3;</code>
      */
@@ -314,7 +342,6 @@ public final class QuotaProtos {
      */
     float getShare();
 
-    // optional .hbase.pb.QuotaScope scope = 4 [default = MACHINE];
     /**
      * <code>optional .hbase.pb.QuotaScope scope = 4 [default = MACHINE];</code>
      */
@@ -327,36 +354,31 @@ public final class QuotaProtos {
   /**
    * Protobuf type {@code hbase.pb.TimedQuota}
    */
-  public static final class TimedQuota extends
-      com.google.protobuf.GeneratedMessage
-      implements TimedQuotaOrBuilder {
+  public  static final class TimedQuota extends
+      com.google.protobuf.GeneratedMessageV3 implements
+      // @@protoc_insertion_point(message_implements:hbase.pb.TimedQuota)
+      TimedQuotaOrBuilder {
     // Use TimedQuota.newBuilder() to construct.
-    private TimedQuota(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
+    private TimedQuota(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
       super(builder);
-      this.unknownFields = builder.getUnknownFields();
     }
-    private TimedQuota(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-    private static final TimedQuota defaultInstance;
-    public static TimedQuota getDefaultInstance() {
-      return defaultInstance;
-    }
-
-    public TimedQuota getDefaultInstanceForType() {
-      return defaultInstance;
+    private TimedQuota() {
+      timeUnit_ = 1;
+      softLimit_ = 0L;
+      share_ = 0F;
+      scope_ = 2;
     }
 
-    private final com.google.protobuf.UnknownFieldSet unknownFields;
     @java.lang.Override
     public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
+    getUnknownFields() {
       return this.unknownFields;
     }
     private TimedQuota(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
-      initFields();
+      this();
       int mutable_bitField0_ = 0;
       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
           com.google.protobuf.UnknownFieldSet.newBuilder();
@@ -382,7 +404,7 @@ public final class QuotaProtos {
                 unknownFields.mergeVarintField(1, rawValue);
               } else {
                 bitField0_ |= 0x00000001;
-                timeUnit_ = value;
+                timeUnit_ = rawValue;
               }
               break;
             }
@@ -403,7 +425,7 @@ public final class QuotaProtos {
                 unknownFields.mergeVarintField(4, rawValue);
               } else {
                 bitField0_ |= 0x00000008;
-                scope_ = value;
+                scope_ = rawValue;
               }
               break;
             }
@@ -413,7 +435,7 @@ public final class QuotaProtos {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
         throw new com.google.protobuf.InvalidProtocolBufferException(
-            e.getMessage()).setUnfinishedMessage(this);
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
@@ -424,32 +446,16 @@ public final class QuotaProtos {
       return org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.internal_static_hbase_pb_TimedQuota_descriptor;
     }
 
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.internal_static_hbase_pb_TimedQuota_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.class, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.Builder.class);
     }
 
-    public static com.google.protobuf.Parser<TimedQuota> PARSER =
-        new com.google.protobuf.AbstractParser<TimedQuota>() {
-      public TimedQuota parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new TimedQuota(input, extensionRegistry);
-      }
-    };
-
-    @java.lang.Override
-    public com.google.protobuf.Parser<TimedQuota> getParserForType() {
-      return PARSER;
-    }
-
     private int bitField0_;
-    // required .hbase.pb.TimeUnit time_unit = 1;
     public static final int TIME_UNIT_FIELD_NUMBER = 1;
-    private org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TimeUnit timeUnit_;
+    private int timeUnit_;
     /**
      * <code>required .hbase.pb.TimeUnit time_unit = 1;</code>
      */
@@ -460,10 +466,10 @@ public final class QuotaProtos {
      * <code>required .hbase.pb.TimeUnit time_unit = 1;</code>
      */
     public org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TimeUnit getTimeUnit() {
-      return timeUnit_;
+      org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TimeUnit result = org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TimeUnit.valueOf(timeUnit_);
+      return result == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TimeUnit.NANOSECONDS : result;
     }
 
-    // optional uint64 soft_limit = 2;
     public static final int SOFT_LIMIT_FIELD_NUMBER = 2;
     private long softLimit_;
     /**
@@ -479,7 +485,6 @@ public final class QuotaProtos {
       return softLimit_;
     }
 
-    // optional float share = 3;
     public static final int SHARE_FIELD_NUMBER = 3;
     private float share_;
     /**
@@ -495,9 +500,8 @@ public final class QuotaProtos {
       return share_;
     }
 
-    // optional .hbase.pb.QuotaScope scope = 4 [default = MACHINE];
     public static final int SCOPE_FIELD_NUMBER = 4;
-    private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.QuotaScope scope_;
+    private int scope_;
     /**
      * <code>optional .hbase.pb.QuotaScope scope = 4 [default = MACHINE];</code>
      */
@@ -508,19 +512,15 @@ public final class QuotaProtos {
      * <code>optional .hbase.pb.QuotaScope scope = 4 [default = MACHINE];</code>
      */
     public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.QuotaScope getScope() {
-      return scope_;
+      org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.QuotaScope result = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.QuotaScope.valueOf(scope_);
+      return result == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.QuotaScope.MACHINE : result;
     }
 
-    private void initFields() {
-      timeUnit_ = org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TimeUnit.NANOSECONDS;
-      softLimit_ = 0L;
-      share_ = 0F;
-      scope_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.QuotaScope.MACHINE;
-    }
     private byte memoizedIsInitialized = -1;
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
-      if (isInitialized != -1) return isInitialized == 1;
+      if (isInitialized == 1) return true;
+      if (isInitialized == 0) return false;
 
       if (!hasTimeUnit()) {
         memoizedIsInitialized = 0;
@@ -532,9 +532,8 @@ public final class QuotaProtos {
 
     public void writeTo(com.google.protobuf.CodedOutputStream output)
                         throws java.io.IOException {
-      getSerializedSize();
       if (((bitField0_ & 0x00000001) == 0x00000001)) {
-        output.writeEnum(1, timeUnit_.getNumber());
+        output.writeEnum(1, timeUnit_);
       }
       if (((bitField0_ & 0x00000002) == 0x00000002)) {
         output.writeUInt64(2, softLimit_);
@@ -543,20 +542,19 @@ public final class QuotaProtos {
         output.writeFloat(3, share_);
       }
       if (((bitField0_ & 0x00000008) == 0x00000008)) {
-        output.writeEnum(4, scope_.getNumber());
+        output.writeEnum(4, scope_);
       }
-      getUnknownFields().writeTo(output);
+      unknownFields.writeTo(output);
     }
 
-    private int memoizedSerializedSize = -1;
     public int getSerializedSize() {
-      int size = memoizedSerializedSize;
+      int size = memoizedSize;
       if (size != -1) return size;
 
       size = 0;
       if (((bitField0_ & 0x00000001) == 0x00000001)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeEnumSize(1, timeUnit_.getNumber());
+          .computeEnumSize(1, timeUnit_);
       }
       if (((bitField0_ & 0x00000002) == 0x00000002)) {
         size += com.google.protobuf.CodedOutputStream
@@ -568,21 +566,15 @@ public final class QuotaProtos {
       }
       if (((bitField0_ & 0x00000008) == 0x00000008)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeEnumSize(4, scope_.getNumber());
+          .computeEnumSize(4, scope_);
       }
-      size += getUnknownFields().getSerializedSize();
-      memoizedSerializedSize = size;
+      size += unknownFields.getSerializedSize();
+      memoizedSize = 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;
@@ -595,8 +587,7 @@ public final class QuotaProtos {
       boolean result = true;
       result = result && (hasTimeUnit() == other.hasTimeUnit());
       if (hasTimeUnit()) {
-        result = result &&
-            (getTimeUnit() == other.getTimeUnit());
+        result = result && timeUnit_ == other.timeUnit_;
       }
       result = result && (hasSoftLimit() == other.hasSoftLimit());
       if (hasSoftLimit()) {
@@ -605,19 +596,19 @@ public final class QuotaProtos {
       }
       result = result && (hasShare() == other.hasShare());
       if (hasShare()) {
-        result = result && (Float.floatToIntBits(getShare())    == Float.floatToIntBits(other.getShare()));
+        result = result && (
+            java.lang.Float.floatToIntBits(getShare())
+            == java.lang.Float.floatToIntBits(
+                other.getShare()));
       }
       result = result && (hasScope() == other.hasScope());
       if (hasScope()) {
-        result = result &&
-            (getScope() == other.getScope());
+        result = result && scope_ == other.scope_;
       }
-      result = result &&
-          getUnknownFields().equals(other.getUnknownFields());
+      result = result && unknownFields.equals(other.unknownFields);
       return result;
     }
 
-    private int memoizedHashCode = 0;
     @java.lang.Override
     public int hashCode() {
       if (memoizedHashCode != 0) {
@@ -627,22 +618,23 @@ public final class QuotaProtos {
       hash = (19 * hash) + getDescriptorForType().hashCode();
       if (hasTimeUnit()) {
         hash = (37 * hash) + TIME_UNIT_FIELD_NUMBER;
-        hash = (53 * hash) + hashEnum(getTimeUnit());
+        hash = (53 * hash) + timeUnit_;
       }
       if (hasSoftLimit()) {
         hash = (37 * hash) + SOFT_LIMIT_FIELD_NUMBER;
-        hash = (53 * hash) + hashLong(getSoftLimit());
+        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+            getSoftLimit());
       }
       if (hasShare()) {
         hash = (37 * hash) + SHARE_FIELD_NUMBER;
-        hash = (53 * hash) + Float.floatToIntBits(
+        hash = (53 * hash) + java.lang.Float.floatToIntBits(
             getShare());
       }
       if (hasScope()) {
         hash = (37 * hash) + SCOPE_FIELD_NUMBER;
-        hash = (53 * hash) + hashEnum(getScope());
+        hash = (53 * hash) + scope_;
       }
-      hash = (29 * hash) + getUnknownFields().hashCode();
+      hash = (29 * hash) + unknownFields.hashCode();
       memoizedHashCode = hash;
       return hash;
     }
@@ -670,46 +662,57 @@ public final class QuotaProtos {
     }
     public static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota parseFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return PARSER.parseFrom(input);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
     public static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota parseFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
     public static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
     public static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
     public static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota parseFrom(
         com.google.protobuf.CodedInputStream input)
         throws java.io.IOException {
-      return PARSER.parseFrom(input);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
     public static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static Builder newBuilder() { return Builder.create(); }
     public Builder newBuilderForType() { return newBuilder(); }
+    public static Builder newBuilder() {
+      return DEFAULT_INSTANCE.toBuilder();
+    }
     public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota prototype) {
-      return newBuilder().mergeFrom(prototype);
+      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+    }
+    public Builder toBuilder() {
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
-    public Builder toBuilder() { return newBuilder(this); }
 
     @java.lang.Override
     protected Builder newBuilderForType(
-        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       Builder builder = new Builder(parent);
       return builder;
     }
@@ -717,14 +720,15 @@ public final class QuotaProtos {
      * Protobuf type {@code hbase.pb.TimedQuota}
      */
     public static final class Builder extends
-        com.google.protobuf.GeneratedMessage.Builder<Builder>
-       implements org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder {
+        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
+        // @@protoc_insertion_point(builder_implements:hbase.pb.TimedQuota)
+        org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder {
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
         return org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.internal_static_hbase_pb_TimedQuota_descriptor;
       }
 
-      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
         return org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.internal_static_hbase_pb_TimedQuota_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
@@ -737,35 +741,28 @@ public final class QuotaProtos {
       }
 
       private Builder(
-          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
         }
       }
-      private static Builder create() {
-        return new Builder();
-      }
-
       public Builder clear() {
         super.clear();
-        timeUnit_ = org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TimeUnit.NANOSECONDS;
+        timeUnit_ = 1;
         bitField0_ = (bitField0_ & ~0x00000001);
         softLimit_ = 0L;
         bitField0_ = (bitField0_ & ~0x00000002);
         share_ = 0F;
         bitField0_ = (bitField0_ & ~0x00000004);
-        scope_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.QuotaScope.MACHINE;
+        scope_ = 2;
         bitField0_ = (bitField0_ & ~0x00000008);
         return this;
       }
 
-      public Builder clone() {
-        return create().mergeFrom(buildPartial());
-      }
-
       public com.google.protobuf.Descriptors.Descriptor
           getDescriptorForType() {
         return org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.internal_static_hbase_pb_TimedQuota_descriptor;
@@ -808,6 +805,32 @@ public final class QuotaProtos {
         return result;
       }
 
+      public Builder clone() {
+        return (Builder) super.clone();
+      }
+      public Builder setField(
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          Object value) {
+        return (Builder) super.setField(field, value);
+      }
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
+        return (Builder) super.clearField(field);
+      }
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        return (Builder) super.clearOneof(oneof);
+      }
+      public Builder setRepeatedField(
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          int index, Object value) {
+        return (Builder) super.setRepeatedField(field, index, value);
+      }
+      public Builder addRepeatedField(
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          Object value) {
+        return (Builder) super.addRepeatedField(field, value);
+      }
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota) {
           return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota)other);
@@ -831,13 +854,13 @@ public final class QuotaProtos {
         if (other.hasScope()) {
           setScope(other.getScope());
         }
-        this.mergeUnknownFields(other.getUnknownFields());
+        this.mergeUnknownFields(other.unknownFields);
+        onChanged();
         return this;
       }
 
       public final boolean isInitialized() {
         if (!hasTimeUnit()) {
-          
           return false;
         }
         return true;
@@ -852,7 +875,7 @@ public final class QuotaProtos {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota) e.getUnfinishedMessage();
-          throw e;
+          throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
             mergeFrom(parsedMessage);
@@ -862,8 +885,7 @@ public final class QuotaProtos {
       }
       private int bitField0_;
 
-      // required .hbase.pb.TimeUnit time_unit = 1;
-      private org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TimeUnit timeUnit_ = org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TimeUnit.NANOSECONDS;
+      private int timeUnit_ = 1;
       /**
        * <code>required .hbase.pb.TimeUnit time_unit = 1;</code>
        */
@@ -874,7 +896,8 @@ public final class QuotaProtos {
        * <code>required .hbase.pb.TimeUnit time_unit = 1;</code>
        */
       public org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TimeUnit getTimeUnit() {
-        return timeUnit_;
+        org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TimeUnit result = org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TimeUnit.valueOf(timeUnit_);
+        return result == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TimeUnit.NANOSECONDS : result;
       }
       /**
        * <code>required .hbase.pb.TimeUnit time_unit = 1;</code>
@@ -884,7 +907,7 @@ public final class QuotaProtos {
           throw new NullPointerException();
         }
         bitField0_ |= 0x00000001;
-        timeUnit_ = value;
+        timeUnit_ = value.getNumber();
         onChanged();
         return this;
       }
@@ -893,12 +916,11 @@ public final class QuotaProtos {
        */
       public Builder clearTimeUnit() {
         bitField0_ = (bitField0_ & ~0x00000001);
-        timeUnit_ = org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TimeUnit.NANOSECONDS;
+        timeUnit_ = 1;
         onChanged();
         return this;
       }
 
-      // optional uint64 soft_limit = 2;
       private long softLimit_ ;
       /**
        * <code>optional uint64 soft_limit = 2;</code>
@@ -931,7 +953,6 @@ public final class QuotaProtos {
         return this;
       }
 
-      // optional float share = 3;
       private float share_ ;
       /**
        * <code>optional float share = 3;</code>
@@ -964,8 +985,7 @@ public final class QuotaProtos {
         return this;
       }
 
-      // optional .hbase.pb.QuotaScope scope = 4 [default = MACHINE];
-      private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.QuotaScope scope_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.QuotaScope.MACHINE;
+      private int scope_ = 2;
       /**
        * <code>optional .hbase.pb.QuotaScope scope = 4 [default = MACHINE];</code>
        */
@@ -976,7 +996,8 @@ public final class QuotaProtos {
        * <code>optional .hbase.pb.QuotaScope scope = 4 [default = MACHINE];</code>
        */
       public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.QuotaScope getScope() {
-        return scope_;
+        org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.QuotaScope result = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.QuotaScope.valueOf(scope_);
+        return result == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.QuotaScope.MACHINE : result;
       }
       /**
        * <code>optional .hbase.pb.QuotaScope scope = 4 [default = MACHINE];</code>
@@ -986,7 +1007,7 @@ public final class QuotaProtos {
           throw new NullPointerException();
         }
         bitField0_ |= 0x00000008;
-        scope_ = value;
+        scope_ = value.getNumber();
         onChanged();
         return this;
       }
@@ -995,26 +1016,63 @@ public final class QuotaProtos {
        */
       public Builder clearScope() {
         bitField0_ = (bitField0_ & ~0x00000008);
-        scope_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.QuotaScope.MACHINE;
+        scope_ = 2;
         onChanged();
         return this;
       }
+      public final Builder setUnknownFields(
+          final com.google.protobuf.UnknownFieldSet unknownFields) {
+        return super.setUnknownFields(unknownFields);
+      }
+
+      public final Builder mergeUnknownFields(
+          final com.google.protobuf.UnknownFieldSet unknownFields) {
+        return super.mergeUnknownFields(unknownFields);
+      }
+
 
       // @@protoc_insertion_point(builder_scope:hbase.pb.TimedQuota)
     }
 
+    // @@protoc_insertion_point(class_scope:hbase.pb.TimedQuota)
+    private static final org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota DEFAULT_INSTANCE;
     static {
-      defaultInstance = new TimedQuota(true);
-      defaultInstance.initFields();
+      DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota();
+    }
+
+    public static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota getDefaultInstance() {
+      return DEFAULT_INSTANCE;
+    }
+
+    @java.lang.Deprecated public static final com.google.protobuf.Parser<TimedQuota>
+        PARSER = new com.google.protobuf.AbstractParser<TimedQuota>() {
+      public TimedQuota parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+          return new TimedQuota(input, extensionRegistry);
+      }
+    };
+
+    public static com.google.protobuf.Parser<TimedQuota> parser() {
+      return PARSER;
+    }
+
+    @java.lang.Override
+    public com.google.protobuf.Parser<TimedQuota> getParserForType() {
+      return PARSER;
+    }
+
+    public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota getDefaultInstanceForType() {
+      return DEFAULT_INSTANCE;
     }
 
-    // @@protoc_insertion_point(class_scope:hbase.pb.TimedQuota)
   }
 
-  public interface ThrottleOrBuilder
-      extends com.google.protobuf.MessageOrBuilder {
+  public interface ThrottleOrBuilder extends
+      // @@protoc_insertion_point(interface_extends:hbase.pb.Throttle)
+      com.google.protobuf.MessageOrBuilder {
 
-    // optional .hbase.pb.TimedQuota req_num = 1;
     /**
      * <code>optional .hbase.pb.TimedQuota req_num = 1;</code>
      */
@@ -1028,7 +1086,6 @@ public final class QuotaProtos {
      */
     org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder getReqNumOrBuilder();
 
-    // optional .hbase.pb.TimedQuota req_size = 2;
     /**
      * <code>optional .hbase.pb.TimedQuota req_size = 2;</code>
      */
@@ -1042,7 +1099,6 @@ public final class QuotaProtos {
      */
     org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder getReqSizeOrBuilder();
 
-    // optional .hbase.pb.TimedQuota write_num = 3;
     /**
      * <code>optional .hbase.pb.TimedQuota write_num = 3;</code>
      */
@@ -1056,7 +1112,6 @@ public final class QuotaProtos {
      */
     org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder getWriteNumOrBuilder();
 
-    // optional .hbase.pb.TimedQuota write_size = 4;
     /**
      * <code>optional .hbase.pb.TimedQuota write_size = 4;</code>
      */
@@ -1070,7 +1125,6 @@ public final class QuotaProtos {
      */
     org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder getWriteSizeOrBuilder();
 
-    // optional .hbase.pb.TimedQuota read_num = 5;
     /**
      * <code>optional .hbase.pb.TimedQuota read_num = 5;</code>
      */
@@ -1084,7 +1138,6 @@ public final class QuotaProtos {
      */
     org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder getReadNumOrBuilder();
 
-    // optional .hbase.pb.TimedQuota read_size = 6;
     /**
      * <code>optional .hbase.pb.TimedQuota read_size = 6;</code>
      */
@@ -1101,36 +1154,27 @@ public final class QuotaProtos {
   /**
    * Protobuf type {@code hbase.pb.Throttle}
    */
-  public static final class Throttle extends
-      com.google.protobuf.GeneratedMessage
-      implements ThrottleOrBuilder {
+  public  static final class Throttle extends
+      com.google.protobuf.GeneratedMessageV3 implements
+      // @@protoc_insertion_point(message_implements:hbase.pb.Throttle)
+      ThrottleOrBuilder {
     // Use Throttle.newBuilder() to construct.
-    private Throttle(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
+    private Throttle(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
       super(builder);
-      this.unknownFields = builder.getUnknownFields();
     }
-    private Throttle(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-    private static final Throttle defaultInstance;
-    public static Throttle getDefaultInstance() {
-      return defaultInstance;
-    }
-
-    public Throttle getDefaultInstanceForType() {
-      return defaultInstance;
+    private Throttle() {
     }
 
-    private final com.google.protobuf.UnknownFieldSet unknownFields;
     @java.lang.Override
     public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
+    getUnknownFields() {
       return this.unknownFields;
     }
     private Throttle(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
-      initFields();
+      this();
       int mutable_bitField0_ = 0;
       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
           com.google.protobuf.UnknownFieldSet.newBuilder();
@@ -1233,7 +1277,7 @@ public final class QuotaProtos {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
         throw new com.google.protobuf.InvalidProtocolBufferException(
-            e.getMessage()).setUnfinishedMessage(this);
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
@@ -1244,30 +1288,14 @@ public final class QuotaProtos {
       return org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.internal_static_hbase_pb_Throttle_descriptor;
     }
 
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.internal_static_hbase_pb_Throttle_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Throttle.class, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Throttle.Builder.class);
     }
 
-    public static com.google.protobuf.Parser<Throttle> PARSER =
-        new com.google.protobuf.AbstractParser<Throttle>() {
-      public Throttle parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new Throttle(input, extensionRegistry);
-      }
-    };
-
-    @java.lang.Override
-    public com.google.protobuf.Parser<Throttle> getParserForType() {
-      return PARSER;
-    }
-
     private int bitField0_;
-    // optional .hbase.pb.TimedQuota req_num = 1;
     public static final int REQ_NUM_FIELD_NUMBER = 1;
     private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota reqNum_;
     /**
@@ -1280,16 +1308,15 @@ public final class QuotaProtos {
      * <code>optional .hbase.pb.TimedQuota req_num = 1;</code>
      */
     public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota getReqNum() {
-      return reqNum_;
+      return reqNum_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : reqNum_;
     }
     /**
      * <code>optional .hbase.pb.TimedQuota req_num = 1;</code>
      */
     public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder getReqNumOrBuilder() {
-      return reqNum_;
+      return reqNum_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : reqNum_;
     }
 
-    // optional .hbase.pb.TimedQuota req_size = 2;
     public static final int REQ_SIZE_FIELD_NUMBER = 2;
     private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota reqSize_;
     /**
@@ -1302,16 +1329,15 @@ public final class QuotaProtos {
      * <code>optional .hbase.pb.TimedQuota req_size = 2;</code>
      */
     public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota getReqSize() {
-      return reqSize_;
+      return reqSize_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : reqSize_;
     }
     /**
      * <code>optional .hbase.pb.TimedQuota req_size = 2;</code>
      */
     public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder getReqSizeOrBuilder() {
-      return reqSize_;
+      return reqSize_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : reqSize_;
     }
 
-    // optional .hbase.pb.TimedQuota write_num = 3;
     public static final int WRITE_NUM_FIELD_NUMBER = 3;
     private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota writeNum_;
     /**
@@ -1324,16 +1350,15 @@ public final class QuotaProtos {
      * <code>optional .hbase.pb.TimedQuota write_num = 3;</code>
      */
     public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota getWriteNum() {
-      return writeNum_;
+      return writeNum_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : writeNum_;
     }
     /**
      * <code>optional .hbase.pb.TimedQuota write_num = 3;</code>
      */
     public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder getWriteNumOrBuilder() {
-      return writeNum_;
+      return writeNum_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : writeNum_;
     }
 
-    // optional .hbase.pb.TimedQuota write_size = 4;
     public static final int WRITE_SIZE_FIELD_NUMBER = 4;
     private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota writeSize_;
     /**
@@ -1346,16 +1371,15 @@ public final class QuotaProtos {
      * <code>optional .hbase.pb.TimedQuota write_size = 4;</code>
      */
     public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota getWriteSize() {
-      return writeSize_;
+      return writeSize_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : writeSize_;
     }
     /**
      * <code>optional .hbase.pb.TimedQuota write_size = 4;</code>
      */
     public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder getWriteSizeOrBuilder() {
-      return writeSize_;
+      return writeSize_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : writeSize_;
     }
 
-    // optional .hbase.pb.TimedQuota read_num = 5;
     public static final int READ_NUM_FIELD_NUMBER = 5;
     private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota readNum_;
     /**
@@ -1368,16 +1392,15 @@ public final class QuotaProtos {
      * <code>optional .hbase.pb.TimedQuota read_num = 5;</code>
      */
     public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota getReadNum() {
-      return readNum_;
+      return readNum_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : readNum_;
     }
     /**
      * <code>optional .hbase.pb.TimedQuota read_num = 5;</code>
      */
     public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder getReadNumOrBuilder() {
-      return readNum_;
+      return readNum_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : readNum_;
     }
 
-    // optional .hbase.pb.TimedQuota read_size = 6;
     public static final int READ_SIZE_FIELD_NUMBER = 6;
     private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota readSize_;
     /**
@@ -1390,27 +1413,20 @@ public final class QuotaProtos {
      * <code>optional .hbase.pb.TimedQuota read_size = 6;</code>
      */
     public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota getReadSize() {
-      return readSize_;
+      return readSize_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : readSize_;
     }
     /**
      * <code>optional .hbase.pb.TimedQuota read_size = 6;</code>
      */
     public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder getReadSizeOrBuilder() {
-      return readSize_;
+      return readSize_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : readSize_;
     }
 
-    private void initFields() {
-      reqNum_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
-      reqSize_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
-      writeNum_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
-      writeSize_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
-      readNum_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
-      readSize_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
-    }
     private byte memoizedIsInitialized = -1;
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
-      if (isInitialized != -1) return isInitialized == 1;
+      if (isInitialized == 1) return true;
+      if (isInitialized == 0) return false;
 
       if (hasReqNum()) {
         if (!getReqNum().isInitialized()) {
@@ -1454,71 +1470,63 @@ public final class QuotaProtos {
 
     public void writeTo(com.google.protobuf.CodedOutputStream output)
                         throws java.io.IOException {
-      getSerializedSize();
       if (((bitField0_ & 0x00000001) == 0x00000001)) {
-        output.writeMessage(1, reqNum_);
+        output.writeMessage(1, getReqNum());
       }
       if (((bitField0_ & 0x00000002) == 0x00000002)) {
-        output.writeMessage(2, reqSize_);
+        output.writeMessage(2, getReqSize());
       }
       if (((bitField0_ & 0x00000004) == 0x00000004)) {
-        output.writeMessage(3, writeNum_);
+        output.writeMessage(3, getWriteNum());
       }
       if (((bitField0_ & 0x00000008) == 0x00000008)) {
-        output.writeMessage(4, writeSize_);
+        output.writeMessage(4, getWriteSize());
       }
       if (((bitField0_ & 0x00000010) == 0x00000010)) {
-        output.writeMessage(5, readNum_);
+        output.writeMessage(5, getReadNum());
       }
       if (((bitField0_ & 0x00000020) == 0x00000020)) {
-        output.writeMessage(6, readSize_);
+        output.writeMessage(6, getReadSize());
       }
-      getUnknownFields().writeTo(output);
+      unknownFields.writeTo(output);
     }
 
-    private int memoizedSerializedSize = -1;
     public int getSerializedSize() {
-      int size = memoizedSerializedSize;
+      int size = memoizedSize;
       if (size != -1) return size;
 
       size = 0;
       if (((bitField0_ & 0x00000001) == 0x00000001)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, reqNum_);
+          .computeMessageSize(1, getReqNum());
       }
       if (((bitField0_ & 0x00000002) == 0x00000002)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, reqSize_);
+          .computeMessageSize(2, getReqSize());
       }
       if (((bitField0_ & 0x00000004) == 0x00000004)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, writeNum_);
+          .computeMessageSize(3, getWriteNum());
       }
       if (((bitField0_ & 0x00000008) == 0x00000008)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, writeSize_);
+          .computeMessageSize(4, getWriteSize());
       }
       if (((bitField0_ & 0x00000010) == 0x00000010)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(5, readNum_);
+          .computeMessageSize(5, getReadNum());
       }
       if (((bitField0_ & 0x00000020) == 0x00000020)) {
         size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(6, readSize_);
+          .computeMessageSize(6, getReadSize());
       }
-      size += getUnknownFields().getSerializedSize();
-      memoizedSerializedSize = size;
+      size += unknownFields.getSerializedSize();
+      memoizedSize = 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;
@@ -1559,12 +1567,10 @@ public final class QuotaProtos {
         result = result && getReadSize()
             .equals(other.getReadSize());
       }
-      result = result &&
-          getUnknownFields().equals(other.getUnknownFields());
+      result = result && unknownFields.equals(other.unknownFields);
       return result;
     }
 
-    private int memoizedHashCode = 0;
     @java.lang.Override
     public int hashCode() {
       if (memoizedHashCode != 0) {
@@ -1596,7 +1602,7 @@ public final class QuotaProtos {
         hash = (37 * hash) + READ_SIZE_FIELD_NUMBER;
         hash = (53 * hash) + getReadSize().hashCode();
       }
-      hash = (29 * hash) + getUnknownFields().hashCode();
+      hash = (29 * hash) + unknownFields.hashCode();
       memoizedHashCode = hash;
       return hash;
     }
@@ -1624,46 +1630,57 @@ public final class QuotaProtos {
     }
     public static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Throttle parseFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return PARSER.parseFrom(input);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
     public static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Throttle parseFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
     public static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Throttle parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
     public static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Throttle parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return PARSER.parseDelimitedFrom(input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
     public static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Throttle parseFrom(
         com.google.protobuf.CodedInputStream input)
         throws java.io.IOException {
-      return PARSER.parseFrom(input);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
     public static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Throttle parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return PARSER.parseFrom(input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static Builder newBuilder() { return Builder.create(); }
     public Builder newBuilderForType() { return newBuilder(); }
+    public static Builder newBuilder() {
+      return DEFAULT_INSTANCE.toBuilder();
+    }
     public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Throttle prototype) {
-      return newBuilder().mergeFrom(prototype);
+      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+    }
+    public Builder toBuilder() {
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
-    public Builder toBuilder() { return newBuilder(this); }
 
     @java.lang.Override
     protected Builder newBuilderForType(
-        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       Builder builder = new Builder(parent);
       return builder;
     }
@@ -1671,14 +1688,15 @@ public final class QuotaProtos {
      * Protobuf type {@code hbase.pb.Throttle}
      */
     public static final class Builder extends
-        com.google.protobuf.GeneratedMessage.Builder<Builder>
-       implements org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.ThrottleOrBuilder {
+        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
+        // @@protoc_insertion_point(builder_implements:hbase.pb.Throttle)
+        org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.ThrottleOrBuilder {
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
         return org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.internal_static_hbase_pb_Throttle_descriptor;
       }
 
-      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
         return org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.internal_static_hbase_pb_Throttle_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
@@ -1691,12 +1709,13 @@ public final class QuotaProtos {
       }
 
       private Builder(
-          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getReqNumFieldBuilder();
           getReqSizeFieldBuilder();
           getWriteNumFieldBuilder();
@@ -1705,44 +1724,40 @@ public final class QuotaProtos {
           getReadSizeFieldBuilder();
         }
       }
-      private static Builder create() {
-        return new Builder();
-      }
-
       public Builder clear() {
         super.clear();
         if (reqNumBuilder_ == null) {
-          reqNum_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
+          reqNum_ = null;
         } else {
           reqNumBuilder_.clear();
         }
         bitField0_ = (bitField0_ & ~0x00000001);
         if (reqSizeBuilder_ == null) {
-          reqSize_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
+          reqSize_ = null;
         } else {
           reqSizeBuilder_.clear();
         }
         bitField0_ = (bitField0_ & ~0x00000002);
         if (writeNumBuilder_ == null) {
-          writeNum_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
+          writeNum_ = null;
         } else {
           writeNumBuilder_.clear();
         }
         bitField0_ = (bitField0_ & ~0x00000004);
         if (writeSizeBuilder_ == null) {
-          writeSize_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
+          writeSize_ = null;
         } else {
           writeSizeBuilder_.clear();
         }
         bitField0_ = (bitField0_ & ~0x00000008);
         if (readNumBuilder_ == null) {
-          readNum_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
+          readNum_ = null;
         } else {
           readNumBuilder_.clear();
         }
         bitField0_ = (bitField0_ & ~0x00000010);
         if (readSizeBuilder_ == null) {
-          readSize_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
+          readSize_ = null;
         } else {
           readSizeBuilder_.clear();
         }
@@ -1750,10 +1765,6 @@ public final class QuotaProtos {
         return this;
       }
 
-      public Builder clone() {
-        return create().mergeFrom(buildPartial());
-      }
-
       public com.google.protobuf.Descriptors.Descriptor
           getDescriptorForType() {
         return org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.internal_static_hbase_pb_Throttle_descriptor;
@@ -1828,6 +1839,32 @@ public final class QuotaProtos {
         return result;
       }
 
+      public Builder clone() {
+        return (Builder) super.clone();
+      }
+      public Builder setField(
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          Object value) {
+        return (Builder) super.setField(field, value);
+      }
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
+        return (Builder) super.clearField(field);
+      }
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        return (Builder) super.clearOneof(oneof);
+      }
+      public Builder setRepeatedField(
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          int index, Object value) {
+        return (Builder) super.setRepeatedField(field, index, value);
+      }
+      public Builder addRepeatedField(
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          Object value) {
+        return (Builder) super.addRepeatedField(field, value);
+      }
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Throttle) {
           return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Throttle)other);
@@ -1857,44 +1894,39 @@ public final class QuotaProtos {
         if (other.hasReadSize()) {
           mergeReadSize(other.getReadSize());
         }
-        this.mergeUnknownFields(other.getUnknownFields());
+        this.mergeUnknownFields(other.unknownFields);
+        onChanged();
         return this;
       }
 
       public final boolean isInitialized() {
         if (hasReqNum()) {
           if (!getReqNum().isInitialized()) {
-            
             return false;
           }
         }
         if (hasReqSize()) {
           if (!getReqSize().isInitialized()) {
-            
             return false;
           }
         }
         if (hasWriteNum()) {
           if (!getWriteNum().isInitialized()) {
-            
             return false;
           }
         }
         if (hasWriteSize()) {
           if (!getWriteSize().isInitialized()) {
-            
             return false;
           }
         }
         if (hasReadNum()) {
           if (!getReadNum().isInitialized()) {
-            
             return false;
           }
         }
         if (hasReadSize()) {
           if (!getReadSize().isInitialized()) {
-            
             return false;
           }
         }
@@ -1910,7 +1942,7 @@ public final class QuotaProtos {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Throttle) e.getUnfinishedMessage();
-          throw e;
+          throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
             mergeFrom(parsedMessage);
@@ -1920,9 +1952,8 @@ public final class QuotaProtos {
       }
       private int bitField0_;
 
-      // optional .hbase.pb.TimedQuota req_num = 1;
-      private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota reqNum_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
-      private com.google.protobuf.SingleFieldBuilder<
+      private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota reqNum_ = null;
+      private com.google.protobuf.SingleFieldBuilderV3<
           org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder> reqNumBuilder_;
       /**
        * <code>optional .hbase.pb.TimedQuota req_num = 1;</code>
@@ -1935,7 +1966,7 @@ public final class QuotaProtos {
        */
       public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota getReqNum() {
         if (reqNumBuilder_ == null) {
-          return reqNum_;
+          return reqNum_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : reqNum_;
         } else {
           return reqNumBuilder_.getMessage();
         }
@@ -1976,6 +2007,7 @@ public final class QuotaProtos {
       public Builder mergeReqNum(org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota value) {
         if (reqNumBuilder_ == null) {
           if (((bitField0_ & 0x00000001) == 0x00000001) &&
+              reqNum_ != null &&
               reqNum_ != org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance()) {
             reqNum_ =
               org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.newBuilder(reqNum_).mergeFrom(value).buildPartial();
@@ -1994,7 +2026,7 @@ public final class QuotaProtos {
        */
       public Builder clearReqNum() {
         if (reqNumBuilder_ == null) {
-          reqNum_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
+          reqNum_ = null;
           onChanged();
         } else {
           reqNumBuilder_.clear();
@@ -2017,19 +2049,20 @@ public final class QuotaProtos {
         if (reqNumBuilder_ != null) {
           return reqNumBuilder_.getMessageOrBuilder();
         } else {
-          return reqNum_;
+          return reqNum_ == null ?
+              org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : reqNum_;
         }
       }
       /**
        * <code>optional .hbase.pb.TimedQuota req_num = 1;</code>
        */
-      private com.google.protobuf.SingleFieldBuilder<
+      private com.google.protobuf.SingleFieldBuilderV3<
           org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder> 
           getReqNumFieldBuilder() {
         if (reqNumBuilder_ == null) {
-          reqNumBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+          reqNumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
               org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder>(
-                  reqNum_,
+                  getReqNum(),
                   getParentForChildren(),
                   isClean());
           reqNum_ = null;
@@ -2037,9 +2070,8 @@ public final class QuotaProtos {
         return reqNumBuilder_;
       }
 
-      // optional .hbase.pb.TimedQuota req_size = 2;
-      private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota reqSize_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
-      private com.google.protobuf.SingleFieldBuilder<
+      private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota reqSize_ = null;
+      private com.google.protobuf.SingleFieldBuilderV3<
           org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder> reqSizeBuilder_;
       /**
        * <code>optional .hbase.pb.TimedQuota req_size = 2;</code>
@@ -2052,7 +2084,7 @@ public final class QuotaProtos {
        */
       public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota getReqSize() {
         if (reqSizeBuilder_ == null) {
-          return reqSize_;
+          return reqSize_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : reqSize_;
         } else {
           return reqSizeBuilder_.getMessage();
         }
@@ -2093,6 +2125,7 @@ public final class QuotaProtos {
       public Builder mergeReqSize(org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota value) {
         if (reqSizeBuilder_ == null) {
           if (((bitField0_ & 0x00000002) == 0x00000002) &&
+              reqSize_ != null &&
               reqSize_ != org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance()) {
             reqSize_ =
               org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.newBuilder(reqSize_).mergeFrom(value).buildPartial();
@@ -2111,7 +2144,7 @@ public final class QuotaProtos {
        */
       public Builder clearReqSize() {
         if (reqSizeBuilder_ == null) {
-          reqSize_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
+          reqSize_ = null;
           onChanged();
         } else {
           reqSizeBuilder_.clear();
@@ -2134,19 +2167,20 @@ public final class QuotaProtos {
         if (reqSizeBuilder_ != null) {
           return reqSizeBuilder_.getMessageOrBuilder();
         } else {
-          return reqSize_;
+          return reqSize_ == null ?
+              org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : reqSize_;
         }
       }
       /**
        * <code>optional .hbase.pb.TimedQuota req_size = 2;</code>
        */
-      private com.google.protobuf.SingleFieldBuilder<
+      private com.google.protobuf.SingleFieldBuilderV3<
           org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder> 
           getReqSizeFieldBuilder() {
         if (reqSizeBuilder_ == null) {
-          reqSizeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+          reqSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
               org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder>(
-                  reqSize_,
+                  getReqSize(),
                   getParentForChildren(),
                   isClean());
           reqSize_ = null;
@@ -2154,9 +2188,8 @@ public final class QuotaProtos {
         return reqSizeBuilder_;
       }
 
-      // optional .hbase.pb.TimedQuota write_num = 3;
-      private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota writeNum_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
-      private com.google.protobuf.SingleFieldBuilder<
+      private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota writeNum_ = null;
+      private com.google.protobuf.SingleFieldBuilderV3<
           org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder> writeNumBuilder_;
       /**
        * <code>optional .hbase.pb.TimedQuota write_num = 3;</code>
@@ -2169,7 +2202,7 @@ public final class QuotaProtos {
        */
       public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota getWriteNum() {
         if (writeNumBuilder_ == null) {
-          return writeNum_;
+          return writeNum_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : writeNum_;
         } else {
           return writeNumBuilder_.getMessage();
         }
@@ -2210,6 +2243,7 @@ public final class QuotaProtos {
       public Builder mergeWriteNum(org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota value) {
         if (writeNumBuilder_ == null) {
           if (((bitField0_ & 0x00000004) == 0x00000004) &&
+              writeNum_ != null &&
               writeNum_ != org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance()) {
             writeNum_ =
               org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.newBuilder(writeNum_).mergeFrom(value).buildPartial();
@@ -2228,7 +2262,7 @@ public final class QuotaProtos {
        */
       public Builder clearWriteNum() {
         if (writeNumBuilder_ == null) {
-          writeNum_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
+          writeNum_ = null;
           onChanged();
         } else {
           writeNumBuilder_.clear();
@@ -2251,19 +2285,20 @@ public final class QuotaProtos {
         if (writeNumBuilder_ != null) {
           return writeNumBuilder_.getMessageOrBuilder();
         } else {
-          return writeNum_;
+          return writeNum_ == null ?
+              org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : writeNum_;
         }
       }
       /**
        * <code>optional .hbase.pb.TimedQuota write_num = 3;</code>
        */
-      private com.google.protobuf.SingleFieldBuilder<
+      private com.google.protobuf.SingleFieldBuilderV3<
           org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder> 
           getWriteNumFieldBuilder() {
         if (writeNumBuilder_ == null) {
-          writeNumBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+          writeNumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
               org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder>(
-                  writeNum_,
+                  getWriteNum(),
                   getParentForChildren(),
                   isClean());
           writeNum_ = null;
@@ -2271,9 +2306,8 @@ public final class QuotaProtos {
         return writeNumBuilder_;
       }
 
-      // optional .hbase.pb.TimedQuota write_size = 4;
-      private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota writeSize_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
-      private com.google.protobuf.SingleFieldBuilder<
+      private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota writeSize_ = null;
+      private com.google.protobuf.SingleFieldBuilderV3<
           org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder> writeSizeBuilder_;
       /**
        * <code>optional .hbase.pb.TimedQuota write_size = 4;</code>
@@ -2286,7 +2320,7 @@ public final class QuotaProtos {
        */
       public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota getWriteSize() {
         if (writeSizeBuilder_ == null) {
-          return writeSize_;
+          return writeSize_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : writeSize_;
         } else {
           return writeSizeBuilder_.getMessage();
         }
@@ -2327,6 +2361,7 @@ public final class QuotaProtos {
       public Builder mergeWriteSize(org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota value) {
         if (writeSizeBuilder_ == null) {
           if (((bitField0_ & 0x00000008) == 0x00000008) &&
+              writeSize_ != null &&
               writeSize_ != org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance()) {
             writeSize_ =
               org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.newBuilder(writeSize_).mergeFrom(value).buildPartial();
@@ -2345,7 +2380,7 @@ public final class QuotaProtos {
        */
       public Builder clearWriteSize() {
         if (writeSizeBuilder_ == null) {
-          writeSize_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
+          writeSize_ = null;
           onChanged();
         } else {
           writeSizeBuilder_.clear();
@@ -2368,19 +2403,20 @@ public final class QuotaProtos {
         if (writeSizeBuilder_ != null) {
           return writeSizeBuilder_.getMessageOrBuilder();
         } else {
-          return writeSize_;
+          return writeSize_ == null ?
+              org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : writeSize_;
         }
       }
       /**
        * <code>optional .hbase.pb.TimedQuota write_size = 4;</code>
        */
-      private com.google.protobuf.SingleFieldBuilder<
+      private com.google.protobuf.SingleFieldBuilderV3<
           org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder> 
           getWriteSizeFieldBuilder() {
         if (writeSizeBuilder_ == null) {
-          writeSizeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+          writeSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
               org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder>(
-                  writeSize_,
+                  getWriteSize(),
                   getParentForChildren(),
                   isClean());
           writeSize_ = null;
@@ -2388,9 +2424,8 @@ public final class QuotaProtos {
         return writeSizeBuilder_;
       }
 
-      // optional .hbase.pb.TimedQuota read_num = 5;
-      private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota readNum_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
-      private com.google.protobuf.SingleFieldBuilder<
+      private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota readNum_ = null;
+      private com.google.protobuf.SingleFieldBuilderV3<
           org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder> readNumBuilder_;
       /**
        * <code>optional .hbase.pb.TimedQuota read_num = 5;</code>
@@ -2403,7 +2438,7 @@ public final class QuotaProtos {
        */
       public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota getReadNum() {
         if (readNumBuilder_ == null) {
-          return readNum_;
+          return readNum_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : readNum_;
         } else {
           return readNumBuilder_.getMessage();
         }
@@ -2444,6 +2479,7 @@ public final class QuotaProtos {
       public Builder mergeReadNum(org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota value) {
         if (readNumBuilder_ == null) {
           if (((bitField0_ & 0x00000010) == 0x00000010) &&
+              readNum_ != null &&
               readNum_ != org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance()) {
             readNum_ =
               org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.newBuilder(readNum_).mergeFrom(value).buildPartial();
@@ -2462,7 +2498,7 @@ public final class QuotaProtos {
        */
       public Builder clearReadNum() {
         if (readNumBuilder_ == null) {
-          readNum_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
+          readNum_ = null;
           onChanged();
         } else {
           readNumBuilder_.clear();
@@ -2485,19 +2521,20 @@ public final class QuotaProtos {
         if (readNumBuilder_ != null) {
           return readNumBuilder_.getMessageOrBuilder();
         } else {
-          return readNum_;
+          return readNum_ == null ?
+              org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : readNum_;
         }
       }
       /**
        * <code>optional .hbase.pb.TimedQuota read_num = 5;</code>
        */
-      private com.google.protobuf.SingleFieldBuilder<
+      private com.google.protobuf.SingleFieldBuilderV3<
           org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder> 
           getReadNumFieldBuilder() {
         if (readNumBuilder_ == null) {
-          readNumBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+          readNumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
               org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder>(
-                  readNum_,
+                  getReadNum(),
                   getParentForChildren(),
                   isClean());
           readNum_ = null;
@@ -2505,9 +2542,8 @@ public final class QuotaProtos {
         return readNumBuilder_;
       }
 
-      // optional .hbase.pb.TimedQuota read_size = 6;
-      private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota readSize_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
-      private com.google.protobuf.SingleFieldBuilder<
+      private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota readSize_ = null;
+      private com.google.protobuf.SingleFieldBuilderV3<
           org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder> readSizeBuilder_;
       /**
        * <code>optional .hbase.pb.TimedQuota read_size = 6;</code>
@@ -2520,7 +2556,7 @@ public final class QuotaProtos {
        */
       public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota getReadSize() {
         if (readSizeBuilder_ == null) {
-          return readSize_;
+          return readSize_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : readSize_;
         } else {
           return readSizeBuilder_.getMessage();
         }
@@ -2561,6 +2597,7 @@ public final class QuotaProtos {
       public Builder mergeReadSize(org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota value) {
         if (readSizeBuilder_ == null) {
           if (((bitField0_ & 0x00000020) == 0x00000020) &&
+              readSize_ != null &&
               readSize_ != org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance()) {
             readSize_ =
               org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.newBuilder(readSize_).mergeFrom(value).buildPartial();
@@ -2579,7 +2616,7 @@ public final class QuotaProtos {
        */
       public Builder clearReadSize() {
         if (readSizeBuilder_ == null) {
-          readSize_ = org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance();
+          readSize_ = null;
           onChanged();
         } else {
           readSizeBuilder_.clear();
@@ -2602,41 +2639,79 @@ public final class QuotaProtos {
         if (readSizeBuilder_ != null) {
           return readSizeBuilder_.getMessageOrBuilder();
         } else {
-          return readSize_;
+          return readSize_ == null ?
+              org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance() : readSize_;
         }
       }
       /**
        * <code>optional .hbase.pb.TimedQuota read_size = 6;</code>
        */
-      private com.google.protobuf.SingleFieldBuilder<
+      private com.google.protobuf.SingleFieldBuilderV3<
           org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder> 
           getReadSizeFieldBuilder() {
         if (readSizeBuilder_ == null) {
-          readSizeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+          readSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
               org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder>(
-                  readSize_,
+                  getReadSize(),
                   getParentForChildren(),
                   isClean());
           readSize_ = null;
         }
         return readSizeBuilder_;
       }
+      public final Builder setUnknownFields(
+          final com.google.protobuf.UnknownFieldSet unknownFields) {
+        return super.setUnknownFields(unknownFields);
+      }
+
+      public final Builder mergeUnknownFields(
+          final com.google.protobuf.UnknownFieldSet unknownFields) {
+        return super.mergeUnknownFields(unknownFields);
+      }
+
 
       // @@protoc_insertion_point(builder_scope:hbase.pb.Throttle)
     }
 
+    // @@protoc_insertion_point(class_scope:hbase.pb.Throttle)
+    private static final org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Throttle DEFAULT_INSTANCE;
     static {
-      defaultInstance = new Throttle(true);
-      defaultInstance.initFields();
+      DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Throttle();
+    }
+
+    public static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Throttle getDefaultInstance() {
+      return DEFAULT_INSTANCE;
+    }
+
+    @java.lang.Deprecated public static final com.google.protobuf.Parser<Throttle>
+        PARSER = new com.google.protobuf.AbstractParser<Throttle>() {
+      public Throttle parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Throttle(input, extensionRegistry);
+      }
+    };
+
+    public static com.google.protobuf.Parser<Throttle> parser() {
+      return PARSER;
+    }
+
+    @java.lang.Override
+    public com.google.protobuf.Parser<Throttle> getParserForType() {
+      return PARSER;
+    }
+
+    public org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Throttle getDefaultInstanceForType() {
+      return DEFAULT_INSTANCE;
     }
 
-    // @@protoc_insertion_point(class_scope:hbase.pb.Throttle)
   }
 
-  public interface ThrottleRequestOrBuilder
-      extends com.google.protobuf.MessageOrBuilder {
+  public interface ThrottleRequestOrBuilder extends
+      // @@protoc_insertion_point(interface_extends:hbase.pb.ThrottleRequest)
+      com.google.protobuf.MessageOrBuilder {
 
-    // optional .hbase.pb.ThrottleType type = 1;
     /**
      * <code>optional .hbase.pb.ThrottleType type = 1;</code>
      */
@@ -2646,7 +2721,6 @@ public final class QuotaProtos {
      */
     org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.ThrottleType getType();
 
-    // optional .hbase.pb.TimedQuota timed_quota = 2;
     /**
      * <code>optional .hbase.pb.TimedQuota timed_quota = 2;</code>
      */
@@ -2663,36 +2737,28 @@ public final class QuotaProtos {
   /**
    * Protobuf type {@code hbase.pb.ThrottleRequest}
    */
-  public static final class ThrottleRequest extends
-      com.google.protobuf.GeneratedMessage
-      implements ThrottleRequestOrBuilder {
+  public  static final class ThrottleRequest extends
+      com.google.protobuf.GeneratedMessageV3 implements
+      // @@protoc_insertion_point(message_implements:hbase.pb.ThrottleRequest)
+      ThrottleRequestOrBuilder {
     // Use ThrottleRequest.newBuilder() to construct.
-    private ThrottleRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
+    private ThrottleRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
       super(builder);
-      this.unknownFields = builder.getUnknownFields();
     }
-    private ThrottleRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
-    private static final ThrottleRequest defaultInstance;
-    public static ThrottleRequest getDefaultInstance() {
-      return defaultInstance;
+    private ThrottleRequest() {
+      type_ = 1;
     }
 
-    public ThrottleRequest getDefaultInstanceForType() {
-      return defaultInstance;
-    }
-
-    private final com.google.protobuf.UnknownFieldSet unknownFields;
     @java.lang.Override
     public final com.google.protobuf.UnknownFieldSet
-        getUnknownFields() {
+    getUnknownFields() {
       return this.unknownFields;
     }
     private ThrottleRequest(
         com.google.protobuf.CodedInputStream input,
         com.goo

<TRUNCATED>

Mime
View raw message