public static final class QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder> implements QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilder
hadoop.hdfs.qjournal.PrepareRecoveryResponseProto
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public 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.Builder
clear
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
clear
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.Builder
getDescriptorForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
getDescriptorForType
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>
public QJournalProtocolProtos.PrepareRecoveryResponseProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
public QJournalProtocolProtos.PrepareRecoveryResponseProto build()
build
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
build
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
public QJournalProtocolProtos.PrepareRecoveryResponseProto buildPartial()
buildPartial
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
buildPartial
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder clone()
clone
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
clone
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
mergeFrom
in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>
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;
value
- The acceptedInEpoch to set.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;
value
- The lastWriterEpoch to set.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;
value
- The lastCommittedTxId to set.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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.