public static final class ZooKeeperPB.Master.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.Master,ZooKeeperPB.Master.Builder> implements ZooKeeperPB.MasterOrBuilder
Content of the master znode.Protobuf type
Master| Modifier and Type | Method and Description |
|---|---|
ZooKeeperPB.Master.Builder |
clearMaster()
The ServerName of the current Master
|
ZooKeeperPB.Master.Builder |
clearRpcVersion()
Major RPC version so that clients can know what version the master can accept.
|
HBasePB.ServerName |
getMaster()
The ServerName of the current Master
|
int |
getRpcVersion()
Major RPC version so that clients can know what version the master can accept.
|
boolean |
hasMaster()
The ServerName of the current Master
|
boolean |
hasRpcVersion()
Major RPC version so that clients can know what version the master can accept.
|
ZooKeeperPB.Master.Builder |
mergeMaster(HBasePB.ServerName value)
The ServerName of the current Master
|
ZooKeeperPB.Master.Builder |
setMaster(HBasePB.ServerName.Builder builderForValue)
The ServerName of the current Master
|
ZooKeeperPB.Master.Builder |
setMaster(HBasePB.ServerName value)
The ServerName of the current Master
|
ZooKeeperPB.Master.Builder |
setRpcVersion(int value)
Major RPC version so that clients can know what version the master can accept.
|
build, buildPartial, clear, clone, copyOnWrite, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFromaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionpublic boolean hasMaster()
The ServerName of the current Master
required .ServerName master = 1;hasMaster in interface ZooKeeperPB.MasterOrBuilderpublic HBasePB.ServerName getMaster()
The ServerName of the current Master
required .ServerName master = 1;getMaster in interface ZooKeeperPB.MasterOrBuilderpublic ZooKeeperPB.Master.Builder setMaster(HBasePB.ServerName value)
The ServerName of the current Master
required .ServerName master = 1;public ZooKeeperPB.Master.Builder setMaster(HBasePB.ServerName.Builder builderForValue)
The ServerName of the current Master
required .ServerName master = 1;public ZooKeeperPB.Master.Builder mergeMaster(HBasePB.ServerName value)
The ServerName of the current Master
required .ServerName master = 1;public ZooKeeperPB.Master.Builder clearMaster()
The ServerName of the current Master
required .ServerName master = 1;public boolean hasRpcVersion()
Major RPC version so that clients can know what version the master can accept.
optional uint32 rpc_version = 2;hasRpcVersion in interface ZooKeeperPB.MasterOrBuilderpublic int getRpcVersion()
Major RPC version so that clients can know what version the master can accept.
optional uint32 rpc_version = 2;getRpcVersion in interface ZooKeeperPB.MasterOrBuilderpublic ZooKeeperPB.Master.Builder setRpcVersion(int value)
Major RPC version so that clients can know what version the master can accept.
optional uint32 rpc_version = 2;public ZooKeeperPB.Master.Builder clearRpcVersion()
Major RPC version so that clients can know what version the master can accept.
optional uint32 rpc_version = 2;Copyright © 2010–2018 The Async HBase Authors. All rights reserved.