public static final class FsImageProto.INodeDirectorySection.DirEntry extends com.google.protobuf.GeneratedMessage implements FsImageProto.INodeDirectorySection.DirEntryOrBuilder
hadoop.hdfs.fsimage.INodeDirectorySection.DirEntry
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!
| Modifier and Type | Class and Description |
|---|---|
static class |
FsImageProto.INodeDirectorySection.DirEntry.Builder
Protobuf type
hadoop.hdfs.fsimage.INodeDirectorySection.DirEntry |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
CHILDREN_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static com.google.protobuf.Parser<FsImageProto.INodeDirectorySection.DirEntry> |
PARSER |
static int |
REFCHILDREN_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
long |
getChildren(int index)
repeated uint64 children = 2 [packed = true]; |
int |
getChildrenCount()
repeated uint64 children = 2 [packed = true]; |
List<Long> |
getChildrenList()
repeated uint64 children = 2 [packed = true]; |
static FsImageProto.INodeDirectorySection.DirEntry |
getDefaultInstance() |
FsImageProto.INodeDirectorySection.DirEntry |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getParent()
optional uint64 parent = 1; |
com.google.protobuf.Parser<FsImageProto.INodeDirectorySection.DirEntry> |
getParserForType() |
int |
getRefChildren(int index)
repeated uint32 refChildren = 3 [packed = true]; |
int |
getRefChildrenCount()
repeated uint32 refChildren = 3 [packed = true]; |
List<Integer> |
getRefChildrenList()
repeated uint32 refChildren = 3 [packed = true]; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasParent()
optional uint64 parent = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FsImageProto.INodeDirectorySection.DirEntry.Builder |
newBuilder() |
static FsImageProto.INodeDirectorySection.DirEntry.Builder |
newBuilder(FsImageProto.INodeDirectorySection.DirEntry prototype) |
FsImageProto.INodeDirectorySection.DirEntry.Builder |
newBuilderForType() |
protected FsImageProto.INodeDirectorySection.DirEntry.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static FsImageProto.INodeDirectorySection.DirEntry |
parseDelimitedFrom(InputStream input) |
static FsImageProto.INodeDirectorySection.DirEntry |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.INodeDirectorySection.DirEntry |
parseFrom(byte[] data) |
static FsImageProto.INodeDirectorySection.DirEntry |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.INodeDirectorySection.DirEntry |
parseFrom(com.google.protobuf.ByteString data) |
static FsImageProto.INodeDirectorySection.DirEntry |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.INodeDirectorySection.DirEntry |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FsImageProto.INodeDirectorySection.DirEntry |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.INodeDirectorySection.DirEntry |
parseFrom(InputStream input) |
static FsImageProto.INodeDirectorySection.DirEntry |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FsImageProto.INodeDirectorySection.DirEntry.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<FsImageProto.INodeDirectorySection.DirEntry> PARSER
public static final int PARENT_FIELD_NUMBER
public static final int CHILDREN_FIELD_NUMBER
public static final int REFCHILDREN_FIELD_NUMBER
public static FsImageProto.INodeDirectorySection.DirEntry getDefaultInstance()
public FsImageProto.INodeDirectorySection.DirEntry getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<FsImageProto.INodeDirectorySection.DirEntry> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasParent()
optional uint64 parent = 1;hasParent in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilderpublic long getParent()
optional uint64 parent = 1;getParent in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilderpublic List<Long> getChildrenList()
repeated uint64 children = 2 [packed = true];
children that are not reference nodes
getChildrenList in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilderpublic int getChildrenCount()
repeated uint64 children = 2 [packed = true];
children that are not reference nodes
getChildrenCount in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilderpublic long getChildren(int index)
repeated uint64 children = 2 [packed = true];
children that are not reference nodes
getChildren in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilderpublic List<Integer> getRefChildrenList()
repeated uint32 refChildren = 3 [packed = true];
children that are reference nodes, each element is a reference node id
getRefChildrenList in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilderpublic int getRefChildrenCount()
repeated uint32 refChildren = 3 [packed = true];
children that are reference nodes, each element is a reference node id
getRefChildrenCount in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilderpublic int getRefChildren(int index)
repeated uint32 refChildren = 3 [packed = true];
children that are reference nodes, each element is a reference node id
getRefChildren in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static FsImageProto.INodeDirectorySection.DirEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.INodeDirectorySection.DirEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.INodeDirectorySection.DirEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.INodeDirectorySection.DirEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.INodeDirectorySection.DirEntry parseFrom(InputStream input) throws IOException
IOExceptionpublic static FsImageProto.INodeDirectorySection.DirEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FsImageProto.INodeDirectorySection.DirEntry parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FsImageProto.INodeDirectorySection.DirEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FsImageProto.INodeDirectorySection.DirEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FsImageProto.INodeDirectorySection.DirEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FsImageProto.INodeDirectorySection.DirEntry.Builder newBuilder()
public FsImageProto.INodeDirectorySection.DirEntry.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static FsImageProto.INodeDirectorySection.DirEntry.Builder newBuilder(FsImageProto.INodeDirectorySection.DirEntry prototype)
public FsImageProto.INodeDirectorySection.DirEntry.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected FsImageProto.INodeDirectorySection.DirEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2008–2022 Apache Software Foundation. All rights reserved.