public static final class FsImageProto.INodeDirectorySection.DirEntry extends com.google.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
Modifier and Type | Class and Description |
---|---|
static class |
FsImageProto.INodeDirectorySection.DirEntry.Builder
A single DirEntry needs to fit in the default PB max message size of
64MB.
|
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
Deprecated.
|
static int |
REFCHILDREN_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
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
|
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)
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
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasParent()
optional uint64 parent = 1; |
protected com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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(ByteBuffer data) |
static FsImageProto.INodeDirectorySection.DirEntry |
parseFrom(ByteBuffer 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) |
static com.google.protobuf.Parser<FsImageProto.INodeDirectorySection.DirEntry> |
parser() |
FsImageProto.INodeDirectorySection.DirEntry.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int PARENT_FIELD_NUMBER
public static final int CHILDREN_FIELD_NUMBER
public static final int REFCHILDREN_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<FsImageProto.INodeDirectorySection.DirEntry> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
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 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
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
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
IOException
public int getSerializedSize()
public boolean equals(Object obj)
public int hashCode()
public static FsImageProto.INodeDirectorySection.DirEntry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.INodeDirectorySection.DirEntry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.INodeDirectorySection.DirEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.INodeDirectorySection.DirEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.INodeDirectorySection.DirEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.INodeDirectorySection.DirEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.INodeDirectorySection.DirEntry parseFrom(InputStream input) throws IOException
IOException
public static FsImageProto.INodeDirectorySection.DirEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FsImageProto.INodeDirectorySection.DirEntry parseDelimitedFrom(InputStream input) throws IOException
IOException
public static FsImageProto.INodeDirectorySection.DirEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FsImageProto.INodeDirectorySection.DirEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static FsImageProto.INodeDirectorySection.DirEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public FsImageProto.INodeDirectorySection.DirEntry.Builder newBuilderForType()
public static FsImageProto.INodeDirectorySection.DirEntry.Builder newBuilder()
public static FsImageProto.INodeDirectorySection.DirEntry.Builder newBuilder(FsImageProto.INodeDirectorySection.DirEntry prototype)
public FsImageProto.INodeDirectorySection.DirEntry.Builder toBuilder()
protected FsImageProto.INodeDirectorySection.DirEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static FsImageProto.INodeDirectorySection.DirEntry getDefaultInstance()
public static com.google.protobuf.Parser<FsImageProto.INodeDirectorySection.DirEntry> parser()
public com.google.protobuf.Parser<FsImageProto.INodeDirectorySection.DirEntry> getParserForType()
public FsImageProto.INodeDirectorySection.DirEntry getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.