Enum Class FileDescriptor.Status

java.lang.Object
java.lang.Enum<FileDescriptor.Status>
org.infinispan.protostream.descriptors.FileDescriptor.Status
All Implemented Interfaces:
Serializable, Comparable<FileDescriptor.Status>, Constable
Enclosing class:
FileDescriptor

private static enum FileDescriptor.Status extends Enum<FileDescriptor.Status>
The validation status of a .proto file. Only RESOLVED files contribute to the current state (known types) of the SerializationContext.
Since:
2.0
  • Enum Constant Details

    • UNRESOLVED

      public static final FileDescriptor.Status UNRESOLVED
      Not processed yet.
    • RESOLVED

      public static final FileDescriptor.Status RESOLVED
      Processed successfully.
    • ERROR

      public static final FileDescriptor.Status ERROR
      A possibly recoverable error was encountered during processing.
    • PARSING_ERROR

      public static final FileDescriptor.Status PARSING_ERROR
      An unrecoverable parsing error was encountered during processing.
  • Constructor Details

    • Status

      private Status()
  • Method Details

    • values

      public static FileDescriptor.Status[] 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 FileDescriptor.Status 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
    • isResolved

      boolean isResolved()
    • isError

      boolean isError()