Interface FsImageProto.INodeDirectorySection.DirEntryOrBuilder
- All Superinterfaces:
org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder,org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FsImageProto.INodeDirectorySection.DirEntry,FsImageProto.INodeDirectorySection.DirEntry.Builder
- Enclosing class:
- FsImageProto.INodeDirectorySection
public static interface FsImageProto.INodeDirectorySection.DirEntryOrBuilder
extends org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlonggetChildren(int index) children that are not reference nodesintchildren that are not reference nodeschildren that are not reference nodeslongoptional uint64 parent = 1;intgetRefChildren(int index) children that are reference nodes, each element is a reference node idintchildren that are reference nodes, each element is a reference node idchildren that are reference nodes, each element is a reference node idbooleanoptional uint64 parent = 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
-
hasParent
boolean hasParent()optional uint64 parent = 1;- Returns:
- Whether the parent field is set.
-
getParent
long getParent()optional uint64 parent = 1;- Returns:
- The parent.
-
getChildrenList
children that are not reference nodes
repeated uint64 children = 2 [packed = true];- Returns:
- A list containing the children.
-
getChildrenCount
int getChildrenCount()children that are not reference nodes
repeated uint64 children = 2 [packed = true];- Returns:
- The count of children.
-
getChildren
long getChildren(int index) children that are not reference nodes
repeated uint64 children = 2 [packed = true];- Parameters:
index- The index of the element to return.- Returns:
- The children at the given index.
-
getRefChildrenList
children that are reference nodes, each element is a reference node id
repeated uint32 refChildren = 3 [packed = true];- Returns:
- A list containing the refChildren.
-
getRefChildrenCount
int getRefChildrenCount()children that are reference nodes, each element is a reference node id
repeated uint32 refChildren = 3 [packed = true];- Returns:
- The count of refChildren.
-
getRefChildren
int getRefChildren(int index) children that are reference nodes, each element is a reference node id
repeated uint32 refChildren = 3 [packed = true];- Parameters:
index- The index of the element to return.- Returns:
- The refChildren at the given index.
-