public static enum FSProtos.FileStatusProto.Flags extends Enum<FSProtos.FileStatusProto.Flags> implements com.google.protobuf.ProtocolMessageEnum
hadoop.fs.FileStatusProto.Flags| Enum Constant and Description |
|---|
HAS_ACL
HAS_ACL = 1; |
HAS_CRYPT
HAS_CRYPT = 2; |
HAS_EC
HAS_EC = 4; |
SNAPSHOT_ENABLED
SNAPSHOT_ENABLED = 8; |
| Modifier and Type | Field and Description |
|---|---|
static int |
HAS_ACL_VALUE
HAS_ACL = 1; |
static int |
HAS_CRYPT_VALUE
HAS_CRYPT = 2; |
static int |
HAS_EC_VALUE
HAS_EC = 4; |
static int |
SNAPSHOT_ENABLED_VALUE
SNAPSHOT_ENABLED = 8; |
| 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.Flags> |
internalGetValueMap() |
static FSProtos.FileStatusProto.Flags |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static FSProtos.FileStatusProto.Flags |
valueOf(int value) |
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_ACL = 1;
has ACLs
public static final FSProtos.FileStatusProto.Flags HAS_CRYPT
HAS_CRYPT = 2;
encrypted
public static final FSProtos.FileStatusProto.Flags HAS_EC
HAS_EC = 4;
erasure coded
public static final FSProtos.FileStatusProto.Flags SNAPSHOT_ENABLED
SNAPSHOT_ENABLED = 8;
snapshot enabled
public static final int HAS_ACL_VALUE
HAS_ACL = 1;
has ACLs
public static final int HAS_CRYPT_VALUE
HAS_CRYPT = 2;
encrypted
public static final int HAS_EC_VALUE
HAS_EC = 4;
erasure coded
public static final int SNAPSHOT_ENABLED_VALUE
SNAPSHOT_ENABLED = 8;
snapshot enabled
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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static FSProtos.FileStatusProto.Flags valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<FSProtos.FileStatusProto.Flags> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static FSProtos.FileStatusProto.Flags valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.