Interface FsImageProto.SnapshotDiffSection.DiffEntryOrBuilder
- All Superinterfaces:
org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder,org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FsImageProto.SnapshotDiffSection.DiffEntry,FsImageProto.SnapshotDiffSection.DiffEntry.Builder
- Enclosing class:
- FsImageProto.SnapshotDiffSection
public static interface FsImageProto.SnapshotDiffSection.DiffEntryOrBuilder
extends org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongoptional uint64 inodeId = 2;intoptional uint32 numOfDiff = 3;getType()required .hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.Type type = 1;booleanoptional uint64 inodeId = 2;booleanoptional uint32 numOfDiff = 3;booleanhasType()required .hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.Type type = 1;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
-
hasType
boolean hasType()required .hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.Type type = 1;- Returns:
- Whether the type field is set.
-
getType
required .hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.Type type = 1;- Returns:
- The type.
-
hasInodeId
boolean hasInodeId()optional uint64 inodeId = 2;- Returns:
- Whether the inodeId field is set.
-
getInodeId
long getInodeId()optional uint64 inodeId = 2;- Returns:
- The inodeId.
-
hasNumOfDiff
boolean hasNumOfDiff()optional uint32 numOfDiff = 3;- Returns:
- Whether the numOfDiff field is set.
-
getNumOfDiff
int getNumOfDiff()optional uint32 numOfDiff = 3;- Returns:
- The numOfDiff.
-