org.hbase.async.generated
Class ZooKeeperPB.MetaRegionServer.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.MetaRegionServer,ZooKeeperPB.MetaRegionServer.Builder>
          extended by org.hbase.async.generated.ZooKeeperPB.MetaRegionServer.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, ZooKeeperPB.MetaRegionServerOrBuilder
Enclosing class:
ZooKeeperPB.MetaRegionServer

public static final class ZooKeeperPB.MetaRegionServer.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.MetaRegionServer,ZooKeeperPB.MetaRegionServer.Builder>
implements ZooKeeperPB.MetaRegionServerOrBuilder

Protobuf type MetaRegionServer


 Content of the meta-region-server znode.
 


Method Summary
 ZooKeeperPB.MetaRegionServer build()
           
 ZooKeeperPB.MetaRegionServer buildPartial()
           
 ZooKeeperPB.MetaRegionServer.Builder clear()
           
 ZooKeeperPB.MetaRegionServer.Builder clearRpcVersion()
          optional uint32 rpc_version = 2;
 ZooKeeperPB.MetaRegionServer.Builder clearServer()
          required .ServerName server = 1;
 ZooKeeperPB.MetaRegionServer.Builder clone()
           
 ZooKeeperPB.MetaRegionServer getDefaultInstanceForType()
           
 int getRpcVersion()
          optional uint32 rpc_version = 2;
 HBasePB.ServerName getServer()
          required .ServerName server = 1;
 boolean hasRpcVersion()
          optional uint32 rpc_version = 2;
 boolean hasServer()
          required .ServerName server = 1;
 boolean isInitialized()
           
 ZooKeeperPB.MetaRegionServer.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ZooKeeperPB.MetaRegionServer.Builder mergeFrom(ZooKeeperPB.MetaRegionServer other)
           
 ZooKeeperPB.MetaRegionServer.Builder mergeServer(HBasePB.ServerName value)
          required .ServerName server = 1;
 ZooKeeperPB.MetaRegionServer.Builder setRpcVersion(int value)
          optional uint32 rpc_version = 2;
 ZooKeeperPB.MetaRegionServer.Builder setServer(HBasePB.ServerName.Builder builderForValue)
          required .ServerName server = 1;
 ZooKeeperPB.MetaRegionServer.Builder setServer(HBasePB.ServerName value)
          required .ServerName server = 1;
 
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
parseUnknownField
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clear

public ZooKeeperPB.MetaRegionServer.Builder clear()
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.MetaRegionServer,ZooKeeperPB.MetaRegionServer.Builder>

clone

public ZooKeeperPB.MetaRegionServer.Builder clone()
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.MetaRegionServer,ZooKeeperPB.MetaRegionServer.Builder>

getDefaultInstanceForType

public ZooKeeperPB.MetaRegionServer getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
getDefaultInstanceForType in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.MetaRegionServer,ZooKeeperPB.MetaRegionServer.Builder>

build

public ZooKeeperPB.MetaRegionServer build()
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public ZooKeeperPB.MetaRegionServer buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public ZooKeeperPB.MetaRegionServer.Builder mergeFrom(ZooKeeperPB.MetaRegionServer other)
Specified by:
mergeFrom in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.MetaRegionServer,ZooKeeperPB.MetaRegionServer.Builder>

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder

mergeFrom

public ZooKeeperPB.MetaRegionServer.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessageLite.Builder<ZooKeeperPB.MetaRegionServer.Builder>
Throws:
IOException

hasServer

public boolean hasServer()
required .ServerName server = 1;
 The ServerName hosting the meta region currently.
 

Specified by:
hasServer in interface ZooKeeperPB.MetaRegionServerOrBuilder

getServer

public HBasePB.ServerName getServer()
required .ServerName server = 1;
 The ServerName hosting the meta region currently.
 

Specified by:
getServer in interface ZooKeeperPB.MetaRegionServerOrBuilder

setServer

public ZooKeeperPB.MetaRegionServer.Builder setServer(HBasePB.ServerName value)
required .ServerName server = 1;
 The ServerName hosting the meta region currently.
 


setServer

public ZooKeeperPB.MetaRegionServer.Builder setServer(HBasePB.ServerName.Builder builderForValue)
required .ServerName server = 1;
 The ServerName hosting the meta region currently.
 


mergeServer

public ZooKeeperPB.MetaRegionServer.Builder mergeServer(HBasePB.ServerName value)
required .ServerName server = 1;
 The ServerName hosting the meta region currently.
 


clearServer

public ZooKeeperPB.MetaRegionServer.Builder clearServer()
required .ServerName server = 1;
 The ServerName hosting the meta region currently.
 


hasRpcVersion

public boolean hasRpcVersion()
optional uint32 rpc_version = 2;
 The major version of the rpc the server speaks.  This is used so that
 clients connecting to the cluster can have prior knowledge of what version
 to send to a RegionServer.  AsyncHBase will use this to detect versions.
 

Specified by:
hasRpcVersion in interface ZooKeeperPB.MetaRegionServerOrBuilder

getRpcVersion

public int getRpcVersion()
optional uint32 rpc_version = 2;
 The major version of the rpc the server speaks.  This is used so that
 clients connecting to the cluster can have prior knowledge of what version
 to send to a RegionServer.  AsyncHBase will use this to detect versions.
 

Specified by:
getRpcVersion in interface ZooKeeperPB.MetaRegionServerOrBuilder

setRpcVersion

public ZooKeeperPB.MetaRegionServer.Builder setRpcVersion(int value)
optional uint32 rpc_version = 2;
 The major version of the rpc the server speaks.  This is used so that
 clients connecting to the cluster can have prior knowledge of what version
 to send to a RegionServer.  AsyncHBase will use this to detect versions.
 


clearRpcVersion

public ZooKeeperPB.MetaRegionServer.Builder clearRpcVersion()
optional uint32 rpc_version = 2;
 The major version of the rpc the server speaks.  This is used so that
 clients connecting to the cluster can have prior knowledge of what version
 to send to a RegionServer.  AsyncHBase will use this to detect versions.
 



Copyright © 2010-2015, The Async HBase Authors