public static final class QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder extends <any> implements QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilder
hadoop.hdfs.qjournal.PrepareRecoveryResponseProtopublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.MessageOrBuilderpublic QJournalProtocolProtos.PrepareRecoveryResponseProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic QJournalProtocolProtos.PrepareRecoveryResponseProto build()
public QJournalProtocolProtos.PrepareRecoveryResponseProto buildPartial()
public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder clone()
public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder mergeFrom(com.google.protobuf.Message other)
public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder mergeFrom(QJournalProtocolProtos.PrepareRecoveryResponseProto other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
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(com.google.protobuf.UnknownFieldSet unknownFields)
public final QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.