public static final class QJournalProtocolProtos.PrepareRecoveryResponseProto extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3 implements QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilder
hadoop.hdfs.qjournal.PrepareRecoveryResponseProto
Modifier and Type | Class and Description |
---|---|
static class |
QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder
Protobuf type
hadoop.hdfs.qjournal.PrepareRecoveryResponseProto |
org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
ACCEPTEDINEPOCH_FIELD_NUMBER |
static int |
LASTCOMMITTEDTXID_FIELD_NUMBER |
static int |
LASTWRITEREPOCH_FIELD_NUMBER |
static org.apache.hadoop.thirdparty.protobuf.Parser<QJournalProtocolProtos.PrepareRecoveryResponseProto> |
PARSER
Deprecated.
|
static int |
SEGMENTSTATE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getAcceptedInEpoch()
optional uint64 acceptedInEpoch = 2; |
static QJournalProtocolProtos.PrepareRecoveryResponseProto |
getDefaultInstance() |
QJournalProtocolProtos.PrepareRecoveryResponseProto |
getDefaultInstanceForType() |
static org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getLastCommittedTxId()
The highest committed txid that this logger has ever seen.
|
long |
getLastWriterEpoch()
required uint64 lastWriterEpoch = 3; |
org.apache.hadoop.thirdparty.protobuf.Parser<QJournalProtocolProtos.PrepareRecoveryResponseProto> |
getParserForType() |
QJournalProtocolProtos.SegmentStateProto |
getSegmentState()
optional .hadoop.hdfs.qjournal.SegmentStateProto segmentState = 1; |
QJournalProtocolProtos.SegmentStateProtoOrBuilder |
getSegmentStateOrBuilder()
optional .hadoop.hdfs.qjournal.SegmentStateProto segmentState = 1; |
int |
getSerializedSize() |
org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAcceptedInEpoch()
optional uint64 acceptedInEpoch = 2; |
int |
hashCode() |
boolean |
hasLastCommittedTxId()
The highest committed txid that this logger has ever seen.
|
boolean |
hasLastWriterEpoch()
required uint64 lastWriterEpoch = 3; |
boolean |
hasSegmentState()
optional .hadoop.hdfs.qjournal.SegmentStateProto segmentState = 1; |
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder |
newBuilder() |
static QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder |
newBuilder(QJournalProtocolProtos.PrepareRecoveryResponseProto prototype) |
QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder |
newBuilderForType() |
protected QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder |
newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent) |
static QJournalProtocolProtos.PrepareRecoveryResponseProto |
parseDelimitedFrom(InputStream input) |
static QJournalProtocolProtos.PrepareRecoveryResponseProto |
parseDelimitedFrom(InputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static QJournalProtocolProtos.PrepareRecoveryResponseProto |
parseFrom(byte[] data) |
static QJournalProtocolProtos.PrepareRecoveryResponseProto |
parseFrom(byte[] data,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static QJournalProtocolProtos.PrepareRecoveryResponseProto |
parseFrom(ByteBuffer data) |
static QJournalProtocolProtos.PrepareRecoveryResponseProto |
parseFrom(ByteBuffer data,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static QJournalProtocolProtos.PrepareRecoveryResponseProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) |
static QJournalProtocolProtos.PrepareRecoveryResponseProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static QJournalProtocolProtos.PrepareRecoveryResponseProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) |
static QJournalProtocolProtos.PrepareRecoveryResponseProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static QJournalProtocolProtos.PrepareRecoveryResponseProto |
parseFrom(InputStream input) |
static QJournalProtocolProtos.PrepareRecoveryResponseProto |
parseFrom(InputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.apache.hadoop.thirdparty.protobuf.Parser<QJournalProtocolProtos.PrepareRecoveryResponseProto> |
parser() |
QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder |
toBuilder() |
void |
writeTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int SEGMENTSTATE_FIELD_NUMBER
public static final int ACCEPTEDINEPOCH_FIELD_NUMBER
public static final int LASTWRITEREPOCH_FIELD_NUMBER
public static final int LASTCOMMITTEDTXID_FIELD_NUMBER
@Deprecated public static final org.apache.hadoop.thirdparty.protobuf.Parser<QJournalProtocolProtos.PrepareRecoveryResponseProto> PARSER
public final org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
getUnknownFields
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
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
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.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 boolean hasLastWriterEpoch()
required uint64 lastWriterEpoch = 3;
hasLastWriterEpoch
in interface QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilder
public long getLastWriterEpoch()
required uint64 lastWriterEpoch = 3;
getLastWriterEpoch
in interface QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilder
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 final boolean isInitialized()
isInitialized
in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
isInitialized
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
public void writeTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
writeTo
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
getSerializedSize
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface org.apache.hadoop.thirdparty.protobuf.Message
equals
in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface org.apache.hadoop.thirdparty.protobuf.Message
hashCode
in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage
public static QJournalProtocolProtos.PrepareRecoveryResponseProto parseFrom(ByteBuffer data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
public static QJournalProtocolProtos.PrepareRecoveryResponseProto parseFrom(ByteBuffer data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
public static QJournalProtocolProtos.PrepareRecoveryResponseProto parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
public static QJournalProtocolProtos.PrepareRecoveryResponseProto parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
public static QJournalProtocolProtos.PrepareRecoveryResponseProto parseFrom(byte[] data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
public static QJournalProtocolProtos.PrepareRecoveryResponseProto parseFrom(byte[] data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
public static QJournalProtocolProtos.PrepareRecoveryResponseProto parseFrom(InputStream input) throws IOException
IOException
public static QJournalProtocolProtos.PrepareRecoveryResponseProto parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static QJournalProtocolProtos.PrepareRecoveryResponseProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static QJournalProtocolProtos.PrepareRecoveryResponseProto parseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static QJournalProtocolProtos.PrepareRecoveryResponseProto parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) throws IOException
IOException
public static QJournalProtocolProtos.PrepareRecoveryResponseProto parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder newBuilderForType()
newBuilderForType
in interface org.apache.hadoop.thirdparty.protobuf.Message
newBuilderForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
public static QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder newBuilder()
public static QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder newBuilder(QJournalProtocolProtos.PrepareRecoveryResponseProto prototype)
public QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder toBuilder()
toBuilder
in interface org.apache.hadoop.thirdparty.protobuf.Message
toBuilder
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
protected QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
public static QJournalProtocolProtos.PrepareRecoveryResponseProto getDefaultInstance()
public static org.apache.hadoop.thirdparty.protobuf.Parser<QJournalProtocolProtos.PrepareRecoveryResponseProto> parser()
public org.apache.hadoop.thirdparty.protobuf.Parser<QJournalProtocolProtos.PrepareRecoveryResponseProto> getParserForType()
getParserForType
in interface org.apache.hadoop.thirdparty.protobuf.Message
getParserForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
getParserForType
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
public QJournalProtocolProtos.PrepareRecoveryResponseProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.