public static final class FsImageProto.INodeDirectorySection.DirEntry.Builder extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeDirectorySection.DirEntry.Builder> implements FsImageProto.INodeDirectorySection.DirEntryOrBuilder
A single DirEntry needs to fit in the default PB max message size of 64MB. Please be careful when adding more fields to a DirEntry!Protobuf type
hadoop.hdfs.fsimage.INodeDirectorySection.DirEntry| Modifier and Type | Method and Description | 
|---|---|
| FsImageProto.INodeDirectorySection.DirEntry.Builder | addAllChildren(Iterable<? extends Long> values)
 children that are not reference nodes | 
| FsImageProto.INodeDirectorySection.DirEntry.Builder | addAllRefChildren(Iterable<? extends Integer> values)
 children that are reference nodes, each element is a reference node id | 
| FsImageProto.INodeDirectorySection.DirEntry.Builder | addChildren(long value)
 children that are not reference nodes | 
| FsImageProto.INodeDirectorySection.DirEntry.Builder | addRefChildren(int value)
 children that are reference nodes, each element is a reference node id | 
| FsImageProto.INodeDirectorySection.DirEntry.Builder | addRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field,
                Object value) | 
| FsImageProto.INodeDirectorySection.DirEntry | build() | 
| FsImageProto.INodeDirectorySection.DirEntry | buildPartial() | 
| FsImageProto.INodeDirectorySection.DirEntry.Builder | clear() | 
| FsImageProto.INodeDirectorySection.DirEntry.Builder | clearChildren()
 children that are not reference nodes | 
| FsImageProto.INodeDirectorySection.DirEntry.Builder | clearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field) | 
| FsImageProto.INodeDirectorySection.DirEntry.Builder | clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof) | 
| FsImageProto.INodeDirectorySection.DirEntry.Builder | clearParent()optional uint64 parent = 1; | 
| FsImageProto.INodeDirectorySection.DirEntry.Builder | clearRefChildren()
 children that are reference nodes, each element is a reference node id | 
| FsImageProto.INodeDirectorySection.DirEntry.Builder | clone() | 
| long | getChildren(int index)
 children that are not reference nodes | 
| int | getChildrenCount()
 children that are not reference nodes | 
| List<Long> | getChildrenList()
 children that are not reference nodes | 
| FsImageProto.INodeDirectorySection.DirEntry | getDefaultInstanceForType() | 
| static org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor | getDescriptor() | 
| org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor | getDescriptorForType() | 
| long | getParent()optional uint64 parent = 1; | 
| int | getRefChildren(int index)
 children that are reference nodes, each element is a reference node id | 
| int | getRefChildrenCount()
 children that are reference nodes, each element is a reference node id | 
| List<Integer> | getRefChildrenList()
 children that are reference nodes, each element is a reference node id | 
| boolean | hasParent()optional uint64 parent = 1; | 
| protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable() | 
| boolean | isInitialized() | 
| FsImageProto.INodeDirectorySection.DirEntry.Builder | mergeFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input,
         org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) | 
| FsImageProto.INodeDirectorySection.DirEntry.Builder | mergeFrom(FsImageProto.INodeDirectorySection.DirEntry other) | 
| FsImageProto.INodeDirectorySection.DirEntry.Builder | mergeFrom(org.apache.hadoop.thirdparty.protobuf.Message other) | 
| FsImageProto.INodeDirectorySection.DirEntry.Builder | mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) | 
| FsImageProto.INodeDirectorySection.DirEntry.Builder | setChildren(int index,
           long value)
 children that are not reference nodes | 
| FsImageProto.INodeDirectorySection.DirEntry.Builder | setField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field,
        Object value) | 
| FsImageProto.INodeDirectorySection.DirEntry.Builder | setParent(long value)optional uint64 parent = 1; | 
| FsImageProto.INodeDirectorySection.DirEntry.Builder | setRefChildren(int index,
              int value)
 children that are reference nodes, each element is a reference node id | 
| FsImageProto.INodeDirectorySection.DirEntry.Builder | setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field,
                int index,
                Object value) | 
