org.apache.hadoop.hbase.protobuf.generated
Class ClientProtos.RegionLoadStats.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<ClientProtos.RegionLoadStats.Builder>
              extended by org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ClientProtos.RegionLoadStatsOrBuilder
Enclosing class:
ClientProtos.RegionLoadStats

public static final class ClientProtos.RegionLoadStats.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ClientProtos.RegionLoadStats.Builder>
implements ClientProtos.RegionLoadStatsOrBuilder

Protobuf type RegionLoadStats


 Statistics about the current load on the region
 


Method Summary
 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];
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.RegionLoadStats.Builder>

clear

public ClientProtos.RegionLoadStats.Builder clear()
Specified by:
clear in interface com.google.protobuf.Message.Builder
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.RegionLoadStats.Builder>

clone

public ClientProtos.RegionLoadStats.Builder clone()
Specified by:
clone in interface com.google.protobuf.Message.Builder
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.RegionLoadStats.Builder>

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder
Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.RegionLoadStats.Builder>

getDefaultInstanceForType

public ClientProtos.RegionLoadStats getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

public ClientProtos.RegionLoadStats build()
Specified by:
build in interface com.google.protobuf.Message.Builder
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public ClientProtos.RegionLoadStats buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.Message.Builder
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public ClientProtos.RegionLoadStats.Builder mergeFrom(com.google.protobuf.Message other)
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClientProtos.RegionLoadStats.Builder>

mergeFrom

public ClientProtos.RegionLoadStats.Builder mergeFrom(ClientProtos.RegionLoadStats other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.RegionLoadStats.Builder>

mergeFrom

public ClientProtos.RegionLoadStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClientProtos.RegionLoadStats.Builder>
Throws:
IOException

hasMemstoreLoad

public boolean hasMemstoreLoad()
optional int32 memstoreLoad = 1 [default = 0];
 Percent load on the memstore. Guaranteed to be positive, between 0 and 100.
 

Specified by:
hasMemstoreLoad in interface ClientProtos.RegionLoadStatsOrBuilder

getMemstoreLoad

public int getMemstoreLoad()
optional int32 memstoreLoad = 1 [default = 0];
 Percent load on the memstore. Guaranteed to be positive, between 0 and 100.
 

Specified by:
getMemstoreLoad in interface ClientProtos.RegionLoadStatsOrBuilder

setMemstoreLoad

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.
 


clearMemstoreLoad

public ClientProtos.RegionLoadStats.Builder clearMemstoreLoad()
optional int32 memstoreLoad = 1 [default = 0];
 Percent load on the memstore. Guaranteed to be positive, between 0 and 100.
 


hasHeapOccupancy

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.
 

Specified by:
hasHeapOccupancy in interface ClientProtos.RegionLoadStatsOrBuilder

getHeapOccupancy

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.
 

Specified by:
getHeapOccupancy in interface ClientProtos.RegionLoadStatsOrBuilder

setHeapOccupancy

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.
 


clearHeapOccupancy

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 © 2015 The Apache Software Foundation. All Rights Reserved.