public static enum DataTransferProtos.Status extends Enum<DataTransferProtos.Status> implements com.google.protobuf.ProtocolMessageEnum
hadoop.hdfs.Status
Enum Constant and Description |
---|
CHECKSUM_OK
CHECKSUM_OK = 6; |
ERROR
ERROR = 1; |
ERROR_ACCESS_TOKEN
ERROR_ACCESS_TOKEN = 5; |
ERROR_CHECKSUM
ERROR_CHECKSUM = 2; |
ERROR_EXISTS
ERROR_EXISTS = 4; |
ERROR_INVALID
ERROR_INVALID = 3; |
ERROR_UNSUPPORTED
ERROR_UNSUPPORTED = 7; |
SUCCESS
SUCCESS = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
CHECKSUM_OK_VALUE
CHECKSUM_OK = 6; |
static int |
ERROR_ACCESS_TOKEN_VALUE
ERROR_ACCESS_TOKEN = 5; |
static int |
ERROR_CHECKSUM_VALUE
ERROR_CHECKSUM = 2; |
static int |
ERROR_EXISTS_VALUE
ERROR_EXISTS = 4; |
static int |
ERROR_INVALID_VALUE
ERROR_INVALID = 3; |
static int |
ERROR_UNSUPPORTED_VALUE
ERROR_UNSUPPORTED = 7; |
static int |
ERROR_VALUE
ERROR = 1; |
static int |
SUCCESS_VALUE
SUCCESS = 0; |
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<DataTransferProtos.Status> |
internalGetValueMap() |
static DataTransferProtos.Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DataTransferProtos.Status |
valueOf(int value) |
static DataTransferProtos.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataTransferProtos.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataTransferProtos.Status SUCCESS
SUCCESS = 0;
public static final DataTransferProtos.Status ERROR
ERROR = 1;
public static final DataTransferProtos.Status ERROR_CHECKSUM
ERROR_CHECKSUM = 2;
public static final DataTransferProtos.Status ERROR_INVALID
ERROR_INVALID = 3;
public static final DataTransferProtos.Status ERROR_EXISTS
ERROR_EXISTS = 4;
public static final DataTransferProtos.Status ERROR_ACCESS_TOKEN
ERROR_ACCESS_TOKEN = 5;
public static final DataTransferProtos.Status CHECKSUM_OK
CHECKSUM_OK = 6;
public static final DataTransferProtos.Status ERROR_UNSUPPORTED
ERROR_UNSUPPORTED = 7;
public static final int SUCCESS_VALUE
SUCCESS = 0;
public static final int ERROR_VALUE
ERROR = 1;
public static final int ERROR_CHECKSUM_VALUE
ERROR_CHECKSUM = 2;
public static final int ERROR_INVALID_VALUE
ERROR_INVALID = 3;
public static final int ERROR_EXISTS_VALUE
ERROR_EXISTS = 4;
public static final int ERROR_ACCESS_TOKEN_VALUE
ERROR_ACCESS_TOKEN = 5;
public static final int CHECKSUM_OK_VALUE
CHECKSUM_OK = 6;
public static final int ERROR_UNSUPPORTED_VALUE
ERROR_UNSUPPORTED = 7;
public static DataTransferProtos.Status[] values()
for (DataTransferProtos.Status c : DataTransferProtos.Status.values()) System.out.println(c);
public static DataTransferProtos.Status 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
public static DataTransferProtos.Status valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<DataTransferProtos.Status> 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 DataTransferProtos.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2013 Apache Software Foundation. All rights reserved.