public static final class QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder> implements QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilder
hadoop.hdfs.qjournal.PrepareRecoveryResponseProto
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>
public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder>
public QJournalProtocolProtos.PrepareRecoveryResponseProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public QJournalProtocolProtos.PrepareRecoveryResponseProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public QJournalProtocolProtos.PrepareRecoveryResponseProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.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;
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()
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.PrepareRecoveryResponseProtoOrBuilder
public 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.PrepareRecoveryResponseProtoOrBuilder
public 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.