public static enum FSProtos.FileStatusProto.Flags extends Enum<FSProtos.FileStatusProto.Flags> implements org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
hadoop.fs.FileStatusProto.Flags
Enum Constant and Description |
---|
HAS_ACL
has ACLs
|
HAS_CRYPT
encrypted
|
HAS_EC
erasure coded
|
SNAPSHOT_ENABLED
snapshot enabled
|
Modifier and Type | Field and Description |
---|---|
static int |
HAS_ACL_VALUE
has ACLs
|
static int |
HAS_CRYPT_VALUE
encrypted
|
static int |
HAS_EC_VALUE
erasure coded
|
static int |
SNAPSHOT_ENABLED_VALUE
snapshot enabled
|
Modifier and Type | Method and Description |
---|---|
static FSProtos.FileStatusProto.Flags |
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.Flags> |
internalGetValueMap() |
static FSProtos.FileStatusProto.Flags |
valueOf(org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor desc) |
static FSProtos.FileStatusProto.Flags |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FSProtos.FileStatusProto.Flags |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FSProtos.FileStatusProto.Flags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FSProtos.FileStatusProto.Flags HAS_ACL
has ACLs
HAS_ACL = 1;
public static final FSProtos.FileStatusProto.Flags HAS_CRYPT
encrypted
HAS_CRYPT = 2;
public static final FSProtos.FileStatusProto.Flags HAS_EC
erasure coded
HAS_EC = 4;
public static final FSProtos.FileStatusProto.Flags SNAPSHOT_ENABLED
snapshot enabled
SNAPSHOT_ENABLED = 8;
public static final int HAS_ACL_VALUE
has ACLs
HAS_ACL = 1;
public static final int HAS_CRYPT_VALUE
encrypted
HAS_CRYPT = 2;
public static final int HAS_EC_VALUE
erasure coded
HAS_EC = 4;
public static final int SNAPSHOT_ENABLED_VALUE
snapshot enabled
SNAPSHOT_ENABLED = 8;
public static FSProtos.FileStatusProto.Flags[] values()
for (FSProtos.FileStatusProto.Flags c : FSProtos.FileStatusProto.Flags.values()) System.out.println(c);
public static FSProtos.FileStatusProto.Flags 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.Flags valueOf(int value)
forNumber(int)
instead.public static FSProtos.FileStatusProto.Flags forNumber(int value)
public static org.apache.hadoop.thirdparty.protobuf.Internal.EnumLiteMap<FSProtos.FileStatusProto.Flags> 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.Flags valueOf(org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.