public static final class QJournalProtocolProtos.RequestInfoProto extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3 implements QJournalProtocolProtos.RequestInfoProtoOrBuilder
hadoop.hdfs.qjournal.RequestInfoProto
Modifier and Type | Class and Description |
---|---|
static class |
QJournalProtocolProtos.RequestInfoProto.Builder
Protobuf type
hadoop.hdfs.qjournal.RequestInfoProto |
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 |
COMMITTEDTXID_FIELD_NUMBER |
static int |
EPOCH_FIELD_NUMBER |
static int |
IPCSERIALNUMBER_FIELD_NUMBER |
static int |
JOURNALID_FIELD_NUMBER |
static int |
NAMESERVICEID_FIELD_NUMBER |
static org.apache.hadoop.thirdparty.protobuf.Parser<QJournalProtocolProtos.RequestInfoProto> |
PARSER
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getCommittedTxId()
Whenever a writer makes a request, it informs
the node of the latest committed txid.
|
static QJournalProtocolProtos.RequestInfoProto |
getDefaultInstance() |
QJournalProtocolProtos.RequestInfoProto |
getDefaultInstanceForType() |
static org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getEpoch()
required uint64 epoch = 2; |
long |
getIpcSerialNumber()
required uint64 ipcSerialNumber = 3; |
QJournalProtocolProtos.JournalIdProto |
getJournalId()
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1; |
QJournalProtocolProtos.JournalIdProtoOrBuilder |
getJournalIdOrBuilder()
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1; |
String |
getNameServiceId()
optional string nameServiceId = 5; |
org.apache.hadoop.thirdparty.protobuf.ByteString |
getNameServiceIdBytes()
optional string nameServiceId = 5; |
org.apache.hadoop.thirdparty.protobuf.Parser<QJournalProtocolProtos.RequestInfoProto> |
getParserForType() |
int |
getSerializedSize() |
org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCommittedTxId()
Whenever a writer makes a request, it informs
the node of the latest committed txid.
|
boolean |
hasEpoch()
required uint64 epoch = 2; |
int |
hashCode() |
boolean |
hasIpcSerialNumber()
required uint64 ipcSerialNumber = 3; |
boolean |
hasJournalId()
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1; |
boolean |
hasNameServiceId()
optional string nameServiceId = 5; |
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static QJournalProtocolProtos.RequestInfoProto.Builder |
newBuilder() |
static QJournalProtocolProtos.RequestInfoProto.Builder |
newBuilder(QJournalProtocolProtos.RequestInfoProto prototype) |
QJournalProtocolProtos.RequestInfoProto.Builder |
newBuilderForType() |
protected QJournalProtocolProtos.RequestInfoProto.Builder |
newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent) |
static QJournalProtocolProtos.RequestInfoProto |
parseDelimitedFrom(InputStream input) |
static QJournalProtocolProtos.RequestInfoProto |
parseDelimitedFrom(InputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static QJournalProtocolProtos.RequestInfoProto |
parseFrom(byte[] data) |
static QJournalProtocolProtos.RequestInfoProto |
parseFrom(byte[] data,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static QJournalProtocolProtos.RequestInfoProto |
parseFrom(ByteBuffer data) |
static QJournalProtocolProtos.RequestInfoProto |
parseFrom(ByteBuffer data,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static QJournalProtocolProtos.RequestInfoProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) |
static QJournalProtocolProtos.RequestInfoProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static QJournalProtocolProtos.RequestInfoProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) |
static QJournalProtocolProtos.RequestInfoProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static QJournalProtocolProtos.RequestInfoProto |
parseFrom(InputStream input) |
static QJournalProtocolProtos.RequestInfoProto |
parseFrom(InputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.apache.hadoop.thirdparty.protobuf.Parser<QJournalProtocolProtos.RequestInfoProto> |
parser() |
QJournalProtocolProtos.RequestInfoProto.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 JOURNALID_FIELD_NUMBER
public static final int EPOCH_FIELD_NUMBER
public static final int IPCSERIALNUMBER_FIELD_NUMBER
public static final int COMMITTEDTXID_FIELD_NUMBER
public static final int NAMESERVICEID_FIELD_NUMBER
@Deprecated public static final org.apache.hadoop.thirdparty.protobuf.Parser<QJournalProtocolProtos.RequestInfoProto> 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 hasJournalId()
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
hasJournalId
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public QJournalProtocolProtos.JournalIdProto getJournalId()
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
getJournalId
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public QJournalProtocolProtos.JournalIdProtoOrBuilder getJournalIdOrBuilder()
required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
getJournalIdOrBuilder
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public boolean hasEpoch()
required uint64 epoch = 2;
hasEpoch
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public long getEpoch()
required uint64 epoch = 2;
getEpoch
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public boolean hasIpcSerialNumber()
required uint64 ipcSerialNumber = 3;
hasIpcSerialNumber
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public long getIpcSerialNumber()
required uint64 ipcSerialNumber = 3;
getIpcSerialNumber
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public boolean hasCommittedTxId()
Whenever a writer makes a request, it informs the node of the latest committed txid. This may be higher than the transaction data included in the request itself, eg in the case that the node has fallen behind.
optional uint64 committedTxId = 4;
hasCommittedTxId
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public long getCommittedTxId()
Whenever a writer makes a request, it informs the node of the latest committed txid. This may be higher than the transaction data included in the request itself, eg in the case that the node has fallen behind.
optional uint64 committedTxId = 4;
getCommittedTxId
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public boolean hasNameServiceId()
optional string nameServiceId = 5;
hasNameServiceId
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public String getNameServiceId()
optional string nameServiceId = 5;
getNameServiceId
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
public org.apache.hadoop.thirdparty.protobuf.ByteString getNameServiceIdBytes()
optional string nameServiceId = 5;
getNameServiceIdBytes
in interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
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.RequestInfoProto parseFrom(ByteBuffer data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
public static QJournalProtocolProtos.RequestInfoProto 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.RequestInfoProto parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
public static QJournalProtocolProtos.RequestInfoProto 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.RequestInfoProto parseFrom(byte[] data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
public static QJournalProtocolProtos.RequestInfoProto 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.RequestInfoProto parseFrom(InputStream input) throws IOException
IOException
public static QJournalProtocolProtos.RequestInfoProto parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static QJournalProtocolProtos.RequestInfoProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static QJournalProtocolProtos.RequestInfoProto parseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static QJournalProtocolProtos.RequestInfoProto parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) throws IOException
IOException
public static QJournalProtocolProtos.RequestInfoProto parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public QJournalProtocolProtos.RequestInfoProto.Builder newBuilderForType()
newBuilderForType
in interface org.apache.hadoop.thirdparty.protobuf.Message
newBuilderForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
public static QJournalProtocolProtos.RequestInfoProto.Builder newBuilder()
public static QJournalProtocolProtos.RequestInfoProto.Builder newBuilder(QJournalProtocolProtos.RequestInfoProto prototype)
public QJournalProtocolProtos.RequestInfoProto.Builder toBuilder()
toBuilder
in interface org.apache.hadoop.thirdparty.protobuf.Message
toBuilder
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
protected QJournalProtocolProtos.RequestInfoProto.Builder newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
public static QJournalProtocolProtos.RequestInfoProto getDefaultInstance()
public static org.apache.hadoop.thirdparty.protobuf.Parser<QJournalProtocolProtos.RequestInfoProto> parser()
public org.apache.hadoop.thirdparty.protobuf.Parser<QJournalProtocolProtos.RequestInfoProto> 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.RequestInfoProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.