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, 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.
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.