public static final class ZooKeeperPB.Master extends com.google.protobuf.GeneratedMessageLite<ZooKeeperPB.Master,ZooKeeperPB.Master.Builder> implements ZooKeeperPB.MasterOrBuilder
Content of the master znode.Protobuf type
Master| Modifier and Type | Class and Description |
|---|---|
static class |
ZooKeeperPB.Master.Builder
Content of the master znode.
|
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MergeFromVisitor, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm, com.google.protobuf.GeneratedMessageLite.Visitor| Modifier and Type | Field and Description |
|---|---|
static int |
MASTER_FIELD_NUMBER |
static int |
RPC_VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
static ZooKeeperPB.Master |
getDefaultInstance() |
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.
|
int |
getSerializedSize() |
boolean |
hasMaster()
The ServerName of the current Master
|
boolean |
hasRpcVersion()
Major RPC version so that clients can know what version the master can accept.
|
static ZooKeeperPB.Master.Builder |
newBuilder() |
static ZooKeeperPB.Master.Builder |
newBuilder(ZooKeeperPB.Master prototype) |
static ZooKeeperPB.Master |
parseDelimitedFrom(InputStream input) |
static ZooKeeperPB.Master |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.Master |
parseFrom(byte[] data) |
static ZooKeeperPB.Master |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.Master |
parseFrom(ByteBuffer data) |
static ZooKeeperPB.Master |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.Master |
parseFrom(com.google.protobuf.ByteString data) |
static ZooKeeperPB.Master |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.Master |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ZooKeeperPB.Master |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.Master |
parseFrom(InputStream input) |
static ZooKeeperPB.Master |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ZooKeeperPB.Master> |
parser() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, isInitialized, makeImmutable, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, toBuilder, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int MASTER_FIELD_NUMBER
public static final int RPC_VERSION_FIELD_NUMBER
public 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 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 void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitepublic static ZooKeeperPB.Master parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.Master parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.Master parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.Master parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.Master parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.Master parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.Master parseFrom(InputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.Master parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.Master parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.Master parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.Master parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.Master parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.Master.Builder newBuilder()
public static ZooKeeperPB.Master.Builder newBuilder(ZooKeeperPB.Master prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<ZooKeeperPB.Master,ZooKeeperPB.Master.Builder>public static ZooKeeperPB.Master getDefaultInstance()
public static com.google.protobuf.Parser<ZooKeeperPB.Master> parser()
Copyright © 2010–2018 The Async HBase Authors. All rights reserved.