Interface QJournalProtocolProtos.NewEpochRequestProtoOrBuilder
- All Superinterfaces:
org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder,org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
- All Known Implementing Classes:
QJournalProtocolProtos.NewEpochRequestProto,QJournalProtocolProtos.NewEpochRequestProto.Builder
- Enclosing class:
- QJournalProtocolProtos
public static interface QJournalProtocolProtos.NewEpochRequestProtoOrBuilder
extends org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlonggetEpoch()required uint64 epoch = 3;getJid()required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;optional string nameServiceId = 4;org.apache.hadoop.thirdparty.protobuf.ByteStringoptional string nameServiceId = 4;org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamespaceInfoProtorequired .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamespaceInfoProtoOrBuilderrequired .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;booleanhasEpoch()required uint64 epoch = 3;booleanhasJid()required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;booleanoptional string nameServiceId = 4;booleanrequired .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;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
-
hasJid
boolean hasJid()required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;- Returns:
- Whether the jid field is set.
-
getJid
required .hadoop.hdfs.qjournal.JournalIdProto jid = 1;- Returns:
- The jid.
-
getJidOrBuilder
QJournalProtocolProtos.JournalIdProtoOrBuilder getJidOrBuilder()required .hadoop.hdfs.qjournal.JournalIdProto jid = 1; -
hasNsInfo
boolean hasNsInfo()required .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;- Returns:
- Whether the nsInfo field is set.
-
getNsInfo
org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamespaceInfoProto getNsInfo()required .hadoop.hdfs.NamespaceInfoProto nsInfo = 2;- Returns:
- The nsInfo.
-
getNsInfoOrBuilder
org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamespaceInfoProtoOrBuilder getNsInfoOrBuilder()required .hadoop.hdfs.NamespaceInfoProto nsInfo = 2; -
hasEpoch
boolean hasEpoch()required uint64 epoch = 3;- Returns:
- Whether the epoch field is set.
-
getEpoch
long getEpoch()required uint64 epoch = 3;- Returns:
- The epoch.
-
hasNameServiceId
boolean hasNameServiceId()optional string nameServiceId = 4;- Returns:
- Whether the nameServiceId field is set.
-
getNameServiceId
String getNameServiceId()optional string nameServiceId = 4;- Returns:
- The nameServiceId.
-
getNameServiceIdBytes
org.apache.hadoop.thirdparty.protobuf.ByteString getNameServiceIdBytes()optional string nameServiceId = 4;- Returns:
- The bytes for nameServiceId.
-