public static final class ZooKeeperPB.ReplicationHLogPosition extends com.google.protobuf.GeneratedMessageLite implements ZooKeeperPB.ReplicationHLogPositionOrBuilder
ReplicationHLogPosition
Used by replication. Holds the current position in an WAL file.
| Modifier and Type | Class and Description |
|---|---|
static class |
ZooKeeperPB.ReplicationHLogPosition.Builder
Protobuf type
ReplicationHLogPosition |
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>| Modifier and Type | Field and Description |
|---|---|
static com.google.protobuf.Parser<ZooKeeperPB.ReplicationHLogPosition> |
PARSER |
static int |
POSITION_FIELD_NUMBER |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownFieldpublic static com.google.protobuf.Parser<ZooKeeperPB.ReplicationHLogPosition> PARSER
public static final int POSITION_FIELD_NUMBER
public static ZooKeeperPB.ReplicationHLogPosition getDefaultInstance()
public ZooKeeperPB.ReplicationHLogPosition getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilderpublic com.google.protobuf.Parser<ZooKeeperPB.ReplicationHLogPosition> getParserForType()
getParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageLitepublic boolean hasPosition()
required int64 position = 1;hasPosition in interface ZooKeeperPB.ReplicationHLogPositionOrBuilderpublic long getPosition()
required int64 position = 1;getPosition in interface ZooKeeperPB.ReplicationHLogPositionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLiteprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageLiteObjectStreamExceptionpublic static ZooKeeperPB.ReplicationHLogPosition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.ReplicationHLogPosition parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.ReplicationHLogPosition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.ReplicationHLogPosition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.ReplicationHLogPosition parseFrom(InputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.ReplicationHLogPosition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.ReplicationHLogPosition parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.ReplicationHLogPosition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.ReplicationHLogPosition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.ReplicationHLogPosition parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.ReplicationHLogPosition.Builder newBuilder()
public ZooKeeperPB.ReplicationHLogPosition.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessageLitepublic static ZooKeeperPB.ReplicationHLogPosition.Builder newBuilder(ZooKeeperPB.ReplicationHLogPosition prototype)
public ZooKeeperPB.ReplicationHLogPosition.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessageLiteCopyright © 2010-2017, The Async HBase Authors