public static enum HdfsProtos.HdfsFileStatusProto.FileType extends Enum<HdfsProtos.HdfsFileStatusProto.FileType> implements com.google.protobuf.ProtocolMessageEnum
hadoop.hdfs.HdfsFileStatusProto.FileType
Enum Constant and Description |
---|
IS_DIR
IS_DIR = 1; |
IS_FILE
IS_FILE = 2; |
IS_SYMLINK
IS_SYMLINK = 3; |
Modifier and Type | Field and Description |
---|---|
static int |
IS_DIR_VALUE
IS_DIR = 1; |
static int |
IS_FILE_VALUE
IS_FILE = 2; |
static int |
IS_SYMLINK_VALUE
IS_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<HdfsProtos.HdfsFileStatusProto.FileType> |
internalGetValueMap() |
static HdfsProtos.HdfsFileStatusProto.FileType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HdfsProtos.HdfsFileStatusProto.FileType |
valueOf(int value) |
static HdfsProtos.HdfsFileStatusProto.FileType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HdfsProtos.HdfsFileStatusProto.FileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HdfsProtos.HdfsFileStatusProto.FileType IS_DIR
IS_DIR = 1;
public static final HdfsProtos.HdfsFileStatusProto.FileType IS_FILE
IS_FILE = 2;
public static final HdfsProtos.HdfsFileStatusProto.FileType IS_SYMLINK
IS_SYMLINK = 3;
public static final int IS_DIR_VALUE
IS_DIR = 1;
public static final int IS_FILE_VALUE
IS_FILE = 2;
public static final int IS_SYMLINK_VALUE
IS_SYMLINK = 3;
public static HdfsProtos.HdfsFileStatusProto.FileType[] values()
for (HdfsProtos.HdfsFileStatusProto.FileType c : HdfsProtos.HdfsFileStatusProto.FileType.values()) System.out.println(c);
public static HdfsProtos.HdfsFileStatusProto.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 HdfsProtos.HdfsFileStatusProto.FileType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<HdfsProtos.HdfsFileStatusProto.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 HdfsProtos.HdfsFileStatusProto.FileType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2013 Apache Software Foundation. All rights reserved.