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
  • Enum Constant Details

  • Field Details

    • UNKNOWN_KIND_VALUE

      public static final int UNKNOWN_KIND_VALUE
      UNKNOWN_KIND = 0;
      See Also:
    • PARSE_ERROR_VALUE

      public static final int PARSE_ERROR_VALUE
      PARSE_ERROR = 1;
      See Also:
    • SCHEMA_ISSUE_VALUE

      public static final int SCHEMA_ISSUE_VALUE
      SCHEMA_ISSUE = 2;
      See Also:
    • DUPLICATE_RELATIONSHIP_VALUE

      public static final int DUPLICATE_RELATIONSHIP_VALUE
      DUPLICATE_RELATIONSHIP = 3;
      See Also:
    • MISSING_EXPECTED_RELATIONSHIP_VALUE

      public static final int MISSING_EXPECTED_RELATIONSHIP_VALUE
      MISSING_EXPECTED_RELATIONSHIP = 4;
      See Also:
    • EXTRA_RELATIONSHIP_FOUND_VALUE

      public static final int EXTRA_RELATIONSHIP_FOUND_VALUE
      EXTRA_RELATIONSHIP_FOUND = 5;
      See Also:
    • UNKNOWN_OBJECT_TYPE_VALUE

      public static final int UNKNOWN_OBJECT_TYPE_VALUE
      UNKNOWN_OBJECT_TYPE = 6;
      See Also:
    • UNKNOWN_RELATION_VALUE

      public static final int UNKNOWN_RELATION_VALUE
      UNKNOWN_RELATION = 7;
      See Also:
    • MAXIMUM_RECURSION_VALUE

      public static final int MAXIMUM_RECURSION_VALUE
      MAXIMUM_RECURSION = 8;
      See Also:
    • ASSERTION_FAILED_VALUE

      public static final int ASSERTION_FAILED_VALUE
      ASSERTION_FAILED = 9;
      See Also:
  • Method Details

    • values

      public static Developer.DeveloperError.ErrorKind[] 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

      public static Developer.DeveloperError.ErrorKind valueOf(String name)
      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 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

      @Deprecated public static Developer.DeveloperError.ErrorKind valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static Developer.DeveloperError.ErrorKind forNumber(int value)
      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 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 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 name
      NullPointerException - if the argument is null