public static enum SecretServiceOuterClass.ErrorCode extends Enum<SecretServiceOuterClass.ErrorCode> implements com.google.protobuf.ProtocolMessageEnum
secret_service.ErrorCode| Enum Constant and Description |
|---|
AuthenticationFailed
AuthenticationFailed = 4; |
InvalidParameters
InvalidParameters = 3; |
KeyIdNotFound
KeyIdNotFound = 1; |
Success
Success = 0; |
UNRECOGNIZED |
Unspecified
Unspecified = 5; |
WrongLength
WrongLength = 2; |
| Modifier and Type | Field and Description |
|---|---|
static int |
AuthenticationFailed_VALUE
AuthenticationFailed = 4; |
static int |
InvalidParameters_VALUE
InvalidParameters = 3; |
static int |
KeyIdNotFound_VALUE
KeyIdNotFound = 1; |
static int |
Success_VALUE
Success = 0; |
static int |
Unspecified_VALUE
Unspecified = 5; |
static int |
WrongLength_VALUE
WrongLength = 2; |
| Modifier and Type | Method and Description |
|---|---|
static SecretServiceOuterClass.ErrorCode |
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<SecretServiceOuterClass.ErrorCode> |
internalGetValueMap() |
static SecretServiceOuterClass.ErrorCode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SecretServiceOuterClass.ErrorCode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SecretServiceOuterClass.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecretServiceOuterClass.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecretServiceOuterClass.ErrorCode Success
Success = 0;public static final SecretServiceOuterClass.ErrorCode KeyIdNotFound
KeyIdNotFound = 1;public static final SecretServiceOuterClass.ErrorCode WrongLength
WrongLength = 2;public static final SecretServiceOuterClass.ErrorCode InvalidParameters
InvalidParameters = 3;public static final SecretServiceOuterClass.ErrorCode AuthenticationFailed
AuthenticationFailed = 4;public static final SecretServiceOuterClass.ErrorCode Unspecified
Unspecified = 5;public static final SecretServiceOuterClass.ErrorCode UNRECOGNIZED
public static final int Success_VALUE
Success = 0;public static final int KeyIdNotFound_VALUE
KeyIdNotFound = 1;public static final int WrongLength_VALUE
WrongLength = 2;public static final int InvalidParameters_VALUE
InvalidParameters = 3;public static final int AuthenticationFailed_VALUE
AuthenticationFailed = 4;public static final int Unspecified_VALUE
Unspecified = 5;public static SecretServiceOuterClass.ErrorCode[] values()
for (SecretServiceOuterClass.ErrorCode c : SecretServiceOuterClass.ErrorCode.values()) System.out.println(c);
public static SecretServiceOuterClass.ErrorCode 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 SecretServiceOuterClass.ErrorCode valueOf(int value)
forNumber(int) instead.public static SecretServiceOuterClass.ErrorCode forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<SecretServiceOuterClass.ErrorCode> 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 SecretServiceOuterClass.ErrorCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019. All rights reserved.