| FsImageProto.INodeDirectorySection.DirEntry.Builder | setUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) | 
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptor()
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeDirectorySection.DirEntry.Builder>public FsImageProto.INodeDirectorySection.DirEntry.Builder clear()
clear in interface org.apache.hadoop.thirdparty.protobuf.Message.Builderclear in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builderclear in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeDirectorySection.DirEntry.Builder>public org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildergetDescriptorForType in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuildergetDescriptorForType in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeDirectorySection.DirEntry.Builder>public FsImageProto.INodeDirectorySection.DirEntry getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilderpublic FsImageProto.INodeDirectorySection.DirEntry build()
build in interface org.apache.hadoop.thirdparty.protobuf.Message.Builderbuild in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builderpublic FsImageProto.INodeDirectorySection.DirEntry buildPartial()
buildPartial in interface org.apache.hadoop.thirdparty.protobuf.Message.BuilderbuildPartial in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builderpublic FsImageProto.INodeDirectorySection.DirEntry.Builder clone()
clone in interface org.apache.hadoop.thirdparty.protobuf.Message.Builderclone in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builderclone in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeDirectorySection.DirEntry.Builder>public FsImageProto.INodeDirectorySection.DirEntry.Builder setField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildersetField in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeDirectorySection.DirEntry.Builder>public FsImageProto.INodeDirectorySection.DirEntry.Builder clearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.apache.hadoop.thirdparty.protobuf.Message.BuilderclearField in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeDirectorySection.DirEntry.Builder>public FsImageProto.INodeDirectorySection.DirEntry.Builder clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.apache.hadoop.thirdparty.protobuf.Message.BuilderclearOneof in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeDirectorySection.DirEntry.Builder>public FsImageProto.INodeDirectorySection.DirEntry.Builder setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildersetRepeatedField in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeDirectorySection.DirEntry.Builder>public FsImageProto.INodeDirectorySection.DirEntry.Builder addRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.apache.hadoop.thirdparty.protobuf.Message.BuilderaddRepeatedField in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeDirectorySection.DirEntry.Builder>public FsImageProto.INodeDirectorySection.DirEntry.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.Message other)
mergeFrom in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildermergeFrom in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<FsImageProto.INodeDirectorySection.DirEntry.Builder>public FsImageProto.INodeDirectorySection.DirEntry.Builder mergeFrom(FsImageProto.INodeDirectorySection.DirEntry other)
public final boolean isInitialized()
isInitialized in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilderisInitialized in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeDirectorySection.DirEntry.Builder>public FsImageProto.INodeDirectorySection.DirEntry.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildermergeFrom in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.BuildermergeFrom in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<FsImageProto.INodeDirectorySection.DirEntry.Builder>IOExceptionpublic boolean hasParent()
optional uint64 parent = 1;hasParent in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilderpublic long getParent()
optional uint64 parent = 1;getParent in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilderpublic FsImageProto.INodeDirectorySection.DirEntry.Builder setParent(long value)
optional uint64 parent = 1;public FsImageProto.INodeDirectorySection.DirEntry.Builder clearParent()
optional uint64 parent = 1;public List<Long> getChildrenList()
children that are not reference nodes
repeated uint64 children = 2 [packed = true];getChildrenList in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilderpublic int getChildrenCount()
children that are not reference nodes
repeated uint64 children = 2 [packed = true];getChildrenCount in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilderpublic long getChildren(int index)
children that are not reference nodes
repeated uint64 children = 2 [packed = true];getChildren in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilderpublic FsImageProto.INodeDirectorySection.DirEntry.Builder setChildren(int index, long value)
children that are not reference nodes
repeated uint64 children = 2 [packed = true];public FsImageProto.INodeDirectorySection.DirEntry.Builder addChildren(long value)
children that are not reference nodes
repeated uint64 children = 2 [packed = true];public FsImageProto.INodeDirectorySection.DirEntry.Builder addAllChildren(Iterable<? extends Long> values)
children that are not reference nodes
repeated uint64 children = 2 [packed = true];public FsImageProto.INodeDirectorySection.DirEntry.Builder clearChildren()
children that are not reference nodes
repeated uint64 children = 2 [packed = true];public List<Integer> getRefChildrenList()
children that are reference nodes, each element is a reference node id
repeated uint32 refChildren = 3 [packed = true];getRefChildrenList in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilderpublic int getRefChildrenCount()
children that are reference nodes, each element is a reference node id
repeated uint32 refChildren = 3 [packed = true];getRefChildrenCount in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilderpublic int getRefChildren(int index)
children that are reference nodes, each element is a reference node id
repeated uint32 refChildren = 3 [packed = true];getRefChildren in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilderpublic FsImageProto.INodeDirectorySection.DirEntry.Builder setRefChildren(int index, int value)
children that are reference nodes, each element is a reference node id
repeated uint32 refChildren = 3 [packed = true];public FsImageProto.INodeDirectorySection.DirEntry.Builder addRefChildren(int value)
children that are reference nodes, each element is a reference node id
repeated uint32 refChildren = 3 [packed = true];public FsImageProto.INodeDirectorySection.DirEntry.Builder addAllRefChildren(Iterable<? extends Integer> values)
children that are reference nodes, each element is a reference node id
repeated uint32 refChildren = 3 [packed = true];public FsImageProto.INodeDirectorySection.DirEntry.Builder clearRefChildren()
children that are reference nodes, each element is a reference node id
repeated uint32 refChildren = 3 [packed = true];public final FsImageProto.INodeDirectorySection.DirEntry.Builder setUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildersetUnknownFields in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeDirectorySection.DirEntry.Builder>public final FsImageProto.INodeDirectorySection.DirEntry.Builder mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildermergeUnknownFields in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeDirectorySection.DirEntry.Builder>Copyright © 2008–2023 Apache Software Foundation. All rights reserved.