Enum Class DataTransferProtos.DataTransferEncryptorMessageProto.DataTransferEncryptorStatus
java.lang.Object
java.lang.Enum<DataTransferProtos.DataTransferEncryptorMessageProto.DataTransferEncryptorStatus>
org.apache.hadoop.hdfs.protocol.proto.DataTransferProtos.DataTransferEncryptorMessageProto.DataTransferEncryptorStatus
- All Implemented Interfaces:
Serializable,Comparable<DataTransferProtos.DataTransferEncryptorMessageProto.DataTransferEncryptorStatus>,Constable,org.apache.hadoop.thirdparty.protobuf.Internal.EnumLite,org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
- Enclosing class:
- org.apache.hadoop.hdfs.protocol.proto.DataTransferProtos.DataTransferEncryptorMessageProto
public static enum DataTransferProtos.DataTransferEncryptorMessageProto.DataTransferEncryptorStatus
extends Enum<DataTransferProtos.DataTransferEncryptorMessageProto.DataTransferEncryptorStatus>
implements org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
Protobuf enum
hadoop.hdfs.DataTransferEncryptorMessageProto.DataTransferEncryptorStatus-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionERROR = 2;ERROR_UNKNOWN_KEY = 1;SUCCESS = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intERROR_UNKNOWN_KEY = 1;static final intERROR = 2;static final intSUCCESS = 0; -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptorfinal org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptorfinal intfinal org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptorstatic org.apache.hadoop.thirdparty.protobuf.Internal.EnumLiteMap<DataTransferProtos.DataTransferEncryptorMessageProto.DataTransferEncryptorStatus>valueOf(int value) Deprecated.Returns the enum constant of this class with the specified name.valueOf(org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
public static final DataTransferProtos.DataTransferEncryptorMessageProto.DataTransferEncryptorStatus SUCCESSSUCCESS = 0; -
ERROR_UNKNOWN_KEY
public static final DataTransferProtos.DataTransferEncryptorMessageProto.DataTransferEncryptorStatus ERROR_UNKNOWN_KEYERROR_UNKNOWN_KEY = 1; -
ERROR
public static final DataTransferProtos.DataTransferEncryptorMessageProto.DataTransferEncryptorStatus ERRORERROR = 2;
-
-
Field Details
-
SUCCESS_VALUE
public static final int SUCCESS_VALUESUCCESS = 0;- See Also:
-
ERROR_UNKNOWN_KEY_VALUE
public static final int ERROR_UNKNOWN_KEY_VALUEERROR_UNKNOWN_KEY = 1;- See Also:
-
ERROR_VALUE
public static final int ERROR_VALUEERROR = 2;- See Also:
-
-
Method Details
-
values
public static DataTransferProtos.DataTransferEncryptorMessageProto.DataTransferEncryptorStatus[] values()Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
public static DataTransferProtos.DataTransferEncryptorMessageProto.DataTransferEncryptorStatus valueOf(String name) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfaceorg.apache.hadoop.thirdparty.protobuf.Internal.EnumLite- Specified by:
getNumberin interfaceorg.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static DataTransferProtos.DataTransferEncryptorMessageProto.DataTransferEncryptorStatus valueOf(int value) Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static DataTransferProtos.DataTransferEncryptorMessageProto.DataTransferEncryptorStatus forNumber(int value) - Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static org.apache.hadoop.thirdparty.protobuf.Internal.EnumLiteMap<DataTransferProtos.DataTransferEncryptorMessageProto.DataTransferEncryptorStatus> internalGetValueMap() -
getValueDescriptor
public final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfaceorg.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static DataTransferProtos.DataTransferEncryptorMessageProto.DataTransferEncryptorStatus valueOf(org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-