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, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<FsImageProto.INodeDirectorySection.DirEntry> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
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()
repeated uint64 children = 2 [packed = true];
children that are not reference nodes
getChildrenList
in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilder
public int getChildrenCount()
repeated uint64 children = 2 [packed = true];
children that are not reference nodes
getChildrenCount
in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilder
public long getChildren(int index)
repeated uint64 children = 2 [packed = true];
children that are not reference nodes
getChildren
in interface FsImageProto.INodeDirectorySection.DirEntryOrBuilder
public 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.DirEntryOrBuilder
public 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.DirEntryOrBuilder
public 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.DirEntryOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
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 static FsImageProto.INodeDirectorySection.DirEntry.Builder newBuilder()
public FsImageProto.INodeDirectorySection.DirEntry.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static FsImageProto.INodeDirectorySection.DirEntry.Builder newBuilder(FsImageProto.INodeDirectorySection.DirEntry prototype)
public FsImageProto.INodeDirectorySection.DirEntry.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected FsImageProto.INodeDirectorySection.DirEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2017 Apache Software Foundation. All Rights Reserved.