public enum XAttrPropagationStrategy extends Enum<XAttrPropagationStrategy> implements com.google.protobuf.ProtocolMessageEnum
XAttrPropagationStrategy controls the behaviour for assigning xAttr on Inodes within nested directories - NEW_PATHS: Assign xAttr for any missing nodes along the filepath - LEAF_NODE: Only assign xAttr on the leaf node of the filepathProtobuf enum
alluxio.grpc.file.XAttrPropagationStrategy
Enum Constant and Description |
---|
LEAF_NODE
LEAF_NODE = 2; |
NEW_PATHS
NEW_PATHS = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
LEAF_NODE_VALUE
LEAF_NODE = 2; |
static int |
NEW_PATHS_VALUE
NEW_PATHS = 1; |
Modifier and Type | Method and Description |
---|---|
static XAttrPropagationStrategy |
forNumber(int value) |
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<XAttrPropagationStrategy> |
internalGetValueMap() |
static XAttrPropagationStrategy |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static XAttrPropagationStrategy |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static XAttrPropagationStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XAttrPropagationStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XAttrPropagationStrategy NEW_PATHS
NEW_PATHS = 1;
public static final XAttrPropagationStrategy LEAF_NODE
LEAF_NODE = 2;
public static final int NEW_PATHS_VALUE
NEW_PATHS = 1;
public static final int LEAF_NODE_VALUE
LEAF_NODE = 2;
public static XAttrPropagationStrategy[] values()
for (XAttrPropagationStrategy c : XAttrPropagationStrategy.values()) System.out.println(c);
public static XAttrPropagationStrategy 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
@Deprecated public static XAttrPropagationStrategy valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static XAttrPropagationStrategy forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<XAttrPropagationStrategy> 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 XAttrPropagationStrategy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All Rights Reserved.