public static final class ZooKeeperProtos.ReplicationHLogPosition.Builder extends com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.ReplicationHLogPosition.Builder> implements ZooKeeperProtos.ReplicationHLogPositionOrBuilder
ReplicationHLogPosition
Used by replication. Holds the current position in an WAL file.
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.ReplicationHLogPosition.Builder>
public ZooKeeperProtos.ReplicationHLogPosition.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.ReplicationHLogPosition.Builder>
public ZooKeeperProtos.ReplicationHLogPosition.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.ReplicationHLogPosition.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.ReplicationHLogPosition.Builder>
public ZooKeeperProtos.ReplicationHLogPosition getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ZooKeeperProtos.ReplicationHLogPosition build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ZooKeeperProtos.ReplicationHLogPosition buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ZooKeeperProtos.ReplicationHLogPosition.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ZooKeeperProtos.ReplicationHLogPosition.Builder>
public ZooKeeperProtos.ReplicationHLogPosition.Builder mergeFrom(ZooKeeperProtos.ReplicationHLogPosition other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.ReplicationHLogPosition.Builder>
public ZooKeeperProtos.ReplicationHLogPosition.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.ReplicationHLogPosition.Builder>
IOException
public boolean hasPosition()
required int64 position = 1;
hasPosition
in interface ZooKeeperProtos.ReplicationHLogPositionOrBuilder
public long getPosition()
required int64 position = 1;
getPosition
in interface ZooKeeperProtos.ReplicationHLogPositionOrBuilder
public ZooKeeperProtos.ReplicationHLogPosition.Builder setPosition(long value)
required int64 position = 1;
public ZooKeeperProtos.ReplicationHLogPosition.Builder clearPosition()
required int64 position = 1;
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.