public static enum FSProtos.FileStatusProto.FileType extends Enum<FSProtos.FileStatusProto.FileType> implements org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
hadoop.fs.FileStatusProto.FileType
Enum Constant and Description |
---|
FT_DIR
FT_DIR = 1; |
FT_FILE
FT_FILE = 2; |
FT_SYMLINK
FT_SYMLINK = 3; |
Modifier and Type | Field and Description |
---|---|
static int |
FT_DIR_VALUE
FT_DIR = 1; |
static int |
FT_FILE_VALUE
FT_FILE = 2; |
static int |
FT_SYMLINK_VALUE
FT_SYMLINK = 3; |
Modifier and Type | Method and Description |
---|---|
static FSProtos.FileStatusProto.FileType |
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<FSProtos.FileStatusProto.FileType> |
internalGetValueMap() |
static FSProtos.FileStatusProto.FileType |
valueOf(org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor desc) |
static FSProtos.FileStatusProto.FileType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FSProtos.FileStatusProto.FileType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FSProtos.FileStatusProto.FileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FSProtos.FileStatusProto.FileType FT_DIR
FT_DIR = 1;
public static final FSProtos.FileStatusProto.FileType FT_FILE
FT_FILE = 2;
public static final FSProtos.FileStatusProto.FileType FT_SYMLINK
FT_SYMLINK = 3;
public static final int FT_DIR_VALUE
FT_DIR = 1;
public static final int FT_FILE_VALUE
FT_FILE = 2;
public static final int FT_SYMLINK_VALUE
FT_SYMLINK = 3;
public static FSProtos.FileStatusProto.FileType[] values()
for (FSProtos.FileStatusProto.FileType c : FSProtos.FileStatusProto.FileType.values()) System.out.println(c);
public static FSProtos.FileStatusProto.FileType 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.EnumLite
getNumber
in interface org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
@Deprecated public static FSProtos.FileStatusProto.FileType valueOf(int value)
forNumber(int)
instead.public static FSProtos.FileStatusProto.FileType forNumber(int value)
public static org.apache.hadoop.thirdparty.protobuf.Internal.EnumLiteMap<FSProtos.FileStatusProto.FileType> internalGetValueMap()
public final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
public final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static FSProtos.FileStatusProto.FileType valueOf(org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.