public static enum RpcHeaderProtos.RpcSaslProto.SaslState extends Enum<RpcHeaderProtos.RpcSaslProto.SaslState> implements com.google.protobuf.ProtocolMessageEnum
hadoop.common.RpcSaslProto.SaslState
Enum Constant and Description |
---|
CHALLENGE
CHALLENGE = 3; |
INITIATE
INITIATE = 2; |
NEGOTIATE
NEGOTIATE = 1; |
RESPONSE
RESPONSE = 4; |
SUCCESS
SUCCESS = 0; |
WRAP
WRAP = 5; |
Modifier and Type | Field and Description |
---|---|
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; |
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<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.
|
public static final RpcHeaderProtos.RpcSaslProto.SaslState SUCCESS
SUCCESS = 0;
public static final RpcHeaderProtos.RpcSaslProto.SaslState NEGOTIATE
NEGOTIATE = 1;
public static final RpcHeaderProtos.RpcSaslProto.SaslState INITIATE
INITIATE = 2;
public static final RpcHeaderProtos.RpcSaslProto.SaslState CHALLENGE
CHALLENGE = 3;
public static final RpcHeaderProtos.RpcSaslProto.SaslState RESPONSE
RESPONSE = 4;
public static final RpcHeaderProtos.RpcSaslProto.SaslState WRAP
WRAP = 5;
public static final int SUCCESS_VALUE
SUCCESS = 0;
public static final int NEGOTIATE_VALUE
NEGOTIATE = 1;
public static final int INITIATE_VALUE
INITIATE = 2;
public static final int CHALLENGE_VALUE
CHALLENGE = 3;
public static final int RESPONSE_VALUE
RESPONSE = 4;
public static final int WRAP_VALUE
WRAP = 5;
public static RpcHeaderProtos.RpcSaslProto.SaslState[] values()
for (RpcHeaderProtos.RpcSaslProto.SaslState c : RpcHeaderProtos.RpcSaslProto.SaslState.values()) System.out.println(c);
public static RpcHeaderProtos.RpcSaslProto.SaslState 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 RpcHeaderProtos.RpcSaslProto.SaslState valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<RpcHeaderProtos.RpcSaslProto.SaslState> 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 RpcHeaderProtos.RpcSaslProto.SaslState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.