Class FsImageProto.INodeSection.INode
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.INodeSection.INode
- All Implemented Interfaces:
Serializable,FsImageProto.INodeSection.INodeOrBuilder,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.INodeSection
public static final class FsImageProto.INodeSection.INode
extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
implements FsImageProto.INodeSection.INodeOrBuilder
Protobuf type
hadoop.hdfs.fsimage.INodeSection.INode- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typehadoop.hdfs.fsimage.INodeSection.INodestatic enumProtobuf enumhadoop.hdfs.fsimage.INodeSection.INode.TypeNested 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 intstatic final intstatic final org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.INodeSection.INode>Deprecated.static final intstatic 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 TypeMethodDescriptionbooleanstatic final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptoroptional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory directory = 5;optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory directory = 5;getFile()optional .hadoop.hdfs.fsimage.INodeSection.INodeFile file = 4;optional .hadoop.hdfs.fsimage.INodeSection.INodeFile file = 4;longgetId()required uint64 id = 2;org.apache.hadoop.thirdparty.protobuf.ByteStringgetName()optional bytes name = 3;org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.INodeSection.INode>intoptional .hadoop.hdfs.fsimage.INodeSection.INodeSymlink symlink = 6;optional .hadoop.hdfs.fsimage.INodeSection.INodeSymlink symlink = 6;getType()required .hadoop.hdfs.fsimage.INodeSection.INode.Type type = 1;booleanoptional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory directory = 5;booleanhasFile()optional .hadoop.hdfs.fsimage.INodeSection.INodeFile file = 4;inthashCode()booleanhasId()required uint64 id = 2;booleanhasName()optional bytes name = 3;booleanoptional .hadoop.hdfs.fsimage.INodeSection.INodeSymlink symlink = 6;booleanhasType()required .hadoop.hdfs.fsimage.INodeSection.INode.Type type = 1;protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(FsImageProto.INodeSection.INode prototype) protected FsImageProto.INodeSection.INode.BuildernewBuilderForType(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.INodeSection.INode>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
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
FILE_FIELD_NUMBER
public static final int FILE_FIELD_NUMBER- See Also:
-
DIRECTORY_FIELD_NUMBER
public static final int DIRECTORY_FIELD_NUMBER- See Also:
-
SYMLINK_FIELD_NUMBER
public static final int SYMLINK_FIELD_NUMBER- See Also:
-
PARSER
@Deprecated public static final org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.INodeSection.INode> 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
-
hasType
public boolean hasType()required .hadoop.hdfs.fsimage.INodeSection.INode.Type type = 1;- Specified by:
hasTypein interfaceFsImageProto.INodeSection.INodeOrBuilder- Returns:
- Whether the type field is set.
-
getType
required .hadoop.hdfs.fsimage.INodeSection.INode.Type type = 1;- Specified by:
getTypein interfaceFsImageProto.INodeSection.INodeOrBuilder- Returns:
- The type.
-
hasId
public boolean hasId()required uint64 id = 2;- Specified by:
hasIdin interfaceFsImageProto.INodeSection.INodeOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()required uint64 id = 2;- Specified by:
getIdin interfaceFsImageProto.INodeSection.INodeOrBuilder- Returns:
- The id.
-
hasName
public boolean hasName()optional bytes name = 3;- Specified by:
hasNamein interfaceFsImageProto.INodeSection.INodeOrBuilder- Returns:
- Whether the name field is set.
-
getName
public org.apache.hadoop.thirdparty.protobuf.ByteString getName()optional bytes name = 3;- Specified by:
getNamein interfaceFsImageProto.INodeSection.INodeOrBuilder- Returns:
- The name.
-
hasFile
public boolean hasFile()optional .hadoop.hdfs.fsimage.INodeSection.INodeFile file = 4;- Specified by:
hasFilein interfaceFsImageProto.INodeSection.INodeOrBuilder- Returns:
- Whether the file field is set.
-
getFile
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile file = 4;- Specified by:
getFilein interfaceFsImageProto.INodeSection.INodeOrBuilder- Returns:
- The file.
-
getFileOrBuilder
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile file = 4;- Specified by:
getFileOrBuilderin interfaceFsImageProto.INodeSection.INodeOrBuilder
-
hasDirectory
public boolean hasDirectory()optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory directory = 5;- Specified by:
hasDirectoryin interfaceFsImageProto.INodeSection.INodeOrBuilder- Returns:
- Whether the directory field is set.
-
getDirectory
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory directory = 5;- Specified by:
getDirectoryin interfaceFsImageProto.INodeSection.INodeOrBuilder- Returns:
- The directory.
-
getDirectoryOrBuilder
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory directory = 5;- Specified by:
getDirectoryOrBuilderin interfaceFsImageProto.INodeSection.INodeOrBuilder
-
hasSymlink
public boolean hasSymlink()optional .hadoop.hdfs.fsimage.INodeSection.INodeSymlink symlink = 6;- Specified by:
hasSymlinkin interfaceFsImageProto.INodeSection.INodeOrBuilder- Returns:
- Whether the symlink field is set.
-
getSymlink
optional .hadoop.hdfs.fsimage.INodeSection.INodeSymlink symlink = 6;- Specified by:
getSymlinkin interfaceFsImageProto.INodeSection.INodeOrBuilder- Returns:
- The symlink.
-
getSymlinkOrBuilder
optional .hadoop.hdfs.fsimage.INodeSection.INodeSymlink symlink = 6;- Specified by:
getSymlinkOrBuilderin interfaceFsImageProto.INodeSection.INodeOrBuilder
-
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.INodeSection.INode parseFrom(ByteBuffer data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FsImageProto.INodeSection.INode 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.INodeSection.INode 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.INodeSection.INode 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.INodeSection.INode parseFrom(byte[] data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FsImageProto.INodeSection.INode 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
- Throws:
IOException
-
parseFrom
public static FsImageProto.INodeSection.INode parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static FsImageProto.INodeSection.INode parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static FsImageProto.INodeSection.INode parseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static FsImageProto.INodeSection.INode parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FsImageProto.INodeSection.INode 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.INodeSection.INode.Builder newBuilder(FsImageProto.INodeSection.INode prototype) -
toBuilder
- Specified by:
toBuilderin interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Specified by:
toBuilderin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite
-
newBuilderForType
protected FsImageProto.INodeSection.INode.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.INodeSection.INode> parser() -
getParserForType
public org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.INodeSection.INode> 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
-