Enum Error.ErrorType

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite , com.google.protobuf.ProtocolMessageEnum

    
    public enum Error.ErrorType
     implements ProtocolMessageEnum
                        

    Protobuf enum xyz.block.ftl.v1.language.Error.ErrorType

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static int FTL_VALUE
      public final static int COMPILER_VALUE
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      FTL

      FTL = 0;

      COMPILER
      Compiler errors are errors that are from the compiler. This is useful to avoid duplicate errors
      being shown to the user when combining errors from multiple sources (eg: an IDE showing compiler
      errors and FTL errors via LSP).
      
      COMPILER = 1;
      UNRECOGNIZED
    • Constructor Detail

    • Method Detail

      • valueOf

        @Deprecated() static Error.ErrorType valueOf(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:

        The enum associated with the given numeric wire value.

      • forNumber

         static Error.ErrorType forNumber(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:

        The enum associated with the given numeric wire value.

      • getDescriptor

         final static Descriptors.EnumDescriptor getDescriptor()
      • values

         static Array<Error.ErrorType> values()

        Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

        Returns:

        an array containing the constants of this enum type, in the order they're declared

      • valueOf

         static Error.ErrorType valueOf(String name)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

        Returns:

        the enum constant with the specified name