Interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder
- All Superinterfaces:
org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder,org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FsImageProto.SnapshotDiffSection.DirectoryDiff,FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder
- Enclosing class:
- FsImageProto.SnapshotDiffSection
public static interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder
extends org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintoptional uint32 childrenSize = 2;intoptional uint32 createdListSize = 6;longgetDeletedINode(int index) id of deleted inodesintid of deleted inodesid of deleted inodesintgetDeletedINodeRef(int index) id of reference nodes in the deleted listintid of reference nodes in the deleted listid of reference nodes in the deleted listbooleanoptional bool isSnapshotRoot = 3;org.apache.hadoop.thirdparty.protobuf.ByteStringgetName()optional bytes name = 4;optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;intoptional uint32 snapshotId = 1;booleanoptional uint32 childrenSize = 2;booleanoptional uint32 createdListSize = 6;booleanoptional bool isSnapshotRoot = 3;booleanhasName()optional bytes name = 4;booleanoptional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;booleanoptional uint32 snapshotId = 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
-
hasSnapshotId
boolean hasSnapshotId()optional uint32 snapshotId = 1;- Returns:
- Whether the snapshotId field is set.
-
getSnapshotId
int getSnapshotId()optional uint32 snapshotId = 1;- Returns:
- The snapshotId.
-
hasChildrenSize
boolean hasChildrenSize()optional uint32 childrenSize = 2;- Returns:
- Whether the childrenSize field is set.
-
getChildrenSize
int getChildrenSize()optional uint32 childrenSize = 2;- Returns:
- The childrenSize.
-
hasIsSnapshotRoot
boolean hasIsSnapshotRoot()optional bool isSnapshotRoot = 3;- Returns:
- Whether the isSnapshotRoot field is set.
-
getIsSnapshotRoot
boolean getIsSnapshotRoot()optional bool isSnapshotRoot = 3;- Returns:
- The isSnapshotRoot.
-
hasName
boolean hasName()optional bytes name = 4;- Returns:
- Whether the name field is set.
-
getName
org.apache.hadoop.thirdparty.protobuf.ByteString getName()optional bytes name = 4;- Returns:
- The name.
-
hasSnapshotCopy
boolean hasSnapshotCopy()optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;- Returns:
- Whether the snapshotCopy field is set.
-
getSnapshotCopy
FsImageProto.INodeSection.INodeDirectory getSnapshotCopy()optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;- Returns:
- The snapshotCopy.
-
getSnapshotCopyOrBuilder
FsImageProto.INodeSection.INodeDirectoryOrBuilder getSnapshotCopyOrBuilder()optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5; -
hasCreatedListSize
boolean hasCreatedListSize()optional uint32 createdListSize = 6;- Returns:
- Whether the createdListSize field is set.
-
getCreatedListSize
int getCreatedListSize()optional uint32 createdListSize = 6;- Returns:
- The createdListSize.
-
getDeletedINodeList
id of deleted inodes
repeated uint64 deletedINode = 7 [packed = true];- Returns:
- A list containing the deletedINode.
-
getDeletedINodeCount
int getDeletedINodeCount()id of deleted inodes
repeated uint64 deletedINode = 7 [packed = true];- Returns:
- The count of deletedINode.
-
getDeletedINode
long getDeletedINode(int index) id of deleted inodes
repeated uint64 deletedINode = 7 [packed = true];- Parameters:
index- The index of the element to return.- Returns:
- The deletedINode at the given index.
-
getDeletedINodeRefList
id of reference nodes in the deleted list
repeated uint32 deletedINodeRef = 8 [packed = true];- Returns:
- A list containing the deletedINodeRef.
-
getDeletedINodeRefCount
int getDeletedINodeRefCount()id of reference nodes in the deleted list
repeated uint32 deletedINodeRef = 8 [packed = true];- Returns:
- The count of deletedINodeRef.
-
getDeletedINodeRef
int getDeletedINodeRef(int index) id of reference nodes in the deleted list
repeated uint32 deletedINodeRef = 8 [packed = true];- Parameters:
index- The index of the element to return.- Returns:
- The deletedINodeRef at the given index.
-