public static enum FsImageProto.INodeSection.INode.Type extends Enum<FsImageProto.INodeSection.INode.Type> implements org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
hadoop.hdfs.fsimage.INodeSection.INode.Type| Enum Constant and Description | 
|---|
| DIRECTORYDIRECTORY = 2; | 
| FILEFILE = 1; | 
| SYMLINKSYMLINK = 3; | 
| Modifier and Type | Field and Description | 
|---|---|
| static int | DIRECTORY_VALUEDIRECTORY = 2; | 
| static int | FILE_VALUEFILE = 1; | 
| static int | SYMLINK_VALUESYMLINK = 3; | 
| Modifier and Type | Method and 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(org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor desc) | 
| static FsImageProto.INodeSection.INode.Type | valueOf(int value)Deprecated. 
 Use  forNumber(int)instead. | 
| static FsImageProto.INodeSection.INode.Type | valueOf(String name)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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - 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)
forNumber(int) instead.public static FsImageProto.INodeSection.INode.Type forNumber(int value)
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)
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.