/** * <code>repeated .hbase.pb.RegionLoad region_loads = 5;</code> * * <pre> ** Information on the load of individual regions. * </pre> */ public Builder addRegionLoads( int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.Builder builderForValue) { if (regionLoadsBuilder_ == null) { ensureRegionLoadsIsMutable(); regionLoads_.add(index, builderForValue.build()); onChanged(); } else { regionLoadsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;</code> * * <pre> ** the most recent sequence Id of store from cache flush * </pre> */ public Builder setStoreCompleteSequenceId( int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId value) { if (storeCompleteSequenceIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStoreCompleteSequenceIdIsMutable(); storeCompleteSequenceId_.set(index, value); onChanged(); } else { storeCompleteSequenceIdBuilder_.setMessage(index, value); } return this; } /**
/** * <code>required .hbase.pb.RegionSpecifier region_specifier = 1;</code> * * <pre> ** the region specifier * </pre> */ 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_; }
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.getDefaultInstance()) return this; if (other.hasRegionSpecifier()) { mergeRegionSpecifier(other.getRegionSpecifier()); setStores(other.getStores()); setStorefiles(other.getStorefiles()); setStoreUncompressedSizeMB(other.getStoreUncompressedSizeMB()); setStorefileSizeMB(other.getStorefileSizeMB()); setMemstoreSizeMB(other.getMemstoreSizeMB()); setStorefileIndexSizeMB(other.getStorefileIndexSizeMB()); setReadRequestsCount(other.getReadRequestsCount()); setWriteRequestsCount(other.getWriteRequestsCount()); setTotalCompactingKVs(other.getTotalCompactingKVs()); setCurrentCompactedKVs(other.getCurrentCompactedKVs()); setRootIndexSizeKB(other.getRootIndexSizeKB()); setTotalStaticIndexSizeKB(other.getTotalStaticIndexSizeKB()); setTotalStaticBloomSizeKB(other.getTotalStaticBloomSizeKB());
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.getDefaultInstance()) return this; if (other.hasRegionSpecifier()) { mergeRegionSpecifier(other.getRegionSpecifier()); setStores(other.getStores()); setStorefiles(other.getStorefiles()); setStoreUncompressedSizeMB(other.getStoreUncompressedSizeMB()); setStorefileSizeMB(other.getStorefileSizeMB()); setMemstoreSizeMB(other.getMemstoreSizeMB()); setStorefileIndexSizeKB(other.getStorefileIndexSizeKB()); setReadRequestsCount(other.getReadRequestsCount()); setWriteRequestsCount(other.getWriteRequestsCount()); setTotalCompactingKVs(other.getTotalCompactingKVs()); setCurrentCompactedKVs(other.getCurrentCompactedKVs()); setRootIndexSizeKB(other.getRootIndexSizeKB()); setTotalStaticIndexSizeKB(other.getTotalStaticIndexSizeKB()); setTotalStaticBloomSizeKB(other.getTotalStaticBloomSizeKB());
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad other) { if (other == org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.getDefaultInstance()) return this; if (other.hasRegionSpecifier()) { mergeRegionSpecifier(other.getRegionSpecifier()); setStores(other.getStores()); setStorefiles(other.getStorefiles()); setStoreUncompressedSizeMB(other.getStoreUncompressedSizeMB()); setStorefileSizeMB(other.getStorefileSizeMB()); setMemstoreSizeMB(other.getMemstoreSizeMB()); setStorefileIndexSizeKB(other.getStorefileIndexSizeKB()); setReadRequestsCount(other.getReadRequestsCount()); setWriteRequestsCount(other.getWriteRequestsCount()); setTotalCompactingKVs(other.getTotalCompactingKVs()); setCurrentCompactedKVs(other.getCurrentCompactedKVs()); setRootIndexSizeKB(other.getRootIndexSizeKB()); setTotalStaticIndexSizeKB(other.getTotalStaticIndexSizeKB()); setTotalStaticBloomSizeKB(other.getTotalStaticBloomSizeKB());
regionLoadBldr.setRegionSpecifier(regionSpecifier.build()) .setStores(stores) .setStorefiles(storefiles) .setStoreUncompressedSizeMB(storeUncompressedSizeMB) .setStorefileSizeMB(storefileSizeMB) .setMemstoreSizeMB(memstoreSizeMB) .setStorefileIndexSizeMB(storefileIndexSizeMB) .setRootIndexSizeKB(rootIndexSizeKB) .setTotalStaticIndexSizeKB(totalStaticIndexSizeKB) .setTotalStaticBloomSizeKB(totalStaticBloomSizeKB) .setReadRequestsCount(r.getReadRequestsCount()) .setWriteRequestsCount(r.getWriteRequestsCount()) .setTotalCompactingKVs(totalCompactingKVs) .setCurrentCompactedKVs(currentCompactedKVs) .setDataLocality(dataLocality) .setLastMajorCompactionTs(r.getOldestHfileTs(true)); ((HRegion)r).setCompleteSequenceId(regionLoadBldr); return regionLoadBldr.build();
/** * <code>repeated .StoreSequenceId store_complete_sequence_id = 18;</code> * * <pre> ** the most recent sequence Id of store from cache flush * </pre> */ public Builder setStoreCompleteSequenceId( int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId value) { if (storeCompleteSequenceIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStoreCompleteSequenceIdIsMutable(); storeCompleteSequenceId_.set(index, value); onChanged(); } else { storeCompleteSequenceIdBuilder_.setMessage(index, value); } return this; } /**
/** * <code>repeated .StoreSequenceId store_complete_sequence_id = 18;</code> * * <pre> ** the most recent sequence Id of store from cache flush * </pre> */ public Builder addStoreCompleteSequenceId(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId value) { if (storeCompleteSequenceIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStoreCompleteSequenceIdIsMutable(); storeCompleteSequenceId_.add(value); onChanged(); } else { storeCompleteSequenceIdBuilder_.addMessage(value); } return this; } /**
/** * <code>repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;</code> * * <pre> ** the most recent sequence Id of store from cache flush * </pre> */ public Builder setStoreCompleteSequenceId( int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId value) { if (storeCompleteSequenceIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStoreCompleteSequenceIdIsMutable(); storeCompleteSequenceId_.set(index, value); onChanged(); } else { storeCompleteSequenceIdBuilder_.setMessage(index, value); } return this; } /**
/** * <code>repeated .StoreSequenceId store_complete_sequence_id = 18;</code> * * <pre> ** the most recent sequence Id of store from cache flush * </pre> */ public Builder addStoreCompleteSequenceId( int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId value) { if (storeCompleteSequenceIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStoreCompleteSequenceIdIsMutable(); storeCompleteSequenceId_.add(index, value); onChanged(); } else { storeCompleteSequenceIdBuilder_.addMessage(index, value); } return this; } /**
/** * <code>required .RegionSpecifier region_specifier = 1;</code> * * <pre> ** the region specifier * </pre> */ private com.facebook.presto.hbase.$internal.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.facebook.presto.hbase.$internal.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_; }
/** * <code>repeated .RegionLoad region_loads = 5;</code> * * <pre> ** Information on the load of individual regions. * </pre> */ public Builder addRegionLoads( int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.Builder builderForValue) { if (regionLoadsBuilder_ == null) { ensureRegionLoadsIsMutable(); regionLoads_.add(index, builderForValue.build()); onChanged(); } else { regionLoadsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>required .hbase.pb.RegionSpecifier region_specifier = 1;</code> * * <pre> ** the region specifier * </pre> */ 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_; }
/** * <code>repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;</code> * * <pre> ** the most recent sequence Id of store from cache flush * </pre> */ public Builder setStoreCompleteSequenceId( int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId value) { if (storeCompleteSequenceIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStoreCompleteSequenceIdIsMutable(); storeCompleteSequenceId_.set(index, value); onChanged(); } else { storeCompleteSequenceIdBuilder_.setMessage(index, value); } return this; } /**
/** * <code>repeated .StoreSequenceId store_complete_sequence_id = 18;</code> * * <pre> ** the most recent sequence Id of store from cache flush * </pre> */ public Builder addAllStoreCompleteSequenceId( java.lang.Iterable<? extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId> values) { if (storeCompleteSequenceIdBuilder_ == null) { ensureStoreCompleteSequenceIdIsMutable(); super.addAll(values, storeCompleteSequenceId_); onChanged(); } else { storeCompleteSequenceIdBuilder_.addAllMessages(values); } return this; } /**
/** * <code>repeated .StoreSequenceId store_complete_sequence_id = 18;</code> * * <pre> ** the most recent sequence Id of store from cache flush * </pre> */ public Builder addStoreCompleteSequenceId( int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) { if (storeCompleteSequenceIdBuilder_ == null) { ensureStoreCompleteSequenceIdIsMutable(); storeCompleteSequenceId_.add(index, builderForValue.build()); onChanged(); } else { storeCompleteSequenceIdBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .RegionLoad region_loads = 5;</code> * * <pre> ** Information on the load of individual regions. * </pre> */ public Builder setRegionLoads( int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.Builder builderForValue) { if (regionLoadsBuilder_ == null) { ensureRegionLoadsIsMutable(); regionLoads_.set(index, builderForValue.build()); onChanged(); } else { regionLoadsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;</code> * * <pre> ** the most recent sequence Id of store from cache flush * </pre> */ public Builder addStoreCompleteSequenceId( int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId value) { if (storeCompleteSequenceIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStoreCompleteSequenceIdIsMutable(); storeCompleteSequenceId_.add(index, value); onChanged(); } else { storeCompleteSequenceIdBuilder_.addMessage(index, value); } return this; } /**
/** * <code>repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;</code> * * <pre> ** the most recent sequence Id of store from cache flush * </pre> */ public Builder addStoreCompleteSequenceId( int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId value) { if (storeCompleteSequenceIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStoreCompleteSequenceIdIsMutable(); storeCompleteSequenceId_.add(index, value); onChanged(); } else { storeCompleteSequenceIdBuilder_.addMessage(index, value); } return this; } /**