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, parseUnknownField
public 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.MessageLiteOrBuilder
public com.google.protobuf.Parser<ZooKeeperPB.Master> getParserForType()
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageLite
public boolean hasMaster()
required .ServerName master = 1;
The ServerName of the current Master
hasMaster
in interface ZooKeeperPB.MasterOrBuilder
public HBasePB.ServerName getMaster()
required .ServerName master = 1;
The ServerName of the current Master
getMaster
in interface ZooKeeperPB.MasterOrBuilder
public 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.MasterOrBuilder
public 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.MasterOrBuilder
public boolean hasInfoPort()
optional uint32 info_port = 3;
hasInfoPort
in interface ZooKeeperPB.MasterOrBuilder
public int getInfoPort()
optional uint32 info_port = 3;
getInfoPort
in interface ZooKeeperPB.MasterOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessageLite
ObjectStreamException
public static ZooKeeperPB.Master parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.Master parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.Master parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.Master parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.Master parseFrom(InputStream input) throws IOException
IOException
public static ZooKeeperPB.Master parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ZooKeeperPB.Master parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ZooKeeperPB.Master parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ZooKeeperPB.Master parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ZooKeeperPB.Master parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ZooKeeperPB.Master.Builder newBuilder()
public ZooKeeperPB.Master.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ZooKeeperPB.Master.Builder newBuilder(ZooKeeperPB.Master prototype)
public ZooKeeperPB.Master.Builder toBuilder()
toBuilder
in interface com.google.protobuf.MessageLite
Copyright © 2010-2017, The Async HBase Authors