public static enum FSProtos.FileStatusProto.FileType extends Enum<FSProtos.FileStatusProto.FileType> implements com.google.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 com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<FSProtos.FileStatusProto.FileType> |
internalGetValueMap() |
static FSProtos.FileStatusProto.FileType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static FSProtos.FileStatusProto.FileType |
valueOf(int value) |
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 com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static FSProtos.FileStatusProto.FileType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<FSProtos.FileStatusProto.FileType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static FSProtos.FileStatusProto.FileType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.