public static final class QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder extends <any> implements QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilder
hadoop.hdfs.qjournal.PrepareRecoveryResponseProto
public 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.MessageOrBuilder
public QJournalProtocolProtos.PrepareRecoveryResponseProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public 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.MessageLiteOrBuilder
public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public boolean hasSegmentState()
optional .hadoop.hdfs.qjournal.SegmentStateProto segmentState = 1;
hasSegmentState
in interface QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilder
public QJournalProtocolProtos.SegmentStateProto getSegmentState()
optional .hadoop.hdfs.qjournal.SegmentStateProto segmentState = 1;
getSegmentState
in interface QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilder
public 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.PrepareRecoveryResponseProtoOrBuilder
public boolean hasAcceptedInEpoch()
optional uint64 acceptedInEpoch = 2;
hasAcceptedInEpoch
in interface QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilder
public long getAcceptedInEpoch()
optional uint64 acceptedInEpoch = 2;
getAcceptedInEpoch
in interface QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilder
public 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.PrepareRecoveryResponseProtoOrBuilder
public long getLastWriterEpoch()
required uint64 lastWriterEpoch = 3;
getLastWriterEpoch
in interface QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilder
public 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.PrepareRecoveryResponseProtoOrBuilder
public 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.PrepareRecoveryResponseProtoOrBuilder
public 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.