Package com.authzed.api.v0
Enum Class Developer.DeveloperError.ErrorKind
java.lang.Object
java.lang.Enum<Developer.DeveloperError.ErrorKind>
com.authzed.api.v0.Developer.DeveloperError.ErrorKind
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Developer.DeveloperError.ErrorKind>
,Constable
- Enclosing class:
- Developer.DeveloperError
public static enum Developer.DeveloperError.ErrorKind
extends Enum<Developer.DeveloperError.ErrorKind>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
authzed.api.v0.DeveloperError.ErrorKind
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionASSERTION_FAILED = 9;
DUPLICATE_RELATIONSHIP = 3;
EXTRA_RELATIONSHIP_FOUND = 5;
MAXIMUM_RECURSION = 8;
MISSING_EXPECTED_RELATIONSHIP = 4;
PARSE_ERROR = 1;
SCHEMA_ISSUE = 2;
UNKNOWN_KIND = 0;
UNKNOWN_OBJECT_TYPE = 6;
UNKNOWN_RELATION = 7;
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
ASSERTION_FAILED = 9;
static final int
DUPLICATE_RELATIONSHIP = 3;
static final int
EXTRA_RELATIONSHIP_FOUND = 5;
static final int
MAXIMUM_RECURSION = 8;
static final int
MISSING_EXPECTED_RELATIONSHIP = 4;
static final int
PARSE_ERROR = 1;
static final int
SCHEMA_ISSUE = 2;
static final int
UNKNOWN_KIND = 0;
static final int
UNKNOWN_OBJECT_TYPE = 6;
static final int
UNKNOWN_RELATION = 7;
-
Method Summary
Modifier and TypeMethodDescriptionforNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap<Developer.DeveloperError.ErrorKind>
valueOf
(int value) Deprecated.valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static Developer.DeveloperError.ErrorKind[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN_KIND
UNKNOWN_KIND = 0;
-
PARSE_ERROR
PARSE_ERROR = 1;
-
SCHEMA_ISSUE
SCHEMA_ISSUE = 2;
-
DUPLICATE_RELATIONSHIP
DUPLICATE_RELATIONSHIP = 3;
-
MISSING_EXPECTED_RELATIONSHIP
MISSING_EXPECTED_RELATIONSHIP = 4;
-
EXTRA_RELATIONSHIP_FOUND
EXTRA_RELATIONSHIP_FOUND = 5;
-
UNKNOWN_OBJECT_TYPE
UNKNOWN_OBJECT_TYPE = 6;
-
UNKNOWN_RELATION
UNKNOWN_RELATION = 7;
-
MAXIMUM_RECURSION
MAXIMUM_RECURSION = 8;
-
ASSERTION_FAILED
ASSERTION_FAILED = 9;
-
UNRECOGNIZED
-
-
Field Details
-
UNKNOWN_KIND_VALUE
public static final int UNKNOWN_KIND_VALUEUNKNOWN_KIND = 0;
- See Also:
-
PARSE_ERROR_VALUE
public static final int PARSE_ERROR_VALUEPARSE_ERROR = 1;
- See Also:
-
SCHEMA_ISSUE_VALUE
public static final int SCHEMA_ISSUE_VALUESCHEMA_ISSUE = 2;
- See Also:
-
DUPLICATE_RELATIONSHIP_VALUE
public static final int DUPLICATE_RELATIONSHIP_VALUEDUPLICATE_RELATIONSHIP = 3;
- See Also:
-
MISSING_EXPECTED_RELATIONSHIP_VALUE
public static final int MISSING_EXPECTED_RELATIONSHIP_VALUEMISSING_EXPECTED_RELATIONSHIP = 4;
- See Also:
-
EXTRA_RELATIONSHIP_FOUND_VALUE
public static final int EXTRA_RELATIONSHIP_FOUND_VALUEEXTRA_RELATIONSHIP_FOUND = 5;
- See Also:
-
UNKNOWN_OBJECT_TYPE_VALUE
public static final int UNKNOWN_OBJECT_TYPE_VALUEUNKNOWN_OBJECT_TYPE = 6;
- See Also:
-
UNKNOWN_RELATION_VALUE
public static final int UNKNOWN_RELATION_VALUEUNKNOWN_RELATION = 7;
- See Also:
-
MAXIMUM_RECURSION_VALUE
public static final int MAXIMUM_RECURSION_VALUEMAXIMUM_RECURSION = 8;
- See Also:
-
ASSERTION_FAILED_VALUE
public static final int ASSERTION_FAILED_VALUEASSERTION_FAILED = 9;
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
- 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<Developer.DeveloperError.ErrorKind> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Developer.DeveloperError.ErrorKind valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-