public static final class ClientProtos.RegionLoadStats.Builder extends com.google.protobuf.GeneratedMessage.Builder<ClientProtos.RegionLoadStats.Builder> implements ClientProtos.RegionLoadStatsOrBuilder
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 |
clearHeapOccupancy()
optional int32 heapOccupancy = 2 [default = 0]; |
ClientProtos.RegionLoadStats.Builder |
clearMemstoreLoad()
optional int32 memstoreLoad = 1 [default = 0]; |
ClientProtos.RegionLoadStats.Builder |
clone() |
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 |
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 |
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, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic 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.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.RegionLoadStats.Builder>public ClientProtos.RegionLoadStats.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.RegionLoadStats.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.RegionLoadStats.Builder>public ClientProtos.RegionLoadStats getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ClientProtos.RegionLoadStats build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ClientProtos.RegionLoadStats buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ClientProtos.RegionLoadStats.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom 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.MessageLiteOrBuilderisInitialized 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.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClientProtos.RegionLoadStats.Builder>IOExceptionpublic 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.RegionLoadStatsOrBuilderpublic 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.RegionLoadStatsOrBuilderpublic 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.RegionLoadStatsOrBuilderpublic 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.RegionLoadStatsOrBuilderpublic 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.
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.