java.io.Serializable, java.lang.Comparable<FsImageProto.INodeSection.INode.Type>, org.apache.hadoop.thirdparty.protobuf.Internal.EnumLite, org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnumpublic static enum FsImageProto.INodeSection.INode.Type extends java.lang.Enum<FsImageProto.INodeSection.INode.Type> implements org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
hadoop.hdfs.fsimage.INodeSection.INode.Type| Enum Constant | Description |
|---|---|
DIRECTORY |
DIRECTORY = 2; |
FILE |
FILE = 1; |
SYMLINK |
SYMLINK = 3; |
| Modifier and Type | Field | Description |
|---|---|---|
static int |
DIRECTORY_VALUE |
DIRECTORY = 2; |
static int |
FILE_VALUE |
FILE = 1; |
static int |
SYMLINK_VALUE |
SYMLINK = 3; |
| Modifier and Type | Method | Description |
|---|---|---|
static FsImageProto.INodeSection.INode.Type |
forNumber(int value) |
|
static org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
|
org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
|
int |
getNumber() |
|
org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
|
static org.apache.hadoop.thirdparty.protobuf.Internal.EnumLiteMap<FsImageProto.INodeSection.INode.Type> |
internalGetValueMap() |
|
static FsImageProto.INodeSection.INode.Type |
valueOf(int value) |
Deprecated.
|
static FsImageProto.INodeSection.INode.Type |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static FsImageProto.INodeSection.INode.Type |
valueOf(org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor desc) |
Returns the enum constant of this type with the specified name.
|
static FsImageProto.INodeSection.INode.Type[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FsImageProto.INodeSection.INode.Type FILE
FILE = 1;public static final FsImageProto.INodeSection.INode.Type DIRECTORY
DIRECTORY = 2;public static final FsImageProto.INodeSection.INode.Type SYMLINK
SYMLINK = 3;public static final int FILE_VALUE
FILE = 1;public static final int DIRECTORY_VALUE
DIRECTORY = 2;public static final int SYMLINK_VALUE
SYMLINK = 3;public static FsImageProto.INodeSection.INode.Type[] values()
for (FsImageProto.INodeSection.INode.Type c : FsImageProto.INodeSection.INode.Type.values()) System.out.println(c);
public static FsImageProto.INodeSection.INode.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface org.apache.hadoop.thirdparty.protobuf.Internal.EnumLitegetNumber in interface org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum@Deprecated public static FsImageProto.INodeSection.INode.Type valueOf(int value)
value - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static FsImageProto.INodeSection.INode.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static org.apache.hadoop.thirdparty.protobuf.Internal.EnumLiteMap<FsImageProto.INodeSection.INode.Type> internalGetValueMap()
public final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnumpublic final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnumpublic static final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static FsImageProto.INodeSection.INode.Type valueOf(org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor desc)
desc - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2008–2025 Apache Software Foundation. All rights reserved.