org.apache.hadoop.ipc.protobuf
Enum RpcHeaderProtos.RpcSaslProto.SaslState

java.lang.Object
  extended by java.lang.Enum<RpcHeaderProtos.RpcSaslProto.SaslState>
      extended by org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RpcSaslProto.SaslState
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<RpcHeaderProtos.RpcSaslProto.SaslState>
Enclosing class:
RpcHeaderProtos.RpcSaslProto

public static enum RpcHeaderProtos.RpcSaslProto.SaslState
extends Enum<RpcHeaderProtos.RpcSaslProto.SaslState>
implements com.google.protobuf.ProtocolMessageEnum

Protobuf enum hadoop.common.RpcSaslProto.SaslState


Enum Constant Summary
CHALLENGE
          CHALLENGE = 3;
INITIATE
          INITIATE = 2;
NEGOTIATE
          NEGOTIATE = 1;
RESPONSE
          RESPONSE = 4;
SUCCESS
          SUCCESS = 0;
WRAP
          WRAP = 5;
 
Field Summary
static int CHALLENGE_VALUE
          CHALLENGE = 3;
static int INITIATE_VALUE
          INITIATE = 2;
static int NEGOTIATE_VALUE
          NEGOTIATE = 1;
static int RESPONSE_VALUE
          RESPONSE = 4;
static int SUCCESS_VALUE
          SUCCESS = 0;
static int WRAP_VALUE
          WRAP = 5;
 
Method Summary
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<RpcHeaderProtos.RpcSaslProto.SaslState> internalGetValueMap()
           
static RpcHeaderProtos.RpcSaslProto.SaslState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
           
static RpcHeaderProtos.RpcSaslProto.SaslState valueOf(int value)
           
static RpcHeaderProtos.RpcSaslProto.SaslState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RpcHeaderProtos.RpcSaslProto.SaslState[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SUCCESS

public static final RpcHeaderProtos.RpcSaslProto.SaslState SUCCESS
SUCCESS = 0;


NEGOTIATE

public static final RpcHeaderProtos.RpcSaslProto.SaslState NEGOTIATE
NEGOTIATE = 1;


INITIATE

public static final RpcHeaderProtos.RpcSaslProto.SaslState INITIATE
INITIATE = 2;


CHALLENGE

public static final RpcHeaderProtos.RpcSaslProto.SaslState CHALLENGE
CHALLENGE = 3;


RESPONSE

public static final RpcHeaderProtos.RpcSaslProto.SaslState RESPONSE
RESPONSE = 4;


WRAP

public static final RpcHeaderProtos.RpcSaslProto.SaslState WRAP
WRAP = 5;

Field Detail

SUCCESS_VALUE

public static final int SUCCESS_VALUE
SUCCESS = 0;

See Also:
Constant Field Values

NEGOTIATE_VALUE

public static final int NEGOTIATE_VALUE
NEGOTIATE = 1;

See Also:
Constant Field Values

INITIATE_VALUE

public static final int INITIATE_VALUE
INITIATE = 2;

See Also:
Constant Field Values

CHALLENGE_VALUE

public static final int CHALLENGE_VALUE
CHALLENGE = 3;

See Also:
Constant Field Values

RESPONSE_VALUE

public static final int RESPONSE_VALUE
RESPONSE = 4;

See Also:
Constant Field Values

WRAP_VALUE

public static final int WRAP_VALUE
WRAP = 5;

See Also:
Constant Field Values
Method Detail

values

public static RpcHeaderProtos.RpcSaslProto.SaslState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RpcHeaderProtos.RpcSaslProto.SaslState c : RpcHeaderProtos.RpcSaslProto.SaslState.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RpcHeaderProtos.RpcSaslProto.SaslState 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

public static RpcHeaderProtos.RpcSaslProto.SaslState valueOf(int value)

internalGetValueMap

public static com.google.protobuf.Internal.EnumLiteMap<RpcHeaderProtos.RpcSaslProto.SaslState> 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 RpcHeaderProtos.RpcSaslProto.SaslState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.