public static final class QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder> implements QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilder
hadoop.hdfs.qjournal.PrepareRecoveryResponseProtoaddRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>public QJournalProtocolProtos.PrepareRecoveryResponseProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic QJournalProtocolProtos.PrepareRecoveryResponseProto build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic QJournalProtocolProtos.PrepareRecoveryResponseProto buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder mergeFrom(QJournalProtocolProtos.PrepareRecoveryResponseProto other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>IOExceptionpublic boolean hasSegmentState()
optional .hadoop.hdfs.qjournal.SegmentStateProto segmentState = 1;hasSegmentState in interface QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilderpublic QJournalProtocolProtos.SegmentStateProto getSegmentState()
optional .hadoop.hdfs.qjournal.SegmentStateProto segmentState = 1;getSegmentState in interface QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilderpublic QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder setSegmentState(QJournalProtocolProtos.SegmentStateProto value)
optional .hadoop.hdfs.qjournal.SegmentStateProto segmentState = 1;public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder setSegmentState(QJournalProtocolProtos.SegmentStateProto.Builder builderForValue)
optional .hadoop.hdfs.qjournal.SegmentStateProto segmentState = 1;public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder mergeSegmentState(QJournalProtocolProtos.SegmentStateProto value)
optional .hadoop.hdfs.qjournal.SegmentStateProto segmentState = 1;public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder clearSegmentState()
optional .hadoop.hdfs.qjournal.SegmentStateProto segmentState = 1;public QJournalProtocolProtos.SegmentStateProto.Builder getSegmentStateBuilder()
optional .hadoop.hdfs.qjournal.SegmentStateProto segmentState = 1;public QJournalProtocolProtos.SegmentStateProtoOrBuilder getSegmentStateOrBuilder()
optional .hadoop.hdfs.qjournal.SegmentStateProto segmentState = 1;getSegmentStateOrBuilder in interface QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilderpublic boolean hasAcceptedInEpoch()
optional uint64 acceptedInEpoch = 2;hasAcceptedInEpoch in interface QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilderpublic long getAcceptedInEpoch()
optional uint64 acceptedInEpoch = 2;getAcceptedInEpoch in interface QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilderpublic QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder setAcceptedInEpoch(long value)
optional uint64 acceptedInEpoch = 2;public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder clearAcceptedInEpoch()
optional uint64 acceptedInEpoch = 2;public boolean hasLastWriterEpoch()
required uint64 lastWriterEpoch = 3;hasLastWriterEpoch in interface QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilderpublic long getLastWriterEpoch()
required uint64 lastWriterEpoch = 3;getLastWriterEpoch in interface QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilderpublic QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder setLastWriterEpoch(long value)
required uint64 lastWriterEpoch = 3;public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder clearLastWriterEpoch()
required uint64 lastWriterEpoch = 3;public boolean hasLastCommittedTxId()
optional uint64 lastCommittedTxId = 4;
The highest committed txid that this logger has ever seen. This may be higher than the data it actually has, in the case that it was lagging before the old writer crashed.
hasLastCommittedTxId in interface QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilderpublic long getLastCommittedTxId()
optional uint64 lastCommittedTxId = 4;
The highest committed txid that this logger has ever seen. This may be higher than the data it actually has, in the case that it was lagging before the old writer crashed.
getLastCommittedTxId in interface QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilderpublic QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder setLastCommittedTxId(long value)
optional uint64 lastCommittedTxId = 4;
The highest committed txid that this logger has ever seen. This may be higher than the data it actually has, in the case that it was lagging before the old writer crashed.
public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder clearLastCommittedTxId()
optional uint64 lastCommittedTxId = 4;
The highest committed txid that this logger has ever seen. This may be higher than the data it actually has, in the case that it was lagging before the old writer crashed.
Copyright © 2017 Apache Software Foundation. All Rights Reserved.