public static final class ZooKeeperPB.Master extends com.google.protobuf.GeneratedMessageLite implements ZooKeeperPB.MasterOrBuilder
Master
Content of the master znode.
| Modifier and Type | Class and Description |
|---|---|
static class |
ZooKeeperPB.Master.Builder
Protobuf type
Master |
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
INFO_PORT_FIELD_NUMBER |
static int |
MASTER_FIELD_NUMBER |
static com.google.protobuf.Parser<ZooKeeperPB.Master> |
PARSER |
static int |
RPC_VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static ZooKeeperPB.Master |
getDefaultInstance() |
ZooKeeperPB.Master |
getDefaultInstanceForType() |
int |
getInfoPort()
optional uint32 info_port = 3; |
HBasePB.ServerName |
getMaster()
required .ServerName master = 1; |
com.google.protobuf.Parser<ZooKeeperPB.Master> |
getParserForType() |
int |
getRpcVersion()
optional uint32 rpc_version = 2; |
int |
getSerializedSize() |
boolean |
hasInfoPort()
optional uint32 info_port = 3; |
boolean |
hasMaster()
required .ServerName master = 1; |
boolean |
hasRpcVersion()
optional uint32 rpc_version = 2; |
boolean |
isInitialized() |
static ZooKeeperPB.Master.Builder |
newBuilder() |
static ZooKeeperPB.Master.Builder |
newBuilder(ZooKeeperPB.Master prototype) |
ZooKeeperPB.Master.Builder |
newBuilderForType() |
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(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) |
ZooKeeperPB.Master.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownFieldpublic static com.google.protobuf.Parser<ZooKeeperPB.Master> PARSER
public static final int MASTER_FIELD_NUMBER
public static final int RPC_VERSION_FIELD_NUMBER
public static final int INFO_PORT_FIELD_NUMBER
public static ZooKeeperPB.Master getDefaultInstance()
public ZooKeeperPB.Master getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilderpublic com.google.protobuf.Parser<ZooKeeperPB.Master> getParserForType()
getParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageLitepublic boolean hasMaster()
required .ServerName master = 1;
The ServerName of the current Master
hasMaster in interface ZooKeeperPB.MasterOrBuilderpublic HBasePB.ServerName getMaster()
required .ServerName master = 1;
The ServerName of the current Master
getMaster in interface ZooKeeperPB.MasterOrBuilderpublic boolean hasRpcVersion()
optional uint32 rpc_version = 2;
Major RPC version so that clients can know what version the master can accept.
hasRpcVersion in interface ZooKeeperPB.MasterOrBuilderpublic int getRpcVersion()
optional uint32 rpc_version = 2;
Major RPC version so that clients can know what version the master can accept.
getRpcVersion in interface ZooKeeperPB.MasterOrBuilderpublic boolean hasInfoPort()
optional uint32 info_port = 3;hasInfoPort in interface ZooKeeperPB.MasterOrBuilderpublic int getInfoPort()
optional uint32 info_port = 3;getInfoPort in interface ZooKeeperPB.MasterOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLiteprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageLiteObjectStreamExceptionpublic 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 ZooKeeperPB.Master.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessageLitepublic static ZooKeeperPB.Master.Builder newBuilder(ZooKeeperPB.Master prototype)
public ZooKeeperPB.Master.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessageLiteCopyright © 2010-2017, The Async HBase Authors