public static enum UserProtos.HandshakeStatus extends Enum<UserProtos.HandshakeStatus> implements com.google.protobuf.ProtocolMessageEnum
exec.user.HandshakeStatus| Enum Constant and Description |
|---|
AUTH_FAILED
User authentication failed
|
AUTH_REQUIRED
User authentication required
|
RPC_VERSION_MISMATCH
Client and Server RPC versions are different
|
SUCCESS
Handshake is successful (including authentication if any)
|
UNKNOWN_FAILURE
Unknown failure, refer to the error message for more details
|
| Modifier and Type | Field and Description |
|---|---|
static int |
AUTH_FAILED_VALUE
User authentication failed
|
static int |
AUTH_REQUIRED_VALUE
User authentication required
|
static int |
RPC_VERSION_MISMATCH_VALUE
Client and Server RPC versions are different
|
static int |
SUCCESS_VALUE
Handshake is successful (including authentication if any)
|
static int |
UNKNOWN_FAILURE_VALUE
Unknown failure, refer to the error message for more details
|
| Modifier and Type | Method and Description |
|---|---|
static UserProtos.HandshakeStatus |
forNumber(int value) |
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<UserProtos.HandshakeStatus> |
internalGetValueMap() |
static UserProtos.HandshakeStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UserProtos.HandshakeStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UserProtos.HandshakeStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserProtos.HandshakeStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserProtos.HandshakeStatus SUCCESS
Handshake is successful (including authentication if any)
SUCCESS = 1;public static final UserProtos.HandshakeStatus RPC_VERSION_MISMATCH
Client and Server RPC versions are different
RPC_VERSION_MISMATCH = 2;public static final UserProtos.HandshakeStatus AUTH_FAILED
User authentication failed
AUTH_FAILED = 3;public static final UserProtos.HandshakeStatus UNKNOWN_FAILURE
Unknown failure, refer to the error message for more details
UNKNOWN_FAILURE = 4;public static final UserProtos.HandshakeStatus AUTH_REQUIRED
User authentication required
AUTH_REQUIRED = 5;public static final int SUCCESS_VALUE
Handshake is successful (including authentication if any)
SUCCESS = 1;public static final int RPC_VERSION_MISMATCH_VALUE
Client and Server RPC versions are different
RPC_VERSION_MISMATCH = 2;public static final int AUTH_FAILED_VALUE
User authentication failed
AUTH_FAILED = 3;public static final int UNKNOWN_FAILURE_VALUE
Unknown failure, refer to the error message for more details
UNKNOWN_FAILURE = 4;public static final int AUTH_REQUIRED_VALUE
User authentication required
AUTH_REQUIRED = 5;public static UserProtos.HandshakeStatus[] values()
for (UserProtos.HandshakeStatus c : UserProtos.HandshakeStatus.values()) System.out.println(c);
public static UserProtos.HandshakeStatus 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static UserProtos.HandshakeStatus valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static UserProtos.HandshakeStatus forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UserProtos.HandshakeStatus> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static UserProtos.HandshakeStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2021 The Apache Software Foundation. All rights reserved.