You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2012/05/03 08:20:28 UTC
svn commit: r1333319 [2/4] - in /hbase/trunk/src:
main/jamon/org/apache/hadoop/hbase/tmpl/master/
main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/
main/java/org/apache/hadoop/hbase/ main/java/org/apache/hadoop/hbase/ipc/
main/java/org/apache/hadoo...
Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/protobuf/generated/HBaseProtos.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/protobuf/generated/HBaseProtos.java?rev=1333319&r1=1333318&r2=1333319&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/protobuf/generated/HBaseProtos.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/protobuf/generated/HBaseProtos.java Thu May 3 06:20:26 2012
@@ -1345,75 +1345,305 @@ public final class HBaseProtos {
// @@protoc_insertion_point(class_scope:RegionSpecifier)
}
- public interface TimeRangeOrBuilder
+ public interface RegionLoadOrBuilder
extends com.google.protobuf.MessageOrBuilder {
- // optional uint64 from = 1;
- boolean hasFrom();
- long getFrom();
-
- // optional uint64 to = 2;
- boolean hasTo();
- long getTo();
+ // required .RegionSpecifier regionSpecifier = 1;
+ boolean hasRegionSpecifier();
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegionSpecifier();
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionSpecifierOrBuilder();
+
+ // optional uint32 stores = 2;
+ boolean hasStores();
+ int getStores();
+
+ // optional uint32 storefiles = 3;
+ boolean hasStorefiles();
+ int getStorefiles();
+
+ // optional uint32 storeUncompressedSizeMB = 4;
+ boolean hasStoreUncompressedSizeMB();
+ int getStoreUncompressedSizeMB();
+
+ // optional uint32 storefileSizeMB = 5;
+ boolean hasStorefileSizeMB();
+ int getStorefileSizeMB();
+
+ // optional uint32 memstoreSizeMB = 6;
+ boolean hasMemstoreSizeMB();
+ int getMemstoreSizeMB();
+
+ // optional uint32 storefileIndexSizeMB = 7;
+ boolean hasStorefileIndexSizeMB();
+ int getStorefileIndexSizeMB();
+
+ // optional uint64 readRequestsCount = 8;
+ boolean hasReadRequestsCount();
+ long getReadRequestsCount();
+
+ // optional uint64 writeRequestsCount = 9;
+ boolean hasWriteRequestsCount();
+ long getWriteRequestsCount();
+
+ // optional uint64 totalCompactingKVs = 10;
+ boolean hasTotalCompactingKVs();
+ long getTotalCompactingKVs();
+
+ // optional uint64 currentCompactedKVs = 11;
+ boolean hasCurrentCompactedKVs();
+ long getCurrentCompactedKVs();
+
+ // optional uint32 rootIndexSizeKB = 12;
+ boolean hasRootIndexSizeKB();
+ int getRootIndexSizeKB();
+
+ // optional uint32 totalStaticIndexSizeKB = 13;
+ boolean hasTotalStaticIndexSizeKB();
+ int getTotalStaticIndexSizeKB();
+
+ // optional uint32 totalStaticBloomSizeKB = 14;
+ boolean hasTotalStaticBloomSizeKB();
+ int getTotalStaticBloomSizeKB();
+
+ // repeated .Coprocessor coprocessors = 15;
+ java.util.List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor>
+ getCoprocessorsList();
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor getCoprocessors(int index);
+ int getCoprocessorsCount();
+ java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder>
+ getCoprocessorsOrBuilderList();
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder getCoprocessorsOrBuilder(
+ int index);
}
- public static final class TimeRange extends
+ public static final class RegionLoad extends
com.google.protobuf.GeneratedMessage
- implements TimeRangeOrBuilder {
- // Use TimeRange.newBuilder() to construct.
- private TimeRange(Builder builder) {
+ implements RegionLoadOrBuilder {
+ // Use RegionLoad.newBuilder() to construct.
+ private RegionLoad(Builder builder) {
super(builder);
}
- private TimeRange(boolean noInit) {}
+ private RegionLoad(boolean noInit) {}
- private static final TimeRange defaultInstance;
- public static TimeRange getDefaultInstance() {
+ private static final RegionLoad defaultInstance;
+ public static RegionLoad getDefaultInstance() {
return defaultInstance;
}
- public TimeRange getDefaultInstanceForType() {
+ public RegionLoad getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
- return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_TimeRange_descriptor;
+ return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_RegionLoad_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_TimeRange_fieldAccessorTable;
+ return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_RegionLoad_fieldAccessorTable;
}
private int bitField0_;
- // optional uint64 from = 1;
- public static final int FROM_FIELD_NUMBER = 1;
- private long from_;
- public boolean hasFrom() {
+ // required .RegionSpecifier regionSpecifier = 1;
+ public static final int REGIONSPECIFIER_FIELD_NUMBER = 1;
+ private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier regionSpecifier_;
+ public boolean hasRegionSpecifier() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
- public long getFrom() {
- return from_;
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegionSpecifier() {
+ return regionSpecifier_;
+ }
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionSpecifierOrBuilder() {
+ return regionSpecifier_;
}
- // optional uint64 to = 2;
- public static final int TO_FIELD_NUMBER = 2;
- private long to_;
- public boolean hasTo() {
+ // optional uint32 stores = 2;
+ public static final int STORES_FIELD_NUMBER = 2;
+ private int stores_;
+ public boolean hasStores() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
- public long getTo() {
- return to_;
+ public int getStores() {
+ return stores_;
+ }
+
+ // optional uint32 storefiles = 3;
+ public static final int STOREFILES_FIELD_NUMBER = 3;
+ private int storefiles_;
+ public boolean hasStorefiles() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ public int getStorefiles() {
+ return storefiles_;
+ }
+
+ // optional uint32 storeUncompressedSizeMB = 4;
+ public static final int STOREUNCOMPRESSEDSIZEMB_FIELD_NUMBER = 4;
+ private int storeUncompressedSizeMB_;
+ public boolean hasStoreUncompressedSizeMB() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ public int getStoreUncompressedSizeMB() {
+ return storeUncompressedSizeMB_;
+ }
+
+ // optional uint32 storefileSizeMB = 5;
+ public static final int STOREFILESIZEMB_FIELD_NUMBER = 5;
+ private int storefileSizeMB_;
+ public boolean hasStorefileSizeMB() {
+ return ((bitField0_ & 0x00000010) == 0x00000010);
+ }
+ public int getStorefileSizeMB() {
+ return storefileSizeMB_;
+ }
+
+ // optional uint32 memstoreSizeMB = 6;
+ public static final int MEMSTORESIZEMB_FIELD_NUMBER = 6;
+ private int memstoreSizeMB_;
+ public boolean hasMemstoreSizeMB() {
+ return ((bitField0_ & 0x00000020) == 0x00000020);
+ }
+ public int getMemstoreSizeMB() {
+ return memstoreSizeMB_;
+ }
+
+ // optional uint32 storefileIndexSizeMB = 7;
+ public static final int STOREFILEINDEXSIZEMB_FIELD_NUMBER = 7;
+ private int storefileIndexSizeMB_;
+ public boolean hasStorefileIndexSizeMB() {
+ return ((bitField0_ & 0x00000040) == 0x00000040);
+ }
+ public int getStorefileIndexSizeMB() {
+ return storefileIndexSizeMB_;
+ }
+
+ // optional uint64 readRequestsCount = 8;
+ public static final int READREQUESTSCOUNT_FIELD_NUMBER = 8;
+ private long readRequestsCount_;
+ public boolean hasReadRequestsCount() {
+ return ((bitField0_ & 0x00000080) == 0x00000080);
+ }
+ public long getReadRequestsCount() {
+ return readRequestsCount_;
+ }
+
+ // optional uint64 writeRequestsCount = 9;
+ public static final int WRITEREQUESTSCOUNT_FIELD_NUMBER = 9;
+ private long writeRequestsCount_;
+ public boolean hasWriteRequestsCount() {
+ return ((bitField0_ & 0x00000100) == 0x00000100);
+ }
+ public long getWriteRequestsCount() {
+ return writeRequestsCount_;
+ }
+
+ // optional uint64 totalCompactingKVs = 10;
+ public static final int TOTALCOMPACTINGKVS_FIELD_NUMBER = 10;
+ private long totalCompactingKVs_;
+ public boolean hasTotalCompactingKVs() {
+ return ((bitField0_ & 0x00000200) == 0x00000200);
+ }
+ public long getTotalCompactingKVs() {
+ return totalCompactingKVs_;
+ }
+
+ // optional uint64 currentCompactedKVs = 11;
+ public static final int CURRENTCOMPACTEDKVS_FIELD_NUMBER = 11;
+ private long currentCompactedKVs_;
+ public boolean hasCurrentCompactedKVs() {
+ return ((bitField0_ & 0x00000400) == 0x00000400);
+ }
+ public long getCurrentCompactedKVs() {
+ return currentCompactedKVs_;
+ }
+
+ // optional uint32 rootIndexSizeKB = 12;
+ public static final int ROOTINDEXSIZEKB_FIELD_NUMBER = 12;
+ private int rootIndexSizeKB_;
+ public boolean hasRootIndexSizeKB() {
+ return ((bitField0_ & 0x00000800) == 0x00000800);
+ }
+ public int getRootIndexSizeKB() {
+ return rootIndexSizeKB_;
+ }
+
+ // optional uint32 totalStaticIndexSizeKB = 13;
+ public static final int TOTALSTATICINDEXSIZEKB_FIELD_NUMBER = 13;
+ private int totalStaticIndexSizeKB_;
+ public boolean hasTotalStaticIndexSizeKB() {
+ return ((bitField0_ & 0x00001000) == 0x00001000);
+ }
+ public int getTotalStaticIndexSizeKB() {
+ return totalStaticIndexSizeKB_;
+ }
+
+ // optional uint32 totalStaticBloomSizeKB = 14;
+ public static final int TOTALSTATICBLOOMSIZEKB_FIELD_NUMBER = 14;
+ private int totalStaticBloomSizeKB_;
+ public boolean hasTotalStaticBloomSizeKB() {
+ return ((bitField0_ & 0x00002000) == 0x00002000);
+ }
+ public int getTotalStaticBloomSizeKB() {
+ return totalStaticBloomSizeKB_;
+ }
+
+ // repeated .Coprocessor coprocessors = 15;
+ public static final int COPROCESSORS_FIELD_NUMBER = 15;
+ private java.util.List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor> coprocessors_;
+ public java.util.List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor> getCoprocessorsList() {
+ return coprocessors_;
+ }
+ public java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder>
+ getCoprocessorsOrBuilderList() {
+ return coprocessors_;
+ }
+ public int getCoprocessorsCount() {
+ return coprocessors_.size();
+ }
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor getCoprocessors(int index) {
+ return coprocessors_.get(index);
+ }
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder getCoprocessorsOrBuilder(
+ int index) {
+ return coprocessors_.get(index);
}
private void initFields() {
- from_ = 0L;
- to_ = 0L;
+ regionSpecifier_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance();
+ stores_ = 0;
+ storefiles_ = 0;
+ storeUncompressedSizeMB_ = 0;
+ storefileSizeMB_ = 0;
+ memstoreSizeMB_ = 0;
+ storefileIndexSizeMB_ = 0;
+ readRequestsCount_ = 0L;
+ writeRequestsCount_ = 0L;
+ totalCompactingKVs_ = 0L;
+ currentCompactedKVs_ = 0L;
+ rootIndexSizeKB_ = 0;
+ totalStaticIndexSizeKB_ = 0;
+ totalStaticBloomSizeKB_ = 0;
+ coprocessors_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
+ if (!hasRegionSpecifier()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!getRegionSpecifier().isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ for (int i = 0; i < getCoprocessorsCount(); i++) {
+ if (!getCoprocessors(i).isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
memoizedIsInitialized = 1;
return true;
}
@@ -1422,10 +1652,49 @@ public final class HBaseProtos {
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeUInt64(1, from_);
+ output.writeMessage(1, regionSpecifier_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeUInt64(2, to_);
+ output.writeUInt32(2, stores_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeUInt32(3, storefiles_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ output.writeUInt32(4, storeUncompressedSizeMB_);
+ }
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ output.writeUInt32(5, storefileSizeMB_);
+ }
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ output.writeUInt32(6, memstoreSizeMB_);
+ }
+ if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ output.writeUInt32(7, storefileIndexSizeMB_);
+ }
+ if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ output.writeUInt64(8, readRequestsCount_);
+ }
+ if (((bitField0_ & 0x00000100) == 0x00000100)) {
+ output.writeUInt64(9, writeRequestsCount_);
+ }
+ if (((bitField0_ & 0x00000200) == 0x00000200)) {
+ output.writeUInt64(10, totalCompactingKVs_);
+ }
+ if (((bitField0_ & 0x00000400) == 0x00000400)) {
+ output.writeUInt64(11, currentCompactedKVs_);
+ }
+ if (((bitField0_ & 0x00000800) == 0x00000800)) {
+ output.writeUInt32(12, rootIndexSizeKB_);
+ }
+ if (((bitField0_ & 0x00001000) == 0x00001000)) {
+ output.writeUInt32(13, totalStaticIndexSizeKB_);
+ }
+ if (((bitField0_ & 0x00002000) == 0x00002000)) {
+ output.writeUInt32(14, totalStaticBloomSizeKB_);
+ }
+ for (int i = 0; i < coprocessors_.size(); i++) {
+ output.writeMessage(15, coprocessors_.get(i));
}
getUnknownFields().writeTo(output);
}
@@ -1438,43 +1707,159 @@ public final class HBaseProtos {
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(1, from_);
+ .computeMessageSize(1, regionSpecifier_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(2, to_);
+ .computeUInt32Size(2, stores_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(3, storefiles_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(4, storeUncompressedSizeMB_);
+ }
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(5, storefileSizeMB_);
+ }
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(6, memstoreSizeMB_);
+ }
+ if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(7, storefileIndexSizeMB_);
+ }
+ if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(8, readRequestsCount_);
+ }
+ if (((bitField0_ & 0x00000100) == 0x00000100)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(9, writeRequestsCount_);
+ }
+ if (((bitField0_ & 0x00000200) == 0x00000200)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(10, totalCompactingKVs_);
+ }
+ if (((bitField0_ & 0x00000400) == 0x00000400)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(11, currentCompactedKVs_);
+ }
+ if (((bitField0_ & 0x00000800) == 0x00000800)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(12, rootIndexSizeKB_);
+ }
+ if (((bitField0_ & 0x00001000) == 0x00001000)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(13, totalStaticIndexSizeKB_);
+ }
+ if (((bitField0_ & 0x00002000) == 0x00002000)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(14, totalStaticBloomSizeKB_);
+ }
+ for (int i = 0; i < coprocessors_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(15, coprocessors_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
+ private static final long serialVersionUID = 0L;
@java.lang.Override
- protected Object writeReplace() throws java.io.ObjectStreamException {
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
- public boolean equals(final Object obj) {
+ public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
- if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange)) {
+ if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad)) {
return super.equals(obj);
}
- org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange other = (org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange) obj;
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad other = (org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad) obj;
boolean result = true;
- result = result && (hasFrom() == other.hasFrom());
- if (hasFrom()) {
- result = result && (getFrom()
- == other.getFrom());
- }
- result = result && (hasTo() == other.hasTo());
- if (hasTo()) {
- result = result && (getTo()
- == other.getTo());
+ result = result && (hasRegionSpecifier() == other.hasRegionSpecifier());
+ if (hasRegionSpecifier()) {
+ result = result && getRegionSpecifier()
+ .equals(other.getRegionSpecifier());
+ }
+ result = result && (hasStores() == other.hasStores());
+ if (hasStores()) {
+ result = result && (getStores()
+ == other.getStores());
+ }
+ result = result && (hasStorefiles() == other.hasStorefiles());
+ if (hasStorefiles()) {
+ result = result && (getStorefiles()
+ == other.getStorefiles());
+ }
+ result = result && (hasStoreUncompressedSizeMB() == other.hasStoreUncompressedSizeMB());
+ if (hasStoreUncompressedSizeMB()) {
+ result = result && (getStoreUncompressedSizeMB()
+ == other.getStoreUncompressedSizeMB());
+ }
+ result = result && (hasStorefileSizeMB() == other.hasStorefileSizeMB());
+ if (hasStorefileSizeMB()) {
+ result = result && (getStorefileSizeMB()
+ == other.getStorefileSizeMB());
+ }
+ result = result && (hasMemstoreSizeMB() == other.hasMemstoreSizeMB());
+ if (hasMemstoreSizeMB()) {
+ result = result && (getMemstoreSizeMB()
+ == other.getMemstoreSizeMB());
+ }
+ result = result && (hasStorefileIndexSizeMB() == other.hasStorefileIndexSizeMB());
+ if (hasStorefileIndexSizeMB()) {
+ result = result && (getStorefileIndexSizeMB()
+ == other.getStorefileIndexSizeMB());
+ }
+ result = result && (hasReadRequestsCount() == other.hasReadRequestsCount());
+ if (hasReadRequestsCount()) {
+ result = result && (getReadRequestsCount()
+ == other.getReadRequestsCount());
+ }
+ result = result && (hasWriteRequestsCount() == other.hasWriteRequestsCount());
+ if (hasWriteRequestsCount()) {
+ result = result && (getWriteRequestsCount()
+ == other.getWriteRequestsCount());
+ }
+ result = result && (hasTotalCompactingKVs() == other.hasTotalCompactingKVs());
+ if (hasTotalCompactingKVs()) {
+ result = result && (getTotalCompactingKVs()
+ == other.getTotalCompactingKVs());
+ }
+ result = result && (hasCurrentCompactedKVs() == other.hasCurrentCompactedKVs());
+ if (hasCurrentCompactedKVs()) {
+ result = result && (getCurrentCompactedKVs()
+ == other.getCurrentCompactedKVs());
+ }
+ result = result && (hasRootIndexSizeKB() == other.hasRootIndexSizeKB());
+ if (hasRootIndexSizeKB()) {
+ result = result && (getRootIndexSizeKB()
+ == other.getRootIndexSizeKB());
+ }
+ result = result && (hasTotalStaticIndexSizeKB() == other.hasTotalStaticIndexSizeKB());
+ if (hasTotalStaticIndexSizeKB()) {
+ result = result && (getTotalStaticIndexSizeKB()
+ == other.getTotalStaticIndexSizeKB());
+ }
+ result = result && (hasTotalStaticBloomSizeKB() == other.hasTotalStaticBloomSizeKB());
+ if (hasTotalStaticBloomSizeKB()) {
+ result = result && (getTotalStaticBloomSizeKB()
+ == other.getTotalStaticBloomSizeKB());
}
+ result = result && getCoprocessorsList()
+ .equals(other.getCoprocessorsList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
@@ -1484,53 +1869,105 @@ public final class HBaseProtos {
public int hashCode() {
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
- if (hasFrom()) {
- hash = (37 * hash) + FROM_FIELD_NUMBER;
- hash = (53 * hash) + hashLong(getFrom());
- }
- if (hasTo()) {
- hash = (37 * hash) + TO_FIELD_NUMBER;
- hash = (53 * hash) + hashLong(getTo());
+ if (hasRegionSpecifier()) {
+ hash = (37 * hash) + REGIONSPECIFIER_FIELD_NUMBER;
+ hash = (53 * hash) + getRegionSpecifier().hashCode();
+ }
+ if (hasStores()) {
+ hash = (37 * hash) + STORES_FIELD_NUMBER;
+ hash = (53 * hash) + getStores();
+ }
+ if (hasStorefiles()) {
+ hash = (37 * hash) + STOREFILES_FIELD_NUMBER;
+ hash = (53 * hash) + getStorefiles();
+ }
+ if (hasStoreUncompressedSizeMB()) {
+ hash = (37 * hash) + STOREUNCOMPRESSEDSIZEMB_FIELD_NUMBER;
+ hash = (53 * hash) + getStoreUncompressedSizeMB();
+ }
+ if (hasStorefileSizeMB()) {
+ hash = (37 * hash) + STOREFILESIZEMB_FIELD_NUMBER;
+ hash = (53 * hash) + getStorefileSizeMB();
+ }
+ if (hasMemstoreSizeMB()) {
+ hash = (37 * hash) + MEMSTORESIZEMB_FIELD_NUMBER;
+ hash = (53 * hash) + getMemstoreSizeMB();
+ }
+ if (hasStorefileIndexSizeMB()) {
+ hash = (37 * hash) + STOREFILEINDEXSIZEMB_FIELD_NUMBER;
+ hash = (53 * hash) + getStorefileIndexSizeMB();
+ }
+ if (hasReadRequestsCount()) {
+ hash = (37 * hash) + READREQUESTSCOUNT_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getReadRequestsCount());
+ }
+ if (hasWriteRequestsCount()) {
+ hash = (37 * hash) + WRITEREQUESTSCOUNT_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getWriteRequestsCount());
+ }
+ if (hasTotalCompactingKVs()) {
+ hash = (37 * hash) + TOTALCOMPACTINGKVS_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getTotalCompactingKVs());
+ }
+ if (hasCurrentCompactedKVs()) {
+ hash = (37 * hash) + CURRENTCOMPACTEDKVS_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getCurrentCompactedKVs());
+ }
+ if (hasRootIndexSizeKB()) {
+ hash = (37 * hash) + ROOTINDEXSIZEKB_FIELD_NUMBER;
+ hash = (53 * hash) + getRootIndexSizeKB();
+ }
+ if (hasTotalStaticIndexSizeKB()) {
+ hash = (37 * hash) + TOTALSTATICINDEXSIZEKB_FIELD_NUMBER;
+ hash = (53 * hash) + getTotalStaticIndexSizeKB();
+ }
+ if (hasTotalStaticBloomSizeKB()) {
+ hash = (37 * hash) + TOTALSTATICBLOOMSIZEKB_FIELD_NUMBER;
+ hash = (53 * hash) + getTotalStaticBloomSizeKB();
+ }
+ if (getCoprocessorsCount() > 0) {
+ hash = (37 * hash) + COPROCESSORS_FIELD_NUMBER;
+ hash = (53 * hash) + getCoprocessorsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
return hash;
}
- public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange parseFrom(
+ public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
- public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange parseFrom(
+ public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
- public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange parseFrom(byte[] data)
+ public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
- public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange parseFrom(
+ public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
- public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange parseFrom(java.io.InputStream input)
+ public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
- public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange parseFrom(
+ public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
- public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange parseDelimitedFrom(java.io.InputStream input)
+ public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
@@ -1539,7 +1976,7 @@ public final class HBaseProtos {
return null;
}
}
- public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange parseDelimitedFrom(
+ public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -1550,12 +1987,12 @@ public final class HBaseProtos {
return null;
}
}
- public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange parseFrom(
+ public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
- public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange parseFrom(
+ public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -1565,7 +2002,7 @@ public final class HBaseProtos {
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange prototype) {
+ public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@@ -1578,18 +2015,18 @@ public final class HBaseProtos {
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
- implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder {
+ implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoadOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
- return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_TimeRange_descriptor;
+ return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_RegionLoad_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_TimeRange_fieldAccessorTable;
+ return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_RegionLoad_fieldAccessorTable;
}
- // Construct using org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.newBuilder()
+ // Construct using org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
@@ -1600,6 +2037,8 @@ public final class HBaseProtos {
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ getRegionSpecifierFieldBuilder();
+ getCoprocessorsFieldBuilder();
}
}
private static Builder create() {
@@ -1608,10 +2047,44 @@ public final class HBaseProtos {
public Builder clear() {
super.clear();
- from_ = 0L;
+ if (regionSpecifierBuilder_ == null) {
+ regionSpecifier_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance();
+ } else {
+ regionSpecifierBuilder_.clear();
+ }
bitField0_ = (bitField0_ & ~0x00000001);
- to_ = 0L;
+ stores_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
+ storefiles_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ storeUncompressedSizeMB_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000008);
+ storefileSizeMB_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ memstoreSizeMB_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000020);
+ storefileIndexSizeMB_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000040);
+ readRequestsCount_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000080);
+ writeRequestsCount_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000100);
+ totalCompactingKVs_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000200);
+ currentCompactedKVs_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000400);
+ rootIndexSizeKB_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000800);
+ totalStaticIndexSizeKB_ = 0;
+ bitField0_ = (bitField0_ & ~0x00001000);
+ totalStaticBloomSizeKB_ = 0;
+ bitField0_ = (bitField0_ & ~0x00002000);
+ if (coprocessorsBuilder_ == null) {
+ coprocessors_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00004000);
+ } else {
+ coprocessorsBuilder_.clear();
+ }
return this;
}
@@ -1621,24 +2094,24 @@ public final class HBaseProtos {
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
- return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDescriptor();
+ return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad.getDescriptor();
}
- public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange getDefaultInstanceForType() {
- return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance();
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad getDefaultInstanceForType() {
+ return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad.getDefaultInstance();
}
- public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange build() {
- org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange result = buildPartial();
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad build() {
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
- private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange buildParsed()
+ private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
- org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange result = buildPartial();
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
@@ -1646,45 +2119,182 @@ public final class HBaseProtos {
return result;
}
- public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange buildPartial() {
- org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange result = new org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange(this);
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad buildPartial() {
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad result = new org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
- result.from_ = from_;
+ if (regionSpecifierBuilder_ == null) {
+ result.regionSpecifier_ = regionSpecifier_;
+ } else {
+ result.regionSpecifier_ = regionSpecifierBuilder_.build();
+ }
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
- result.to_ = to_;
+ result.stores_ = stores_;
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ result.storefiles_ = storefiles_;
+ if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ to_bitField0_ |= 0x00000008;
+ }
+ result.storeUncompressedSizeMB_ = storeUncompressedSizeMB_;
+ if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
+ to_bitField0_ |= 0x00000010;
+ }
+ result.storefileSizeMB_ = storefileSizeMB_;
+ if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
+ to_bitField0_ |= 0x00000020;
+ }
+ result.memstoreSizeMB_ = memstoreSizeMB_;
+ if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
+ to_bitField0_ |= 0x00000040;
+ }
+ result.storefileIndexSizeMB_ = storefileIndexSizeMB_;
+ if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
+ to_bitField0_ |= 0x00000080;
+ }
+ result.readRequestsCount_ = readRequestsCount_;
+ if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
+ to_bitField0_ |= 0x00000100;
+ }
+ result.writeRequestsCount_ = writeRequestsCount_;
+ if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
+ to_bitField0_ |= 0x00000200;
+ }
+ result.totalCompactingKVs_ = totalCompactingKVs_;
+ if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
+ to_bitField0_ |= 0x00000400;
+ }
+ result.currentCompactedKVs_ = currentCompactedKVs_;
+ if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
+ to_bitField0_ |= 0x00000800;
+ }
+ result.rootIndexSizeKB_ = rootIndexSizeKB_;
+ if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
+ to_bitField0_ |= 0x00001000;
+ }
+ result.totalStaticIndexSizeKB_ = totalStaticIndexSizeKB_;
+ if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
+ to_bitField0_ |= 0x00002000;
+ }
+ result.totalStaticBloomSizeKB_ = totalStaticBloomSizeKB_;
+ if (coprocessorsBuilder_ == null) {
+ if (((bitField0_ & 0x00004000) == 0x00004000)) {
+ coprocessors_ = java.util.Collections.unmodifiableList(coprocessors_);
+ bitField0_ = (bitField0_ & ~0x00004000);
+ }
+ result.coprocessors_ = coprocessors_;
+ } else {
+ result.coprocessors_ = coprocessorsBuilder_.build();
+ }
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange) {
- return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange)other);
+ if (other instanceof org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad) {
+ return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad)other);
} else {
super.mergeFrom(other);
return this;
}
}
- public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange other) {
- if (other == org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance()) return this;
- if (other.hasFrom()) {
- setFrom(other.getFrom());
+ public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad other) {
+ if (other == org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad.getDefaultInstance()) return this;
+ if (other.hasRegionSpecifier()) {
+ mergeRegionSpecifier(other.getRegionSpecifier());
}
- if (other.hasTo()) {
- setTo(other.getTo());
+ if (other.hasStores()) {
+ setStores(other.getStores());
+ }
+ if (other.hasStorefiles()) {
+ setStorefiles(other.getStorefiles());
+ }
+ if (other.hasStoreUncompressedSizeMB()) {
+ setStoreUncompressedSizeMB(other.getStoreUncompressedSizeMB());
+ }
+ if (other.hasStorefileSizeMB()) {
+ setStorefileSizeMB(other.getStorefileSizeMB());
+ }
+ if (other.hasMemstoreSizeMB()) {
+ setMemstoreSizeMB(other.getMemstoreSizeMB());
+ }
+ if (other.hasStorefileIndexSizeMB()) {
+ setStorefileIndexSizeMB(other.getStorefileIndexSizeMB());
+ }
+ if (other.hasReadRequestsCount()) {
+ setReadRequestsCount(other.getReadRequestsCount());
+ }
+ if (other.hasWriteRequestsCount()) {
+ setWriteRequestsCount(other.getWriteRequestsCount());
+ }
+ if (other.hasTotalCompactingKVs()) {
+ setTotalCompactingKVs(other.getTotalCompactingKVs());
+ }
+ if (other.hasCurrentCompactedKVs()) {
+ setCurrentCompactedKVs(other.getCurrentCompactedKVs());
+ }
+ if (other.hasRootIndexSizeKB()) {
+ setRootIndexSizeKB(other.getRootIndexSizeKB());
+ }
+ if (other.hasTotalStaticIndexSizeKB()) {
+ setTotalStaticIndexSizeKB(other.getTotalStaticIndexSizeKB());
+ }
+ if (other.hasTotalStaticBloomSizeKB()) {
+ setTotalStaticBloomSizeKB(other.getTotalStaticBloomSizeKB());
+ }
+ if (coprocessorsBuilder_ == null) {
+ if (!other.coprocessors_.isEmpty()) {
+ if (coprocessors_.isEmpty()) {
+ coprocessors_ = other.coprocessors_;
+ bitField0_ = (bitField0_ & ~0x00004000);
+ } else {
+ ensureCoprocessorsIsMutable();
+ coprocessors_.addAll(other.coprocessors_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.coprocessors_.isEmpty()) {
+ if (coprocessorsBuilder_.isEmpty()) {
+ coprocessorsBuilder_.dispose();
+ coprocessorsBuilder_ = null;
+ coprocessors_ = other.coprocessors_;
+ bitField0_ = (bitField0_ & ~0x00004000);
+ coprocessorsBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+ getCoprocessorsFieldBuilder() : null;
+ } else {
+ coprocessorsBuilder_.addAllMessages(other.coprocessors_);
+ }
+ }
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
+ if (!hasRegionSpecifier()) {
+
+ return false;
+ }
+ if (!getRegionSpecifier().isInitialized()) {
+
+ return false;
+ }
+ for (int i = 0; i < getCoprocessorsCount(); i++) {
+ if (!getCoprocessors(i).isInitialized()) {
+
+ return false;
+ }
+ }
return true;
}
@@ -1711,213 +2321,3089 @@ public final class HBaseProtos {
}
break;
}
- case 8: {
- bitField0_ |= 0x00000001;
- from_ = input.readUInt64();
+ case 10: {
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder subBuilder = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.newBuilder();
+ if (hasRegionSpecifier()) {
+ subBuilder.mergeFrom(getRegionSpecifier());
+ }
+ input.readMessage(subBuilder, extensionRegistry);
+ setRegionSpecifier(subBuilder.buildPartial());
break;
}
case 16: {
bitField0_ |= 0x00000002;
- to_ = input.readUInt64();
+ stores_ = input.readUInt32();
break;
}
- }
- }
- }
-
+ case 24: {
+ bitField0_ |= 0x00000004;
+ storefiles_ = input.readUInt32();
+ break;
+ }
+ case 32: {
+ bitField0_ |= 0x00000008;
+ storeUncompressedSizeMB_ = input.readUInt32();
+ break;
+ }
+ case 40: {
+ bitField0_ |= 0x00000010;
+ storefileSizeMB_ = input.readUInt32();
+ break;
+ }
+ case 48: {
+ bitField0_ |= 0x00000020;
+ memstoreSizeMB_ = input.readUInt32();
+ break;
+ }
+ case 56: {
+ bitField0_ |= 0x00000040;
+ storefileIndexSizeMB_ = input.readUInt32();
+ break;
+ }
+ case 64: {
+ bitField0_ |= 0x00000080;
+ readRequestsCount_ = input.readUInt64();
+ break;
+ }
+ case 72: {
+ bitField0_ |= 0x00000100;
+ writeRequestsCount_ = input.readUInt64();
+ break;
+ }
+ case 80: {
+ bitField0_ |= 0x00000200;
+ totalCompactingKVs_ = input.readUInt64();
+ break;
+ }
+ case 88: {
+ bitField0_ |= 0x00000400;
+ currentCompactedKVs_ = input.readUInt64();
+ break;
+ }
+ case 96: {
+ bitField0_ |= 0x00000800;
+ rootIndexSizeKB_ = input.readUInt32();
+ break;
+ }
+ case 104: {
+ bitField0_ |= 0x00001000;
+ totalStaticIndexSizeKB_ = input.readUInt32();
+ break;
+ }
+ case 112: {
+ bitField0_ |= 0x00002000;
+ totalStaticBloomSizeKB_ = input.readUInt32();
+ break;
+ }
+ case 122: {
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.Builder subBuilder = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.newBuilder();
+ input.readMessage(subBuilder, extensionRegistry);
+ addCoprocessors(subBuilder.buildPartial());
+ break;
+ }
+ }
+ }
+ }
+
+ private int bitField0_;
+
+ // required .RegionSpecifier regionSpecifier = 1;
+ private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier regionSpecifier_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance();
+ private com.google.protobuf.SingleFieldBuilder<
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionSpecifierBuilder_;
+ public boolean hasRegionSpecifier() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegionSpecifier() {
+ if (regionSpecifierBuilder_ == null) {
+ return regionSpecifier_;
+ } else {
+ return regionSpecifierBuilder_.getMessage();
+ }
+ }
+ public Builder setRegionSpecifier(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) {
+ if (regionSpecifierBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ regionSpecifier_ = value;
+ onChanged();
+ } else {
+ regionSpecifierBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+ public Builder setRegionSpecifier(
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder builderForValue) {
+ if (regionSpecifierBuilder_ == null) {
+ regionSpecifier_ = builderForValue.build();
+ onChanged();
+ } else {
+ regionSpecifierBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+ public Builder mergeRegionSpecifier(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) {
+ if (regionSpecifierBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) == 0x00000001) &&
+ regionSpecifier_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance()) {
+ regionSpecifier_ =
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.newBuilder(regionSpecifier_).mergeFrom(value).buildPartial();
+ } else {
+ regionSpecifier_ = value;
+ }
+ onChanged();
+ } else {
+ regionSpecifierBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+ public Builder clearRegionSpecifier() {
+ if (regionSpecifierBuilder_ == null) {
+ regionSpecifier_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance();
+ onChanged();
+ } else {
+ regionSpecifierBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000001);
+ return this;
+ }
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder getRegionSpecifierBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getRegionSpecifierFieldBuilder().getBuilder();
+ }
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionSpecifierOrBuilder() {
+ if (regionSpecifierBuilder_ != null) {
+ return regionSpecifierBuilder_.getMessageOrBuilder();
+ } else {
+ return regionSpecifier_;
+ }
+ }
+ private com.google.protobuf.SingleFieldBuilder<
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>
+ getRegionSpecifierFieldBuilder() {
+ if (regionSpecifierBuilder_ == null) {
+ regionSpecifierBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>(
+ regionSpecifier_,
+ getParentForChildren(),
+ isClean());
+ regionSpecifier_ = null;
+ }
+ return regionSpecifierBuilder_;
+ }
+
+ // optional uint32 stores = 2;
+ private int stores_ ;
+ public boolean hasStores() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ public int getStores() {
+ return stores_;
+ }
+ public Builder setStores(int value) {
+ bitField0_ |= 0x00000002;
+ stores_ = value;
+ onChanged();
+ return this;
+ }
+ public Builder clearStores() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ stores_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // optional uint32 storefiles = 3;
+ private int storefiles_ ;
+ public boolean hasStorefiles() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ public int getStorefiles() {
+ return storefiles_;
+ }
+ public Builder setStorefiles(int value) {
+ bitField0_ |= 0x00000004;
+ storefiles_ = value;
+ onChanged();
+ return this;
+ }
+ public Builder clearStorefiles() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ storefiles_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // optional uint32 storeUncompressedSizeMB = 4;
+ private int storeUncompressedSizeMB_ ;
+ public boolean hasStoreUncompressedSizeMB() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ public int getStoreUncompressedSizeMB() {
+ return storeUncompressedSizeMB_;
+ }
+ public Builder setStoreUncompressedSizeMB(int value) {
+ bitField0_ |= 0x00000008;
+ storeUncompressedSizeMB_ = value;
+ onChanged();
+ return this;
+ }
+ public Builder clearStoreUncompressedSizeMB() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ storeUncompressedSizeMB_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // optional uint32 storefileSizeMB = 5;
+ private int storefileSizeMB_ ;
+ public boolean hasStorefileSizeMB() {
+ return ((bitField0_ & 0x00000010) == 0x00000010);
+ }
+ public int getStorefileSizeMB() {
+ return storefileSizeMB_;
+ }
+ public Builder setStorefileSizeMB(int value) {
+ bitField0_ |= 0x00000010;
+ storefileSizeMB_ = value;
+ onChanged();
+ return this;
+ }
+ public Builder clearStorefileSizeMB() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ storefileSizeMB_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // optional uint32 memstoreSizeMB = 6;
+ private int memstoreSizeMB_ ;
+ public boolean hasMemstoreSizeMB() {
+ return ((bitField0_ & 0x00000020) == 0x00000020);
+ }
+ public int getMemstoreSizeMB() {
+ return memstoreSizeMB_;
+ }
+ public Builder setMemstoreSizeMB(int value) {
+ bitField0_ |= 0x00000020;
+ memstoreSizeMB_ = value;
+ onChanged();
+ return this;
+ }
+ public Builder clearMemstoreSizeMB() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ memstoreSizeMB_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // optional uint32 storefileIndexSizeMB = 7;
+ private int storefileIndexSizeMB_ ;
+ public boolean hasStorefileIndexSizeMB() {
+ return ((bitField0_ & 0x00000040) == 0x00000040);
+ }
+ public int getStorefileIndexSizeMB() {
+ return storefileIndexSizeMB_;
+ }
+ public Builder setStorefileIndexSizeMB(int value) {
+ bitField0_ |= 0x00000040;
+ storefileIndexSizeMB_ = value;
+ onChanged();
+ return this;
+ }
+ public Builder clearStorefileIndexSizeMB() {
+ bitField0_ = (bitField0_ & ~0x00000040);
+ storefileIndexSizeMB_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // optional uint64 readRequestsCount = 8;
+ private long readRequestsCount_ ;
+ public boolean hasReadRequestsCount() {
+ return ((bitField0_ & 0x00000080) == 0x00000080);
+ }
+ public long getReadRequestsCount() {
+ return readRequestsCount_;
+ }
+ public Builder setReadRequestsCount(long value) {
+ bitField0_ |= 0x00000080;
+ readRequestsCount_ = value;
+ onChanged();
+ return this;
+ }
+ public Builder clearReadRequestsCount() {
+ bitField0_ = (bitField0_ & ~0x00000080);
+ readRequestsCount_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ // optional uint64 writeRequestsCount = 9;
+ private long writeRequestsCount_ ;
+ public boolean hasWriteRequestsCount() {
+ return ((bitField0_ & 0x00000100) == 0x00000100);
+ }
+ public long getWriteRequestsCount() {
+ return writeRequestsCount_;
+ }
+ public Builder setWriteRequestsCount(long value) {
+ bitField0_ |= 0x00000100;
+ writeRequestsCount_ = value;
+ onChanged();
+ return this;
+ }
+ public Builder clearWriteRequestsCount() {
+ bitField0_ = (bitField0_ & ~0x00000100);
+ writeRequestsCount_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ // optional uint64 totalCompactingKVs = 10;
+ private long totalCompactingKVs_ ;
+ public boolean hasTotalCompactingKVs() {
+ return ((bitField0_ & 0x00000200) == 0x00000200);
+ }
+ public long getTotalCompactingKVs() {
+ return totalCompactingKVs_;
+ }
+ public Builder setTotalCompactingKVs(long value) {
+ bitField0_ |= 0x00000200;
+ totalCompactingKVs_ = value;
+ onChanged();
+ return this;
+ }
+ public Builder clearTotalCompactingKVs() {
+ bitField0_ = (bitField0_ & ~0x00000200);
+ totalCompactingKVs_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ // optional uint64 currentCompactedKVs = 11;
+ private long currentCompactedKVs_ ;
+ public boolean hasCurrentCompactedKVs() {
+ return ((bitField0_ & 0x00000400) == 0x00000400);
+ }
+ public long getCurrentCompactedKVs() {
+ return currentCompactedKVs_;
+ }
+ public Builder setCurrentCompactedKVs(long value) {
+ bitField0_ |= 0x00000400;
+ currentCompactedKVs_ = value;
+ onChanged();
+ return this;
+ }
+ public Builder clearCurrentCompactedKVs() {
+ bitField0_ = (bitField0_ & ~0x00000400);
+ currentCompactedKVs_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ // optional uint32 rootIndexSizeKB = 12;
+ private int rootIndexSizeKB_ ;
+ public boolean hasRootIndexSizeKB() {
+ return ((bitField0_ & 0x00000800) == 0x00000800);
+ }
+ public int getRootIndexSizeKB() {
+ return rootIndexSizeKB_;
+ }
+ public Builder setRootIndexSizeKB(int value) {
+ bitField0_ |= 0x00000800;
+ rootIndexSizeKB_ = value;
+ onChanged();
+ return this;
+ }
+ public Builder clearRootIndexSizeKB() {
+ bitField0_ = (bitField0_ & ~0x00000800);
+ rootIndexSizeKB_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // optional uint32 totalStaticIndexSizeKB = 13;
+ private int totalStaticIndexSizeKB_ ;
+ public boolean hasTotalStaticIndexSizeKB() {
+ return ((bitField0_ & 0x00001000) == 0x00001000);
+ }
+ public int getTotalStaticIndexSizeKB() {
+ return totalStaticIndexSizeKB_;
+ }
+ public Builder setTotalStaticIndexSizeKB(int value) {
+ bitField0_ |= 0x00001000;
+ totalStaticIndexSizeKB_ = value;
+ onChanged();
+ return this;
+ }
+ public Builder clearTotalStaticIndexSizeKB() {
+ bitField0_ = (bitField0_ & ~0x00001000);
+ totalStaticIndexSizeKB_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // optional uint32 totalStaticBloomSizeKB = 14;
+ private int totalStaticBloomSizeKB_ ;
+ public boolean hasTotalStaticBloomSizeKB() {
+ return ((bitField0_ & 0x00002000) == 0x00002000);
+ }
+ public int getTotalStaticBloomSizeKB() {
+ return totalStaticBloomSizeKB_;
+ }
+ public Builder setTotalStaticBloomSizeKB(int value) {
+ bitField0_ |= 0x00002000;
+ totalStaticBloomSizeKB_ = value;
+ onChanged();
+ return this;
+ }
+ public Builder clearTotalStaticBloomSizeKB() {
+ bitField0_ = (bitField0_ & ~0x00002000);
+ totalStaticBloomSizeKB_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // repeated .Coprocessor coprocessors = 15;
+ private java.util.List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor> coprocessors_ =
+ java.util.Collections.emptyList();
+ private void ensureCoprocessorsIsMutable() {
+ if (!((bitField0_ & 0x00004000) == 0x00004000)) {
+ coprocessors_ = new java.util.ArrayList<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor>(coprocessors_);
+ bitField0_ |= 0x00004000;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder> coprocessorsBuilder_;
+
+ public java.util.List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor> getCoprocessorsList() {
+ if (coprocessorsBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(coprocessors_);
+ } else {
+ return coprocessorsBuilder_.getMessageList();
+ }
+ }
+ public int getCoprocessorsCount() {
+ if (coprocessorsBuilder_ == null) {
+ return coprocessors_.size();
+ } else {
+ return coprocessorsBuilder_.getCount();
+ }
+ }
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor getCoprocessors(int index) {
+ if (coprocessorsBuilder_ == null) {
+ return coprocessors_.get(index);
+ } else {
+ return coprocessorsBuilder_.getMessage(index);
+ }
+ }
+ public Builder setCoprocessors(
+ int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor value) {
+ if (coprocessorsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCoprocessorsIsMutable();
+ coprocessors_.set(index, value);
+ onChanged();
+ } else {
+ coprocessorsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ public Builder setCoprocessors(
+ int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.Builder builderForValue) {
+ if (coprocessorsBuilder_ == null) {
+ ensureCoprocessorsIsMutable();
+ coprocessors_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ coprocessorsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ public Builder addCoprocessors(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor value) {
+ if (coprocessorsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCoprocessorsIsMutable();
+ coprocessors_.add(value);
+ onChanged();
+ } else {
+ coprocessorsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ public Builder addCoprocessors(
+ int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor value) {
+ if (coprocessorsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCoprocessorsIsMutable();
+ coprocessors_.add(index, value);
+ onChanged();
+ } else {
+ coprocessorsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ public Builder addCoprocessors(
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.Builder builderForValue) {
+ if (coprocessorsBuilder_ == null) {
+ ensureCoprocessorsIsMutable();
+ coprocessors_.add(builderForValue.build());
+ onChanged();
+ } else {
+ coprocessorsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ public Builder addCoprocessors(
+ int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.Builder builderForValue) {
+ if (coprocessorsBuilder_ == null) {
+ ensureCoprocessorsIsMutable();
+ coprocessors_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ coprocessorsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ public Builder addAllCoprocessors(
+ java.lang.Iterable<? extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor> values) {
+ if (coprocessorsBuilder_ == null) {
+ ensureCoprocessorsIsMutable();
+ super.addAll(values, coprocessors_);
+ onChanged();
+ } else {
+ coprocessorsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ public Builder clearCoprocessors() {
+ if (coprocessorsBuilder_ == null) {
+ coprocessors_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00004000);
+ onChanged();
+ } else {
+ coprocessorsBuilder_.clear();
+ }
+ return this;
+ }
+ public Builder removeCoprocessors(int index) {
+ if (coprocessorsBuilder_ == null) {
+ ensureCoprocessorsIsMutable();
+ coprocessors_.remove(index);
+ onChanged();
+ } else {
+ coprocessorsBuilder_.remove(index);
+ }
+ return this;
+ }
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.Builder getCoprocessorsBuilder(
+ int index) {
+ return getCoprocessorsFieldBuilder().getBuilder(index);
+ }
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder getCoprocessorsOrBuilder(
+ int index) {
+ if (coprocessorsBuilder_ == null) {
+ return coprocessors_.get(index); } else {
+ return coprocessorsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ public java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder>
+ getCoprocessorsOrBuilderList() {
+ if (coprocessorsBuilder_ != null) {
+ return coprocessorsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(coprocessors_);
+ }
+ }
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.Builder addCoprocessorsBuilder() {
+ return getCoprocessorsFieldBuilder().addBuilder(
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.getDefaultInstance());
+ }
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.Builder addCoprocessorsBuilder(
+ int index) {
+ return getCoprocessorsFieldBuilder().addBuilder(
+ index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.getDefaultInstance());
+ }
+ public java.util.List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.Builder>
+ getCoprocessorsBuilderList() {
+ return getCoprocessorsFieldBuilder().getBuilderList();
+ }
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder>
+ getCoprocessorsFieldBuilder() {
+ if (coprocessorsBuilder_ == null) {
+ coprocessorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder>(
+ coprocessors_,
+ ((bitField0_ & 0x00004000) == 0x00004000),
+ getParentForChildren(),
+ isClean());
+ coprocessors_ = null;
+ }
+ return coprocessorsBuilder_;
+ }
+
+ // @@protoc_insertion_point(builder_scope:RegionLoad)
+ }
+
+ static {
+ defaultInstance = new RegionLoad(true);
+ defaultInstance.initFields();
+ }
+
+ // @@protoc_insertion_point(class_scope:RegionLoad)
+ }
+
+ public interface ServerLoadOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+
+ // optional uint32 requestsPerSecond = 1;
+ boolean hasRequestsPerSecond();
+ int getRequestsPerSecond();
+
+ // optional uint32 totalNumberOfRequests = 2;
+ boolean hasTotalNumberOfRequests();
+ int getTotalNumberOfRequests();
+
+ // optional uint32 usedHeapMB = 3;
+ boolean hasUsedHeapMB();
+ int getUsedHeapMB();
+
+ // optional uint32 maxHeapMB = 4;
+ boolean hasMaxHeapMB();
+ int getMaxHeapMB();
+
+ // repeated .RegionLoad regionLoads = 5;
+ java.util.List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad>
+ getRegionLoadsList();
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad getRegionLoads(int index);
+ int getRegionLoadsCount();
+ java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoadOrBuilder>
+ getRegionLoadsOrBuilderList();
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoadOrBuilder getRegionLoadsOrBuilder(
+ int index);
+
+ // repeated .Coprocessor coprocessors = 6;
+ java.util.List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor>
+ getCoprocessorsList();
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor getCoprocessors(int index);
+ int getCoprocessorsCount();
+ java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder>
+ getCoprocessorsOrBuilderList();
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder getCoprocessorsOrBuilder(
+ int index);
+ }
+ public static final class ServerLoad extends
+ com.google.protobuf.GeneratedMessage
+ implements ServerLoadOrBuilder {
+ // Use ServerLoad.newBuilder() to construct.
+ private ServerLoad(Builder builder) {
+ super(builder);
+ }
+ private ServerLoad(boolean noInit) {}
+
+ private static final ServerLoad defaultInstance;
+ public static ServerLoad getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public ServerLoad getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_ServerLoad_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_ServerLoad_fieldAccessorTable;
+ }
+
+ private int bitField0_;
+ // optional uint32 requestsPerSecond = 1;
+ public static final int REQUESTSPERSECOND_FIELD_NUMBER = 1;
+ private int requestsPerSecond_;
+ public boolean hasRequestsPerSecond() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ public int getRequestsPerSecond() {
+ return requestsPerSecond_;
+ }
+
+ // optional uint32 totalNumberOfRequests = 2;
+ public static final int TOTALNUMBEROFREQUESTS_FIELD_NUMBER = 2;
+ private int totalNumberOfRequests_;
+ public boolean hasTotalNumberOfRequests() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ public int getTotalNumberOfRequests() {
+ return totalNumberOfRequests_;
+ }
+
+ // optional uint32 usedHeapMB = 3;
+ public static final int USEDHEAPMB_FIELD_NUMBER = 3;
+ private int usedHeapMB_;
+ public boolean hasUsedHeapMB() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ public int getUsedHeapMB() {
+ return usedHeapMB_;
+ }
+
+ // optional uint32 maxHeapMB = 4;
+ public static final int MAXHEAPMB_FIELD_NUMBER = 4;
+ private int maxHeapMB_;
+ public boolean hasMaxHeapMB() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ public int getMaxHeapMB() {
+ return maxHeapMB_;
+ }
+
+ // repeated .RegionLoad regionLoads = 5;
+ public static final int REGIONLOADS_FIELD_NUMBER = 5;
+ private java.util.List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad> regionLoads_;
+ public java.util.List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad> getRegionLoadsList() {
+ return regionLoads_;
+ }
+ public java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoadOrBuilder>
+ getRegionLoadsOrBuilderList() {
+ return regionLoads_;
+ }
+ public int getRegionLoadsCount() {
+ return regionLoads_.size();
+ }
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad getRegionLoads(int index) {
+ return regionLoads_.get(index);
+ }
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoadOrBuilder getRegionLoadsOrBuilder(
+ int index) {
+ return regionLoads_.get(index);
+ }
+
+ // repeated .Coprocessor coprocessors = 6;
+ public static final int COPROCESSORS_FIELD_NUMBER = 6;
+ private java.util.List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor> coprocessors_;
+ public java.util.List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor> getCoprocessorsList() {
+ return coprocessors_;
+ }
+ public java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder>
+ getCoprocessorsOrBuilderList() {
+ return coprocessors_;
+ }
+ public int getCoprocessorsCount() {
+ return coprocessors_.size();
+ }
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor getCoprocessors(int index) {
+ return coprocessors_.get(index);
+ }
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder getCoprocessorsOrBuilder(
+ int index) {
+ return coprocessors_.get(index);
+ }
+
+ private void initFields() {
+ requestsPerSecond_ = 0;
+ totalNumberOfRequests_ = 0;
+ usedHeapMB_ = 0;
+ maxHeapMB_ = 0;
+ regionLoads_ = java.util.Collections.emptyList();
+ coprocessors_ = java.util.Collections.emptyList();
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ for (int i = 0; i < getRegionLoadsCount(); i++) {
+ if (!getRegionLoads(i).isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
+ for (int i = 0; i < getCoprocessorsCount(); i++) {
+ if (!getCoprocessors(i).isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeUInt32(1, requestsPerSecond_);
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeUInt32(2, totalNumberOfRequests_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeUInt32(3, usedHeapMB_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ output.writeUInt32(4, maxHeapMB_);
+ }
+ for (int i = 0; i < regionLoads_.size(); i++) {
+ output.writeMessage(5, regionLoads_.get(i));
+ }
+ for (int i = 0; i < coprocessors_.size(); i++) {
+ output.writeMessage(6, coprocessors_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ private int memoizedSerializedSize = -1;
+ public int getSerializedSize() {
+ int size = memoizedSerializedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(1, requestsPerSecond_);
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(2, totalNumberOfRequests_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(3, usedHeapMB_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(4, maxHeapMB_);
+ }
+ for (int i = 0; i < regionLoads_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(5, regionLoads_.get(i));
+ }
+ for (int i = 0; i < coprocessors_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(6, coprocessors_.get(i));
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSerializedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad)) {
+ return super.equals(obj);
+ }
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad other = (org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad) obj;
+
+ boolean result = true;
+ result = result && (hasRequestsPerSecond() == other.hasRequestsPerSecond());
+ if (hasRequestsPerSecond()) {
+ result = result && (getRequestsPerSecond()
+ == other.getRequestsPerSecond());
+ }
+ result = result && (hasTotalNumberOfRequests() == other.hasTotalNumberOfRequests());
+ if (hasTotalNumberOfRequests()) {
+ result = result && (getTotalNumberOfRequests()
+ == other.getTotalNumberOfRequests());
+ }
+ result = result && (hasUsedHeapMB() == other.hasUsedHeapMB());
+ if (hasUsedHeapMB()) {
+ result = result && (getUsedHeapMB()
+ == other.getUsedHeapMB());
+ }
+ result = result && (hasMaxHeapMB() == other.hasMaxHeapMB());
+ if (hasMaxHeapMB()) {
+ result = result && (getMaxHeapMB()
+ == other.getMaxHeapMB());
+ }
+ result = result && getRegionLoadsList()
+ .equals(other.getRegionLoadsList());
+ result = result && getCoprocessorsList()
+ .equals(other.getCoprocessorsList());
+ result = result &&
+ getUnknownFields().equals(other.getUnknownFields());
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ int hash = 41;
+ hash = (19 * hash) + getDescriptorForType().hashCode();
+ if (hasRequestsPerSecond()) {
+ hash = (37 * hash) + REQUESTSPERSECOND_FIELD_NUMBER;
+ hash = (53 * hash) + getRequestsPerSecond();
+ }
+ if (hasTotalNumberOfRequests()) {
+ hash = (37 * hash) + TOTALNUMBEROFREQUESTS_FIELD_NUMBER;
+ hash = (53 * hash) + getTotalNumberOfRequests();
+ }
+ if (hasUsedHeapMB()) {
+ hash = (37 * hash) + USEDHEAPMB_FIELD_NUMBER;
+ hash = (53 * hash) + getUsedHeapMB();
+ }
+ if (hasMaxHeapMB()) {
+ hash = (37 * hash) + MAXHEAPMB_FIELD_NUMBER;
+ hash = (53 * hash) + getMaxHeapMB();
+ }
+ if (getRegionLoadsCount() > 0) {
+ hash = (37 * hash) + REGIONLOADS_FIELD_NUMBER;
+ hash = (53 * hash) + getRegionLoadsList().hashCode();
+ }
+ if (getCoprocessorsCount() > 0) {
+ hash = (37 * hash) + COPROCESSORS_FIELD_NUMBER;
+ hash = (53 * hash) + getCoprocessorsList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ return hash;
+ }
+
+ public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return newBuilder().mergeFrom(data).buildParsed();
+ }
+ public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return newBuilder().mergeFrom(data, extensionRegistry)
+ .buildParsed();
+ }
+ public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return newBuilder().mergeFrom(data).buildParsed();
+ }
+ public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return newBuilder().mergeFrom(data, extensionRegistry)
+ .buildParsed();
+ }
+ public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return newBuilder().mergeFrom(input).buildParsed();
+ }
+ public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return newBuilder().mergeFrom(input, extensionRegistry)
+ .buildParsed();
+ }
+ public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ Builder builder = newBuilder();
+ if (builder.mergeDelimitedFrom(input)) {
+ return builder.buildParsed();
+ } else {
+ return null;
+ }
+ }
+ public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ Builder builder = newBuilder();
+ if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
+ return builder.buildParsed();
+ } else {
+ return null;
+ }
+ }
+ public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return newBuilder().mergeFrom(input).buildParsed();
+ }
+ public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return newBuilder().mergeFrom(input, extensionRegistry)
+ .buildParsed();
+ }
+
+ public static Builder newBuilder() { return Builder.create(); }
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad 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;
+ }
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder<Builder>
+ implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoadOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_ServerLoad_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_ServerLoad_fieldAccessorTable;
+ }
+
+ // Construct using org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ getRegionLoadsFieldBuilder();
+ getCoprocessorsFieldBuilder();
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ requestsPerSecond_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ totalNumberOfRequests_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ usedHeapMB_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ maxHeapMB_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000008);
+ if (regionLoadsBuilder_ == null) {
+ regionLoads_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ } else {
+ regionLoadsBuilder_.clear();
+ }
+ if (coprocessorsBuilder_ == null) {
+ coprocessors_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000020);
+ } else {
+ coprocessorsBuilder_.clear();
+ }
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad.getDescriptor();
+ }
+
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad getDefaultInstanceForType() {
+ return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad.getDefaultInstance();
+ }
+
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad build() {
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad buildParsed()
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(
+ result).asInvalidProtocolBufferException();
+ }
+ return result;
+ }
+
+ public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad buildPartial() {
+ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad result = new org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerLoad(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ result.requestsPerSecond_ = requestsPerSecond_;
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.totalNumberOfRequests_ = totalNumberOfRequests_;
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ result.usedHeapMB_ = usedHeapMB_;
+ if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ to_bitField0_ |= 0x00000008;
+ }
+ result.maxHeapMB_ = maxHeapMB_;
+ if (regionLoadsBuilder_ == null) {
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ regionLoads_ = java.util.Collections.unmodifiableList(regionLoads_);
+ bitField0_ = (bitField0_ & ~0x00000010);
+ }
+ result.regionLoads_ = regionLoads_;
[... 3429 lines stripped ...]