Interface FsImageProto.INodeSection.INodeOrBuilder
- All Superinterfaces:
org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder,org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FsImageProto.INodeSection.INode,FsImageProto.INodeSection.INode.Builder
- Enclosing class:
- FsImageProto.INodeSection
public static interface FsImageProto.INodeSection.INodeOrBuilder
extends org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionoptional .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;optional .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;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;Methods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasType
boolean hasType()required .hadoop.hdfs.fsimage.INodeSection.INode.Type type = 1;- Returns:
- Whether the type field is set.
-
getType
FsImageProto.INodeSection.INode.Type getType()required .hadoop.hdfs.fsimage.INodeSection.INode.Type type = 1;- Returns:
- The type.
-
hasId
boolean hasId()required uint64 id = 2;- Returns:
- Whether the id field is set.
-
getId
long getId()required uint64 id = 2;- Returns:
- The id.
-
hasName
boolean hasName()optional bytes name = 3;- Returns:
- Whether the name field is set.
-
getName
org.apache.hadoop.thirdparty.protobuf.ByteString getName()optional bytes name = 3;- Returns:
- The name.
-
hasFile
boolean hasFile()optional .hadoop.hdfs.fsimage.INodeSection.INodeFile file = 4;- Returns:
- Whether the file field is set.
-
getFile
FsImageProto.INodeSection.INodeFile getFile()optional .hadoop.hdfs.fsimage.INodeSection.INodeFile file = 4;- Returns:
- The file.
-
getFileOrBuilder
FsImageProto.INodeSection.INodeFileOrBuilder getFileOrBuilder()optional .hadoop.hdfs.fsimage.INodeSection.INodeFile file = 4; -
hasDirectory
boolean hasDirectory()optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory directory = 5;- Returns:
- Whether the directory field is set.
-
getDirectory
FsImageProto.INodeSection.INodeDirectory getDirectory()optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory directory = 5;- Returns:
- The directory.
-
getDirectoryOrBuilder
FsImageProto.INodeSection.INodeDirectoryOrBuilder getDirectoryOrBuilder()optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory directory = 5; -
hasSymlink
boolean hasSymlink()optional .hadoop.hdfs.fsimage.INodeSection.INodeSymlink symlink = 6;- Returns:
- Whether the symlink field is set.
-
getSymlink
FsImageProto.INodeSection.INodeSymlink getSymlink()optional .hadoop.hdfs.fsimage.INodeSection.INodeSymlink symlink = 6;- Returns:
- The symlink.
-
getSymlinkOrBuilder
FsImageProto.INodeSection.INodeSymlinkOrBuilder getSymlinkOrBuilder()optional .hadoop.hdfs.fsimage.INodeSection.INodeSymlink symlink = 6;
-