Interface DiagnosticOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Diagnostic, Diagnostic.Builder

public interface DiagnosticOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasRange

      boolean hasRange()
      .chalk.lsp.v1.Range range = 1 [json_name = "range"];
      Returns:
      Whether the range field is set.
    • getRange

      Range getRange()
      .chalk.lsp.v1.Range range = 1 [json_name = "range"];
      Returns:
      The range.
    • getRangeOrBuilder

      RangeOrBuilder getRangeOrBuilder()
      .chalk.lsp.v1.Range range = 1 [json_name = "range"];
    • getMessage

      String getMessage()
      string message = 2 [json_name = "message"];
      Returns:
      The message.
    • getMessageBytes

      com.google.protobuf.ByteString getMessageBytes()
      string message = 2 [json_name = "message"];
      Returns:
      The bytes for message.
    • getSeverityValue

      int getSeverityValue()
      .chalk.lsp.v1.DiagnosticSeverity severity = 3 [json_name = "severity"];
      Returns:
      The enum numeric value on the wire for severity.
    • getSeverity

      DiagnosticSeverity getSeverity()
      .chalk.lsp.v1.DiagnosticSeverity severity = 3 [json_name = "severity"];
      Returns:
      The severity.
    • hasCode

      boolean hasCode()
      optional string code = 4 [json_name = "code"];
      Returns:
      Whether the code field is set.
    • getCode

      String getCode()
      optional string code = 4 [json_name = "code"];
      Returns:
      The code.
    • getCodeBytes

      com.google.protobuf.ByteString getCodeBytes()
      optional string code = 4 [json_name = "code"];
      Returns:
      The bytes for code.
    • hasCodeDescription

      boolean hasCodeDescription()
      .chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "codeDescription"];
      Returns:
      Whether the codeDescription field is set.
    • getCodeDescription

      CodeDescription getCodeDescription()
      .chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "codeDescription"];
      Returns:
      The codeDescription.
    • getCodeDescriptionOrBuilder

      CodeDescriptionOrBuilder getCodeDescriptionOrBuilder()
      .chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "codeDescription"];
    • getRelatedInformationList

      List<DiagnosticRelatedInformation> getRelatedInformationList()
      repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];
    • getRelatedInformation

      DiagnosticRelatedInformation getRelatedInformation(int index)
      repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];
    • getRelatedInformationCount

      int getRelatedInformationCount()
      repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];
    • getRelatedInformationOrBuilderList

      List<? extends DiagnosticRelatedInformationOrBuilder> getRelatedInformationOrBuilderList()
      repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];
    • getRelatedInformationOrBuilder

      DiagnosticRelatedInformationOrBuilder getRelatedInformationOrBuilder(int index)
      repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];