@Generated(value="proto") public static final class ClientProtos.RegionLoadStats.Builder extends com.google.protobuf.GeneratedMessage.Builder<ClientProtos.RegionLoadStats.Builder> implements ClientProtos.RegionLoadStatsOrBuilder
hbase.pb.RegionLoadStats
Statistics about the current load on the region
Modifier and Type | Method and Description |
---|---|
ClientProtos.RegionLoadStats |
build() |
ClientProtos.RegionLoadStats |
buildPartial() |
ClientProtos.RegionLoadStats.Builder |
clear() |
ClientProtos.RegionLoadStats.Builder |
clearCompactionPressure()
optional int32 compactionPressure = 3 [default = 0]; |
ClientProtos.RegionLoadStats.Builder |
clearHeapOccupancy()
optional int32 heapOccupancy = 2 [default = 0]; |
ClientProtos.RegionLoadStats.Builder |
clearMemStoreLoad()
optional int32 memStoreLoad = 1 [default = 0]; |
ClientProtos.RegionLoadStats.Builder |
clone() |
int |
getCompactionPressure()
optional int32 compactionPressure = 3 [default = 0]; |
ClientProtos.RegionLoadStats |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getHeapOccupancy()
optional int32 heapOccupancy = 2 [default = 0]; |
int |
getMemStoreLoad()
optional int32 memStoreLoad = 1 [default = 0]; |
boolean |
hasCompactionPressure()
optional int32 compactionPressure = 3 [default = 0]; |
boolean |
hasHeapOccupancy()
optional int32 heapOccupancy = 2 [default = 0]; |
boolean |
hasMemStoreLoad()
optional int32 memStoreLoad = 1 [default = 0]; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ClientProtos.RegionLoadStats.Builder |
mergeFrom(ClientProtos.RegionLoadStats other) |
ClientProtos.RegionLoadStats.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClientProtos.RegionLoadStats.Builder |
mergeFrom(com.google.protobuf.Message other) |
ClientProtos.RegionLoadStats.Builder |
setCompactionPressure(int value)
optional int32 compactionPressure = 3 [default = 0]; |
ClientProtos.RegionLoadStats.Builder |
setHeapOccupancy(int value)
optional int32 heapOccupancy = 2 [default = 0]; |
ClientProtos.RegionLoadStats.Builder |
setMemStoreLoad(int value)
optional int32 memStoreLoad = 1 [default = 0]; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.RegionLoadStats.Builder>
public ClientProtos.RegionLoadStats.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.RegionLoadStats.Builder>
public ClientProtos.RegionLoadStats.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.RegionLoadStats.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.RegionLoadStats.Builder>
public ClientProtos.RegionLoadStats getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ClientProtos.RegionLoadStats build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ClientProtos.RegionLoadStats buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ClientProtos.RegionLoadStats.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ClientProtos.RegionLoadStats.Builder>
public ClientProtos.RegionLoadStats.Builder mergeFrom(ClientProtos.RegionLoadStats other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.RegionLoadStats.Builder>
public ClientProtos.RegionLoadStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ClientProtos.RegionLoadStats.Builder>
IOException
public boolean hasMemStoreLoad()
optional int32 memStoreLoad = 1 [default = 0];
Percent load on the memstore. Guaranteed to be positive, between 0 and 100.
hasMemStoreLoad
in interface ClientProtos.RegionLoadStatsOrBuilder
public int getMemStoreLoad()
optional int32 memStoreLoad = 1 [default = 0];
Percent load on the memstore. Guaranteed to be positive, between 0 and 100.
getMemStoreLoad
in interface ClientProtos.RegionLoadStatsOrBuilder
public ClientProtos.RegionLoadStats.Builder setMemStoreLoad(int value)
optional int32 memStoreLoad = 1 [default = 0];
Percent load on the memstore. Guaranteed to be positive, between 0 and 100.
public ClientProtos.RegionLoadStats.Builder clearMemStoreLoad()
optional int32 memStoreLoad = 1 [default = 0];
Percent load on the memstore. Guaranteed to be positive, between 0 and 100.
public boolean hasHeapOccupancy()
optional int32 heapOccupancy = 2 [default = 0];
Percent JVM heap occupancy. Guaranteed to be positive, between 0 and 100. We can move this to "ServerLoadStats" should we develop them.
hasHeapOccupancy
in interface ClientProtos.RegionLoadStatsOrBuilder
public int getHeapOccupancy()
optional int32 heapOccupancy = 2 [default = 0];
Percent JVM heap occupancy. Guaranteed to be positive, between 0 and 100. We can move this to "ServerLoadStats" should we develop them.
getHeapOccupancy
in interface ClientProtos.RegionLoadStatsOrBuilder
public ClientProtos.RegionLoadStats.Builder setHeapOccupancy(int value)
optional int32 heapOccupancy = 2 [default = 0];
Percent JVM heap occupancy. Guaranteed to be positive, between 0 and 100. We can move this to "ServerLoadStats" should we develop them.
public ClientProtos.RegionLoadStats.Builder clearHeapOccupancy()
optional int32 heapOccupancy = 2 [default = 0];
Percent JVM heap occupancy. Guaranteed to be positive, between 0 and 100. We can move this to "ServerLoadStats" should we develop them.
public boolean hasCompactionPressure()
optional int32 compactionPressure = 3 [default = 0];
Compaction pressure. Guaranteed to be positive, between 0 and 100.
hasCompactionPressure
in interface ClientProtos.RegionLoadStatsOrBuilder
public int getCompactionPressure()
optional int32 compactionPressure = 3 [default = 0];
Compaction pressure. Guaranteed to be positive, between 0 and 100.
getCompactionPressure
in interface ClientProtos.RegionLoadStatsOrBuilder
public ClientProtos.RegionLoadStats.Builder setCompactionPressure(int value)
optional int32 compactionPressure = 3 [default = 0];
Compaction pressure. Guaranteed to be positive, between 0 and 100.
public ClientProtos.RegionLoadStats.Builder clearCompactionPressure()
optional int32 compactionPressure = 3 [default = 0];
Compaction pressure. Guaranteed to be positive, between 0 and 100.
Copyright © 2007–2019 Cloudera. All rights reserved.