public static final class ZooKeeperProtos.Master extends com.google.protobuf.GeneratedMessage implements ZooKeeperProtos.MasterOrBuilder
hbase.pb.Master
Content of the master znode.
| Modifier and Type | Class and Description |
|---|---|
static class |
ZooKeeperProtos.Master.Builder
Protobuf type
hbase.pb.Master |
| Modifier and Type | Field and Description |
|---|---|
static int |
INFO_PORT_FIELD_NUMBER |
static int |
MASTER_FIELD_NUMBER |
static <any> |
PARSER |
static int |
RPC_VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static ZooKeeperProtos.Master |
getDefaultInstance() |
ZooKeeperProtos.Master |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getInfoPort()
optional uint32 info_port = 3; |
HBaseProtos.ServerName |
getMaster()
required .hbase.pb.ServerName master = 1; |
HBaseProtos.ServerNameOrBuilder |
getMasterOrBuilder()
required .hbase.pb.ServerName master = 1; |
<any> |
getParserForType() |
int |
getRpcVersion()
optional uint32 rpc_version = 2; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasInfoPort()
optional uint32 info_port = 3; |
boolean |
hasMaster()
required .hbase.pb.ServerName master = 1; |
boolean |
hasRpcVersion()
optional uint32 rpc_version = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ZooKeeperProtos.Master.Builder |
newBuilder() |
static ZooKeeperProtos.Master.Builder |
newBuilder(ZooKeeperProtos.Master prototype) |
ZooKeeperProtos.Master.Builder |
newBuilderForType() |
protected ZooKeeperProtos.Master.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static ZooKeeperProtos.Master |
parseDelimitedFrom(java.io.InputStream input) |
static ZooKeeperProtos.Master |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperProtos.Master |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperProtos.Master |
parseFrom(com.google.protobuf.ByteString data) |
static ZooKeeperProtos.Master |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperProtos.Master |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ZooKeeperProtos.Master |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperProtos.Master |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ZooKeeperProtos.Master.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static <any> 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 ZooKeeperProtos.Master getDefaultInstance()
public ZooKeeperProtos.Master getDefaultInstanceForType()
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public <any> getParserForType()
public boolean hasMaster()
required .hbase.pb.ServerName master = 1;
The ServerName of the current Master
hasMaster in interface ZooKeeperProtos.MasterOrBuilderpublic HBaseProtos.ServerName getMaster()
required .hbase.pb.ServerName master = 1;
The ServerName of the current Master
getMaster in interface ZooKeeperProtos.MasterOrBuilderpublic HBaseProtos.ServerNameOrBuilder getMasterOrBuilder()
required .hbase.pb.ServerName master = 1;
The ServerName of the current Master
getMasterOrBuilder in interface ZooKeeperProtos.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 ZooKeeperProtos.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 ZooKeeperProtos.MasterOrBuilderpublic boolean hasInfoPort()
optional uint32 info_port = 3;hasInfoPort in interface ZooKeeperProtos.MasterOrBuilderpublic int getInfoPort()
optional uint32 info_port = 3;getInfoPort in interface ZooKeeperProtos.MasterOrBuilderpublic final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
java.io.IOExceptionpublic int getSerializedSize()
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionpublic boolean equals(java.lang.Object obj)
public int hashCode()
public static ZooKeeperProtos.Master parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperProtos.Master parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperProtos.Master parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperProtos.Master parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ZooKeeperProtos.Master parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ZooKeeperProtos.Master parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ZooKeeperProtos.Master parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ZooKeeperProtos.Master parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ZooKeeperProtos.Master.Builder newBuilder()
public ZooKeeperProtos.Master.Builder newBuilderForType()
public static ZooKeeperProtos.Master.Builder newBuilder(ZooKeeperProtos.Master prototype)
public ZooKeeperProtos.Master.Builder toBuilder()
protected ZooKeeperProtos.Master.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)