java.io.Serializable, java.lang.Comparable<FsImageProto.SnapshotDiffSection.DiffEntry.Type>, org.apache.hadoop.thirdparty.protobuf.Internal.EnumLite, org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnumpublic static enum FsImageProto.SnapshotDiffSection.DiffEntry.Type extends java.lang.Enum<FsImageProto.SnapshotDiffSection.DiffEntry.Type> implements org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.Type| Enum Constant | Description |
|---|---|
DIRECTORYDIFF |
DIRECTORYDIFF = 2; |
FILEDIFF |
FILEDIFF = 1; |
| Modifier and Type | Field | Description |
|---|---|---|
static int |
DIRECTORYDIFF_VALUE |
DIRECTORYDIFF = 2; |
static int |
FILEDIFF_VALUE |
FILEDIFF = 1; |
| Modifier and Type | Method | Description |
|---|---|---|
static FsImageProto.SnapshotDiffSection.DiffEntry.Type |
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<FsImageProto.SnapshotDiffSection.DiffEntry.Type> |
internalGetValueMap() |
|
static FsImageProto.SnapshotDiffSection.DiffEntry.Type |
valueOf(int value) |
Deprecated.
|
static FsImageProto.SnapshotDiffSection.DiffEntry.Type |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static FsImageProto.SnapshotDiffSection.DiffEntry.Type |
valueOf(org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor desc) |
Returns the enum constant of this type with the specified name.
|
static FsImageProto.SnapshotDiffSection.DiffEntry.Type[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FsImageProto.SnapshotDiffSection.DiffEntry.Type FILEDIFF
FILEDIFF = 1;public static final FsImageProto.SnapshotDiffSection.DiffEntry.Type DIRECTORYDIFF
DIRECTORYDIFF = 2;public static final int FILEDIFF_VALUE
FILEDIFF = 1;public static final int DIRECTORYDIFF_VALUE
DIRECTORYDIFF = 2;public static FsImageProto.SnapshotDiffSection.DiffEntry.Type[] values()
for (FsImageProto.SnapshotDiffSection.DiffEntry.Type c : FsImageProto.SnapshotDiffSection.DiffEntry.Type.values()) System.out.println(c);
public static FsImageProto.SnapshotDiffSection.DiffEntry.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface org.apache.hadoop.thirdparty.protobuf.Internal.EnumLitegetNumber in interface org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum@Deprecated public static FsImageProto.SnapshotDiffSection.DiffEntry.Type valueOf(int value)
value - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static FsImageProto.SnapshotDiffSection.DiffEntry.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static org.apache.hadoop.thirdparty.protobuf.Internal.EnumLiteMap<FsImageProto.SnapshotDiffSection.DiffEntry.Type> internalGetValueMap()
public final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnumpublic final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnumpublic static final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static FsImageProto.SnapshotDiffSection.DiffEntry.Type valueOf(org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor desc)
desc - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2008–2025 Apache Software Foundation. All rights reserved.