public static final class ZooKeeperProtos.SplitLogTask extends com.google.protobuf.GeneratedMessage implements ZooKeeperProtos.SplitLogTaskOrBuilder
hbase.pb.SplitLogTask
WAL SplitLog directory znodes have this for content. Used doing distributed WAL splitting. Holds current state and name of server that originated split.
| Modifier and Type | Class and Description |
|---|---|
static class |
ZooKeeperProtos.SplitLogTask.Builder
Protobuf type
hbase.pb.SplitLogTask |
static class |
ZooKeeperProtos.SplitLogTask.RecoveryMode
Protobuf enum
hbase.pb.SplitLogTask.RecoveryMode |
static class |
ZooKeeperProtos.SplitLogTask.State
Protobuf enum
hbase.pb.SplitLogTask.State |
| Modifier and Type | Field and Description |
|---|---|
static int |
MODE_FIELD_NUMBER |
static <any> |
PARSER |
static int |
SERVER_NAME_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static ZooKeeperProtos.SplitLogTask |
getDefaultInstance() |
ZooKeeperProtos.SplitLogTask |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ZooKeeperProtos.SplitLogTask.RecoveryMode |
getMode()
optional .hbase.pb.SplitLogTask.RecoveryMode mode = 3 [default = UNKNOWN]; |
<any> |
getParserForType() |
int |
getSerializedSize() |
HBaseProtos.ServerName |
getServerName()
required .hbase.pb.ServerName server_name = 2; |
HBaseProtos.ServerNameOrBuilder |
getServerNameOrBuilder()
required .hbase.pb.ServerName server_name = 2; |
ZooKeeperProtos.SplitLogTask.State |
getState()
required .hbase.pb.SplitLogTask.State state = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMode()
optional .hbase.pb.SplitLogTask.RecoveryMode mode = 3 [default = UNKNOWN]; |
boolean |
hasServerName()
required .hbase.pb.ServerName server_name = 2; |
boolean |
hasState()
required .hbase.pb.SplitLogTask.State state = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ZooKeeperProtos.SplitLogTask.Builder |
newBuilder() |
static ZooKeeperProtos.SplitLogTask.Builder |
newBuilder(ZooKeeperProtos.SplitLogTask prototype) |
ZooKeeperProtos.SplitLogTask.Builder |
newBuilderForType() |
protected ZooKeeperProtos.SplitLogTask.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static ZooKeeperProtos.SplitLogTask |
parseDelimitedFrom(java.io.InputStream input) |
static ZooKeeperProtos.SplitLogTask |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperProtos.SplitLogTask |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperProtos.SplitLogTask |
parseFrom(com.google.protobuf.ByteString data) |
static ZooKeeperProtos.SplitLogTask |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperProtos.SplitLogTask |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ZooKeeperProtos.SplitLogTask |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperProtos.SplitLogTask |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ZooKeeperProtos.SplitLogTask.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static <any> PARSER
public static final int STATE_FIELD_NUMBER
public static final int SERVER_NAME_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
public static ZooKeeperProtos.SplitLogTask getDefaultInstance()
public ZooKeeperProtos.SplitLogTask 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 hasState()
required .hbase.pb.SplitLogTask.State state = 1;hasState in interface ZooKeeperProtos.SplitLogTaskOrBuilderpublic ZooKeeperProtos.SplitLogTask.State getState()
required .hbase.pb.SplitLogTask.State state = 1;getState in interface ZooKeeperProtos.SplitLogTaskOrBuilderpublic boolean hasServerName()
required .hbase.pb.ServerName server_name = 2;hasServerName in interface ZooKeeperProtos.SplitLogTaskOrBuilderpublic HBaseProtos.ServerName getServerName()
required .hbase.pb.ServerName server_name = 2;getServerName in interface ZooKeeperProtos.SplitLogTaskOrBuilderpublic HBaseProtos.ServerNameOrBuilder getServerNameOrBuilder()
required .hbase.pb.ServerName server_name = 2;getServerNameOrBuilder in interface ZooKeeperProtos.SplitLogTaskOrBuilderpublic boolean hasMode()
optional .hbase.pb.SplitLogTask.RecoveryMode mode = 3 [default = UNKNOWN];hasMode in interface ZooKeeperProtos.SplitLogTaskOrBuilderpublic ZooKeeperProtos.SplitLogTask.RecoveryMode getMode()
optional .hbase.pb.SplitLogTask.RecoveryMode mode = 3 [default = UNKNOWN];getMode in interface ZooKeeperProtos.SplitLogTaskOrBuilderpublic 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.SplitLogTask parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperProtos.SplitLogTask parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperProtos.SplitLogTask parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperProtos.SplitLogTask parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ZooKeeperProtos.SplitLogTask parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ZooKeeperProtos.SplitLogTask parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ZooKeeperProtos.SplitLogTask parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ZooKeeperProtos.SplitLogTask parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ZooKeeperProtos.SplitLogTask.Builder newBuilder()
public ZooKeeperProtos.SplitLogTask.Builder newBuilderForType()
public static ZooKeeperProtos.SplitLogTask.Builder newBuilder(ZooKeeperProtos.SplitLogTask prototype)
public ZooKeeperProtos.SplitLogTask.Builder toBuilder()
protected ZooKeeperProtos.SplitLogTask.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)