public static final class QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder> implements QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilder
hadoop.hdfs.qjournal.PrepareRecoveryResponseProtogetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptor()
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder clear()
clear in interface org.apache.hadoop.thirdparty.protobuf.Message.Builderclear in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builderclear in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>public org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildergetDescriptorForType in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuildergetDescriptorForType in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>public QJournalProtocolProtos.PrepareRecoveryResponseProto getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilderpublic QJournalProtocolProtos.PrepareRecoveryResponseProto build()
build in interface org.apache.hadoop.thirdparty.protobuf.Message.Builderbuild in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builderpublic QJournalProtocolProtos.PrepareRecoveryResponseProto buildPartial()
buildPartial in interface org.apache.hadoop.thirdparty.protobuf.Message.BuilderbuildPartial in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builderpublic QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder clone()
clone in interface org.apache.hadoop.thirdparty.protobuf.Message.Builderclone in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builderclone in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder setField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildersetField in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder clearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.apache.hadoop.thirdparty.protobuf.Message.BuilderclearField in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.apache.hadoop.thirdparty.protobuf.Message.BuilderclearOneof in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildersetRepeatedField in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder addRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.apache.hadoop.thirdparty.protobuf.Message.BuilderaddRepeatedField in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.Message other)
mergeFrom in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildermergeFrom in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder mergeFrom(QJournalProtocolProtos.PrepareRecoveryResponseProto other)
public final boolean isInitialized()
isInitialized in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilderisInitialized in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildermergeFrom in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.BuildermergeFrom in class org.apache.hadoop.thirdparty.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()
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.
optional uint64 lastCommittedTxId = 4;hasLastCommittedTxId in interface QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilderpublic long getLastCommittedTxId()
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.
optional uint64 lastCommittedTxId = 4;getLastCommittedTxId in interface QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilderpublic QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder setLastCommittedTxId(long value)
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.
optional uint64 lastCommittedTxId = 4;public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder clearLastCommittedTxId()
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.
optional uint64 lastCommittedTxId = 4;public final QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder setUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildersetUnknownFields in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>public final QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildermergeUnknownFields in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>Copyright © 2008–2023 Apache Software Foundation. All rights reserved.