Class FsImageProto.INodeDirectorySection.DirEntry
java.lang.Object
org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite
org.apache.hadoop.thirdparty.protobuf.AbstractMessage
org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeDirectorySection.DirEntry
- All Implemented Interfaces:
Serializable,FsImageProto.INodeDirectorySection.DirEntryOrBuilder,org.apache.hadoop.thirdparty.protobuf.Message,org.apache.hadoop.thirdparty.protobuf.MessageLite,org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder,org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
- Enclosing class:
- FsImageProto.INodeDirectorySection
public static final class FsImageProto.INodeDirectorySection.DirEntry
extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA single DirEntry needs to fit in the default PB max message size of 64MB.Nested classes/interfaces inherited from class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite
org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.INodeDirectorySection.DirEntry>Deprecated.static final intFields inherited from class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessage
memoizedSizeFields inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonggetChildren(int index) children that are not reference nodesintchildren that are not reference nodeschildren that are not reference nodesstatic final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptorlongoptional uint64 parent = 1;org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.INodeDirectorySection.DirEntry>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 idintinthashCode()booleanoptional uint64 parent = 1;protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) static org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.INodeDirectorySection.DirEntry>parser()voidwriteTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output) Methods inherited from class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER- See Also:
-
CHILDREN_FIELD_NUMBER
public static final int CHILDREN_FIELD_NUMBER- See Also:
-
REFCHILDREN_FIELD_NUMBER
public static final int REFCHILDREN_FIELD_NUMBER- See Also:
-
PARSER
@Deprecated public static final org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.INodeDirectorySection.DirEntry> PARSERDeprecated.
-
-
Method Details
-
newInstance
protected Object newInstance(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) - Overrides:
newInstancein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
getDescriptor
public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
hasParent
public boolean hasParent()optional uint64 parent = 1;- Specified by:
hasParentin interfaceFsImageProto.INodeDirectorySection.DirEntryOrBuilder- Returns:
- Whether the parent field is set.
-
getParent
public long getParent()optional uint64 parent = 1;- Specified by:
getParentin interfaceFsImageProto.INodeDirectorySection.DirEntryOrBuilder- Returns:
- The parent.
-
getChildrenList
children that are not reference nodes
repeated uint64 children = 2 [packed = true];- Specified by:
getChildrenListin interfaceFsImageProto.INodeDirectorySection.DirEntryOrBuilder- Returns:
- A list containing the children.
-
getChildrenCount
public int getChildrenCount()children that are not reference nodes
repeated uint64 children = 2 [packed = true];- Specified by:
getChildrenCountin interfaceFsImageProto.INodeDirectorySection.DirEntryOrBuilder- Returns:
- The count of children.
-
getChildren
public long getChildren(int index) children that are not reference nodes
repeated uint64 children = 2 [packed = true];- Specified by:
getChildrenin interfaceFsImageProto.INodeDirectorySection.DirEntryOrBuilder- 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];- Specified by:
getRefChildrenListin interfaceFsImageProto.INodeDirectorySection.DirEntryOrBuilder- Returns:
- A list containing the refChildren.
-
getRefChildrenCount
public int getRefChildrenCount()children that are reference nodes, each element is a reference node id
repeated uint32 refChildren = 3 [packed = true];- Specified by:
getRefChildrenCountin interfaceFsImageProto.INodeDirectorySection.DirEntryOrBuilder- Returns:
- The count of refChildren.
-
getRefChildren
public int getRefChildren(int index) children that are reference nodes, each element is a reference node id
repeated uint32 refChildren = 3 [packed = true];- Specified by:
getRefChildrenin interfaceFsImageProto.INodeDirectorySection.DirEntryOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The refChildren at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output) throws IOException - Specified by:
writeToin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite- Overrides:
writeToin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite- Overrides:
getSerializedSizein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Overrides:
equalsin classorg.apache.hadoop.thirdparty.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Overrides:
hashCodein classorg.apache.hadoop.thirdparty.protobuf.AbstractMessage
-
parseFrom
public static FsImageProto.INodeDirectorySection.DirEntry parseFrom(ByteBuffer data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FsImageProto.INodeDirectorySection.DirEntry parseFrom(ByteBuffer data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FsImageProto.INodeDirectorySection.DirEntry parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FsImageProto.INodeDirectorySection.DirEntry parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FsImageProto.INodeDirectorySection.DirEntry parseFrom(byte[] data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FsImageProto.INodeDirectorySection.DirEntry parseFrom(byte[] data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FsImageProto.INodeDirectorySection.DirEntry parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FsImageProto.INodeDirectorySection.DirEntry parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static FsImageProto.INodeDirectorySection.DirEntry parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static FsImageProto.INodeDirectorySection.DirEntry parseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static FsImageProto.INodeDirectorySection.DirEntry parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FsImageProto.INodeDirectorySection.DirEntry parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Specified by:
newBuilderForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static FsImageProto.INodeDirectorySection.DirEntry.Builder newBuilder(FsImageProto.INodeDirectorySection.DirEntry prototype) -
toBuilder
- Specified by:
toBuilderin interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Specified by:
toBuilderin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite
-
newBuilderForType
protected FsImageProto.INodeDirectorySection.DirEntry.Builder newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
public static org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.INodeDirectorySection.DirEntry> parser() -
getParserForType
public org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.INodeDirectorySection.DirEntry> getParserForType()- Specified by:
getParserForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Specified by:
getParserForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite- Overrides:
getParserForTypein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
-