org.hbase.async.generated
Class ZooKeeperPB.Master

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.GeneratedMessageLite
          extended by org.hbase.async.generated.ZooKeeperPB.Master
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, Serializable, ZooKeeperPB.MasterOrBuilder
Enclosing class:
ZooKeeperPB

public static final class ZooKeeperPB.Master
extends com.google.protobuf.GeneratedMessageLite
implements ZooKeeperPB.MasterOrBuilder

Protobuf type Master


 Content of the master znode.
 

See Also:
Serialized Form

Nested Class Summary
static class ZooKeeperPB.Master.Builder
          Protobuf type Master
 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
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>
 
Field Summary
static int MASTER_FIELD_NUMBER
           
static com.google.protobuf.Parser<ZooKeeperPB.Master> PARSER
           
static int RPC_VERSION_FIELD_NUMBER
           
 
Method Summary
static ZooKeeperPB.Master getDefaultInstance()
           
 ZooKeeperPB.Master getDefaultInstanceForType()
           
 HBasePB.ServerName getMaster()
          required .ServerName master = 1;
 com.google.protobuf.Parser<ZooKeeperPB.Master> getParserForType()
           
 int getRpcVersion()
          optional uint32 rpc_version = 2;
 int getSerializedSize()
           
 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)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessageLite
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField
 
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARSER

public static com.google.protobuf.Parser<ZooKeeperPB.Master> PARSER

MASTER_FIELD_NUMBER

public static final int MASTER_FIELD_NUMBER
See Also:
Constant Field Values

RPC_VERSION_FIELD_NUMBER

public static final int RPC_VERSION_FIELD_NUMBER
See Also:
Constant Field Values
Method Detail

getDefaultInstance

public static ZooKeeperPB.Master getDefaultInstance()

getDefaultInstanceForType

public ZooKeeperPB.Master getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder

getParserForType

public com.google.protobuf.Parser<ZooKeeperPB.Master> getParserForType()
Specified by:
getParserForType in interface com.google.protobuf.MessageLite
Overrides:
getParserForType in class com.google.protobuf.GeneratedMessageLite

hasMaster

public boolean hasMaster()
required .ServerName master = 1;
 The ServerName of the current Master
 

Specified by:
hasMaster in interface ZooKeeperPB.MasterOrBuilder

getMaster

public HBasePB.ServerName getMaster()
required .ServerName master = 1;
 The ServerName of the current Master
 

Specified by:
getMaster in interface ZooKeeperPB.MasterOrBuilder

hasRpcVersion

public boolean hasRpcVersion()
optional uint32 rpc_version = 2;
 Major RPC version so that clients can know what version the master can accept.
 

Specified by:
hasRpcVersion in interface ZooKeeperPB.MasterOrBuilder

getRpcVersion

public int getRpcVersion()
optional uint32 rpc_version = 2;
 Major RPC version so that clients can know what version the master can accept.
 

Specified by:
getRpcVersion in interface ZooKeeperPB.MasterOrBuilder

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws IOException
Specified by:
writeTo in interface com.google.protobuf.MessageLite
Throws:
IOException

getSerializedSize

public int getSerializedSize()
Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Overrides:
writeReplace in class com.google.protobuf.GeneratedMessageLite
Throws:
ObjectStreamException

parseFrom

public static ZooKeeperPB.Master parseFrom(com.google.protobuf.ByteString data)
                                    throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static ZooKeeperPB.Master parseFrom(com.google.protobuf.ByteString data,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static ZooKeeperPB.Master parseFrom(byte[] data)
                                    throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static ZooKeeperPB.Master parseFrom(byte[] data,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static ZooKeeperPB.Master parseFrom(InputStream input)
                                    throws IOException
Throws:
IOException

parseFrom

public static ZooKeeperPB.Master parseFrom(InputStream input,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws IOException
Throws:
IOException

parseDelimitedFrom

public static ZooKeeperPB.Master parseDelimitedFrom(InputStream input)
                                             throws IOException
Throws:
IOException

parseDelimitedFrom

public static ZooKeeperPB.Master parseDelimitedFrom(InputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws IOException
Throws:
IOException

parseFrom

public static ZooKeeperPB.Master parseFrom(com.google.protobuf.CodedInputStream input)
                                    throws IOException
Throws:
IOException

parseFrom

public static ZooKeeperPB.Master parseFrom(com.google.protobuf.CodedInputStream input,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws IOException
Throws:
IOException

newBuilder

public static ZooKeeperPB.Master.Builder newBuilder()

newBuilderForType

public ZooKeeperPB.Master.Builder newBuilderForType()
Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite

newBuilder

public static ZooKeeperPB.Master.Builder newBuilder(ZooKeeperPB.Master prototype)

toBuilder

public ZooKeeperPB.Master.Builder toBuilder()
Specified by:
toBuilder in interface com.google.protobuf.MessageLite


Copyright © 2010-2015, The Async HBase Authors