public static enum FsImageProto.SnapshotDiffSection.DiffEntry.Type extends Enum<FsImageProto.SnapshotDiffSection.DiffEntry.Type> implements org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.Type
Enum Constant and Description |
---|
DIRECTORYDIFF
DIRECTORYDIFF = 2; |
FILEDIFF
FILEDIFF = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
DIRECTORYDIFF_VALUE
DIRECTORYDIFF = 2; |
static int |
FILEDIFF_VALUE
FILEDIFF = 1; |
Modifier and Type | Method and 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(org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor desc) |
static FsImageProto.SnapshotDiffSection.DiffEntry.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FsImageProto.SnapshotDiffSection.DiffEntry.Type |
valueOf(String name)
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(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 FsImageProto.SnapshotDiffSection.DiffEntry.Type valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public 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.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 FsImageProto.SnapshotDiffSection.DiffEntry.Type valueOf(org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.