Enum Class DataTransferProtos.Status

java.lang.Object
java.lang.Enum<DataTransferProtos.Status>
org.apache.hadoop.hdfs.protocol.proto.DataTransferProtos.Status
All Implemented Interfaces:
Serializable, Comparable<DataTransferProtos.Status>, Constable, org.apache.hadoop.thirdparty.protobuf.Internal.EnumLite, org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
Enclosing class:
org.apache.hadoop.hdfs.protocol.proto.DataTransferProtos

public static enum DataTransferProtos.Status extends Enum<DataTransferProtos.Status> implements org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
 Status is a 4-bit enum
 
Protobuf enum hadoop.hdfs.Status
  • Enum Constant Details

  • Field Details

    • SUCCESS_VALUE

      public static final int SUCCESS_VALUE
      SUCCESS = 0;
      See Also:
    • ERROR_VALUE

      public static final int ERROR_VALUE
      ERROR = 1;
      See Also:
    • ERROR_CHECKSUM_VALUE

      public static final int ERROR_CHECKSUM_VALUE
      ERROR_CHECKSUM = 2;
      See Also:
    • ERROR_INVALID_VALUE

      public static final int ERROR_INVALID_VALUE
      ERROR_INVALID = 3;
      See Also:
    • ERROR_EXISTS_VALUE

      public static final int ERROR_EXISTS_VALUE
      ERROR_EXISTS = 4;
      See Also:
    • ERROR_ACCESS_TOKEN_VALUE

      public static final int ERROR_ACCESS_TOKEN_VALUE
      ERROR_ACCESS_TOKEN = 5;
      See Also:
    • CHECKSUM_OK_VALUE

      public static final int CHECKSUM_OK_VALUE
      CHECKSUM_OK = 6;
      See Also:
    • ERROR_UNSUPPORTED_VALUE

      public static final int ERROR_UNSUPPORTED_VALUE
      ERROR_UNSUPPORTED = 7;
      See Also:
    • OOB_RESTART_VALUE

      public static final int OOB_RESTART_VALUE
       Quick restart
       
      OOB_RESTART = 8;
      See Also:
    • OOB_RESERVED1_VALUE

      public static final int OOB_RESERVED1_VALUE
       Reserved
       
      OOB_RESERVED1 = 9;
      See Also:
    • OOB_RESERVED2_VALUE

      public static final int OOB_RESERVED2_VALUE
       Reserved
       
      OOB_RESERVED2 = 10;
      See Also:
    • OOB_RESERVED3_VALUE

      public static final int OOB_RESERVED3_VALUE
       Reserved
       
      OOB_RESERVED3 = 11;
      See Also:
    • IN_PROGRESS_VALUE

      public static final int IN_PROGRESS_VALUE
      IN_PROGRESS = 12;
      See Also:
    • ERROR_BLOCK_PINNED_VALUE

      public static final int ERROR_BLOCK_PINNED_VALUE
      ERROR_BLOCK_PINNED = 13;
      See Also:
  • Method Details

    • values

      public static DataTransferProtos.Status[] 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.Status 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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface org.apache.hadoop.thirdparty.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static DataTransferProtos.Status 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 name
      NullPointerException - if the argument is null
    • forNumber

      public static DataTransferProtos.Status 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.Status> internalGetValueMap()
    • getValueDescriptor

      public final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface org.apache.hadoop.thirdparty.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static DataTransferProtos.Status 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 name
      NullPointerException - if the argument is null