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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public 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.Builder
clear
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
clear
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.Builder
getDescriptorForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
getDescriptorForType
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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
public FsImageProto.INodeDirectorySection.DirEntry build()
build
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
build
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
public FsImageProto.INodeDirectorySection.DirEntry buildPartial()
buildPartial
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
buildPartial
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
public FsImageProto.INodeDirectorySection.DirEntry.Builder clone()
clone
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
clone
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
mergeFrom
in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<FsImageProto.INodeDirectorySection.DirEntry.Builder>
IOException
public boolean hasParent()
optional uint64 parent = 1;
hasParent
in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilder
public long getParent()
optional uint64 parent = 1;
getParent
in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilder
public FsImageProto.INodeDirectorySection.DirEntry.Builder setParent(long value)
optional uint64 parent = 1;
value
- The parent to set.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.DirEntryOrBuilder
public int getChildrenCount()
children that are not reference nodes
repeated uint64 children = 2 [packed = true];
getChildrenCount
in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilder
public long getChildren(int index)
children that are not reference nodes
repeated uint64 children = 2 [packed = true];
getChildren
in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilder
index
- The index of the element to return.public FsImageProto.INodeDirectorySection.DirEntry.Builder setChildren(int index, long value)
children that are not reference nodes
repeated uint64 children = 2 [packed = true];
index
- The index to set the value at.value
- The children to set.public FsImageProto.INodeDirectorySection.DirEntry.Builder addChildren(long value)
children that are not reference nodes
repeated uint64 children = 2 [packed = true];
value
- The children to add.public FsImageProto.INodeDirectorySection.DirEntry.Builder addAllChildren(Iterable<? extends Long> values)
children that are not reference nodes
repeated uint64 children = 2 [packed = true];
values
- The children to add.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.DirEntryOrBuilder
public 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.DirEntryOrBuilder
public 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.DirEntryOrBuilder
index
- The index of the element to return.public 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];
index
- The index to set the value at.value
- The refChildren to set.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];
value
- The refChildren to add.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];
values
- The refChildren to add.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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeDirectorySection.DirEntry.Builder>
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.