public static final class ZooKeeperPB.MetaRegionServer.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.MetaRegionServer,ZooKeeperPB.MetaRegionServer.Builder> implements ZooKeeperPB.MetaRegionServerOrBuilder
Content of the meta-region-server znode.Protobuf type
MetaRegionServer
Modifier and Type | Method and Description |
---|---|
ZooKeeperPB.MetaRegionServer.Builder |
clearRpcVersion()
The major version of the rpc the server speaks.
|
ZooKeeperPB.MetaRegionServer.Builder |
clearServer()
The ServerName hosting the meta region currently.
|
int |
getRpcVersion()
The major version of the rpc the server speaks.
|
HBasePB.ServerName |
getServer()
The ServerName hosting the meta region currently.
|
boolean |
hasRpcVersion()
The major version of the rpc the server speaks.
|
boolean |
hasServer()
The ServerName hosting the meta region currently.
|
ZooKeeperPB.MetaRegionServer.Builder |
mergeServer(HBasePB.ServerName value)
The ServerName hosting the meta region currently.
|
ZooKeeperPB.MetaRegionServer.Builder |
setRpcVersion(int value)
The major version of the rpc the server speaks.
|
ZooKeeperPB.MetaRegionServer.Builder |
setServer(HBasePB.ServerName.Builder builderForValue)
The ServerName hosting the meta region currently.
|
ZooKeeperPB.MetaRegionServer.Builder |
setServer(HBasePB.ServerName value)
The ServerName hosting the meta region currently.
|
build, buildPartial, clear, clone, copyOnWrite, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
public boolean hasServer()
The ServerName hosting the meta region currently.
required .ServerName server = 1;
hasServer
in interface ZooKeeperPB.MetaRegionServerOrBuilder
public HBasePB.ServerName getServer()
The ServerName hosting the meta region currently.
required .ServerName server = 1;
getServer
in interface ZooKeeperPB.MetaRegionServerOrBuilder
public ZooKeeperPB.MetaRegionServer.Builder setServer(HBasePB.ServerName value)
The ServerName hosting the meta region currently.
required .ServerName server = 1;
public ZooKeeperPB.MetaRegionServer.Builder setServer(HBasePB.ServerName.Builder builderForValue)
The ServerName hosting the meta region currently.
required .ServerName server = 1;
public ZooKeeperPB.MetaRegionServer.Builder mergeServer(HBasePB.ServerName value)
The ServerName hosting the meta region currently.
required .ServerName server = 1;
public ZooKeeperPB.MetaRegionServer.Builder clearServer()
The ServerName hosting the meta region currently.
required .ServerName server = 1;
public boolean hasRpcVersion()
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.
optional uint32 rpc_version = 2;
hasRpcVersion
in interface ZooKeeperPB.MetaRegionServerOrBuilder
public int getRpcVersion()
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.
optional uint32 rpc_version = 2;
getRpcVersion
in interface ZooKeeperPB.MetaRegionServerOrBuilder
public ZooKeeperPB.MetaRegionServer.Builder setRpcVersion(int value)
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.
optional uint32 rpc_version = 2;
public ZooKeeperPB.MetaRegionServer.Builder clearRpcVersion()
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.
optional uint32 rpc_version = 2;
Copyright © 2010–2018 The Async HBase Authors. All rights reserved.