org.hbase.async.generated
Class ZooKeeperPB.SplitLogTask

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

public static final class ZooKeeperPB.SplitLogTask
extends com.google.protobuf.GeneratedMessageLite
implements ZooKeeperPB.SplitLogTaskOrBuilder

Protobuf type SplitLogTask


 WAL SplitLog directory znodes have this for content.  Used doing distributed
 WAL splitting.  Holds current state and name of server that originated split.
 

See Also:
Serialized Form

Nested Class Summary
static class ZooKeeperPB.SplitLogTask.Builder
          Protobuf type SplitLogTask
static class ZooKeeperPB.SplitLogTask.State
          Protobuf enum SplitLogTask.State
 
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 com.google.protobuf.Parser<ZooKeeperPB.SplitLogTask> PARSER
           
static int SERVER_NAME_FIELD_NUMBER
           
static int STATE_FIELD_NUMBER
           
 
Method Summary
static ZooKeeperPB.SplitLogTask getDefaultInstance()
           
 ZooKeeperPB.SplitLogTask getDefaultInstanceForType()
           
 com.google.protobuf.Parser<ZooKeeperPB.SplitLogTask> getParserForType()
           
 int getSerializedSize()
           
 HBasePB.ServerName getServerName()
          required .ServerName server_name = 2;
 ZooKeeperPB.SplitLogTask.State getState()
          required .SplitLogTask.State state = 1;
 boolean hasServerName()
          required .ServerName server_name = 2;
 boolean hasState()
          required .SplitLogTask.State state = 1;
 boolean isInitialized()
           
static ZooKeeperPB.SplitLogTask.Builder newBuilder()
           
static ZooKeeperPB.SplitLogTask.Builder newBuilder(ZooKeeperPB.SplitLogTask prototype)
           
 ZooKeeperPB.SplitLogTask.Builder newBuilderForType()
           
static ZooKeeperPB.SplitLogTask parseDelimitedFrom(InputStream input)
           
static ZooKeeperPB.SplitLogTask parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ZooKeeperPB.SplitLogTask parseFrom(byte[] data)
           
static ZooKeeperPB.SplitLogTask parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ZooKeeperPB.SplitLogTask parseFrom(com.google.protobuf.ByteString data)
           
static ZooKeeperPB.SplitLogTask parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ZooKeeperPB.SplitLogTask parseFrom(com.google.protobuf.CodedInputStream input)
           
static ZooKeeperPB.SplitLogTask parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ZooKeeperPB.SplitLogTask parseFrom(InputStream input)
           
static ZooKeeperPB.SplitLogTask parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ZooKeeperPB.SplitLogTask.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.SplitLogTask> PARSER

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
See Also:
Constant Field Values

SERVER_NAME_FIELD_NUMBER

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

getDefaultInstance

public static ZooKeeperPB.SplitLogTask getDefaultInstance()

getDefaultInstanceForType

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

getParserForType

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

hasState

public boolean hasState()
required .SplitLogTask.State state = 1;

Specified by:
hasState in interface ZooKeeperPB.SplitLogTaskOrBuilder

getState

public ZooKeeperPB.SplitLogTask.State getState()
required .SplitLogTask.State state = 1;

Specified by:
getState in interface ZooKeeperPB.SplitLogTaskOrBuilder

hasServerName

public boolean hasServerName()
required .ServerName server_name = 2;

Specified by:
hasServerName in interface ZooKeeperPB.SplitLogTaskOrBuilder

getServerName

public HBasePB.ServerName getServerName()
required .ServerName server_name = 2;

Specified by:
getServerName in interface ZooKeeperPB.SplitLogTaskOrBuilder

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.SplitLogTask parseFrom(com.google.protobuf.ByteString data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static ZooKeeperPB.SplitLogTask 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.SplitLogTask parseFrom(byte[] data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

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

parseFrom

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

parseFrom

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

parseDelimitedFrom

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

parseDelimitedFrom

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

parseFrom

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

parseFrom

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

newBuilder

public static ZooKeeperPB.SplitLogTask.Builder newBuilder()

newBuilderForType

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

newBuilder

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

toBuilder

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


Copyright © 2010-2015, The Async HBase Authors