Enum UserProtos.HandshakeStatus

java.lang.Object
java.lang.Enum<UserProtos.HandshakeStatus>
org.apache.drill.exec.proto.UserProtos.HandshakeStatus
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<UserProtos.HandshakeStatus>
Enclosing class:
UserProtos

public static enum UserProtos.HandshakeStatus extends Enum<UserProtos.HandshakeStatus> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum exec.user.HandshakeStatus
  • Enum Constant Details

    • SUCCESS

      public static final UserProtos.HandshakeStatus SUCCESS
       Handshake is successful (including authentication if any)
       
      SUCCESS = 1;
    • RPC_VERSION_MISMATCH

      public static final UserProtos.HandshakeStatus RPC_VERSION_MISMATCH
       Client and Server RPC versions are different
       
      RPC_VERSION_MISMATCH = 2;
    • AUTH_FAILED

      public static final UserProtos.HandshakeStatus AUTH_FAILED
       User authentication failed
       
      AUTH_FAILED = 3;
    • UNKNOWN_FAILURE

      public static final UserProtos.HandshakeStatus UNKNOWN_FAILURE
       Unknown failure, refer to the error message for more details
       
      UNKNOWN_FAILURE = 4;
    • AUTH_REQUIRED

      public static final UserProtos.HandshakeStatus AUTH_REQUIRED
       User authentication required
       
      AUTH_REQUIRED = 5;
  • Field Details

    • SUCCESS_VALUE

      public static final int SUCCESS_VALUE
       Handshake is successful (including authentication if any)
       
      SUCCESS = 1;
      See Also:
    • RPC_VERSION_MISMATCH_VALUE

      public static final int RPC_VERSION_MISMATCH_VALUE
       Client and Server RPC versions are different
       
      RPC_VERSION_MISMATCH = 2;
      See Also:
    • AUTH_FAILED_VALUE

      public static final int AUTH_FAILED_VALUE
       User authentication failed
       
      AUTH_FAILED = 3;
      See Also:
    • UNKNOWN_FAILURE_VALUE

      public static final int UNKNOWN_FAILURE_VALUE
       Unknown failure, refer to the error message for more details
       
      UNKNOWN_FAILURE = 4;
      See Also:
    • AUTH_REQUIRED_VALUE

      public static final int AUTH_REQUIRED_VALUE
       User authentication required
       
      AUTH_REQUIRED = 5;
      See Also:
  • Method Details

    • values

      public static UserProtos.HandshakeStatus[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static UserProtos.HandshakeStatus valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static UserProtos.HandshakeStatus valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static UserProtos.HandshakeStatus 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 com.google.protobuf.Internal.EnumLiteMap<UserProtos.HandshakeStatus> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static UserProtos.HandshakeStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null