Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos Maven / Gradle / Ivy
Go to download
Protobuf protocol classes used by HBase to communicate.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ClusterStatus.proto
package org.apache.hadoop.hbase.protobuf.generated;
@javax.annotation.Generated("proto") public final class ClusterStatusProtos {
private ClusterStatusProtos() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
/**
* Protobuf enum {@code hbase.pb.Option}
*/
public enum Option
implements com.google.protobuf.ProtocolMessageEnum {
/**
* HBASE_VERSION = 0;
*/
HBASE_VERSION(0, 0),
/**
* CLUSTER_ID = 1;
*/
CLUSTER_ID(1, 1),
/**
* LIVE_SERVERS = 2;
*/
LIVE_SERVERS(2, 2),
/**
* DEAD_SERVERS = 3;
*/
DEAD_SERVERS(3, 3),
/**
* MASTER = 4;
*/
MASTER(4, 4),
/**
* BACKUP_MASTERS = 5;
*/
BACKUP_MASTERS(5, 5),
/**
* MASTER_COPROCESSORS = 6;
*/
MASTER_COPROCESSORS(6, 6),
/**
* REGIONS_IN_TRANSITION = 7;
*/
REGIONS_IN_TRANSITION(7, 7),
/**
* BALANCER_ON = 8;
*/
BALANCER_ON(8, 8),
;
/**
* HBASE_VERSION = 0;
*/
public static final int HBASE_VERSION_VALUE = 0;
/**
* CLUSTER_ID = 1;
*/
public static final int CLUSTER_ID_VALUE = 1;
/**
* LIVE_SERVERS = 2;
*/
public static final int LIVE_SERVERS_VALUE = 2;
/**
* DEAD_SERVERS = 3;
*/
public static final int DEAD_SERVERS_VALUE = 3;
/**
* MASTER = 4;
*/
public static final int MASTER_VALUE = 4;
/**
* BACKUP_MASTERS = 5;
*/
public static final int BACKUP_MASTERS_VALUE = 5;
/**
* MASTER_COPROCESSORS = 6;
*/
public static final int MASTER_COPROCESSORS_VALUE = 6;
/**
* REGIONS_IN_TRANSITION = 7;
*/
public static final int REGIONS_IN_TRANSITION_VALUE = 7;
/**
* BALANCER_ON = 8;
*/
public static final int BALANCER_ON_VALUE = 8;
public final int getNumber() { return value; }
public static Option valueOf(int value) {
switch (value) {
case 0: return HBASE_VERSION;
case 1: return CLUSTER_ID;
case 2: return LIVE_SERVERS;
case 3: return DEAD_SERVERS;
case 4: return MASTER;
case 5: return BACKUP_MASTERS;
case 6: return MASTER_COPROCESSORS;
case 7: return REGIONS_IN_TRANSITION;
case 8: return BALANCER_ON;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap () {
public Option findValueByNumber(int number) {
return Option.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.getDescriptor().getEnumTypes().get(0);
}
private static final Option[] VALUES = values();
public static Option valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private Option(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:hbase.pb.Option)
}
public interface RegionStateOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required .hbase.pb.RegionInfo region_info = 1;
/**
* required .hbase.pb.RegionInfo region_info = 1;
*/
boolean hasRegionInfo();
/**
* required .hbase.pb.RegionInfo region_info = 1;
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo getRegionInfo();
/**
* required .hbase.pb.RegionInfo region_info = 1;
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder getRegionInfoOrBuilder();
// required .hbase.pb.RegionState.State state = 2;
/**
* required .hbase.pb.RegionState.State state = 2;
*/
boolean hasState();
/**
* required .hbase.pb.RegionState.State state = 2;
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State getState();
// optional uint64 stamp = 3;
/**
* optional uint64 stamp = 3;
*/
boolean hasStamp();
/**
* optional uint64 stamp = 3;
*/
long getStamp();
}
/**
* Protobuf type {@code hbase.pb.RegionState}
*/
@javax.annotation.Generated("proto") public static final class RegionState extends
com.google.protobuf.GeneratedMessage
implements RegionStateOrBuilder {
// Use RegionState.newBuilder() to construct.
private RegionState(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private RegionState(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final RegionState defaultInstance;
public static RegionState getDefaultInstance() {
return defaultInstance;
}
public RegionState getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RegionState(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = regionInfo_.toBuilder();
}
regionInfo_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(regionInfo_);
regionInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
int rawValue = input.readEnum();
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State value = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(2, rawValue);
} else {
bitField0_ |= 0x00000002;
state_ = value;
}
break;
}
case 24: {
bitField0_ |= 0x00000004;
stamp_ = input.readUInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionState_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionState_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public RegionState parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RegionState(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code hbase.pb.RegionState.State}
*/
public enum State
implements com.google.protobuf.ProtocolMessageEnum {
/**
* OFFLINE = 0;
*
*
* region is in an offline state
*
*/
OFFLINE(0, 0),
/**
* PENDING_OPEN = 1;
*
*
* sent rpc to server to open but has not begun
*
*/
PENDING_OPEN(1, 1),
/**
* OPENING = 2;
*
*
* server has begun to open but not yet done
*
*/
OPENING(2, 2),
/**
* OPEN = 3;
*
*
* server opened region and updated meta
*
*/
OPEN(3, 3),
/**
* PENDING_CLOSE = 4;
*
*
* sent rpc to server to close but has not begun
*
*/
PENDING_CLOSE(4, 4),
/**
* CLOSING = 5;
*
*
* server has begun to close but not yet done
*
*/
CLOSING(5, 5),
/**
* CLOSED = 6;
*
*
* server closed region and updated meta
*
*/
CLOSED(6, 6),
/**
* SPLITTING = 7;
*
*
* server started split of a region
*
*/
SPLITTING(7, 7),
/**
* SPLIT = 8;
*
*
* server completed split of a region
*
*/
SPLIT(8, 8),
/**
* FAILED_OPEN = 9;
*
*
* failed to open, and won't retry any more
*
*/
FAILED_OPEN(9, 9),
/**
* FAILED_CLOSE = 10;
*
*
* failed to close, and won't retry any more
*
*/
FAILED_CLOSE(10, 10),
/**
* MERGING = 11;
*
*
* server started merge a region
*
*/
MERGING(11, 11),
/**
* MERGED = 12;
*
*
* server completed merge of a region
*
*/
MERGED(12, 12),
/**
* SPLITTING_NEW = 13;
*
*
* new region to be created when RS splits a parent
*
*/
SPLITTING_NEW(13, 13),
/**
* MERGING_NEW = 14;
*
*
* region but hasn't be created yet, or master doesn't
* know it's already created
*
*/
MERGING_NEW(14, 14),
;
/**
* OFFLINE = 0;
*
*
* region is in an offline state
*
*/
public static final int OFFLINE_VALUE = 0;
/**
* PENDING_OPEN = 1;
*
*
* sent rpc to server to open but has not begun
*
*/
public static final int PENDING_OPEN_VALUE = 1;
/**
* OPENING = 2;
*
*
* server has begun to open but not yet done
*
*/
public static final int OPENING_VALUE = 2;
/**
* OPEN = 3;
*
*
* server opened region and updated meta
*
*/
public static final int OPEN_VALUE = 3;
/**
* PENDING_CLOSE = 4;
*
*
* sent rpc to server to close but has not begun
*
*/
public static final int PENDING_CLOSE_VALUE = 4;
/**
* CLOSING = 5;
*
*
* server has begun to close but not yet done
*
*/
public static final int CLOSING_VALUE = 5;
/**
* CLOSED = 6;
*
*
* server closed region and updated meta
*
*/
public static final int CLOSED_VALUE = 6;
/**
* SPLITTING = 7;
*
*
* server started split of a region
*
*/
public static final int SPLITTING_VALUE = 7;
/**
* SPLIT = 8;
*
*
* server completed split of a region
*
*/
public static final int SPLIT_VALUE = 8;
/**
* FAILED_OPEN = 9;
*
*
* failed to open, and won't retry any more
*
*/
public static final int FAILED_OPEN_VALUE = 9;
/**
* FAILED_CLOSE = 10;
*
*
* failed to close, and won't retry any more
*
*/
public static final int FAILED_CLOSE_VALUE = 10;
/**
* MERGING = 11;
*
*
* server started merge a region
*
*/
public static final int MERGING_VALUE = 11;
/**
* MERGED = 12;
*
*
* server completed merge of a region
*
*/
public static final int MERGED_VALUE = 12;
/**
* SPLITTING_NEW = 13;
*
*
* new region to be created when RS splits a parent
*
*/
public static final int SPLITTING_NEW_VALUE = 13;
/**
* MERGING_NEW = 14;
*
*
* region but hasn't be created yet, or master doesn't
* know it's already created
*
*/
public static final int MERGING_NEW_VALUE = 14;
public final int getNumber() { return value; }
public static State valueOf(int value) {
switch (value) {
case 0: return OFFLINE;
case 1: return PENDING_OPEN;
case 2: return OPENING;
case 3: return OPEN;
case 4: return PENDING_CLOSE;
case 5: return CLOSING;
case 6: return CLOSED;
case 7: return SPLITTING;
case 8: return SPLIT;
case 9: return FAILED_OPEN;
case 10: return FAILED_CLOSE;
case 11: return MERGING;
case 12: return MERGED;
case 13: return SPLITTING_NEW;
case 14: return MERGING_NEW;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public State findValueByNumber(int number) {
return State.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.getDescriptor().getEnumTypes().get(0);
}
private static final State[] VALUES = values();
public static State valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private State(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:hbase.pb.RegionState.State)
}
private int bitField0_;
// required .hbase.pb.RegionInfo region_info = 1;
public static final int REGION_INFO_FIELD_NUMBER = 1;
private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo regionInfo_;
/**
* required .hbase.pb.RegionInfo region_info = 1;
*/
public boolean hasRegionInfo() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .hbase.pb.RegionInfo region_info = 1;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo getRegionInfo() {
return regionInfo_;
}
/**
* required .hbase.pb.RegionInfo region_info = 1;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder getRegionInfoOrBuilder() {
return regionInfo_;
}
// required .hbase.pb.RegionState.State state = 2;
public static final int STATE_FIELD_NUMBER = 2;
private org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State state_;
/**
* required .hbase.pb.RegionState.State state = 2;
*/
public boolean hasState() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .hbase.pb.RegionState.State state = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State getState() {
return state_;
}
// optional uint64 stamp = 3;
public static final int STAMP_FIELD_NUMBER = 3;
private long stamp_;
/**
* optional uint64 stamp = 3;
*/
public boolean hasStamp() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint64 stamp = 3;
*/
public long getStamp() {
return stamp_;
}
private void initFields() {
regionInfo_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.getDefaultInstance();
state_ = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State.OFFLINE;
stamp_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasRegionInfo()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasState()) {
memoizedIsInitialized = 0;
return false;
}
if (!getRegionInfo().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.writeMessage(1, regionInfo_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeEnum(2, state_.getNumber());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt64(3, stamp_);
}
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
.computeMessageSize(1, regionInfo_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, state_.getNumber());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, stamp_);
}
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.ClusterStatusProtos.RegionState)) {
return super.equals(obj);
}
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState other = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState) obj;
boolean result = true;
result = result && (hasRegionInfo() == other.hasRegionInfo());
if (hasRegionInfo()) {
result = result && getRegionInfo()
.equals(other.getRegionInfo());
}
result = result && (hasState() == other.hasState());
if (hasState()) {
result = result &&
(getState() == other.getState());
}
result = result && (hasStamp() == other.hasStamp());
if (hasStamp()) {
result = result && (getStamp()
== other.getStamp());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasRegionInfo()) {
hash = (37 * hash) + REGION_INFO_FIELD_NUMBER;
hash = (53 * hash) + getRegionInfo().hashCode();
}
if (hasState()) {
hash = (37 * hash) + STATE_FIELD_NUMBER;
hash = (53 * hash) + hashEnum(getState());
}
if (hasStamp()) {
hash = (37 * hash) + STAMP_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getStamp());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hbase.pb.RegionState}
*/
@javax.annotation.Generated("proto") public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStateOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionState_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionState_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.Builder.class);
}
// Construct using org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getRegionInfoFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (regionInfoBuilder_ == null) {
regionInfo_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.getDefaultInstance();
} else {
regionInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
state_ = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State.OFFLINE;
bitField0_ = (bitField0_ & ~0x00000002);
stamp_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionState_descriptor;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState getDefaultInstanceForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.getDefaultInstance();
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState build() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState buildPartial() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState result = new org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (regionInfoBuilder_ == null) {
result.regionInfo_ = regionInfo_;
} else {
result.regionInfo_ = regionInfoBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.state_ = state_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.stamp_ = stamp_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState) {
return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState other) {
if (other == org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.getDefaultInstance()) return this;
if (other.hasRegionInfo()) {
mergeRegionInfo(other.getRegionInfo());
}
if (other.hasState()) {
setState(other.getState());
}
if (other.hasStamp()) {
setStamp(other.getStamp());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasRegionInfo()) {
return false;
}
if (!hasState()) {
return false;
}
if (!getRegionInfo().isInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required .hbase.pb.RegionInfo region_info = 1;
private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo regionInfo_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder> regionInfoBuilder_;
/**
* required .hbase.pb.RegionInfo region_info = 1;
*/
public boolean hasRegionInfo() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .hbase.pb.RegionInfo region_info = 1;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo getRegionInfo() {
if (regionInfoBuilder_ == null) {
return regionInfo_;
} else {
return regionInfoBuilder_.getMessage();
}
}
/**
* required .hbase.pb.RegionInfo region_info = 1;
*/
public Builder setRegionInfo(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo value) {
if (regionInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
regionInfo_ = value;
onChanged();
} else {
regionInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .hbase.pb.RegionInfo region_info = 1;
*/
public Builder setRegionInfo(
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.Builder builderForValue) {
if (regionInfoBuilder_ == null) {
regionInfo_ = builderForValue.build();
onChanged();
} else {
regionInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .hbase.pb.RegionInfo region_info = 1;
*/
public Builder mergeRegionInfo(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo value) {
if (regionInfoBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
regionInfo_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.getDefaultInstance()) {
regionInfo_ =
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.newBuilder(regionInfo_).mergeFrom(value).buildPartial();
} else {
regionInfo_ = value;
}
onChanged();
} else {
regionInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .hbase.pb.RegionInfo region_info = 1;
*/
public Builder clearRegionInfo() {
if (regionInfoBuilder_ == null) {
regionInfo_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.getDefaultInstance();
onChanged();
} else {
regionInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .hbase.pb.RegionInfo region_info = 1;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.Builder getRegionInfoBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getRegionInfoFieldBuilder().getBuilder();
}
/**
* required .hbase.pb.RegionInfo region_info = 1;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder getRegionInfoOrBuilder() {
if (regionInfoBuilder_ != null) {
return regionInfoBuilder_.getMessageOrBuilder();
} else {
return regionInfo_;
}
}
/**
* required .hbase.pb.RegionInfo region_info = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder>
getRegionInfoFieldBuilder() {
if (regionInfoBuilder_ == null) {
regionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder>(
regionInfo_,
getParentForChildren(),
isClean());
regionInfo_ = null;
}
return regionInfoBuilder_;
}
// required .hbase.pb.RegionState.State state = 2;
private org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State state_ = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State.OFFLINE;
/**
* required .hbase.pb.RegionState.State state = 2;
*/
public boolean hasState() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .hbase.pb.RegionState.State state = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State getState() {
return state_;
}
/**
* required .hbase.pb.RegionState.State state = 2;
*/
public Builder setState(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
state_ = value;
onChanged();
return this;
}
/**
* required .hbase.pb.RegionState.State state = 2;
*/
public Builder clearState() {
bitField0_ = (bitField0_ & ~0x00000002);
state_ = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State.OFFLINE;
onChanged();
return this;
}
// optional uint64 stamp = 3;
private long stamp_ ;
/**
* optional uint64 stamp = 3;
*/
public boolean hasStamp() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint64 stamp = 3;
*/
public long getStamp() {
return stamp_;
}
/**
* optional uint64 stamp = 3;
*/
public Builder setStamp(long value) {
bitField0_ |= 0x00000004;
stamp_ = value;
onChanged();
return this;
}
/**
* optional uint64 stamp = 3;
*/
public Builder clearStamp() {
bitField0_ = (bitField0_ & ~0x00000004);
stamp_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:hbase.pb.RegionState)
}
static {
defaultInstance = new RegionState(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hbase.pb.RegionState)
}
public interface RegionInTransitionOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required .hbase.pb.RegionSpecifier spec = 1;
/**
* required .hbase.pb.RegionSpecifier spec = 1;
*/
boolean hasSpec();
/**
* required .hbase.pb.RegionSpecifier spec = 1;
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getSpec();
/**
* required .hbase.pb.RegionSpecifier spec = 1;
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getSpecOrBuilder();
// required .hbase.pb.RegionState region_state = 2;
/**
* required .hbase.pb.RegionState region_state = 2;
*/
boolean hasRegionState();
/**
* required .hbase.pb.RegionState region_state = 2;
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState getRegionState();
/**
* required .hbase.pb.RegionState region_state = 2;
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStateOrBuilder getRegionStateOrBuilder();
}
/**
* Protobuf type {@code hbase.pb.RegionInTransition}
*/
@javax.annotation.Generated("proto") public static final class RegionInTransition extends
com.google.protobuf.GeneratedMessage
implements RegionInTransitionOrBuilder {
// Use RegionInTransition.newBuilder() to construct.
private RegionInTransition(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private RegionInTransition(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final RegionInTransition defaultInstance;
public static RegionInTransition getDefaultInstance() {
return defaultInstance;
}
public RegionInTransition getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RegionInTransition(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = spec_.toBuilder();
}
spec_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(spec_);
spec_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = regionState_.toBuilder();
}
regionState_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(regionState_);
regionState_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionInTransition_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionInTransition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public RegionInTransition parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RegionInTransition(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required .hbase.pb.RegionSpecifier spec = 1;
public static final int SPEC_FIELD_NUMBER = 1;
private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier spec_;
/**
* required .hbase.pb.RegionSpecifier spec = 1;
*/
public boolean hasSpec() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .hbase.pb.RegionSpecifier spec = 1;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getSpec() {
return spec_;
}
/**
* required .hbase.pb.RegionSpecifier spec = 1;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getSpecOrBuilder() {
return spec_;
}
// required .hbase.pb.RegionState region_state = 2;
public static final int REGION_STATE_FIELD_NUMBER = 2;
private org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState regionState_;
/**
* required .hbase.pb.RegionState region_state = 2;
*/
public boolean hasRegionState() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .hbase.pb.RegionState region_state = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState getRegionState() {
return regionState_;
}
/**
* required .hbase.pb.RegionState region_state = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStateOrBuilder getRegionStateOrBuilder() {
return regionState_;
}
private void initFields() {
spec_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance();
regionState_ = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasSpec()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasRegionState()) {
memoizedIsInitialized = 0;
return false;
}
if (!getSpec().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
if (!getRegionState().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.writeMessage(1, spec_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, regionState_);
}
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
.computeMessageSize(1, spec_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, regionState_);
}
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.ClusterStatusProtos.RegionInTransition)) {
return super.equals(obj);
}
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition other = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition) obj;
boolean result = true;
result = result && (hasSpec() == other.hasSpec());
if (hasSpec()) {
result = result && getSpec()
.equals(other.getSpec());
}
result = result && (hasRegionState() == other.hasRegionState());
if (hasRegionState()) {
result = result && getRegionState()
.equals(other.getRegionState());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasSpec()) {
hash = (37 * hash) + SPEC_FIELD_NUMBER;
hash = (53 * hash) + getSpec().hashCode();
}
if (hasRegionState()) {
hash = (37 * hash) + REGION_STATE_FIELD_NUMBER;
hash = (53 * hash) + getRegionState().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hbase.pb.RegionInTransition}
*/
@javax.annotation.Generated("proto") public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransitionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionInTransition_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionInTransition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition.Builder.class);
}
// Construct using org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getSpecFieldBuilder();
getRegionStateFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (specBuilder_ == null) {
spec_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance();
} else {
specBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (regionStateBuilder_ == null) {
regionState_ = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.getDefaultInstance();
} else {
regionStateBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionInTransition_descriptor;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition getDefaultInstanceForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition.getDefaultInstance();
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition build() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition buildPartial() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition result = new org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (specBuilder_ == null) {
result.spec_ = spec_;
} else {
result.spec_ = specBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (regionStateBuilder_ == null) {
result.regionState_ = regionState_;
} else {
result.regionState_ = regionStateBuilder_.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.ClusterStatusProtos.RegionInTransition) {
return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition other) {
if (other == org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition.getDefaultInstance()) return this;
if (other.hasSpec()) {
mergeSpec(other.getSpec());
}
if (other.hasRegionState()) {
mergeRegionState(other.getRegionState());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasSpec()) {
return false;
}
if (!hasRegionState()) {
return false;
}
if (!getSpec().isInitialized()) {
return false;
}
if (!getRegionState().isInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required .hbase.pb.RegionSpecifier spec = 1;
private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier spec_ = 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> specBuilder_;
/**
* required .hbase.pb.RegionSpecifier spec = 1;
*/
public boolean hasSpec() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .hbase.pb.RegionSpecifier spec = 1;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getSpec() {
if (specBuilder_ == null) {
return spec_;
} else {
return specBuilder_.getMessage();
}
}
/**
* required .hbase.pb.RegionSpecifier spec = 1;
*/
public Builder setSpec(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) {
if (specBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
spec_ = value;
onChanged();
} else {
specBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .hbase.pb.RegionSpecifier spec = 1;
*/
public Builder setSpec(
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder builderForValue) {
if (specBuilder_ == null) {
spec_ = builderForValue.build();
onChanged();
} else {
specBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .hbase.pb.RegionSpecifier spec = 1;
*/
public Builder mergeSpec(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier value) {
if (specBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
spec_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance()) {
spec_ =
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.newBuilder(spec_).mergeFrom(value).buildPartial();
} else {
spec_ = value;
}
onChanged();
} else {
specBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .hbase.pb.RegionSpecifier spec = 1;
*/
public Builder clearSpec() {
if (specBuilder_ == null) {
spec_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance();
onChanged();
} else {
specBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .hbase.pb.RegionSpecifier spec = 1;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder getSpecBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getSpecFieldBuilder().getBuilder();
}
/**
* required .hbase.pb.RegionSpecifier spec = 1;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getSpecOrBuilder() {
if (specBuilder_ != null) {
return specBuilder_.getMessageOrBuilder();
} else {
return spec_;
}
}
/**
* required .hbase.pb.RegionSpecifier spec = 1;
*/
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>
getSpecFieldBuilder() {
if (specBuilder_ == null) {
specBuilder_ = 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>(
spec_,
getParentForChildren(),
isClean());
spec_ = null;
}
return specBuilder_;
}
// required .hbase.pb.RegionState region_state = 2;
private org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState regionState_ = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStateOrBuilder> regionStateBuilder_;
/**
* required .hbase.pb.RegionState region_state = 2;
*/
public boolean hasRegionState() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .hbase.pb.RegionState region_state = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState getRegionState() {
if (regionStateBuilder_ == null) {
return regionState_;
} else {
return regionStateBuilder_.getMessage();
}
}
/**
* required .hbase.pb.RegionState region_state = 2;
*/
public Builder setRegionState(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState value) {
if (regionStateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
regionState_ = value;
onChanged();
} else {
regionStateBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* required .hbase.pb.RegionState region_state = 2;
*/
public Builder setRegionState(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.Builder builderForValue) {
if (regionStateBuilder_ == null) {
regionState_ = builderForValue.build();
onChanged();
} else {
regionStateBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* required .hbase.pb.RegionState region_state = 2;
*/
public Builder mergeRegionState(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState value) {
if (regionStateBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
regionState_ != org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.getDefaultInstance()) {
regionState_ =
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.newBuilder(regionState_).mergeFrom(value).buildPartial();
} else {
regionState_ = value;
}
onChanged();
} else {
regionStateBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* required .hbase.pb.RegionState region_state = 2;
*/
public Builder clearRegionState() {
if (regionStateBuilder_ == null) {
regionState_ = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.getDefaultInstance();
onChanged();
} else {
regionStateBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* required .hbase.pb.RegionState region_state = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.Builder getRegionStateBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getRegionStateFieldBuilder().getBuilder();
}
/**
* required .hbase.pb.RegionState region_state = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStateOrBuilder getRegionStateOrBuilder() {
if (regionStateBuilder_ != null) {
return regionStateBuilder_.getMessageOrBuilder();
} else {
return regionState_;
}
}
/**
* required .hbase.pb.RegionState region_state = 2;
*/
private com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStateOrBuilder>
getRegionStateFieldBuilder() {
if (regionStateBuilder_ == null) {
regionStateBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStateOrBuilder>(
regionState_,
getParentForChildren(),
isClean());
regionState_ = null;
}
return regionStateBuilder_;
}
// @@protoc_insertion_point(builder_scope:hbase.pb.RegionInTransition)
}
static {
defaultInstance = new RegionInTransition(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hbase.pb.RegionInTransition)
}
public interface StoreSequenceIdOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required bytes family_name = 1;
/**
* required bytes family_name = 1;
*/
boolean hasFamilyName();
/**
* required bytes family_name = 1;
*/
com.google.protobuf.ByteString getFamilyName();
// required uint64 sequence_id = 2;
/**
* required uint64 sequence_id = 2;
*/
boolean hasSequenceId();
/**
* required uint64 sequence_id = 2;
*/
long getSequenceId();
}
/**
* Protobuf type {@code hbase.pb.StoreSequenceId}
*
*
**
* sequence Id of a store
*
*/
@javax.annotation.Generated("proto") public static final class StoreSequenceId extends
com.google.protobuf.GeneratedMessage
implements StoreSequenceIdOrBuilder {
// Use StoreSequenceId.newBuilder() to construct.
private StoreSequenceId(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private StoreSequenceId(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final StoreSequenceId defaultInstance;
public static StoreSequenceId getDefaultInstance() {
return defaultInstance;
}
public StoreSequenceId getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StoreSequenceId(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
familyName_ = input.readBytes();
break;
}
case 16: {
bitField0_ |= 0x00000002;
sequenceId_ = input.readUInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_StoreSequenceId_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_StoreSequenceId_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public StoreSequenceId parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StoreSequenceId(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required bytes family_name = 1;
public static final int FAMILY_NAME_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString familyName_;
/**
* required bytes family_name = 1;
*/
public boolean hasFamilyName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required bytes family_name = 1;
*/
public com.google.protobuf.ByteString getFamilyName() {
return familyName_;
}
// required uint64 sequence_id = 2;
public static final int SEQUENCE_ID_FIELD_NUMBER = 2;
private long sequenceId_;
/**
* required uint64 sequence_id = 2;
*/
public boolean hasSequenceId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required uint64 sequence_id = 2;
*/
public long getSequenceId() {
return sequenceId_;
}
private void initFields() {
familyName_ = com.google.protobuf.ByteString.EMPTY;
sequenceId_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasFamilyName()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasSequenceId()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, familyName_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt64(2, sequenceId_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, familyName_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, sequenceId_);
}
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.ClusterStatusProtos.StoreSequenceId)) {
return super.equals(obj);
}
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId other = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId) obj;
boolean result = true;
result = result && (hasFamilyName() == other.hasFamilyName());
if (hasFamilyName()) {
result = result && getFamilyName()
.equals(other.getFamilyName());
}
result = result && (hasSequenceId() == other.hasSequenceId());
if (hasSequenceId()) {
result = result && (getSequenceId()
== other.getSequenceId());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasFamilyName()) {
hash = (37 * hash) + FAMILY_NAME_FIELD_NUMBER;
hash = (53 * hash) + getFamilyName().hashCode();
}
if (hasSequenceId()) {
hash = (37 * hash) + SEQUENCE_ID_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getSequenceId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hbase.pb.StoreSequenceId}
*
*
**
* sequence Id of a store
*
*/
@javax.annotation.Generated("proto") public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_StoreSequenceId_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_StoreSequenceId_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder.class);
}
// Construct using org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
familyName_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
sequenceId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_StoreSequenceId_descriptor;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId getDefaultInstanceForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.getDefaultInstance();
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId build() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId buildPartial() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId result = new org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.familyName_ = familyName_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.sequenceId_ = sequenceId_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId) {
return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId other) {
if (other == org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.getDefaultInstance()) return this;
if (other.hasFamilyName()) {
setFamilyName(other.getFamilyName());
}
if (other.hasSequenceId()) {
setSequenceId(other.getSequenceId());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasFamilyName()) {
return false;
}
if (!hasSequenceId()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required bytes family_name = 1;
private com.google.protobuf.ByteString familyName_ = com.google.protobuf.ByteString.EMPTY;
/**
* required bytes family_name = 1;
*/
public boolean hasFamilyName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required bytes family_name = 1;
*/
public com.google.protobuf.ByteString getFamilyName() {
return familyName_;
}
/**
* required bytes family_name = 1;
*/
public Builder setFamilyName(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
familyName_ = value;
onChanged();
return this;
}
/**
* required bytes family_name = 1;
*/
public Builder clearFamilyName() {
bitField0_ = (bitField0_ & ~0x00000001);
familyName_ = getDefaultInstance().getFamilyName();
onChanged();
return this;
}
// required uint64 sequence_id = 2;
private long sequenceId_ ;
/**
* required uint64 sequence_id = 2;
*/
public boolean hasSequenceId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required uint64 sequence_id = 2;
*/
public long getSequenceId() {
return sequenceId_;
}
/**
* required uint64 sequence_id = 2;
*/
public Builder setSequenceId(long value) {
bitField0_ |= 0x00000002;
sequenceId_ = value;
onChanged();
return this;
}
/**
* required uint64 sequence_id = 2;
*/
public Builder clearSequenceId() {
bitField0_ = (bitField0_ & ~0x00000002);
sequenceId_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:hbase.pb.StoreSequenceId)
}
static {
defaultInstance = new StoreSequenceId(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hbase.pb.StoreSequenceId)
}
public interface RegionStoreSequenceIdsOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required uint64 last_flushed_sequence_id = 1;
/**
* required uint64 last_flushed_sequence_id = 1;
*/
boolean hasLastFlushedSequenceId();
/**
* required uint64 last_flushed_sequence_id = 1;
*/
long getLastFlushedSequenceId();
// repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
java.util.List
getStoreSequenceIdList();
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId getStoreSequenceId(int index);
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
int getStoreSequenceIdCount();
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder>
getStoreSequenceIdOrBuilderList();
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder getStoreSequenceIdOrBuilder(
int index);
}
/**
* Protobuf type {@code hbase.pb.RegionStoreSequenceIds}
*
*
**
* contains a sequence id of a region which should be the minimum of its store sequence ids and
* list of sequence ids of the region's stores
*
*/
@javax.annotation.Generated("proto") public static final class RegionStoreSequenceIds extends
com.google.protobuf.GeneratedMessage
implements RegionStoreSequenceIdsOrBuilder {
// Use RegionStoreSequenceIds.newBuilder() to construct.
private RegionStoreSequenceIds(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private RegionStoreSequenceIds(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final RegionStoreSequenceIds defaultInstance;
public static RegionStoreSequenceIds getDefaultInstance() {
return defaultInstance;
}
public RegionStoreSequenceIds getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RegionStoreSequenceIds(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
lastFlushedSequenceId_ = input.readUInt64();
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
storeSequenceId_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
storeSequenceId_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
storeSequenceId_ = java.util.Collections.unmodifiableList(storeSequenceId_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionStoreSequenceIds_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionStoreSequenceIds_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public RegionStoreSequenceIds parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RegionStoreSequenceIds(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required uint64 last_flushed_sequence_id = 1;
public static final int LAST_FLUSHED_SEQUENCE_ID_FIELD_NUMBER = 1;
private long lastFlushedSequenceId_;
/**
* required uint64 last_flushed_sequence_id = 1;
*/
public boolean hasLastFlushedSequenceId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required uint64 last_flushed_sequence_id = 1;
*/
public long getLastFlushedSequenceId() {
return lastFlushedSequenceId_;
}
// repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
public static final int STORE_SEQUENCE_ID_FIELD_NUMBER = 2;
private java.util.List storeSequenceId_;
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public java.util.List getStoreSequenceIdList() {
return storeSequenceId_;
}
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder>
getStoreSequenceIdOrBuilderList() {
return storeSequenceId_;
}
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public int getStoreSequenceIdCount() {
return storeSequenceId_.size();
}
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId getStoreSequenceId(int index) {
return storeSequenceId_.get(index);
}
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder getStoreSequenceIdOrBuilder(
int index) {
return storeSequenceId_.get(index);
}
private void initFields() {
lastFlushedSequenceId_ = 0L;
storeSequenceId_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasLastFlushedSequenceId()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getStoreSequenceIdCount(); i++) {
if (!getStoreSequenceId(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.writeUInt64(1, lastFlushedSequenceId_);
}
for (int i = 0; i < storeSequenceId_.size(); i++) {
output.writeMessage(2, storeSequenceId_.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
.computeUInt64Size(1, lastFlushedSequenceId_);
}
for (int i = 0; i < storeSequenceId_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, storeSequenceId_.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.ClusterStatusProtos.RegionStoreSequenceIds)) {
return super.equals(obj);
}
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds other = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds) obj;
boolean result = true;
result = result && (hasLastFlushedSequenceId() == other.hasLastFlushedSequenceId());
if (hasLastFlushedSequenceId()) {
result = result && (getLastFlushedSequenceId()
== other.getLastFlushedSequenceId());
}
result = result && getStoreSequenceIdList()
.equals(other.getStoreSequenceIdList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasLastFlushedSequenceId()) {
hash = (37 * hash) + LAST_FLUSHED_SEQUENCE_ID_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getLastFlushedSequenceId());
}
if (getStoreSequenceIdCount() > 0) {
hash = (37 * hash) + STORE_SEQUENCE_ID_FIELD_NUMBER;
hash = (53 * hash) + getStoreSequenceIdList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hbase.pb.RegionStoreSequenceIds}
*
*
**
* contains a sequence id of a region which should be the minimum of its store sequence ids and
* list of sequence ids of the region's stores
*
*/
@javax.annotation.Generated("proto") public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIdsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionStoreSequenceIds_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionStoreSequenceIds_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds.Builder.class);
}
// Construct using org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getStoreSequenceIdFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
lastFlushedSequenceId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
if (storeSequenceIdBuilder_ == null) {
storeSequenceId_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
storeSequenceIdBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionStoreSequenceIds_descriptor;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds getDefaultInstanceForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds.getDefaultInstance();
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds build() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds buildPartial() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds result = new org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.lastFlushedSequenceId_ = lastFlushedSequenceId_;
if (storeSequenceIdBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
storeSequenceId_ = java.util.Collections.unmodifiableList(storeSequenceId_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.storeSequenceId_ = storeSequenceId_;
} else {
result.storeSequenceId_ = storeSequenceIdBuilder_.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.ClusterStatusProtos.RegionStoreSequenceIds) {
return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds other) {
if (other == org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds.getDefaultInstance()) return this;
if (other.hasLastFlushedSequenceId()) {
setLastFlushedSequenceId(other.getLastFlushedSequenceId());
}
if (storeSequenceIdBuilder_ == null) {
if (!other.storeSequenceId_.isEmpty()) {
if (storeSequenceId_.isEmpty()) {
storeSequenceId_ = other.storeSequenceId_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureStoreSequenceIdIsMutable();
storeSequenceId_.addAll(other.storeSequenceId_);
}
onChanged();
}
} else {
if (!other.storeSequenceId_.isEmpty()) {
if (storeSequenceIdBuilder_.isEmpty()) {
storeSequenceIdBuilder_.dispose();
storeSequenceIdBuilder_ = null;
storeSequenceId_ = other.storeSequenceId_;
bitField0_ = (bitField0_ & ~0x00000002);
storeSequenceIdBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getStoreSequenceIdFieldBuilder() : null;
} else {
storeSequenceIdBuilder_.addAllMessages(other.storeSequenceId_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasLastFlushedSequenceId()) {
return false;
}
for (int i = 0; i < getStoreSequenceIdCount(); i++) {
if (!getStoreSequenceId(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required uint64 last_flushed_sequence_id = 1;
private long lastFlushedSequenceId_ ;
/**
* required uint64 last_flushed_sequence_id = 1;
*/
public boolean hasLastFlushedSequenceId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required uint64 last_flushed_sequence_id = 1;
*/
public long getLastFlushedSequenceId() {
return lastFlushedSequenceId_;
}
/**
* required uint64 last_flushed_sequence_id = 1;
*/
public Builder setLastFlushedSequenceId(long value) {
bitField0_ |= 0x00000001;
lastFlushedSequenceId_ = value;
onChanged();
return this;
}
/**
* required uint64 last_flushed_sequence_id = 1;
*/
public Builder clearLastFlushedSequenceId() {
bitField0_ = (bitField0_ & ~0x00000001);
lastFlushedSequenceId_ = 0L;
onChanged();
return this;
}
// repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
private java.util.List storeSequenceId_ =
java.util.Collections.emptyList();
private void ensureStoreSequenceIdIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
storeSequenceId_ = new java.util.ArrayList(storeSequenceId_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder> storeSequenceIdBuilder_;
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public java.util.List getStoreSequenceIdList() {
if (storeSequenceIdBuilder_ == null) {
return java.util.Collections.unmodifiableList(storeSequenceId_);
} else {
return storeSequenceIdBuilder_.getMessageList();
}
}
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public int getStoreSequenceIdCount() {
if (storeSequenceIdBuilder_ == null) {
return storeSequenceId_.size();
} else {
return storeSequenceIdBuilder_.getCount();
}
}
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId getStoreSequenceId(int index) {
if (storeSequenceIdBuilder_ == null) {
return storeSequenceId_.get(index);
} else {
return storeSequenceIdBuilder_.getMessage(index);
}
}
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public Builder setStoreSequenceId(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId value) {
if (storeSequenceIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStoreSequenceIdIsMutable();
storeSequenceId_.set(index, value);
onChanged();
} else {
storeSequenceIdBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public Builder setStoreSequenceId(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
if (storeSequenceIdBuilder_ == null) {
ensureStoreSequenceIdIsMutable();
storeSequenceId_.set(index, builderForValue.build());
onChanged();
} else {
storeSequenceIdBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public Builder addStoreSequenceId(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId value) {
if (storeSequenceIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStoreSequenceIdIsMutable();
storeSequenceId_.add(value);
onChanged();
} else {
storeSequenceIdBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public Builder addStoreSequenceId(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId value) {
if (storeSequenceIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStoreSequenceIdIsMutable();
storeSequenceId_.add(index, value);
onChanged();
} else {
storeSequenceIdBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public Builder addStoreSequenceId(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
if (storeSequenceIdBuilder_ == null) {
ensureStoreSequenceIdIsMutable();
storeSequenceId_.add(builderForValue.build());
onChanged();
} else {
storeSequenceIdBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public Builder addStoreSequenceId(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
if (storeSequenceIdBuilder_ == null) {
ensureStoreSequenceIdIsMutable();
storeSequenceId_.add(index, builderForValue.build());
onChanged();
} else {
storeSequenceIdBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public Builder addAllStoreSequenceId(
java.lang.Iterable extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId> values) {
if (storeSequenceIdBuilder_ == null) {
ensureStoreSequenceIdIsMutable();
super.addAll(values, storeSequenceId_);
onChanged();
} else {
storeSequenceIdBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public Builder clearStoreSequenceId() {
if (storeSequenceIdBuilder_ == null) {
storeSequenceId_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
storeSequenceIdBuilder_.clear();
}
return this;
}
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public Builder removeStoreSequenceId(int index) {
if (storeSequenceIdBuilder_ == null) {
ensureStoreSequenceIdIsMutable();
storeSequenceId_.remove(index);
onChanged();
} else {
storeSequenceIdBuilder_.remove(index);
}
return this;
}
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder getStoreSequenceIdBuilder(
int index) {
return getStoreSequenceIdFieldBuilder().getBuilder(index);
}
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder getStoreSequenceIdOrBuilder(
int index) {
if (storeSequenceIdBuilder_ == null) {
return storeSequenceId_.get(index); } else {
return storeSequenceIdBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder>
getStoreSequenceIdOrBuilderList() {
if (storeSequenceIdBuilder_ != null) {
return storeSequenceIdBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(storeSequenceId_);
}
}
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder addStoreSequenceIdBuilder() {
return getStoreSequenceIdFieldBuilder().addBuilder(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.getDefaultInstance());
}
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder addStoreSequenceIdBuilder(
int index) {
return getStoreSequenceIdFieldBuilder().addBuilder(
index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.getDefaultInstance());
}
/**
* repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;
*/
public java.util.List
getStoreSequenceIdBuilderList() {
return getStoreSequenceIdFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder>
getStoreSequenceIdFieldBuilder() {
if (storeSequenceIdBuilder_ == null) {
storeSequenceIdBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder>(
storeSequenceId_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
storeSequenceId_ = null;
}
return storeSequenceIdBuilder_;
}
// @@protoc_insertion_point(builder_scope:hbase.pb.RegionStoreSequenceIds)
}
static {
defaultInstance = new RegionStoreSequenceIds(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hbase.pb.RegionStoreSequenceIds)
}
public interface RegionLoadOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required .hbase.pb.RegionSpecifier region_specifier = 1;
/**
* required .hbase.pb.RegionSpecifier region_specifier = 1;
*
*
** the region specifier
*
*/
boolean hasRegionSpecifier();
/**
* required .hbase.pb.RegionSpecifier region_specifier = 1;
*
*
** the region specifier
*
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegionSpecifier();
/**
* required .hbase.pb.RegionSpecifier region_specifier = 1;
*
*
** the region specifier
*
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionSpecifierOrBuilder();
// optional uint32 stores = 2;
/**
* optional uint32 stores = 2;
*
*
** the number of stores for the region
*
*/
boolean hasStores();
/**
* optional uint32 stores = 2;
*
*
** the number of stores for the region
*
*/
int getStores();
// optional uint32 storefiles = 3;
/**
* optional uint32 storefiles = 3;
*
*
** the number of storefiles for the region
*
*/
boolean hasStorefiles();
/**
* optional uint32 storefiles = 3;
*
*
** the number of storefiles for the region
*
*/
int getStorefiles();
// optional uint32 store_uncompressed_size_MB = 4;
/**
* optional uint32 store_uncompressed_size_MB = 4;
*
*
** the total size of the store files for the region, uncompressed, in MB
*
*/
boolean hasStoreUncompressedSizeMB();
/**
* optional uint32 store_uncompressed_size_MB = 4;
*
*
** the total size of the store files for the region, uncompressed, in MB
*
*/
int getStoreUncompressedSizeMB();
// optional uint32 storefile_size_MB = 5;
/**
* optional uint32 storefile_size_MB = 5;
*
*
** the current total size of the store files for the region, in MB
*
*/
boolean hasStorefileSizeMB();
/**
* optional uint32 storefile_size_MB = 5;
*
*
** the current total size of the store files for the region, in MB
*
*/
int getStorefileSizeMB();
// optional uint32 memstore_size_MB = 6;
/**
* optional uint32 memstore_size_MB = 6;
*
*
** the current size of the memstore for the region, in MB
*
*/
boolean hasMemstoreSizeMB();
/**
* optional uint32 memstore_size_MB = 6;
*
*
** the current size of the memstore for the region, in MB
*
*/
int getMemstoreSizeMB();
// optional uint64 storefile_index_size_KB = 7;
/**
* optional uint64 storefile_index_size_KB = 7;
*
*
**
* The current total size of root-level store file indexes for the region,
* in KB. The same as {@link #rootIndexSizeKB}.
*
*/
boolean hasStorefileIndexSizeKB();
/**
* optional uint64 storefile_index_size_KB = 7;
*
*
**
* The current total size of root-level store file indexes for the region,
* in KB. The same as {@link #rootIndexSizeKB}.
*
*/
long getStorefileIndexSizeKB();
// optional uint64 read_requests_count = 8;
/**
* optional uint64 read_requests_count = 8;
*
*
** the current total read requests made to region
*
*/
boolean hasReadRequestsCount();
/**
* optional uint64 read_requests_count = 8;
*
*
** the current total read requests made to region
*
*/
long getReadRequestsCount();
// optional uint64 write_requests_count = 9;
/**
* optional uint64 write_requests_count = 9;
*
*
** the current total write requests made to region
*
*/
boolean hasWriteRequestsCount();
/**
* optional uint64 write_requests_count = 9;
*
*
** the current total write requests made to region
*
*/
long getWriteRequestsCount();
// optional uint64 total_compacting_KVs = 10;
/**
* optional uint64 total_compacting_KVs = 10;
*
*
** the total compacting key values in currently running compaction
*
*/
boolean hasTotalCompactingKVs();
/**
* optional uint64 total_compacting_KVs = 10;
*
*
** the total compacting key values in currently running compaction
*
*/
long getTotalCompactingKVs();
// optional uint64 current_compacted_KVs = 11;
/**
* optional uint64 current_compacted_KVs = 11;
*
*
** the completed count of key values in currently running compaction
*
*/
boolean hasCurrentCompactedKVs();
/**
* optional uint64 current_compacted_KVs = 11;
*
*
** the completed count of key values in currently running compaction
*
*/
long getCurrentCompactedKVs();
// optional uint32 root_index_size_KB = 12;
/**
* optional uint32 root_index_size_KB = 12;
*
*
** The current total size of root-level indexes for the region, in KB.
*
*/
boolean hasRootIndexSizeKB();
/**
* optional uint32 root_index_size_KB = 12;
*
*
** The current total size of root-level indexes for the region, in KB.
*
*/
int getRootIndexSizeKB();
// optional uint32 total_static_index_size_KB = 13;
/**
* optional uint32 total_static_index_size_KB = 13;
*
*
** The total size of all index blocks, not just the root level, in KB.
*
*/
boolean hasTotalStaticIndexSizeKB();
/**
* optional uint32 total_static_index_size_KB = 13;
*
*
** The total size of all index blocks, not just the root level, in KB.
*
*/
int getTotalStaticIndexSizeKB();
// optional uint32 total_static_bloom_size_KB = 14;
/**
* optional uint32 total_static_bloom_size_KB = 14;
*
*
**
* The total size of all Bloom filter blocks, not just loaded into the
* block cache, in KB.
*
*/
boolean hasTotalStaticBloomSizeKB();
/**
* optional uint32 total_static_bloom_size_KB = 14;
*
*
**
* The total size of all Bloom filter blocks, not just loaded into the
* block cache, in KB.
*
*/
int getTotalStaticBloomSizeKB();
// optional uint64 complete_sequence_id = 15;
/**
* optional uint64 complete_sequence_id = 15;
*
*
** the most recent sequence Id from cache flush
*
*/
boolean hasCompleteSequenceId();
/**
* optional uint64 complete_sequence_id = 15;
*
*
** the most recent sequence Id from cache flush
*
*/
long getCompleteSequenceId();
// optional float data_locality = 16;
/**
* optional float data_locality = 16;
*
*
** The current data locality for region in the regionserver
*
*/
boolean hasDataLocality();
/**
* optional float data_locality = 16;
*
*
** The current data locality for region in the regionserver
*
*/
float getDataLocality();
// optional uint64 last_major_compaction_ts = 17 [default = 0];
/**
* optional uint64 last_major_compaction_ts = 17 [default = 0];
*/
boolean hasLastMajorCompactionTs();
/**
* optional uint64 last_major_compaction_ts = 17 [default = 0];
*/
long getLastMajorCompactionTs();
// repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
java.util.List
getStoreCompleteSequenceIdList();
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId getStoreCompleteSequenceId(int index);
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
int getStoreCompleteSequenceIdCount();
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder>
getStoreCompleteSequenceIdOrBuilderList();
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder getStoreCompleteSequenceIdOrBuilder(
int index);
// optional uint64 filtered_read_requests_count = 19;
/**
* optional uint64 filtered_read_requests_count = 19;
*
*
** the current total filtered read requests made to region
*
*/
boolean hasFilteredReadRequestsCount();
/**
* optional uint64 filtered_read_requests_count = 19;
*
*
** the current total filtered read requests made to region
*
*/
long getFilteredReadRequestsCount();
// optional int32 store_ref_count = 21 [default = 0];
/**
* optional int32 store_ref_count = 21 [default = 0];
*
*
** the number of references active on the store
*
*/
boolean hasStoreRefCount();
/**
* optional int32 store_ref_count = 21 [default = 0];
*
*
** the number of references active on the store
*
*/
int getStoreRefCount();
// optional int32 max_compacted_store_file_ref_count = 22 [default = 0];
/**
* optional int32 max_compacted_store_file_ref_count = 22 [default = 0];
*
*
**
* The max number of references active on single store file among all compacted store files
* that belong to given region
*
*/
boolean hasMaxCompactedStoreFileRefCount();
/**
* optional int32 max_compacted_store_file_ref_count = 22 [default = 0];
*
*
**
* The max number of references active on single store file among all compacted store files
* that belong to given region
*
*/
int getMaxCompactedStoreFileRefCount();
}
/**
* Protobuf type {@code hbase.pb.RegionLoad}
*/
@javax.annotation.Generated("proto") public static final class RegionLoad extends
com.google.protobuf.GeneratedMessage
implements RegionLoadOrBuilder {
// Use RegionLoad.newBuilder() to construct.
private RegionLoad(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private RegionLoad(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final RegionLoad defaultInstance;
public static RegionLoad getDefaultInstance() {
return defaultInstance;
}
public RegionLoad getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RegionLoad(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = regionSpecifier_.toBuilder();
}
regionSpecifier_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(regionSpecifier_);
regionSpecifier_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
bitField0_ |= 0x00000002;
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;
storefileIndexSizeKB_ = input.readUInt64();
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 120: {
bitField0_ |= 0x00004000;
completeSequenceId_ = input.readUInt64();
break;
}
case 133: {
bitField0_ |= 0x00008000;
dataLocality_ = input.readFloat();
break;
}
case 136: {
bitField0_ |= 0x00010000;
lastMajorCompactionTs_ = input.readUInt64();
break;
}
case 146: {
if (!((mutable_bitField0_ & 0x00020000) == 0x00020000)) {
storeCompleteSequenceId_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00020000;
}
storeCompleteSequenceId_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.PARSER, extensionRegistry));
break;
}
case 152: {
bitField0_ |= 0x00020000;
filteredReadRequestsCount_ = input.readUInt64();
break;
}
case 168: {
bitField0_ |= 0x00040000;
storeRefCount_ = input.readInt32();
break;
}
case 176: {
bitField0_ |= 0x00080000;
maxCompactedStoreFileRefCount_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00020000) == 0x00020000)) {
storeCompleteSequenceId_ = java.util.Collections.unmodifiableList(storeCompleteSequenceId_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionLoad_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionLoad_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public RegionLoad parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RegionLoad(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required .hbase.pb.RegionSpecifier region_specifier = 1;
public static final int REGION_SPECIFIER_FIELD_NUMBER = 1;
private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier regionSpecifier_;
/**
* required .hbase.pb.RegionSpecifier region_specifier = 1;
*
*
** the region specifier
*
*/
public boolean hasRegionSpecifier() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .hbase.pb.RegionSpecifier region_specifier = 1;
*
*
** the region specifier
*
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegionSpecifier() {
return regionSpecifier_;
}
/**
* required .hbase.pb.RegionSpecifier region_specifier = 1;
*
*
** the region specifier
*
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionSpecifierOrBuilder() {
return regionSpecifier_;
}
// optional uint32 stores = 2;
public static final int STORES_FIELD_NUMBER = 2;
private int stores_;
/**
* optional uint32 stores = 2;
*
*
** the number of stores for the region
*
*/
public boolean hasStores() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 stores = 2;
*
*
** the number of stores for the region
*
*/
public int getStores() {
return stores_;
}
// optional uint32 storefiles = 3;
public static final int STOREFILES_FIELD_NUMBER = 3;
private int storefiles_;
/**
* optional uint32 storefiles = 3;
*
*
** the number of storefiles for the region
*
*/
public boolean hasStorefiles() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 storefiles = 3;
*
*
** the number of storefiles for the region
*
*/
public int getStorefiles() {
return storefiles_;
}
// optional uint32 store_uncompressed_size_MB = 4;
public static final int STORE_UNCOMPRESSED_SIZE_MB_FIELD_NUMBER = 4;
private int storeUncompressedSizeMB_;
/**
* optional uint32 store_uncompressed_size_MB = 4;
*
*
** the total size of the store files for the region, uncompressed, in MB
*
*/
public boolean hasStoreUncompressedSizeMB() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 store_uncompressed_size_MB = 4;
*
*
** the total size of the store files for the region, uncompressed, in MB
*
*/
public int getStoreUncompressedSizeMB() {
return storeUncompressedSizeMB_;
}
// optional uint32 storefile_size_MB = 5;
public static final int STOREFILE_SIZE_MB_FIELD_NUMBER = 5;
private int storefileSizeMB_;
/**
* optional uint32 storefile_size_MB = 5;
*
*
** the current total size of the store files for the region, in MB
*
*/
public boolean hasStorefileSizeMB() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint32 storefile_size_MB = 5;
*
*
** the current total size of the store files for the region, in MB
*
*/
public int getStorefileSizeMB() {
return storefileSizeMB_;
}
// optional uint32 memstore_size_MB = 6;
public static final int MEMSTORE_SIZE_MB_FIELD_NUMBER = 6;
private int memstoreSizeMB_;
/**
* optional uint32 memstore_size_MB = 6;
*
*
** the current size of the memstore for the region, in MB
*
*/
public boolean hasMemstoreSizeMB() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional uint32 memstore_size_MB = 6;
*
*
** the current size of the memstore for the region, in MB
*
*/
public int getMemstoreSizeMB() {
return memstoreSizeMB_;
}
// optional uint64 storefile_index_size_KB = 7;
public static final int STOREFILE_INDEX_SIZE_KB_FIELD_NUMBER = 7;
private long storefileIndexSizeKB_;
/**
* optional uint64 storefile_index_size_KB = 7;
*
*
**
* The current total size of root-level store file indexes for the region,
* in KB. The same as {@link #rootIndexSizeKB}.
*
*/
public boolean hasStorefileIndexSizeKB() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional uint64 storefile_index_size_KB = 7;
*
*
**
* The current total size of root-level store file indexes for the region,
* in KB. The same as {@link #rootIndexSizeKB}.
*
*/
public long getStorefileIndexSizeKB() {
return storefileIndexSizeKB_;
}
// optional uint64 read_requests_count = 8;
public static final int READ_REQUESTS_COUNT_FIELD_NUMBER = 8;
private long readRequestsCount_;
/**
* optional uint64 read_requests_count = 8;
*
*
** the current total read requests made to region
*
*/
public boolean hasReadRequestsCount() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional uint64 read_requests_count = 8;
*
*
** the current total read requests made to region
*
*/
public long getReadRequestsCount() {
return readRequestsCount_;
}
// optional uint64 write_requests_count = 9;
public static final int WRITE_REQUESTS_COUNT_FIELD_NUMBER = 9;
private long writeRequestsCount_;
/**
* optional uint64 write_requests_count = 9;
*
*
** the current total write requests made to region
*
*/
public boolean hasWriteRequestsCount() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional uint64 write_requests_count = 9;
*
*
** the current total write requests made to region
*
*/
public long getWriteRequestsCount() {
return writeRequestsCount_;
}
// optional uint64 total_compacting_KVs = 10;
public static final int TOTAL_COMPACTING_KVS_FIELD_NUMBER = 10;
private long totalCompactingKVs_;
/**
* optional uint64 total_compacting_KVs = 10;
*
*
** the total compacting key values in currently running compaction
*
*/
public boolean hasTotalCompactingKVs() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional uint64 total_compacting_KVs = 10;
*
*
** the total compacting key values in currently running compaction
*
*/
public long getTotalCompactingKVs() {
return totalCompactingKVs_;
}
// optional uint64 current_compacted_KVs = 11;
public static final int CURRENT_COMPACTED_KVS_FIELD_NUMBER = 11;
private long currentCompactedKVs_;
/**
* optional uint64 current_compacted_KVs = 11;
*
*
** the completed count of key values in currently running compaction
*
*/
public boolean hasCurrentCompactedKVs() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional uint64 current_compacted_KVs = 11;
*
*
** the completed count of key values in currently running compaction
*
*/
public long getCurrentCompactedKVs() {
return currentCompactedKVs_;
}
// optional uint32 root_index_size_KB = 12;
public static final int ROOT_INDEX_SIZE_KB_FIELD_NUMBER = 12;
private int rootIndexSizeKB_;
/**
* optional uint32 root_index_size_KB = 12;
*
*
** The current total size of root-level indexes for the region, in KB.
*
*/
public boolean hasRootIndexSizeKB() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional uint32 root_index_size_KB = 12;
*
*
** The current total size of root-level indexes for the region, in KB.
*
*/
public int getRootIndexSizeKB() {
return rootIndexSizeKB_;
}
// optional uint32 total_static_index_size_KB = 13;
public static final int TOTAL_STATIC_INDEX_SIZE_KB_FIELD_NUMBER = 13;
private int totalStaticIndexSizeKB_;
/**
* optional uint32 total_static_index_size_KB = 13;
*
*
** The total size of all index blocks, not just the root level, in KB.
*
*/
public boolean hasTotalStaticIndexSizeKB() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* optional uint32 total_static_index_size_KB = 13;
*
*
** The total size of all index blocks, not just the root level, in KB.
*
*/
public int getTotalStaticIndexSizeKB() {
return totalStaticIndexSizeKB_;
}
// optional uint32 total_static_bloom_size_KB = 14;
public static final int TOTAL_STATIC_BLOOM_SIZE_KB_FIELD_NUMBER = 14;
private int totalStaticBloomSizeKB_;
/**
* optional uint32 total_static_bloom_size_KB = 14;
*
*
**
* The total size of all Bloom filter blocks, not just loaded into the
* block cache, in KB.
*
*/
public boolean hasTotalStaticBloomSizeKB() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* optional uint32 total_static_bloom_size_KB = 14;
*
*
**
* The total size of all Bloom filter blocks, not just loaded into the
* block cache, in KB.
*
*/
public int getTotalStaticBloomSizeKB() {
return totalStaticBloomSizeKB_;
}
// optional uint64 complete_sequence_id = 15;
public static final int COMPLETE_SEQUENCE_ID_FIELD_NUMBER = 15;
private long completeSequenceId_;
/**
* optional uint64 complete_sequence_id = 15;
*
*
** the most recent sequence Id from cache flush
*
*/
public boolean hasCompleteSequenceId() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
/**
* optional uint64 complete_sequence_id = 15;
*
*
** the most recent sequence Id from cache flush
*
*/
public long getCompleteSequenceId() {
return completeSequenceId_;
}
// optional float data_locality = 16;
public static final int DATA_LOCALITY_FIELD_NUMBER = 16;
private float dataLocality_;
/**
* optional float data_locality = 16;
*
*
** The current data locality for region in the regionserver
*
*/
public boolean hasDataLocality() {
return ((bitField0_ & 0x00008000) == 0x00008000);
}
/**
* optional float data_locality = 16;
*
*
** The current data locality for region in the regionserver
*
*/
public float getDataLocality() {
return dataLocality_;
}
// optional uint64 last_major_compaction_ts = 17 [default = 0];
public static final int LAST_MAJOR_COMPACTION_TS_FIELD_NUMBER = 17;
private long lastMajorCompactionTs_;
/**
* optional uint64 last_major_compaction_ts = 17 [default = 0];
*/
public boolean hasLastMajorCompactionTs() {
return ((bitField0_ & 0x00010000) == 0x00010000);
}
/**
* optional uint64 last_major_compaction_ts = 17 [default = 0];
*/
public long getLastMajorCompactionTs() {
return lastMajorCompactionTs_;
}
// repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
public static final int STORE_COMPLETE_SEQUENCE_ID_FIELD_NUMBER = 18;
private java.util.List storeCompleteSequenceId_;
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
public java.util.List getStoreCompleteSequenceIdList() {
return storeCompleteSequenceId_;
}
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder>
getStoreCompleteSequenceIdOrBuilderList() {
return storeCompleteSequenceId_;
}
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
public int getStoreCompleteSequenceIdCount() {
return storeCompleteSequenceId_.size();
}
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId getStoreCompleteSequenceId(int index) {
return storeCompleteSequenceId_.get(index);
}
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder getStoreCompleteSequenceIdOrBuilder(
int index) {
return storeCompleteSequenceId_.get(index);
}
// optional uint64 filtered_read_requests_count = 19;
public static final int FILTERED_READ_REQUESTS_COUNT_FIELD_NUMBER = 19;
private long filteredReadRequestsCount_;
/**
* optional uint64 filtered_read_requests_count = 19;
*
*
** the current total filtered read requests made to region
*
*/
public boolean hasFilteredReadRequestsCount() {
return ((bitField0_ & 0x00020000) == 0x00020000);
}
/**
* optional uint64 filtered_read_requests_count = 19;
*
*
** the current total filtered read requests made to region
*
*/
public long getFilteredReadRequestsCount() {
return filteredReadRequestsCount_;
}
// optional int32 store_ref_count = 21 [default = 0];
public static final int STORE_REF_COUNT_FIELD_NUMBER = 21;
private int storeRefCount_;
/**
* optional int32 store_ref_count = 21 [default = 0];
*
*
** the number of references active on the store
*
*/
public boolean hasStoreRefCount() {
return ((bitField0_ & 0x00040000) == 0x00040000);
}
/**
* optional int32 store_ref_count = 21 [default = 0];
*
*
** the number of references active on the store
*
*/
public int getStoreRefCount() {
return storeRefCount_;
}
// optional int32 max_compacted_store_file_ref_count = 22 [default = 0];
public static final int MAX_COMPACTED_STORE_FILE_REF_COUNT_FIELD_NUMBER = 22;
private int maxCompactedStoreFileRefCount_;
/**
* optional int32 max_compacted_store_file_ref_count = 22 [default = 0];
*
*
**
* The max number of references active on single store file among all compacted store files
* that belong to given region
*
*/
public boolean hasMaxCompactedStoreFileRefCount() {
return ((bitField0_ & 0x00080000) == 0x00080000);
}
/**
* optional int32 max_compacted_store_file_ref_count = 22 [default = 0];
*
*
**
* The max number of references active on single store file among all compacted store files
* that belong to given region
*
*/
public int getMaxCompactedStoreFileRefCount() {
return maxCompactedStoreFileRefCount_;
}
private void initFields() {
regionSpecifier_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance();
stores_ = 0;
storefiles_ = 0;
storeUncompressedSizeMB_ = 0;
storefileSizeMB_ = 0;
memstoreSizeMB_ = 0;
storefileIndexSizeKB_ = 0L;
readRequestsCount_ = 0L;
writeRequestsCount_ = 0L;
totalCompactingKVs_ = 0L;
currentCompactedKVs_ = 0L;
rootIndexSizeKB_ = 0;
totalStaticIndexSizeKB_ = 0;
totalStaticBloomSizeKB_ = 0;
completeSequenceId_ = 0L;
dataLocality_ = 0F;
lastMajorCompactionTs_ = 0L;
storeCompleteSequenceId_ = java.util.Collections.emptyList();
filteredReadRequestsCount_ = 0L;
storeRefCount_ = 0;
maxCompactedStoreFileRefCount_ = 0;
}
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 < getStoreCompleteSequenceIdCount(); i++) {
if (!getStoreCompleteSequenceId(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.writeMessage(1, regionSpecifier_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
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.writeUInt64(7, storefileIndexSizeKB_);
}
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_);
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
output.writeUInt64(15, completeSequenceId_);
}
if (((bitField0_ & 0x00008000) == 0x00008000)) {
output.writeFloat(16, dataLocality_);
}
if (((bitField0_ & 0x00010000) == 0x00010000)) {
output.writeUInt64(17, lastMajorCompactionTs_);
}
for (int i = 0; i < storeCompleteSequenceId_.size(); i++) {
output.writeMessage(18, storeCompleteSequenceId_.get(i));
}
if (((bitField0_ & 0x00020000) == 0x00020000)) {
output.writeUInt64(19, filteredReadRequestsCount_);
}
if (((bitField0_ & 0x00040000) == 0x00040000)) {
output.writeInt32(21, storeRefCount_);
}
if (((bitField0_ & 0x00080000) == 0x00080000)) {
output.writeInt32(22, maxCompactedStoreFileRefCount_);
}
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
.computeMessageSize(1, regionSpecifier_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.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
.computeUInt64Size(7, storefileIndexSizeKB_);
}
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_);
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(15, completeSequenceId_);
}
if (((bitField0_ & 0x00008000) == 0x00008000)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(16, dataLocality_);
}
if (((bitField0_ & 0x00010000) == 0x00010000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(17, lastMajorCompactionTs_);
}
for (int i = 0; i < storeCompleteSequenceId_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, storeCompleteSequenceId_.get(i));
}
if (((bitField0_ & 0x00020000) == 0x00020000)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(19, filteredReadRequestsCount_);
}
if (((bitField0_ & 0x00040000) == 0x00040000)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(21, storeRefCount_);
}
if (((bitField0_ & 0x00080000) == 0x00080000)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(22, maxCompactedStoreFileRefCount_);
}
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.ClusterStatusProtos.RegionLoad)) {
return super.equals(obj);
}
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad other = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad) obj;
boolean result = true;
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 && (hasStorefileIndexSizeKB() == other.hasStorefileIndexSizeKB());
if (hasStorefileIndexSizeKB()) {
result = result && (getStorefileIndexSizeKB()
== other.getStorefileIndexSizeKB());
}
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 && (hasCompleteSequenceId() == other.hasCompleteSequenceId());
if (hasCompleteSequenceId()) {
result = result && (getCompleteSequenceId()
== other.getCompleteSequenceId());
}
result = result && (hasDataLocality() == other.hasDataLocality());
if (hasDataLocality()) {
result = result && (Float.floatToIntBits(getDataLocality()) == Float.floatToIntBits(other.getDataLocality()));
}
result = result && (hasLastMajorCompactionTs() == other.hasLastMajorCompactionTs());
if (hasLastMajorCompactionTs()) {
result = result && (getLastMajorCompactionTs()
== other.getLastMajorCompactionTs());
}
result = result && getStoreCompleteSequenceIdList()
.equals(other.getStoreCompleteSequenceIdList());
result = result && (hasFilteredReadRequestsCount() == other.hasFilteredReadRequestsCount());
if (hasFilteredReadRequestsCount()) {
result = result && (getFilteredReadRequestsCount()
== other.getFilteredReadRequestsCount());
}
result = result && (hasStoreRefCount() == other.hasStoreRefCount());
if (hasStoreRefCount()) {
result = result && (getStoreRefCount()
== other.getStoreRefCount());
}
result = result && (hasMaxCompactedStoreFileRefCount() == other.hasMaxCompactedStoreFileRefCount());
if (hasMaxCompactedStoreFileRefCount()) {
result = result && (getMaxCompactedStoreFileRefCount()
== other.getMaxCompactedStoreFileRefCount());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasRegionSpecifier()) {
hash = (37 * hash) + REGION_SPECIFIER_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) + STORE_UNCOMPRESSED_SIZE_MB_FIELD_NUMBER;
hash = (53 * hash) + getStoreUncompressedSizeMB();
}
if (hasStorefileSizeMB()) {
hash = (37 * hash) + STOREFILE_SIZE_MB_FIELD_NUMBER;
hash = (53 * hash) + getStorefileSizeMB();
}
if (hasMemstoreSizeMB()) {
hash = (37 * hash) + MEMSTORE_SIZE_MB_FIELD_NUMBER;
hash = (53 * hash) + getMemstoreSizeMB();
}
if (hasStorefileIndexSizeKB()) {
hash = (37 * hash) + STOREFILE_INDEX_SIZE_KB_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getStorefileIndexSizeKB());
}
if (hasReadRequestsCount()) {
hash = (37 * hash) + READ_REQUESTS_COUNT_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getReadRequestsCount());
}
if (hasWriteRequestsCount()) {
hash = (37 * hash) + WRITE_REQUESTS_COUNT_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getWriteRequestsCount());
}
if (hasTotalCompactingKVs()) {
hash = (37 * hash) + TOTAL_COMPACTING_KVS_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getTotalCompactingKVs());
}
if (hasCurrentCompactedKVs()) {
hash = (37 * hash) + CURRENT_COMPACTED_KVS_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getCurrentCompactedKVs());
}
if (hasRootIndexSizeKB()) {
hash = (37 * hash) + ROOT_INDEX_SIZE_KB_FIELD_NUMBER;
hash = (53 * hash) + getRootIndexSizeKB();
}
if (hasTotalStaticIndexSizeKB()) {
hash = (37 * hash) + TOTAL_STATIC_INDEX_SIZE_KB_FIELD_NUMBER;
hash = (53 * hash) + getTotalStaticIndexSizeKB();
}
if (hasTotalStaticBloomSizeKB()) {
hash = (37 * hash) + TOTAL_STATIC_BLOOM_SIZE_KB_FIELD_NUMBER;
hash = (53 * hash) + getTotalStaticBloomSizeKB();
}
if (hasCompleteSequenceId()) {
hash = (37 * hash) + COMPLETE_SEQUENCE_ID_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getCompleteSequenceId());
}
if (hasDataLocality()) {
hash = (37 * hash) + DATA_LOCALITY_FIELD_NUMBER;
hash = (53 * hash) + Float.floatToIntBits(
getDataLocality());
}
if (hasLastMajorCompactionTs()) {
hash = (37 * hash) + LAST_MAJOR_COMPACTION_TS_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getLastMajorCompactionTs());
}
if (getStoreCompleteSequenceIdCount() > 0) {
hash = (37 * hash) + STORE_COMPLETE_SEQUENCE_ID_FIELD_NUMBER;
hash = (53 * hash) + getStoreCompleteSequenceIdList().hashCode();
}
if (hasFilteredReadRequestsCount()) {
hash = (37 * hash) + FILTERED_READ_REQUESTS_COUNT_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getFilteredReadRequestsCount());
}
if (hasStoreRefCount()) {
hash = (37 * hash) + STORE_REF_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getStoreRefCount();
}
if (hasMaxCompactedStoreFileRefCount()) {
hash = (37 * hash) + MAX_COMPACTED_STORE_FILE_REF_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getMaxCompactedStoreFileRefCount();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hbase.pb.RegionLoad}
*/
@javax.annotation.Generated("proto") public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoadOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionLoad_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionLoad_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.Builder.class);
}
// Construct using org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getRegionSpecifierFieldBuilder();
getStoreCompleteSequenceIdFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (regionSpecifierBuilder_ == null) {
regionSpecifier_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance();
} else {
regionSpecifierBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
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);
storefileIndexSizeKB_ = 0L;
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);
completeSequenceId_ = 0L;
bitField0_ = (bitField0_ & ~0x00004000);
dataLocality_ = 0F;
bitField0_ = (bitField0_ & ~0x00008000);
lastMajorCompactionTs_ = 0L;
bitField0_ = (bitField0_ & ~0x00010000);
if (storeCompleteSequenceIdBuilder_ == null) {
storeCompleteSequenceId_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00020000);
} else {
storeCompleteSequenceIdBuilder_.clear();
}
filteredReadRequestsCount_ = 0L;
bitField0_ = (bitField0_ & ~0x00040000);
storeRefCount_ = 0;
bitField0_ = (bitField0_ & ~0x00080000);
maxCompactedStoreFileRefCount_ = 0;
bitField0_ = (bitField0_ & ~0x00100000);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionLoad_descriptor;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad getDefaultInstanceForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.getDefaultInstance();
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad build() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad buildPartial() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad result = new org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (regionSpecifierBuilder_ == null) {
result.regionSpecifier_ = regionSpecifier_;
} else {
result.regionSpecifier_ = regionSpecifierBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
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.storefileIndexSizeKB_ = storefileIndexSizeKB_;
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 (((from_bitField0_ & 0x00004000) == 0x00004000)) {
to_bitField0_ |= 0x00004000;
}
result.completeSequenceId_ = completeSequenceId_;
if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
to_bitField0_ |= 0x00008000;
}
result.dataLocality_ = dataLocality_;
if (((from_bitField0_ & 0x00010000) == 0x00010000)) {
to_bitField0_ |= 0x00010000;
}
result.lastMajorCompactionTs_ = lastMajorCompactionTs_;
if (storeCompleteSequenceIdBuilder_ == null) {
if (((bitField0_ & 0x00020000) == 0x00020000)) {
storeCompleteSequenceId_ = java.util.Collections.unmodifiableList(storeCompleteSequenceId_);
bitField0_ = (bitField0_ & ~0x00020000);
}
result.storeCompleteSequenceId_ = storeCompleteSequenceId_;
} else {
result.storeCompleteSequenceId_ = storeCompleteSequenceIdBuilder_.build();
}
if (((from_bitField0_ & 0x00040000) == 0x00040000)) {
to_bitField0_ |= 0x00020000;
}
result.filteredReadRequestsCount_ = filteredReadRequestsCount_;
if (((from_bitField0_ & 0x00080000) == 0x00080000)) {
to_bitField0_ |= 0x00040000;
}
result.storeRefCount_ = storeRefCount_;
if (((from_bitField0_ & 0x00100000) == 0x00100000)) {
to_bitField0_ |= 0x00080000;
}
result.maxCompactedStoreFileRefCount_ = maxCompactedStoreFileRefCount_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad) {
return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad)other);
} else {
super.mergeFrom(other);
return this;
}
}
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());
}
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.hasStorefileIndexSizeKB()) {
setStorefileIndexSizeKB(other.getStorefileIndexSizeKB());
}
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 (other.hasCompleteSequenceId()) {
setCompleteSequenceId(other.getCompleteSequenceId());
}
if (other.hasDataLocality()) {
setDataLocality(other.getDataLocality());
}
if (other.hasLastMajorCompactionTs()) {
setLastMajorCompactionTs(other.getLastMajorCompactionTs());
}
if (storeCompleteSequenceIdBuilder_ == null) {
if (!other.storeCompleteSequenceId_.isEmpty()) {
if (storeCompleteSequenceId_.isEmpty()) {
storeCompleteSequenceId_ = other.storeCompleteSequenceId_;
bitField0_ = (bitField0_ & ~0x00020000);
} else {
ensureStoreCompleteSequenceIdIsMutable();
storeCompleteSequenceId_.addAll(other.storeCompleteSequenceId_);
}
onChanged();
}
} else {
if (!other.storeCompleteSequenceId_.isEmpty()) {
if (storeCompleteSequenceIdBuilder_.isEmpty()) {
storeCompleteSequenceIdBuilder_.dispose();
storeCompleteSequenceIdBuilder_ = null;
storeCompleteSequenceId_ = other.storeCompleteSequenceId_;
bitField0_ = (bitField0_ & ~0x00020000);
storeCompleteSequenceIdBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getStoreCompleteSequenceIdFieldBuilder() : null;
} else {
storeCompleteSequenceIdBuilder_.addAllMessages(other.storeCompleteSequenceId_);
}
}
}
if (other.hasFilteredReadRequestsCount()) {
setFilteredReadRequestsCount(other.getFilteredReadRequestsCount());
}
if (other.hasStoreRefCount()) {
setStoreRefCount(other.getStoreRefCount());
}
if (other.hasMaxCompactedStoreFileRefCount()) {
setMaxCompactedStoreFileRefCount(other.getMaxCompactedStoreFileRefCount());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasRegionSpecifier()) {
return false;
}
if (!getRegionSpecifier().isInitialized()) {
return false;
}
for (int i = 0; i < getStoreCompleteSequenceIdCount(); i++) {
if (!getStoreCompleteSequenceId(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required .hbase.pb.RegionSpecifier region_specifier = 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_;
/**
* required .hbase.pb.RegionSpecifier region_specifier = 1;
*
*
** the region specifier
*
*/
public boolean hasRegionSpecifier() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .hbase.pb.RegionSpecifier region_specifier = 1;
*
*
** the region specifier
*
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegionSpecifier() {
if (regionSpecifierBuilder_ == null) {
return regionSpecifier_;
} else {
return regionSpecifierBuilder_.getMessage();
}
}
/**
* required .hbase.pb.RegionSpecifier region_specifier = 1;
*
*
** the region specifier
*
*/
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;
}
/**
* required .hbase.pb.RegionSpecifier region_specifier = 1;
*
*
** the region specifier
*
*/
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;
}
/**
* required .hbase.pb.RegionSpecifier region_specifier = 1;
*
*
** the region specifier
*
*/
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;
}
/**
* required .hbase.pb.RegionSpecifier region_specifier = 1;
*
*
** the region specifier
*
*/
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;
}
/**
* required .hbase.pb.RegionSpecifier region_specifier = 1;
*
*
** the region specifier
*
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder getRegionSpecifierBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getRegionSpecifierFieldBuilder().getBuilder();
}
/**
* required .hbase.pb.RegionSpecifier region_specifier = 1;
*
*
** the region specifier
*
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionSpecifierOrBuilder() {
if (regionSpecifierBuilder_ != null) {
return regionSpecifierBuilder_.getMessageOrBuilder();
} else {
return regionSpecifier_;
}
}
/**
* required .hbase.pb.RegionSpecifier region_specifier = 1;
*
*
** the region specifier
*
*/
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_ ;
/**
* optional uint32 stores = 2;
*
*
** the number of stores for the region
*
*/
public boolean hasStores() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 stores = 2;
*
*
** the number of stores for the region
*
*/
public int getStores() {
return stores_;
}
/**
* optional uint32 stores = 2;
*
*
** the number of stores for the region
*
*/
public Builder setStores(int value) {
bitField0_ |= 0x00000002;
stores_ = value;
onChanged();
return this;
}
/**
* optional uint32 stores = 2;
*
*
** the number of stores for the region
*
*/
public Builder clearStores() {
bitField0_ = (bitField0_ & ~0x00000002);
stores_ = 0;
onChanged();
return this;
}
// optional uint32 storefiles = 3;
private int storefiles_ ;
/**
* optional uint32 storefiles = 3;
*
*
** the number of storefiles for the region
*
*/
public boolean hasStorefiles() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 storefiles = 3;
*
*
** the number of storefiles for the region
*
*/
public int getStorefiles() {
return storefiles_;
}
/**
* optional uint32 storefiles = 3;
*
*
** the number of storefiles for the region
*
*/
public Builder setStorefiles(int value) {
bitField0_ |= 0x00000004;
storefiles_ = value;
onChanged();
return this;
}
/**
* optional uint32 storefiles = 3;
*
*
** the number of storefiles for the region
*
*/
public Builder clearStorefiles() {
bitField0_ = (bitField0_ & ~0x00000004);
storefiles_ = 0;
onChanged();
return this;
}
// optional uint32 store_uncompressed_size_MB = 4;
private int storeUncompressedSizeMB_ ;
/**
* optional uint32 store_uncompressed_size_MB = 4;
*
*
** the total size of the store files for the region, uncompressed, in MB
*
*/
public boolean hasStoreUncompressedSizeMB() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 store_uncompressed_size_MB = 4;
*
*
** the total size of the store files for the region, uncompressed, in MB
*
*/
public int getStoreUncompressedSizeMB() {
return storeUncompressedSizeMB_;
}
/**
* optional uint32 store_uncompressed_size_MB = 4;
*
*
** the total size of the store files for the region, uncompressed, in MB
*
*/
public Builder setStoreUncompressedSizeMB(int value) {
bitField0_ |= 0x00000008;
storeUncompressedSizeMB_ = value;
onChanged();
return this;
}
/**
* optional uint32 store_uncompressed_size_MB = 4;
*
*
** the total size of the store files for the region, uncompressed, in MB
*
*/
public Builder clearStoreUncompressedSizeMB() {
bitField0_ = (bitField0_ & ~0x00000008);
storeUncompressedSizeMB_ = 0;
onChanged();
return this;
}
// optional uint32 storefile_size_MB = 5;
private int storefileSizeMB_ ;
/**
* optional uint32 storefile_size_MB = 5;
*
*
** the current total size of the store files for the region, in MB
*
*/
public boolean hasStorefileSizeMB() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint32 storefile_size_MB = 5;
*
*
** the current total size of the store files for the region, in MB
*
*/
public int getStorefileSizeMB() {
return storefileSizeMB_;
}
/**
* optional uint32 storefile_size_MB = 5;
*
*
** the current total size of the store files for the region, in MB
*
*/
public Builder setStorefileSizeMB(int value) {
bitField0_ |= 0x00000010;
storefileSizeMB_ = value;
onChanged();
return this;
}
/**
* optional uint32 storefile_size_MB = 5;
*
*
** the current total size of the store files for the region, in MB
*
*/
public Builder clearStorefileSizeMB() {
bitField0_ = (bitField0_ & ~0x00000010);
storefileSizeMB_ = 0;
onChanged();
return this;
}
// optional uint32 memstore_size_MB = 6;
private int memstoreSizeMB_ ;
/**
* optional uint32 memstore_size_MB = 6;
*
*
** the current size of the memstore for the region, in MB
*
*/
public boolean hasMemstoreSizeMB() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional uint32 memstore_size_MB = 6;
*
*
** the current size of the memstore for the region, in MB
*
*/
public int getMemstoreSizeMB() {
return memstoreSizeMB_;
}
/**
* optional uint32 memstore_size_MB = 6;
*
*
** the current size of the memstore for the region, in MB
*
*/
public Builder setMemstoreSizeMB(int value) {
bitField0_ |= 0x00000020;
memstoreSizeMB_ = value;
onChanged();
return this;
}
/**
* optional uint32 memstore_size_MB = 6;
*
*
** the current size of the memstore for the region, in MB
*
*/
public Builder clearMemstoreSizeMB() {
bitField0_ = (bitField0_ & ~0x00000020);
memstoreSizeMB_ = 0;
onChanged();
return this;
}
// optional uint64 storefile_index_size_KB = 7;
private long storefileIndexSizeKB_ ;
/**
* optional uint64 storefile_index_size_KB = 7;
*
*
**
* The current total size of root-level store file indexes for the region,
* in KB. The same as {@link #rootIndexSizeKB}.
*
*/
public boolean hasStorefileIndexSizeKB() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional uint64 storefile_index_size_KB = 7;
*
*
**
* The current total size of root-level store file indexes for the region,
* in KB. The same as {@link #rootIndexSizeKB}.
*
*/
public long getStorefileIndexSizeKB() {
return storefileIndexSizeKB_;
}
/**
* optional uint64 storefile_index_size_KB = 7;
*
*
**
* The current total size of root-level store file indexes for the region,
* in KB. The same as {@link #rootIndexSizeKB}.
*
*/
public Builder setStorefileIndexSizeKB(long value) {
bitField0_ |= 0x00000040;
storefileIndexSizeKB_ = value;
onChanged();
return this;
}
/**
* optional uint64 storefile_index_size_KB = 7;
*
*
**
* The current total size of root-level store file indexes for the region,
* in KB. The same as {@link #rootIndexSizeKB}.
*
*/
public Builder clearStorefileIndexSizeKB() {
bitField0_ = (bitField0_ & ~0x00000040);
storefileIndexSizeKB_ = 0L;
onChanged();
return this;
}
// optional uint64 read_requests_count = 8;
private long readRequestsCount_ ;
/**
* optional uint64 read_requests_count = 8;
*
*
** the current total read requests made to region
*
*/
public boolean hasReadRequestsCount() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional uint64 read_requests_count = 8;
*
*
** the current total read requests made to region
*
*/
public long getReadRequestsCount() {
return readRequestsCount_;
}
/**
* optional uint64 read_requests_count = 8;
*
*
** the current total read requests made to region
*
*/
public Builder setReadRequestsCount(long value) {
bitField0_ |= 0x00000080;
readRequestsCount_ = value;
onChanged();
return this;
}
/**
* optional uint64 read_requests_count = 8;
*
*
** the current total read requests made to region
*
*/
public Builder clearReadRequestsCount() {
bitField0_ = (bitField0_ & ~0x00000080);
readRequestsCount_ = 0L;
onChanged();
return this;
}
// optional uint64 write_requests_count = 9;
private long writeRequestsCount_ ;
/**
* optional uint64 write_requests_count = 9;
*
*
** the current total write requests made to region
*
*/
public boolean hasWriteRequestsCount() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional uint64 write_requests_count = 9;
*
*
** the current total write requests made to region
*
*/
public long getWriteRequestsCount() {
return writeRequestsCount_;
}
/**
* optional uint64 write_requests_count = 9;
*
*
** the current total write requests made to region
*
*/
public Builder setWriteRequestsCount(long value) {
bitField0_ |= 0x00000100;
writeRequestsCount_ = value;
onChanged();
return this;
}
/**
* optional uint64 write_requests_count = 9;
*
*
** the current total write requests made to region
*
*/
public Builder clearWriteRequestsCount() {
bitField0_ = (bitField0_ & ~0x00000100);
writeRequestsCount_ = 0L;
onChanged();
return this;
}
// optional uint64 total_compacting_KVs = 10;
private long totalCompactingKVs_ ;
/**
* optional uint64 total_compacting_KVs = 10;
*
*
** the total compacting key values in currently running compaction
*
*/
public boolean hasTotalCompactingKVs() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional uint64 total_compacting_KVs = 10;
*
*
** the total compacting key values in currently running compaction
*
*/
public long getTotalCompactingKVs() {
return totalCompactingKVs_;
}
/**
* optional uint64 total_compacting_KVs = 10;
*
*
** the total compacting key values in currently running compaction
*
*/
public Builder setTotalCompactingKVs(long value) {
bitField0_ |= 0x00000200;
totalCompactingKVs_ = value;
onChanged();
return this;
}
/**
* optional uint64 total_compacting_KVs = 10;
*
*
** the total compacting key values in currently running compaction
*
*/
public Builder clearTotalCompactingKVs() {
bitField0_ = (bitField0_ & ~0x00000200);
totalCompactingKVs_ = 0L;
onChanged();
return this;
}
// optional uint64 current_compacted_KVs = 11;
private long currentCompactedKVs_ ;
/**
* optional uint64 current_compacted_KVs = 11;
*
*
** the completed count of key values in currently running compaction
*
*/
public boolean hasCurrentCompactedKVs() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional uint64 current_compacted_KVs = 11;
*
*
** the completed count of key values in currently running compaction
*
*/
public long getCurrentCompactedKVs() {
return currentCompactedKVs_;
}
/**
* optional uint64 current_compacted_KVs = 11;
*
*
** the completed count of key values in currently running compaction
*
*/
public Builder setCurrentCompactedKVs(long value) {
bitField0_ |= 0x00000400;
currentCompactedKVs_ = value;
onChanged();
return this;
}
/**
* optional uint64 current_compacted_KVs = 11;
*
*
** the completed count of key values in currently running compaction
*
*/
public Builder clearCurrentCompactedKVs() {
bitField0_ = (bitField0_ & ~0x00000400);
currentCompactedKVs_ = 0L;
onChanged();
return this;
}
// optional uint32 root_index_size_KB = 12;
private int rootIndexSizeKB_ ;
/**
* optional uint32 root_index_size_KB = 12;
*
*
** The current total size of root-level indexes for the region, in KB.
*
*/
public boolean hasRootIndexSizeKB() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional uint32 root_index_size_KB = 12;
*
*
** The current total size of root-level indexes for the region, in KB.
*
*/
public int getRootIndexSizeKB() {
return rootIndexSizeKB_;
}
/**
* optional uint32 root_index_size_KB = 12;
*
*
** The current total size of root-level indexes for the region, in KB.
*
*/
public Builder setRootIndexSizeKB(int value) {
bitField0_ |= 0x00000800;
rootIndexSizeKB_ = value;
onChanged();
return this;
}
/**
* optional uint32 root_index_size_KB = 12;
*
*
** The current total size of root-level indexes for the region, in KB.
*
*/
public Builder clearRootIndexSizeKB() {
bitField0_ = (bitField0_ & ~0x00000800);
rootIndexSizeKB_ = 0;
onChanged();
return this;
}
// optional uint32 total_static_index_size_KB = 13;
private int totalStaticIndexSizeKB_ ;
/**
* optional uint32 total_static_index_size_KB = 13;
*
*
** The total size of all index blocks, not just the root level, in KB.
*
*/
public boolean hasTotalStaticIndexSizeKB() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* optional uint32 total_static_index_size_KB = 13;
*
*
** The total size of all index blocks, not just the root level, in KB.
*
*/
public int getTotalStaticIndexSizeKB() {
return totalStaticIndexSizeKB_;
}
/**
* optional uint32 total_static_index_size_KB = 13;
*
*
** The total size of all index blocks, not just the root level, in KB.
*
*/
public Builder setTotalStaticIndexSizeKB(int value) {
bitField0_ |= 0x00001000;
totalStaticIndexSizeKB_ = value;
onChanged();
return this;
}
/**
* optional uint32 total_static_index_size_KB = 13;
*
*
** The total size of all index blocks, not just the root level, in KB.
*
*/
public Builder clearTotalStaticIndexSizeKB() {
bitField0_ = (bitField0_ & ~0x00001000);
totalStaticIndexSizeKB_ = 0;
onChanged();
return this;
}
// optional uint32 total_static_bloom_size_KB = 14;
private int totalStaticBloomSizeKB_ ;
/**
* optional uint32 total_static_bloom_size_KB = 14;
*
*
**
* The total size of all Bloom filter blocks, not just loaded into the
* block cache, in KB.
*
*/
public boolean hasTotalStaticBloomSizeKB() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* optional uint32 total_static_bloom_size_KB = 14;
*
*
**
* The total size of all Bloom filter blocks, not just loaded into the
* block cache, in KB.
*
*/
public int getTotalStaticBloomSizeKB() {
return totalStaticBloomSizeKB_;
}
/**
* optional uint32 total_static_bloom_size_KB = 14;
*
*
**
* The total size of all Bloom filter blocks, not just loaded into the
* block cache, in KB.
*
*/
public Builder setTotalStaticBloomSizeKB(int value) {
bitField0_ |= 0x00002000;
totalStaticBloomSizeKB_ = value;
onChanged();
return this;
}
/**
* optional uint32 total_static_bloom_size_KB = 14;
*
*
**
* The total size of all Bloom filter blocks, not just loaded into the
* block cache, in KB.
*
*/
public Builder clearTotalStaticBloomSizeKB() {
bitField0_ = (bitField0_ & ~0x00002000);
totalStaticBloomSizeKB_ = 0;
onChanged();
return this;
}
// optional uint64 complete_sequence_id = 15;
private long completeSequenceId_ ;
/**
* optional uint64 complete_sequence_id = 15;
*
*
** the most recent sequence Id from cache flush
*
*/
public boolean hasCompleteSequenceId() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
/**
* optional uint64 complete_sequence_id = 15;
*
*
** the most recent sequence Id from cache flush
*
*/
public long getCompleteSequenceId() {
return completeSequenceId_;
}
/**
* optional uint64 complete_sequence_id = 15;
*
*
** the most recent sequence Id from cache flush
*
*/
public Builder setCompleteSequenceId(long value) {
bitField0_ |= 0x00004000;
completeSequenceId_ = value;
onChanged();
return this;
}
/**
* optional uint64 complete_sequence_id = 15;
*
*
** the most recent sequence Id from cache flush
*
*/
public Builder clearCompleteSequenceId() {
bitField0_ = (bitField0_ & ~0x00004000);
completeSequenceId_ = 0L;
onChanged();
return this;
}
// optional float data_locality = 16;
private float dataLocality_ ;
/**
* optional float data_locality = 16;
*
*
** The current data locality for region in the regionserver
*
*/
public boolean hasDataLocality() {
return ((bitField0_ & 0x00008000) == 0x00008000);
}
/**
* optional float data_locality = 16;
*
*
** The current data locality for region in the regionserver
*
*/
public float getDataLocality() {
return dataLocality_;
}
/**
* optional float data_locality = 16;
*
*
** The current data locality for region in the regionserver
*
*/
public Builder setDataLocality(float value) {
bitField0_ |= 0x00008000;
dataLocality_ = value;
onChanged();
return this;
}
/**
* optional float data_locality = 16;
*
*
** The current data locality for region in the regionserver
*
*/
public Builder clearDataLocality() {
bitField0_ = (bitField0_ & ~0x00008000);
dataLocality_ = 0F;
onChanged();
return this;
}
// optional uint64 last_major_compaction_ts = 17 [default = 0];
private long lastMajorCompactionTs_ ;
/**
* optional uint64 last_major_compaction_ts = 17 [default = 0];
*/
public boolean hasLastMajorCompactionTs() {
return ((bitField0_ & 0x00010000) == 0x00010000);
}
/**
* optional uint64 last_major_compaction_ts = 17 [default = 0];
*/
public long getLastMajorCompactionTs() {
return lastMajorCompactionTs_;
}
/**
* optional uint64 last_major_compaction_ts = 17 [default = 0];
*/
public Builder setLastMajorCompactionTs(long value) {
bitField0_ |= 0x00010000;
lastMajorCompactionTs_ = value;
onChanged();
return this;
}
/**
* optional uint64 last_major_compaction_ts = 17 [default = 0];
*/
public Builder clearLastMajorCompactionTs() {
bitField0_ = (bitField0_ & ~0x00010000);
lastMajorCompactionTs_ = 0L;
onChanged();
return this;
}
// repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
private java.util.List storeCompleteSequenceId_ =
java.util.Collections.emptyList();
private void ensureStoreCompleteSequenceIdIsMutable() {
if (!((bitField0_ & 0x00020000) == 0x00020000)) {
storeCompleteSequenceId_ = new java.util.ArrayList(storeCompleteSequenceId_);
bitField0_ |= 0x00020000;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder> storeCompleteSequenceIdBuilder_;
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
public java.util.List getStoreCompleteSequenceIdList() {
if (storeCompleteSequenceIdBuilder_ == null) {
return java.util.Collections.unmodifiableList(storeCompleteSequenceId_);
} else {
return storeCompleteSequenceIdBuilder_.getMessageList();
}
}
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
public int getStoreCompleteSequenceIdCount() {
if (storeCompleteSequenceIdBuilder_ == null) {
return storeCompleteSequenceId_.size();
} else {
return storeCompleteSequenceIdBuilder_.getCount();
}
}
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId getStoreCompleteSequenceId(int index) {
if (storeCompleteSequenceIdBuilder_ == null) {
return storeCompleteSequenceId_.get(index);
} else {
return storeCompleteSequenceIdBuilder_.getMessage(index);
}
}
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
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;
}
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
public Builder setStoreCompleteSequenceId(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
if (storeCompleteSequenceIdBuilder_ == null) {
ensureStoreCompleteSequenceIdIsMutable();
storeCompleteSequenceId_.set(index, builderForValue.build());
onChanged();
} else {
storeCompleteSequenceIdBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
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;
}
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
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;
}
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
public Builder addStoreCompleteSequenceId(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
if (storeCompleteSequenceIdBuilder_ == null) {
ensureStoreCompleteSequenceIdIsMutable();
storeCompleteSequenceId_.add(builderForValue.build());
onChanged();
} else {
storeCompleteSequenceIdBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
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;
}
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
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;
}
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
public Builder clearStoreCompleteSequenceId() {
if (storeCompleteSequenceIdBuilder_ == null) {
storeCompleteSequenceId_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00020000);
onChanged();
} else {
storeCompleteSequenceIdBuilder_.clear();
}
return this;
}
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
public Builder removeStoreCompleteSequenceId(int index) {
if (storeCompleteSequenceIdBuilder_ == null) {
ensureStoreCompleteSequenceIdIsMutable();
storeCompleteSequenceId_.remove(index);
onChanged();
} else {
storeCompleteSequenceIdBuilder_.remove(index);
}
return this;
}
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder getStoreCompleteSequenceIdBuilder(
int index) {
return getStoreCompleteSequenceIdFieldBuilder().getBuilder(index);
}
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder getStoreCompleteSequenceIdOrBuilder(
int index) {
if (storeCompleteSequenceIdBuilder_ == null) {
return storeCompleteSequenceId_.get(index); } else {
return storeCompleteSequenceIdBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder>
getStoreCompleteSequenceIdOrBuilderList() {
if (storeCompleteSequenceIdBuilder_ != null) {
return storeCompleteSequenceIdBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(storeCompleteSequenceId_);
}
}
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder addStoreCompleteSequenceIdBuilder() {
return getStoreCompleteSequenceIdFieldBuilder().addBuilder(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.getDefaultInstance());
}
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder addStoreCompleteSequenceIdBuilder(
int index) {
return getStoreCompleteSequenceIdFieldBuilder().addBuilder(
index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.getDefaultInstance());
}
/**
* repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;
*
*
** the most recent sequence Id of store from cache flush
*
*/
public java.util.List
getStoreCompleteSequenceIdBuilderList() {
return getStoreCompleteSequenceIdFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder>
getStoreCompleteSequenceIdFieldBuilder() {
if (storeCompleteSequenceIdBuilder_ == null) {
storeCompleteSequenceIdBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder>(
storeCompleteSequenceId_,
((bitField0_ & 0x00020000) == 0x00020000),
getParentForChildren(),
isClean());
storeCompleteSequenceId_ = null;
}
return storeCompleteSequenceIdBuilder_;
}
// optional uint64 filtered_read_requests_count = 19;
private long filteredReadRequestsCount_ ;
/**
* optional uint64 filtered_read_requests_count = 19;
*
*
** the current total filtered read requests made to region
*
*/
public boolean hasFilteredReadRequestsCount() {
return ((bitField0_ & 0x00040000) == 0x00040000);
}
/**
* optional uint64 filtered_read_requests_count = 19;
*
*
** the current total filtered read requests made to region
*
*/
public long getFilteredReadRequestsCount() {
return filteredReadRequestsCount_;
}
/**
* optional uint64 filtered_read_requests_count = 19;
*
*
** the current total filtered read requests made to region
*
*/
public Builder setFilteredReadRequestsCount(long value) {
bitField0_ |= 0x00040000;
filteredReadRequestsCount_ = value;
onChanged();
return this;
}
/**
* optional uint64 filtered_read_requests_count = 19;
*
*
** the current total filtered read requests made to region
*
*/
public Builder clearFilteredReadRequestsCount() {
bitField0_ = (bitField0_ & ~0x00040000);
filteredReadRequestsCount_ = 0L;
onChanged();
return this;
}
// optional int32 store_ref_count = 21 [default = 0];
private int storeRefCount_ ;
/**
* optional int32 store_ref_count = 21 [default = 0];
*
*
** the number of references active on the store
*
*/
public boolean hasStoreRefCount() {
return ((bitField0_ & 0x00080000) == 0x00080000);
}
/**
* optional int32 store_ref_count = 21 [default = 0];
*
*
** the number of references active on the store
*
*/
public int getStoreRefCount() {
return storeRefCount_;
}
/**
* optional int32 store_ref_count = 21 [default = 0];
*
*
** the number of references active on the store
*
*/
public Builder setStoreRefCount(int value) {
bitField0_ |= 0x00080000;
storeRefCount_ = value;
onChanged();
return this;
}
/**
* optional int32 store_ref_count = 21 [default = 0];
*
*
** the number of references active on the store
*
*/
public Builder clearStoreRefCount() {
bitField0_ = (bitField0_ & ~0x00080000);
storeRefCount_ = 0;
onChanged();
return this;
}
// optional int32 max_compacted_store_file_ref_count = 22 [default = 0];
private int maxCompactedStoreFileRefCount_ ;
/**
* optional int32 max_compacted_store_file_ref_count = 22 [default = 0];
*
*
**
* The max number of references active on single store file among all compacted store files
* that belong to given region
*
*/
public boolean hasMaxCompactedStoreFileRefCount() {
return ((bitField0_ & 0x00100000) == 0x00100000);
}
/**
* optional int32 max_compacted_store_file_ref_count = 22 [default = 0];
*
*
**
* The max number of references active on single store file among all compacted store files
* that belong to given region
*
*/
public int getMaxCompactedStoreFileRefCount() {
return maxCompactedStoreFileRefCount_;
}
/**
* optional int32 max_compacted_store_file_ref_count = 22 [default = 0];
*
*
**
* The max number of references active on single store file among all compacted store files
* that belong to given region
*
*/
public Builder setMaxCompactedStoreFileRefCount(int value) {
bitField0_ |= 0x00100000;
maxCompactedStoreFileRefCount_ = value;
onChanged();
return this;
}
/**
* optional int32 max_compacted_store_file_ref_count = 22 [default = 0];
*
*
**
* The max number of references active on single store file among all compacted store files
* that belong to given region
*
*/
public Builder clearMaxCompactedStoreFileRefCount() {
bitField0_ = (bitField0_ & ~0x00100000);
maxCompactedStoreFileRefCount_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:hbase.pb.RegionLoad)
}
static {
defaultInstance = new RegionLoad(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hbase.pb.RegionLoad)
}
public interface UserLoadOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string userName = 1;
/**
* required string userName = 1;
*
*
** short user name
*
*/
boolean hasUserName();
/**
* required string userName = 1;
*
*
** short user name
*
*/
java.lang.String getUserName();
/**
* required string userName = 1;
*
*
** short user name
*
*/
com.google.protobuf.ByteString
getUserNameBytes();
// repeated .hbase.pb.ClientMetrics clientMetrics = 2;
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
java.util.List
getClientMetricsList();
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics getClientMetrics(int index);
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
int getClientMetricsCount();
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetricsOrBuilder>
getClientMetricsOrBuilderList();
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetricsOrBuilder getClientMetricsOrBuilder(
int index);
}
/**
* Protobuf type {@code hbase.pb.UserLoad}
*/
@javax.annotation.Generated("proto") public static final class UserLoad extends
com.google.protobuf.GeneratedMessage
implements UserLoadOrBuilder {
// Use UserLoad.newBuilder() to construct.
private UserLoad(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private UserLoad(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final UserLoad defaultInstance;
public static UserLoad getDefaultInstance() {
return defaultInstance;
}
public UserLoad getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UserLoad(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
userName_ = input.readBytes();
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
clientMetrics_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
clientMetrics_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
clientMetrics_ = java.util.Collections.unmodifiableList(clientMetrics_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_UserLoad_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_UserLoad_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public UserLoad parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new UserLoad(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required string userName = 1;
public static final int USERNAME_FIELD_NUMBER = 1;
private java.lang.Object userName_;
/**
* required string userName = 1;
*
*
** short user name
*
*/
public boolean hasUserName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string userName = 1;
*
*
** short user name
*
*/
public java.lang.String getUserName() {
java.lang.Object ref = userName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
userName_ = s;
}
return s;
}
}
/**
* required string userName = 1;
*
*
** short user name
*
*/
public com.google.protobuf.ByteString
getUserNameBytes() {
java.lang.Object ref = userName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// repeated .hbase.pb.ClientMetrics clientMetrics = 2;
public static final int CLIENTMETRICS_FIELD_NUMBER = 2;
private java.util.List clientMetrics_;
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public java.util.List getClientMetricsList() {
return clientMetrics_;
}
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetricsOrBuilder>
getClientMetricsOrBuilderList() {
return clientMetrics_;
}
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public int getClientMetricsCount() {
return clientMetrics_.size();
}
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics getClientMetrics(int index) {
return clientMetrics_.get(index);
}
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetricsOrBuilder getClientMetricsOrBuilder(
int index) {
return clientMetrics_.get(index);
}
private void initFields() {
userName_ = "";
clientMetrics_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasUserName()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getClientMetricsCount(); i++) {
if (!getClientMetrics(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.writeBytes(1, getUserNameBytes());
}
for (int i = 0; i < clientMetrics_.size(); i++) {
output.writeMessage(2, clientMetrics_.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
.computeBytesSize(1, getUserNameBytes());
}
for (int i = 0; i < clientMetrics_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, clientMetrics_.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.ClusterStatusProtos.UserLoad)) {
return super.equals(obj);
}
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad other = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad) obj;
boolean result = true;
result = result && (hasUserName() == other.hasUserName());
if (hasUserName()) {
result = result && getUserName()
.equals(other.getUserName());
}
result = result && getClientMetricsList()
.equals(other.getClientMetricsList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasUserName()) {
hash = (37 * hash) + USERNAME_FIELD_NUMBER;
hash = (53 * hash) + getUserName().hashCode();
}
if (getClientMetricsCount() > 0) {
hash = (37 * hash) + CLIENTMETRICS_FIELD_NUMBER;
hash = (53 * hash) + getClientMetricsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hbase.pb.UserLoad}
*/
@javax.annotation.Generated("proto") public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoadOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_UserLoad_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_UserLoad_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad.Builder.class);
}
// Construct using org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getClientMetricsFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
userName_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
if (clientMetricsBuilder_ == null) {
clientMetrics_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
clientMetricsBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_UserLoad_descriptor;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad getDefaultInstanceForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad.getDefaultInstance();
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad build() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad buildPartial() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad result = new org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.userName_ = userName_;
if (clientMetricsBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
clientMetrics_ = java.util.Collections.unmodifiableList(clientMetrics_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.clientMetrics_ = clientMetrics_;
} else {
result.clientMetrics_ = clientMetricsBuilder_.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.ClusterStatusProtos.UserLoad) {
return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad other) {
if (other == org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad.getDefaultInstance()) return this;
if (other.hasUserName()) {
bitField0_ |= 0x00000001;
userName_ = other.userName_;
onChanged();
}
if (clientMetricsBuilder_ == null) {
if (!other.clientMetrics_.isEmpty()) {
if (clientMetrics_.isEmpty()) {
clientMetrics_ = other.clientMetrics_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureClientMetricsIsMutable();
clientMetrics_.addAll(other.clientMetrics_);
}
onChanged();
}
} else {
if (!other.clientMetrics_.isEmpty()) {
if (clientMetricsBuilder_.isEmpty()) {
clientMetricsBuilder_.dispose();
clientMetricsBuilder_ = null;
clientMetrics_ = other.clientMetrics_;
bitField0_ = (bitField0_ & ~0x00000002);
clientMetricsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getClientMetricsFieldBuilder() : null;
} else {
clientMetricsBuilder_.addAllMessages(other.clientMetrics_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasUserName()) {
return false;
}
for (int i = 0; i < getClientMetricsCount(); i++) {
if (!getClientMetrics(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string userName = 1;
private java.lang.Object userName_ = "";
/**
* required string userName = 1;
*
*
** short user name
*
*/
public boolean hasUserName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string userName = 1;
*
*
** short user name
*
*/
public java.lang.String getUserName() {
java.lang.Object ref = userName_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
userName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string userName = 1;
*
*
** short user name
*
*/
public com.google.protobuf.ByteString
getUserNameBytes() {
java.lang.Object ref = userName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string userName = 1;
*
*
** short user name
*
*/
public Builder setUserName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
userName_ = value;
onChanged();
return this;
}
/**
* required string userName = 1;
*
*
** short user name
*
*/
public Builder clearUserName() {
bitField0_ = (bitField0_ & ~0x00000001);
userName_ = getDefaultInstance().getUserName();
onChanged();
return this;
}
/**
* required string userName = 1;
*
*
** short user name
*
*/
public Builder setUserNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
userName_ = value;
onChanged();
return this;
}
// repeated .hbase.pb.ClientMetrics clientMetrics = 2;
private java.util.List clientMetrics_ =
java.util.Collections.emptyList();
private void ensureClientMetricsIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
clientMetrics_ = new java.util.ArrayList(clientMetrics_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetricsOrBuilder> clientMetricsBuilder_;
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public java.util.List getClientMetricsList() {
if (clientMetricsBuilder_ == null) {
return java.util.Collections.unmodifiableList(clientMetrics_);
} else {
return clientMetricsBuilder_.getMessageList();
}
}
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public int getClientMetricsCount() {
if (clientMetricsBuilder_ == null) {
return clientMetrics_.size();
} else {
return clientMetricsBuilder_.getCount();
}
}
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics getClientMetrics(int index) {
if (clientMetricsBuilder_ == null) {
return clientMetrics_.get(index);
} else {
return clientMetricsBuilder_.getMessage(index);
}
}
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public Builder setClientMetrics(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics value) {
if (clientMetricsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureClientMetricsIsMutable();
clientMetrics_.set(index, value);
onChanged();
} else {
clientMetricsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public Builder setClientMetrics(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics.Builder builderForValue) {
if (clientMetricsBuilder_ == null) {
ensureClientMetricsIsMutable();
clientMetrics_.set(index, builderForValue.build());
onChanged();
} else {
clientMetricsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public Builder addClientMetrics(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics value) {
if (clientMetricsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureClientMetricsIsMutable();
clientMetrics_.add(value);
onChanged();
} else {
clientMetricsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public Builder addClientMetrics(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics value) {
if (clientMetricsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureClientMetricsIsMutable();
clientMetrics_.add(index, value);
onChanged();
} else {
clientMetricsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public Builder addClientMetrics(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics.Builder builderForValue) {
if (clientMetricsBuilder_ == null) {
ensureClientMetricsIsMutable();
clientMetrics_.add(builderForValue.build());
onChanged();
} else {
clientMetricsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public Builder addClientMetrics(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics.Builder builderForValue) {
if (clientMetricsBuilder_ == null) {
ensureClientMetricsIsMutable();
clientMetrics_.add(index, builderForValue.build());
onChanged();
} else {
clientMetricsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public Builder addAllClientMetrics(
java.lang.Iterable extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics> values) {
if (clientMetricsBuilder_ == null) {
ensureClientMetricsIsMutable();
super.addAll(values, clientMetrics_);
onChanged();
} else {
clientMetricsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public Builder clearClientMetrics() {
if (clientMetricsBuilder_ == null) {
clientMetrics_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
clientMetricsBuilder_.clear();
}
return this;
}
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public Builder removeClientMetrics(int index) {
if (clientMetricsBuilder_ == null) {
ensureClientMetricsIsMutable();
clientMetrics_.remove(index);
onChanged();
} else {
clientMetricsBuilder_.remove(index);
}
return this;
}
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics.Builder getClientMetricsBuilder(
int index) {
return getClientMetricsFieldBuilder().getBuilder(index);
}
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetricsOrBuilder getClientMetricsOrBuilder(
int index) {
if (clientMetricsBuilder_ == null) {
return clientMetrics_.get(index); } else {
return clientMetricsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetricsOrBuilder>
getClientMetricsOrBuilderList() {
if (clientMetricsBuilder_ != null) {
return clientMetricsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(clientMetrics_);
}
}
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics.Builder addClientMetricsBuilder() {
return getClientMetricsFieldBuilder().addBuilder(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics.getDefaultInstance());
}
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics.Builder addClientMetricsBuilder(
int index) {
return getClientMetricsFieldBuilder().addBuilder(
index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics.getDefaultInstance());
}
/**
* repeated .hbase.pb.ClientMetrics clientMetrics = 2;
*
*
** Metrics for all clients of a user
*
*/
public java.util.List
getClientMetricsBuilderList() {
return getClientMetricsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetricsOrBuilder>
getClientMetricsFieldBuilder() {
if (clientMetricsBuilder_ == null) {
clientMetricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetricsOrBuilder>(
clientMetrics_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
clientMetrics_ = null;
}
return clientMetricsBuilder_;
}
// @@protoc_insertion_point(builder_scope:hbase.pb.UserLoad)
}
static {
defaultInstance = new UserLoad(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hbase.pb.UserLoad)
}
public interface ClientMetricsOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string hostName = 1;
/**
* required string hostName = 1;
*
*
** client host name
*
*/
boolean hasHostName();
/**
* required string hostName = 1;
*
*
** client host name
*
*/
java.lang.String getHostName();
/**
* required string hostName = 1;
*
*
** client host name
*
*/
com.google.protobuf.ByteString
getHostNameBytes();
// optional uint64 read_requests_count = 2;
/**
* optional uint64 read_requests_count = 2;
*
*
** the current total read requests made from a client
*
*/
boolean hasReadRequestsCount();
/**
* optional uint64 read_requests_count = 2;
*
*
** the current total read requests made from a client
*
*/
long getReadRequestsCount();
// optional uint64 write_requests_count = 3;
/**
* optional uint64 write_requests_count = 3;
*
*
** the current total write requests made from a client
*
*/
boolean hasWriteRequestsCount();
/**
* optional uint64 write_requests_count = 3;
*
*
** the current total write requests made from a client
*
*/
long getWriteRequestsCount();
// optional uint64 filtered_requests_count = 4;
/**
* optional uint64 filtered_requests_count = 4;
*
*
** the current total filtered requests made from a client
*
*/
boolean hasFilteredRequestsCount();
/**
* optional uint64 filtered_requests_count = 4;
*
*
** the current total filtered requests made from a client
*
*/
long getFilteredRequestsCount();
}
/**
* Protobuf type {@code hbase.pb.ClientMetrics}
*/
@javax.annotation.Generated("proto") public static final class ClientMetrics extends
com.google.protobuf.GeneratedMessage
implements ClientMetricsOrBuilder {
// Use ClientMetrics.newBuilder() to construct.
private ClientMetrics(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private ClientMetrics(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final ClientMetrics defaultInstance;
public static ClientMetrics getDefaultInstance() {
return defaultInstance;
}
public ClientMetrics getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ClientMetrics(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
hostName_ = input.readBytes();
break;
}
case 16: {
bitField0_ |= 0x00000002;
readRequestsCount_ = input.readUInt64();
break;
}
case 24: {
bitField0_ |= 0x00000004;
writeRequestsCount_ = input.readUInt64();
break;
}
case 32: {
bitField0_ |= 0x00000008;
filteredRequestsCount_ = input.readUInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ClientMetrics_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ClientMetrics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public ClientMetrics parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ClientMetrics(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required string hostName = 1;
public static final int HOSTNAME_FIELD_NUMBER = 1;
private java.lang.Object hostName_;
/**
* required string hostName = 1;
*
*
** client host name
*
*/
public boolean hasHostName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string hostName = 1;
*
*
** client host name
*
*/
public java.lang.String getHostName() {
java.lang.Object ref = hostName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
hostName_ = s;
}
return s;
}
}
/**
* required string hostName = 1;
*
*
** client host name
*
*/
public com.google.protobuf.ByteString
getHostNameBytes() {
java.lang.Object ref = hostName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hostName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional uint64 read_requests_count = 2;
public static final int READ_REQUESTS_COUNT_FIELD_NUMBER = 2;
private long readRequestsCount_;
/**
* optional uint64 read_requests_count = 2;
*
*
** the current total read requests made from a client
*
*/
public boolean hasReadRequestsCount() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint64 read_requests_count = 2;
*
*
** the current total read requests made from a client
*
*/
public long getReadRequestsCount() {
return readRequestsCount_;
}
// optional uint64 write_requests_count = 3;
public static final int WRITE_REQUESTS_COUNT_FIELD_NUMBER = 3;
private long writeRequestsCount_;
/**
* optional uint64 write_requests_count = 3;
*
*
** the current total write requests made from a client
*
*/
public boolean hasWriteRequestsCount() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint64 write_requests_count = 3;
*
*
** the current total write requests made from a client
*
*/
public long getWriteRequestsCount() {
return writeRequestsCount_;
}
// optional uint64 filtered_requests_count = 4;
public static final int FILTERED_REQUESTS_COUNT_FIELD_NUMBER = 4;
private long filteredRequestsCount_;
/**
* optional uint64 filtered_requests_count = 4;
*
*
** the current total filtered requests made from a client
*
*/
public boolean hasFilteredRequestsCount() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint64 filtered_requests_count = 4;
*
*
** the current total filtered requests made from a client
*
*/
public long getFilteredRequestsCount() {
return filteredRequestsCount_;
}
private void initFields() {
hostName_ = "";
readRequestsCount_ = 0L;
writeRequestsCount_ = 0L;
filteredRequestsCount_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasHostName()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getHostNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt64(2, readRequestsCount_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt64(3, writeRequestsCount_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeUInt64(4, filteredRequestsCount_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getHostNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, readRequestsCount_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, writeRequestsCount_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(4, filteredRequestsCount_);
}
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.ClusterStatusProtos.ClientMetrics)) {
return super.equals(obj);
}
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics other = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics) obj;
boolean result = true;
result = result && (hasHostName() == other.hasHostName());
if (hasHostName()) {
result = result && getHostName()
.equals(other.getHostName());
}
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 && (hasFilteredRequestsCount() == other.hasFilteredRequestsCount());
if (hasFilteredRequestsCount()) {
result = result && (getFilteredRequestsCount()
== other.getFilteredRequestsCount());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasHostName()) {
hash = (37 * hash) + HOSTNAME_FIELD_NUMBER;
hash = (53 * hash) + getHostName().hashCode();
}
if (hasReadRequestsCount()) {
hash = (37 * hash) + READ_REQUESTS_COUNT_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getReadRequestsCount());
}
if (hasWriteRequestsCount()) {
hash = (37 * hash) + WRITE_REQUESTS_COUNT_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getWriteRequestsCount());
}
if (hasFilteredRequestsCount()) {
hash = (37 * hash) + FILTERED_REQUESTS_COUNT_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getFilteredRequestsCount());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hbase.pb.ClientMetrics}
*/
@javax.annotation.Generated("proto") public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetricsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ClientMetrics_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ClientMetrics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics.Builder.class);
}
// Construct using org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
hostName_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
readRequestsCount_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
writeRequestsCount_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
filteredRequestsCount_ = 0L;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ClientMetrics_descriptor;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics getDefaultInstanceForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics.getDefaultInstance();
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics build() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics buildPartial() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics result = new org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.hostName_ = hostName_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.readRequestsCount_ = readRequestsCount_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.writeRequestsCount_ = writeRequestsCount_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.filteredRequestsCount_ = filteredRequestsCount_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics) {
return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics other) {
if (other == org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics.getDefaultInstance()) return this;
if (other.hasHostName()) {
bitField0_ |= 0x00000001;
hostName_ = other.hostName_;
onChanged();
}
if (other.hasReadRequestsCount()) {
setReadRequestsCount(other.getReadRequestsCount());
}
if (other.hasWriteRequestsCount()) {
setWriteRequestsCount(other.getWriteRequestsCount());
}
if (other.hasFilteredRequestsCount()) {
setFilteredRequestsCount(other.getFilteredRequestsCount());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasHostName()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClientMetrics) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string hostName = 1;
private java.lang.Object hostName_ = "";
/**
* required string hostName = 1;
*
*
** client host name
*
*/
public boolean hasHostName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string hostName = 1;
*
*
** client host name
*
*/
public java.lang.String getHostName() {
java.lang.Object ref = hostName_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
hostName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string hostName = 1;
*
*
** client host name
*
*/
public com.google.protobuf.ByteString
getHostNameBytes() {
java.lang.Object ref = hostName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hostName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string hostName = 1;
*
*
** client host name
*
*/
public Builder setHostName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
hostName_ = value;
onChanged();
return this;
}
/**
* required string hostName = 1;
*
*
** client host name
*
*/
public Builder clearHostName() {
bitField0_ = (bitField0_ & ~0x00000001);
hostName_ = getDefaultInstance().getHostName();
onChanged();
return this;
}
/**
* required string hostName = 1;
*
*
** client host name
*
*/
public Builder setHostNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
hostName_ = value;
onChanged();
return this;
}
// optional uint64 read_requests_count = 2;
private long readRequestsCount_ ;
/**
* optional uint64 read_requests_count = 2;
*
*
** the current total read requests made from a client
*
*/
public boolean hasReadRequestsCount() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint64 read_requests_count = 2;
*
*
** the current total read requests made from a client
*
*/
public long getReadRequestsCount() {
return readRequestsCount_;
}
/**
* optional uint64 read_requests_count = 2;
*
*
** the current total read requests made from a client
*
*/
public Builder setReadRequestsCount(long value) {
bitField0_ |= 0x00000002;
readRequestsCount_ = value;
onChanged();
return this;
}
/**
* optional uint64 read_requests_count = 2;
*
*
** the current total read requests made from a client
*
*/
public Builder clearReadRequestsCount() {
bitField0_ = (bitField0_ & ~0x00000002);
readRequestsCount_ = 0L;
onChanged();
return this;
}
// optional uint64 write_requests_count = 3;
private long writeRequestsCount_ ;
/**
* optional uint64 write_requests_count = 3;
*
*
** the current total write requests made from a client
*
*/
public boolean hasWriteRequestsCount() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint64 write_requests_count = 3;
*
*
** the current total write requests made from a client
*
*/
public long getWriteRequestsCount() {
return writeRequestsCount_;
}
/**
* optional uint64 write_requests_count = 3;
*
*
** the current total write requests made from a client
*
*/
public Builder setWriteRequestsCount(long value) {
bitField0_ |= 0x00000004;
writeRequestsCount_ = value;
onChanged();
return this;
}
/**
* optional uint64 write_requests_count = 3;
*
*
** the current total write requests made from a client
*
*/
public Builder clearWriteRequestsCount() {
bitField0_ = (bitField0_ & ~0x00000004);
writeRequestsCount_ = 0L;
onChanged();
return this;
}
// optional uint64 filtered_requests_count = 4;
private long filteredRequestsCount_ ;
/**
* optional uint64 filtered_requests_count = 4;
*
*
** the current total filtered requests made from a client
*
*/
public boolean hasFilteredRequestsCount() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint64 filtered_requests_count = 4;
*
*
** the current total filtered requests made from a client
*
*/
public long getFilteredRequestsCount() {
return filteredRequestsCount_;
}
/**
* optional uint64 filtered_requests_count = 4;
*
*
** the current total filtered requests made from a client
*
*/
public Builder setFilteredRequestsCount(long value) {
bitField0_ |= 0x00000008;
filteredRequestsCount_ = value;
onChanged();
return this;
}
/**
* optional uint64 filtered_requests_count = 4;
*
*
** the current total filtered requests made from a client
*
*/
public Builder clearFilteredRequestsCount() {
bitField0_ = (bitField0_ & ~0x00000008);
filteredRequestsCount_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:hbase.pb.ClientMetrics)
}
static {
defaultInstance = new ClientMetrics(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hbase.pb.ClientMetrics)
}
public interface ReplicationLoadSinkOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required uint64 ageOfLastAppliedOp = 1;
/**
* required uint64 ageOfLastAppliedOp = 1;
*/
boolean hasAgeOfLastAppliedOp();
/**
* required uint64 ageOfLastAppliedOp = 1;
*/
long getAgeOfLastAppliedOp();
// required uint64 timeStampsOfLastAppliedOp = 2;
/**
* required uint64 timeStampsOfLastAppliedOp = 2;
*/
boolean hasTimeStampsOfLastAppliedOp();
/**
* required uint64 timeStampsOfLastAppliedOp = 2;
*/
long getTimeStampsOfLastAppliedOp();
}
/**
* Protobuf type {@code hbase.pb.ReplicationLoadSink}
*/
@javax.annotation.Generated("proto") public static final class ReplicationLoadSink extends
com.google.protobuf.GeneratedMessage
implements ReplicationLoadSinkOrBuilder {
// Use ReplicationLoadSink.newBuilder() to construct.
private ReplicationLoadSink(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private ReplicationLoadSink(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final ReplicationLoadSink defaultInstance;
public static ReplicationLoadSink getDefaultInstance() {
return defaultInstance;
}
public ReplicationLoadSink getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ReplicationLoadSink(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
ageOfLastAppliedOp_ = input.readUInt64();
break;
}
case 16: {
bitField0_ |= 0x00000002;
timeStampsOfLastAppliedOp_ = input.readUInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ReplicationLoadSink_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ReplicationLoadSink_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public ReplicationLoadSink parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ReplicationLoadSink(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required uint64 ageOfLastAppliedOp = 1;
public static final int AGEOFLASTAPPLIEDOP_FIELD_NUMBER = 1;
private long ageOfLastAppliedOp_;
/**
* required uint64 ageOfLastAppliedOp = 1;
*/
public boolean hasAgeOfLastAppliedOp() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required uint64 ageOfLastAppliedOp = 1;
*/
public long getAgeOfLastAppliedOp() {
return ageOfLastAppliedOp_;
}
// required uint64 timeStampsOfLastAppliedOp = 2;
public static final int TIMESTAMPSOFLASTAPPLIEDOP_FIELD_NUMBER = 2;
private long timeStampsOfLastAppliedOp_;
/**
* required uint64 timeStampsOfLastAppliedOp = 2;
*/
public boolean hasTimeStampsOfLastAppliedOp() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required uint64 timeStampsOfLastAppliedOp = 2;
*/
public long getTimeStampsOfLastAppliedOp() {
return timeStampsOfLastAppliedOp_;
}
private void initFields() {
ageOfLastAppliedOp_ = 0L;
timeStampsOfLastAppliedOp_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasAgeOfLastAppliedOp()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasTimeStampsOfLastAppliedOp()) {
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.writeUInt64(1, ageOfLastAppliedOp_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt64(2, timeStampsOfLastAppliedOp_);
}
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
.computeUInt64Size(1, ageOfLastAppliedOp_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, timeStampsOfLastAppliedOp_);
}
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.ClusterStatusProtos.ReplicationLoadSink)) {
return super.equals(obj);
}
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink other = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink) obj;
boolean result = true;
result = result && (hasAgeOfLastAppliedOp() == other.hasAgeOfLastAppliedOp());
if (hasAgeOfLastAppliedOp()) {
result = result && (getAgeOfLastAppliedOp()
== other.getAgeOfLastAppliedOp());
}
result = result && (hasTimeStampsOfLastAppliedOp() == other.hasTimeStampsOfLastAppliedOp());
if (hasTimeStampsOfLastAppliedOp()) {
result = result && (getTimeStampsOfLastAppliedOp()
== other.getTimeStampsOfLastAppliedOp());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasAgeOfLastAppliedOp()) {
hash = (37 * hash) + AGEOFLASTAPPLIEDOP_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getAgeOfLastAppliedOp());
}
if (hasTimeStampsOfLastAppliedOp()) {
hash = (37 * hash) + TIMESTAMPSOFLASTAPPLIEDOP_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getTimeStampsOfLastAppliedOp());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hbase.pb.ReplicationLoadSink}
*/
@javax.annotation.Generated("proto") public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSinkOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ReplicationLoadSink_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ReplicationLoadSink_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.Builder.class);
}
// Construct using org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
ageOfLastAppliedOp_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
timeStampsOfLastAppliedOp_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ReplicationLoadSink_descriptor;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink getDefaultInstanceForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.getDefaultInstance();
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink build() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink buildPartial() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink result = new org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.ageOfLastAppliedOp_ = ageOfLastAppliedOp_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.timeStampsOfLastAppliedOp_ = timeStampsOfLastAppliedOp_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink) {
return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink other) {
if (other == org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.getDefaultInstance()) return this;
if (other.hasAgeOfLastAppliedOp()) {
setAgeOfLastAppliedOp(other.getAgeOfLastAppliedOp());
}
if (other.hasTimeStampsOfLastAppliedOp()) {
setTimeStampsOfLastAppliedOp(other.getTimeStampsOfLastAppliedOp());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasAgeOfLastAppliedOp()) {
return false;
}
if (!hasTimeStampsOfLastAppliedOp()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required uint64 ageOfLastAppliedOp = 1;
private long ageOfLastAppliedOp_ ;
/**
* required uint64 ageOfLastAppliedOp = 1;
*/
public boolean hasAgeOfLastAppliedOp() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required uint64 ageOfLastAppliedOp = 1;
*/
public long getAgeOfLastAppliedOp() {
return ageOfLastAppliedOp_;
}
/**
* required uint64 ageOfLastAppliedOp = 1;
*/
public Builder setAgeOfLastAppliedOp(long value) {
bitField0_ |= 0x00000001;
ageOfLastAppliedOp_ = value;
onChanged();
return this;
}
/**
* required uint64 ageOfLastAppliedOp = 1;
*/
public Builder clearAgeOfLastAppliedOp() {
bitField0_ = (bitField0_ & ~0x00000001);
ageOfLastAppliedOp_ = 0L;
onChanged();
return this;
}
// required uint64 timeStampsOfLastAppliedOp = 2;
private long timeStampsOfLastAppliedOp_ ;
/**
* required uint64 timeStampsOfLastAppliedOp = 2;
*/
public boolean hasTimeStampsOfLastAppliedOp() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required uint64 timeStampsOfLastAppliedOp = 2;
*/
public long getTimeStampsOfLastAppliedOp() {
return timeStampsOfLastAppliedOp_;
}
/**
* required uint64 timeStampsOfLastAppliedOp = 2;
*/
public Builder setTimeStampsOfLastAppliedOp(long value) {
bitField0_ |= 0x00000002;
timeStampsOfLastAppliedOp_ = value;
onChanged();
return this;
}
/**
* required uint64 timeStampsOfLastAppliedOp = 2;
*/
public Builder clearTimeStampsOfLastAppliedOp() {
bitField0_ = (bitField0_ & ~0x00000002);
timeStampsOfLastAppliedOp_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:hbase.pb.ReplicationLoadSink)
}
static {
defaultInstance = new ReplicationLoadSink(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hbase.pb.ReplicationLoadSink)
}
public interface ReplicationLoadSourceOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string peerID = 1;
/**
* required string peerID = 1;
*/
boolean hasPeerID();
/**
* required string peerID = 1;
*/
java.lang.String getPeerID();
/**
* required string peerID = 1;
*/
com.google.protobuf.ByteString
getPeerIDBytes();
// required uint64 ageOfLastShippedOp = 2;
/**
* required uint64 ageOfLastShippedOp = 2;
*/
boolean hasAgeOfLastShippedOp();
/**
* required uint64 ageOfLastShippedOp = 2;
*/
long getAgeOfLastShippedOp();
// required uint32 sizeOfLogQueue = 3;
/**
* required uint32 sizeOfLogQueue = 3;
*/
boolean hasSizeOfLogQueue();
/**
* required uint32 sizeOfLogQueue = 3;
*/
int getSizeOfLogQueue();
// required uint64 timeStampOfLastShippedOp = 4;
/**
* required uint64 timeStampOfLastShippedOp = 4;
*/
boolean hasTimeStampOfLastShippedOp();
/**
* required uint64 timeStampOfLastShippedOp = 4;
*/
long getTimeStampOfLastShippedOp();
// required uint64 replicationLag = 5;
/**
* required uint64 replicationLag = 5;
*/
boolean hasReplicationLag();
/**
* required uint64 replicationLag = 5;
*/
long getReplicationLag();
}
/**
* Protobuf type {@code hbase.pb.ReplicationLoadSource}
*/
@javax.annotation.Generated("proto") public static final class ReplicationLoadSource extends
com.google.protobuf.GeneratedMessage
implements ReplicationLoadSourceOrBuilder {
// Use ReplicationLoadSource.newBuilder() to construct.
private ReplicationLoadSource(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private ReplicationLoadSource(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final ReplicationLoadSource defaultInstance;
public static ReplicationLoadSource getDefaultInstance() {
return defaultInstance;
}
public ReplicationLoadSource getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ReplicationLoadSource(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
peerID_ = input.readBytes();
break;
}
case 16: {
bitField0_ |= 0x00000002;
ageOfLastShippedOp_ = input.readUInt64();
break;
}
case 24: {
bitField0_ |= 0x00000004;
sizeOfLogQueue_ = input.readUInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
timeStampOfLastShippedOp_ = input.readUInt64();
break;
}
case 40: {
bitField0_ |= 0x00000010;
replicationLag_ = input.readUInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ReplicationLoadSource_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ReplicationLoadSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public ReplicationLoadSource parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ReplicationLoadSource(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required string peerID = 1;
public static final int PEERID_FIELD_NUMBER = 1;
private java.lang.Object peerID_;
/**
* required string peerID = 1;
*/
public boolean hasPeerID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string peerID = 1;
*/
public java.lang.String getPeerID() {
java.lang.Object ref = peerID_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
peerID_ = s;
}
return s;
}
}
/**
* required string peerID = 1;
*/
public com.google.protobuf.ByteString
getPeerIDBytes() {
java.lang.Object ref = peerID_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
peerID_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required uint64 ageOfLastShippedOp = 2;
public static final int AGEOFLASTSHIPPEDOP_FIELD_NUMBER = 2;
private long ageOfLastShippedOp_;
/**
* required uint64 ageOfLastShippedOp = 2;
*/
public boolean hasAgeOfLastShippedOp() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required uint64 ageOfLastShippedOp = 2;
*/
public long getAgeOfLastShippedOp() {
return ageOfLastShippedOp_;
}
// required uint32 sizeOfLogQueue = 3;
public static final int SIZEOFLOGQUEUE_FIELD_NUMBER = 3;
private int sizeOfLogQueue_;
/**
* required uint32 sizeOfLogQueue = 3;
*/
public boolean hasSizeOfLogQueue() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required uint32 sizeOfLogQueue = 3;
*/
public int getSizeOfLogQueue() {
return sizeOfLogQueue_;
}
// required uint64 timeStampOfLastShippedOp = 4;
public static final int TIMESTAMPOFLASTSHIPPEDOP_FIELD_NUMBER = 4;
private long timeStampOfLastShippedOp_;
/**
* required uint64 timeStampOfLastShippedOp = 4;
*/
public boolean hasTimeStampOfLastShippedOp() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* required uint64 timeStampOfLastShippedOp = 4;
*/
public long getTimeStampOfLastShippedOp() {
return timeStampOfLastShippedOp_;
}
// required uint64 replicationLag = 5;
public static final int REPLICATIONLAG_FIELD_NUMBER = 5;
private long replicationLag_;
/**
* required uint64 replicationLag = 5;
*/
public boolean hasReplicationLag() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* required uint64 replicationLag = 5;
*/
public long getReplicationLag() {
return replicationLag_;
}
private void initFields() {
peerID_ = "";
ageOfLastShippedOp_ = 0L;
sizeOfLogQueue_ = 0;
timeStampOfLastShippedOp_ = 0L;
replicationLag_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasPeerID()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasAgeOfLastShippedOp()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasSizeOfLogQueue()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasTimeStampOfLastShippedOp()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasReplicationLag()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getPeerIDBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt64(2, ageOfLastShippedOp_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(3, sizeOfLogQueue_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeUInt64(4, timeStampOfLastShippedOp_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeUInt64(5, replicationLag_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getPeerIDBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, ageOfLastShippedOp_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, sizeOfLogQueue_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(4, timeStampOfLastShippedOp_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(5, replicationLag_);
}
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.ClusterStatusProtos.ReplicationLoadSource)) {
return super.equals(obj);
}
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource other = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource) obj;
boolean result = true;
result = result && (hasPeerID() == other.hasPeerID());
if (hasPeerID()) {
result = result && getPeerID()
.equals(other.getPeerID());
}
result = result && (hasAgeOfLastShippedOp() == other.hasAgeOfLastShippedOp());
if (hasAgeOfLastShippedOp()) {
result = result && (getAgeOfLastShippedOp()
== other.getAgeOfLastShippedOp());
}
result = result && (hasSizeOfLogQueue() == other.hasSizeOfLogQueue());
if (hasSizeOfLogQueue()) {
result = result && (getSizeOfLogQueue()
== other.getSizeOfLogQueue());
}
result = result && (hasTimeStampOfLastShippedOp() == other.hasTimeStampOfLastShippedOp());
if (hasTimeStampOfLastShippedOp()) {
result = result && (getTimeStampOfLastShippedOp()
== other.getTimeStampOfLastShippedOp());
}
result = result && (hasReplicationLag() == other.hasReplicationLag());
if (hasReplicationLag()) {
result = result && (getReplicationLag()
== other.getReplicationLag());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasPeerID()) {
hash = (37 * hash) + PEERID_FIELD_NUMBER;
hash = (53 * hash) + getPeerID().hashCode();
}
if (hasAgeOfLastShippedOp()) {
hash = (37 * hash) + AGEOFLASTSHIPPEDOP_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getAgeOfLastShippedOp());
}
if (hasSizeOfLogQueue()) {
hash = (37 * hash) + SIZEOFLOGQUEUE_FIELD_NUMBER;
hash = (53 * hash) + getSizeOfLogQueue();
}
if (hasTimeStampOfLastShippedOp()) {
hash = (37 * hash) + TIMESTAMPOFLASTSHIPPEDOP_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getTimeStampOfLastShippedOp());
}
if (hasReplicationLag()) {
hash = (37 * hash) + REPLICATIONLAG_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getReplicationLag());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hbase.pb.ReplicationLoadSource}
*/
@javax.annotation.Generated("proto") public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSourceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ReplicationLoadSource_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ReplicationLoadSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.Builder.class);
}
// Construct using org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
peerID_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
ageOfLastShippedOp_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
sizeOfLogQueue_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
timeStampOfLastShippedOp_ = 0L;
bitField0_ = (bitField0_ & ~0x00000008);
replicationLag_ = 0L;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ReplicationLoadSource_descriptor;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource getDefaultInstanceForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.getDefaultInstance();
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource build() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource buildPartial() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource result = new org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.peerID_ = peerID_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.ageOfLastShippedOp_ = ageOfLastShippedOp_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.sizeOfLogQueue_ = sizeOfLogQueue_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.timeStampOfLastShippedOp_ = timeStampOfLastShippedOp_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.replicationLag_ = replicationLag_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource) {
return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource other) {
if (other == org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.getDefaultInstance()) return this;
if (other.hasPeerID()) {
bitField0_ |= 0x00000001;
peerID_ = other.peerID_;
onChanged();
}
if (other.hasAgeOfLastShippedOp()) {
setAgeOfLastShippedOp(other.getAgeOfLastShippedOp());
}
if (other.hasSizeOfLogQueue()) {
setSizeOfLogQueue(other.getSizeOfLogQueue());
}
if (other.hasTimeStampOfLastShippedOp()) {
setTimeStampOfLastShippedOp(other.getTimeStampOfLastShippedOp());
}
if (other.hasReplicationLag()) {
setReplicationLag(other.getReplicationLag());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasPeerID()) {
return false;
}
if (!hasAgeOfLastShippedOp()) {
return false;
}
if (!hasSizeOfLogQueue()) {
return false;
}
if (!hasTimeStampOfLastShippedOp()) {
return false;
}
if (!hasReplicationLag()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string peerID = 1;
private java.lang.Object peerID_ = "";
/**
* required string peerID = 1;
*/
public boolean hasPeerID() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string peerID = 1;
*/
public java.lang.String getPeerID() {
java.lang.Object ref = peerID_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
peerID_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string peerID = 1;
*/
public com.google.protobuf.ByteString
getPeerIDBytes() {
java.lang.Object ref = peerID_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
peerID_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string peerID = 1;
*/
public Builder setPeerID(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
peerID_ = value;
onChanged();
return this;
}
/**
* required string peerID = 1;
*/
public Builder clearPeerID() {
bitField0_ = (bitField0_ & ~0x00000001);
peerID_ = getDefaultInstance().getPeerID();
onChanged();
return this;
}
/**
* required string peerID = 1;
*/
public Builder setPeerIDBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
peerID_ = value;
onChanged();
return this;
}
// required uint64 ageOfLastShippedOp = 2;
private long ageOfLastShippedOp_ ;
/**
* required uint64 ageOfLastShippedOp = 2;
*/
public boolean hasAgeOfLastShippedOp() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required uint64 ageOfLastShippedOp = 2;
*/
public long getAgeOfLastShippedOp() {
return ageOfLastShippedOp_;
}
/**
* required uint64 ageOfLastShippedOp = 2;
*/
public Builder setAgeOfLastShippedOp(long value) {
bitField0_ |= 0x00000002;
ageOfLastShippedOp_ = value;
onChanged();
return this;
}
/**
* required uint64 ageOfLastShippedOp = 2;
*/
public Builder clearAgeOfLastShippedOp() {
bitField0_ = (bitField0_ & ~0x00000002);
ageOfLastShippedOp_ = 0L;
onChanged();
return this;
}
// required uint32 sizeOfLogQueue = 3;
private int sizeOfLogQueue_ ;
/**
* required uint32 sizeOfLogQueue = 3;
*/
public boolean hasSizeOfLogQueue() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required uint32 sizeOfLogQueue = 3;
*/
public int getSizeOfLogQueue() {
return sizeOfLogQueue_;
}
/**
* required uint32 sizeOfLogQueue = 3;
*/
public Builder setSizeOfLogQueue(int value) {
bitField0_ |= 0x00000004;
sizeOfLogQueue_ = value;
onChanged();
return this;
}
/**
* required uint32 sizeOfLogQueue = 3;
*/
public Builder clearSizeOfLogQueue() {
bitField0_ = (bitField0_ & ~0x00000004);
sizeOfLogQueue_ = 0;
onChanged();
return this;
}
// required uint64 timeStampOfLastShippedOp = 4;
private long timeStampOfLastShippedOp_ ;
/**
* required uint64 timeStampOfLastShippedOp = 4;
*/
public boolean hasTimeStampOfLastShippedOp() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* required uint64 timeStampOfLastShippedOp = 4;
*/
public long getTimeStampOfLastShippedOp() {
return timeStampOfLastShippedOp_;
}
/**
* required uint64 timeStampOfLastShippedOp = 4;
*/
public Builder setTimeStampOfLastShippedOp(long value) {
bitField0_ |= 0x00000008;
timeStampOfLastShippedOp_ = value;
onChanged();
return this;
}
/**
* required uint64 timeStampOfLastShippedOp = 4;
*/
public Builder clearTimeStampOfLastShippedOp() {
bitField0_ = (bitField0_ & ~0x00000008);
timeStampOfLastShippedOp_ = 0L;
onChanged();
return this;
}
// required uint64 replicationLag = 5;
private long replicationLag_ ;
/**
* required uint64 replicationLag = 5;
*/
public boolean hasReplicationLag() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* required uint64 replicationLag = 5;
*/
public long getReplicationLag() {
return replicationLag_;
}
/**
* required uint64 replicationLag = 5;
*/
public Builder setReplicationLag(long value) {
bitField0_ |= 0x00000010;
replicationLag_ = value;
onChanged();
return this;
}
/**
* required uint64 replicationLag = 5;
*/
public Builder clearReplicationLag() {
bitField0_ = (bitField0_ & ~0x00000010);
replicationLag_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:hbase.pb.ReplicationLoadSource)
}
static {
defaultInstance = new ReplicationLoadSource(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hbase.pb.ReplicationLoadSource)
}
public interface ServerLoadOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional uint64 number_of_requests = 1;
/**
* optional uint64 number_of_requests = 1;
*
*
** Number of requests since last report.
*
*/
boolean hasNumberOfRequests();
/**
* optional uint64 number_of_requests = 1;
*
*
** Number of requests since last report.
*
*/
long getNumberOfRequests();
// optional uint64 total_number_of_requests = 2;
/**
* optional uint64 total_number_of_requests = 2;
*
*
** Total Number of requests from the start of the region server.
*
*/
boolean hasTotalNumberOfRequests();
/**
* optional uint64 total_number_of_requests = 2;
*
*
** Total Number of requests from the start of the region server.
*
*/
long getTotalNumberOfRequests();
// optional uint32 used_heap_MB = 3;
/**
* optional uint32 used_heap_MB = 3;
*
*
** the amount of used heap, in MB.
*
*/
boolean hasUsedHeapMB();
/**
* optional uint32 used_heap_MB = 3;
*
*
** the amount of used heap, in MB.
*
*/
int getUsedHeapMB();
// optional uint32 max_heap_MB = 4;
/**
* optional uint32 max_heap_MB = 4;
*
*
** the maximum allowable size of the heap, in MB.
*
*/
boolean hasMaxHeapMB();
/**
* optional uint32 max_heap_MB = 4;
*
*
** the maximum allowable size of the heap, in MB.
*
*/
int getMaxHeapMB();
// repeated .hbase.pb.RegionLoad region_loads = 5;
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
java.util.List
getRegionLoadsList();
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad getRegionLoads(int index);
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
int getRegionLoadsCount();
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoadOrBuilder>
getRegionLoadsOrBuilderList();
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoadOrBuilder getRegionLoadsOrBuilder(
int index);
// repeated .hbase.pb.Coprocessor coprocessors = 6;
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
java.util.List
getCoprocessorsList();
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor getCoprocessors(int index);
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
int getCoprocessorsCount();
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
java.util.List extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder>
getCoprocessorsOrBuilderList();
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder getCoprocessorsOrBuilder(
int index);
// optional uint64 report_start_time = 7;
/**
* optional uint64 report_start_time = 7;
*
*
**
* 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.
*
*/
boolean hasReportStartTime();
/**
* optional uint64 report_start_time = 7;
*
*
**
* 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.
*
*/
long getReportStartTime();
// optional uint64 report_end_time = 8;
/**
* optional uint64 report_end_time = 8;
*
*
**
* Time when report was generated.
* time is measured as the difference, measured in milliseconds, between the current time
* and midnight, January 1, 1970 UTC.
*
*/
boolean hasReportEndTime();
/**
* optional uint64 report_end_time = 8;
*
*
**
* Time when report was generated.
* time is measured as the difference, measured in milliseconds, between the current time
* and midnight, January 1, 1970 UTC.
*
*/
long getReportEndTime();
// optional uint32 info_server_port = 9;
/**
* optional uint32 info_server_port = 9;
*
*
**
* The port number that this region server is hosing an info server on.
*
*/
boolean hasInfoServerPort();
/**
* optional uint32 info_server_port = 9;
*
*
**
* The port number that this region server is hosing an info server on.
*
*/
int getInfoServerPort();
// repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
java.util.List
getReplLoadSourceList();
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource getReplLoadSource(int index);
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
int getReplLoadSourceCount();
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSourceOrBuilder>
getReplLoadSourceOrBuilderList();
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSourceOrBuilder getReplLoadSourceOrBuilder(
int index);
// optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;
/**
* optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;
*
*
**
* The replicationLoadSink for the replication Sink status of this region server.
*
*/
boolean hasReplLoadSink();
/**
* optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;
*
*
**
* The replicationLoadSink for the replication Sink status of this region server.
*
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink getReplLoadSink();
/**
* optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;
*
*
**
* The replicationLoadSink for the replication Sink status of this region server.
*
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSinkOrBuilder getReplLoadSinkOrBuilder();
// repeated .hbase.pb.UserLoad userLoads = 12;
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
java.util.List
getUserLoadsList();
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad getUserLoads(int index);
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
int getUserLoadsCount();
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoadOrBuilder>
getUserLoadsOrBuilderList();
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoadOrBuilder getUserLoadsOrBuilder(
int index);
}
/**
* Protobuf type {@code hbase.pb.ServerLoad}
*/
@javax.annotation.Generated("proto") public static final class ServerLoad extends
com.google.protobuf.GeneratedMessage
implements ServerLoadOrBuilder {
// Use ServerLoad.newBuilder() to construct.
private ServerLoad(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private ServerLoad(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final ServerLoad defaultInstance;
public static ServerLoad getDefaultInstance() {
return defaultInstance;
}
public ServerLoad getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ServerLoad(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
numberOfRequests_ = input.readUInt64();
break;
}
case 16: {
bitField0_ |= 0x00000002;
totalNumberOfRequests_ = input.readUInt64();
break;
}
case 24: {
bitField0_ |= 0x00000004;
usedHeapMB_ = input.readUInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
maxHeapMB_ = input.readUInt32();
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
regionLoads_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
regionLoads_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.PARSER, extensionRegistry));
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
coprocessors_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
coprocessors_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.PARSER, extensionRegistry));
break;
}
case 56: {
bitField0_ |= 0x00000010;
reportStartTime_ = input.readUInt64();
break;
}
case 64: {
bitField0_ |= 0x00000020;
reportEndTime_ = input.readUInt64();
break;
}
case 72: {
bitField0_ |= 0x00000040;
infoServerPort_ = input.readUInt32();
break;
}
case 82: {
if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
replLoadSource_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000200;
}
replLoadSource_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.PARSER, extensionRegistry));
break;
}
case 90: {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.Builder subBuilder = null;
if (((bitField0_ & 0x00000080) == 0x00000080)) {
subBuilder = replLoadSink_.toBuilder();
}
replLoadSink_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(replLoadSink_);
replLoadSink_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000080;
break;
}
case 98: {
if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
userLoads_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000800;
}
userLoads_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
regionLoads_ = java.util.Collections.unmodifiableList(regionLoads_);
}
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
coprocessors_ = java.util.Collections.unmodifiableList(coprocessors_);
}
if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
replLoadSource_ = java.util.Collections.unmodifiableList(replLoadSource_);
}
if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
userLoads_ = java.util.Collections.unmodifiableList(userLoads_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ServerLoad_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ServerLoad_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public ServerLoad parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ServerLoad(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional uint64 number_of_requests = 1;
public static final int NUMBER_OF_REQUESTS_FIELD_NUMBER = 1;
private long numberOfRequests_;
/**
* optional uint64 number_of_requests = 1;
*
*
** Number of requests since last report.
*
*/
public boolean hasNumberOfRequests() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint64 number_of_requests = 1;
*
*
** Number of requests since last report.
*
*/
public long getNumberOfRequests() {
return numberOfRequests_;
}
// optional uint64 total_number_of_requests = 2;
public static final int TOTAL_NUMBER_OF_REQUESTS_FIELD_NUMBER = 2;
private long totalNumberOfRequests_;
/**
* optional uint64 total_number_of_requests = 2;
*
*
** Total Number of requests from the start of the region server.
*
*/
public boolean hasTotalNumberOfRequests() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint64 total_number_of_requests = 2;
*
*
** Total Number of requests from the start of the region server.
*
*/
public long getTotalNumberOfRequests() {
return totalNumberOfRequests_;
}
// optional uint32 used_heap_MB = 3;
public static final int USED_HEAP_MB_FIELD_NUMBER = 3;
private int usedHeapMB_;
/**
* optional uint32 used_heap_MB = 3;
*
*
** the amount of used heap, in MB.
*
*/
public boolean hasUsedHeapMB() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 used_heap_MB = 3;
*
*
** the amount of used heap, in MB.
*
*/
public int getUsedHeapMB() {
return usedHeapMB_;
}
// optional uint32 max_heap_MB = 4;
public static final int MAX_HEAP_MB_FIELD_NUMBER = 4;
private int maxHeapMB_;
/**
* optional uint32 max_heap_MB = 4;
*
*
** the maximum allowable size of the heap, in MB.
*
*/
public boolean hasMaxHeapMB() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 max_heap_MB = 4;
*
*
** the maximum allowable size of the heap, in MB.
*
*/
public int getMaxHeapMB() {
return maxHeapMB_;
}
// repeated .hbase.pb.RegionLoad region_loads = 5;
public static final int REGION_LOADS_FIELD_NUMBER = 5;
private java.util.List regionLoads_;
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
public java.util.List getRegionLoadsList() {
return regionLoads_;
}
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoadOrBuilder>
getRegionLoadsOrBuilderList() {
return regionLoads_;
}
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
public int getRegionLoadsCount() {
return regionLoads_.size();
}
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad getRegionLoads(int index) {
return regionLoads_.get(index);
}
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoadOrBuilder getRegionLoadsOrBuilder(
int index) {
return regionLoads_.get(index);
}
// repeated .hbase.pb.Coprocessor coprocessors = 6;
public static final int COPROCESSORS_FIELD_NUMBER = 6;
private java.util.List coprocessors_;
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
public java.util.List getCoprocessorsList() {
return coprocessors_;
}
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder>
getCoprocessorsOrBuilderList() {
return coprocessors_;
}
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
public int getCoprocessorsCount() {
return coprocessors_.size();
}
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor getCoprocessors(int index) {
return coprocessors_.get(index);
}
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder getCoprocessorsOrBuilder(
int index) {
return coprocessors_.get(index);
}
// optional uint64 report_start_time = 7;
public static final int REPORT_START_TIME_FIELD_NUMBER = 7;
private long reportStartTime_;
/**
* optional uint64 report_start_time = 7;
*
*
**
* 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.
*
*/
public boolean hasReportStartTime() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint64 report_start_time = 7;
*
*
**
* 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.
*
*/
public long getReportStartTime() {
return reportStartTime_;
}
// optional uint64 report_end_time = 8;
public static final int REPORT_END_TIME_FIELD_NUMBER = 8;
private long reportEndTime_;
/**
* optional uint64 report_end_time = 8;
*
*
**
* Time when report was generated.
* time is measured as the difference, measured in milliseconds, between the current time
* and midnight, January 1, 1970 UTC.
*
*/
public boolean hasReportEndTime() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional uint64 report_end_time = 8;
*
*
**
* Time when report was generated.
* time is measured as the difference, measured in milliseconds, between the current time
* and midnight, January 1, 1970 UTC.
*
*/
public long getReportEndTime() {
return reportEndTime_;
}
// optional uint32 info_server_port = 9;
public static final int INFO_SERVER_PORT_FIELD_NUMBER = 9;
private int infoServerPort_;
/**
* optional uint32 info_server_port = 9;
*
*
**
* The port number that this region server is hosing an info server on.
*
*/
public boolean hasInfoServerPort() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional uint32 info_server_port = 9;
*
*
**
* The port number that this region server is hosing an info server on.
*
*/
public int getInfoServerPort() {
return infoServerPort_;
}
// repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
public static final int REPLLOADSOURCE_FIELD_NUMBER = 10;
private java.util.List replLoadSource_;
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public java.util.List getReplLoadSourceList() {
return replLoadSource_;
}
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSourceOrBuilder>
getReplLoadSourceOrBuilderList() {
return replLoadSource_;
}
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public int getReplLoadSourceCount() {
return replLoadSource_.size();
}
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource getReplLoadSource(int index) {
return replLoadSource_.get(index);
}
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSourceOrBuilder getReplLoadSourceOrBuilder(
int index) {
return replLoadSource_.get(index);
}
// optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;
public static final int REPLLOADSINK_FIELD_NUMBER = 11;
private org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink replLoadSink_;
/**
* optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;
*
*
**
* The replicationLoadSink for the replication Sink status of this region server.
*
*/
public boolean hasReplLoadSink() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;
*
*
**
* The replicationLoadSink for the replication Sink status of this region server.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink getReplLoadSink() {
return replLoadSink_;
}
/**
* optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;
*
*
**
* The replicationLoadSink for the replication Sink status of this region server.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSinkOrBuilder getReplLoadSinkOrBuilder() {
return replLoadSink_;
}
// repeated .hbase.pb.UserLoad userLoads = 12;
public static final int USERLOADS_FIELD_NUMBER = 12;
private java.util.List userLoads_;
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public java.util.List getUserLoadsList() {
return userLoads_;
}
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoadOrBuilder>
getUserLoadsOrBuilderList() {
return userLoads_;
}
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public int getUserLoadsCount() {
return userLoads_.size();
}
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad getUserLoads(int index) {
return userLoads_.get(index);
}
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoadOrBuilder getUserLoadsOrBuilder(
int index) {
return userLoads_.get(index);
}
private void initFields() {
numberOfRequests_ = 0L;
totalNumberOfRequests_ = 0L;
usedHeapMB_ = 0;
maxHeapMB_ = 0;
regionLoads_ = java.util.Collections.emptyList();
coprocessors_ = java.util.Collections.emptyList();
reportStartTime_ = 0L;
reportEndTime_ = 0L;
infoServerPort_ = 0;
replLoadSource_ = java.util.Collections.emptyList();
replLoadSink_ = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.getDefaultInstance();
userLoads_ = 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;
}
}
for (int i = 0; i < getReplLoadSourceCount(); i++) {
if (!getReplLoadSource(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasReplLoadSink()) {
if (!getReplLoadSink().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getUserLoadsCount(); i++) {
if (!getUserLoads(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.writeUInt64(1, numberOfRequests_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt64(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));
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeUInt64(7, reportStartTime_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeUInt64(8, reportEndTime_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeUInt32(9, infoServerPort_);
}
for (int i = 0; i < replLoadSource_.size(); i++) {
output.writeMessage(10, replLoadSource_.get(i));
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeMessage(11, replLoadSink_);
}
for (int i = 0; i < userLoads_.size(); i++) {
output.writeMessage(12, userLoads_.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
.computeUInt64Size(1, numberOfRequests_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(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));
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(7, reportStartTime_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(8, reportEndTime_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, infoServerPort_);
}
for (int i = 0; i < replLoadSource_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, replLoadSource_.get(i));
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, replLoadSink_);
}
for (int i = 0; i < userLoads_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, userLoads_.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.ClusterStatusProtos.ServerLoad)) {
return super.equals(obj);
}
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad other = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad) obj;
boolean result = true;
result = result && (hasNumberOfRequests() == other.hasNumberOfRequests());
if (hasNumberOfRequests()) {
result = result && (getNumberOfRequests()
== other.getNumberOfRequests());
}
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 && (hasReportStartTime() == other.hasReportStartTime());
if (hasReportStartTime()) {
result = result && (getReportStartTime()
== other.getReportStartTime());
}
result = result && (hasReportEndTime() == other.hasReportEndTime());
if (hasReportEndTime()) {
result = result && (getReportEndTime()
== other.getReportEndTime());
}
result = result && (hasInfoServerPort() == other.hasInfoServerPort());
if (hasInfoServerPort()) {
result = result && (getInfoServerPort()
== other.getInfoServerPort());
}
result = result && getReplLoadSourceList()
.equals(other.getReplLoadSourceList());
result = result && (hasReplLoadSink() == other.hasReplLoadSink());
if (hasReplLoadSink()) {
result = result && getReplLoadSink()
.equals(other.getReplLoadSink());
}
result = result && getUserLoadsList()
.equals(other.getUserLoadsList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasNumberOfRequests()) {
hash = (37 * hash) + NUMBER_OF_REQUESTS_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getNumberOfRequests());
}
if (hasTotalNumberOfRequests()) {
hash = (37 * hash) + TOTAL_NUMBER_OF_REQUESTS_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getTotalNumberOfRequests());
}
if (hasUsedHeapMB()) {
hash = (37 * hash) + USED_HEAP_MB_FIELD_NUMBER;
hash = (53 * hash) + getUsedHeapMB();
}
if (hasMaxHeapMB()) {
hash = (37 * hash) + MAX_HEAP_MB_FIELD_NUMBER;
hash = (53 * hash) + getMaxHeapMB();
}
if (getRegionLoadsCount() > 0) {
hash = (37 * hash) + REGION_LOADS_FIELD_NUMBER;
hash = (53 * hash) + getRegionLoadsList().hashCode();
}
if (getCoprocessorsCount() > 0) {
hash = (37 * hash) + COPROCESSORS_FIELD_NUMBER;
hash = (53 * hash) + getCoprocessorsList().hashCode();
}
if (hasReportStartTime()) {
hash = (37 * hash) + REPORT_START_TIME_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getReportStartTime());
}
if (hasReportEndTime()) {
hash = (37 * hash) + REPORT_END_TIME_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getReportEndTime());
}
if (hasInfoServerPort()) {
hash = (37 * hash) + INFO_SERVER_PORT_FIELD_NUMBER;
hash = (53 * hash) + getInfoServerPort();
}
if (getReplLoadSourceCount() > 0) {
hash = (37 * hash) + REPLLOADSOURCE_FIELD_NUMBER;
hash = (53 * hash) + getReplLoadSourceList().hashCode();
}
if (hasReplLoadSink()) {
hash = (37 * hash) + REPLLOADSINK_FIELD_NUMBER;
hash = (53 * hash) + getReplLoadSink().hashCode();
}
if (getUserLoadsCount() > 0) {
hash = (37 * hash) + USERLOADS_FIELD_NUMBER;
hash = (53 * hash) + getUserLoadsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.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;
}
/**
* Protobuf type {@code hbase.pb.ServerLoad}
*/
@javax.annotation.Generated("proto") public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoadOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ServerLoad_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ServerLoad_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.Builder.class);
}
// Construct using org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getRegionLoadsFieldBuilder();
getCoprocessorsFieldBuilder();
getReplLoadSourceFieldBuilder();
getReplLoadSinkFieldBuilder();
getUserLoadsFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
numberOfRequests_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
totalNumberOfRequests_ = 0L;
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();
}
reportStartTime_ = 0L;
bitField0_ = (bitField0_ & ~0x00000040);
reportEndTime_ = 0L;
bitField0_ = (bitField0_ & ~0x00000080);
infoServerPort_ = 0;
bitField0_ = (bitField0_ & ~0x00000100);
if (replLoadSourceBuilder_ == null) {
replLoadSource_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
} else {
replLoadSourceBuilder_.clear();
}
if (replLoadSinkBuilder_ == null) {
replLoadSink_ = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.getDefaultInstance();
} else {
replLoadSinkBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000400);
if (userLoadsBuilder_ == null) {
userLoads_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
} else {
userLoadsBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ServerLoad_descriptor;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad getDefaultInstanceForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.getDefaultInstance();
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad build() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad buildPartial() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad result = new org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.numberOfRequests_ = numberOfRequests_;
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_;
} else {
result.regionLoads_ = regionLoadsBuilder_.build();
}
if (coprocessorsBuilder_ == null) {
if (((bitField0_ & 0x00000020) == 0x00000020)) {
coprocessors_ = java.util.Collections.unmodifiableList(coprocessors_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.coprocessors_ = coprocessors_;
} else {
result.coprocessors_ = coprocessorsBuilder_.build();
}
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000010;
}
result.reportStartTime_ = reportStartTime_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000020;
}
result.reportEndTime_ = reportEndTime_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000040;
}
result.infoServerPort_ = infoServerPort_;
if (replLoadSourceBuilder_ == null) {
if (((bitField0_ & 0x00000200) == 0x00000200)) {
replLoadSource_ = java.util.Collections.unmodifiableList(replLoadSource_);
bitField0_ = (bitField0_ & ~0x00000200);
}
result.replLoadSource_ = replLoadSource_;
} else {
result.replLoadSource_ = replLoadSourceBuilder_.build();
}
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000080;
}
if (replLoadSinkBuilder_ == null) {
result.replLoadSink_ = replLoadSink_;
} else {
result.replLoadSink_ = replLoadSinkBuilder_.build();
}
if (userLoadsBuilder_ == null) {
if (((bitField0_ & 0x00000800) == 0x00000800)) {
userLoads_ = java.util.Collections.unmodifiableList(userLoads_);
bitField0_ = (bitField0_ & ~0x00000800);
}
result.userLoads_ = userLoads_;
} else {
result.userLoads_ = userLoadsBuilder_.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.ClusterStatusProtos.ServerLoad) {
return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad other) {
if (other == org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.getDefaultInstance()) return this;
if (other.hasNumberOfRequests()) {
setNumberOfRequests(other.getNumberOfRequests());
}
if (other.hasTotalNumberOfRequests()) {
setTotalNumberOfRequests(other.getTotalNumberOfRequests());
}
if (other.hasUsedHeapMB()) {
setUsedHeapMB(other.getUsedHeapMB());
}
if (other.hasMaxHeapMB()) {
setMaxHeapMB(other.getMaxHeapMB());
}
if (regionLoadsBuilder_ == null) {
if (!other.regionLoads_.isEmpty()) {
if (regionLoads_.isEmpty()) {
regionLoads_ = other.regionLoads_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureRegionLoadsIsMutable();
regionLoads_.addAll(other.regionLoads_);
}
onChanged();
}
} else {
if (!other.regionLoads_.isEmpty()) {
if (regionLoadsBuilder_.isEmpty()) {
regionLoadsBuilder_.dispose();
regionLoadsBuilder_ = null;
regionLoads_ = other.regionLoads_;
bitField0_ = (bitField0_ & ~0x00000010);
regionLoadsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getRegionLoadsFieldBuilder() : null;
} else {
regionLoadsBuilder_.addAllMessages(other.regionLoads_);
}
}
}
if (coprocessorsBuilder_ == null) {
if (!other.coprocessors_.isEmpty()) {
if (coprocessors_.isEmpty()) {
coprocessors_ = other.coprocessors_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureCoprocessorsIsMutable();
coprocessors_.addAll(other.coprocessors_);
}
onChanged();
}
} else {
if (!other.coprocessors_.isEmpty()) {
if (coprocessorsBuilder_.isEmpty()) {
coprocessorsBuilder_.dispose();
coprocessorsBuilder_ = null;
coprocessors_ = other.coprocessors_;
bitField0_ = (bitField0_ & ~0x00000020);
coprocessorsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getCoprocessorsFieldBuilder() : null;
} else {
coprocessorsBuilder_.addAllMessages(other.coprocessors_);
}
}
}
if (other.hasReportStartTime()) {
setReportStartTime(other.getReportStartTime());
}
if (other.hasReportEndTime()) {
setReportEndTime(other.getReportEndTime());
}
if (other.hasInfoServerPort()) {
setInfoServerPort(other.getInfoServerPort());
}
if (replLoadSourceBuilder_ == null) {
if (!other.replLoadSource_.isEmpty()) {
if (replLoadSource_.isEmpty()) {
replLoadSource_ = other.replLoadSource_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureReplLoadSourceIsMutable();
replLoadSource_.addAll(other.replLoadSource_);
}
onChanged();
}
} else {
if (!other.replLoadSource_.isEmpty()) {
if (replLoadSourceBuilder_.isEmpty()) {
replLoadSourceBuilder_.dispose();
replLoadSourceBuilder_ = null;
replLoadSource_ = other.replLoadSource_;
bitField0_ = (bitField0_ & ~0x00000200);
replLoadSourceBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getReplLoadSourceFieldBuilder() : null;
} else {
replLoadSourceBuilder_.addAllMessages(other.replLoadSource_);
}
}
}
if (other.hasReplLoadSink()) {
mergeReplLoadSink(other.getReplLoadSink());
}
if (userLoadsBuilder_ == null) {
if (!other.userLoads_.isEmpty()) {
if (userLoads_.isEmpty()) {
userLoads_ = other.userLoads_;
bitField0_ = (bitField0_ & ~0x00000800);
} else {
ensureUserLoadsIsMutable();
userLoads_.addAll(other.userLoads_);
}
onChanged();
}
} else {
if (!other.userLoads_.isEmpty()) {
if (userLoadsBuilder_.isEmpty()) {
userLoadsBuilder_.dispose();
userLoadsBuilder_ = null;
userLoads_ = other.userLoads_;
bitField0_ = (bitField0_ & ~0x00000800);
userLoadsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getUserLoadsFieldBuilder() : null;
} else {
userLoadsBuilder_.addAllMessages(other.userLoads_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getRegionLoadsCount(); i++) {
if (!getRegionLoads(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getCoprocessorsCount(); i++) {
if (!getCoprocessors(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getReplLoadSourceCount(); i++) {
if (!getReplLoadSource(i).isInitialized()) {
return false;
}
}
if (hasReplLoadSink()) {
if (!getReplLoadSink().isInitialized()) {
return false;
}
}
for (int i = 0; i < getUserLoadsCount(); i++) {
if (!getUserLoads(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional uint64 number_of_requests = 1;
private long numberOfRequests_ ;
/**
* optional uint64 number_of_requests = 1;
*
*
** Number of requests since last report.
*
*/
public boolean hasNumberOfRequests() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint64 number_of_requests = 1;
*
*
** Number of requests since last report.
*
*/
public long getNumberOfRequests() {
return numberOfRequests_;
}
/**
* optional uint64 number_of_requests = 1;
*
*
** Number of requests since last report.
*
*/
public Builder setNumberOfRequests(long value) {
bitField0_ |= 0x00000001;
numberOfRequests_ = value;
onChanged();
return this;
}
/**
* optional uint64 number_of_requests = 1;
*
*
** Number of requests since last report.
*
*/
public Builder clearNumberOfRequests() {
bitField0_ = (bitField0_ & ~0x00000001);
numberOfRequests_ = 0L;
onChanged();
return this;
}
// optional uint64 total_number_of_requests = 2;
private long totalNumberOfRequests_ ;
/**
* optional uint64 total_number_of_requests = 2;
*
*
** Total Number of requests from the start of the region server.
*
*/
public boolean hasTotalNumberOfRequests() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint64 total_number_of_requests = 2;
*
*
** Total Number of requests from the start of the region server.
*
*/
public long getTotalNumberOfRequests() {
return totalNumberOfRequests_;
}
/**
* optional uint64 total_number_of_requests = 2;
*
*
** Total Number of requests from the start of the region server.
*
*/
public Builder setTotalNumberOfRequests(long value) {
bitField0_ |= 0x00000002;
totalNumberOfRequests_ = value;
onChanged();
return this;
}
/**
* optional uint64 total_number_of_requests = 2;
*
*
** Total Number of requests from the start of the region server.
*
*/
public Builder clearTotalNumberOfRequests() {
bitField0_ = (bitField0_ & ~0x00000002);
totalNumberOfRequests_ = 0L;
onChanged();
return this;
}
// optional uint32 used_heap_MB = 3;
private int usedHeapMB_ ;
/**
* optional uint32 used_heap_MB = 3;
*
*
** the amount of used heap, in MB.
*
*/
public boolean hasUsedHeapMB() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 used_heap_MB = 3;
*
*
** the amount of used heap, in MB.
*
*/
public int getUsedHeapMB() {
return usedHeapMB_;
}
/**
* optional uint32 used_heap_MB = 3;
*
*
** the amount of used heap, in MB.
*
*/
public Builder setUsedHeapMB(int value) {
bitField0_ |= 0x00000004;
usedHeapMB_ = value;
onChanged();
return this;
}
/**
* optional uint32 used_heap_MB = 3;
*
*
** the amount of used heap, in MB.
*
*/
public Builder clearUsedHeapMB() {
bitField0_ = (bitField0_ & ~0x00000004);
usedHeapMB_ = 0;
onChanged();
return this;
}
// optional uint32 max_heap_MB = 4;
private int maxHeapMB_ ;
/**
* optional uint32 max_heap_MB = 4;
*
*
** the maximum allowable size of the heap, in MB.
*
*/
public boolean hasMaxHeapMB() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 max_heap_MB = 4;
*
*
** the maximum allowable size of the heap, in MB.
*
*/
public int getMaxHeapMB() {
return maxHeapMB_;
}
/**
* optional uint32 max_heap_MB = 4;
*
*
** the maximum allowable size of the heap, in MB.
*
*/
public Builder setMaxHeapMB(int value) {
bitField0_ |= 0x00000008;
maxHeapMB_ = value;
onChanged();
return this;
}
/**
* optional uint32 max_heap_MB = 4;
*
*
** the maximum allowable size of the heap, in MB.
*
*/
public Builder clearMaxHeapMB() {
bitField0_ = (bitField0_ & ~0x00000008);
maxHeapMB_ = 0;
onChanged();
return this;
}
// repeated .hbase.pb.RegionLoad region_loads = 5;
private java.util.List regionLoads_ =
java.util.Collections.emptyList();
private void ensureRegionLoadsIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
regionLoads_ = new java.util.ArrayList(regionLoads_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoadOrBuilder> regionLoadsBuilder_;
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
public java.util.List getRegionLoadsList() {
if (regionLoadsBuilder_ == null) {
return java.util.Collections.unmodifiableList(regionLoads_);
} else {
return regionLoadsBuilder_.getMessageList();
}
}
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
public int getRegionLoadsCount() {
if (regionLoadsBuilder_ == null) {
return regionLoads_.size();
} else {
return regionLoadsBuilder_.getCount();
}
}
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad getRegionLoads(int index) {
if (regionLoadsBuilder_ == null) {
return regionLoads_.get(index);
} else {
return regionLoadsBuilder_.getMessage(index);
}
}
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
public Builder setRegionLoads(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad value) {
if (regionLoadsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRegionLoadsIsMutable();
regionLoads_.set(index, value);
onChanged();
} else {
regionLoadsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
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;
}
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
public Builder addRegionLoads(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad value) {
if (regionLoadsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRegionLoadsIsMutable();
regionLoads_.add(value);
onChanged();
} else {
regionLoadsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
public Builder addRegionLoads(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad value) {
if (regionLoadsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRegionLoadsIsMutable();
regionLoads_.add(index, value);
onChanged();
} else {
regionLoadsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
public Builder addRegionLoads(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.Builder builderForValue) {
if (regionLoadsBuilder_ == null) {
ensureRegionLoadsIsMutable();
regionLoads_.add(builderForValue.build());
onChanged();
} else {
regionLoadsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
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;
}
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
public Builder addAllRegionLoads(
java.lang.Iterable extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad> values) {
if (regionLoadsBuilder_ == null) {
ensureRegionLoadsIsMutable();
super.addAll(values, regionLoads_);
onChanged();
} else {
regionLoadsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
public Builder clearRegionLoads() {
if (regionLoadsBuilder_ == null) {
regionLoads_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
regionLoadsBuilder_.clear();
}
return this;
}
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
public Builder removeRegionLoads(int index) {
if (regionLoadsBuilder_ == null) {
ensureRegionLoadsIsMutable();
regionLoads_.remove(index);
onChanged();
} else {
regionLoadsBuilder_.remove(index);
}
return this;
}
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.Builder getRegionLoadsBuilder(
int index) {
return getRegionLoadsFieldBuilder().getBuilder(index);
}
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoadOrBuilder getRegionLoadsOrBuilder(
int index) {
if (regionLoadsBuilder_ == null) {
return regionLoads_.get(index); } else {
return regionLoadsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoadOrBuilder>
getRegionLoadsOrBuilderList() {
if (regionLoadsBuilder_ != null) {
return regionLoadsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(regionLoads_);
}
}
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.Builder addRegionLoadsBuilder() {
return getRegionLoadsFieldBuilder().addBuilder(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.getDefaultInstance());
}
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.Builder addRegionLoadsBuilder(
int index) {
return getRegionLoadsFieldBuilder().addBuilder(
index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.getDefaultInstance());
}
/**
* repeated .hbase.pb.RegionLoad region_loads = 5;
*
*
** Information on the load of individual regions.
*
*/
public java.util.List
getRegionLoadsBuilderList() {
return getRegionLoadsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoadOrBuilder>
getRegionLoadsFieldBuilder() {
if (regionLoadsBuilder_ == null) {
regionLoadsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoadOrBuilder>(
regionLoads_,
((bitField0_ & 0x00000010) == 0x00000010),
getParentForChildren(),
isClean());
regionLoads_ = null;
}
return regionLoadsBuilder_;
}
// repeated .hbase.pb.Coprocessor coprocessors = 6;
private java.util.List coprocessors_ =
java.util.Collections.emptyList();
private void ensureCoprocessorsIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
coprocessors_ = new java.util.ArrayList(coprocessors_);
bitField0_ |= 0x00000020;
}
}
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_;
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
public java.util.List getCoprocessorsList() {
if (coprocessorsBuilder_ == null) {
return java.util.Collections.unmodifiableList(coprocessors_);
} else {
return coprocessorsBuilder_.getMessageList();
}
}
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
public int getCoprocessorsCount() {
if (coprocessorsBuilder_ == null) {
return coprocessors_.size();
} else {
return coprocessorsBuilder_.getCount();
}
}
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor getCoprocessors(int index) {
if (coprocessorsBuilder_ == null) {
return coprocessors_.get(index);
} else {
return coprocessorsBuilder_.getMessage(index);
}
}
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
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;
}
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
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;
}
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
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;
}
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
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;
}
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
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;
}
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
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;
}
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
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;
}
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
public Builder clearCoprocessors() {
if (coprocessorsBuilder_ == null) {
coprocessors_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
coprocessorsBuilder_.clear();
}
return this;
}
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
public Builder removeCoprocessors(int index) {
if (coprocessorsBuilder_ == null) {
ensureCoprocessorsIsMutable();
coprocessors_.remove(index);
onChanged();
} else {
coprocessorsBuilder_.remove(index);
}
return this;
}
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.Builder getCoprocessorsBuilder(
int index) {
return getCoprocessorsFieldBuilder().getBuilder(index);
}
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder getCoprocessorsOrBuilder(
int index) {
if (coprocessorsBuilder_ == null) {
return coprocessors_.get(index); } else {
return coprocessorsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
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_);
}
}
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.Builder addCoprocessorsBuilder() {
return getCoprocessorsFieldBuilder().addBuilder(
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.getDefaultInstance());
}
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
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());
}
/**
* repeated .hbase.pb.Coprocessor coprocessors = 6;
*
*
**
* Regionserver-level coprocessors, e.g., WALObserver implementations.
* Region-level coprocessors, on the other hand, are stored inside RegionLoad
* objects.
*
*/
public java.util.List
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_ & 0x00000020) == 0x00000020),
getParentForChildren(),
isClean());
coprocessors_ = null;
}
return coprocessorsBuilder_;
}
// optional uint64 report_start_time = 7;
private long reportStartTime_ ;
/**
* optional uint64 report_start_time = 7;
*
*
**
* 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.
*
*/
public boolean hasReportStartTime() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional uint64 report_start_time = 7;
*
*
**
* 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.
*
*/
public long getReportStartTime() {
return reportStartTime_;
}
/**
* optional uint64 report_start_time = 7;
*
*
**
* 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.
*
*/
public Builder setReportStartTime(long value) {
bitField0_ |= 0x00000040;
reportStartTime_ = value;
onChanged();
return this;
}
/**
* optional uint64 report_start_time = 7;
*
*
**
* 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.
*
*/
public Builder clearReportStartTime() {
bitField0_ = (bitField0_ & ~0x00000040);
reportStartTime_ = 0L;
onChanged();
return this;
}
// optional uint64 report_end_time = 8;
private long reportEndTime_ ;
/**
* optional uint64 report_end_time = 8;
*
*
**
* Time when report was generated.
* time is measured as the difference, measured in milliseconds, between the current time
* and midnight, January 1, 1970 UTC.
*
*/
public boolean hasReportEndTime() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional uint64 report_end_time = 8;
*
*
**
* Time when report was generated.
* time is measured as the difference, measured in milliseconds, between the current time
* and midnight, January 1, 1970 UTC.
*
*/
public long getReportEndTime() {
return reportEndTime_;
}
/**
* optional uint64 report_end_time = 8;
*
*
**
* Time when report was generated.
* time is measured as the difference, measured in milliseconds, between the current time
* and midnight, January 1, 1970 UTC.
*
*/
public Builder setReportEndTime(long value) {
bitField0_ |= 0x00000080;
reportEndTime_ = value;
onChanged();
return this;
}
/**
* optional uint64 report_end_time = 8;
*
*
**
* Time when report was generated.
* time is measured as the difference, measured in milliseconds, between the current time
* and midnight, January 1, 1970 UTC.
*
*/
public Builder clearReportEndTime() {
bitField0_ = (bitField0_ & ~0x00000080);
reportEndTime_ = 0L;
onChanged();
return this;
}
// optional uint32 info_server_port = 9;
private int infoServerPort_ ;
/**
* optional uint32 info_server_port = 9;
*
*
**
* The port number that this region server is hosing an info server on.
*
*/
public boolean hasInfoServerPort() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional uint32 info_server_port = 9;
*
*
**
* The port number that this region server is hosing an info server on.
*
*/
public int getInfoServerPort() {
return infoServerPort_;
}
/**
* optional uint32 info_server_port = 9;
*
*
**
* The port number that this region server is hosing an info server on.
*
*/
public Builder setInfoServerPort(int value) {
bitField0_ |= 0x00000100;
infoServerPort_ = value;
onChanged();
return this;
}
/**
* optional uint32 info_server_port = 9;
*
*
**
* The port number that this region server is hosing an info server on.
*
*/
public Builder clearInfoServerPort() {
bitField0_ = (bitField0_ & ~0x00000100);
infoServerPort_ = 0;
onChanged();
return this;
}
// repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
private java.util.List replLoadSource_ =
java.util.Collections.emptyList();
private void ensureReplLoadSourceIsMutable() {
if (!((bitField0_ & 0x00000200) == 0x00000200)) {
replLoadSource_ = new java.util.ArrayList(replLoadSource_);
bitField0_ |= 0x00000200;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSourceOrBuilder> replLoadSourceBuilder_;
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public java.util.List getReplLoadSourceList() {
if (replLoadSourceBuilder_ == null) {
return java.util.Collections.unmodifiableList(replLoadSource_);
} else {
return replLoadSourceBuilder_.getMessageList();
}
}
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public int getReplLoadSourceCount() {
if (replLoadSourceBuilder_ == null) {
return replLoadSource_.size();
} else {
return replLoadSourceBuilder_.getCount();
}
}
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource getReplLoadSource(int index) {
if (replLoadSourceBuilder_ == null) {
return replLoadSource_.get(index);
} else {
return replLoadSourceBuilder_.getMessage(index);
}
}
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public Builder setReplLoadSource(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource value) {
if (replLoadSourceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReplLoadSourceIsMutable();
replLoadSource_.set(index, value);
onChanged();
} else {
replLoadSourceBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public Builder setReplLoadSource(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.Builder builderForValue) {
if (replLoadSourceBuilder_ == null) {
ensureReplLoadSourceIsMutable();
replLoadSource_.set(index, builderForValue.build());
onChanged();
} else {
replLoadSourceBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public Builder addReplLoadSource(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource value) {
if (replLoadSourceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReplLoadSourceIsMutable();
replLoadSource_.add(value);
onChanged();
} else {
replLoadSourceBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public Builder addReplLoadSource(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource value) {
if (replLoadSourceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureReplLoadSourceIsMutable();
replLoadSource_.add(index, value);
onChanged();
} else {
replLoadSourceBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public Builder addReplLoadSource(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.Builder builderForValue) {
if (replLoadSourceBuilder_ == null) {
ensureReplLoadSourceIsMutable();
replLoadSource_.add(builderForValue.build());
onChanged();
} else {
replLoadSourceBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public Builder addReplLoadSource(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.Builder builderForValue) {
if (replLoadSourceBuilder_ == null) {
ensureReplLoadSourceIsMutable();
replLoadSource_.add(index, builderForValue.build());
onChanged();
} else {
replLoadSourceBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public Builder addAllReplLoadSource(
java.lang.Iterable extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource> values) {
if (replLoadSourceBuilder_ == null) {
ensureReplLoadSourceIsMutable();
super.addAll(values, replLoadSource_);
onChanged();
} else {
replLoadSourceBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public Builder clearReplLoadSource() {
if (replLoadSourceBuilder_ == null) {
replLoadSource_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
} else {
replLoadSourceBuilder_.clear();
}
return this;
}
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public Builder removeReplLoadSource(int index) {
if (replLoadSourceBuilder_ == null) {
ensureReplLoadSourceIsMutable();
replLoadSource_.remove(index);
onChanged();
} else {
replLoadSourceBuilder_.remove(index);
}
return this;
}
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.Builder getReplLoadSourceBuilder(
int index) {
return getReplLoadSourceFieldBuilder().getBuilder(index);
}
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSourceOrBuilder getReplLoadSourceOrBuilder(
int index) {
if (replLoadSourceBuilder_ == null) {
return replLoadSource_.get(index); } else {
return replLoadSourceBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSourceOrBuilder>
getReplLoadSourceOrBuilderList() {
if (replLoadSourceBuilder_ != null) {
return replLoadSourceBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(replLoadSource_);
}
}
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.Builder addReplLoadSourceBuilder() {
return getReplLoadSourceFieldBuilder().addBuilder(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.getDefaultInstance());
}
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.Builder addReplLoadSourceBuilder(
int index) {
return getReplLoadSourceFieldBuilder().addBuilder(
index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.getDefaultInstance());
}
/**
* repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10;
*
*
**
* The replicationLoadSource for the replication Source status of this region server.
*
*/
public java.util.List
getReplLoadSourceBuilderList() {
return getReplLoadSourceFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSourceOrBuilder>
getReplLoadSourceFieldBuilder() {
if (replLoadSourceBuilder_ == null) {
replLoadSourceBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSourceOrBuilder>(
replLoadSource_,
((bitField0_ & 0x00000200) == 0x00000200),
getParentForChildren(),
isClean());
replLoadSource_ = null;
}
return replLoadSourceBuilder_;
}
// optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;
private org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink replLoadSink_ = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSinkOrBuilder> replLoadSinkBuilder_;
/**
* optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;
*
*
**
* The replicationLoadSink for the replication Sink status of this region server.
*
*/
public boolean hasReplLoadSink() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;
*
*
**
* The replicationLoadSink for the replication Sink status of this region server.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink getReplLoadSink() {
if (replLoadSinkBuilder_ == null) {
return replLoadSink_;
} else {
return replLoadSinkBuilder_.getMessage();
}
}
/**
* optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;
*
*
**
* The replicationLoadSink for the replication Sink status of this region server.
*
*/
public Builder setReplLoadSink(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink value) {
if (replLoadSinkBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
replLoadSink_ = value;
onChanged();
} else {
replLoadSinkBuilder_.setMessage(value);
}
bitField0_ |= 0x00000400;
return this;
}
/**
* optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;
*
*
**
* The replicationLoadSink for the replication Sink status of this region server.
*
*/
public Builder setReplLoadSink(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.Builder builderForValue) {
if (replLoadSinkBuilder_ == null) {
replLoadSink_ = builderForValue.build();
onChanged();
} else {
replLoadSinkBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000400;
return this;
}
/**
* optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;
*
*
**
* The replicationLoadSink for the replication Sink status of this region server.
*
*/
public Builder mergeReplLoadSink(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink value) {
if (replLoadSinkBuilder_ == null) {
if (((bitField0_ & 0x00000400) == 0x00000400) &&
replLoadSink_ != org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.getDefaultInstance()) {
replLoadSink_ =
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.newBuilder(replLoadSink_).mergeFrom(value).buildPartial();
} else {
replLoadSink_ = value;
}
onChanged();
} else {
replLoadSinkBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000400;
return this;
}
/**
* optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;
*
*
**
* The replicationLoadSink for the replication Sink status of this region server.
*
*/
public Builder clearReplLoadSink() {
if (replLoadSinkBuilder_ == null) {
replLoadSink_ = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.getDefaultInstance();
onChanged();
} else {
replLoadSinkBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000400);
return this;
}
/**
* optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;
*
*
**
* The replicationLoadSink for the replication Sink status of this region server.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.Builder getReplLoadSinkBuilder() {
bitField0_ |= 0x00000400;
onChanged();
return getReplLoadSinkFieldBuilder().getBuilder();
}
/**
* optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;
*
*
**
* The replicationLoadSink for the replication Sink status of this region server.
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSinkOrBuilder getReplLoadSinkOrBuilder() {
if (replLoadSinkBuilder_ != null) {
return replLoadSinkBuilder_.getMessageOrBuilder();
} else {
return replLoadSink_;
}
}
/**
* optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;
*
*
**
* The replicationLoadSink for the replication Sink status of this region server.
*
*/
private com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSinkOrBuilder>
getReplLoadSinkFieldBuilder() {
if (replLoadSinkBuilder_ == null) {
replLoadSinkBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSinkOrBuilder>(
replLoadSink_,
getParentForChildren(),
isClean());
replLoadSink_ = null;
}
return replLoadSinkBuilder_;
}
// repeated .hbase.pb.UserLoad userLoads = 12;
private java.util.List userLoads_ =
java.util.Collections.emptyList();
private void ensureUserLoadsIsMutable() {
if (!((bitField0_ & 0x00000800) == 0x00000800)) {
userLoads_ = new java.util.ArrayList(userLoads_);
bitField0_ |= 0x00000800;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoadOrBuilder> userLoadsBuilder_;
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public java.util.List getUserLoadsList() {
if (userLoadsBuilder_ == null) {
return java.util.Collections.unmodifiableList(userLoads_);
} else {
return userLoadsBuilder_.getMessageList();
}
}
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public int getUserLoadsCount() {
if (userLoadsBuilder_ == null) {
return userLoads_.size();
} else {
return userLoadsBuilder_.getCount();
}
}
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad getUserLoads(int index) {
if (userLoadsBuilder_ == null) {
return userLoads_.get(index);
} else {
return userLoadsBuilder_.getMessage(index);
}
}
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public Builder setUserLoads(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad value) {
if (userLoadsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUserLoadsIsMutable();
userLoads_.set(index, value);
onChanged();
} else {
userLoadsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public Builder setUserLoads(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad.Builder builderForValue) {
if (userLoadsBuilder_ == null) {
ensureUserLoadsIsMutable();
userLoads_.set(index, builderForValue.build());
onChanged();
} else {
userLoadsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public Builder addUserLoads(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad value) {
if (userLoadsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUserLoadsIsMutable();
userLoads_.add(value);
onChanged();
} else {
userLoadsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public Builder addUserLoads(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad value) {
if (userLoadsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUserLoadsIsMutable();
userLoads_.add(index, value);
onChanged();
} else {
userLoadsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public Builder addUserLoads(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad.Builder builderForValue) {
if (userLoadsBuilder_ == null) {
ensureUserLoadsIsMutable();
userLoads_.add(builderForValue.build());
onChanged();
} else {
userLoadsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public Builder addUserLoads(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad.Builder builderForValue) {
if (userLoadsBuilder_ == null) {
ensureUserLoadsIsMutable();
userLoads_.add(index, builderForValue.build());
onChanged();
} else {
userLoadsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public Builder addAllUserLoads(
java.lang.Iterable extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad> values) {
if (userLoadsBuilder_ == null) {
ensureUserLoadsIsMutable();
super.addAll(values, userLoads_);
onChanged();
} else {
userLoadsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public Builder clearUserLoads() {
if (userLoadsBuilder_ == null) {
userLoads_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
} else {
userLoadsBuilder_.clear();
}
return this;
}
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public Builder removeUserLoads(int index) {
if (userLoadsBuilder_ == null) {
ensureUserLoadsIsMutable();
userLoads_.remove(index);
onChanged();
} else {
userLoadsBuilder_.remove(index);
}
return this;
}
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad.Builder getUserLoadsBuilder(
int index) {
return getUserLoadsFieldBuilder().getBuilder(index);
}
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoadOrBuilder getUserLoadsOrBuilder(
int index) {
if (userLoadsBuilder_ == null) {
return userLoads_.get(index); } else {
return userLoadsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoadOrBuilder>
getUserLoadsOrBuilderList() {
if (userLoadsBuilder_ != null) {
return userLoadsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(userLoads_);
}
}
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad.Builder addUserLoadsBuilder() {
return getUserLoadsFieldBuilder().addBuilder(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad.getDefaultInstance());
}
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad.Builder addUserLoadsBuilder(
int index) {
return getUserLoadsFieldBuilder().addBuilder(
index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad.getDefaultInstance());
}
/**
* repeated .hbase.pb.UserLoad userLoads = 12;
*
*
**
* The metrics for each user on this region server
*
*/
public java.util.List
getUserLoadsBuilderList() {
return getUserLoadsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoadOrBuilder>
getUserLoadsFieldBuilder() {
if (userLoadsBuilder_ == null) {
userLoadsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoad.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.UserLoadOrBuilder>(
userLoads_,
((bitField0_ & 0x00000800) == 0x00000800),
getParentForChildren(),
isClean());
userLoads_ = null;
}
return userLoadsBuilder_;
}
// @@protoc_insertion_point(builder_scope:hbase.pb.ServerLoad)
}
static {
defaultInstance = new ServerLoad(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hbase.pb.ServerLoad)
}
public interface LiveServerInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required .hbase.pb.ServerName server = 1;
/**
* required .hbase.pb.ServerName server = 1;
*/
boolean hasServer();
/**
* required .hbase.pb.ServerName server = 1;
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName getServer();
/**
* required .hbase.pb.ServerName server = 1;
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getServerOrBuilder();
// required .hbase.pb.ServerLoad server_load = 2;
/**
* required .hbase.pb.ServerLoad server_load = 2;
*/
boolean hasServerLoad();
/**
* required .hbase.pb.ServerLoad server_load = 2;
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad getServerLoad();
/**
* required .hbase.pb.ServerLoad server_load = 2;
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoadOrBuilder getServerLoadOrBuilder();
}
/**
* Protobuf type {@code hbase.pb.LiveServerInfo}
*/
@javax.annotation.Generated("proto") public static final class LiveServerInfo extends
com.google.protobuf.GeneratedMessage
implements LiveServerInfoOrBuilder {
// Use LiveServerInfo.newBuilder() to construct.
private LiveServerInfo(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private LiveServerInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final LiveServerInfo defaultInstance;
public static LiveServerInfo getDefaultInstance() {
return defaultInstance;
}
public LiveServerInfo getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LiveServerInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = server_.toBuilder();
}
server_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(server_);
server_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = serverLoad_.toBuilder();
}
serverLoad_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(serverLoad_);
serverLoad_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_LiveServerInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_LiveServerInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public LiveServerInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LiveServerInfo(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required .hbase.pb.ServerName server = 1;
public static final int SERVER_FIELD_NUMBER = 1;
private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName server_;
/**
* required .hbase.pb.ServerName server = 1;
*/
public boolean hasServer() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .hbase.pb.ServerName server = 1;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName getServer() {
return server_;
}
/**
* required .hbase.pb.ServerName server = 1;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getServerOrBuilder() {
return server_;
}
// required .hbase.pb.ServerLoad server_load = 2;
public static final int SERVER_LOAD_FIELD_NUMBER = 2;
private org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad serverLoad_;
/**
* required .hbase.pb.ServerLoad server_load = 2;
*/
public boolean hasServerLoad() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .hbase.pb.ServerLoad server_load = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad getServerLoad() {
return serverLoad_;
}
/**
* required .hbase.pb.ServerLoad server_load = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoadOrBuilder getServerLoadOrBuilder() {
return serverLoad_;
}
private void initFields() {
server_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance();
serverLoad_ = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasServer()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasServerLoad()) {
memoizedIsInitialized = 0;
return false;
}
if (!getServer().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
if (!getServerLoad().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.writeMessage(1, server_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, serverLoad_);
}
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
.computeMessageSize(1, server_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, serverLoad_);
}
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.ClusterStatusProtos.LiveServerInfo)) {
return super.equals(obj);
}
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo other = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo) obj;
boolean result = true;
result = result && (hasServer() == other.hasServer());
if (hasServer()) {
result = result && getServer()
.equals(other.getServer());
}
result = result && (hasServerLoad() == other.hasServerLoad());
if (hasServerLoad()) {
result = result && getServerLoad()
.equals(other.getServerLoad());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasServer()) {
hash = (37 * hash) + SERVER_FIELD_NUMBER;
hash = (53 * hash) + getServer().hashCode();
}
if (hasServerLoad()) {
hash = (37 * hash) + SERVER_LOAD_FIELD_NUMBER;
hash = (53 * hash) + getServerLoad().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hbase.pb.LiveServerInfo}
*/
@javax.annotation.Generated("proto") public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_LiveServerInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_LiveServerInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo.Builder.class);
}
// Construct using org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getServerFieldBuilder();
getServerLoadFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (serverBuilder_ == null) {
server_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance();
} else {
serverBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (serverLoadBuilder_ == null) {
serverLoad_ = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.getDefaultInstance();
} else {
serverLoadBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_LiveServerInfo_descriptor;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo getDefaultInstanceForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo.getDefaultInstance();
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo build() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo buildPartial() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo result = new org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (serverBuilder_ == null) {
result.server_ = server_;
} else {
result.server_ = serverBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (serverLoadBuilder_ == null) {
result.serverLoad_ = serverLoad_;
} else {
result.serverLoad_ = serverLoadBuilder_.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.ClusterStatusProtos.LiveServerInfo) {
return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo other) {
if (other == org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo.getDefaultInstance()) return this;
if (other.hasServer()) {
mergeServer(other.getServer());
}
if (other.hasServerLoad()) {
mergeServerLoad(other.getServerLoad());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasServer()) {
return false;
}
if (!hasServerLoad()) {
return false;
}
if (!getServer().isInitialized()) {
return false;
}
if (!getServerLoad().isInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required .hbase.pb.ServerName server = 1;
private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName server_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder> serverBuilder_;
/**
* required .hbase.pb.ServerName server = 1;
*/
public boolean hasServer() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .hbase.pb.ServerName server = 1;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName getServer() {
if (serverBuilder_ == null) {
return server_;
} else {
return serverBuilder_.getMessage();
}
}
/**
* required .hbase.pb.ServerName server = 1;
*/
public Builder setServer(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName value) {
if (serverBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
server_ = value;
onChanged();
} else {
serverBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .hbase.pb.ServerName server = 1;
*/
public Builder setServer(
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder builderForValue) {
if (serverBuilder_ == null) {
server_ = builderForValue.build();
onChanged();
} else {
serverBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .hbase.pb.ServerName server = 1;
*/
public Builder mergeServer(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName value) {
if (serverBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
server_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance()) {
server_ =
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.newBuilder(server_).mergeFrom(value).buildPartial();
} else {
server_ = value;
}
onChanged();
} else {
serverBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .hbase.pb.ServerName server = 1;
*/
public Builder clearServer() {
if (serverBuilder_ == null) {
server_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance();
onChanged();
} else {
serverBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .hbase.pb.ServerName server = 1;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder getServerBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getServerFieldBuilder().getBuilder();
}
/**
* required .hbase.pb.ServerName server = 1;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getServerOrBuilder() {
if (serverBuilder_ != null) {
return serverBuilder_.getMessageOrBuilder();
} else {
return server_;
}
}
/**
* required .hbase.pb.ServerName server = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>
getServerFieldBuilder() {
if (serverBuilder_ == null) {
serverBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>(
server_,
getParentForChildren(),
isClean());
server_ = null;
}
return serverBuilder_;
}
// required .hbase.pb.ServerLoad server_load = 2;
private org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad serverLoad_ = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoadOrBuilder> serverLoadBuilder_;
/**
* required .hbase.pb.ServerLoad server_load = 2;
*/
public boolean hasServerLoad() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .hbase.pb.ServerLoad server_load = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad getServerLoad() {
if (serverLoadBuilder_ == null) {
return serverLoad_;
} else {
return serverLoadBuilder_.getMessage();
}
}
/**
* required .hbase.pb.ServerLoad server_load = 2;
*/
public Builder setServerLoad(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad value) {
if (serverLoadBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
serverLoad_ = value;
onChanged();
} else {
serverLoadBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* required .hbase.pb.ServerLoad server_load = 2;
*/
public Builder setServerLoad(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.Builder builderForValue) {
if (serverLoadBuilder_ == null) {
serverLoad_ = builderForValue.build();
onChanged();
} else {
serverLoadBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* required .hbase.pb.ServerLoad server_load = 2;
*/
public Builder mergeServerLoad(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad value) {
if (serverLoadBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
serverLoad_ != org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.getDefaultInstance()) {
serverLoad_ =
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.newBuilder(serverLoad_).mergeFrom(value).buildPartial();
} else {
serverLoad_ = value;
}
onChanged();
} else {
serverLoadBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* required .hbase.pb.ServerLoad server_load = 2;
*/
public Builder clearServerLoad() {
if (serverLoadBuilder_ == null) {
serverLoad_ = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.getDefaultInstance();
onChanged();
} else {
serverLoadBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* required .hbase.pb.ServerLoad server_load = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.Builder getServerLoadBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getServerLoadFieldBuilder().getBuilder();
}
/**
* required .hbase.pb.ServerLoad server_load = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoadOrBuilder getServerLoadOrBuilder() {
if (serverLoadBuilder_ != null) {
return serverLoadBuilder_.getMessageOrBuilder();
} else {
return serverLoad_;
}
}
/**
* required .hbase.pb.ServerLoad server_load = 2;
*/
private com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoadOrBuilder>
getServerLoadFieldBuilder() {
if (serverLoadBuilder_ == null) {
serverLoadBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoadOrBuilder>(
serverLoad_,
getParentForChildren(),
isClean());
serverLoad_ = null;
}
return serverLoadBuilder_;
}
// @@protoc_insertion_point(builder_scope:hbase.pb.LiveServerInfo)
}
static {
defaultInstance = new LiveServerInfo(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hbase.pb.LiveServerInfo)
}
public interface ClusterStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional .hbase.pb.HBaseVersionFileContent hbase_version = 1;
/**
* optional .hbase.pb.HBaseVersionFileContent hbase_version = 1;
*/
boolean hasHbaseVersion();
/**
* optional .hbase.pb.HBaseVersionFileContent hbase_version = 1;
*/
org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent getHbaseVersion();
/**
* optional .hbase.pb.HBaseVersionFileContent hbase_version = 1;
*/
org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContentOrBuilder getHbaseVersionOrBuilder();
// repeated .hbase.pb.LiveServerInfo live_servers = 2;
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
java.util.List
getLiveServersList();
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo getLiveServers(int index);
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
int getLiveServersCount();
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfoOrBuilder>
getLiveServersOrBuilderList();
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfoOrBuilder getLiveServersOrBuilder(
int index);
// repeated .hbase.pb.ServerName dead_servers = 3;
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
java.util.List
getDeadServersList();
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName getDeadServers(int index);
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
int getDeadServersCount();
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
java.util.List extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>
getDeadServersOrBuilderList();
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getDeadServersOrBuilder(
int index);
// repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
java.util.List
getRegionsInTransitionList();
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition getRegionsInTransition(int index);
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
int getRegionsInTransitionCount();
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransitionOrBuilder>
getRegionsInTransitionOrBuilderList();
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransitionOrBuilder getRegionsInTransitionOrBuilder(
int index);
// optional .hbase.pb.ClusterId cluster_id = 5;
/**
* optional .hbase.pb.ClusterId cluster_id = 5;
*/
boolean hasClusterId();
/**
* optional .hbase.pb.ClusterId cluster_id = 5;
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId getClusterId();
/**
* optional .hbase.pb.ClusterId cluster_id = 5;
*/
org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterIdOrBuilder getClusterIdOrBuilder();
// repeated .hbase.pb.Coprocessor master_coprocessors = 6;
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
java.util.List
getMasterCoprocessorsList();
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor getMasterCoprocessors(int index);
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
int getMasterCoprocessorsCount();
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
java.util.List extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder>
getMasterCoprocessorsOrBuilderList();
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder getMasterCoprocessorsOrBuilder(
int index);
// optional .hbase.pb.ServerName master = 7;
/**
* optional .hbase.pb.ServerName master = 7;
*/
boolean hasMaster();
/**
* optional .hbase.pb.ServerName master = 7;
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName getMaster();
/**
* optional .hbase.pb.ServerName master = 7;
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getMasterOrBuilder();
// repeated .hbase.pb.ServerName backup_masters = 8;
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
java.util.List
getBackupMastersList();
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName getBackupMasters(int index);
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
int getBackupMastersCount();
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
java.util.List extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>
getBackupMastersOrBuilderList();
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getBackupMastersOrBuilder(
int index);
// optional bool balancer_on = 9;
/**
* optional bool balancer_on = 9;
*/
boolean hasBalancerOn();
/**
* optional bool balancer_on = 9;
*/
boolean getBalancerOn();
}
/**
* Protobuf type {@code hbase.pb.ClusterStatus}
*/
@javax.annotation.Generated("proto") public static final class ClusterStatus extends
com.google.protobuf.GeneratedMessage
implements ClusterStatusOrBuilder {
// Use ClusterStatus.newBuilder() to construct.
private ClusterStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private ClusterStatus(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final ClusterStatus defaultInstance;
public static ClusterStatus getDefaultInstance() {
return defaultInstance;
}
public ClusterStatus getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ClusterStatus(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = hbaseVersion_.toBuilder();
}
hbaseVersion_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(hbaseVersion_);
hbaseVersion_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
liveServers_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
liveServers_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo.PARSER, extensionRegistry));
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
deadServers_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
deadServers_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.PARSER, extensionRegistry));
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
regionsInTransition_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
regionsInTransition_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition.PARSER, extensionRegistry));
break;
}
case 42: {
org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = clusterId_.toBuilder();
}
clusterId_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(clusterId_);
clusterId_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
masterCoprocessors_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
masterCoprocessors_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.PARSER, extensionRegistry));
break;
}
case 58: {
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = master_.toBuilder();
}
master_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(master_);
master_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 66: {
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
backupMasters_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
backupMasters_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.PARSER, extensionRegistry));
break;
}
case 72: {
bitField0_ |= 0x00000008;
balancerOn_ = input.readBool();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
liveServers_ = java.util.Collections.unmodifiableList(liveServers_);
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
deadServers_ = java.util.Collections.unmodifiableList(deadServers_);
}
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
regionsInTransition_ = java.util.Collections.unmodifiableList(regionsInTransition_);
}
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
masterCoprocessors_ = java.util.Collections.unmodifiableList(masterCoprocessors_);
}
if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
backupMasters_ = java.util.Collections.unmodifiableList(backupMasters_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ClusterStatus_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ClusterStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public ClusterStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ClusterStatus(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional .hbase.pb.HBaseVersionFileContent hbase_version = 1;
public static final int HBASE_VERSION_FIELD_NUMBER = 1;
private org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent hbaseVersion_;
/**
* optional .hbase.pb.HBaseVersionFileContent hbase_version = 1;
*/
public boolean hasHbaseVersion() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .hbase.pb.HBaseVersionFileContent hbase_version = 1;
*/
public org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent getHbaseVersion() {
return hbaseVersion_;
}
/**
* optional .hbase.pb.HBaseVersionFileContent hbase_version = 1;
*/
public org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContentOrBuilder getHbaseVersionOrBuilder() {
return hbaseVersion_;
}
// repeated .hbase.pb.LiveServerInfo live_servers = 2;
public static final int LIVE_SERVERS_FIELD_NUMBER = 2;
private java.util.List liveServers_;
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public java.util.List getLiveServersList() {
return liveServers_;
}
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfoOrBuilder>
getLiveServersOrBuilderList() {
return liveServers_;
}
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public int getLiveServersCount() {
return liveServers_.size();
}
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo getLiveServers(int index) {
return liveServers_.get(index);
}
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfoOrBuilder getLiveServersOrBuilder(
int index) {
return liveServers_.get(index);
}
// repeated .hbase.pb.ServerName dead_servers = 3;
public static final int DEAD_SERVERS_FIELD_NUMBER = 3;
private java.util.List deadServers_;
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public java.util.List getDeadServersList() {
return deadServers_;
}
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>
getDeadServersOrBuilderList() {
return deadServers_;
}
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public int getDeadServersCount() {
return deadServers_.size();
}
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName getDeadServers(int index) {
return deadServers_.get(index);
}
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getDeadServersOrBuilder(
int index) {
return deadServers_.get(index);
}
// repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
public static final int REGIONS_IN_TRANSITION_FIELD_NUMBER = 4;
private java.util.List regionsInTransition_;
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public java.util.List getRegionsInTransitionList() {
return regionsInTransition_;
}
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransitionOrBuilder>
getRegionsInTransitionOrBuilderList() {
return regionsInTransition_;
}
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public int getRegionsInTransitionCount() {
return regionsInTransition_.size();
}
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition getRegionsInTransition(int index) {
return regionsInTransition_.get(index);
}
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransitionOrBuilder getRegionsInTransitionOrBuilder(
int index) {
return regionsInTransition_.get(index);
}
// optional .hbase.pb.ClusterId cluster_id = 5;
public static final int CLUSTER_ID_FIELD_NUMBER = 5;
private org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId clusterId_;
/**
* optional .hbase.pb.ClusterId cluster_id = 5;
*/
public boolean hasClusterId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .hbase.pb.ClusterId cluster_id = 5;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId getClusterId() {
return clusterId_;
}
/**
* optional .hbase.pb.ClusterId cluster_id = 5;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterIdOrBuilder getClusterIdOrBuilder() {
return clusterId_;
}
// repeated .hbase.pb.Coprocessor master_coprocessors = 6;
public static final int MASTER_COPROCESSORS_FIELD_NUMBER = 6;
private java.util.List masterCoprocessors_;
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public java.util.List getMasterCoprocessorsList() {
return masterCoprocessors_;
}
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder>
getMasterCoprocessorsOrBuilderList() {
return masterCoprocessors_;
}
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public int getMasterCoprocessorsCount() {
return masterCoprocessors_.size();
}
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor getMasterCoprocessors(int index) {
return masterCoprocessors_.get(index);
}
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder getMasterCoprocessorsOrBuilder(
int index) {
return masterCoprocessors_.get(index);
}
// optional .hbase.pb.ServerName master = 7;
public static final int MASTER_FIELD_NUMBER = 7;
private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName master_;
/**
* optional .hbase.pb.ServerName master = 7;
*/
public boolean hasMaster() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .hbase.pb.ServerName master = 7;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName getMaster() {
return master_;
}
/**
* optional .hbase.pb.ServerName master = 7;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getMasterOrBuilder() {
return master_;
}
// repeated .hbase.pb.ServerName backup_masters = 8;
public static final int BACKUP_MASTERS_FIELD_NUMBER = 8;
private java.util.List backupMasters_;
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public java.util.List getBackupMastersList() {
return backupMasters_;
}
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>
getBackupMastersOrBuilderList() {
return backupMasters_;
}
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public int getBackupMastersCount() {
return backupMasters_.size();
}
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName getBackupMasters(int index) {
return backupMasters_.get(index);
}
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getBackupMastersOrBuilder(
int index) {
return backupMasters_.get(index);
}
// optional bool balancer_on = 9;
public static final int BALANCER_ON_FIELD_NUMBER = 9;
private boolean balancerOn_;
/**
* optional bool balancer_on = 9;
*/
public boolean hasBalancerOn() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bool balancer_on = 9;
*/
public boolean getBalancerOn() {
return balancerOn_;
}
private void initFields() {
hbaseVersion_ = org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent.getDefaultInstance();
liveServers_ = java.util.Collections.emptyList();
deadServers_ = java.util.Collections.emptyList();
regionsInTransition_ = java.util.Collections.emptyList();
clusterId_ = org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId.getDefaultInstance();
masterCoprocessors_ = java.util.Collections.emptyList();
master_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance();
backupMasters_ = java.util.Collections.emptyList();
balancerOn_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (hasHbaseVersion()) {
if (!getHbaseVersion().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getLiveServersCount(); i++) {
if (!getLiveServers(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getDeadServersCount(); i++) {
if (!getDeadServers(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getRegionsInTransitionCount(); i++) {
if (!getRegionsInTransition(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasClusterId()) {
if (!getClusterId().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getMasterCoprocessorsCount(); i++) {
if (!getMasterCoprocessors(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasMaster()) {
if (!getMaster().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getBackupMastersCount(); i++) {
if (!getBackupMasters(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.writeMessage(1, hbaseVersion_);
}
for (int i = 0; i < liveServers_.size(); i++) {
output.writeMessage(2, liveServers_.get(i));
}
for (int i = 0; i < deadServers_.size(); i++) {
output.writeMessage(3, deadServers_.get(i));
}
for (int i = 0; i < regionsInTransition_.size(); i++) {
output.writeMessage(4, regionsInTransition_.get(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(5, clusterId_);
}
for (int i = 0; i < masterCoprocessors_.size(); i++) {
output.writeMessage(6, masterCoprocessors_.get(i));
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(7, master_);
}
for (int i = 0; i < backupMasters_.size(); i++) {
output.writeMessage(8, backupMasters_.get(i));
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBool(9, balancerOn_);
}
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
.computeMessageSize(1, hbaseVersion_);
}
for (int i = 0; i < liveServers_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, liveServers_.get(i));
}
for (int i = 0; i < deadServers_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, deadServers_.get(i));
}
for (int i = 0; i < regionsInTransition_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, regionsInTransition_.get(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, clusterId_);
}
for (int i = 0; i < masterCoprocessors_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, masterCoprocessors_.get(i));
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, master_);
}
for (int i = 0; i < backupMasters_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, backupMasters_.get(i));
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, balancerOn_);
}
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.ClusterStatusProtos.ClusterStatus)) {
return super.equals(obj);
}
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus other = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus) obj;
boolean result = true;
result = result && (hasHbaseVersion() == other.hasHbaseVersion());
if (hasHbaseVersion()) {
result = result && getHbaseVersion()
.equals(other.getHbaseVersion());
}
result = result && getLiveServersList()
.equals(other.getLiveServersList());
result = result && getDeadServersList()
.equals(other.getDeadServersList());
result = result && getRegionsInTransitionList()
.equals(other.getRegionsInTransitionList());
result = result && (hasClusterId() == other.hasClusterId());
if (hasClusterId()) {
result = result && getClusterId()
.equals(other.getClusterId());
}
result = result && getMasterCoprocessorsList()
.equals(other.getMasterCoprocessorsList());
result = result && (hasMaster() == other.hasMaster());
if (hasMaster()) {
result = result && getMaster()
.equals(other.getMaster());
}
result = result && getBackupMastersList()
.equals(other.getBackupMastersList());
result = result && (hasBalancerOn() == other.hasBalancerOn());
if (hasBalancerOn()) {
result = result && (getBalancerOn()
== other.getBalancerOn());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasHbaseVersion()) {
hash = (37 * hash) + HBASE_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getHbaseVersion().hashCode();
}
if (getLiveServersCount() > 0) {
hash = (37 * hash) + LIVE_SERVERS_FIELD_NUMBER;
hash = (53 * hash) + getLiveServersList().hashCode();
}
if (getDeadServersCount() > 0) {
hash = (37 * hash) + DEAD_SERVERS_FIELD_NUMBER;
hash = (53 * hash) + getDeadServersList().hashCode();
}
if (getRegionsInTransitionCount() > 0) {
hash = (37 * hash) + REGIONS_IN_TRANSITION_FIELD_NUMBER;
hash = (53 * hash) + getRegionsInTransitionList().hashCode();
}
if (hasClusterId()) {
hash = (37 * hash) + CLUSTER_ID_FIELD_NUMBER;
hash = (53 * hash) + getClusterId().hashCode();
}
if (getMasterCoprocessorsCount() > 0) {
hash = (37 * hash) + MASTER_COPROCESSORS_FIELD_NUMBER;
hash = (53 * hash) + getMasterCoprocessorsList().hashCode();
}
if (hasMaster()) {
hash = (37 * hash) + MASTER_FIELD_NUMBER;
hash = (53 * hash) + getMaster().hashCode();
}
if (getBackupMastersCount() > 0) {
hash = (37 * hash) + BACKUP_MASTERS_FIELD_NUMBER;
hash = (53 * hash) + getBackupMastersList().hashCode();
}
if (hasBalancerOn()) {
hash = (37 * hash) + BALANCER_ON_FIELD_NUMBER;
hash = (53 * hash) + hashBoolean(getBalancerOn());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hbase.pb.ClusterStatus}
*/
@javax.annotation.Generated("proto") public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ClusterStatus_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ClusterStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus.class, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus.Builder.class);
}
// Construct using org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getHbaseVersionFieldBuilder();
getLiveServersFieldBuilder();
getDeadServersFieldBuilder();
getRegionsInTransitionFieldBuilder();
getClusterIdFieldBuilder();
getMasterCoprocessorsFieldBuilder();
getMasterFieldBuilder();
getBackupMastersFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (hbaseVersionBuilder_ == null) {
hbaseVersion_ = org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent.getDefaultInstance();
} else {
hbaseVersionBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (liveServersBuilder_ == null) {
liveServers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
liveServersBuilder_.clear();
}
if (deadServersBuilder_ == null) {
deadServers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
deadServersBuilder_.clear();
}
if (regionsInTransitionBuilder_ == null) {
regionsInTransition_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
regionsInTransitionBuilder_.clear();
}
if (clusterIdBuilder_ == null) {
clusterId_ = org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId.getDefaultInstance();
} else {
clusterIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
if (masterCoprocessorsBuilder_ == null) {
masterCoprocessors_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
} else {
masterCoprocessorsBuilder_.clear();
}
if (masterBuilder_ == null) {
master_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance();
} else {
masterBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
if (backupMastersBuilder_ == null) {
backupMasters_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
} else {
backupMastersBuilder_.clear();
}
balancerOn_ = false;
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ClusterStatus_descriptor;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus getDefaultInstanceForType() {
return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus.getDefaultInstance();
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus build() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus buildPartial() {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus result = new org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (hbaseVersionBuilder_ == null) {
result.hbaseVersion_ = hbaseVersion_;
} else {
result.hbaseVersion_ = hbaseVersionBuilder_.build();
}
if (liveServersBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
liveServers_ = java.util.Collections.unmodifiableList(liveServers_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.liveServers_ = liveServers_;
} else {
result.liveServers_ = liveServersBuilder_.build();
}
if (deadServersBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
deadServers_ = java.util.Collections.unmodifiableList(deadServers_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.deadServers_ = deadServers_;
} else {
result.deadServers_ = deadServersBuilder_.build();
}
if (regionsInTransitionBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
regionsInTransition_ = java.util.Collections.unmodifiableList(regionsInTransition_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.regionsInTransition_ = regionsInTransition_;
} else {
result.regionsInTransition_ = regionsInTransitionBuilder_.build();
}
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000002;
}
if (clusterIdBuilder_ == null) {
result.clusterId_ = clusterId_;
} else {
result.clusterId_ = clusterIdBuilder_.build();
}
if (masterCoprocessorsBuilder_ == null) {
if (((bitField0_ & 0x00000020) == 0x00000020)) {
masterCoprocessors_ = java.util.Collections.unmodifiableList(masterCoprocessors_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.masterCoprocessors_ = masterCoprocessors_;
} else {
result.masterCoprocessors_ = masterCoprocessorsBuilder_.build();
}
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000004;
}
if (masterBuilder_ == null) {
result.master_ = master_;
} else {
result.master_ = masterBuilder_.build();
}
if (backupMastersBuilder_ == null) {
if (((bitField0_ & 0x00000080) == 0x00000080)) {
backupMasters_ = java.util.Collections.unmodifiableList(backupMasters_);
bitField0_ = (bitField0_ & ~0x00000080);
}
result.backupMasters_ = backupMasters_;
} else {
result.backupMasters_ = backupMastersBuilder_.build();
}
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000008;
}
result.balancerOn_ = balancerOn_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus) {
return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus other) {
if (other == org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus.getDefaultInstance()) return this;
if (other.hasHbaseVersion()) {
mergeHbaseVersion(other.getHbaseVersion());
}
if (liveServersBuilder_ == null) {
if (!other.liveServers_.isEmpty()) {
if (liveServers_.isEmpty()) {
liveServers_ = other.liveServers_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureLiveServersIsMutable();
liveServers_.addAll(other.liveServers_);
}
onChanged();
}
} else {
if (!other.liveServers_.isEmpty()) {
if (liveServersBuilder_.isEmpty()) {
liveServersBuilder_.dispose();
liveServersBuilder_ = null;
liveServers_ = other.liveServers_;
bitField0_ = (bitField0_ & ~0x00000002);
liveServersBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getLiveServersFieldBuilder() : null;
} else {
liveServersBuilder_.addAllMessages(other.liveServers_);
}
}
}
if (deadServersBuilder_ == null) {
if (!other.deadServers_.isEmpty()) {
if (deadServers_.isEmpty()) {
deadServers_ = other.deadServers_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureDeadServersIsMutable();
deadServers_.addAll(other.deadServers_);
}
onChanged();
}
} else {
if (!other.deadServers_.isEmpty()) {
if (deadServersBuilder_.isEmpty()) {
deadServersBuilder_.dispose();
deadServersBuilder_ = null;
deadServers_ = other.deadServers_;
bitField0_ = (bitField0_ & ~0x00000004);
deadServersBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getDeadServersFieldBuilder() : null;
} else {
deadServersBuilder_.addAllMessages(other.deadServers_);
}
}
}
if (regionsInTransitionBuilder_ == null) {
if (!other.regionsInTransition_.isEmpty()) {
if (regionsInTransition_.isEmpty()) {
regionsInTransition_ = other.regionsInTransition_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureRegionsInTransitionIsMutable();
regionsInTransition_.addAll(other.regionsInTransition_);
}
onChanged();
}
} else {
if (!other.regionsInTransition_.isEmpty()) {
if (regionsInTransitionBuilder_.isEmpty()) {
regionsInTransitionBuilder_.dispose();
regionsInTransitionBuilder_ = null;
regionsInTransition_ = other.regionsInTransition_;
bitField0_ = (bitField0_ & ~0x00000008);
regionsInTransitionBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getRegionsInTransitionFieldBuilder() : null;
} else {
regionsInTransitionBuilder_.addAllMessages(other.regionsInTransition_);
}
}
}
if (other.hasClusterId()) {
mergeClusterId(other.getClusterId());
}
if (masterCoprocessorsBuilder_ == null) {
if (!other.masterCoprocessors_.isEmpty()) {
if (masterCoprocessors_.isEmpty()) {
masterCoprocessors_ = other.masterCoprocessors_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureMasterCoprocessorsIsMutable();
masterCoprocessors_.addAll(other.masterCoprocessors_);
}
onChanged();
}
} else {
if (!other.masterCoprocessors_.isEmpty()) {
if (masterCoprocessorsBuilder_.isEmpty()) {
masterCoprocessorsBuilder_.dispose();
masterCoprocessorsBuilder_ = null;
masterCoprocessors_ = other.masterCoprocessors_;
bitField0_ = (bitField0_ & ~0x00000020);
masterCoprocessorsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getMasterCoprocessorsFieldBuilder() : null;
} else {
masterCoprocessorsBuilder_.addAllMessages(other.masterCoprocessors_);
}
}
}
if (other.hasMaster()) {
mergeMaster(other.getMaster());
}
if (backupMastersBuilder_ == null) {
if (!other.backupMasters_.isEmpty()) {
if (backupMasters_.isEmpty()) {
backupMasters_ = other.backupMasters_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureBackupMastersIsMutable();
backupMasters_.addAll(other.backupMasters_);
}
onChanged();
}
} else {
if (!other.backupMasters_.isEmpty()) {
if (backupMastersBuilder_.isEmpty()) {
backupMastersBuilder_.dispose();
backupMastersBuilder_ = null;
backupMasters_ = other.backupMasters_;
bitField0_ = (bitField0_ & ~0x00000080);
backupMastersBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getBackupMastersFieldBuilder() : null;
} else {
backupMastersBuilder_.addAllMessages(other.backupMasters_);
}
}
}
if (other.hasBalancerOn()) {
setBalancerOn(other.getBalancerOn());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (hasHbaseVersion()) {
if (!getHbaseVersion().isInitialized()) {
return false;
}
}
for (int i = 0; i < getLiveServersCount(); i++) {
if (!getLiveServers(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getDeadServersCount(); i++) {
if (!getDeadServers(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getRegionsInTransitionCount(); i++) {
if (!getRegionsInTransition(i).isInitialized()) {
return false;
}
}
if (hasClusterId()) {
if (!getClusterId().isInitialized()) {
return false;
}
}
for (int i = 0; i < getMasterCoprocessorsCount(); i++) {
if (!getMasterCoprocessors(i).isInitialized()) {
return false;
}
}
if (hasMaster()) {
if (!getMaster().isInitialized()) {
return false;
}
}
for (int i = 0; i < getBackupMastersCount(); i++) {
if (!getBackupMasters(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatus) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional .hbase.pb.HBaseVersionFileContent hbase_version = 1;
private org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent hbaseVersion_ = org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent, org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent.Builder, org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContentOrBuilder> hbaseVersionBuilder_;
/**
* optional .hbase.pb.HBaseVersionFileContent hbase_version = 1;
*/
public boolean hasHbaseVersion() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .hbase.pb.HBaseVersionFileContent hbase_version = 1;
*/
public org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent getHbaseVersion() {
if (hbaseVersionBuilder_ == null) {
return hbaseVersion_;
} else {
return hbaseVersionBuilder_.getMessage();
}
}
/**
* optional .hbase.pb.HBaseVersionFileContent hbase_version = 1;
*/
public Builder setHbaseVersion(org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent value) {
if (hbaseVersionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
hbaseVersion_ = value;
onChanged();
} else {
hbaseVersionBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .hbase.pb.HBaseVersionFileContent hbase_version = 1;
*/
public Builder setHbaseVersion(
org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent.Builder builderForValue) {
if (hbaseVersionBuilder_ == null) {
hbaseVersion_ = builderForValue.build();
onChanged();
} else {
hbaseVersionBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .hbase.pb.HBaseVersionFileContent hbase_version = 1;
*/
public Builder mergeHbaseVersion(org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent value) {
if (hbaseVersionBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
hbaseVersion_ != org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent.getDefaultInstance()) {
hbaseVersion_ =
org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent.newBuilder(hbaseVersion_).mergeFrom(value).buildPartial();
} else {
hbaseVersion_ = value;
}
onChanged();
} else {
hbaseVersionBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .hbase.pb.HBaseVersionFileContent hbase_version = 1;
*/
public Builder clearHbaseVersion() {
if (hbaseVersionBuilder_ == null) {
hbaseVersion_ = org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent.getDefaultInstance();
onChanged();
} else {
hbaseVersionBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .hbase.pb.HBaseVersionFileContent hbase_version = 1;
*/
public org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent.Builder getHbaseVersionBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getHbaseVersionFieldBuilder().getBuilder();
}
/**
* optional .hbase.pb.HBaseVersionFileContent hbase_version = 1;
*/
public org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContentOrBuilder getHbaseVersionOrBuilder() {
if (hbaseVersionBuilder_ != null) {
return hbaseVersionBuilder_.getMessageOrBuilder();
} else {
return hbaseVersion_;
}
}
/**
* optional .hbase.pb.HBaseVersionFileContent hbase_version = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent, org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent.Builder, org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContentOrBuilder>
getHbaseVersionFieldBuilder() {
if (hbaseVersionBuilder_ == null) {
hbaseVersionBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent, org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent.Builder, org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContentOrBuilder>(
hbaseVersion_,
getParentForChildren(),
isClean());
hbaseVersion_ = null;
}
return hbaseVersionBuilder_;
}
// repeated .hbase.pb.LiveServerInfo live_servers = 2;
private java.util.List liveServers_ =
java.util.Collections.emptyList();
private void ensureLiveServersIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
liveServers_ = new java.util.ArrayList(liveServers_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfoOrBuilder> liveServersBuilder_;
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public java.util.List getLiveServersList() {
if (liveServersBuilder_ == null) {
return java.util.Collections.unmodifiableList(liveServers_);
} else {
return liveServersBuilder_.getMessageList();
}
}
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public int getLiveServersCount() {
if (liveServersBuilder_ == null) {
return liveServers_.size();
} else {
return liveServersBuilder_.getCount();
}
}
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo getLiveServers(int index) {
if (liveServersBuilder_ == null) {
return liveServers_.get(index);
} else {
return liveServersBuilder_.getMessage(index);
}
}
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public Builder setLiveServers(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo value) {
if (liveServersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLiveServersIsMutable();
liveServers_.set(index, value);
onChanged();
} else {
liveServersBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public Builder setLiveServers(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo.Builder builderForValue) {
if (liveServersBuilder_ == null) {
ensureLiveServersIsMutable();
liveServers_.set(index, builderForValue.build());
onChanged();
} else {
liveServersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public Builder addLiveServers(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo value) {
if (liveServersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLiveServersIsMutable();
liveServers_.add(value);
onChanged();
} else {
liveServersBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public Builder addLiveServers(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo value) {
if (liveServersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLiveServersIsMutable();
liveServers_.add(index, value);
onChanged();
} else {
liveServersBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public Builder addLiveServers(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo.Builder builderForValue) {
if (liveServersBuilder_ == null) {
ensureLiveServersIsMutable();
liveServers_.add(builderForValue.build());
onChanged();
} else {
liveServersBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public Builder addLiveServers(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo.Builder builderForValue) {
if (liveServersBuilder_ == null) {
ensureLiveServersIsMutable();
liveServers_.add(index, builderForValue.build());
onChanged();
} else {
liveServersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public Builder addAllLiveServers(
java.lang.Iterable extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo> values) {
if (liveServersBuilder_ == null) {
ensureLiveServersIsMutable();
super.addAll(values, liveServers_);
onChanged();
} else {
liveServersBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public Builder clearLiveServers() {
if (liveServersBuilder_ == null) {
liveServers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
liveServersBuilder_.clear();
}
return this;
}
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public Builder removeLiveServers(int index) {
if (liveServersBuilder_ == null) {
ensureLiveServersIsMutable();
liveServers_.remove(index);
onChanged();
} else {
liveServersBuilder_.remove(index);
}
return this;
}
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo.Builder getLiveServersBuilder(
int index) {
return getLiveServersFieldBuilder().getBuilder(index);
}
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfoOrBuilder getLiveServersOrBuilder(
int index) {
if (liveServersBuilder_ == null) {
return liveServers_.get(index); } else {
return liveServersBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfoOrBuilder>
getLiveServersOrBuilderList() {
if (liveServersBuilder_ != null) {
return liveServersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(liveServers_);
}
}
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo.Builder addLiveServersBuilder() {
return getLiveServersFieldBuilder().addBuilder(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo.getDefaultInstance());
}
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo.Builder addLiveServersBuilder(
int index) {
return getLiveServersFieldBuilder().addBuilder(
index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo.getDefaultInstance());
}
/**
* repeated .hbase.pb.LiveServerInfo live_servers = 2;
*/
public java.util.List
getLiveServersBuilderList() {
return getLiveServersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfoOrBuilder>
getLiveServersFieldBuilder() {
if (liveServersBuilder_ == null) {
liveServersBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfoOrBuilder>(
liveServers_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
liveServers_ = null;
}
return liveServersBuilder_;
}
// repeated .hbase.pb.ServerName dead_servers = 3;
private java.util.List deadServers_ =
java.util.Collections.emptyList();
private void ensureDeadServersIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
deadServers_ = new java.util.ArrayList(deadServers_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder> deadServersBuilder_;
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public java.util.List getDeadServersList() {
if (deadServersBuilder_ == null) {
return java.util.Collections.unmodifiableList(deadServers_);
} else {
return deadServersBuilder_.getMessageList();
}
}
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public int getDeadServersCount() {
if (deadServersBuilder_ == null) {
return deadServers_.size();
} else {
return deadServersBuilder_.getCount();
}
}
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName getDeadServers(int index) {
if (deadServersBuilder_ == null) {
return deadServers_.get(index);
} else {
return deadServersBuilder_.getMessage(index);
}
}
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public Builder setDeadServers(
int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName value) {
if (deadServersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeadServersIsMutable();
deadServers_.set(index, value);
onChanged();
} else {
deadServersBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public Builder setDeadServers(
int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder builderForValue) {
if (deadServersBuilder_ == null) {
ensureDeadServersIsMutable();
deadServers_.set(index, builderForValue.build());
onChanged();
} else {
deadServersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public Builder addDeadServers(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName value) {
if (deadServersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeadServersIsMutable();
deadServers_.add(value);
onChanged();
} else {
deadServersBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public Builder addDeadServers(
int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName value) {
if (deadServersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeadServersIsMutable();
deadServers_.add(index, value);
onChanged();
} else {
deadServersBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public Builder addDeadServers(
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder builderForValue) {
if (deadServersBuilder_ == null) {
ensureDeadServersIsMutable();
deadServers_.add(builderForValue.build());
onChanged();
} else {
deadServersBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public Builder addDeadServers(
int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder builderForValue) {
if (deadServersBuilder_ == null) {
ensureDeadServersIsMutable();
deadServers_.add(index, builderForValue.build());
onChanged();
} else {
deadServersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public Builder addAllDeadServers(
java.lang.Iterable extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName> values) {
if (deadServersBuilder_ == null) {
ensureDeadServersIsMutable();
super.addAll(values, deadServers_);
onChanged();
} else {
deadServersBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public Builder clearDeadServers() {
if (deadServersBuilder_ == null) {
deadServers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
deadServersBuilder_.clear();
}
return this;
}
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public Builder removeDeadServers(int index) {
if (deadServersBuilder_ == null) {
ensureDeadServersIsMutable();
deadServers_.remove(index);
onChanged();
} else {
deadServersBuilder_.remove(index);
}
return this;
}
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder getDeadServersBuilder(
int index) {
return getDeadServersFieldBuilder().getBuilder(index);
}
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getDeadServersOrBuilder(
int index) {
if (deadServersBuilder_ == null) {
return deadServers_.get(index); } else {
return deadServersBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>
getDeadServersOrBuilderList() {
if (deadServersBuilder_ != null) {
return deadServersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(deadServers_);
}
}
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder addDeadServersBuilder() {
return getDeadServersFieldBuilder().addBuilder(
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance());
}
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder addDeadServersBuilder(
int index) {
return getDeadServersFieldBuilder().addBuilder(
index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance());
}
/**
* repeated .hbase.pb.ServerName dead_servers = 3;
*/
public java.util.List
getDeadServersBuilderList() {
return getDeadServersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>
getDeadServersFieldBuilder() {
if (deadServersBuilder_ == null) {
deadServersBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>(
deadServers_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
deadServers_ = null;
}
return deadServersBuilder_;
}
// repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
private java.util.List regionsInTransition_ =
java.util.Collections.emptyList();
private void ensureRegionsInTransitionIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
regionsInTransition_ = new java.util.ArrayList(regionsInTransition_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransitionOrBuilder> regionsInTransitionBuilder_;
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public java.util.List getRegionsInTransitionList() {
if (regionsInTransitionBuilder_ == null) {
return java.util.Collections.unmodifiableList(regionsInTransition_);
} else {
return regionsInTransitionBuilder_.getMessageList();
}
}
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public int getRegionsInTransitionCount() {
if (regionsInTransitionBuilder_ == null) {
return regionsInTransition_.size();
} else {
return regionsInTransitionBuilder_.getCount();
}
}
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition getRegionsInTransition(int index) {
if (regionsInTransitionBuilder_ == null) {
return regionsInTransition_.get(index);
} else {
return regionsInTransitionBuilder_.getMessage(index);
}
}
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public Builder setRegionsInTransition(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition value) {
if (regionsInTransitionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRegionsInTransitionIsMutable();
regionsInTransition_.set(index, value);
onChanged();
} else {
regionsInTransitionBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public Builder setRegionsInTransition(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition.Builder builderForValue) {
if (regionsInTransitionBuilder_ == null) {
ensureRegionsInTransitionIsMutable();
regionsInTransition_.set(index, builderForValue.build());
onChanged();
} else {
regionsInTransitionBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public Builder addRegionsInTransition(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition value) {
if (regionsInTransitionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRegionsInTransitionIsMutable();
regionsInTransition_.add(value);
onChanged();
} else {
regionsInTransitionBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public Builder addRegionsInTransition(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition value) {
if (regionsInTransitionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRegionsInTransitionIsMutable();
regionsInTransition_.add(index, value);
onChanged();
} else {
regionsInTransitionBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public Builder addRegionsInTransition(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition.Builder builderForValue) {
if (regionsInTransitionBuilder_ == null) {
ensureRegionsInTransitionIsMutable();
regionsInTransition_.add(builderForValue.build());
onChanged();
} else {
regionsInTransitionBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public Builder addRegionsInTransition(
int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition.Builder builderForValue) {
if (regionsInTransitionBuilder_ == null) {
ensureRegionsInTransitionIsMutable();
regionsInTransition_.add(index, builderForValue.build());
onChanged();
} else {
regionsInTransitionBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public Builder addAllRegionsInTransition(
java.lang.Iterable extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition> values) {
if (regionsInTransitionBuilder_ == null) {
ensureRegionsInTransitionIsMutable();
super.addAll(values, regionsInTransition_);
onChanged();
} else {
regionsInTransitionBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public Builder clearRegionsInTransition() {
if (regionsInTransitionBuilder_ == null) {
regionsInTransition_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
regionsInTransitionBuilder_.clear();
}
return this;
}
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public Builder removeRegionsInTransition(int index) {
if (regionsInTransitionBuilder_ == null) {
ensureRegionsInTransitionIsMutable();
regionsInTransition_.remove(index);
onChanged();
} else {
regionsInTransitionBuilder_.remove(index);
}
return this;
}
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition.Builder getRegionsInTransitionBuilder(
int index) {
return getRegionsInTransitionFieldBuilder().getBuilder(index);
}
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransitionOrBuilder getRegionsInTransitionOrBuilder(
int index) {
if (regionsInTransitionBuilder_ == null) {
return regionsInTransition_.get(index); } else {
return regionsInTransitionBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransitionOrBuilder>
getRegionsInTransitionOrBuilderList() {
if (regionsInTransitionBuilder_ != null) {
return regionsInTransitionBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(regionsInTransition_);
}
}
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition.Builder addRegionsInTransitionBuilder() {
return getRegionsInTransitionFieldBuilder().addBuilder(
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition.getDefaultInstance());
}
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition.Builder addRegionsInTransitionBuilder(
int index) {
return getRegionsInTransitionFieldBuilder().addBuilder(
index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition.getDefaultInstance());
}
/**
* repeated .hbase.pb.RegionInTransition regions_in_transition = 4;
*/
public java.util.List
getRegionsInTransitionBuilderList() {
return getRegionsInTransitionFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransitionOrBuilder>
getRegionsInTransitionFieldBuilder() {
if (regionsInTransitionBuilder_ == null) {
regionsInTransitionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransition.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransitionOrBuilder>(
regionsInTransition_,
((bitField0_ & 0x00000008) == 0x00000008),
getParentForChildren(),
isClean());
regionsInTransition_ = null;
}
return regionsInTransitionBuilder_;
}
// optional .hbase.pb.ClusterId cluster_id = 5;
private org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId clusterId_ = org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId, org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterIdOrBuilder> clusterIdBuilder_;
/**
* optional .hbase.pb.ClusterId cluster_id = 5;
*/
public boolean hasClusterId() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional .hbase.pb.ClusterId cluster_id = 5;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId getClusterId() {
if (clusterIdBuilder_ == null) {
return clusterId_;
} else {
return clusterIdBuilder_.getMessage();
}
}
/**
* optional .hbase.pb.ClusterId cluster_id = 5;
*/
public Builder setClusterId(org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId value) {
if (clusterIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
clusterId_ = value;
onChanged();
} else {
clusterIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .hbase.pb.ClusterId cluster_id = 5;
*/
public Builder setClusterId(
org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId.Builder builderForValue) {
if (clusterIdBuilder_ == null) {
clusterId_ = builderForValue.build();
onChanged();
} else {
clusterIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .hbase.pb.ClusterId cluster_id = 5;
*/
public Builder mergeClusterId(org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId value) {
if (clusterIdBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010) &&
clusterId_ != org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId.getDefaultInstance()) {
clusterId_ =
org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId.newBuilder(clusterId_).mergeFrom(value).buildPartial();
} else {
clusterId_ = value;
}
onChanged();
} else {
clusterIdBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .hbase.pb.ClusterId cluster_id = 5;
*/
public Builder clearClusterId() {
if (clusterIdBuilder_ == null) {
clusterId_ = org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId.getDefaultInstance();
onChanged();
} else {
clusterIdBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
* optional .hbase.pb.ClusterId cluster_id = 5;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId.Builder getClusterIdBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getClusterIdFieldBuilder().getBuilder();
}
/**
* optional .hbase.pb.ClusterId cluster_id = 5;
*/
public org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterIdOrBuilder getClusterIdOrBuilder() {
if (clusterIdBuilder_ != null) {
return clusterIdBuilder_.getMessageOrBuilder();
} else {
return clusterId_;
}
}
/**
* optional .hbase.pb.ClusterId cluster_id = 5;
*/
private com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId, org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterIdOrBuilder>
getClusterIdFieldBuilder() {
if (clusterIdBuilder_ == null) {
clusterIdBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId, org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterIdOrBuilder>(
clusterId_,
getParentForChildren(),
isClean());
clusterId_ = null;
}
return clusterIdBuilder_;
}
// repeated .hbase.pb.Coprocessor master_coprocessors = 6;
private java.util.List masterCoprocessors_ =
java.util.Collections.emptyList();
private void ensureMasterCoprocessorsIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
masterCoprocessors_ = new java.util.ArrayList(masterCoprocessors_);
bitField0_ |= 0x00000020;
}
}
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> masterCoprocessorsBuilder_;
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public java.util.List getMasterCoprocessorsList() {
if (masterCoprocessorsBuilder_ == null) {
return java.util.Collections.unmodifiableList(masterCoprocessors_);
} else {
return masterCoprocessorsBuilder_.getMessageList();
}
}
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public int getMasterCoprocessorsCount() {
if (masterCoprocessorsBuilder_ == null) {
return masterCoprocessors_.size();
} else {
return masterCoprocessorsBuilder_.getCount();
}
}
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor getMasterCoprocessors(int index) {
if (masterCoprocessorsBuilder_ == null) {
return masterCoprocessors_.get(index);
} else {
return masterCoprocessorsBuilder_.getMessage(index);
}
}
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public Builder setMasterCoprocessors(
int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor value) {
if (masterCoprocessorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMasterCoprocessorsIsMutable();
masterCoprocessors_.set(index, value);
onChanged();
} else {
masterCoprocessorsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public Builder setMasterCoprocessors(
int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.Builder builderForValue) {
if (masterCoprocessorsBuilder_ == null) {
ensureMasterCoprocessorsIsMutable();
masterCoprocessors_.set(index, builderForValue.build());
onChanged();
} else {
masterCoprocessorsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public Builder addMasterCoprocessors(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor value) {
if (masterCoprocessorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMasterCoprocessorsIsMutable();
masterCoprocessors_.add(value);
onChanged();
} else {
masterCoprocessorsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public Builder addMasterCoprocessors(
int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor value) {
if (masterCoprocessorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMasterCoprocessorsIsMutable();
masterCoprocessors_.add(index, value);
onChanged();
} else {
masterCoprocessorsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public Builder addMasterCoprocessors(
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.Builder builderForValue) {
if (masterCoprocessorsBuilder_ == null) {
ensureMasterCoprocessorsIsMutable();
masterCoprocessors_.add(builderForValue.build());
onChanged();
} else {
masterCoprocessorsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public Builder addMasterCoprocessors(
int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.Builder builderForValue) {
if (masterCoprocessorsBuilder_ == null) {
ensureMasterCoprocessorsIsMutable();
masterCoprocessors_.add(index, builderForValue.build());
onChanged();
} else {
masterCoprocessorsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public Builder addAllMasterCoprocessors(
java.lang.Iterable extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor> values) {
if (masterCoprocessorsBuilder_ == null) {
ensureMasterCoprocessorsIsMutable();
super.addAll(values, masterCoprocessors_);
onChanged();
} else {
masterCoprocessorsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public Builder clearMasterCoprocessors() {
if (masterCoprocessorsBuilder_ == null) {
masterCoprocessors_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
masterCoprocessorsBuilder_.clear();
}
return this;
}
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public Builder removeMasterCoprocessors(int index) {
if (masterCoprocessorsBuilder_ == null) {
ensureMasterCoprocessorsIsMutable();
masterCoprocessors_.remove(index);
onChanged();
} else {
masterCoprocessorsBuilder_.remove(index);
}
return this;
}
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.Builder getMasterCoprocessorsBuilder(
int index) {
return getMasterCoprocessorsFieldBuilder().getBuilder(index);
}
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder getMasterCoprocessorsOrBuilder(
int index) {
if (masterCoprocessorsBuilder_ == null) {
return masterCoprocessors_.get(index); } else {
return masterCoprocessorsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder>
getMasterCoprocessorsOrBuilderList() {
if (masterCoprocessorsBuilder_ != null) {
return masterCoprocessorsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(masterCoprocessors_);
}
}
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.Builder addMasterCoprocessorsBuilder() {
return getMasterCoprocessorsFieldBuilder().addBuilder(
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.getDefaultInstance());
}
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.Builder addMasterCoprocessorsBuilder(
int index) {
return getMasterCoprocessorsFieldBuilder().addBuilder(
index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Coprocessor.getDefaultInstance());
}
/**
* repeated .hbase.pb.Coprocessor master_coprocessors = 6;
*/
public java.util.List
getMasterCoprocessorsBuilderList() {
return getMasterCoprocessorsFieldBuilder().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>
getMasterCoprocessorsFieldBuilder() {
if (masterCoprocessorsBuilder_ == null) {
masterCoprocessorsBuilder_ = 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>(
masterCoprocessors_,
((bitField0_ & 0x00000020) == 0x00000020),
getParentForChildren(),
isClean());
masterCoprocessors_ = null;
}
return masterCoprocessorsBuilder_;
}
// optional .hbase.pb.ServerName master = 7;
private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName master_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder> masterBuilder_;
/**
* optional .hbase.pb.ServerName master = 7;
*/
public boolean hasMaster() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional .hbase.pb.ServerName master = 7;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName getMaster() {
if (masterBuilder_ == null) {
return master_;
} else {
return masterBuilder_.getMessage();
}
}
/**
* optional .hbase.pb.ServerName master = 7;
*/
public Builder setMaster(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName value) {
if (masterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
master_ = value;
onChanged();
} else {
masterBuilder_.setMessage(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .hbase.pb.ServerName master = 7;
*/
public Builder setMaster(
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder builderForValue) {
if (masterBuilder_ == null) {
master_ = builderForValue.build();
onChanged();
} else {
masterBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .hbase.pb.ServerName master = 7;
*/
public Builder mergeMaster(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName value) {
if (masterBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040) &&
master_ != org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance()) {
master_ =
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.newBuilder(master_).mergeFrom(value).buildPartial();
} else {
master_ = value;
}
onChanged();
} else {
masterBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .hbase.pb.ServerName master = 7;
*/
public Builder clearMaster() {
if (masterBuilder_ == null) {
master_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance();
onChanged();
} else {
masterBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
/**
* optional .hbase.pb.ServerName master = 7;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder getMasterBuilder() {
bitField0_ |= 0x00000040;
onChanged();
return getMasterFieldBuilder().getBuilder();
}
/**
* optional .hbase.pb.ServerName master = 7;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getMasterOrBuilder() {
if (masterBuilder_ != null) {
return masterBuilder_.getMessageOrBuilder();
} else {
return master_;
}
}
/**
* optional .hbase.pb.ServerName master = 7;
*/
private com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>
getMasterFieldBuilder() {
if (masterBuilder_ == null) {
masterBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>(
master_,
getParentForChildren(),
isClean());
master_ = null;
}
return masterBuilder_;
}
// repeated .hbase.pb.ServerName backup_masters = 8;
private java.util.List backupMasters_ =
java.util.Collections.emptyList();
private void ensureBackupMastersIsMutable() {
if (!((bitField0_ & 0x00000080) == 0x00000080)) {
backupMasters_ = new java.util.ArrayList(backupMasters_);
bitField0_ |= 0x00000080;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder> backupMastersBuilder_;
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public java.util.List getBackupMastersList() {
if (backupMastersBuilder_ == null) {
return java.util.Collections.unmodifiableList(backupMasters_);
} else {
return backupMastersBuilder_.getMessageList();
}
}
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public int getBackupMastersCount() {
if (backupMastersBuilder_ == null) {
return backupMasters_.size();
} else {
return backupMastersBuilder_.getCount();
}
}
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName getBackupMasters(int index) {
if (backupMastersBuilder_ == null) {
return backupMasters_.get(index);
} else {
return backupMastersBuilder_.getMessage(index);
}
}
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public Builder setBackupMasters(
int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName value) {
if (backupMastersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBackupMastersIsMutable();
backupMasters_.set(index, value);
onChanged();
} else {
backupMastersBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public Builder setBackupMasters(
int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder builderForValue) {
if (backupMastersBuilder_ == null) {
ensureBackupMastersIsMutable();
backupMasters_.set(index, builderForValue.build());
onChanged();
} else {
backupMastersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public Builder addBackupMasters(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName value) {
if (backupMastersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBackupMastersIsMutable();
backupMasters_.add(value);
onChanged();
} else {
backupMastersBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public Builder addBackupMasters(
int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName value) {
if (backupMastersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBackupMastersIsMutable();
backupMasters_.add(index, value);
onChanged();
} else {
backupMastersBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public Builder addBackupMasters(
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder builderForValue) {
if (backupMastersBuilder_ == null) {
ensureBackupMastersIsMutable();
backupMasters_.add(builderForValue.build());
onChanged();
} else {
backupMastersBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public Builder addBackupMasters(
int index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder builderForValue) {
if (backupMastersBuilder_ == null) {
ensureBackupMastersIsMutable();
backupMasters_.add(index, builderForValue.build());
onChanged();
} else {
backupMastersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public Builder addAllBackupMasters(
java.lang.Iterable extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName> values) {
if (backupMastersBuilder_ == null) {
ensureBackupMastersIsMutable();
super.addAll(values, backupMasters_);
onChanged();
} else {
backupMastersBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public Builder clearBackupMasters() {
if (backupMastersBuilder_ == null) {
backupMasters_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
} else {
backupMastersBuilder_.clear();
}
return this;
}
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public Builder removeBackupMasters(int index) {
if (backupMastersBuilder_ == null) {
ensureBackupMastersIsMutable();
backupMasters_.remove(index);
onChanged();
} else {
backupMastersBuilder_.remove(index);
}
return this;
}
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder getBackupMastersBuilder(
int index) {
return getBackupMastersFieldBuilder().getBuilder(index);
}
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getBackupMastersOrBuilder(
int index) {
if (backupMastersBuilder_ == null) {
return backupMasters_.get(index); } else {
return backupMastersBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>
getBackupMastersOrBuilderList() {
if (backupMastersBuilder_ != null) {
return backupMastersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(backupMasters_);
}
}
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder addBackupMastersBuilder() {
return getBackupMastersFieldBuilder().addBuilder(
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance());
}
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder addBackupMastersBuilder(
int index) {
return getBackupMastersFieldBuilder().addBuilder(
index, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance());
}
/**
* repeated .hbase.pb.ServerName backup_masters = 8;
*/
public java.util.List
getBackupMastersBuilderList() {
return getBackupMastersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>
getBackupMastersFieldBuilder() {
if (backupMastersBuilder_ == null) {
backupMastersBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>(
backupMasters_,
((bitField0_ & 0x00000080) == 0x00000080),
getParentForChildren(),
isClean());
backupMasters_ = null;
}
return backupMastersBuilder_;
}
// optional bool balancer_on = 9;
private boolean balancerOn_ ;
/**
* optional bool balancer_on = 9;
*/
public boolean hasBalancerOn() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional bool balancer_on = 9;
*/
public boolean getBalancerOn() {
return balancerOn_;
}
/**
* optional bool balancer_on = 9;
*/
public Builder setBalancerOn(boolean value) {
bitField0_ |= 0x00000100;
balancerOn_ = value;
onChanged();
return this;
}
/**
* optional bool balancer_on = 9;
*/
public Builder clearBalancerOn() {
bitField0_ = (bitField0_ & ~0x00000100);
balancerOn_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:hbase.pb.ClusterStatus)
}
static {
defaultInstance = new ClusterStatus(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hbase.pb.ClusterStatus)
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_hbase_pb_RegionState_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hbase_pb_RegionState_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_hbase_pb_RegionInTransition_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hbase_pb_RegionInTransition_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_hbase_pb_StoreSequenceId_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hbase_pb_StoreSequenceId_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_hbase_pb_RegionStoreSequenceIds_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hbase_pb_RegionStoreSequenceIds_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_hbase_pb_RegionLoad_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hbase_pb_RegionLoad_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_hbase_pb_UserLoad_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hbase_pb_UserLoad_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_hbase_pb_ClientMetrics_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hbase_pb_ClientMetrics_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_hbase_pb_ReplicationLoadSink_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hbase_pb_ReplicationLoadSink_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_hbase_pb_ReplicationLoadSource_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hbase_pb_ReplicationLoadSource_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_hbase_pb_ServerLoad_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hbase_pb_ServerLoad_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_hbase_pb_LiveServerInfo_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hbase_pb_LiveServerInfo_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_hbase_pb_ClusterStatus_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hbase_pb_ClusterStatus_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\023ClusterStatus.proto\022\010hbase.pb\032\013HBase.p" +
"roto\032\017ClusterId.proto\032\010FS.proto\"\331\002\n\013Regi" +
"onState\022)\n\013region_info\030\001 \002(\0132\024.hbase.pb." +
"RegionInfo\022*\n\005state\030\002 \002(\0162\033.hbase.pb.Reg" +
"ionState.State\022\r\n\005stamp\030\003 \001(\004\"\343\001\n\005State\022" +
"\013\n\007OFFLINE\020\000\022\020\n\014PENDING_OPEN\020\001\022\013\n\007OPENIN" +
"G\020\002\022\010\n\004OPEN\020\003\022\021\n\rPENDING_CLOSE\020\004\022\013\n\007CLOS" +
"ING\020\005\022\n\n\006CLOSED\020\006\022\r\n\tSPLITTING\020\007\022\t\n\005SPLI" +
"T\020\010\022\017\n\013FAILED_OPEN\020\t\022\020\n\014FAILED_CLOSE\020\n\022\013" +
"\n\007MERGING\020\013\022\n\n\006MERGED\020\014\022\021\n\rSPLITTING_NEW",
"\020\r\022\017\n\013MERGING_NEW\020\016\"j\n\022RegionInTransitio" +
"n\022\'\n\004spec\030\001 \002(\0132\031.hbase.pb.RegionSpecifi" +
"er\022+\n\014region_state\030\002 \002(\0132\025.hbase.pb.Regi" +
"onState\";\n\017StoreSequenceId\022\023\n\013family_nam" +
"e\030\001 \002(\014\022\023\n\013sequence_id\030\002 \002(\004\"p\n\026RegionSt" +
"oreSequenceIds\022 \n\030last_flushed_sequence_" +
"id\030\001 \002(\004\0224\n\021store_sequence_id\030\002 \003(\0132\031.hb" +
"ase.pb.StoreSequenceId\"\305\005\n\nRegionLoad\0223\n" +
"\020region_specifier\030\001 \002(\0132\031.hbase.pb.Regio" +
"nSpecifier\022\016\n\006stores\030\002 \001(\r\022\022\n\nstorefiles",
"\030\003 \001(\r\022\"\n\032store_uncompressed_size_MB\030\004 \001" +
"(\r\022\031\n\021storefile_size_MB\030\005 \001(\r\022\030\n\020memstor" +
"e_size_MB\030\006 \001(\r\022\037\n\027storefile_index_size_" +
"KB\030\007 \001(\004\022\033\n\023read_requests_count\030\010 \001(\004\022\034\n" +
"\024write_requests_count\030\t \001(\004\022\034\n\024total_com" +
"pacting_KVs\030\n \001(\004\022\035\n\025current_compacted_K" +
"Vs\030\013 \001(\004\022\032\n\022root_index_size_KB\030\014 \001(\r\022\"\n\032" +
"total_static_index_size_KB\030\r \001(\r\022\"\n\032tota" +
"l_static_bloom_size_KB\030\016 \001(\r\022\034\n\024complete" +
"_sequence_id\030\017 \001(\004\022\025\n\rdata_locality\030\020 \001(",
"\002\022#\n\030last_major_compaction_ts\030\021 \001(\004:\0010\022=" +
"\n\032store_complete_sequence_id\030\022 \003(\0132\031.hba" +
"se.pb.StoreSequenceId\022$\n\034filtered_read_r" +
"equests_count\030\023 \001(\004\022\032\n\017store_ref_count\030\025" +
" \001(\005:\0010\022-\n\"max_compacted_store_file_ref_" +
"count\030\026 \001(\005:\0010\"L\n\010UserLoad\022\020\n\010userName\030\001" +
" \002(\t\022.\n\rclientMetrics\030\002 \003(\0132\027.hbase.pb.C" +
"lientMetrics\"}\n\rClientMetrics\022\020\n\010hostNam" +
"e\030\001 \002(\t\022\033\n\023read_requests_count\030\002 \001(\004\022\034\n\024" +
"write_requests_count\030\003 \001(\004\022\037\n\027filtered_r",
"equests_count\030\004 \001(\004\"T\n\023ReplicationLoadSi" +
"nk\022\032\n\022ageOfLastAppliedOp\030\001 \002(\004\022!\n\031timeSt" +
"ampsOfLastAppliedOp\030\002 \002(\004\"\225\001\n\025Replicatio" +
"nLoadSource\022\016\n\006peerID\030\001 \002(\t\022\032\n\022ageOfLast" +
"ShippedOp\030\002 \002(\004\022\026\n\016sizeOfLogQueue\030\003 \002(\r\022" +
" \n\030timeStampOfLastShippedOp\030\004 \002(\004\022\026\n\016rep" +
"licationLag\030\005 \002(\004\"\261\003\n\nServerLoad\022\032\n\022numb" +
"er_of_requests\030\001 \001(\004\022 \n\030total_number_of_" +
"requests\030\002 \001(\004\022\024\n\014used_heap_MB\030\003 \001(\r\022\023\n\013" +
"max_heap_MB\030\004 \001(\r\022*\n\014region_loads\030\005 \003(\0132",
"\024.hbase.pb.RegionLoad\022+\n\014coprocessors\030\006 " +
"\003(\0132\025.hbase.pb.Coprocessor\022\031\n\021report_sta" +
"rt_time\030\007 \001(\004\022\027\n\017report_end_time\030\010 \001(\004\022\030" +
"\n\020info_server_port\030\t \001(\r\0227\n\016replLoadSour" +
"ce\030\n \003(\0132\037.hbase.pb.ReplicationLoadSourc" +
"e\0223\n\014replLoadSink\030\013 \001(\0132\035.hbase.pb.Repli" +
"cationLoadSink\022%\n\tuserLoads\030\014 \003(\0132\022.hbas" +
"e.pb.UserLoad\"a\n\016LiveServerInfo\022$\n\006serve" +
"r\030\001 \002(\0132\024.hbase.pb.ServerName\022)\n\013server_" +
"load\030\002 \002(\0132\024.hbase.pb.ServerLoad\"\250\003\n\rClu",
"sterStatus\0228\n\rhbase_version\030\001 \001(\0132!.hbas" +
"e.pb.HBaseVersionFileContent\022.\n\014live_ser" +
"vers\030\002 \003(\0132\030.hbase.pb.LiveServerInfo\022*\n\014" +
"dead_servers\030\003 \003(\0132\024.hbase.pb.ServerName" +
"\022;\n\025regions_in_transition\030\004 \003(\0132\034.hbase." +
"pb.RegionInTransition\022\'\n\ncluster_id\030\005 \001(" +
"\0132\023.hbase.pb.ClusterId\0222\n\023master_coproce" +
"ssors\030\006 \003(\0132\025.hbase.pb.Coprocessor\022$\n\006ma" +
"ster\030\007 \001(\0132\024.hbase.pb.ServerName\022,\n\016back" +
"up_masters\030\010 \003(\0132\024.hbase.pb.ServerName\022\023",
"\n\013balancer_on\030\t \001(\010*\264\001\n\006Option\022\021\n\rHBASE_" +
"VERSION\020\000\022\016\n\nCLUSTER_ID\020\001\022\020\n\014LIVE_SERVER" +
"S\020\002\022\020\n\014DEAD_SERVERS\020\003\022\n\n\006MASTER\020\004\022\022\n\016BAC" +
"KUP_MASTERS\020\005\022\027\n\023MASTER_COPROCESSORS\020\006\022\031" +
"\n\025REGIONS_IN_TRANSITION\020\007\022\017\n\013BALANCER_ON" +
"\020\010BF\n*org.apache.hadoop.hbase.protobuf.g" +
"eneratedB\023ClusterStatusProtosH\001\240\001\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
internal_static_hbase_pb_RegionState_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_hbase_pb_RegionState_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hbase_pb_RegionState_descriptor,
new java.lang.String[] { "RegionInfo", "State", "Stamp", });
internal_static_hbase_pb_RegionInTransition_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_hbase_pb_RegionInTransition_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hbase_pb_RegionInTransition_descriptor,
new java.lang.String[] { "Spec", "RegionState", });
internal_static_hbase_pb_StoreSequenceId_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_hbase_pb_StoreSequenceId_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hbase_pb_StoreSequenceId_descriptor,
new java.lang.String[] { "FamilyName", "SequenceId", });
internal_static_hbase_pb_RegionStoreSequenceIds_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_hbase_pb_RegionStoreSequenceIds_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hbase_pb_RegionStoreSequenceIds_descriptor,
new java.lang.String[] { "LastFlushedSequenceId", "StoreSequenceId", });
internal_static_hbase_pb_RegionLoad_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_hbase_pb_RegionLoad_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hbase_pb_RegionLoad_descriptor,
new java.lang.String[] { "RegionSpecifier", "Stores", "Storefiles", "StoreUncompressedSizeMB", "StorefileSizeMB", "MemstoreSizeMB", "StorefileIndexSizeKB", "ReadRequestsCount", "WriteRequestsCount", "TotalCompactingKVs", "CurrentCompactedKVs", "RootIndexSizeKB", "TotalStaticIndexSizeKB", "TotalStaticBloomSizeKB", "CompleteSequenceId", "DataLocality", "LastMajorCompactionTs", "StoreCompleteSequenceId", "FilteredReadRequestsCount", "StoreRefCount", "MaxCompactedStoreFileRefCount", });
internal_static_hbase_pb_UserLoad_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_hbase_pb_UserLoad_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hbase_pb_UserLoad_descriptor,
new java.lang.String[] { "UserName", "ClientMetrics", });
internal_static_hbase_pb_ClientMetrics_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_hbase_pb_ClientMetrics_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hbase_pb_ClientMetrics_descriptor,
new java.lang.String[] { "HostName", "ReadRequestsCount", "WriteRequestsCount", "FilteredRequestsCount", });
internal_static_hbase_pb_ReplicationLoadSink_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_hbase_pb_ReplicationLoadSink_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hbase_pb_ReplicationLoadSink_descriptor,
new java.lang.String[] { "AgeOfLastAppliedOp", "TimeStampsOfLastAppliedOp", });
internal_static_hbase_pb_ReplicationLoadSource_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_hbase_pb_ReplicationLoadSource_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hbase_pb_ReplicationLoadSource_descriptor,
new java.lang.String[] { "PeerID", "AgeOfLastShippedOp", "SizeOfLogQueue", "TimeStampOfLastShippedOp", "ReplicationLag", });
internal_static_hbase_pb_ServerLoad_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_hbase_pb_ServerLoad_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hbase_pb_ServerLoad_descriptor,
new java.lang.String[] { "NumberOfRequests", "TotalNumberOfRequests", "UsedHeapMB", "MaxHeapMB", "RegionLoads", "Coprocessors", "ReportStartTime", "ReportEndTime", "InfoServerPort", "ReplLoadSource", "ReplLoadSink", "UserLoads", });
internal_static_hbase_pb_LiveServerInfo_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_hbase_pb_LiveServerInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hbase_pb_LiveServerInfo_descriptor,
new java.lang.String[] { "Server", "ServerLoad", });
internal_static_hbase_pb_ClusterStatus_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_hbase_pb_ClusterStatus_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hbase_pb_ClusterStatus_descriptor,
new java.lang.String[] { "HbaseVersion", "LiveServers", "DeadServers", "RegionsInTransition", "ClusterId", "MasterCoprocessors", "Master", "BackupMasters", "BalancerOn", });
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(),
org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.getDescriptor(),
org.apache.hadoop.hbase.protobuf.generated.FSProtos.getDescriptor(),
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}