Interface QJournalProtocolProtos.JournalRequestProtoOrBuilder
- All Superinterfaces:
org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder,org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
- All Known Implementing Classes:
QJournalProtocolProtos.JournalRequestProto,QJournalProtocolProtos.JournalRequestProto.Builder
- Enclosing class:
- QJournalProtocolProtos
public static interface QJournalProtocolProtos.JournalRequestProtoOrBuilder
extends org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongrequired uint64 firstTxnId = 2;optional string nameServiceId = 6;org.apache.hadoop.thirdparty.protobuf.ByteStringoptional string nameServiceId = 6;intrequired uint32 numTxns = 3;org.apache.hadoop.thirdparty.protobuf.ByteStringrequired bytes records = 4;required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;longrequired uint64 segmentTxnId = 5;booleanrequired uint64 firstTxnId = 2;booleanoptional string nameServiceId = 6;booleanrequired uint32 numTxns = 3;booleanrequired bytes records = 4;booleanrequired .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;booleanrequired uint64 segmentTxnId = 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
-
hasReqInfo
boolean hasReqInfo()required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;- Returns:
- Whether the reqInfo field is set.
-
getReqInfo
QJournalProtocolProtos.RequestInfoProto getReqInfo()required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;- Returns:
- The reqInfo.
-
getReqInfoOrBuilder
QJournalProtocolProtos.RequestInfoProtoOrBuilder getReqInfoOrBuilder()required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1; -
hasFirstTxnId
boolean hasFirstTxnId()required uint64 firstTxnId = 2;- Returns:
- Whether the firstTxnId field is set.
-
getFirstTxnId
long getFirstTxnId()required uint64 firstTxnId = 2;- Returns:
- The firstTxnId.
-
hasNumTxns
boolean hasNumTxns()required uint32 numTxns = 3;- Returns:
- Whether the numTxns field is set.
-
getNumTxns
int getNumTxns()required uint32 numTxns = 3;- Returns:
- The numTxns.
-
hasRecords
boolean hasRecords()required bytes records = 4;- Returns:
- Whether the records field is set.
-
getRecords
org.apache.hadoop.thirdparty.protobuf.ByteString getRecords()required bytes records = 4;- Returns:
- The records.
-
hasSegmentTxnId
boolean hasSegmentTxnId()required uint64 segmentTxnId = 5;- Returns:
- Whether the segmentTxnId field is set.
-
getSegmentTxnId
long getSegmentTxnId()required uint64 segmentTxnId = 5;- Returns:
- The segmentTxnId.
-
hasNameServiceId
boolean hasNameServiceId()optional string nameServiceId = 6;- Returns:
- Whether the nameServiceId field is set.
-
getNameServiceId
String getNameServiceId()optional string nameServiceId = 6;- Returns:
- The nameServiceId.
-
getNameServiceIdBytes
org.apache.hadoop.thirdparty.protobuf.ByteString getNameServiceIdBytes()optional string nameServiceId = 6;- Returns:
- The bytes for nameServiceId.
-