public static final class ZooKeeperProtos.SplitLogTask.Builder extends com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.SplitLogTask.Builder> implements ZooKeeperProtos.SplitLogTaskOrBuilder
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 | Method and Description |
---|---|
ZooKeeperProtos.SplitLogTask |
build() |
ZooKeeperProtos.SplitLogTask |
buildPartial() |
ZooKeeperProtos.SplitLogTask.Builder |
clear() |
ZooKeeperProtos.SplitLogTask.Builder |
clearMode()
optional .SplitLogTask.RecoveryMode mode = 3 [default = UNKNOWN]; |
ZooKeeperProtos.SplitLogTask.Builder |
clearServerName()
required .ServerName server_name = 2; |
ZooKeeperProtos.SplitLogTask.Builder |
clearState()
required .SplitLogTask.State state = 1; |
ZooKeeperProtos.SplitLogTask.Builder |
clone() |
ZooKeeperProtos.SplitLogTask |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ZooKeeperProtos.SplitLogTask.RecoveryMode |
getMode()
optional .SplitLogTask.RecoveryMode mode = 3 [default = UNKNOWN]; |
HBaseProtos.ServerName |
getServerName()
required .ServerName server_name = 2; |
HBaseProtos.ServerName.Builder |
getServerNameBuilder()
required .ServerName server_name = 2; |
HBaseProtos.ServerNameOrBuilder |
getServerNameOrBuilder()
required .ServerName server_name = 2; |
ZooKeeperProtos.SplitLogTask.State |
getState()
required .SplitLogTask.State state = 1; |
boolean |
hasMode()
optional .SplitLogTask.RecoveryMode mode = 3 [default = UNKNOWN]; |
boolean |
hasServerName()
required .ServerName server_name = 2; |
boolean |
hasState()
required .SplitLogTask.State state = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ZooKeeperProtos.SplitLogTask.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ZooKeeperProtos.SplitLogTask.Builder |
mergeFrom(com.google.protobuf.Message other) |
ZooKeeperProtos.SplitLogTask.Builder |
mergeFrom(ZooKeeperProtos.SplitLogTask other) |
ZooKeeperProtos.SplitLogTask.Builder |
mergeServerName(HBaseProtos.ServerName value)
required .ServerName server_name = 2; |
ZooKeeperProtos.SplitLogTask.Builder |
setMode(ZooKeeperProtos.SplitLogTask.RecoveryMode value)
optional .SplitLogTask.RecoveryMode mode = 3 [default = UNKNOWN]; |
ZooKeeperProtos.SplitLogTask.Builder |
setServerName(HBaseProtos.ServerName.Builder builderForValue)
required .ServerName server_name = 2; |
ZooKeeperProtos.SplitLogTask.Builder |
setServerName(HBaseProtos.ServerName value)
required .ServerName server_name = 2; |
ZooKeeperProtos.SplitLogTask.Builder |
setState(ZooKeeperProtos.SplitLogTask.State value)
required .SplitLogTask.State state = 1; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.SplitLogTask.Builder>
public ZooKeeperProtos.SplitLogTask.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.SplitLogTask.Builder>
public ZooKeeperProtos.SplitLogTask.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.SplitLogTask.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.SplitLogTask.Builder>
public ZooKeeperProtos.SplitLogTask getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ZooKeeperProtos.SplitLogTask build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ZooKeeperProtos.SplitLogTask buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ZooKeeperProtos.SplitLogTask.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ZooKeeperProtos.SplitLogTask.Builder>
public ZooKeeperProtos.SplitLogTask.Builder mergeFrom(ZooKeeperProtos.SplitLogTask other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.SplitLogTask.Builder>
public ZooKeeperProtos.SplitLogTask.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ZooKeeperProtos.SplitLogTask.Builder>
IOException
public boolean hasState()
required .SplitLogTask.State state = 1;
hasState
in interface ZooKeeperProtos.SplitLogTaskOrBuilder
public ZooKeeperProtos.SplitLogTask.State getState()
required .SplitLogTask.State state = 1;
getState
in interface ZooKeeperProtos.SplitLogTaskOrBuilder
public ZooKeeperProtos.SplitLogTask.Builder setState(ZooKeeperProtos.SplitLogTask.State value)
required .SplitLogTask.State state = 1;
public ZooKeeperProtos.SplitLogTask.Builder clearState()
required .SplitLogTask.State state = 1;
public boolean hasServerName()
required .ServerName server_name = 2;
hasServerName
in interface ZooKeeperProtos.SplitLogTaskOrBuilder
public HBaseProtos.ServerName getServerName()
required .ServerName server_name = 2;
getServerName
in interface ZooKeeperProtos.SplitLogTaskOrBuilder
public ZooKeeperProtos.SplitLogTask.Builder setServerName(HBaseProtos.ServerName value)
required .ServerName server_name = 2;
public ZooKeeperProtos.SplitLogTask.Builder setServerName(HBaseProtos.ServerName.Builder builderForValue)
required .ServerName server_name = 2;
public ZooKeeperProtos.SplitLogTask.Builder mergeServerName(HBaseProtos.ServerName value)
required .ServerName server_name = 2;
public ZooKeeperProtos.SplitLogTask.Builder clearServerName()
required .ServerName server_name = 2;
public HBaseProtos.ServerName.Builder getServerNameBuilder()
required .ServerName server_name = 2;
public HBaseProtos.ServerNameOrBuilder getServerNameOrBuilder()
required .ServerName server_name = 2;
getServerNameOrBuilder
in interface ZooKeeperProtos.SplitLogTaskOrBuilder
public boolean hasMode()
optional .SplitLogTask.RecoveryMode mode = 3 [default = UNKNOWN];
hasMode
in interface ZooKeeperProtos.SplitLogTaskOrBuilder
public ZooKeeperProtos.SplitLogTask.RecoveryMode getMode()
optional .SplitLogTask.RecoveryMode mode = 3 [default = UNKNOWN];
getMode
in interface ZooKeeperProtos.SplitLogTaskOrBuilder
public ZooKeeperProtos.SplitLogTask.Builder setMode(ZooKeeperProtos.SplitLogTask.RecoveryMode value)
optional .SplitLogTask.RecoveryMode mode = 3 [default = UNKNOWN];
public ZooKeeperProtos.SplitLogTask.Builder clearMode()
optional .SplitLogTask.RecoveryMode mode = 3 [default = UNKNOWN];
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.