/** * <pre> ** Information on the load of individual regions. * </pre> * * <code>repeated .hbase.pb.RegionLoad region_loads = 5;</code> */ public Builder clearRegionLoads() { if (regionLoadsBuilder_ == null) { regionLoads_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { regionLoadsBuilder_.clear(); } return this; } /**
/** * <pre> ** * The replicationLoadSource for the replication Source status of this region server. * </pre> * * <code>repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;</code> */ public Builder clearReplLoadSource() { if (replLoadSourceBuilder_ == null) { replLoadSource_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); } else { replLoadSourceBuilder_.clear(); } return this; } /**
/** * <pre> ** Information on the load of individual regions. * </pre> * * <code>repeated .hbase.pb.RegionLoad region_loads = 5;</code> */ public Builder removeRegionLoads(int index) { if (regionLoadsBuilder_ == null) { ensureRegionLoadsIsMutable(); regionLoads_.remove(index); onChanged(); } else { regionLoadsBuilder_.remove(index); } return this; } /**
/** * <pre> ** * The replicationLoadSource for the replication Source status of this region server. * </pre> * * <code>repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;</code> */ public Builder addReplLoadSource( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.Builder builderForValue) { if (replLoadSourceBuilder_ == null) { ensureReplLoadSourceIsMutable(); replLoadSource_.add(index, builderForValue.build()); onChanged(); } else { replLoadSourceBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> ** Information on the load of individual regions. * </pre> * * <code>repeated .hbase.pb.RegionLoad region_loads = 5;</code> */ public Builder setRegionLoads( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionLoad.Builder builderForValue) { if (regionLoadsBuilder_ == null) { ensureRegionLoadsIsMutable(); regionLoads_.set(index, builderForValue.build()); onChanged(); } else { regionLoadsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> ** * Time when report was generated. * time is measured as the difference, measured in milliseconds, between the current time * and midnight, January 1, 1970 UTC. * </pre> * * <code>optional uint64 report_end_time = 8;</code> */ public Builder setReportEndTime(long value) { bitField0_ |= 0x00000080; reportEndTime_ = value; onChanged(); return this; } /**
/** * <pre> ** * Time when incremental (non-total) counts began being calculated (e.g. number_of_requests) * time is measured as the difference, measured in milliseconds, between the current time * and midnight, January 1, 1970 UTC. * </pre> * * <code>optional uint64 report_start_time = 7;</code> */ public Builder setReportStartTime(long value) { bitField0_ |= 0x00000040; reportStartTime_ = value; onChanged(); return this; } /**
/** * <pre> ** * Time when report was generated. * time is measured as the difference, measured in milliseconds, between the current time * and midnight, January 1, 1970 UTC. * </pre> * * <code>optional uint64 report_end_time = 8;</code> */ public Builder clearReportEndTime() { bitField0_ = (bitField0_ & ~0x00000080); reportEndTime_ = 0L; onChanged(); return this; }
/** * <pre> ** * Time when incremental (non-total) counts began being calculated (e.g. number_of_requests) * time is measured as the difference, measured in milliseconds, between the current time * and midnight, January 1, 1970 UTC. * </pre> * * <code>optional uint64 report_start_time = 7;</code> */ public Builder clearReportStartTime() { bitField0_ = (bitField0_ & ~0x00000040); reportStartTime_ = 0L; onChanged(); return this; }
/** * <pre> ** * The port number that this region server is hosing an info server on. * </pre> * * <code>optional uint32 info_server_port = 9;</code> */ public Builder setInfoServerPort(int value) { bitField0_ |= 0x00000100; infoServerPort_ = value; onChanged(); return this; } /**
/** * <pre> ** the maximum allowable size of the heap, in MB. * </pre> * * <code>optional uint32 max_heap_MB = 4;</code> */ public Builder setMaxHeapMB(int value) { bitField0_ |= 0x00000008; maxHeapMB_ = value; onChanged(); return this; } /**
/** * <pre> ** Total Number of requests from the start of the region server. * </pre> * * <code>optional uint64 total_number_of_requests = 2;</code> */ public Builder setTotalNumberOfRequests(long value) { bitField0_ |= 0x00000002; totalNumberOfRequests_ = value; onChanged(); return this; } /**
/** * <pre> ** the maximum allowable size of the heap, in MB. * </pre> * * <code>optional uint32 max_heap_MB = 4;</code> */ public Builder clearMaxHeapMB() { bitField0_ = (bitField0_ & ~0x00000008); maxHeapMB_ = 0; onChanged(); return this; }
/** * <pre> ** * The port number that this region server is hosing an info server on. * </pre> * * <code>optional uint32 info_server_port = 9;</code> */ public Builder clearInfoServerPort() { bitField0_ = (bitField0_ & ~0x00000100); infoServerPort_ = 0; onChanged(); return this; }
/** * <pre> ** * The replicationLoadSink for the replication Sink status of this region server. * </pre> * * <code>optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;</code> */ public org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.Builder getReplLoadSinkBuilder() { bitField0_ |= 0x00000400; onChanged(); return getReplLoadSinkFieldBuilder().getBuilder(); } /**
/** * <pre> ** the amount of used heap, in MB. * </pre> * * <code>optional uint32 used_heap_MB = 3;</code> */ public Builder setUsedHeapMB(int value) { bitField0_ |= 0x00000004; usedHeapMB_ = value; onChanged(); return this; } /**
/** * <pre> ** Number of requests since last report. * </pre> * * <code>optional uint64 number_of_requests = 1;</code> */ public Builder setNumberOfRequests(long value) { bitField0_ |= 0x00000001; numberOfRequests_ = value; onChanged(); return this; } /**
/** * <pre> ** the amount of used heap, in MB. * </pre> * * <code>optional uint32 used_heap_MB = 3;</code> */ public Builder clearUsedHeapMB() { bitField0_ = (bitField0_ & ~0x00000004); usedHeapMB_ = 0; onChanged(); return this; }
/** * <pre> ** Total Number of requests from the start of the region server. * </pre> * * <code>optional uint64 total_number_of_requests = 2;</code> */ public Builder clearTotalNumberOfRequests() { bitField0_ = (bitField0_ & ~0x00000002); totalNumberOfRequests_ = 0L; onChanged(); return this; }
/** * <pre> ** Number of requests since last report. * </pre> * * <code>optional uint64 number_of_requests = 1;</code> */ public Builder clearNumberOfRequests() { bitField0_ = (bitField0_ & ~0x00000001); numberOfRequests_ = 0L; onChanged(); return this; }