Interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
- All Superinterfaces:
org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder,org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
- All Known Implementing Classes:
QJournalProtocolProtos.RequestInfoProto,QJournalProtocolProtos.RequestInfoProto.Builder
- Enclosing class:
- QJournalProtocolProtos
public static interface QJournalProtocolProtos.RequestInfoProtoOrBuilder
extends org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongWhenever a writer makes a request, it informs the node of the latest committed txid.longgetEpoch()required uint64 epoch = 2;longrequired uint64 ipcSerialNumber = 3;required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;optional string nameServiceId = 5;org.apache.hadoop.thirdparty.protobuf.ByteStringoptional string nameServiceId = 5;booleanWhenever a writer makes a request, it informs the node of the latest committed txid.booleanhasEpoch()required uint64 epoch = 2;booleanrequired uint64 ipcSerialNumber = 3;booleanrequired .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;booleanoptional string nameServiceId = 5;Methods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasJournalId
boolean hasJournalId()required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;- Returns:
- Whether the journalId field is set.
-
getJournalId
QJournalProtocolProtos.JournalIdProto getJournalId()required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;- Returns:
- The journalId.
-
getJournalIdOrBuilder
QJournalProtocolProtos.JournalIdProtoOrBuilder getJournalIdOrBuilder()required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1; -
hasEpoch
boolean hasEpoch()required uint64 epoch = 2;- Returns:
- Whether the epoch field is set.
-
getEpoch
long getEpoch()required uint64 epoch = 2;- Returns:
- The epoch.
-
hasIpcSerialNumber
boolean hasIpcSerialNumber()required uint64 ipcSerialNumber = 3;- Returns:
- Whether the ipcSerialNumber field is set.
-
getIpcSerialNumber
long getIpcSerialNumber()required uint64 ipcSerialNumber = 3;- Returns:
- The ipcSerialNumber.
-
hasCommittedTxId
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;- Returns:
- Whether the committedTxId field is set.
-
getCommittedTxId
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;- Returns:
- The committedTxId.
-
hasNameServiceId
boolean hasNameServiceId()optional string nameServiceId = 5;- Returns:
- Whether the nameServiceId field is set.
-
getNameServiceId
String getNameServiceId()optional string nameServiceId = 5;- Returns:
- The nameServiceId.
-
getNameServiceIdBytes
org.apache.hadoop.thirdparty.protobuf.ByteString getNameServiceIdBytes()optional string nameServiceId = 5;- Returns:
- The bytes for nameServiceId.
-